You are not logged in.

#1 2011-10-05 11:56:02

Kane
Member
Registered: 2006-10-08
Posts: 220

rt2870 wireless

Hi guys,
I have a wireless usb adapter:

BUFFALO INC. (formerly MelCo., Inc.) WLI-UC-G300N Wireless LAN Adapter [Ralink RT2870]

On booting into linux after a restart from windows, i have an issue where it seems to not pick up/connect to any wireless networks (using networkmanager with gnome).
I can connect however, by simply restarting networkmanager.

I don't know if this has anything to do with the usb driver (not resetting the usb adapter or something?), or if its a problem with networkmanager.

If i reboot once the network is working in linux (i.e. reboot again into linux without booting into windows), then i have no further issues, which seems to suggest an issue with the state of the card?

If it was a problem like this, then i don't know if/why restarting networkmanager would 'reset' the state/driver?

(I don't know if the problem occurred due to a recent kernel update, or recent NM update, as arch had not been updated in a month or so).

The logs from networkmanager both seem to show the same initialisation, but then one seems to just stop before connecting:

Oct  5 12:21:09 localhost NetworkManager[822]: <info> NetworkManager (version 0.9.1.90) is starting...
Oct  5 12:21:09 localhost NetworkManager[822]: <info> Read config file /etc/NetworkManager/NetworkManager.conf
Oct  5 12:21:10 localhost NetworkManager[822]: <info> Loaded plugin keyfile: (c) 2007 - 2010 Red Hat, Inc.  To report bugs please use the NetworkManager mailing list.
Oct  5 12:21:10 localhost NetworkManager[822]:    keyfile: parsing Auto Nommie ... 
Oct  5 12:21:10 localhost NetworkManager[822]:    keyfile:     read connection 'Auto Nommie'
Oct  5 12:21:10 localhost NetworkManager[822]: <info> trying to start the modem manager...
Oct  5 12:21:10 localhost NetworkManager[822]: <info> monitoring kernel firmware directory '/lib/firmware'.
Oct  5 12:21:10 localhost NetworkManager[822]: <info> found WiFi radio killswitch rfkill0 (at /sys/devices/pci0000:00/0000:00:12.2/usb1/1-1/1-1:1.0/ieee80211/phy0/rfkill0) (driver (unknown))
Oct  5 12:21:10 localhost NetworkManager[822]: <info> WiFi enabled by radio killswitch; enabled by state file
Oct  5 12:21:10 localhost NetworkManager[822]: <info> WWAN enabled by radio killswitch; enabled by state file
Oct  5 12:21:10 localhost NetworkManager[822]: <info> WiMAX enabled by radio killswitch; enabled by state file
Oct  5 12:21:10 localhost NetworkManager[822]: <info> Networking is enabled by state file
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (eth0): carrier is OFF
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (eth0): exported as /org/freedesktop/NetworkManager/Devices/0
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (eth0): now managed
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (eth0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (eth0): bringing up device.
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (eth0): preparing device.
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (eth0): deactivating device (reason 'managed') [2]
Oct  5 12:21:10 localhost NetworkManager[822]: <info> Added default wired connection 'Wired connection 1' for /sys/devices/pci0000:00/0000:00:0a.0/0000:02:00.0/net/eth0
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (wlan0): new 802.11 WiFi device (driver: 'rt2800usb' ifindex: 3)
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/1
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (wlan0): now managed
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (wlan0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (wlan0): bringing up device.
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (wlan0): preparing device.
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (wlan0): deactivating device (reason 'managed') [2]
Oct  5 12:21:10 localhost NetworkManager[822]: <warn> bluez error getting default adapter: The name org.bluez was not provided by any .service files
Oct  5 12:21:10 localhost NetworkManager[822]: <info> wpa_supplicant started
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (wlan0): supplicant interface state: starting -> ready
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (wlan0): device state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
Oct  5 12:21:10 localhost NetworkManager[822]: <info> (wlan0): supplicant interface state: ready -> inactive
Oct  5 12:21:32 localhost NetworkManager[822]: <info> Auto-activating connection 'Auto Nommie'.

When it fails to connect, it just stops at the line above the last.

Any ideas?

Cheers
Kane

Last edited by Kane (2011-10-05 11:57:30)

Offline

#2 2011-10-05 14:09:43

Kane
Member
Registered: 2006-10-08
Posts: 220

Re: rt2870 wireless

Ok so ignore the above about networkmanager.

A simple ifconfig wlan0 down/up allows me to connect to the network.

If a solution to the above problem doesnt exist. Would it be possible to implement a workaround, for example by performing an ifconfig down/up before network manager starts somehow?

That way i wouldnt have to manually perform the operation after working in windows.

Cheers
Kane

Offline

Board footer

Powered by FluxBB