Page 1 of 1
Remove an Ad Hoc connection

Posted:
Sep 5th, '11, 10:26
by pmithrandir
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
Re: Remove an Ad Hoc connection

Posted:
Sep 6th, '11, 16:38
by djennings
Take a look in /etc/sysconfig/network-scripts/wireless.d I think you will find your Ad-Hoc network in there. Delete the file.
Re: Remove an Ad Hoc connection

Posted:
Sep 6th, '11, 16:43
by pmithrandir
Thanks
I think it works.
Re: Remove an Ad Hoc connection

Posted:
Sep 23rd, '11, 15:38
by pmithrandir
Finally, the file is not here anymore, but the network is still present in the list.
Re: Remove an Ad Hoc connection

Posted:
Sep 23rd, '11, 16:41
by doktor5000
Which file is not there anymore?
On a related note, has the problem been completely solved so far?
Re: Remove an Ad Hoc connection

Posted:
Sep 23rd, '11, 16:46
by pmithrandir
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.
Re: Remove an Ad Hoc connection

Posted:
Sep 23rd, '11, 18:12
by doktor5000
The directory you referred to is AFAIK only used by drakxtools.
Don't know where networkmanager saves its known networks.
Re: Remove an Ad Hoc connection

Posted:
Sep 23rd, '11, 18:50
by isadora
Is it possibly some left-over in:
/etc/netprofile/profiles/default/
Re: Remove an Ad Hoc connection

Posted:
Sep 23rd, '11, 21:01
by alf
AFAIK NM stores connections in "/etc/NetworkManager/system-connections".
Re: Remove an Ad Hoc connection

Posted:
Sep 23rd, '11, 21:10
by pmithrandir
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.
Re: Remove an Ad Hoc connection

Posted:
Sep 23rd, '11, 21:20
by alf
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.
Re: Remove an Ad Hoc connection

Posted:
Sep 23rd, '11, 21:25
by isadora
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/?
Re: Remove an Ad Hoc connection

Posted:
Sep 23rd, '11, 22:05
by pmithrandir
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
Re: Remove an Ad Hoc connection

Posted:
Sep 24th, '11, 11:32
by alf
Maybe You'll find NM controlled connections in ~/.kde4/share/apps/networkmanagement/connections, if You use KDE.
Re: Remove an Ad Hoc connection

Posted:
Sep 24th, '11, 12:09
by pmithrandir
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.