Monday, March 23, 2015

Create Wifi Hotspot in Ubuntu Laptop For Android Phones

Type these following commands to make you Ubuntu 14.04 (derived) flavor for activating Wifi hot spot in your laptop or desktop (it should have wifi card in it)

#sudo add-apt-repository ppa:nilarimogard/webupd8

#sudo apt-get update

#sudo apt-get install ap-hotspot

First uninstall the buggy hostapd in Ubuntu 14.04 via:

#sudo apt-get remove hostapd

For 64-bit system:

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

For 32-bit system:

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

Once installed, execute below command to configure your wifi hotspot:

#sudo ap-hotspot configure

Finally start the wireless hotspot via:

#sudo ap-hotspot start

To stop the wireless hotspot, execute this command in Ubuntu terminal:

#sudo ap-hotspot stop

Courtesy:
http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android/

Please report issues at: https://github.com/hotice/AP-Hotspot/

0 Comments: