How to install driver Intel(R) Wireless -AC9462 in Ubuntu 22.04.1 LTS

Asked by armando rubke

My Ubuntu system is running well, I can do all the tasks I need, except that I cannot connect to the internet. After several tries during weeks I was unable to make the network manager to work correctly. My thanks to everybody that helped me to understand the origin of my problem. I get in touch with AsusTech, the manufacturer of my laptop (ASUS TUF GAMING, FX505GT) and after several tests they let me know that the driver installed is suitable for Windows systems, and might got spoiled, so I have to change it for another one.

The driver I use is the original installed by AsusTech, and it Worked correctly since I installed Ubuntu. It started to fail a couple of month ago, showing some minor inconveniences that started to increase on frequency and symptoms until the actual situation on which I am totally disconnected from the internet.

I will continue to check with AsusTech, but I already saw some restrictions regarding solutions for Linux among others.

My hope is to use a driver that suits Ubuntu.

If you need more information, just ask. Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
armando rubke (armandoru) said :
#1

A lot of information about this problem can be found in Question #703821

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

The information in your other question https://answers.launchpad.net/ubuntu/+source/network-manager/+question/703821 shows, that you already have the iwlwifi driver installed.
What else do you need? I do not understand your question.

Revision history for this message
armando rubke (armandoru) said :
#3

Hi Manfred:

Yes, there is a driver installed, but is not working correctly. That is why AsusTech recommended me to change it for another. I am in a quest to look for another to replace the one I have installed. It is not easy as seems that providers are jealous about their own stuff protecting their partners, My possibilities to find one are very narrow, I have only AsusTech, Intel, and Ubuntu as trusted possible providers.

I know that with your guide we tested the software dealing with networking, and you told me once that everything was correct, but remember that was tested in a "moment" that the internet was working, and in the next moment it stopped to work, showing the anomalous behavior.

As I understand (I can be wrong) the driver is a software that deals with a hardware (physical chip), as any software it can be mess by another software and thus, miss-behave. This is one strong reason to replace the driver for a healthy one. On the other hand, if the driver is healthy, the chip is the one failing. I do not know if software can spoil chips.

I really believe that you are very knowledge on all this and you do a very good job, that I will not stop giving you thanks. The fact, as you told me one day, is that I am still disconnected,

Revision history for this message
Manfred Hampl (m-hampl) said :
#4

It AsusTech is telling that the Ubuntu-provided driver is not the right one, then they have to provide a better driver, or at least the information where to find it.

In fact there are four items involved:
1. hardware (=the chip itself, can be defective)
2. firmware (=a piece of software that is loaded at initialization of the hardware, can be missing on your system or be buggy)
3. driver (=software to use the hardware, can be buggy)
4. software configuration (=settings that influence the software, if wrong, then it will configure your software the wrong way)

There are some options that can be set for the iwlwifi driver, e.g. 11n_disable=1 swcrypto=1
Maybe that helps - but you did not ask for that in your questions yet.

What still puzzles me is your remark, that connecting the system directly to the router with a LAN cable did non enable networking. This may indicate that the root cause is not the driver for the WLAN, but something else with effect on the whole networking function of your computer.

Revision history for this message
armando rubke (armandoru) said :
#5

All right, thanks for sharing my concerns and for giving me lights I have never sought; I am just a user in trouble, there are many things I don't know or don't understand, so thank you for your patience.

In the list of items you mention, I will add my guess in the responsibilities (where I should complain):
1. Intel
2. Intel, AsusTech or both
3. Intel, AsusTech or both
4. Microsoft (The laptop, hardware and software was made to work with Windows 10/11)

More on #4: the laptop comes with Raid technology that is not recognize by Ubuntu, so that in order to install Ubuntu I had to disable the Raid and use another HD without that feature.

Now I have an additional confusion because I am sure that the laptop is using the original driver installed on the factory because that is the one that has been tested by AsusTech and the one that they recommend me to replace , you say that the iwlwifi is the driver, does it mean that I should forget the Intel driver?

AsusTech have other drivers that I was looking at, and I still can go there, but I don't want to install drivers that work with MS Windows.

Should I execute the command options you are suggesting? How? What is their purpose?
Meanwhile I will test the connection with a LAN cable in the hope of getting some results.
What puzzles me the most is the several changes on the symptoms, one day is one thing, the next day is different. Now that I am without internet, the system is totally stable and I could advance in my real work and keeping backups just in case. Of course I am unable to update anything.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

The list of potential culprits is even longer:

1. Intel (manufacturer of the chip) and Asus (for putting it into the laptop)
2. Intel (providing it) and Ubuntu (putting it into a package that it can be installed)
3. Linux and Ubuntu
4. Mainly you, if you have changed anything in the configuration files.

Can you provide the details about that intel driver that you have received from AsusTech? I assume that this is a driver that works only with Windows and that cannot be used on Linux/Ubuntu systems.

"11n_disable=1 swcrypto=1" aren't commands to execute, but are options that can be given when loading the device driver.
They have to be put into a configuration file.

