Quantcast
Channel: PirateBox Forum - Raspberry Pi(rate)Box
Viewing all articles
Browse latest Browse all 1863

Re: Using external router instead of internal WIFI on Raspberry PI 3.

$
0
0
Hi,
yes, this is possible. PirateBox was designed to have the possibility to work like this.

But, I can not give you a valid howto with commands of the top of my head. I can say what you have to do:

Disable DHCP on your router
Change the router's IP to 192.168.77.254 (or 192.168.77.2)
remove udev rule; sudo rm /etc/udev/rules.d/99-wifi.rules
enable piratebox service to bootup; sudo systemctl enable piratebox
Disable dhcp on eth0 ; (I don't know what to do here, possibly systemctl disable systemd-networkd.service ; see [wiki.archlinux.org] )
Changes in /opt/piratebox/conf/piratebox.conf
USE_APN="yes" -> USE_APN="no"
DNSMASQ_INTERFACE="wlan0" -> DNSMASQ_INTERFACE="eth0"
INTERFACE="wlan0" -> INTERFACE="eth0"

If you stick to systemd-networkd and do the static IP configuration there, you need to disable the IP setup step in PirateBox via piratebox.conf
DO_IFCONFIG="yes" -> DO_IFCONFIG="no"

These are all thing, which came to my mind.. I hope I haven't forgotten something.

Hope that helps
best regards Matthias

Viewing all articles
Browse latest Browse all 1863

Trending Articles