You are on page 1of 9

(https://plus.google.

com/105318999106266025664)
Create Wifi Hotspot in Ubuntu Laptop For Android Phones | Ub... http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubu...
(https://plus.google.com/105318999106266025664)
(https://plus.google.com/105318999106266025664)
(https://plus.google.com/105318999106266025664)

UbuntuHandbook (http://ubuntuhandbook.org/)
News, Tutorials, Howtos for Ubuntu Linux
$
(h
tt
p:
//f
ee
ds
.f
ee
db
ur
ne
r.c
! o
(h m
tt /U
p: bu
//f nt
ac uh
eb # an
oo (h db
k. tt oo
co ps k
m " :// N
/p (h pl e
ag tt us w %
es ps .g sT (h
/U :// oo ut tt
bu la gl or p:
nt un e. ial //t
uh ch co s wi
an pa m H tte
db d. /1 o r.c
oo ne 05 wt o
k t 31 os m
/3 /~ 89 F /U
52 ub 99 or bu
76 un 10 U nt
96 tu 62 bu u
34 ha 66 nt H
82 nd 02 u an
63 bo 56 Li db
79 ok 64 nu oo
) 1) ) x) k)

Home (http://ubuntuhandbook.org) /
Howtos (http://ubuntuhandbook.org/index.php/category/howtos/) /
Create Wifi Hotspot in Ubuntu Laptop For Android Phones

1 of 9 2014-05-21, 4:24 PM

Create Wifi Hotspot in


Ubuntu Laptop For
Create Wifi Hotspot in Ubuntu Laptop For Android Phones | Ub... http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubu...

Android Phones
February 6, 2014 — 13 Comments (http://ubuntuhandbook.org
/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android/#comments)

Wi-Fi Service:
$9.95/mo
boingo.com

Wireless internet for your laptop, Recent Popular

smartphone, tablet and e-reader


Desurium PPA Adds Support
for Ubuntu 14.04
(http://ubuntuhandbook.org
/index.php/2014/05/desurium-
ppa-adds-support-for-ubuntu-
(http://ubuntuhandbook.org/wp-content/uploads/2013/12
14-04/)
/Ubuntu-Wifi-security.jpg) May 20, 2014

If you have a single wired Internet connection, you can easily


Use Pushbullet in Ubuntu
setup an ad-hoc wireless network with Ubuntu and share the
14.04 with Indicator & Nautilus
Internet connection among multiple devices. Unfortunately, Extension
some devices including Android & Windows Phones may (http://ubuntuhandbook.org
not support ad-hoc wireless networks. /index.php/2014/05
/pushbullet-in-ubuntu-
indicator/)
May 20, 2014

Install Yorba’s California


Calendar in Ubuntu 14.04
(http://ubuntuhandbook.org
/index.php/2014/05/install-
yorbas-california-calendar-
in-ubuntu-14-04/)
May 19, 2014

VirtualBox 4.3.12 Released


(http://ubuntuhandbook.org/wp-content/uploads/2014/02 with Various Fixes, [How to
/ubuntu-create-ad-hoc.png) Upgrade]
(http://ubuntuhandbook.org
So this tutorial is going to show you how to turn your Ubuntu /index.php/2014/05/virtualbox-

laptop into a wireless access point in another way with 4-3-12-released-with-various-


fixes-how-to-upgrade/)
Android phones support.
2 of 9 May 18, 2014 2014-05-21, 4:24 PM

To get started, press Ctrl+Alt+T on keyboard to open the


Create Wifi terminal. When Laptop
Hotspot in Ubuntu it opens,
For run the Phones
Android commands
| Ub... below one by
http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubu...
Intel(R) Graphics Installer
one to install ap-hotspot. Adds Ubuntu 14.04 Support
(http://ubuntuhandbook.org
Ap-hotspot is an open-source project that automatically /index.php/2014/05/intelr-
creates an infrastructure (Access Point mode) wireless graphics-installer-

hotspot in Ubuntu that should work with Android and adds-ubuntu-14-04-support/)


May 17, 2014
Windows Phone devices

sudo add-apt-repository ppa:nilarimogard/webupd8


Recent Comments
sudo apt-get update

Ji m on Nvidia Driver 331.20


sudo apt-get install ap-hotspot
released, Install it in Ubuntu & Linux
Mint (http://ubuntuhandbook.org
Supports for Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, /index.php/2013/11/nvidia-331-20-
install-ubuntu-linux-
Ubuntu 12.04. For Ubuntu 14.04, download & install the
mint/#comment-508115)
ap-hotspot deb for saucy at this page (https://launchpad.net
/~nilarimogard/+archive/webupd8/+packages). Ji m on Install Sweet Home 3D 4.2
in Ubuntu 13.10, 12.04, Linux Mint
(http://ubuntuhandbook.org
Once installed, execute below command to configure your
/index.php/2013/11/install-sweet-
wifi hotspot: home-3d-4-2-in-ubuntu-
13-10-12-04-linux-mint/#comment-
sudo ap-hotspot configure 508113)

Jim Jacobs on How to Install


Handbrake 0.9.9 in Ubuntu 13.10 /
It will detect the wired & wireless interfaces and ask you to
Linux Mint 16
confirm that if they are correct (run ifconfig if you’re not
(http://ubuntuhandbook.org
sure). Then you’ll be asked to enter a wifi hotspot name and /index.php/2013/10/install-
setup a password. handbrake-in-ubuntu-13-10-
saucy/#comment-508013)

tleeski on Nvidia Driver 331.20


released, Install it in Ubuntu & Linux
Mint (http://ubuntuhandbook.org
/index.php/2013/11/nvidia-331-20-
install-ubuntu-linux-
mint/#comment-507561)

(http://ubuntuhandbook.org/wp-content/uploads/2014/02
/ap-hotspot.jpg)

Finally start the wireless hotspot via:

3 of 9 sudo ap-hotspot start


2014-05-21, 4:24 PM
Create Wifi Now you’re
Hotspot ableLaptop
in Ubuntu to connect to wifi
For Android hotspot
Phones | Ub...via your Android
http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubu...
phone!

(http://ubuntuhandbook.org/wp-content/uploads/2014/02
/shared-network.png)

To stop the wireless hotspot, execute this command in


Ubuntu terminal:

sudo ap-hotspot stop

UPDATE: Please report issues at: https://github.com/hotice


/AP-Hotspot/issues (https://github.com/hotice/AP-Hotspot
/issues).

Tweet 1

Recommend 1

10

Share

In Howtos (http://ubuntuhandbook.org/index.php/category/howtos/) wifi


hotspot with android support (http://ubuntuhandbook.org/index.php/tag/wifi-
hotspot-with-android-support/)
(http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/)
4 of 9 2014-05-21, 4:24 PM
Create Wifi Hotspot in Ubuntu Laptop For Android Phones | Ub... http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubu...

Ji m
(http://ubuntuhandbook.org/index.php/about/)

I'm a freelance blogger who started using Ubuntu


5+ years ago and wishes to share my experiences
and some useful tips with Ubuntu beginners and lovers. Please notify
me if you find any typo/grammar/language mistakes. English is not
my mother tongue. Contact me on Google Plus
(https://plus.google.com/105318999106266025664?rel=author) or
email to ubuntuhandbook1@gmail.com
(mailto:ubuntuhandbook1@gmail.com?Subject=Hello%20again)

Batch Image Converter and... (http://ubuntuhandbook.org


/index.php/2014/02/batch-image-converter-and-resizer-converseen-
0-6-7-released/)

How to Install / Upgrade to... (http://ubuntuhandbook.org/index.php


/2014/02/install-upgrade-to-linux-kernel-3-13-2/)

13 responses to Create Wifi Hotspot


in Ubuntu Laptop For Android Phones

bart00 February 6, 2014 at 11:30 am (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android/#comment-
138114)

This metod working with 3g mobile modem ?

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=138114#respond)

Ashish May 12, 2014 at 8:44 am (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android
/#comment-485312)

Yes, it does.

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=485312#respond)

shrief February 8, 2014 at 3:06 pm (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android/#comment-
139363)

great man , i run it on kali linux and working but


unfortunatuly network only with no internet , i dont know
5 of 9 why ?? maybe (firewall or missing command …… 2014-05-21, 4:24 PM
if youinhave
Create Wifi Hotspot idea
Ubuntu checkFor
Laptop with me …….
Android any| Ub...
Phones way thanks http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubu...
Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=139363#respond)

Sari March 17, 2014 at 3:34 pm (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android/#comment-
249517)

Thanks a lot, I got it working on my Ubuntu 13.10 ->


Android tablet

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=249517#respond)

yanuar March 25, 2014 at 7:00 pm (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android/#comment-
304074)

thanks…
very very usefull

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=304074#respond)

abderrahmen April 3, 2014 at 9:17 am


(http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubuntu-
laptop-android/#comment-343471)

hey .. i m used to do this on ubuntu 13.10 .. and it works


fine , i can conneect my tablet .. but yesterday i changed to
Elementary Os .. i found the access point and when i
connect to it , it stuck on obtaining Ip adress ..

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=343471#respond)

Armin April 15, 2014 at 8:37 am (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android/#comment-
396131)

Hi. I have TTL = 1 on my laptop. My phone hasn’t internet


access. How can I lower or raise the TTL value?

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=396131#respond)

Ji m April 15, 2014 at 11:53 am (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android
/#comment-396799)
6 of 9 2014-05-21, 4:24 PM
The IPV4 settings are accessible through proc
Create Wifi Hotspotfilesystem
in Ubuntu at /proc/sys/net/ipv4.
Laptop For Android Phones | Ub... http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubu...
Check the current TTL value, run:

cat /proc/sys/net/ipv4/ip_default_ttl

To set a new TTL value, 255 as example:

sudo su

echo 255 > /proc/sys/net/ipv4/ip_default_t


tl

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=396799#respond)

Ochiroo13 April 17, 2014 at 11:50 am (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android/#comment-
405602)

@Ji m
when i run sudo ap-hotspot configure this command
terminal says: Your wireless card does not support Access
Point mode

what should i do

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=405602#respond)

Ji m April 17, 2014 at 1:20 pm (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android
/#comment-405940)

Please report this issue at: https://github.com/hotice


/AP-Hotspot/issues (https://github.com/hotice
/AP-Hotspot/issues) and ask the developer to add
support your wireless card.

To check out network info, run:

lshw -C network

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=405940#respond)

Sandeep April 22, 2014 at 2:28 pm (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android/#comment-
422321)

7 of 9 Hi, 2014-05-21, 4:24 PM


Thank
Create Wifi Hotspot in you for Laptop
Ubuntu the post.
ForI am usingPhones
Android ubunutu 12.04. I have http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubu...
| Ub...
followed the instruction given above to create the network.
But, my android tab couldn’t connect to this network, it
struck at obtaining IP address. I have searched for this, but
i didn’t find any solution. Can you suggest me what i
should i do to solve this problem? Thanks.

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=422321#respond)

Eunice May 1, 2014 at 4:52 am (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android/#comment-
451162)

@Ji m
After starting the hotspot, my phone sees the connection
but cannot access it. It keeps showing an invalid password
error. Any ideas how to fix this?

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=451162#respond)

edovscov May 4, 2014 at 1:09 am (http://ubuntuhandbook.org


/index.php/2014/02/wifi-hotspot-ubuntu-laptop-android/#comment-
458810)

Hi, thank you for the post, I am using ubuntu 12.10, I am


installing on a Dell Latitude E5530.
Any ideas how to fix this?
$ sudo ap-hotspot configure
Your wireless card does not support Access Point mode

Reply (/index.php/2014/02/wifi-hotspot-ubuntu-laptop-
android/?replytocom=458810#respond)

Leave a Reply
Name*

Email*

Website

8 of 9 2014-05-21, 4:24 PM
Comment
Create Wifi Hotspot in Ubuntu Laptop For Android Phones | Ub... http://ubuntuhandbook.org/index.php/2014/02/wifi-hotspot-ubu...

Text formatting is available via select HTML.

Post Comment

About (http://ubuntuhandbook.org/index.php/about/)

© 2014 UbuntuHandbook (http://ubuntuhandbook.org) — Privacy Policy (http://ubuntuhandbook.org/index.php


/privacy-policy/) — Standard by 8BIT

9 of 9 2014-05-21, 4:24 PM

You might also like