echo 'options iwlwifi 11n_disable=1 swcrypto=1' | sudo tee /etc/modprobe.d/iwlwifi.conf

What this does is disabling 802.11n connections and switching from hardware cryptography to software-based cryptography. Eventually "power_save=0 " could be added as well (disable powersaving mode).

After such change you have to reboot, that the new parameters come into effect.

If this does not help at all, you can undo that change by removing the conf file
sudo rm /etc/modprobe.d/iwlwifi.conf

Revision history for this message
armando rubke (armandoru) said :
#7

I accept my responsibility for having made changes that I needed to install Ubuntu, following the demand of the installation program. I might have done something wrong. I asked for help from Asustech that I never got, and my shout for help I placed in their community was deleted.

I really don't know details about the driver, I will try to get the information for you.

This is the result of the recent test of the cable communication: first I tested the quality of the cable in another place with another computer, then I came to my laptop and plug the cable with no reaction. There was no notice in the nmtui, and the nmcli shows this, that you might already know. (I wonder what that loopback is doing there)

$ nmcli
enp2s0: unmanaged
        "Realtek RTL8111/8168/8411"
        ethernet (r8169), 04:D4:C4:E3:3C:39, hw, mtu 1500

lo: unmanaged
        "lo"
        loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

Can you please provide the output that you get for the command

sudo lshw -C network

when the network cable is plugged in.

Revision history for this message
armando rubke (armandoru) said :
#9

This is the output got with the network cable plugged in:

$ sudo lshw -C network
  *-network
       description: Network controller
       product: Cannon Lake PCH CNVi WiFi
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       version: 10
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list
       configuration: driver=iwlwifi latency=0
       resources: irq:16 memory:a43a4000-a43a7fff
  *-network DISABLED
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: enp2s0
       version: 15
       serial: 04:d4:c4:e3:3c:39
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical
       configuration: broadcast=yes driver=r8169 driverversion=5.15.0-53-generic latency=0 link=no multicast=yes
       resources: irq:16 ioport:3000(size=256) memory:a4204000-a4204fff memory:a4200000-a4203fff
--------------------------------------------
Additionally I can tell you that I was about to do the command you suggested before so I went to check the directory where I should do the iwlwifi.conf, the one that I should eventually remove in case it doesn't work, with the command sudo rm /etc/modprobe.d/iwlwifi.conf. To my surprise there it was already that file and i prefer that you judge its content before doing anything else:

# /etc/modprobe.d/iwlwifi.conf
# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
# microcode file installed on the system. When removing iwlwifi, first
# remove the iwl?vm module and then iwlwifi.
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211

That is it, the lines might be broken due to the copy-paste.
-------------------------------------

Asustech don't have anymore the Intel driver I am using. they made an update in October-4-2022 (that I missed because I wasn't in Windows) and they have now other driver that I already downloaded it, but I cannot install it unless I go back to Windows.
And confirmed that only have drivers for Windows 10/11.
--------------------------------------

Intel discontinued the Legacy Intel Wireless Adapters.
list of items that the Intel® DSA does not currently offer

Intel server drivers
Linux* drivers
Chipset drivers
Ethernet drivers (only offered for Intel® NUCs and Intel® Compute Sticks)
Intel® Desktop Board drivers
Intel® Graphics Media Accelerator 500 drivers
-----------------------------------------------------------------

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

The idea to look whether a iwlwifi.conf file already exists was clever.
In fact it is even shown in the output of the wireless troubleshooting procedure, but unfortunately you have started a second question, such that this information was not carried forward to the current question document.

In this case the command to execute is slightly different:

echo 'options iwlwifi 11n_disable=1 swcrypto=1' | sudo tee -a /etc/modprobe.d/iwlwifi.conf

In case that you later want to undo this change, you have to edit the /etc/modprobe.d/iwlwifi.conf file and remove or comment out the last line.

Revision history for this message
armando rubke (armandoru) said :
#11

The most difficult thing for me is to find the proper question to ask. I only want to have my access to internet back in my laptop. My previous question an this one, had the intention to test the validity of a way that I thought may be a solution.
Since this are not the proper questions, should I close this one and open a new one? which should be the correct question to ask?

Anyway, I appreciate your help and recognize your wisdom, so I am going to do the test you suggested and hope for the best.

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

Closing this question and creating a new one would lead to the situation that the information about your system and your problem is even spread among three question documents.

In case that you feel that the question title is inappropriate, you can change it (by pressing the yellow pencil icon in the header of your question document on launchpad).

Revision history for this message
armando rubke (armandoru) said (last edit ):
#13

All right. I added the line you suggested to the .conf file, I have not remove the line yet.

The effect has been null, nothing has change in the behavior of the connections.

If there is nothing else to do, I will follow this steps, unless you recommended me otherwise:
1. I will return to Windows and update the driver for windows,
2. If after doing that I can connect to internet, I will return to Ubuntu and check the connection.
    Whatever the result I will come to tell you.
