I decided to dust off my old Gateway Solo 9300 laptop and do an equo update && equo upgrade && equo conf update, as it is several months since I upgraded SL E17 on it. SL E17 had been working perfectly, including networking, but I wanted to bring the installation up to current as I hadn't used Entropy for months.
NetworkManager and nm-applet were both upgraded to version 0.9.0 (which are masked in Portage). I also noticed that the DHCP client for NetworkManager had changed from dhclient to dhcpcd:
- Code: Select all
fitzcarraldo@gateway9300 ~ $ eix -I networkmanager
[D] net-misc/networkmanager
Available versions: 0.8-r1 (~)0.8.4.0-r2 [M](~)0.9.0 {avahi bluetooth connection-sharing dhclient (+)dhcpcd doc gnutls +introspection kernel_linux (+)nss +ppp resolvconf wimax}
Installed versions: 0.9.0[?](10:09:55 11/09/11)(avahi connection-sharing dhcpcd introspection kernel_linux nss ppp resolvconf wimax -bluetooth -dhclient -doc -gnutls)
Homepage: http://www.gnome.org/projects/NetworkManager/
Description: Network configuration and management in an easy way. Desktop environment independent.
fitzcarraldo@gateway9300 ~ $ eix nm-applet
[D] gnome-extra/nm-applet
Available versions: 0.8 (~)0.8.4 [M](~)0.9.0 {bluetooth debug}
Installed versions: 0.9.0(10:32:33 09/09/11)(bluetooth)
Homepage: http://projects.gnome.org/NetworkManager/
Description: GNOME applet for NetworkManager
Anyway, although the new versions had no trouble connecting to my wired Ethernet home network, the WiFi connection was very flaky, and more often than not it was not possible to get a connection. Once it was connected it stayed connected to the network, but getting it to connect was the Devil's own job. Looking at /var/log/messages I could see messages such as the following:
- Code: Select all
Sep 30 01:34:21 gateway9300 NetworkManager[6125]: get_secret_flags: assertion `is_secret_prop (setting, secret_name, error)' failed
and:
- Code: Select all
Sep 30 01:34:32 gateway9300 dhcpcd[11224]: wlan0: broadcasting for a lease
Sep 30 01:34:52 gateway9300 dhcpcd[11224]: timed out
Sep 30 01:34:52 gateway9300 NetworkManager[6125]: <info> (wlan0): DHCPv4 client pid 11224 exited with status 1
Sep 30 01:34:52 gateway9300 NetworkManager[6125]: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Timeout) scheduled...
I'm not sure, but I think the dhcpcd timeout is a symptom, not the root cause of the problem, which I think is the failure to get the secrets.
Anyway, I used Portage to downgrade to NetworkManager 0.8.4.0-r2 and nm-applet 0.8.4 (the highest versions in Portage that are not masked) and the laptop connects straight away with the same wireless network. Also, NwetworkManager is back using dhclient rather than dhcpcd:
- Code: Select all
$ eix -I networkmanager
[I] net-misc/networkmanager
Available versions: 0.8-r1 (~)0.8.4.0-r2 [M](~)0.9.0 {avahi bluetooth connection-sharing dhclient (+)dhcpcd doc gnutls +introspection kernel_linux (+)nss +ppp resolvconf wimax}
Installed versions: 0.8.4.0-r2(14:51:56 30/09/11)(avahi connection-sharing dhclient gnutls kernel_linux nss ppp resolvconf -bluetooth -dhcpcd -doc)
Homepage: http://www.gnome.org/projects/NetworkManager/
Description: Network configuration and management in an easy way. Desktop environment independent.
$ eix -I nm-applet
[I] gnome-extra/nm-applet
Available versions: 0.8 (~)0.8.4 [M](~)0.9.0 {bluetooth debug}
Installed versions: 0.8.4(15:23:42 30/09/11)(bluetooth)
Homepage: http://projects.gnome.org/NetworkManager/
Description: GNOME applet for NetworkManager
So, beware of NetworkManager 0.9.0! (and/or possibly dhcpcd, but my jury is out on that one).
By the way, I'm cutting a long story short here, because I did a lot of investigating that I won't bother you with. But I will mention that I did configure a longer dhcpcd timeout, but I don't think it made much, if any difference.
(Question to the SL developers: Why the change from USE="dhclient -dhcpcd" to USE="-dhclient dhcpcd"? Was that intentional, as I'd be interested to know the reason given that dhclient works very well with NetworkManager for me.)
