-2

Is it possible to access hotspot in mobile phone or not? After I start Hotspot from my laptop,the hotspot id is shown in the mobile while I refresh for the available wifi's but it never gets connected.

"I am a Ubuntu13.10 user. I use Samsung Galaxy Note"

Cristiana Nicolae
  • 4,460
  • 9
  • 30
  • 46
algosig
  • 125
  • 14
  • 2
    possible duplicate of [How to setup an Access Point mode Wi-Fi Hotspot?](http://askubuntu.com/questions/180733/how-to-setup-an-access-point-mode-wi-fi-hotspot) – Wilf Sep 25 '15 at 10:14

1 Answers1

1

To set up a simple wifi hotpsot for Android and other phones, you can use ap-hotspot as detailed here.

Basically, install it:

sudo add-apt-repository ppa:nilarimogard/webupd8

Press Enter to confirm this - then run these to actually install it:

sudo apt-get update
sudo apt-get install ap-hotspot

Use ppa's at your own not-very-high risk - note you need to add the PPA and run the update command before you are able to install it.
Start it with:

sudo ap-hotspot start

You can also stop it:

sudo ap-hotspot stop

and configure it:

sudo ap-hotspot configure

Android does not seem to support the hotspot created in Ubuntu - <rant>even though I have never had this trouble with another Linux operating system</rant> . Ubuntu 14.04 apparently needs a special fix as well.

For Ubuntu 14.04:

also the hostapd version in Ubuntu 14.04 is buggy and doesn't work properly. To get AP-Hotspot to work with hostapd in Ubuntu 14.04, you need to downgrade hostapd and use apt to hold the package so it's not upgraded (thanks to spupuz for the tip!). To do this, use the following commands:

64bit:

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

32bit:

cd /tmp
wget http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_i386.deb
sudo dpkg -i hostapd*.deb
sudo apt-mark hold hostapd
Wilf
  • 29,694
  • 16
  • 106
  • 164
  • #Wilf it says ap-hotspot command not found Also I tried to install ap-hotspot but it says unable to locate package ap-hotspot – algosig Feb 18 '14 at 11:38
  • You have to add the `ppa` - it is a [WebUd8 PPA](https://launchpad.net/~nilarimogard/+archive/webupd8), so should be fine.Tthe ppa just allows access to extra packages, including the `ap-hotspot` one. – Wilf Feb 18 '14 at 11:49
  • @Wilf - Still doesn't work wid ubuntu 15.04 – Laxmikant Ratnaparkhi Sep 25 '15 at 05:15
  • @LaxmikantGurnalkar - I know it doesn't really work with 14.10+ (and that fix is needed for 14.04) - I think there are alternatives except I can't remember what they are currently (need one myself anyway). You can try [this question](https://askubuntu.com/questions/180733/how-to-setup-an-access-point-mode-wi-fi-hotspot). – Wilf Sep 25 '15 at 10:14
  • @Wilf - Ok, Thanks for the suggestion, Will go through it. – Laxmikant Ratnaparkhi Sep 25 '15 at 10:32