Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
21
rated 0 times [  21] [ 0]  / answers: 1 / hits: 42749  / 2 Years ago, wed, march 23, 2022, 10:09:09

I was trying to create an WiFi hotspot for my android device. I used ap-hotspot to do so.



I configured the ap-hotspot using



sudo ap-hotspot configure


Then I started ap-hotspot using



sudo ap-hotspot start


Then it shows this



Starting Wireless Hotspot...


And then nothing happens, no further message is displayed, hotspot is not created.



What is Wrong? How to fix it?


More From » wireless

 Answers
3

ap-hotspot uses hostapd to create wireless network



I had problems creating hotspot using hostapd in Ubuntu 14.04 mainly because new version of hostapd in 14.04 default repository is buggy.



You can solve this problem by downgrading hostapd in Ubuntu 14.04 LTS to a previous version



Uninstall buggy hostapd using apt-get:



sudo apt-get remove hostapd


Then install non-buggy version of hostapd:




  • 64 - bit:



    cd /tmp
    wget http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb
    sudo dpkg -i hostapd*.deb
    sudo apt-mark hold hostapd

  • 32 - bit:



    cd /tmp
    wget http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_i386.deb
    sudo dpkg -i hostapd*.deb
    sudo apt-mark hold hostapd



"sudo apt-mark hold hostapd" will prevent hostapd to upgrade to the buggy version.



Then try running ap-hotspot again, I think it should work. It worked for me like a charm.


[#25741] Wednesday, March 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uffno

Total Points: 283
Total Questions: 93
Total Answers: 111

Location: Saint Vincent and the Grenadines
Member since Thu, Oct 15, 2020
4 Years ago
uffno questions
Thu, Sep 2, 21, 18:08, 3 Years ago
Sun, Apr 2, 23, 15:15, 1 Year ago
Sat, Jan 8, 22, 16:37, 2 Years ago
;