Wireless not connecting to AP, no IP address assigned through DHCP

Bug #408306 reported by SilvaRizla
50
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I'm on a fresh install of Karmic x64 with latest updates as of 02.08.09 using a Belkin N Wireless F56D8053 on rt2800usb drivers found here: http://forums.remote-exploit.org/bt4...-wireless.html (current ralink drivers don't compile on this kernel, and other "modded" versions don't work)

The drivers seem to have installed correctly, I can put the card into monitor mode without issue and can even inject packets. I can't however connect to my AP which is open system, no encryption, nor any other AP. I can see available wireless networks on both knetworkmanager and wicd. I am currently using wicd and when I try to connect I get "Obtaining IP Address" and then a short while later, "Unable to obtain IP address".

Unconfirmed: "the old fashioned way still works, though, once you stop wicd/networkmanager and the wpa_supplicant daemon from running. i'm currently doing it by manually running wpa_supplicant to associate then dhclient to get an IP address. /etc/network/interfaces could be set up to do the same thing."
Output of iwconfig:

Quote:
dave@Desktop:~$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11bgn ESSID:"D-Link"
Mode:Managed Frequency:2.457 GHz Access Point: 00:0F:3D:65:4E:FE
Tx-Power=12 dBm
Retry long limit:7 RTS thrff Fragment thrff
Power Managementn
Output of ifconfig:

Quote:
dave@Desktop:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:18:8b:5c:b9:21
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:14700 errors:0 dropped:0 overruns:0 frame:0
TX packets:10076 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:16532127 (16.5 MB) TX bytes:1599819 (1.5 MB)
Interrupt:19

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:169 errors:0 dropped:0 overruns:0 frame:0
TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:14074 (14.0 KB) TX bytes:14074 (14.0 KB)

wlan0 Link encap:Ethernet HWaddr 00:22:75:3b:e3:98
inet6 addr: fe80::222:75ff:fe3b:e398/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5081 (5.0 KB) TX bytes:7100 (7.1 KB)

wlan0:avahi Link encap:Ethernet HWaddr 00:22:75:3b:e3:98
inet addr:169.254.9.66 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Output of netstat -rn

Quote:
netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 wlan0
Output of dhclient wlan0

Quote:
sudo dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 5361
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:22:75:3b:e3:98
Sending on LPF/wlan0/00:22:75:3b:e3:98
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Output of lsusb:

Quote:
Bus 002 Device 005: ID 413c:2010 Dell Computer Corp.
Bus 002 Device 004: ID 413c:1003 Dell Computer Corp.
Bus 002 Device 002: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
Bus 002 Device 003: ID 045e:00f5 Microsoft Corp. LifeCam VX-3000
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 007: ID 050d:815c Belkin Components
Bus 001 Device 005: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0644:0200 TEAC Corp.
Some output of dmesg

Quote:
[ 1673.004028] No probe response from AP 00:0f:3d:65:4e:fe after 200ms, disconnecting.
[ 1674.917018] wlan0: no IPv6 routers present
[ 1677.572019] eth0: no IPv6 routers present
[ 1723.742188] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 1)
[ 1723.940034] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 2)
[ 1724.140027] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 3)
[ 1724.340026] wlan0: direct probe to AP 00:0f:3d:65:4e:fe timed out
[ 1777.804098] b44: eth0: Link is down.
[ 1785.804181] b44: eth0: Link is up at 100 Mbps, full duplex.
[ 1785.804188] b44: eth0: Flow control is off for TX and off for RX.
[ 1802.803188] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 1)
[ 1803.001040] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 2)
[ 1803.200031] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 3)
[ 1803.401036] wlan0: direct probe to AP 00:0f:3d:65:4e:fe timed out
[ 1809.441217] b44: eth0: powering down PHY
[ 1809.455769] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 1809.770339] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1809.771189] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 1)

[ 1809.968061] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 2)
[ 1809.970853] wlan0 direct probe responded
[ 1809.970859] wlan0: authenticate with AP 00:0f:3d:65:4e:fe (try 1)
[ 1809.972445] wlan0: authenticated
[ 1809.972483] wlan0: associate with AP 00:0f:3d:65:4e:fe (try 1)
[ 1809.974578] wlan0: RX AssocResp from 00:0f:3d:65:4e:fe (capab=0x421 status=0 aid=1)
[ 1809.974583] wlan0: associated
[ 1809.983831] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

