** Changed in: network-manager (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/542226
Title:
NetworkManager assigns garbage ESSID
Status in “network-manager” package in Ubuntu:
Incomplete
Bug description:
Binary package hint: network-manager
I have been debugging access point switching in the rt2870sta wifi
driver. One of the problems I was encountering is that the essid the
adapter was trying to connect to was often garbage. After backtracking
through the code, I finally found that the garbage was being passed in
by an ioctl. After disabling the network-manager, the garbage stopped
being passed in, so I assume that network manager is to blame. I have
not much debugging, as I don't really care about network-manager
working, but here is my first impression.
It appears that the garbage essid only gets sent when I do an
'iwconfig ra0 essid willow' command, and seems to immediately follow
that command. At the time when I do this, the network manager has not
yet established a connection.
I am guessing that the network manager detects that I have made a
change, and tries to revert it. The value it tries to revert to is not
yet initialized, causing the problem I saw.
Another possibility I cannot yet rule out is that the rt2870sta driver
is sending a garbage value to the network manager, which is in turn
echoing it back to the driver. In that case, I wonder why it is doing
the echo.
Here is an example log from the wifi driver code:
{{{
Mar 19 14:47:01 adr kernel: [1473832.657015] rt2870sta: rt_ioctl_siwessid (6)
'willow'
Mar 19 14:47:02 adr kernel: [1473833.192466] rt2870sta: rt_ioctl_siwessid
(32) '�Ȗ��\����f<1Z
Mar 19 14:47:13 adr kernel: [1473844.528190] rt2870sta: rt_ioctl_siwessid (6)
'willow'
Mar 19 14:47:13 adr kernel: [1473844.863786] rt2870sta: rt_ioctl_siwessid
(32) '�A~����+�8�"��j���s��
Mar 19 14:47:26 adr kernel: [1473857.657028] rt2870sta: rt_ioctl_siwessid (6)
'willow'
Mar 19 14:47:27 adr kernel: [1473858.346822] rt2870sta: rt_ioctl_siwessid (6)
'willow'
Mar 19 14:47:31 adr kernel: [1473862.028258] rt2870sta: rt_ioctl_siwessid (6)
'willow'
Mar 19 14:47:31 adr kernel: [1473862.658089] rt2870sta: rt_ioctl_siwessid (6)
'willow'
Mar 19 14:47:32 adr kernel: [1473863.088117] rt2870sta: rt_ioctl_siwessid (6)
'willow'
Mar 19 14:47:32 adr kernel: [1473863.486994] rt2870sta: rt_ioctl_siwessid (6)
'willow'
}}}
Initially network manager was on, then I turned it off.
{{{
blaise@adr: /wg/stor5/blaise $ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
blaise@adr: /wg/stor5/blaise $ apt-cache policy network-manager
network-manager:
Installed: 0.8~a~git.20091013t193206.679d548-0ubuntu1
Candidate: 0.8~a~git.20091013t193206.679d548-0ubuntu1
Version table:
*** 0.8~a~git.20091013t193206.679d548-0ubuntu1 0
500 http://aptproxy karmic/main Packages
100 /var/lib/dpkg/status
}}}
ProblemType: Bug
Architecture: amd64
Date: Fri Mar 19 14:41:48 2010
DistroRelease: Ubuntu 9.10
IpRoute:
10.0.0.0/22 dev eth0 proto kernel scope link src 10.0.0.218 metric 1
169.254.0.0/16 dev eth0 scope link metric 1000
default via 10.0.0.1 dev eth0 proto static
NonfreeKernelModules: nvidia
Package: network-manager 0.8~a~git.20091013t193206.679d548-0ubuntu1
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-16.53-generic
SourcePackage: network-manager
Uname: Linux 2.6.31-16-generic x86_64
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/542226/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp