Comment 8 for bug 72925

Revision history for this message
Martin Zuther (mzuther) wrote :

Hi!

I am back home now and so are my problems, while my wireless configuration worked flawlessly at my parents' WLAN:

I could always reconnect by running a simple "sudo ifup eth1" after a "sudo ifdown eth1" at my parents' WLAN (even though the WLAN LED flickered for a while), but back home my interface "eth1" gets lost after "sudo ifdown eth1".

Here is my current "wpa_supplicant.conf" (unchanged, except that I removed the "eapol_version" and "ap_scan" options):

   ctrl_interface=/var/run/wpa_supplicant

   network={
       ssid="some_ssid"
       scan_ssid=0
       proto=RSN
       key_mgmt=WPA-PSK
       pairwise=CCMP
       group=TKIP CCMP
       psk="some_psk"
   }

And here is a sample session with these settings (at my home):

> ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:169

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:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

> sudo modprobe ipw3945

> ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:169

eth1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:82 Base address:0xa000 Memory:edf00000-edf00fff

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:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

> iwlist eth1 scan
eth1 Scan completed :
          Cell 01 - Address: xx:xx:xx:xx:xx:xx
                    ESSID:"some_essid"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:6
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=78/100 Signal level=-56 dBm Noise level=-56 dBm
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    Extra: Last beacon: 0ms ago

> sudo ifup eth1
There is already a pid file /var/run/dhclient.eth1.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/xx:xx:xx:xx:xx:xx
Sending on LPF/eth1/xx:xx:xx:xx:xx:xx
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.34 -- renewal in 127512 seconds.

> ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:169

eth1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
          inet addr:192.168.1.34 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::213:2ff:fe9c:4dfe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:481 errors:0 dropped:229 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1927 (1.8 KiB) TX bytes:2985 (2.9 KiB)
          Interrupt:82 Base address:0xa000 Memory:edf00000-edf00fff

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:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

> ping www.ubuntu.com
PING www.ubuntu.com (82.211.81.166) 56(84) bytes of data.
64 bytes from signey.ubuntu.com (82.211.81.166): icmp_seq=1 ttl=51 time=24.6 ms
64 bytes from signey.ubuntu.com (82.211.81.166): icmp_seq=2 ttl=51 time=24.2 ms
64 bytes from signey.ubuntu.com (82.211.81.166): icmp_seq=3 ttl=51 time=23.8 ms

--- www.ubuntu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 23.838/24.261/24.675/0.364 ms

> sudo ifdown eth1
There is already a pid file /var/run/dhclient.eth1.pid with pid 6076
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth1/xx:xx:xx:xx:xx:xx
Sending on LPF/eth1/xx:xx:xx:xx:xx:xx
Sending on Socket/fallback
DHCPRELEASE on eth1 to 192.168.1.1 port 67

> ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:169

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:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

> sudo modprobe -r ipw3945
FATAL: Module ipw3945 is in use.
FATAL: Error running remove command for ipw3945

> sudo modprobe -r ipw3945
2007-01-01 14:15:08: WARNING: No prior instance running.

> ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:169

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:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

>sudo modprobe ipw3945

> ifconfig
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:169

eth1 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
          Interrupt:82 Base address:0xa000 Memory:edf00000-edf00fff

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:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:100 (100.0 b) TX bytes:100 (100.0 b)

Thanks again, and happy new year! :)

Martin