Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2015 23:05:21 +0100
From:      Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>
To:        freebsd-usb@FreeBSD.org
Cc:        freebsd-wireless@freebsd.org
Subject:   Zyxel NWD2105 support not complete in FreeBSD 10.2-stable
Message-ID:  <20151213230521.1b5989084c95173f73343000@getmail.no>

next in thread | raw e-mail | index | archive | help
Hello,
Today I added a Zyxel NWD2015[1] usb network adapter to a laptop running latest FreeBSD 10.2-stable:
root@kg-z30b# uname -a
FreeBSD kg-z30b.kg4.no 10.2-STABLE FreeBSD 10.2-STABLE #0 r292123: Sat Dec 12 00:58:41 CET 2015
     root@kg-z30b.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
As support for this was added by a patch from bug 188046[2] back in 2014, I was a bit surprised to see that if_run loaded, but the 
adapter wasn't detected.
I turns out that only half the patch from the bug is in stable/10:
root@kg-z30b# grep NWD2105 /usr/src/sys/dev/usb/usbdevs
product ZYXEL RT3070        0x341e    NWD2105
but the second half is missing:
root@kg-z30b# grep ZYXEL /usr/src/sys/dev/usb/wlan/if_run.c
    RUN_DEV(ZYXEL,        RT2870_1),
    RUN_DEV(ZYXEL,        RT2870_2),
    RUN_DEV_EJECT(ZYXEL,    NWD2705),

adding the missing part and recompiling if_run module and the NWD2105 works. From /var/log/messages:
Dec 13 22:36:53 kg-z30b kernel: run0: <1.0> on usbus0
Dec 13 22:36:53 kg-z30b kernel: run0: MAC/BBP RT3070 (rev 0x0201), RF RT3020 (MIMO 1T1R), address b0:b2:dc:60:38:9f
Dec 13 22:36:53 kg-z30b devd: Executing '/etc/pccard_ether run0 start'

Dec 13 22:36:54 kg-z30b kernel: run0: firmware RT2870 ver. 0.33 loaded

ifconfig output:
root@kg-z30b# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether b0:b2:dc:60:38:9f
	inet 10.1.150.55 netmask 0xffff0000 broadcast 10.1.255.255 
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: IEEE 802.11 Wireless Ethernet DS/2Mbps mode 11g
	status: associated
	ssid kg5 channel 7 (2442 MHz 11g) bssid e0:cb:4e:86:81:0b
	country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
	TKIP 2:128-bit txpower 0 bmiss 7 scanvalid 60 protmode CTS wme
	roaming MANUAL



References:
1) https://www.zyxel.com/us/en/support/DownloadLandingSR.shtml?c=us&l=en&kbid=MD10043&md=NWD2105
2) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188046
HTH
-- 
Torfinn Ingolfsen <torfinn.ingolfsen@getmail.no>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151213230521.1b5989084c95173f73343000>