Friday, 11 May 2018

wireless networking - NetBSD and TP-Link TL-WN727N (Atheros AR9271 or Ralink RT5370)


Where can I find and install an AR9271 driver for the latest NetBSD? The target machine does not have Internet access and I need to setup the WiFi dongle first.


I only found this: https://www.daemon-systems.org/man/athn.4.html


UPDATE: wpa_supplicant was already written, but I didn't see my device.


When I plug in the dongle it's shown as:


ugen0 at uhub4 port 8 
ugen0: Mediatek 802.11 n WLAN, rev 2.01/00, addr 2

ifconfig shows only re0 and lo0 interfaces.


UPDATE: I saw on some Linux forums that the dongle uses an Atheros chip, but I checked in Windows and see Ralink. The ral driver is also integrated in NetBSD, but the situation doesn't change - I see no ra~ device in dmesg.boot.



Answer



I just investigated this, and from what I can gather athk has only recently been added, to NetBSD 7 also called NetBSD Current (and not NetBSD 6 which I'm assuming is what you're running?), which was the development version of NetBSD until today more or less, where it was released, though it hasn't been announced yet.


In 7 it should be part of the generic kernel, so you shouldn't need to load the driver manually or anything. So I guess I'd suggest either upgrading to fx. 7 RC3 or reinstalling 7 RC3 from scratch now, or maybe wait a few days for it to be publically released and an ISO for that becomes available. Then, hopefully, it would just work automatically.
If you wish, you can get NetBSD 7 RC3 here.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...