2017-06-30, 01:20 PM
(This post was last modified: 2017-06-30, 03:44 PM by benjamingotke.)
WUHUUUUUU it is working
Well sort of. Now my accesspoint is down. It says its up and running, but cant see it with by computer or smartphone...
This is now my ifconfig
I triet put everything back in normal, but nothing is working now, except wlan1
This is my /etc/network/interfaces:
Well sort of. Now my accesspoint is down. It says its up and running, but cant see it with by computer or smartphone...
This is now my ifconfig
I triet put everything back in normal, but nothing is working now, except wlan1
Code:
ifconfig
br0 Link encap:Ethernet HWaddr b8:27:eb:72:e0:e2
inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1012 (1012.0 B) TX bytes:2748 (2.6 KiB)
eth0 Link encap:Ethernet HWaddr b8:27:eb:72:e0:e2
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:22 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1012 (1012.0 B) TX bytes:2916 (2.8 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:3833 errors:0 dropped:0 overruns:0 frame:0
TX packets:3833 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:452909 (442.2 KiB) TX bytes:452909 (442.2 KiB)
wlan0 Link encap:Ethernet HWaddr b8:27:eb:27:b5:b7
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:6600 (6.4 KiB)
wlan1 Link encap:Ethernet HWaddr 08:6a:0a:64:0a:41
inet addr:192.168.1.19 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1212 errors:0 dropped:27 overruns:0 frame:0
TX packets:630 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:512225 (500.2 KiB) TX bytes:64416 (62.9 KiB)
Code:
File: /etc/network/interfaces
# generated by openplotter
auto lo
iface lo inet loopback
allow-hotplug usb0
iface usb0 inet static
address 192.168.42.100
auto eth0
iface eth0 inet manual
auto wlan0
iface wlan0 inet manual
auto br0
iface br0 inet static
bridge_ports eth0
address 10.10.10.1
broadcast 10.10.10.255
netmask 255.255.255.0
network 10.10.10.0
bridge_maxwait 1
post-up iptables -t nat -A POSTROUTING -o wlan1 -j MASQUERADE
post-up iptables -A FORWARD -i wlan1 -o br0 -m state --state RELATED,ESTABLISHED -j ACCEPT
post-up iptables -A FORWARD -i br0 -o wlan1 -j ACCEPT
post-up systemctl daemon-reload