A
A
Alexander2021-08-26 21:44:17
linux
Alexander, 2021-08-26 21:44:17

How to fix "modprobe: FATAL: Module p80211 not found" Ubuntu Server?

Today, when restarting the home server (Ubuntu Server 20.04), I noticed that it takes a long time to reboot. I switched to it (on the second video input of the monitor), and it hangs for a long time on raising the network (wlan0).
A Chinese wi-fi usb whistle is plugged into it, configured as an access point to distribute the Internet over the air.
I looked in the logs and there is this:

syslog

Aug 26 20:16:18 HOME-SERVER systemd[1]: Started ifup for wlan0.
Aug 26 20:16:18 HOME-SERVER sh[1118]: modprobe: FATAL: Module p80211 not found in directory /lib/modules/5.4.0-81-generic
Aug 26 20:16:18 HOME-SERVER sh[1116]: Failed to load p80211.ko.
Aug 26 20:16:18 HOME-SERVER systemd[1]: Stopping ifup for wlan0...
Aug 26 20:16:18 HOME-SERVER ifdown[1139]: ifdown: waiting for lock on /run/network/ifstate.wlan0
Aug 26 20:16:18 HOME-SERVER systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
Aug 26 20:16:18 HOME-SERVER systemd[1]: Found device RT5370 Wireless Adapter.
Aug 26 20:16:19 HOME-SERVER ifdown[1248]: cat: /sys/module/p80211/parameters/wlan_wext_write: No such file or directory
-----
Aug 26 20:16:20 HOME-SERVER systemd[1]: [email protected]: Failed with result 'exit-code'.
Aug 26 20:16:20 HOME-SERVER systemd[1]: Started ifup for wlan0.
Aug 26 20:16:20 HOME-SERVER systemd[1]: Stopping ifup for wlan0...
Aug 26 20:16:20 HOME-SERVER ifdown[1410]: ifdown: waiting for lock on /run/network/ifstate.wlan0
Aug 26 20:16:20 HOME-SERVER sh[1060]: Waiting for DAD... Done
Aug 26 20:16:20 HOME-SERVER sh[1424]: modprobe: FATAL: Module p80211 not found in directory /lib/modules/5.4.0-81-generic
Aug 26 20:16:20 HOME-SERVER sh[1419]: Failed to load p80211.ko.

and some lines are repeated multiple times.

Ultimately, after downloading, WiFi is successfully distributed.
According to the logs, it appeared a week ago (during this time it rebooted several times).
Judging by the time, this is after updating the packages, because. nothing else has been done on it since the initial setup (more than six months ago). It is very likely that at that time the kernel was upgraded from 5.4.0-80 to 5.4.0-81.

Can you tell me how this can be fixed?
I googled for "modprobe: FATAL: Module p80211 not found in directory", but did not find anything intelligible.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question