I have a no-name wireless USB adapter which lsusb identifies as:
Bus 001 Device 003: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Wireless works with the kmod-rt2800usb, -rt2800lib, -rt2x00usb, -rt2x00lib packages installed, this on trunk r23870.
However, it won't stay up. When I issue 'wifi up', the link comes up:
# iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:"my_ssid"
Mode:Managed Frequency:2.452 GHz Access Point: <edited out>
Bit Rate=1 Mb/s Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=39/70 Signal level=-71 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:1 Missed beacon:0
with fairly good signal. But then after a few minutes it goes down again.
Here's /etc/config/wireless:
config wifi-device radio0
option type mac80211
option channel 11
option macaddr <edited out>
option hwmode 11ng
option htmode HT20
list ht_capab GF
list ht_capab SHORT-GI-20
list ht_capab SHORT-GI-40
list ht_capab RX-STBC1
config wifi-iface
option device radio0
option network wan
option mode sta
option ssid my_ssid
option encryption psk2
option 'key' 'my key'
Any ideas on what is happening here?