^^^^^^^^^ These fall off so quick I wasn't aware it connected, IP address error still came up on wicd

[ 1812.816186] b44: eth0: Link is up at 100 Mbps, full duplex.

[ 1812.816194] b44: eth0: Flow control is off for TX and off for RX.
[ 1812.816906] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1813.017034] No probe response from AP 00:0f:3d:65:4e:fe after 200ms, disconnecting.
[ 1820.476017] wlan0: no IPv6 routers present
[ 1823.384018] eth0: no IPv6 routers present
[ 1874.349189] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 1)
[ 1874.549030] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 2)
[ 1874.749024] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 3)
[ 1874.949026] wlan0: direct probe to AP 00:0f:3d:65:4e:fe timed out
[ 1887.341333] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1887.343190] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 1)
[ 1887.388240] b44: eth0: powering down PHY
[ 1887.513329] ADDRCONF(NETDEV_UP): eth0: link is not ready

[ 1887.541092] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 2)
[ 1887.544328] wlan0 direct probe responded
[ 1887.544340] wlan0: authenticate with AP 00:0f:3d:65:4e:fe (try 1)
[ 1887.557188] wlan0: authenticated
[ 1887.557224] wlan0: associate with AP 00:0f:3d:65:4e:fe (try 1)
[ 1887.571712] wlan0: RX AssocResp from 00:0f:3d:65:4e:fe (capab=0x421 status=0 aid=1)
[ 1887.571720] wlan0: associated
[ 1887.585963] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

[ 1890.804180] b44: eth0: Link is up at 100 Mbps, full duplex.
[ 1890.804187] b44: eth0: Flow control is off for TX and off for RX.
[ 1890.804889] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 1897.640014] wlan0: no IPv6 routers present
[ 1899.004032] No probe response from AP 00:0f:3d:65:4e:fe after 200ms, disconnecting.
[ 1901.616016] eth0: no IPv6 routers present
[ 2931.804096] b44: eth0: Link is down.
[ 2932.409211] b44: eth0: powering down PHY
[ 2932.424108] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2942.555188] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 1)
[ 2942.752029] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 2)
[ 2942.953038] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 3)
[ 2943.153026] wlan0: direct probe to AP 00:0f:3d:65:4e:fe timed out
[ 2961.697207] b44: eth0: powering down PHY
[ 2961.711062] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2962.021348] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2962.027441] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 1)
[ 2962.030836] wlan0 direct probe responded
[ 2962.030843] wlan0: authenticate with AP 00:0f:3d:65:4e:fe (try 1)
[ 2962.032564] wlan0: authenticated
[ 2962.032597] wlan0: associate with AP 00:0f:3d:65:4e:fe (try 1)
[ 2962.034692] wlan0: RX AssocResp from 00:0f:3d:65:4e:fe (capab=0x421 status=0 aid=1)
[ 2962.034697] wlan0: associated
[ 2962.044808] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2972.505015] wlan0: no IPv6 routers present
[ 2977.005058] No probe response from AP 00:0f:3d:65:4e:fe after 200ms, disconnecting.
[ 6411.200686] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 1)
[ 6411.400032] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 2)
[ 6411.600023] wlan0: direct probe to AP 00:0f:3d:65:4e:fe (try 3)
[ 6411.800028] wlan0: direct probe to AP 00:0f:3d:65:4e:fe timed out
my /etc/network/interfaces file

Quote:

auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp

If I plug an ethernet cable in, eth0 works fine, but not with wireless.

My original topic on ubuntu forums Karmic Development is here: http://ubuntuforums.org/showthread.php?p=7724023#post7724023

The bug was confirmed by another user in that topic

Revision history for this message
Nick McGill (nick-mcgill) wrote :

I have the same problem with a D-Link DWA-140.
rt2870sta worked, rt2800usb doesn't. I can see a neighbour's ssid, but not mine from network manager, and I am unable to connect.

Revision history for this message
SilvaRizla (silvarizla5) wrote : Re: [Bug 408306] Re: Wireless not connecting to AP, no IP address assigned through DHCP
Download full text (10.2 KiB)

I have realized this isn't a Karmic issue, it affects jaunty and backtrack.
The rt2800usb simply is not compatible

On Sat, Aug 29, 2009 at 10:26 AM, Nick McGill <email address hidden> wrote:

