Sunday, 7 February 2016

Create WiFi hotspot on ubuntu linux

Creating wifi-hotspot using Unity's default network manager without downloading any tool/software.
1. Disable WIFI and plug in an internet cable or mobile-broadband modem to your Ubuntu so that your Ubuntu is connected to wired or broadband connection and wireless is disabled.
2. Go to Network Icon on the top panel -> Edit Connections, then click the Add button in the pop up windows.
Edit connection
3. Choose Wi-Fi from the drop-down menu when you're asked to choose a connection type:
Choose wifi connection type to wifi
4. In the next window, do:
  • Type in a connection name. The name will be used later.
  • Type in a SSID
  • Select mode: Infrastructure
  • Device MAC address: select your wireless card from drop-down menu.
Create wifi hotspot
5. Go to Wi-Fi Security tab,select security type WPA & WPA2 Personal and set a password.
6. Go to IPv4 Settings tab, from Method drop-down box select Shared to other computers.
Wifi IPv4 shared to other computer
When done, click the save button.
After above steps, a configuration file created under /etc/NetworkManager/system-connections directory. File name is same to the connection name you typed in step 4.
Now press Ctrl+Alt+T on keyboard to open terminal. When it opens, paste the commands below and hit Enter to edit the configuration file.
sudo gedit /etc/NetworkManager/system-connections/wifi-hotspot
Replace wifi-hotspot with the connection name you types in step 4.
When the file opens, find out the line mode=infrastructure and change it to mode=ap.
Finally save the file.
Change mode to ap
When everything's done, enable WIFI from Network Manager icon on the panel. It should automatically connect to the hotspot you created. If not, select "Connect to Hidden Wi-Fi Network" and select it from the drop-down box.
Wifi Hotspot







                                               BY TERMINAL



install ap-hotspot :

$ sudo add-apt-repository ppa:nilarimogard/webupd8
$ sudo apt-get update
$ sudo apt-get install ap-hotspot

update it for ubuntu 14.04 if you are using it :

amd64 : http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb
32 bit : http://archive.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_i386.deb
example on amd64 :
$ 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

usage :

$ sudo ap-hotspot start
// follow the configuration for password & ssid

if u want te re configure it again :
$ sudo ap-hotspot configure
to stop it :
$ sudo ap-hotspot stop
to check the configuration :
$ ap-hotspot

  











Now you can search and connect the access point from your Android mobile ..... enyou <^_^>






1 comment:

felisha green said...

Do you need to increase your credit score?
Do you intend to upgrade your school grade?
Do you want to hack your cheating spouse Email, whatsapp, Facebook, instagram or any social network?
Do you need any information concerning any database.
Do you need to retrieve deleted files?
Do you need to clear your criminal records or DMV?
Do you want to remove any site or link from any blog?
you should contact this hacker, he is reliable and good at the hack jobs..
contact : cybergoldenhacker at gmail dot com