Use your Raspberry Pi as a Wifi Extender Hotspot

Subscribers:
68,100
Published on ● Video Link: https://www.youtube.com/watch?v=EIdSlGwQGyU



Duration: 8:43
42,284 views
612


The Raspberry Pi is a mini-computer of many purposes, and one of those is the ability to use it as a wireless access point, boosting WiFi signal in an area where it may otherwise be a bit choppy. Here’s how to turn your Raspberry Pi into a wireless access point.

Code Snippets:
sudo apt-get update
sudo apt-get upgrade
reboot
sudo apt install hostapd
sudo systemctl unmask hostapd
sudo systemctl enable hostapd
sudo apt install dnsmasq
sudo DEBIAN_FRONTEND=noninteractive apt install -y netfilter-persistent iptables-persistent
sudo nano /etc/dhcpcd.conf

interface wlan0
static ip_address=192.168.4.1/24
nohook wpa_supplicant

sudo nano /etc/sysctl.d/routed-ap.conf
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo netfilter-persistent save
sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.orig
sudo nano /etc/dnsmasq.conf

interface=wlan0
dhcp-range=192.168.4.2,192.168.4.20,255.255.255.0,24h
domain=wlan
address=/gw.wlan/192.168.4.1
sudo nano /etc/hostapd/hostapd.conf
interface=wlan0
ssid=NetworkName
hw_mode=g
channel=7
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=PassphrasePassphrase
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

For more tech tips, how-tos, guides, app lists, game lists and all things tech, hit the ‘Subscribe’ button or check out our other videos: https://www.youtube.com/channel/UC5HhHXVDrGb30QwN0FTXBJw

Or visit our website at: https://www.maketecheasier.com/
Our Raspberry Pi articles in full: https://www.maketecheasier.com/tag/raspberry-pi







Tags:
tech tips
maketecheasier
how to
use raspberry pi as a router
pi tips
raspberry pi tips
use raspberry pi as wifi extender
use raspberry pi as wifi repeater
wifi extender with raspberry pi
boost wifi with raspberry
raspberry pi wifi extender
raspberry pi wifi hotspot
raspberry pi wifi access point