Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

wifi on Asus laptop?

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
techsavvy
Posts: 55
Joined: 2019-07-06 20:02

wifi on Asus laptop?

#1 Post by techsavvy »

I've installed Debian 10.9 with non-free-firmware on several laptops before, Dell, HP and some unknowns. Wifi is always recognized and configured during installation, with no problems whatsoever.

A new Asus Vivobook 17 (M712UA, AMD Ryzen 5000 Series ) wifi adapter isn't recognized. Is there a solution to this wifi problem, please?

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: wifi on Asus laptop?

#2 Post by 4D696B65 »

Please post the output of

Code: Select all

lspci -knn | grep -i net

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: wifi on Asus laptop?

#3 Post by p.H »

Why use -k if you are going to filter it out with "net" ?
My usual command is

Code: Select all

lspci -nnkd ::280

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 461 times

Re: wifi on Asus laptop?

#4 Post by sunrat »

To show kernel drivers one needs 3 additional lines, so:

Code: Select all

lspci -knn | grep -i -A3 net
which returns for me:

Code: Select all

04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet [1458:e000]
        Kernel driver in use: r8169
        Kernel modules: r8169
p.H wrote: 2022-12-09 14:45 Why use -k if you are going to filter it out with "net" ?
My usual command is

Code: Select all

lspci -nnkd ::280
Returns zilch here. @p.H What does 280 represent? man says it should be device class but I can't find a reference to 280.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: wifi on Asus laptop?

#5 Post by p.H »

Because there is no wireless controller.

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: wifi on Asus laptop?

#6 Post by p.H »

sunrat wrote: 2022-12-09 20:49 What does 280 represent? man says it should be device class but I can't find a reference to 280.
200 (ethernet) and 280 are actually class+subclass.
class 2=network, subclass 0=ethernet, subclass 80=other (no specific subclass code for wireless)
See https://wiki.osdev.org/PCI#Class_Codes

techsavvy
Posts: 55
Joined: 2019-07-06 20:02

Re: wifi on Asus laptop?

#7 Post by techsavvy »

Code: Select all