> I have the same problem with a D-Link DWA-140.
> rt2870sta worked, rt2800usb doesn't. I can see a neighbour's ssid, but not
> mine from network manager, and I am unable to connect.
>
> --
> Wireless not connecting to AP, no IP address assigned through DHCP
> https://bugs.launchpad.net/bugs/408306
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “dhcp3” package in Ubuntu: New
>
> Bug description:
> I'm on a fresh install of Karmic x64 with latest updates as of 02.08.09
> using a Belkin N Wireless F56D8053 on rt2800usb drivers found here:
> http://forums.remote-exploit.org/bt4...-wireless.html (current ralink
> drivers don't compile on this kernel, and other "modded" versions don't
> work)
>
> The drivers seem to have installed correctly, I can put the card into
> monitor mode without issue and can even inject packets. I can't however
> connect to my AP which is open system, no encryption, nor any other AP. I
> can see available wireless networks on both knetworkmanager and wicd. I am
> currently using wicd and when I try to connect I get "Obtaining IP Address"
> and then a short while later, "Unable to obtain IP address".
>
> Unconfirmed: "the old fashioned way still works, though, once you stop
> wicd/networkmanager and the wpa_supplicant daemon from running. i'm
> currently doing it by manually running wpa_supplicant to associate then
> dhclient to get an IP address. /etc/network/interfaces could be set up to do
> the same thing."
> Output of iwconfig:
>
> Quote:
> dave@Desktop:~$ iwconfig
> lo no wireless extensions.
>
> eth0 no wireless extensions.
>
> wlan0 IEEE 802.11bgn ESSID:"D-Link"
> Mode:Managed Frequency:2.457 GHz Access Point: 00:0F:3D:65:4E:FE
> Tx-Power=12 dBm
> Retry long limit:7 RTS thrff Fragment thrff
> Power Managementn
> Output of ifconfig:
>
> Quote:
> dave@Desktop:~$ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:18:8b:5c:b9:21
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:14700 errors:0 dropped:0 overruns:0 frame:0
> TX packets:10076 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:16532127 (16.5 MB) TX bytes:1599819 (1.5 MB)
> Interrupt:19
>
> 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:169 errors:0 dropped:0 overruns:0 frame:0
> TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:14074 (14.0 KB) TX bytes:14074 (14.0 KB)
>
> wlan0 Link encap:Ethernet HWaddr 00:22:75:3b:e3:98
> inet6 addr: fe80::222:75ff:fe3b:e398/64 Scope:Link
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:52 errors:0 dropped:0 overruns:0 frame:0
> TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:5081 (5.0 KB) TX bytes:7100 (7.1 KB)
>
> wlan0:avahi Link encap:Ethernet HWaddr 00:22:75:3b:e3:98
> inet addr:169.254.9.66 Bcast:169.254.255.255 Mask:255.255.0.0
> UP BROADCA...

Revision history for this message
Nick McGill (nick-mcgill) wrote :

It does look like that's true, although I also appear to have rt2870sta being loaded from the staging directory, and I am unable to build the latest rt2870sta on the latest karma

Revision history for this message
SilvaRizla (silvarizla5) wrote :
Download full text (10.3 KiB)

From my experience the staging driver works fine (if I remember correctly, I
jacked it in and went back to Jaunty) and it isn't possible to build the
ralink driver on Karmic because of changes in the kernel

On Mon, Aug 31, 2009 at 8:50 AM, Nick McGill <email address hidden> wrote:

