Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2016 14:41:26 -0400
From:      "Thomas Laus" <lausts@acm.org>
To:        Ralf Wenk <iz-rpi03@hs-karlsruhe.de>, freebsd-arm@freebsd.org
Subject:   Re: 'urtwn' & 'urtwnfw' Devices Unknown in r302145
Message-ID:  <57717356.10469.8E732@lausts.acm.org>
In-Reply-To: <E1bHRMN-00DCMK-19@smtp.hs-karlsruhe.de>
References:  <20160623220014.GA73746@mail.laus.org>, <20160626235125.GA87206@mail.laus.org>, <E1bHRMN-00DCMK-19@smtp.hs-karlsruhe.de>

next in thread | previous in thread | raw e-mail | index | archive | help
> In CURRENT the WLAN hardware is not presented as a device any more.
> So it will not show up in an "ifconfig -a" command.
> 
> # fgrep urtwn /var/run/dmesg.boot
> urtwn0: <Realtek 802.11n NIC, class 0/0, rev 2.00/0.00, addr 4> on usbus0
> urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R urtwn0: enabling 11n # sysctl -d
> net.wlan.devices net.wlan.devices: names of available 802.11 devices # sysctl
> net.wlan.devices net.wlan.devices: urtwn0 # egrep 'urtwn|wlan' /etc/rc.conf
> wlans_urtwn0="wlan0" # wlan(4) interfaces for urtwn0 device
> ifconfig_wlan0="WPA DHCP country Germany" # see also rc.conf(5), ifconfig(8) #
> ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
> metric 0 mtu 1500
>         ether 30:12:34:56:78:90
>         inet 193.196.116.2 netmask 0xff000000 broadcast 255.255.255.255
>         groups: wlan
>         ssid eduroam channel 1 (2412 MHz 11g ht/20) bssid 02:a0:57:17:10:64
>         regdomain ETSI country DE authmode WPA2/802.11i privacy ON deftxkey
>         UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS ht20 -ampdutx
>         ampdurx ampdulimit 32k ampdudensity 4 -stbc wme roaming MANUAL media:
>         IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated nd6
>         options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>
Ralf:

That was the key to making my 'urtwn' network device operate:

re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 
1500options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,
LINKSTATE>
	ether 30:5a:3a:07:fa:54
	media: Ethernet autoselect (none)
	status: no carrier
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
	inet 127.0.0.1 netmask 0xff000000 
	groups: lo 
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether ec:1a:59:10:08:32
	inet 192.168.1.121 netmask 0xffffff00 broadcast 192.168.1.255 
	media: IEEE 802.11 Wireless Ethernet MCS mode 11ng
	status: associated
	ssid Laus channel 6 (2437 MHz 11g ht/20) bssid 00:14:d1:ae:aa:34
	regdomain FCC country US authmode WPA2/802.11i privacy ON
	deftxkey UNDEF TKIP 2:128-bit txpower 30 bmiss 7 scanvalid 60
	protmode CTS ht20 -ampdutx ampdurx ampdulimit 64k ampdudensity 4 -stbc
	wme roaming MANUAL
	groups: wlan 
 
I looked through /usr/src/UPDATING and all of the man pages for FreeBSD 11 
and could not find the changes in how WLAN works different from the previous 
FreeBSD releases.  Either you have special insight or have extra sensory 
perception.

Thanks

Tom


-- 
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF




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