Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've read this article before, and carefully followed the instruction that it porvided.And I am sure wireless card in my laptop support going into wireless access point mode. But unfortunately, when I use the following command to start hostapd service, I got

 sudo service hostapd stop

 Starting advanced IEEE 802.11 management hostapd                      [fail] 

Since I am not familiar with Ubuntu(or linux), I can't figure out what happened and how to fix it. The instrution mentioned above said possibly because my wireless card does not support the g mode, and provided the wiki of hostapd. But what is g mode ? I tried to swtich to a ,or b mode, but it just didn't work.

Can anyone help ? or provide a tool like connectify in windows ? thanks!

ps. I am using ubuntu 12.04, 32 bit. I have an ADSL wired network, and I want to share it by setting my laptop into a WiFi hotspot with my windows phone.

share|improve this question
    
I have tried the ap-hotspot in my ubuntu 12.04 , but getting the authentication problem while connecting the devices on Wifi with the hotspot. –  skumar Apr 9 at 16:21

2 Answers 2

up vote 4 down vote accepted

You need to create infrastructure (Access Point mode) wireless hot-spot rather Ad-hoc hot-spot. In linux(ubuntu) i used ap-hotspot and which works for me(i got connected WP8 and Android 4.4, dont know about iPhones).

For installation

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

Then configure it as

sudo ap-hotspot configure

Configure_Sample

It will asks for interfaces, Access point name(which can be anything you want to see as wifi_hotspot name), password(which is your wifi_hotspot security key).

Now, if you able to configure successfully and dont get any kind of Unsupported wifi errors(if you get that simply means, your wifi_card doesnt support infrastrucutre Access point wifi_hotspot, so can do nothing on it), then procceed.

So just now start your hotspot as

sudo ap-hotspot start

If you want to stop then

sudo ap-hotspot stop

If you wanna see all available commands

sudo ap-hotspot

You don't see this hot-spot running in any indicator or something, i am still finding it how to determine status checking of it.

I am using is from last few weeks, and no bugs(no side-effects too) yet. I am using Gnome-Ubuntu 13.10 amd64 sharing eth0 to my WP8.

SOURCE : http://www.unixmen.com/create-infrastructure-wifi-access-point-connect-android-devices/ SOURCE : http://www.webupd8.org/2013/06/how-to-set-up-wireless-hotspot-access.html

share|improve this answer
    
NOTE for 14.04. –  Err Hunter May 8 at 12:00

I have 2 wi-fi adapters installed for this. One native internal, and other via USB. I have to share with external USB because the internal one I am using to receive my conection. In your case you don't need another adapter, as you receive the conection via cable. Just follow my steps.
This is how I do. In System Settings...>Networks select the Wi-Fi adapter you want to uuse as a Hotspon, and click Use as Hotspot... button.

enter image description here

This will shortly activate the adapter to serve as a Hotspot. At the same window you have Options... function, and you can stop it in a same easy way.

enter image description here

share|improve this answer
    
Yes, I tried that method before. But it seems that it's ad-hoc mode, not AP. I am not sure my windows phone can get access to it. And when I "use as hotspot", the connection disconnected as soon as it connected sucessfully. –  kexanie Jul 23 '13 at 11:22
    
I tried the same thing on Ubuntu 12.04 but it does not seem to work. What shall I do to figure out the problem? –  Srijan Aug 10 '13 at 14:47
    
I guess it cannot work with .local domain. As you will need to have another domain account for each device you want to connect. Did you try to debug from here? –  Gediminas Jeremiah Gudelis Aug 11 '13 at 4:35

protected by Seth Mar 9 at 3:09

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.