> It does look like that's true, although I also appear to have rt2870sta
> being loaded from the staging directory, and I am unable to build the
> latest rt2870sta on the latest karma
>
> --
> Wireless not connecting to AP, no IP address assigned through DHCP
> https://bugs.launchpad.net/bugs/408306
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “dhcp3” package in Ubuntu: New
>
> Bug description:
> I'm on a fresh install of Karmic x64 with latest updates as of 02.08.09
> using a Belkin N Wireless F56D8053 on rt2800usb drivers found here:
> http://forums.remote-exploit.org/bt4...-wireless.html (current ralink
> drivers don't compile on this kernel, and other "modded" versions don't
> work)
>
> The drivers seem to have installed correctly, I can put the card into
> monitor mode without issue and can even inject packets. I can't however
> connect to my AP which is open system, no encryption, nor any other AP. I
> can see available wireless networks on both knetworkmanager and wicd. I am
> currently using wicd and when I try to connect I get "Obtaining IP Address"
> and then a short while later, "Unable to obtain IP address".
>
> Unconfirmed: "the old fashioned way still works, though, once you stop
> wicd/networkmanager and the wpa_supplicant daemon from running. i'm
> currently doing it by manually running wpa_supplicant to associate then
> dhclient to get an IP address. /etc/network/interfaces could be set up to do
> the same thing."
> Output of iwconfig:
>
> Quote:
> dave@Desktop:~$ iwconfig
> lo no wireless extensions.
>
> eth0 no wireless extensions.
>
> wlan0 IEEE 802.11bgn ESSID:"D-Link"
> Mode:Managed Frequency:2.457 GHz Access Point: 00:0F:3D:65:4E:FE
> Tx-Power=12 dBm
> Retry long limit:7 RTS thrff Fragment thrff
> Power Managementn
> Output of ifconfig:
>
> Quote:
> dave@Desktop:~$ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:18:8b:5c:b9:21
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:14700 errors:0 dropped:0 overruns:0 frame:0
> TX packets:10076 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:16532127 (16.5 MB) TX bytes:1599819 (1.5 MB)
> Interrupt:19
>
> 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:169 errors:0 dropped:0 overruns:0 frame:0
> TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:14074 (14.0 KB) TX bytes:14074 (14.0 KB)
>
> wlan0 Link encap:Ethernet HWaddr 00:22:75:3b:e3:98
> inet6 addr: fe80::222:75ff:fe3b:e398/64 Scope:Link
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:52 errors:0 dropped:0 overruns:0 frame:0
> TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:5081 (5.0 KB) TX bytes:7100 (7.1 KB)
>
> wlan0:avahi Link encap:Ethernet HWaddr 0...

Revision history for this message
Nick McGill (nick-mcgill) wrote :

I haven't been able to get the staging driver to work.

It is odd that both drivers seem to be loaded in karmic.

Is there any way of successfully using an rt2870-based wireless card under karmic?

Revision history for this message
SilvaRizla (silvarizla5) wrote :
Download full text (10.5 KiB)

As I say I am now on jaunty but I'm pretty sure I did something like this:

sudo modinfo rt2800usb (this will tell you the path to the driver make a
note of this path incase you need to reinstall it)
sudo cp <driver from above> /Your home folder/driver.copy
sudo rm -rf <folder containing driver from above> (be VERY carefull with
this as it will remove a directory)
sudo rmmod rt2800usb
sudo modprobe rt2870sta

reboot

On Mon, Aug 31, 2009 at 1:45 PM, Nick McGill <email address hidden> wrote:

> I haven't been able to get the staging driver to work.
>
> It is odd that both drivers seem to be loaded in karmic.
>
> Is there any way of successfully using an rt2870-based wireless card
> under karmic?
>
> --
> Wireless not connecting to AP, no IP address assigned through DHCP
> https://bugs.launchpad.net/bugs/408306
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “dhcp3” package in Ubuntu: New
>
> Bug description:
> I'm on a fresh install of Karmic x64 with latest updates as of 02.08.09
> using a Belkin N Wireless F56D8053 on rt2800usb drivers found here:
> http://forums.remote-exploit.org/bt4...-wireless.html (current ralink
> drivers don't compile on this kernel, and other "modded" versions don't
> work)
>
> The drivers seem to have installed correctly, I can put the card into
> monitor mode without issue and can even inject packets. I can't however
> connect to my AP which is open system, no encryption, nor any other AP. I
> can see available wireless networks on both knetworkmanager and wicd. I am
> currently using wicd and when I try to connect I get "Obtaining IP Address"
> and then a short while later, "Unable to obtain IP address".
>
> Unconfirmed: "the old fashioned way still works, though, once you stop
> wicd/networkmanager and the wpa_supplicant daemon from running. i'm
> currently doing it by manually running wpa_supplicant to associate then
> dhclient to get an IP address. /etc/network/interfaces could be set up to do
> the same thing."
> Output of iwconfig:
>
> Quote:
> dave@Desktop:~$ iwconfig
> lo no wireless extensions.
>
> eth0 no wireless extensions.
>
> wlan0 IEEE 802.11bgn ESSID:"D-Link"
> Mode:Managed Frequency:2.457 GHz Access Point: 00:0F:3D:65:4E:FE
> Tx-Power=12 dBm
> Retry long limit:7 RTS thrff Fragment thrff
> Power Managementn
> Output of ifconfig:
>
> Quote:
> dave@Desktop:~$ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:18:8b:5c:b9:21
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:14700 errors:0 dropped:0 overruns:0 frame:0
> TX packets:10076 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:16532127 (16.5 MB) TX bytes:1599819 (1.5 MB)
> Interrupt:19
>
> 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:169 errors:0 dropped:0 overruns:0 frame:0
> TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:14074 (14.0 KB) TX bytes:14074 (14.0 KB)
>
> wlan0 Link encap:Ethernet HWaddr 00:22:75:3b:e3:98
> inet6 addr: fe80::222:75ff:fe3b:e398/64 Scope:Link
> UP BROADCAST MULTICAST MTU:1500 Met...

