Why does NetworkManager take so long to connect to the wireless network?

1

I have a Dell Mini9 that came with Ubuntu 8.10. Out of the box, Wifi configuration was done under System settings -> Network and worked straightforward. Then, after some update patches, NetworkManager was installed to replace this functionality.

Initially, it did not carry over my settings and I had to figure out how to redo it. After lots of bumbling with it, it finally works. However, after bootup the NetworkManager icon waits about 2 minutes before even attempting to connect to the wireless network. Then, about a minute later, it connects and I'm on my way.

The Mini9 boots up within 30 seconds from SSD, so opening Firefox and then waiting 3+ min for wireless networking is a bit of a pain. Can anything be done?

spoulson

Posted 2009-08-04T19:47:57.347

Reputation: 1 420

What happens if you click the nm applet and tell it to connect? does it still take 2 minutes? – user23307 – 2010-03-08T01:49:37.370

Answers

1

I have had problems like this in the past. What I found was a particular program I was running took a specific amount of time to start up. In order to not have the boot process fail, I had to insert a "wait" command at the end of one of the init.d scripts. This ensured that the application had enough time to start as the next processes to start were all dependent on the first process.

If you have a wait command somewhere in your boot process, this is how it would behave. The process would hang up until the wait command is finished and then the rest of the processes will boot normally. Check your networking components to see if one of them is using a wait command just to make sure all of the lower level processes and drivers are running first.

Axxmasterr

Posted 2009-08-04T19:47:57.347

Reputation: 7 584

1

In Ubuntu 8.10 and even 9.04, the time for the Wi-Fi network to connect seemed very long. Since I have upgraded to Ubuntu 9.10, the time seems noticeably shorter. Maybe you need to upgrade?

In Ubuntu 8.10, I was using ndiswrapper to enable the wireless pcmcia card. The easiest thing to do to clean up that, and other, configuration customizations was to clean install. If a straight upgrade from Ubuntu 8.10 to UNR 9.10 doesn't do the trick, consider a clean install. Just keep you home directory safe, and it is pretty easy to add the account back onto the newly installed system.

pcapademic

Posted 2009-08-04T19:47:57.347

Reputation: 3 283

1

NetworkManager takes ages too connect automatically. I found two commands helpful in this context. To rescan wifi networks on my wlo1 wifi interface:

/usr/sbin/iwlist wlo1 scan

To make a connection:

nmcli c up <network-name>

YSN

Posted 2009-08-04T19:47:57.347

Reputation: 111

0

As well, some netbook-oriented OSes, such as Ubuntu-Netbook Remix are setup in a way that the initial processing in init.d is performed in parallel, so that processes that have a waitning period (for hardware or explicitely) will not relay other processes, thus giving you a better overall startup time.

jfmessier

Posted 2009-08-04T19:47:57.347

Reputation: 2 530