Solved: Ubuntu network applet doesn’t work properly

PROBLEM

When I go to my university’s library (http://www.unitn.it) I have two main ways to connect my computer to the net. The first way (the old one) is to use pppoe connection. The second one simply let’s you login from a webpage (which actually functions quite well.

It happened already two times that trying to setup the network by the first way results in Ubuntu’s nm-applet (Network Manager) not to work properly. Clicking in the applet’s icon should result in a list of the reacheable wireless networks (if your wireless card works correctly of couse).

Well, I noticed that after using pppoeconf the applet didn’t work correcly anymore, not showing me the list of wireless networks. Connecting via terminal (sudo iwconfig wlan0 essid NAME and then dhclient) still worked without problems. So the problem had to be in applet and it’s way of controlling the wireless card.

SOLUTION

After trying different solutions, I found the one which did the trick for me. The magic file is /etc/network/interfaces. After using pppoeconf it looked like this:

auto lo
iface lo inet loopback

iface dsl-provider inet ppp
pre-up /sbin/ifconfig wlan0 up # line maintained by pppoeconf

provider dsl-provider

auto wlan0
iface wlan0 inet manual

well, changing this to:
auto lo
iface lo inet loopback

or simply commenting the other lines should make the nm-applet work fine again.

!! do NOT delete auto lo and iface lo inet loopback lines as this action could risult in other network errors.

Bye bye!

Advertisements
Solved: Ubuntu network applet doesn’t work properly

One thought on “Solved: Ubuntu network applet doesn’t work properly

  1. Hey, I read a lot of blogs on a daily basis and for the most part, people lack substance but, I just wanted to make a quick comment to say GREAT blog!…..I”ll be checking in on a regularly now….Keep up the good work! 🙂

    I’m Out! 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s