Revision history for this message
Nick McGill (nick-mcgill) wrote :

Thanks for that - you reminded me of an easier method

sudo gedit /etc/modprobe.d/blacklist.conf

add the line

blacklist rt2800usb

save & reboot

Revision history for this message
Nick McGill (nick-mcgill) wrote :

Kernel 2.6.31-9 using rt2800usb now allows network manager to enumerate b/g/n networks, although all show as full strength, but will not connect.

Have had to revert to rt2870sta.

Revision history for this message
SilvaRizla (silvarizla5) wrote :
Download full text (10.3 KiB)

I think we will just have to wait it out, the usb driver provieds a perfect
monitor mode with injection but won't connect and the 2870 is the complete
opposite. Before reverting to jaunty I had them both installed and was
switching as needed but that soon became tiresome

On Tue, Sep 1, 2009 at 3:18 PM, Nick McGill <email address hidden> wrote:

> Kernel 2.6.31-9 using rt2800usb now allows network manager to enumerate
> b/g/n networks, although all show as full strength, but will not
> connect.
>
> Have had to revert to rt2870sta.
>
> --
> Wireless not connecting to AP, no IP address assigned through DHCP
> https://bugs.launchpad.net/bugs/408306
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “dhcp3” package in Ubuntu: New
>
> Bug description:
> I'm on a fresh install of Karmic x64 with latest updates as of 02.08.09
> using a Belkin N Wireless F56D8053 on rt2800usb drivers found here:
> http://forums.remote-exploit.org/bt4...-wireless.html (current ralink
> drivers don't compile on this kernel, and other "modded" versions don't
> work)
>
> The drivers seem to have installed correctly, I can put the card into
> monitor mode without issue and can even inject packets. I can't however
> connect to my AP which is open system, no encryption, nor any other AP. I
> can see available wireless networks on both knetworkmanager and wicd. I am
> currently using wicd and when I try to connect I get "Obtaining IP Address"
> and then a short while later, "Unable to obtain IP address".
>
> Unconfirmed: "the old fashioned way still works, though, once you stop
> wicd/networkmanager and the wpa_supplicant daemon from running. i'm
> currently doing it by manually running wpa_supplicant to associate then
> dhclient to get an IP address. /etc/network/interfaces could be set up to do
> the same thing."
> Output of iwconfig:
>
> Quote:
> dave@Desktop:~$ iwconfig
> lo no wireless extensions.
>
> eth0 no wireless extensions.
>
> wlan0 IEEE 802.11bgn ESSID:"D-Link"
> Mode:Managed Frequency:2.457 GHz Access Point: 00:0F:3D:65:4E:FE
> Tx-Power=12 dBm
> Retry long limit:7 RTS thrff Fragment thrff
> Power Managementn
> Output of ifconfig:
>
> Quote:
> dave@Desktop:~$ ifconfig
> eth0 Link encap:Ethernet HWaddr 00:18:8b:5c:b9:21
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:14700 errors:0 dropped:0 overruns:0 frame:0
> TX packets:10076 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:16532127 (16.5 MB) TX bytes:1599819 (1.5 MB)
> Interrupt:19
>
> 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:169 errors:0 dropped:0 overruns:0 frame:0
> TX packets:169 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:14074 (14.0 KB) TX bytes:14074 (14.0 KB)
>
> wlan0 Link encap:Ethernet HWaddr 00:22:75:3b:e3:98
> inet6 addr: fe80::222:75ff:fe3b:e398/64 Scope:Link
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:52 errors:0 dropped:0 overruns:0 frame:0
> TX packets:52 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:5081 (5.0 KB...

Chuck Short (zulcss)
affects: dhcp3 (Ubuntu) → linux (Ubuntu)
Revision history for this message
soc (simon-ochsenreither) wrote :

Have the same problem with an D-Link DWA-140 stick.

Revision history for this message
soc (simon-ochsenreither) wrote :

Ok, blacklisting rt2800usb works for me.

I would suggest creating a new file in sudo gedit /etc/modprobe.d/ like "blacklist-rt2800usb.conf" because "blacklist.conf" can be overwritten when the package is updated and you would have to do your changes again.

Revision history for this message
aMUSEd (masterofdisharmony) wrote :

For me the blacklisting did not work.
Linksys WUSB600N with RA2870 Chipset
Ubuntu 9.10 RC with 2.6.31 kernel

With Ubuntu 9.04 the wlan stick worked out of the box with rt2870sta kernel module.

Please fix this asap.

Kind regards!

Revision history for this message
Matthias Meier (matthias-j-meier) wrote :
Download full text (5.3 KiB)

Zyxel NWD-270N USB WLAN Stick doesn't work, neither rt2800usb nor rt2870sta

I tested several scenarios on Ubuntu 9.10 x32 (Linux 2.6.31-14-generic):

Test scenario 1 - Clean Ubuntu installation without any modifications:
-> rt2800usb will be loaded
-> in Gnome Network Manager Interface is shown, but without any access-points
-> mention "link is not ready" in /var/log/syslog:

Nov 1 14:07:09 cm-desktop kernel: [ 133.948028] usb 1-4: new high speed USB device using ehci_hcd and address 3
Nov 1 14:07:09 cm-desktop kernel: [ 134.098505] usb 1-4: configuration #1 chosen from 1 choice
Nov 1 14:07:09 cm-desktop kernel: [ 134.236150] cfg80211: Calling CRDA to update world regulatory domain
Nov 1 14:07:09 cm-desktop kernel: [ 134.251924] cfg80211: World regulatory domain updated:
Nov 1 14:07:09 cm-desktop kernel: [ 134.251933] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Nov 1 14:07:09 cm-desktop kernel: [ 134.251941] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Nov 1 14:07:09 cm-desktop kernel: [ 134.251948] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Nov 1 14:07:09 cm-desktop kernel: [ 134.251954] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Nov 1 14:07:09 cm-desktop kernel: [ 134.251961] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Nov 1 14:07:09 cm-desktop kernel: [ 134.251967] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Nov 1 14:07:09 cm-desktop kernel: [ 134.397552] phy0: Selected rate control algorithm 'minstrel'
Nov 1 14:07:09 cm-desktop NetworkManager: <info> Found radio killswitch rfkill0 (at /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.0/ieee80211/phy0/rfkill0) (driver <unknown>)
Nov 1 14:07:09 cm-desktop kernel: [ 134.399178] Registered led device: rt2800usb-phy0::radio
Nov 1 14:07:09 cm-desktop kernel: [ 134.399221] Registered led device: rt2800usb-phy0::assoc
Nov 1 14:07:09 cm-desktop kernel: [ 134.399262] Registered led device: rt2800usb-phy0::quality
Nov 1 14:07:09 cm-desktop kernel: [ 134.399982] usbcore: registered new interface driver rt2800usb
Nov 1 14:07:09 cm-desktop NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.0/net/wmaster0, iface: wmaster0)
Nov 1 14:07:09 cm-desktop NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.0/net/wmaster0, iface: wmaster0): no ifupdown configuration found.
Nov 1 14:07:09 cm-desktop kernel: [ 134.453182] udev: renamed network interface wlan0 to wlan2
Nov 1 14:07:09 cm-desktop NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.0/net/wlan2, iface: wlan2)
Nov 1 14:07:09 cm-desktop NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/pci0000:00/0000:00:04.1/usb1/1-4/1-4:1.0/net/wlan2, iface: wlan2): no ifupdown configuration found.
Nov 1 14:07:09 cm-desktop NetworkManager: <info> (wlan2): driver supports SSID scans (scan_capa 0x01).
Nov 1 14:07:09 cm-desktop NetworkManager: <info> (wlan2): new 802.11 WiFi device (driver: 'rt2800usb')
Nov 1 14:07:09 c...

Read more...

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi SilvaRizla,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 408306

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
papukaija (papukaija) wrote :

Confirming in Lucid with rt2500 based Asus wl-167 usb device. My kernel is 2.6.32-17.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
papukaija (papukaija) wrote :

Possible workaround: Add iwconfig wlan0 power off to your rc.local file.

Revision history for this message
papukaija (papukaija) wrote :

This bug is fixed in maverick as it has kernel 2.6.34 which includes several rt2500and rt2800 fixes including this bug.

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.