Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2016 09:53:34 +0200
From:      Ralf Wenk <iz-rpi03@hs-karlsruhe.de>
To:        Thomas Laus <lausts@acm.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: 'urtwn' & 'urtwnfw' Devices Unknown in r302145
Message-ID:  <E1bHRMN-00DCMK-19@smtp.hs-karlsruhe.de>
In-Reply-To: <20160626235125.GA87206@mail.laus.org>
References:  <20160623220014.GA73746@mail.laus.org>  <E1bGNqB-0096kk-EF@smtp.hs-karlsruhe.de> <576FFBC8.21954.BF018@lausts.acm.org> <eaca152f-230c-a323-34cf-94e8e23bad86@bsd.com.br>  <20160626235125.GA87206@mail.laus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Thomas Laus wrote:
> I don't know the reason either and that is why I am asking for
> suggestions on how to identify and resolve my issues.  I captured some
> console messages that may provide additional insight.
> 
> With Belkin USB Device
> 
> Jun 26 19:09:02 fbsd11 kernel: ugen0.2: <vendor 0x0bda> at usbus0
> Jun 26 19:09:02 fbsd11 kernel: urtwn0: <vendor 0x0bda product 0x8191, class 0/0, rev 2.00/2.00, addr 1> on usbus0
> Jun 26 19:09:02 fbsd11 kernel: urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
> Jun 26 19:09:02 fbsd11 kernel: urtwn0: enabling 11n
> 
> With Edimax N150N Device
> 
> Jun 26 19:10:01 fbsd11 kernel: ugen0.2: <vendor 0x7392> at usbus0
> Jun 26 19:10:01 fbsd11 kernel: urtwn0: <vendor 0x7392 product 0x7811, class 0/0, rev 2.00/2.00, addr 2> on usbus0
> Jun 26 19:10:01 fbsd11 kernel: urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
> 
> Ifconfig messages after either urtwn insertion.
> 
> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> 	options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
> 	ether 30:5a:3a:07:fa:54
> 	inet 192.168.1.105 netmask 0xffffff00 broadcast 192.168.1.255 
> 	media: Ethernet autoselect (100baseTX <full-duplex>)
> 	status: active
> 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 
> 
> FBSD11 >ifconfig urtwn0 up
> ifconfig: interface urtwn0 does not exist
> 
> FBSD11 >uname -a
> FreeBSD fbsd11 11.0-ALPHA5 FreeBSD 11.0-ALPHA5 #0 r302200M: Sun Jun 26 10:54:44 EDT 2016 lausts@fbsd11:/usr/obj/usr/src/sys/GENERIC-NODEBUG amd64
> 
> It looks like the device gets identified, but the kernel module just
> doesn't like something with either Realtek urtwn network hardware.  I
> have a spare hard disk and will load a fresh snapshot of FreeBSD 11.0
> tomorrow and I'll report to the list if anything is different.  I
> receive the same results with either my 'amd64' and BeagleBone Black
> computers.  Both of my urtwn network interfaces are detected and
> usable on another computer that is running FreeBSD 10.3 Release-P5.

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1bHRMN-00DCMK-19>