[opensuse] Network manager refuses to connect while ifup-dhcp works
![](https://seccdn.libravatar.org/avatar/04503fbc62cea55d9d824edf9289213f.jpg?s=120&d=mm&r=g)
I have a really strange problem with NetworkManager. I am trying to connect to a wireless network. The wireless connection is unsecured (shudder - but I have no control over this at this moment). Windows connects just fine. Network manager sits in place for a while saying "configuring the device", but doesn't progress beyond that, and eventually refuses to connect. However, in the process it associates me with the right AP, according to iwconfig, and if I run ifup-dhcp wlan0, the connection works. Or almost works - I can run everything but KMail which appears to be too smart for its own good and keeps saying that it's in offline mode and refusing to retrieve anything over imap. What could be causing this behavior? I'd be equally happy to either resolve the main problem (get the NetworkManager to connect) or at least if I could fix the issue with KMail. I already looked into the system logs, and see nothing relevant. Myrosia -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/b4047644c59f2d63b88e9464c02743fd.jpg?s=120&d=mm&r=g)
On Sat, May 17, 2008 at 7:16 PM, Myrosia Dzikovska <myrosia@gmail.com> wrote:
I have a really strange problem with NetworkManager. I am trying to connect to a wireless network. The wireless connection is unsecured (shudder - but I have no control over this at this moment). Windows connects just fine. Network manager sits in place for a while saying "configuring the device", but doesn't progress beyond that, and eventually refuses to connect. However, in the process it associates me with the right AP, according to iwconfig, and if I run ifup-dhcp wlan0, the connection works. Or almost works - I can run everything but KMail which appears to be too smart for its own good and keeps saying that it's in offline mode and refusing to retrieve anything over imap.
What could be causing this behavior? I'd be equally happy to either resolve the main problem (get the NetworkManager to connect) or at least if I could fix the issue with KMail. I already looked into the system logs, and see nothing relevant.
Myrosia
A stop and restart of Kmail will fix it after your network is connected. (Assuming no firewall issues). Tailing /var/log/messages while trying to get knetworkmanager to work might reveal some more useful info. Most of the time, an interface is only able to use networkmanager OR ifup, so if you can switch from one to the other without going into yast its unusual to me. Are you sure this machine is configured for network manager? -- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/04503fbc62cea55d9d824edf9289213f.jpg?s=120&d=mm&r=g)
On Sun, May 18, 2008 at 8:02 AM, John Andersen <jsamyth@gmail.com> wrote:
On Sat, May 17, 2008 at 7:16 PM, Myrosia Dzikovska <myrosia@gmail.com> wrote:
I have a really strange problem with NetworkManager. I am trying to connect to a wireless network. The wireless connection is unsecured (shudder - but I have no control over this at this moment). Windows connects just fine. Network manager sits in place for a while saying "configuring the device", but doesn't progress beyond that, and eventually refuses to connect. However, in the process it associates me with the right AP, according to iwconfig, and if I run ifup-dhcp wlan0, the connection works. Or almost works - I can run everything but KMail which appears to be too smart for its own good and keeps saying that it's in offline mode and refusing to retrieve anything over imap.
What could be causing this behavior? I'd be equally happy to either resolve the main problem (get the NetworkManager to connect) or at least if I could fix the issue with KMail. I already looked into the system logs, and see nothing relevant.
Myrosia
A stop and restart of Kmail will fix it after your network is connected. (Assuming no firewall issues).
Tailing /var/log/messages while trying to get knetworkmanager to work might reveal some more useful info.
Most of the time, an interface is only able to use networkmanager OR ifup, so if you can switch from one to the other without going into yast its unusual to me. Are you sure this machine is configured for network manager?
The machine is definitely configured for NetworkManager - I use it at home routinely (on a WPA-protected network), connecting through KNetworkManager, and I also used it on a wireless network at an airport without any trouble. KMail restart doesn't help - that was the first thing I tried. Again, use it in this configuration at home routinely. Anyway, this is what I see when I try to connect with KNetworkManager in /var/log/messages -------------- May 18 16:39:36 myrosia-home2 avahi-daemon[2987]: Registering new address record for fe80::21f:3cff:fe2e:78d3 on wlan0.*. May 18 16:39:45 myrosia-home2 kernel: wlan0: no IPv6 routers present May 18 16:40:35 myrosia-home2 avahi-daemon[2987]: Withdrawing address record for fe80::21f:3cff:fe2e:78d3 on wlan0. May 18 16:40:36 myrosia-home2 kernel: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready May 18 16:40:51 myrosia-home2 avahi-daemon[2987]: Registering new address record for fe80::21f:3cff:fe2e:78d3 on wlan0.*. May 18 16:41:00 myrosia-home2 kernel: wlan0: no IPv6 routers present ------------------- For comparison, this is what happens with ifup-dhcp -- it actually writes a warning that NetworkManager should be managing this (except that it doesn't work, it seems). ----------------- May 18 16:41:51 myrosia-home2 ifup-dhcp: Starting DHCP Client Daemon on wlan0... May 18 16:41:51 myrosia-home2 ifup-dhcp: . May 18 16:41:51 myrosia-home2 avahi-daemon[2987]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.103. May 18 16:41:51 myrosia-home2 avahi-daemon[2987]: New relevant interface wlan0.IPv4 for mDNS. May 18 16:41:51 myrosia-home2 avahi-daemon[2987]: Registering new address record for 192.168.1.103 on wlan0.IPv4. May 18 16:41:52 myrosia-home2 modify_resolvconf: Service dhcpcd modified /etc/resolv.conf. See info block in this file May 18 16:41:52 myrosia-home2 ifup: Network interface is managed from NetworkManager May 18 16:41:52 myrosia-home2 ifup: NetworkManager will be advised to set up wlan0 May 18 16:41:52 myrosia-home2 ifup: but it cannot be assured from here. May 18 16:41:52 myrosia-home2 syslog-ng[2462]: SIGHUP received, restarting syslog-ng May 18 16:41:52 myrosia-home2 ifup-dhcp: IP/Netmask: 192.168.1.103 May 18 16:41:52 myrosia-home2 ifup-dhcp: / 255.255.255.0 May 18 16:41:52 myrosia-home2 ifup-dhcp: ---------------------------------------- Myrosia
-- ----------JSA--------- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
John Andersen
-
Myrosia Dzikovska