![]() |
|
NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
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 with Code:
nwid <my network> wpakey <password> dhcp 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 Code:
# ifconfig urtwn0 nwid <my network> 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 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 Code:
[ 101811.686842] urtwn0: autoconfiguration error: could not load firmware page 0 Last edited by dnslc; 5th July 2020 at 06:30 PM. |
|
||||
![]()
Hi, and welcome to daemonforums!
I may be able to provide a small amount of help, but should start by saying I haven't used NetBSD in a few years. Also I don't have your exact USB wireless device (though my laptop has the PCI version of it). For ifconfig, it appears from the man page that nwkey is used to set a WEP password. I don't know if that's what you intended to use, probably not, but WEP is now deprecated for good reason. I recall having to use wpa_supplicant for WPA-type encryption on NetBSD ... I don't know if that's still a requirement or not. Given your firmware loading error message, the possible mistaken use of nwkey may not be the primary issue. Perhaps someone else more up-to-date on these things can weigh in. Oh, and I should add as general background, on NetBSD you may also want to familiarize with the wlanctl(8) tool . |
|
|||
![]() Quote:
Thanks for pointing me in the right direction. I also found this guide which seems to of worked https://wiki.netbsd.org/tutorials/ho...pa_supplicant/ |
|
|||
![]()
Thanks to that guide I have manage to get it working, but after awhile the wifi adapter just goes offline.
I get this message: Code:
armv7$ packet_write_wait: Connection to 192.168.0.117 port 22: Broken pipe I have tried Code:
$ apropos packet_write_wait | grep packet_write_wait I am going to look through some /etc/ files in the hope that setting is there somewhere, but otherwise I am not sure why this happens. |
![]() |
Tags |
armv7, netbsd, raspberry pi, urtwn |
Thread Tools | |
Display Modes | |
|
|