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
#3
abarrow
[quote pid='2121' dateline='1498595532']
Okay, first thing... let's have a look at your /etc/network/interfaces file.
[/quote]

# generated by openplotter
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug usb0
iface usb0 inet static
address 192.168.42.100
netmask 255.255.255.0
allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address 10.10.10.1
netmask 255.255.255.0
network 10.10.10.0
broadcast 10.10.10.255
post-up iptables -t nat -A POSTROUTING -o wlan1 -j MASQUERADE
post-up iptables -A FORWARD -i wlan1 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
post-up iptables -A FORWARD -i wlan0 -o wlan1 -j ACCEPT
post-up systemctl daemon-reload
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)