3. If else, I will send my laptop to the USA to make it check and repair.
    This means that I will need to:
           Ask AsusTech for an estimate of the cost of revision and repair.
           Set the laptop as I got it: only Windows, taking out of it the HD where I installed Ubuntu.
           Wait until I gather the necessary funds.
           Find the means to send it to a friend in the USA who helped me to get it before and who could attend the interaction with Asustech.
4. Wait until I get back my laptop.

This complete process may take a lot of time, but nevertheless, I will continue to report you any progress related to the connection problem in this same opened question.

I am going to start whenever you think is the right time, meaning there is no other way to solve the problem.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#14

Before you return the device to the manufacturer, I suggest that you re-try the Ubuntu installation.

Revision history for this message
armando rubke (armandoru) said :
#15

All right, I will keep that in mind, thank you.

Revision history for this message
armando rubke (armandoru) said :
#16

Update

1 From MS-Windows I installed the newest network drive and still came with the error code 10 and no WiFi available.

2 I decided not to reinstall Ubuntu at this time, because it seems to me that the hardware is really faulty and I don't blame the previous installation of Ubuntu for that. On the other hand, I still do my works in Ubuntu with no other problem than the lack of updates.

3 Waiting to continue with the next steps after the festivities, by the way, have a merry Christmas and a happy new year.

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

"... with no other problem than the lack of updates."

Is it only the update process that fails, or all internet access?

Revision history for this message
armando rubke (armandoru) said :
#18

All internet access... the updates is what I am missing the most.

Revision history for this message
Manfred Hampl (m-hampl) said :
#19

Quote: "From MS-Windows I installed the newest network drive"

How do you install the Windows driver on Ubuntu? That's hardly possible.

Revision history for this message
armando rubke (armandoru) said :
#20

c'mon...I took the HD with Ubuntu out and plugged the SSD with windows, did the update of the driver, checked if it was working, unplug the SSD and re-plug the HD with Ubuntu. Easy.

Revision history for this message
Manfred Hampl (m-hampl) said :
#21

That does not help Ubuntu at all.
You now have an updated Windows driver on the Windows hard disk.
This did not change anything on the Ubuntu hard disk.

What is now the status of your system?
As far as I can remember in https://answers.launchpad.net/ubuntu/+source/network-manager/+question/703821 there was a moment when internet access was working (although not fully stable).

Have you now lost all internet access from Ubuntu again or is it still (partly) working?
If it does not work any more - can you remember what you have changed in your Ubuntu installation before it stopped working?

Revision history for this message
armando rubke (armandoru) said :
#22

I think I have not explain myself good enough, here is the thing:

1 Yes, I updated the driver in Windows, but that did not solve the problem... meaning I don't have internet in Windows and don't have it in Ubuntu, as well.

2 My conclusion is that there is a hardware problem that no software can fix.

3 As I told you in previous comment, I will proceed with the hardware repair before making any changes in software.

4 Meanwhile I continue to work (that I cannot stop) in Ubuntu in spite of the lacking of internet.

5 Next year, soon to arrive, I will manage to send the laptop to the corresponding repair service (Asustec)

6 My access to internet is limited to my friend's computer, and data transported in pen-drive to Ubuntu.

Any further clarification needed, just ask.

About unknown facts that still bother me is that I have being using internet with 5G instead of the common 2G, and maybe (only maybe) is something to take into consideration. I am about to ask my internet provider to downgrade the speed of the internet that they are supplying me. I heard from local people and also around the internet that 5G might not be working as good as expected.

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

If network connections are not working - neither in Ubuntu nor in Windows - then this indeed points towards a problem that is not related to Ubuntu at all.

Have you tried connecting your laptop elsewhere (e.g. public WLAN in a restaurant) - just to rule out that you have a problem with your local router?

Revision history for this message
armando rubke (armandoru) said (last edit ):
#24

Solved de Internet access problem in my Laptop.
Here is how:

1.- Because ASUS TUF GAMING FX505GT_A was built to work with MS Windows there are chips in the motherboard that ensures that is happening. Then…
 a) Unplugged the SSD disk containing MS Windows and didn’t plug it back again. And
 b) Disabled SECURE BOOT from BIOS.
2.- Unplugged the network card Intel® 9462 NGW that is installed near one of the fans and very near the USB ports. Cleaned it, making sure that was free of moist or dust, and plugged it again.
3.- Reinstalled UBUNTU, after backing up most of my data in external disks. This was suggested by Manfred Hampl after noticing an unusual behavior that even the Ethernet connection was disabled, suspecting that something wrong was in the Ubuntu installed.

(The WiFi was available for the Installation disk, so more precautions I made to make sure that the networking does not stop again):

4.- Connected to 2G from the provider, ignoring the 5G technology since it might be one of the causes of the problem.
5.- Connected to ProtonVPN as before, but this time making sure that the kill switch remains disable. This feature, common in many VPN services, blocks all the communications of a computer for security reasons when some of the VPN stations stop working, unfortunately there is no message to the user when this happens. Also might be the cause of the problem.
6.- Turned off Bluetooth and kept it off.

(Final thoughts).
I hope this experience serves to help users having symptoms alike.

Revision history for this message
armando rubke (armandoru) said :
#25

Thanks Manfred Hampl, that solved my question.