1

Tried to set up DHCP server on my Dell Inspiron desktop (Ubuntu 14.04 installed) but doesn't seem to work. So I'm trying to manually input static IP address, DNS info etc into the ipad directly, but it tells me that while I can connect to the network, the network is not connected to the internet. And my network only shows up under "devices" and not under "choose a network". Any suggestions greatly appreciated. cheers

1 Answer 1

1

The default Ubuntu hotspot is not recognised by Android devices and probably not by the IPAD too. So, try installing ap-hotspot in Ubuntu. Open terminal and type the following,

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

For 14.04, you need to uninstall the buggy hostapd

sudo apt-get remove hostapd

Then install the needed version - for 64 bit systems:

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

and for 32 bit systems:

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

Now ap-hotspot is installed.

To configure, type

sudo ap-hotspot configure

Enter the appropriate interfaces, the hotspot name and password. To start the hotspot, type sudo ap-hotspot start

and to stop,

sudo ap-hotspot stop

Hope it helped!

16
  • Thanks for the help. Typed in "cd /tmp && wget archive.ubuntu.com/ubuntu/pool/universe/w/wpa/… && sudo dpkg -i hostapd*.deb && sudo apt-mark hold hostapd" and got "404 not found". Also got a fail message earlier on; " * Starting DNS forwarder and DHCP server dnsmasq dnsmasq: failed to create listening socket for 10.42.0.1: Address already in use". Should I have removed the DHCP server first? Jun 22, 2015 at 14:27
  • Did first three steps work? Then, try sudo ap-hotspot configure
    – spharish
    Jun 22, 2015 at 14:34
  • The first 3 steps worked. The step for 64 bit systems returned a 404 not found error. And when I tried to configure ap-hotspot I got "sudo: ap-hotspot: command not found" Jun 23, 2015 at 4:21
  • 1
    cd /tmp, then wget old-releases.ubuntu.com/ubuntu/pool/universe/w/wpa/…, after that, sudo dpkg -i hostapd*.deb, finally sudo apt-mark hold hostapd
    – spharish
    Jun 23, 2015 at 16:15
  • 1
    Try using the command (not a browser) to download the package from the old-releases URL (I updated the commands in the answer), but specify the package name - e.g. for 64bit: wget http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb && sudo dpkg -i hostapd_1.0-3ubuntu2.1_amd64.deb. If you need help working out whether you have 32bit or 64bit, use askubuntu.com/questions/41332/… . You may need to reinstall ap-hotspot if you used sudo apt-get remove hostapd.
    – Wilf
    Jun 26, 2015 at 12:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .