Ubuntu 20.04 lts wifi-hotspot not working
Check if your wifi card support the AP mode:
sudo iw list |grep -i "Supported interface modes:" -A10
It should print:
...
* AP
...
See: Wi-Fi device must support AP mode
Use the create_ap
tools to create an AP (See: linux-wifi-hotspot):
git clone https://github.com/oblique/create_ap
cd create_ap
sudo make install
Then use Internet sharing from the same WiFi interface:
create_ap wlan0 wlan0 MyAccessPoint MyPassPhrase
or if you need the Ethernet connection through your Wifi interface:
create_ap wlan0 eth0 MyAccessPoint MyPassPhrase
Related videos on Youtube
mnmbs
Updated on September 18, 2022Comments
-
mnmbs almost 2 years
I have a TP-Link T6e card on my computer and it works fine after installing the drivers from the additional driver tabs found in ubuntu software and updates , meaning that I can connect to a wifi. But, when I try to make a hotspot using the option found in ubuntu wifi settings it does not work. What it does is that it creates an ad-hoc connection instead of a hotspot one. I tried editing it using :
sudo gedit /etc/NetworkManager/system-connections/wifi-connection
but if I close and reopen the hotspot it makes it ad-hoc again.
Any suggestions on how to solve this frustrating issue?
Thank you in advance
-
GAD3R over 3 yearsWelcome, Try unix.stackexchange.com/a/626452/153195, if you found it useful, I will answer your question.
-
mnmbs over 3 yearsThere is no AP in supported interfaces. I think I got tricked by the seller. Anyway, do you know a fairly cheap (under 50$) network card that supports both AP and Ubuntu?
-
GAD3R over 3 yearsFor example on Amazon.
-
mnmbs over 3 yearsIt's unavailable. Anything available? Maybe a pci-e?
-