How To Create An Infrastructure WiFi Access Point To Connect Android Devices
Is always good to know that you can share your internet connection be it from LAN (eth0) or an USB Modem (ppp0) via your WiFi (wlan0) in order to connect other devices.
Someone may be asking why an infrastructure hotspot, since you can just click a button and turn your Ubuntu computer into a WiFi Hostspot.
Good question, the problem here is that Ubuntu’s Wifi hotspot is and ad-hoc and some Android devices really don’t have support for Ad-hoc. Due to this your device is not able to find Ubuntu’s default hotspot.
In this tutorial, thanks to ap-hotspot we are going turn our laptop and connect such devices.
Note: This is not 100% assured with all devices.
First we need to install ap-hotspot via PPA
Open Terminal and run the commands below:
$ sudo add-apt-repository ppa:nilarimogard/webupd8 $ sudo apt-get update $ sudo apt-get install ap-hotspot
After we have successfully installed ap-hotspot we need to configure it.
$ sudo ap-hotspot configure
$ sudo ap-hotspot configure Detecting main network interface... Detected ppp0 as the network interface connected to the Internet. Press ENTER if this is correct or enter the desired interface below (e.g.- eth0, ppp0 etc.): #PRESS ENTER Detected wlan0 as your WiFi interface. Press ENTER if this is correct or enter the desired interface (e.g.- wlan1): #PRESS ENTER Enter the desired Access Point name or press ENTER to use the default one (myhotspot): setho-hotspot #NAME Enter the desired WPA Passphrase below or press ENTER to use the default one (qwerty0987): hackme_beb #PASSWORD
You can now start hotspot
$ sudo ap-hotspot start
Get your device and luckily you should locate your new hotspot.
$ sudo ap-hotspot stop
To re-configure run any time, Run:
$ sudo ap-hotspot configure
Like us on Facebook
We need your assistance to stay live
This week Top Posts
- Top Things To Do After Installing Ubuntu 13.10 'Saucy Salamander' : Ubuntu 13.10 Saucy Salamander will be released on coming October 17th with many new salient featur...0 comments |
- Fedora 21 Scheduled For Release In October : For Fedora users, just keep calm and use Fedora 20 for now. Fedora Developers has announced that F...0 comments |
- How To Upgrade From Ubuntu 13.04 Raring To Ubuntu 13.10 Saucy Salamander : Ubuntu 13.10 Saucy will be released on October 17th. Hope it will come with lot of improvements and ...0 comments |
- Install LAMP Server (Apache, MySQL or MariaDB, PHP) On Ubuntu 13.10 : Updated January 12, 2014 LAMP is a combination of operating system and open-source software stack. ...0 comments |
- Install lamp with 1 command in Ubuntu 12.10, 13.04 Raring Ringtail & LinuxMint13 : Updated: 10/09/2012 :LAMP (Linux, Apache, MySQL and PHP) is an open source Web development platform ...0 comments |
- DNS Server Installation Step by Step Using CentOS 6.5/6.4/6.3 : DNS, Domain Name System, translates hostnames or URLs into IP addresses. For example if we type www....0 comments |
- Fedora 21 Scheduled For Release In October
- Install Uget Download Manager In Ubuntu, Fedora, Debian
- Download Elementary OS ‘Luna’ Official Wallpapers
- Install Power Commands 0.1.5 On Ubuntu 14.04/13.10/12.10/12.04
- 5 Android Apps that’s Going to Make Running Your Business Less Stressful
- Puppet agent Install Using Script
- Install Corosync and Pacemaker On CentOS 6.5
- Install Fail2Ban On Ubuntu Server 13.04/13.10
- How To Install Google Chrome in Fedora 20, 19, 18
- How to surf using Tor Browser Bundle
This work by unixmen.com is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Copyright © 2008-2013 Unixmen.com .