Date: Tue, 18 Aug 2015 16:58:58 +0800 From: Kevin Lo <kevlo@FreeBSD.org> To: Anton Shterenlikht <mexas@bris.ac.uk> Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org, Gleb Smirnoff <glebius@FreeBSD.org> Subject: Re: urtwn: ioctl[SIOCS80211, op=16, arg_len=0]: Invalid argument Message-ID: <20150818085858.GA90949@ns.kevlo.org> In-Reply-To: <20150818083248.GA75813@FreeBSD.org> References: <201508180827.t7I8R9Nm018227@mech-as222.men.bris.ac.uk> <20150818083248.GA75813@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 18, 2015 at 11:32:48AM +0300, Gleb Smirnoff wrote: > > On Tue, Aug 18, 2015 at 09:27:09AM +0100, Anton Shterenlikht wrote: > A> I'm trying to setup Asus USB-N10 nano wireless > A> adapter. I get: > A> > A> urtwn0: <vendor 0x0b05 product 0x17ba, > A> class 0/0, rev 2.00/2.00, addr 1> on usbus0 > A> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R > A> > A> urtwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290 > A> ether 1c:87:2c:c7:c2:6e > A> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> > A> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > A> status: no carrier > A> > A> # wpa_supplicant -i urtwn0 -c /etc/wpa_supplicant.conf > A> Successfully initialized wpa_supplicant > A> ioctl[SIOCS80211, op=16, arg_len=0]: Invalid argument > A> urtwn0: Failed to initialize driver interface > A> ELOOP: remaining socket: sock=4 eloop_data=0x801c11600 > A> user_data=0x801c2c100 handler=0x422dd0 > A> > A> # cat /boot/loader.conf > A> kern.vty=vt > A> linux_load="YES" > A> #cuse4bsd_load="YES" > A> if_urtwn_load="YES" > A> legal.realtek.license_ack=1 > A> > A> # uname -a > A> FreeBSD rat 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r286741: > A> Thu Aug 13 22:13:28 BST 2015 > A> root@rat:/usr/obj/usr/src/sys/GENERIC amd64 > > You need to create a wlan(4) interface and run wpa_supplicant on it. > > https://www.freebsd.org/doc/en/books/handbook/network-wireless.html You also have to run kldload urtwn-rtl8192cfwT or add this to /boot/loader.conf: urtwn-rtl8192cfwT_load="YES" The latter will require a reboot to take effect. > -- > Totus tuus, Glebius. Kevin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150818085858.GA90949>