maemo.org Bugzilla – Bug 3806
wlan0 still up after disconnecting from Netopia Cayman 3347WEU
Last modified: 2009-01-18 00:52:04 UTC
You need to
before you can comment on or make changes to this bug.
STEPS TO REPRODUCE THE PROBLEM:
1. Start wifi connection.
2. Enable the home applet "Internet radio".
3. Play some radio (e.g. the default one).
5. Respond "Cancel" to the error msg box "Connection to stream lost.
The wlan0 interface should no longer be up.
The wlan0 interface is sometimes still up. More precisely, "ifconfig" outputs:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:234934 errors:0 dropped:0 overruns:0 frame:0
TX packets:234934 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:11781451 (11.2 MiB) TX bytes:11781451 (11.2 MiB)
wlan0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39840 errors:0 dropped:0 overruns:0 frame:0
TX packets:7058 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:10337989 (9.8 MiB) TX bytes:1021610 (997.6 KiB)
and "iwconfig" outputs:
wlan0 IEEE 802.11b/g ESSID:"vinc17"
Mode:Managed Channel:0 Access Point: Not-Associated
Bit Rate=0 kb/s Tx-Power=19 dBm Sensitivity=0/200
RTS thr:off Fragment thr:off
Link Quality:70/0 Signal level:-24 dBm Noise level:-94 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
EXTRA SOFTWARE INSTALLED:
Access Point is:
Netopia Model 3347W Wireless DSL Ethernet Switch
Running Netopia SOC OS version 7.5.0
Product ID 1225.
802.11 Wireless Settings
* Enable Wireless On
* Wireless ID (ESSID) vinc17
* Enable Multiple Wirel. IDs Off
* Default Channel 6
* Enable Closed System Mode Off
* Block Wireless Bridging Off
* Privacy Off - No Privacy
Wireless MAC Authentication
* Enable Wireless MAC Authentication: On
[This is a follow-up to bug 3738]
Thanks, great report!
Could not reproduce in general here, but I don't have that router of course -
wlan0 vanishes after disconnecting.
What does "sometimes" mean? 1 out of 10 attempts?
(In reply to comment #1)
> What does "sometimes" mean? 1 out of 10 attempts?
I think a bit more often, but I'm not sure.
Also, I don't think that playing some radio has any effect: with radio, the
problem occurs randomly, but it also occurs randomly with no radio (however I
don't know if something like the auto-update feature is accessing the network).
Is there a way to log what happens when disconnecting?
First thing that comes to my mind is a tcpdump package capture, but might be
the wrong level. See
http://maemo.org/development/documentation/man_pages/tcpdump.html for more
A few hours ago, I left home without disconnecting first. Of course, an
automatic disconnection occurred because the router could no longer be reached.
But the wlan0 remained up and running (though usually, under apparently the
same conditions, it goes down).
(In reply to comment #4)
> A few hours ago, I left home without disconnecting first. Of course, an
> automatic disconnection occurred because the router could no longer be reached.
> But the wlan0 remained up and running (though usually, under apparently the
> same conditions, it goes down).
This bug is *bad*. When wifi fails to disconnect properly it TURNS OFF
power management on wlan0 and the battery starts to drain *fast* (tablet
only lasts a few hours on idle). The failure to disconnect does not happen
always, but more often than not for me. I've tried various things as
workaround in a cron job: rmmod and modprobe cx3110x, restart wlancond
and icd2. None work perfectly since they seem to make new connections
difficult to establish ...
In bug 3738, urb said:
> Only very recently, I eventually realized that this bug has never ever
> occurred to me with any AP when the tablet was configured to acquire its
> IP address via DHCP. Therefore, this bug seems to only apply to connections
> having static IP address (Connectivity settings -> Connections -> Edit ->
> Next -> Next -> Advanced -> IP Addresses -> unchecked "Auto-retrieve IP
> address" box).
I also use a static IP address ("Auto-retrieve IP address" box is unchecked).
So, I assume this is the same problem.
Like urb in bug 3738, I mark this bug as a duplicate of bug 3992.
*** This bug has been marked as a duplicate of bug 3992 ***