urtwn0 - driver didn't set altq_maxlen

Ron Georgia netverbs at gmail.com
Mon Apr 20 12:56:01 PDT 2020


Peeter,

thank you so much for your response. I added (and updated) my rc.conf 
file as you prescribed and my USB wifi works. I still see the "wlan0: 
driver didn't set altq_maxlen", but as long as it doesn't interfere I'll 
dig into that later.

On 4/19/20 8:01 AM, karu.pruun wrote:
> Just for completeness, this is all I have in /etc/rc.conf for wifi:
>
> ---
> # dhcpcd
> dhcpcd_enable="YES"
>
> # realtek usb wifi
> if_urtwn_load="YES"
>
> # wpa_supplicant
> wpa_supplicant_program="/usr/local/sbin/wpa_supplicant"
>
> # wlan
> wlans_urtwn0="wlan0"
> ifconfig_wlan0="WPA"
> ---
>
> Peeter
>
> --
>
>
> On Sun, Apr 19, 2020 at 2:58 PM karu.pruun <karu.pruun at gmail.com> wrote:
>> Hello
>>
>> I have the same usb wifi stick, and I see the same error, but that
>> does not prevent it from working. Can you check that the rest of the
>> setup in /etc/rc.conf is fine? I have
>>
>> dhcpcd_enable="YES"
>>
>> and the rest is the urtwn, wlans and wpa_supplicant as in the
>> handbook. Check that the wpa_supplicant connects. Check that the
>> dhcpcd is running; or restart it to be sure.
>>
>> Cheers
>>
>> Peeter
>>
>> --
>>
>>
>> On Mon, Apr 13, 2020 at 11:35 PM Ron Georgia <netverbs at gmail.com> wrote:
>>> All,
>>>
>>> I have a USB Wifi adapter (MAC/BB RTL8188CUS, RF 6052 1T1R) that is
>>> having problems initializing. I did do some poking around and updated
>>> loader.conf (see below) but that does not seem to help. When I do and
>>> ifconfig wlan0 I see the SSID, but not IPv4, instead I see a "driver
>>> didn't set altq_maxlen" error. This is not a new USB adapter, maybe 3 or
>>> 4 years old. I am able to scan the networks with ifconfig wlan0 scan,
>>> but I cannot connect to my home network (yes, the password is correct.)
>>> Not sure what might be needed. I can post my full dmesg in paste bin if
>>> that helps.
>>>
>>> Some Info:
>>>
>>> % ifconfig | grep -B3 -i wireless
>>>       country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
>>>       AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 60 protmode CTS wme
>>>       roaming MANUAL
>>>       media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
>>>
>>> % sysctl net.wlan.devices
>>> net.wlan.devices: urtwn0
>>>
>>> filtered dmesg:
>>>
>>> ess: 74:da:38:41:1c:68
>>> rgeorgia at mini01% dmesg | grep urtw
>>> urtwn0: <vendor 0x7392 product 0x7811, class 0/0, rev 2.00/2.00, addr 4>
>>> on usbus0
>>> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
>>> urtwn0: enabling 11n
>>> urtwn-rtl8192cfwT: You need to read the LICENSE file in
>>> /usr/share/doc/legal/realtek/.
>>> urtwn-rtl8192cfwT: If you agree with the license, set
>>> legal.realtek.license_ack=1 in /boot/loader.conf.
>>> module_register_init: MOD_LOAD (urtwn_rtl8192cfwT_fw, ffffffff82b73fa0,
>>> 0) error 1
>>> urtwn-rtl8192cfwT: firmware image loaded, but did not register
>>> urtwn0: failed loadfirmware of file urtwn-rtl8192cfwT
>>> urtwn-rtl8192cfwT: could not load firmware image, error 17
>>> urtwn0: failed loadfirmware of file urtwn-rtl8192cfwT
>>> urtwn-rtl8192cfwT: could not load firmware image, error 17
>>> urtwn0: failed loadfirmware of file urtwn-rtl8192cfwT
>>> urtwn-rtl8192cfwT: could not load firmware image, error 17
>>> urtwn0: failed loadfirmware of file urtwn-rtl8192cfwT
>>> urtwn0: at uhub0, port 2, addr 4 (disconnected)
>>> urtwn0: detached
>>> urtwn0: <vendor 0x7392 product 0x7811, class 0/0, rev 2.00/2.00, addr 1>
>>> on usbus0
>>> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
>>> urtwn0: enabling 11n
>>> urtwn0: at uhub0, port 2, addr 1 (disconnected)
>>> urtwn0: detached
>>> urtwn0: <vendor 0x7392 product 0x7811, class 0/0, rev 2.00/2.00, addr 7>
>>> on usbus0
>>> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
>>> urtwn0: enabling 11n
>>> urtwn1: <vendor 0x0bda product 0x8176, class 0/0, rev 2.00/2.00, addr 8>
>>> on usbus0
>>> urtwn1: MAC/BB RTL8188CUS, RF 6052 1T1R
>>> urtwn1: enabling 11n
>>> urtwn1: at uhub0, port 1, addr 8 (disconnected)
>>> urtwn1: detached
>>> urtwn1: <vendor 0x0bda product 0x8176, class 0/0, rev 2.00/2.00, addr 9>
>>> on usbus0
>>> urtwn1: MAC/BB RTL8188CUS, RF 6052 1T1R
>>> urtwn1: enabling 11n
>>> urtwn0: at uhub1, port 3, addr 7 (disconnected)
>>> urtwn0: detached
>>> urtwn1: at uhub0, port 2, addr 9 (disconnected)
>>> urtwn1: detached
>>> urtwn0: <vendor 0x0bda product 0x8176, class 0/0, rev 2.00/2.00, addr
>>> 10> on usbus0
>>> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
>>> urtwn0: enabling 11n
>>> urtwn0: at uhub1, port 3, addr 10 (disconnected)
>>> urtwn0: detached
>>> urtwn0: <vendor 0x7392 product 0x7811, class 0/0, rev 2.00/2.00, addr
>>> 11> on usbus0
>>> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
>>> urtwn0: enabling 11n
>>> urtwn0: at uhub1, port 3, addr 11 (disconnected)
>>> urtwn0: detached
>>> urtwn0: <vendor 0x7392 product 0x7811, class 0/0, rev 2.00/2.00, addr 2>
>>> on usbus0
>>> urtwn0: MAC/BB
>>> urtwn0: enabling 11n
>>> urtwn0: at uhub1, port 3, addr 2 (disconnected)
>>> urtwn0: detached
>>> urtwn0: <vendor 0x7392 product 0x7811, class 0/0, rev 2.00/2.00, addr 5>
>>> on usbus0
>>> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
>>> urtwn0: enabling 11n
>>> urtwn0: at uhub0, port 2, addr 5 (disconnected)
>>> urtwn0: detached
>>> urtwn0: <vendor 0x7392 product 0x7811, class 0/0, rev 2.00/2.00, addr 1>
>>> on usbus0
>>> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
>>> urtwn0: enabling 11n
>>> urtwn0: at uhub0, port 2, addr 1 (disconnected)
>>> urtwn0: detached
>>> urtwn0: <vendor 0x7392 product 0x7811, class 0/0, rev 2.00/2.00, addr 1>
>>> on usbus0
>>> urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
>>> urtwn0: enabling 11n
>>>
>>> /boot/loader.conf
>>>
>>> vfs.root.mountfrom="hammer2:serno/50026B726B053990.s1d"
>>> legal.realtek.license_ack=1
>>> if_urtwn_load="YES"
>>> urtwn-rtl8192cfwT_load="YES"
>>> urtwn-rtl8192cfwU_load="YES"
>>> urtwn-rtl8188eufw_load="YES"
>>>
>>> --
>>> “90% of my problems are due to ignorance, the other 10% is because I just don’t know any better.”
>>>
-- 
“90% of my problems are due to ignorance, the other 10% is because I just don’t know any better.”



More information about the Users mailing list