[Bug 206363] New: ifup scripts does not set gateway and nameservers for wireless interface
https://bugzilla.novell.com/show_bug.cgi?id=206363 Summary: ifup scripts does not set gateway and nameservers for wireless interface Product: SUSE Linux 10.1 Version: Final Platform: i386 OS/Version: SuSE Linux 10.1 Status: NEW Severity: Blocker Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: edwin@cyclades-info.com QAContact: qa@suse.de The ifup script does not add the default gateway to the route table and does not modify /etc/resolv.conf if I connect with my wireless interface. It works smoothly for the wired interface. Here's what is written in syslog: Sep 16 17:12:00 donousa ifup: eth1 device: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05) Sep 16 17:12:00 donousa ifup: eth1 configuration: wlan-bus-pci-0000:06:02.0 Sep 16 17:12:00 donousa ifup-dhcp: eth1 (DHCP) Sep 16 17:12:00 donousa ifup-dhcp: . Sep 16 17:12:00 donousa dhcpcd[11783]: broadcasting DHCP_REQUEST for 192.168.1.105 Sep 16 17:12:00 donousa dhcpcd[11783]: broadcastAddr option is missing in DHCP server response. Assuming 192.168.1.255 Sep 16 17:12:00 donousa dhcpcd[11783]: dhcpIPaddrLeaseTime=172800 in DHCP server response. Sep 16 17:12:00 donousa dhcpcd[11783]: dhcpT1value is missing in DHCP server response. Assuming 86400 sec Sep 16 17:12:00 donousa dhcpcd[11783]: dhcpT2value is missing in DHCP server response. Assuming 151200 sec Sep 16 17:12:00 donousa dhcpcd[11783]: DHCP_ACK received from (192.168.1.1) Sep 16 17:12:00 donousa dhcpcd-hook: State: up. Leaseinfo: /var/lib/dhcpcd//dhcpcd-eth1.info Sep 16 17:12:00 donousa dhcpcd-hook: Running ifup eth1 -o dhcp Sep 16 17:12:00 donousa ifup: eth1 device: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05) Sep 16 17:12:00 donousa ifup: eth1 configuration: wlan-bus-pci-0000:06:02.0 Sep 16 17:12:00 donousa SuSEfirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled. Sep 16 17:12:00 donousa SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ... Sep 16 17:12:00 donousa SuSEfirewall2: batch committing... Sep 16 17:12:00 donousa SuSEfirewall2: Firewall rules successfully set Sep 16 17:12:01 donousa ifup-dhcp: IP/Netmask: 192.168.1.105 Sep 16 17:12:01 donousa ifup-dhcp: / 255.255.255.0 Sep 16 17:12:01 donousa ifup-dhcp: Sep 16 17:12:01 donousa ifup: modem0 Sep 16 17:12:01 donousa ifup: modem0 Startmode is 'manual' Sep 16 17:12:01 donousa ifup: modem1 Sep 16 17:12:01 donousa ifup: modem1 Startmode is 'manual' Sep 16 17:12:01 donousa SuSEfirewall2: Warning: ip6tables does not support state matching. Extended IPv6 support disabled. Sep 16 17:12:01 donousa SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ... Sep 16 17:12:01 donousa SuSEfirewall2: batch committing... Sep 16 17:12:01 donousa SuSEfirewall2: Firewall rules successfully set Sep 16 17:12:05 donousa dhcpcd[11639]: timed out waiting for DHCP_ACK response Sep 16 17:12:05 donousa dhcpcd[11639]: broadcasting DHCP_DISCOVER When I connect the wired if, it shows about the same, only after "DHCP_ACK received from (192.168.1.1)", it syas: dhcpConfig: modify_resolvconf args: modify -s dhcpcd -p dhcpcd -i 7941 -l office -n 192.168 .1.1 -f /sbin/modify_resolvconf -e eth0 -t "..." -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206363 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |zoz@novell.com |screening@forge.provo.novell| |.com | Severity|Blocker |Major -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206363 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |edwin@cyclades-info.com ------- Comment #1 from zoz@novell.com 2006-09-28 07:15 MST ------- Please show me ps ax | grep dhcp in both cases. I assume you have two dhcp client running at the same time. See description for DHCLIENT_PRIMARY_DEVICE in /etc/sysconfig/network/ifcfg.template -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206363 ------- Comment #2 from behlert@novell.com 2006-10-18 06:33 MST ------- Edwin, we need the requested information to work on the bug. Otherwise we can only close it as 'Cantfix' :( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206363 ------- Comment #3 from edwin@cyclades-info.com 2006-10-18 10:35 MST ------- donousa:/ # ps ax | grep dhcp 8244 pts/1 S 0:00 /sbin/dhcpcd -d -C -H -D -K -N -t 999999 -h donousa -c /etc/sysconfig/network/scripts/dhcpcd-hook eth0 8534 pts/1 S 0:00 /sbin/dhcpcd -d -C -R -G -N -Y -t 999999 -h donousa -c /etc/sysconfig/network/scripts/dhcpcd-hook eth1 13969 pts/1 R+ 0:00 grep dhcp -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206363 ------- Comment #4 from edwin@cyclades-info.com 2006-10-18 10:48 MST ------- DHCLIENT_PRIMARY_DEVICE has got no value. After reading the description, I now understand why it doesn't work. eth0 is the wired interface, which dhcp is started first. So what happens if I set it to yes for eth1? I assume it will then work when I'm wireless. But I also work wired sometimes, when there is no wireless available. I want it to work then also, without changing any settings again. Can it be like this? If eth1 gets its IP-address from the DHCP server, it checks if the default route is already set, which is false in this configuration. It then sets the default route as suggested by the DHCP server. This way, at least one interface sets the route. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=206363 zoz@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|edwin@cyclades-info.com | Resolution| |INVALID ------- Comment #5 from zoz@novell.com 2006-10-19 03:45 MST ------- I guess you want to use these two interfaces alternatively not simultaneously. So just omit DHCLIENT_PRIMARY_DEVICE. Instead use ifplugd: BOOTPROTO=dhcp STARTMODE=ifplugd IFPLUGD_PRIORITY=10 # for wlan and 20 for wired You also may configure that in YaST (which sets priorities automatically) Everything works as designed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com