unable to install usb wifi adapter

Kernels & Hardware, configuring network, installing services

unable to install usb wifi adapter

Postby emiliocb4 » 2019-07-20 13:22

hello all,
i've the following distro:
Linux nas 4.19.0-0.bpo.5-amd64 #1 SMP Debian 4.19.37-4~bpo9+1 (2019-06-19) x86_64 GNU/Linux

after a long time i've finally found a working driver (at least compiling and installing)
https://github.com/minjae/rtl8821au.git

i can see the usb device:
root@nas:~/rtl8821au# lsusb
Bus 001 Device 003: ID 0bda:b812 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
but i can only see the ethernet interface
root@nas:~# lshw -C network
*-network
description: Ethernet interface
product: VT6102/VT6103 [Rhine-II]
vendor: VIA Technologies, Inc.
physical id: 12
bus info: pci@0000:00:12.0
logical name: enp0s18
version: 7c
serial: 00:19:66:99:b9:14
size: 100Mbit/s
capacity: 100Mbit/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=via-rhine driverversion=1.5.1 duplex=full ip=192.168.1.200 latency=32 link=yes maxlatency=8 mingnt=3 multicast=yes port=MII speed=100Mbit/s
resources: irq:23 ioport:c000(size=256) memory:fdfff800-fdfff8ff
any ideas?

thanks a lot
Emilio
emiliocb4
 
Posts: 4
Joined: 2019-07-20 13:19

Re: unable to install usb wifi adapter

Postby arochester » 2019-07-20 16:52

Have you changed the sources.list to add contrib and non-free?

https://www.linux.com/answers/how-do-i- ... ee-my-wifi
arochester
 
Posts: 1523
Joined: 2010-12-07 19:55

Re: unable to install usb wifi adapter

Postby sunrat » 2019-07-20 23:56

emiliocb4 wrote:after a long time i've finally found a working driver (at least compiling and installing)
https://github.com/minjae/rtl8821au.git


I think that is the wrong driver for your device. Try this one - https://github.com/jeremyb31/rtl8822bu
And you may also need to install the package firmware-realtek from non-free repo.

Found on https://forum.peppermintos.com/index.php?topic=6813.0 using search term debian 0bda:b812
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2796
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: unable to install usb wifi adapter

Postby emiliocb4 » 2019-07-24 16:48

sunrat wrote:
emiliocb4 wrote:after a long time i've finally found a working driver (at least compiling and installing)
https://github.com/minjae/rtl8821au.git


I think that is the wrong driver for your device. Try this one - https://github.com/jeremyb31/rtl8822bu
And you may also need to install the package firmware-realtek from non-free repo.

Found on https://forum.peppermintos.com/index.php?topic=6813.0 using search term debian 0bda:b812


thank you. using the package linked by you i was able to install correctly the driver.
i've already installed the firmware-realtek packge.

now i correctly see the device:
root@nas:~# lshw -C network
*-network
description: Ethernet interface
product: VT6102/VT6103 [Rhine-II]
vendor: VIA Technologies, Inc.
physical id: 12
bus info: pci@0000:00:12.0
logical name: enp0s18
version: 7c
serial: 00:19:66:99:b9:14
size: 100Mbit/s
capacity: 100Mbit/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=via-rhine driverversion=1.5.1 duplex=full ip=192.168.1.200 latency=32 link=yes maxlatency=8 mingnt=3 multicast=yes port=MII speed=100Mbit/s
resources: irq:23 ioport:c000(size=256) memory:fdfff800-fdfff8ff
*-network DISABLED
description: Wireless interface
physical id: 1
bus info: usb@5:2
logical name: wlx1cbfce365c36
serial: 1c:bf:ce:36:5c:36
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=rtl8822bu ip=192.168.1.201 multicast=yes wireless=unassociated



but how can you see it is in DISABLE status and following the error in the systectl
root@nas:~# systemctl status networking.service
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-07-24 19:31:26 CEST; 5min ago
Docs: man:interfaces(5)
Process: 1319 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 1314 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited
, status=0/SUCCESS)
Main PID: 1319 (code=exited, status=1/FAILURE)

Jul 24 19:31:26 nas systemd[1]: Starting Raise network interfaces...
Jul 24 19:31:26 nas wpa_supplicant[1344]: Successfully initialized wpa_supplicant
Jul 24 19:31:26 nas ifup[1319]: RTNETLINK answers: File exists
Jul 24 19:31:26 nas ifup[1319]: ifup: failed to bring up wlx1cbfce365c36
Jul 24 19:31:26 nas systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Jul 24 19:31:26 nas wpa_supplicant[1345]: nl80211: deinit ifname=wlx1cbfce365c36 disabled_11b_rates=0
Jul 24 19:31:26 nas systemd[1]: Failed to start Raise network interfaces.
Jul 24 19:31:26 nas systemd[1]: networking.service: Unit entered failed state.
Jul 24 19:31:26 nas systemd[1]: networking.service: Failed with result 'exit-code'.


do u have any suggestion?

thanks so much
Emilio
emiliocb4
 
Posts: 4
Joined: 2019-07-20 13:19

Re: unable to install usb wifi adapter

Postby emiliocb4 » 2019-09-12 07:14

Up
emiliocb4
 
Posts: 4
Joined: 2019-07-20 13:19

Re: unable to install usb wifi adapter

Postby sunrat » 2019-09-12 10:30

This has got a bit beyond my pay grade so I hoped a network expert would weigh in. Couple of ideas though: what do you get with this command?
Code: Select all
su -
<enter root password>
rfkill list


Or if you have sudo set up:
Code: Select all
sudo 'rfkill list'
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2796
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: unable to install usb wifi adapter

Postby emiliocb4 » 2019-09-15 10:09

sunrat wrote:This has got a bit beyond my pay grade so I hoped a network expert would weigh in. Couple of ideas though: what do you get with this command?
Code: Select all
su -
<enter root password>
rfkill list


Or if you have sudo set up:
Code: Select all
sudo 'rfkill list'


unfortunately no block are present:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no

any other ideas?
emiliocb4
 
Posts: 4
Joined: 2019-07-20 13:19


Return to System configuration

Who is online

Users browsing this forum: No registered users and 14 guests

fashionable