Run Arch Raspberry Pi Piratebox over both eth0 and wlan July 04, 2016 10:28PM |
Registered: 8 years ago Posts: 2 |
Re: Run Arch Raspberry Pi Piratebox over both eth0 and wlan July 05, 2016 08:22PM |
Admin Registered: 13 years ago Posts: 4,680 |
Description="General bridge interface for PirateBox" Connection=bridge Interface=br0 BindsToInterfaces=() ForceConnect=yes #Enabling DHCP stuff SkipForwardingDelay=yes IP=static Address=(192.168.1.1/24) IP6=no
sudo netctl enable piratebox_bridge
Description="Includes the Ethernet device per default to the PirateBox-Bridge" Connection=ethernet Interface=eth0 BindsToInterfaces=(eth0) ExecUpPost="brctl addif br0 eth0" ExecDownPre="brctl delif br0 eth0" IP=no IP6=no SkipNoCarrier=yes
Description="Generic profile for lan with DHCP" Connection=ethernet Interface=eth0 IP=dhcp ForceConnect=yes
cd /opt/piratebox sed 's|DO_IFCONFIG="yes"|DO_IFCONFIG="no"|' -i conf/piratebox.conf sed 's|USE_DNSMASQ="no"|USE_DNSMASQ="yes"|' -i conf/piratebox.conf sed 's|DNSMASQ_INTERFACE="wlan0"|DNSMASQ_INTERFACE="br0"|' -i conf/piratebox.conf sed 's|BRIDGE="br-lan"|BRIDGE="br0"|' -i conf/piratebox.conf sed 's:NET=192.168.77:NET=192.168.1:' -i conf/piratebox.conf sed 's|DO_BRIDGE="no"|DO_BRIDGE="yes"|' -i conf/piratebox.conf
netctl disable lan_dhcp netctl enable lan_piratebox_bridge
netctl disable lan_piratebox_bridge netctl enable lan_dhcp
Re: Run Arch Raspberry Pi Piratebox over both eth0 and wlan July 06, 2016 09:34AM |
Registered: 8 years ago Posts: 2 |
Re: Run Arch Raspberry Pi Piratebox over both eth0 and wlan July 06, 2016 07:34PM |
Admin Registered: 13 years ago Posts: 4,680 |
Re: Run Arch Raspberry Pi Piratebox over both eth0 and wlan February 07, 2018 03:12AM |
Re: Run Arch Raspberry Pi Piratebox over both eth0 and wlan February 09, 2018 05:42PM |
Admin Registered: 13 years ago Posts: 4,680 |