Remove an Ad Hoc connection

Remove an Ad Hoc connection

Postby pmithrandir » Sep 5th, '11, 10:26

Hello,

Some month ago, I was going crasy to set up a Ad Hoc connection.

Today, It's the same symptom, but to remove it from my laptop.
The main issue is that my computer "think" it is connected, so "forget" to connect to my real wifi network.

I tried to remove the wifi connection at all, but when I install it back, I get the adhoc network back too.

Thanks
Pierre
Creator of : http://www.jaiuneidee.net a "direct democracy" website for France.
User avatar
pmithrandir
 
Posts: 442
Joined: May 4th, '11, 19:30

Re: Remove an Ad Hoc connection

Postby djennings » Sep 6th, '11, 16:38

Take a look in /etc/sysconfig/network-scripts/wireless.d I think you will find your Ad-Hoc network in there. Delete the file.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Remove an Ad Hoc connection

Postby pmithrandir » Sep 6th, '11, 16:43

Thanks

I think it works.
Creator of : http://www.jaiuneidee.net a "direct democracy" website for France.
User avatar
pmithrandir
 
Posts: 442
Joined: May 4th, '11, 19:30

Re: Remove an Ad Hoc connection

Postby pmithrandir » Sep 23rd, '11, 15:38

Finally, the file is not here anymore, but the network is still present in the list.
Creator of : http://www.jaiuneidee.net a "direct democracy" website for France.
User avatar
pmithrandir
 
Posts: 442
Joined: May 4th, '11, 19:30

Re: Remove an Ad Hoc connection

Postby doktor5000 » Sep 23rd, '11, 16:41

Which file is not there anymore?

On a related note, has the problem been completely solved so far?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18071
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Remove an Ad Hoc connection

Postby pmithrandir » Sep 23rd, '11, 16:46

in /etc/sysconfig/network-scripts/wireless.d/ there was a file "portable_pierre" which is the ad hoc network.

I removed it.

But, after many reboot, the network is still in the network manager list when I'm not connected anywhere.
Creator of : http://www.jaiuneidee.net a "direct democracy" website for France.
User avatar
pmithrandir
 
Posts: 442
Joined: May 4th, '11, 19:30

Re: Remove an Ad Hoc connection

Postby doktor5000 » Sep 23rd, '11, 18:12

The directory you referred to is AFAIK only used by drakxtools.
Don't know where networkmanager saves its known networks.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18071
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Remove an Ad Hoc connection

Postby isadora » Sep 23rd, '11, 18:50

Is it possibly some left-over in:
/etc/netprofile/profiles/default/
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Remove an Ad Hoc connection

Postby alf » Sep 23rd, '11, 21:01

AFAIK NM stores connections in "/etc/NetworkManager/system-connections".
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: Remove an Ad Hoc connection

Postby pmithrandir » Sep 23rd, '11, 21:10

I have no folder system-connection.

I removed all "any" files in /etc/netprofile/profiles/default/ and /etc/sysconfig/network-scripts/wireless.d/

For now I don't have anymore the adhoc connection, but let see later... Network detection doesn't work always in the same way.

I will let you know.
Creator of : http://www.jaiuneidee.net a "direct democracy" website for France.
User avatar
pmithrandir
 
Posts: 442
Joined: May 4th, '11, 19:30

Re: Remove an Ad Hoc connection

Postby alf » Sep 23rd, '11, 21:20

pmithrandir wrote:I have no folder system-connection.

Yeah, You could be right, this folder exists only if any connection is marked in NM as system-connection. I just veryfied this, but have no clue whereelse it could be stored.
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: Remove an Ad Hoc connection

Postby isadora » Sep 23rd, '11, 21:25

pmithrandir wrote:I removed all "any" files in /etc/netprofile/profiles/default/ and /etc/sysconfig/network-scripts/wireless.d/

Was there a "portable_pierre"-file among those "any"-files in /etc/netprofile/profiles/default/?
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Remove an Ad Hoc connection

Postby pmithrandir » Sep 23rd, '11, 22:05

I removed it 1 week ago.

The anyt file was another one with some config text and a line with : network mode = ad hoc(or something like that
Creator of : http://www.jaiuneidee.net a "direct democracy" website for France.
User avatar
pmithrandir
 
Posts: 442
Joined: May 4th, '11, 19:30

Re: Remove an Ad Hoc connection

Postby alf » Sep 24th, '11, 11:32

Maybe You'll find NM controlled connections in ~/.kde4/share/apps/networkmanagement/connections, if You use KDE.
for windows problems reboot; for linux problems be root
alf
 
Posts: 326
Joined: Apr 1st, '11, 23:07
Location: DE Paderborn

Re: Remove an Ad Hoc connection

Postby pmithrandir » Sep 24th, '11, 12:09

no such folder.
I use the default mageia wifi applet for all my network connection.

I can change it if you say there is another one better on KDE.. this one is crap, so it would not be a problem to change it.
Creator of : http://www.jaiuneidee.net a "direct democracy" website for France.
User avatar
pmithrandir
 
Posts: 442
Joined: May 4th, '11, 19:30


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest