2017-06-29, 09:25 PM
(This post was last modified: 2017-06-29, 10:04 PM by benjamingotke.)
Now i'm back to square 1;
I put wlan0 as access point(or openplotter did), use wlan1 for access wireless, bridge to eth0
my ifconfig looks like this:
My /etc/network/interfaces looks like this:
I have a relay connected to eth0 which is accesseble on 192.168.1.100
If I go to that in browser i see this:
"Site is unreacheble"
If I hook it in the wlan router that the wlan1 is connected to, I'll get the main controlpage..
I have tried unplugging wlan1, but no differents.
If I then uncheck bridge to eth0 and put in eth0 as shared, it is on 255.255.0.0. This I cant change..
This is the networksettings on my relay. It is working on wlan1, but not on eth0. I dont want the wlan1 router on the boat. i'm only using that in my workshop for setting up the hole system before mounting on the boat.
Network Configuration
MAC Address
E8:EAA:00:21:F6
IP Address
192.168.1.100
Gateway
192.168.1.1
Subnet Mask
255.255.255.0
Primary DNS
192.168.1.1
Secondary DNS
0.0.0.0
I put wlan0 as access point(or openplotter did), use wlan1 for access wireless, bridge to eth0
my ifconfig looks like this:
Code:
br0 Link encap:Ethernet HWaddr b8:27:eb:27:b5:b7
inet addr:10.10.10.1 Bcast:10.10.10.255 Mask:255.255.255.0
inet6 addr: fe80::101a:af01:99ff:29b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29303 errors:0 dropped:0 overruns:0 frame:0
TX packets:24272 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3738849 (3.5 MiB) TX bytes:12044372 (11.4 MiB)
eth0 Link encap:Ethernet HWaddr b8:27:eb:72:e0:e2
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:128 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6656 (6.5 KiB) TX bytes:9122 (8.9 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:106860 errors:0 dropped:0 overruns:0 frame:0
TX packets:106860 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:12808783 (12.2 MiB) TX bytes:12808783 (12.2 MiB)
wlan0 Link encap:Ethernet HWaddr b8:27:eb:27:b5:b7
inet6 addr: fe80::ba27:ebff:fe27:b5b7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:29239 errors:0 dropped:0 overruns:0 frame:0
TX packets:24445 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3735905 (3.5 MiB) TX bytes:12644749 (12.0 MiB)
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:25078 errors:0 dropped:21 overruns:0 frame:0
TX packets:17421 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12247151 (11.6 MiB) TX bytes:3270837 (3.1 MiB)
My /etc/network/interfaces looks like this:
Code:
File: /etc/network/interfaces
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,ESTABLISHE$
post-up iptables -A FORWARD -i br0 -o wlan1 -j ACCEPT
post-up systemctl daemon-reload
If I go to that in browser i see this:
"Site is unreacheble"
If I hook it in the wlan router that the wlan1 is connected to, I'll get the main controlpage..
I have tried unplugging wlan1, but no differents.
If I then uncheck bridge to eth0 and put in eth0 as shared, it is on 255.255.0.0. This I cant change..
This is the networksettings on my relay. It is working on wlan1, but not on eth0. I dont want the wlan1 router on the boat. i'm only using that in my workshop for setting up the hole system before mounting on the boat.
Network Configuration
MAC Address
E8:EAA:00:21:F6
IP Address
192.168.1.100
Gateway
192.168.1.1
Subnet Mask
255.255.255.0
Primary DNS
192.168.1.1
Secondary DNS
0.0.0.0