|
Bugzilla – Full Text Bug Listing |
| Summary: | Default route not set at all if first network to run dhcpcd fails to connect | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Dave Rosky <d_rosky> |
| Component: | Network | Assignee: | Christian Zoz <zoz> |
| Status: | RESOLVED INVALID | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | suse-beta |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | i686 | ||
| OS: | SuSE Linux 10.0 | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Dave Rosky
2006-03-10 00:44:46 UTC
I looked through the ifup-dhcp script, and indeed the script unsets DHCLIENT_SET_DEFAULT_ROUTE if there is already another dhcpcd running or scheduled. The problem is that the already-running dhcpcd could be running indefinitely on an interface waiting for it to come up, and will proclude another interface from setting a default route. Perhaps it would be better to check for the existence of a default route, rather than check for the existence of a pre-existing dhcpcd process. Dave This works as expected. Try STARTMODE=ifplugd and IFPLUGD_PRIORITY=<N> in your interface config files, with N for ethernet bigger then N for wlan. (Or set it via YaST, or read 'man ifcfg'). This will help you. Alternatively (but worse) you can set DHCLIENT_PRIMARY_DEVICE=yes/no. See ifcfg.template. STARTMODE=ifplugd does work, thanks. If this is the preferred way to address the problem, then how about consider making this the default mode? This would avoid people having to troubleshoot the problem. Dave We did that. It's default in the next products. |