I am trying to get a wifi adapter to work on NetBSD 9.0 ARMv7 on a raspberry pi.
I am using an EdiMax EW-7811Un (which `$ man urtwn' says is supported, and it also works just fine on OpenBSD).
When I plug it in I get this:
Code:
# dmesg
[ 100181.265897] urtwn0 at uhub1 port 3
[ 100181.265897] urtwn0: Realtek (0x7392) 802.11n WLAN Adapter (0x7811), rev 2.00/2.00, addr 5
[ 100181.345909] urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 74:da:38:f1:9e:16
[ 100181.365908] urtwn0: 1 rx pipe, 2 tx pipes
[ 100181.365908] urtwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 100181.365908] urtwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
Code:
# ifconfig
urtwn0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ssid ""
powersave off
address: 74:da:38:f1:9e:16
media: IEEE802.11 autoselect (DS1)
status: no network
On OpenBSD, I typically just (update firmware since urtwn is not supported by default with `# fw_update) make a file called /etc/hostname.urtwn0
with
Code:
nwid <my network>
wpakey <password>
dhcp
to get the network name I can run `# ifconfig urtwn0 scan'
but this is not the same on NetBSD.
I have tried reading both `man urtwn' and `man ifconfig.if', but I don't think I understood what they wanted.
I tried making a /etc/ifconfig.urtwn0 file with
Code:
nwkey <password>
dhcp
and then running
Code:
# ifconfig urtwn0 nwid <my network>
but the terminal just hangs and ctrl-c or ctrl-z wont even let me exit out of it. I have to yank the actual wifi adapter out, and it feels really hot.
Does anyone have experience with this?
Edit:
I'm not sure if this has done anything, but I had some luck with
Code:
# ifconfig urtwn0 ssid my_network nwkey my_password
But the network is still not active
Code:
# ifconfig urtwn0
urtwn0: flags=0x8803<UP,BROADCAST,SIMPLEX,MULTICAST> mtu 1500
ssid my_network nwkey my_password
powersave off
address: 74:da:38:f1:9e:16
media: IEEE802.11 autoselect
status: no network
And I have a new message when I check `dmesg'
Code:
[ 101811.686842] urtwn0: autoconfiguration error: could not load firmware page 0