I currently have my raspberry pi (model B) with raspbian on there. I currently have it connected to my router wired, but I am wanting to make it just a access point where I can connect to it and back up onto it (separate from my home network I don't need internet connectivity to it)

I was hoping it would be as easy as you can do it on the openwrt routers (the tp links I tinker with)

I am using tenda 311mi nano wifi card (works right out of the box, and says on the box that it supports soft ap)

How would make it stand alone AP?

Thanks for anyone that helps me. I will keep digging and see if I can find something.

  • What's the output of lsusb ? IIRC correctly, they use RT5370 chipsets, and there are plenty of guides out there on how to turn a RT5370 based wifi nic into a access point.
    – Lawrence
    Oct 7, 2013 at 4:40
  • Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
    – andyADD
    Oct 7, 2013 at 5:28

1 Answer 1


You need to install hostapd and dnsmasq and set a static IP Address for the Pi.

hostapd will take care of the access point, and dnsmasq will be the DHCP server.

Assuming you're using Raspbian, modify /etc/network/interfaces like so:

auto wlan0  
iface wlan0 inet static  

dnsmasq configuration file needs a whopping 2 lines:


Save the following as /etc/hostapd/hostapd.conf:


And modify /etc/default/hostapd.conf and change the daemon_conf line to this:


Reference (my blog)

  • I was just using your blog, but hostapd fails to restart and I read through your part 3a and 3b and still no luck.
    – andyADD
    Oct 7, 2013 at 6:39
  • Oh wow @ 2am and very tired I realised my problem(s) I had some unwanted spaces AND my password was not 8 characters...
    – andyADD
    Oct 7, 2013 at 7:09
  • Happens to the worst of us :D
    – Lawrence
    Oct 7, 2013 at 13:15
  • to the worst of us? IDK if that was a insult or a comment.. D:
    – andyADD
    Oct 7, 2013 at 15:54
  • ..Best. sorry ! lol. too tired to even notice I made a mistake
    – Lawrence
    Oct 7, 2013 at 16:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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