Bugzilla – Bug 115430
kinternet/cinternet shows weird connection status, can't hang up interface
Last modified: 2007-06-05 10:04:51 UTC
On a beta4plus: in Yast I configured eth0 (cable) with ifplugd and eth1 (wireless) as manual and user controlled. This worked perfectly for SL9.3, and eth0 (ifplugd) is still ok. The problem is using kinternet for the wireless connection. now, after once "dialing in" and using eth1, I can't hang up any more, even if the connection is disabled: --- snip --- travelmate:/etc/sysconfig/network # rcnetwork start;rcsmpppd start Setting up network interfaces: lo lo IP address: 127.0.0.1/8 done scripts/ifplugd-selectif eth0 down ifdown eth0 eth0 device: Broadcom Corporation BCM4401 100Base-T (rev 01) eth0 configuration: eth-id-00:c0:9f:26:82:0b eth0 device: Broadcom Corporation BCM4401 100Base-T (rev 01) eth0 configuration: eth-id-00:c0:9f:26:82:0b eth0 is controlled by ifplugd done eth1 device: Intel Corporation PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04) eth1 configuration: wlan-id-00:04:23:57:13:40 eth1 Startmode is 'manual' skipped Setting up service network . . . . . . . . . . . . . . done Starting SMPPPD done travelmate:/etc/sysconfig/network # ifconfig eth0 Link encap:Ethernet HWaddr 00:C0:9F:26:82:0B inet6 addr: fe80::2c0:9fff:fe26:820b/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:25468 errors:0 dropped:0 overruns:0 frame:0 TX packets:700 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2089847 (1.9 Mb) TX bytes:61044 (59.6 Kb) Interrupt:10 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:239 errors:0 dropped:0 overruns:0 frame:0 TX packets:239 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:19804 (19.3 Kb) TX bytes:19804 (19.3 Kb) travelmate:/etc/sysconfig/network # cinternet -i eth1 -s status: connected action-flags: 0x0008 number-of-links: 0 wireless: yes travelmate:/etc/sysconfig/network # ifconfig eth0 Link encap:Ethernet HWaddr 00:C0:9F:26:82:0B inet6 addr: fe80::2c0:9fff:fe26:820b/64 Scope:Link UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:25468 errors:0 dropped:0 overruns:0 frame:0 TX packets:700 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2089847 (1.9 Mb) TX bytes:61044 (59.6 Kb) Interrupt:10 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:242 errors:0 dropped:0 overruns:0 frame:0 TX packets:242 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:20128 (19.6 Kb) TX bytes:20128 (19.6 Kb) travelmate:/etc/sysconfig/network # grep . /var/run/sysconfig/* /var/run/sysconfig/if-eth0:link=no /var/run/sysconfig/if-eth0:config=eth-id-00:c0:9f:26:82:0b /var/run/sysconfig/if-eth0:hwdesc=eth0 /var/run/sysconfig/if-eth0:status=disconnected /var/run/sysconfig/if-eth1:config=wlan-id-00:04:23:57:13:40 /var/run/sysconfig/if-eth1:hwdesc=eth1 /var/run/sysconfig/if-eth1:status=disconnected /var/run/sysconfig/if-lo:config=lo /var/run/sysconfig/if-lo:hwdesc=lo /var/run/sysconfig/if-lo:status=connected /var/run/sysconfig/ifup-lo:up=yes /var/run/sysconfig/network:1126017302 /var/run/sysconfig/new-stamp-1:renamed /var/run/sysconfig/new-stamp-2:renamed /var/run/sysconfig/new-stamp-3:renamed /var/run/sysconfig/new-stamp-4:renamed
Created attachment 48934 [details] hwinfo
Created attachment 48935 [details] smpppd log it mentions "no interface configured", but I configured eth1
Wireless support was added by Joachim.
andreas, i set the severity to blocker, according to your statement that kinternet (resp internet connection) bugs should be treated as such.
the smpppd error appears to be harmless: - the function that throws this error only looks for ifcfg-{modem,ippp,dsl}* - i get the same error but starting / stopping network interfaces works anyway.
The bug was introduced by the hack I made for bug 113593. Suggested fix: Use association state and IP to set connection status. I need to make smpppd poll the interface status for wireless devices, but this is no big deal. Andreas?
I've made a package featuring that hack: ~jg/Export/smpppd-1.59-3.i586.rpm
Micha, please test the package and if this is ok, it can go in for RC2.
the new package is ok. I can "hangup" and "dial", the interface goes down and up. solved, so far I can see. Thanks.
Fixed package submitted.