-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRPi3 Wireless Bridge PiBakery.xml
1 lines (1 loc) · 1.63 KB
/
RPi3 Wireless Bridge PiBakery.xml
1
<xml xmlns="http://www.w3.org/1999/xhtml"><block type="onfirstboot" id="onfirstboot" x="62" y="-2"><next><block type="bootbehaviour" id="s--.[K3N7~a#x4B*{v3E"><field name="1">Console</field><next><block type="wifisetup" id="3.{;XhPoD3SMqyje.Wg]"><field name="1">Alich WiFi</field><field name="2"></field><field name="3">Open (no password)</field><next><block type="packageinstall" id="3)]#3X2K9,lJ:^2t@auV"><field name="1">dnsmasq</field><next><block type="downloadfile" id="O,be6u{k1zyD)H;.Ixw["><field name="1">https://raw.githubusercontent.com/tenten8401/RPi3-Bridge/master/interfaces</field><field name="2">/etc/network/interfaces</field><next><block type="downloadfile" id=")aVC2*B3U]IpeD%bBUqW"><field name="1">https://raw.githubusercontent.com/tenten8401/RPi3-Bridge/master/dnsmasq.conf</field><field name="2">/etc/dnsmasq.conf</field><next><block type="runcommand" id="-d@ts+Z{8_..dhmex*)@"><field name="1">echo "net.ipv4.ip_forward=1" > /etc/sysctl.conf</field><field name="2">root</field><next><block type="runcommand" id="H|T%tBFOMeupS)pn1.]{"><field name="1">iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE</field><field name="2">root</field><next><block type="runcommand" id="49{yXA(_:=?`o?dg,QD_"><field name="1">sh -c "iptables-save > /etc/iptables.ipv4.nat"</field><field name="2">root</field><next><block type="runcommand" id="i2ZBk(=t;ZGWBnAP_o|o"><field name="1">echo "iptables-restore < /etc/iptables.ipv4.nat" > /lib/dhcpcd/dhcpcd-hooks/70-ipv4-nat</field><field name="2">pi</field></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></xml>