Bug 559300 - knetworkmanager: static wired connection has no default route
Summary: knetworkmanager: static wired connection has no default route
Status: RESOLVED DUPLICATE of bug 553908
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: KDE4 Workspace (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Will Stephenson
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-30 20:56 UTC by Jon Nelson
Modified: 2010-11-15 16:36 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Nelson 2009-11-30 20:56:29 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.
Comment 1 Will Stephenson 2010-01-04 15:42:17 UTC
Could you attach the DBUS dump of the problematic static connection?

http://userbase.kde.org/NetworkManagement indicates how, towards the end.
Comment 2 patrick shanahan 2010-03-21 18:24:18 UTC
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.
Comment 3 Will Stephenson 2010-03-22 08:49:00 UTC
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.
Comment 4 patrick shanahan 2010-03-23 01:49:43 UTC
Moved box to wired location, removed previous connection information, rebooted box in permanent location and problem is gone.

tks,
Comment 5 Jon Nelson 2010-07-25 18:23:32 UTC
I think this bug was fixed a long time ago with a fix to the dhcp client.
Comment 6 Will Stephenson 2010-11-15 16:36:03 UTC
Dupe

*** This bug has been marked as a duplicate of bug 553908 ***