lspci -knn | grep -i -A3 net
Sorry for my response delay, I thought I had my profile configured to email me your responses. Without LAN access to the Asus laptop (it doesn't have an RJ-45) I'll try to type the response to the command you suggest, but I'm not a good typist so forgive any errors, please:

Code: Select all

01:00.0 Network controller [0280] : MEDIATEK Corp. Device [14c3:7961]
        Subsystem: AzureWave Device [1a3b:4680]
02:00.0 Non-volatile memory controller [0108] : SK hynix device [1c5c:1959]
        Subsystem: SK hynix Device [1c5c:1959] 
I also used an Edimax USB adapter, and even though "lsusb" recognizes the device, the non-free-firmware OS installation doesn't.
Last edited by techsavvy on 2022-12-12 00:43, edited 1 time in total.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: wifi on Asus laptop?

#8 Post by 4D696B65 »

you will need to install firmware-misc-nonfree
https://packages.debian.org/bullseye/fi ... sc-nonfree

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 706
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 129 times
Been thanked: 60 times

Re: wifi on Asus laptop?

#9 Post by cds60601 »

4D696B65 wrote: 2022-12-12 00:38 you will need to install firmware-misc-nonfree
https://packages.debian.org/bullseye/fi ... sc-nonfree
Do as 4D696B65 mentioned (assuming you have installed 10.9) OR, grab 11.5 non-free ISO. Assuming you are still using 10.9, it wont have the drivers you are looking for. I too have a ASUS lappy and mine is fine.
Supercalifragilisticexpialidocious

techsavvy
Posts: 55
Joined: 2019-07-06 20:02

Re: wifi on Asus laptop?

#10 Post by techsavvy »

I've never before had such problems with the same Debian 10.9 firmware-non-free iso that I mentioned in my first post. On this laptop, the OS installation provides a lengthy list of ethernet adapters to choose from, instead of the usual automatic recognition, and it's unclear to me which of them to choose, as there are no MEDIATEK choices.

Debian 11 is unacceptable as it doesn't support rtsp.

Your further advice is appreciated.
Last edited by techsavvy on 2022-12-12 02:03, edited 1 time in total.

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 706
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 129 times
Been thanked: 60 times

Re: wifi on Asus laptop?

#11 Post by cds60601 »

techsavvy wrote: 2022-12-12 01:40 I've never before had such problems with the same Debian 10.9 firmware-non-free iso that I mentioned in my first post. On this laptop, the OS installation provides a lengthy list of ethernet adapters to choose from, instead of the usual automatic recognition, and it's unclear to me which of them to choose, as there are no MEDIATEK choices.

Debian 11 is unacceptable as it it doesn't support rtsp.

Your further advice is appreciated.
As I mentioned, depending on how new your ASUS is, will probably determine whether or not the driver is included in the 10.9 ISO, but 4D696B65 did mentioned that manually grabbing the non-free drivers (assumed that tarball contains all updated drivers) would be a workable process unless you have ethernet access, then I suppose simply installing the non-free misc drivers would also be workable.

Other than that, I can't be much more help than that.
Supercalifragilisticexpialidocious

techsavvy
Posts: 55
Joined: 2019-07-06 20:02

Re: wifi on Asus laptop?

#12 Post by techsavvy »

Thank you, I downloaded firmware-misc-nonfree_20210315-3_all.deb onto a ext4-formatted partition on a usb stick, and inserted that into the Asus, and mounted the correct partition. "dpkg -i firm*deb" proceeded successfully ... reboot ... "ifconfig" not found, so I don't know the wifi interface name to configure in /etc/network/interfaces.

Code: Select all

ifquery --list
lo
Further advice, please?

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: wifi on Asus laptop?

#13 Post by 4D696B65 »

Code: Select all

ip a
ifconfig is part of net-tools package

techsavvy
Posts: 55
Joined: 2019-07-06 20:02

Re: wifi on Asus laptop?

#14 Post by techsavvy »

Code: Select all

ip a
indicates only the lo loopback interface

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: wifi on Asus laptop?

#15 Post by 4D696B65 »

Try a newer kernel from backports.
I'm a bit confused. Did this mediatek work with buster and then stop or never work?

techsavvy
Posts: 55
Joined: 2019-07-06 20:02

Re: wifi on Asus laptop?

#16 Post by techsavvy »

The MEDIATEK is unique to my new Asus laptop, in my experience, and so is the lack of an RJ-45 port. It has never worked during OS installation, or after following suggestions here.

I've installed an updated kernel for Debian 10.9, which currently is at 4.19.0-22-amd64. After a reboot, still no wifi, so tomorrow I'll install the Debian 11 firmware-non-free iso and if that can enable the wifi, I'll work my way through https://forum.videolan.org/viewtopic.php?t=157795 to try and resolve the lack of rtsp with Debian 11.

peer
Posts: 443
Joined: 2017-03-26 10:14
Has thanked: 8 times
Been thanked: 20 times

Re: wifi on Asus laptop?

#17 Post by peer »

you do not have to reinstall if you have a connection to the internet
edit the file /etc/apt/sources.list
add "contrib non-free"to the lines that ends with "....main"
save and give the command "sudo apt update"
then the non-free packages are available

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: wifi on Asus laptop?

#18 Post by p.H »

AFAICS this Mediatek wireless controller is not even supported by bullseye 5.10 kernel. You need a more recent kernel such as the 6.0 from bullseye-backports.

techsavvy
Posts: 55
Joined: 2019-07-06 20:02

Re: wifi on Asus laptop?

#19 Post by techsavvy »

Well, the installation of Debian 11 on an Vivobook 17 (M712UA, AMD Ryzen 5000 Series ) has also failed to recognize

Code: Select all

01:00.0 Network controller [0280] : MEDIATEK Corp. Device [14c3:7961]
        Subsystem: AzureWave Device [1a3b:4680]
wifi, so the laptop will have the original 1TB ssd replaced and the item returned to the vendor, lesson learned. The lack of an RJ-45 has been particularly troubling.

Thank you all for your help and advice.

User avatar
cds60601
df -h | participant
df -h | participant
Posts: 706
Joined: 2017-11-25 05:58
Location: Florida
Has thanked: 129 times
Been thanked: 60 times

Re: wifi on Asus laptop?

#20 Post by cds60601 »

Just for good measures:

01:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]
Subsystem: AzureWave Device [1a3b:2950]
Kernel driver in use: rtw_8822be
Kernel modules: rtw88_8822be

And now to change gears, my VivoBook also does not have onboard RJ either however, I purchased a nice TPLink UE300C and its works perfectly since I keep my lappy as my daily drivers and its stationary. The TPLink is using the USB C port and costs like 15.00 on Amazon. There is always that if you really want Ether
Supercalifragilisticexpialidocious

Post Reply