Bugzilla – Bug 559300
knetworkmanager: static wired connection has no default route
Last modified: 2010-11-15 16:36:03 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091103 SUSE/3.5.5-1.1.2 Firefox/3.5.5 I seem to be unable to set a default route of any kind when using knetworkmanager (KDE4) on openSUSE 11.2. I added a wired connection, set it up for static, and regardless of the "use only for resources on this connection" checkbox state I never get a default route. This is a problem. Output of route -n: When using DHCP: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0 Manually Configured: (with "use only for resources on this connection" checked - the default) Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 Manually Configured: (with "use only for resources on this connection" *unchecked*) Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 I tried a number of the other checkboxes without any luck. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Could you attach the DBUS dump of the problematic static connection? http://userbase.kde.org/NetworkManagement indicates how, towards the end.
I, too, get no default route on a new install of 11.2 x86_64 from the live cd with a wireless connection, with knetworkmanager or ifconfig. ip r 192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.4 metric 2 127.0.0.0/8 dev lo scope link /etc/resolv.conf contains search indy.rr.com nameserver 192.168.1.1 this will not resolve indy.rr.com In order to complete the installation, I had to: ip route add default via 192.168.1.1 dev wlan0 But the route periodically disappears. I have done "zypper up", then added 4.4 repos and "zypper dup" restarted box still same problem. Have added "ip route add default via 192.168.1.1 dev wlan" to /etc/init.d/after.local and to an hourly cron job by root to keep the system online. Is there a solution to this problem or another maner of aleviating the problem.
1) It should be alleviated if you have done the online update (check) AND removed any connection created before doing the online update. 2) Otherwise, if you can provide the info asked for in comment #1 I will be able to see why it is breaking.
Moved box to wired location, removed previous connection information, rebooted box in permanent location and problem is gone. tks,
I think this bug was fixed a long time ago with a fix to the dhcp client.
Dupe *** This bug has been marked as a duplicate of bug 553908 ***