This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
change eth0 to static
#15
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:

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
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:EABig GrinA: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
Reply


Messages In This Thread
change eth0 to static - by benjamingotke - 2017-06-27, 08:39 PM
RE: change eth0 to static - by abarrow - 2017-06-27, 09:32 PM
RE: change eth0 to static - by benjamingotke - 2017-06-28, 02:18 PM
RE: change eth0 to static - by abarrow - 2017-06-28, 02:38 PM
RE: change eth0 to static - by benjamingotke - 2017-06-28, 05:04 PM
RE: change eth0 to static - by abarrow - 2017-06-28, 06:16 PM
RE: change eth0 to static - by benjamingotke - 2017-06-28, 07:04 PM
RE: change eth0 to static - by e-sailing - 2017-06-28, 10:30 PM
RE: change eth0 to static - by abarrow - 2017-06-28, 10:16 PM
RE: change eth0 to static - by benjamingotke - 2017-06-29, 01:19 PM
RE: change eth0 to static - by abarrow - 2017-06-29, 02:08 PM
RE: change eth0 to static - by benjamingotke - 2017-06-29, 06:12 PM
RE: change eth0 to static - by abarrow - 2017-06-29, 06:36 PM
RE: change eth0 to static - by benjamingotke - 2017-06-29, 07:11 PM
RE: change eth0 to static - by benjamingotke - 2017-06-29, 09:25 PM
RE: change eth0 to static - by e-sailing - 2017-06-29, 10:41 PM
RE: change eth0 to static - by benjamingotke - 2017-06-30, 01:20 PM
RE: change eth0 to static - by benjamingotke - 2017-06-30, 05:29 PM
RE: change eth0 to static - by abarrow - 2017-06-30, 09:50 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)