I followed the following tutorial https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/ and I am successful in making my Pi3 an access point. The internet connection from eth0 is getting shared to users connecting through wlan0. How do I stop it?

I am new to networking and Linux. How do I debug the problem?

  • And what is the problem exactly?
    – Mark Smith
    Commented Mar 25, 2016 at 17:24
  • I am not able to connect to internet through the access point
    – 55597
    Commented Mar 25, 2016 at 17:50
  • What operating system are you using to connect to the access point? Does it connect to the AP? Does it get an IP address? Does it get other network configuration such as default route, DNS etc?
    – Mark Smith
    Commented Mar 25, 2016 at 17:58
  • I am trying to connect from my laptop which runs windows. My phone runs android
    – 55597
    Commented Mar 25, 2016 at 19:52
  • Let me check if it gets an IP
    – 55597
    Commented Mar 25, 2016 at 19:53

2 Answers 2


I got same problem, I didn´t receive any response from my phone (except WhatsApp). After red this report (https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/876458), I remove ´bind-interfaces´ from dnsmasq.conf. And it solve this problem.

  • This problem still persists for me. The bug connects to Ubuntu dnsmasq package and not from the Rasbian repo. Does anyone have any other working solution for this?
    – Ébe Isaac
    Commented Jul 31, 2016 at 14:19

I have created a git repository to do one click setup. the main jobs are install tools for hotpots service, and script code to run in station mode and access point mode. http://www.mlabviet.com/2016/05/setup-hotspots-for-raspberry-pi-3.html The best way to setup is connect your RPI to internet through LAN cable, you also can connect wifi before doing setup.

  1. sudo ./install.sh.

  2. Reboot.

  3. to active access point mode: run: sudo ap [Name] [pass(optional)]

  4. to active station mode: run : sudo sta [ssid] [pass]



  • Is this project mature?
    – user400344
    Commented Apr 2, 2017 at 11:56
  • 1
    Yes, it is stable now, I'm going to record the video how it work.
    – ThanhLe
    Commented Apr 5, 2017 at 8:39

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