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
#17
WUHUUUUUU it is working Big Grin

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)
This is my /etc/network/interfaces:
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
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)