ralink rt2770 master mode (ubuntu router)

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=6207

xtsuname

06-03-2012 21:15:22

Hi,

I'm new here and have not meddled with kernel nor with wireless drivers. So I'm sorry for the possibility of this being a stupid question.

I have an 11.10 Ubuntu Server setup with a USB wireless dongle plugged in. I'm trying to turn this setup into a router but am facing difficulty in making the USB dongle go to Master mode. Searching around I found that there is a driver that I must install for it to work. However, some more research says that it should have been implemented in the kernel already.

The device seems to work plug-and-play as I can see it when I do ifconfig. I'm just wondering what I am missing in order to allow it to go to master mode.

Thank you.

Technical

lsusb
Bus 001 Device 003 ID 148f2770 Ralink Technology, Corp. RT2770 Wireless Adapter

/etc/network/interfaces
auto wlan1
iface wlan1 inet static
wireless-mode master
wireless-essid "UbuntuRouter"
wireless-channel 11
#wireless-key <key goes here>
address 10.0.0.1
network 10.0.0.0
netmask 255.255.255.0
broadcast 10.0.0.255

sudo iwconfig
wlan1 IEEE 802.11bgn ESSID""UbuntuRouter""
ModeManaged Frequency2.462 GHz Access Point Not-Associated
Tx-Power=20 dBm
Retry long limit7 RTS throff Fragment throff
Encryption keyoff
Power Managementon

sudo ifconfig
wlan1 Link encapEthernet HWaddr 00026f54e447
inet addr10.0.0.1 Bcast10.0.0.255 Mask255.255.255.0
UP BROADCAST MULTICAST MTU1500 Metric1
RX packets0 errors0 dropped0 overruns0 frame0
TX packets0 errors0 dropped0 overruns0 carrier0
collisions0 txqueuelen1000
RX bytes0 (0.0 B) TX bytes0 (0.0 B)

sudo ip link set dev wlan1 && sudo iwconfig wlan1 mode master
Error for wireless request "Set Mode" (8B06)
SET failed on device wlan1 ; Invalid argument.

Thank you for all your help.