Hello guys , we know that people want to use the working internet not on one device but on different devices and there would be the case when on the go you would not be able to carry your wifi router to make it happen, well here comes the wifi hotspot come into play. When one machine would be created as a hotspot which share its network to the other devices as well in Windows machine it is quite easy as you just need to use a software named Connectify (and there might be some more), but in Ubuntu you have in-built options provided by Ubuntu to connect other devices. The following video would show you how to make a wifi hotspot in Ubuntu Operating System please have a look.
But one problem everyone would come up , why this does not connect the android phones or ios phones to the internet. For this you need to create an access point supported by your mobile devices because android , windows phone does not support the ad-hoc networks.
For ubuntu 12.04 use the below commands
sudo add-apt-repository ppa:nilarimogard/webupd8 sudo apt-get update sudo apt-get install ap-hotspotFor Ubuntu 14.04 you need to downgrade the hostapd so please do that using the following commands
- First uninstall the buggy
hostapdin Ubuntu 14.04 via:
sudo apt-get remove hostapd
- Copy and paste the command below into terminal that matches your OS type – check out via System Setting -> Details – and hit run to download, install, and hold the old version of hostapd.While running the commands below, type in your user password in terminal when prompt.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 hostapdFor 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
after the whole process use the following command
sudo ap-hotspot configure
and Finally start the hotspot via this command.
sudo ap-hotspot startafter all this you will get your hotspot working enjoy the internet.