LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   nm-applet weirdness (https://www.linuxquestions.org/questions/linux-wireless-networking-41/nm-applet-weirdness-598921/)

shankariyer 11-11-2007 10:18 PM

nm-applet weirdness
 
Wierd thing happened. I have been using GNOME and after installed, Ubuntu ( Gutsy Gibbon ) correctly identified my wireless-usb-card and it had this
connection/signal indicator ( nm-applet ) showing my 'essid' and others available.

Using Synaptics, I installed KDE and logged in to check out. It didn't connect to network, while in KDE. I went to 'network' and enabled the wireless ( it was unchecked ), basically choosing properties and unchecked 'enabled roaming', gave essid, password and chose save ( name 'home' ). It did connect to internet.

When I came back to GNOME, that tiny utility is gone - all I've is 'Manual confituation' and 'ethernet' option ( which I don't use ), 'wireless' options ( essid's available ) are gone.

When I reboot, I'm not auto connected to net. I've to choose the 'network', notice that the password is not stored under wireless properties ( where I see my essid ).

How do I get this corrected as how it was and how I was able to auto connect to my wireless router.

Thanks.

blackhole54 11-12-2007 08:17 AM

I think when you were in KDE you altered the contents of /etc/network/interfaces, and this, in turn altered the behavior of NetworkManager and nm-applet. Are you wanting to go back to the way it behaved before you played around in KDE? If so, you might just be able to undo what you did in KDE. Otherwise you might have to manually edit the interfaces file.

So you can evaluate my advice, I'll let you know the newest Ubuntu I have used is 6.10, but it did have nm-applet installed in it.

shankariyer 11-12-2007 08:34 AM

Yes, this is Gutsy Gibbon as well. I didn't do much while I was in KDE. Infact, as I enabled
the wireless-network and realized ( later ) that it broke the nm-applet, I went back and did undo.

Anyways... now, is there a way to modify the interface file to restore original settings ?

Thanks much.

blackhole54 11-12-2007 08:54 AM

Would you post your existing /etc/network/interfaces file please?

shankariyer 11-12-2007 08:58 AM

My interface entries

Quote:

/etcauto lo
iface lo inet loopback

iface eth2 inet dhcp
wpa-psk <key>
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid <essid>

auto eth2
/network/interfaces

I'm not sure of the 2nd line, as whether it should be iface eth2 inet loopback,
as my wireless-usb-card is up and connection on eth2.

blackhole54 11-12-2007 10:09 PM

I think your post got a little mangled. I am guessing the contents of /etc/network/interfaces was supposed to be:

Code:

auto lo
iface lo inet loopback

iface eth2 inet dhcp
wpa-psk <key>
wpa-driver wext
wpa-key-mgmt WPA-PSK
wpa-proto WPA
wpa-ssid <essid>

auto eth2

If so, and if you are trying to return things to where nm-applet takes care of everything, try commenting out everything but the first two lines. To comment out a line, place a hash (#) at the beginning of the line.


All times are GMT -5. The time now is 03:46 PM.