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?

  • Welcome, Try unix.stackexchange.com/a/626452/153195, if you found it useful, I will answer your question.
    – GAD3R
    Commented Dec 29, 2020 at 13:10
  • There 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?
    – mnmbs
    Commented Dec 29, 2020 at 13:26
  • For example on Amazon.
    – GAD3R
    Commented Dec 29, 2020 at 13:38
  • It's unavailable. Anything available? Maybe a pci-e?
    – mnmbs
    Commented Dec 29, 2020 at 15:45

1 Answer 1


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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .