4

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 Mar 25 '16 at 17:24
  • I am not able to connect to internet through the access point – 55597 Mar 25 '16 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 Mar 25 '16 at 17:58
  • I am trying to connect from my laptop which runs windows. My phone runs android – 55597 Mar 25 '16 at 19:52
  • Let me check if it gets an IP – 55597 Mar 25 '16 at 19:53
1

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 Jul 31 '16 at 14:19
1

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]

video

https://www.youtube.com/watch?v=z6Y5Klv_nIE&feature=youtu.be

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

protected by Darth Vader Jan 8 '18 at 8:35

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

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.