Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I set up my WiFi to be used as wireless access point on Ubuntu Server?

I have a local Ubuntu Server, it has a wireless card in it (802.11a/b/g/n) and I really want to set it up as an 802.11n access point since my normal access point does not support N.

It needs to work as a switch as well so I can connect and get DHPC through.

Edit: I don't see Network Manager as a good solution since it depends on a lot of X11 packages, and i don't want that on a server.

share|improve this question
up vote 8 down vote accepted

I found a good thread. It should work in Ubuntu 10.04 no problem. Also it is CLI so it doesn't need any X libs at all. :)

share|improve this answer

Click on your NetworkManager icon in the panel, and choose "Create Wireless network..." You should be able to set this up as a "System" (as opposed to "User") connection.

You say that this is on a server, so perhaps you're accessing the server through SSH only. In that case, you can try some remote X connection; or try to configure NetworkManager through the command line, which should be possible, if non-trivial.

share|improve this answer
Possible, but i don't want NetworkManager – LassePoulsen Aug 6 '10 at 13:07
OMG, it works ! Had problems with WPA1&2 & WEP, but without encryption, it works fine. – WitchCraft Feb 7 '14 at 11:14

This is a pretty good (if a little dated [if 2006 is dated]) article which outlines how to do this from the command line.

Assuming your wireless device works okay you can probably dive right in at the bridging section about half way down.

share|improve this answer
It is a lot outdated... The kernel wireless driver stack have changed since then apparently! – LassePoulsen Aug 6 '10 at 14:44
True, but the bridge and wpa_supplicant stuff which is the raw stuff needed to get it up is useful. – popey Aug 6 '10 at 15:05
The page is a 404. -1 from me. If you had summed up the info contained in the linke your answer would be still valid. – Marco May 5 '13 at 22:09 is your friend...… – popey May 7 '13 at 8:05

Why not to try by installing hostapd

Install the hostapd package. On ubuntu:

sudo apt-get install hostapd

Source: How to turn Linux machine into a wifi Access Point

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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