Page 1 of 1

Using Raspberry Pi 3 as a Wireless AP / Range extender

Posted: Sun Apr 15, 2018 7:15 pm
by Muntaner
Hello to everyone!

I'd like to use my Raspberry Pi 3 as a sort of Wifi AP and Range Extender. I can't use ethernet to connect it to the router which is giving me internet connection.
The situation I'd like to reach is:
1 - The Pi3 is connected via Wifi to the Router which has internet connection;
2 - The Pi3 acts as a "home router", giving access to another Wireless Connection with its own SSID and password;
3 - Clients should connect to the Pi3's Wireless Connection, having internet connection via the router from the step 1;

Is this configuration possibile and doable?

Re: Using Raspberry Pi 3 as a Wireless AP / Range extender

Posted: Sun Apr 15, 2018 8:44 pm
by SurferTim
Yes, if you use two wifi devices. I set the onboard wifi as the AP, and the usb wifi device as the client. Use the NAT setup here.
https://www.raspberrypi.org/documentati ... s-point.md
I ensure wlan0 is my AP, and wlan1 is the client. I use wlan1 as my masquerade instead of eth0.

Code: Select all

sudo iptables -t nat -A  POSTROUTING -o wlan1 -j MASQUERADE