Guest User

Untitled

a guest
Jan 12th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. auto lo
  2. iface lo inet loopback
  3.  
  4. auto eth0
  5. iface eth0 inet manual
  6.  
  7. auto wlan0
  8. allow-hotplug wlan0
  9. iface wlan0 inet manual
  10. wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  11. # post-up route add default gw 10.110.0.11; echo "1" > /proc/sys/net/ipv4/ip_forward ; iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
  12.  
  13. interface eth0
  14. static ip_address=192.168.0.5/24
  15. static routers=192.168.0.2
  16. static domain_name_servers=8.8.8.8 8.8.4.4
  17.  
  18. eth0 Link encap:Ethernet HWaddr b8:27:eb:8b:a0:66
  19. inet addr:192.168.0.5 Bcast:192.168.0.255 Mask:255.255.255.0
  20. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  21. RX packets:534 errors:0 dropped:0 overruns:0 frame:0
  22. TX packets:392 errors:0 dropped:0 overruns:0 carrier:0
  23. collisions:0 txqueuelen:1000
  24. RX bytes:37966 (37.0 KiB) TX bytes:44764 (43.7 KiB)
  25.  
  26. lo Link encap:Local Loopback
  27. inet addr:127.0.0.1 Mask:255.0.0.0
  28. UP LOOPBACK RUNNING MTU:65536 Metric:1
  29. RX packets:40 errors:0 dropped:0 overruns:0 frame:0
  30. TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
  31. collisions:0 txqueuelen:0
  32. RX bytes:3232 (3.1 KiB) TX bytes:3232 (3.1 KiB)
  33.  
  34. wlan0 Link encap:Ethernet HWaddr 00:0b:81:89:08:c9
  35. inet addr:10.110.191.221 Bcast:10.110.255.255 Mask:255.255.0.0
  36. UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
  37. RX packets:20 errors:0 dropped:10 overruns:0 frame:0
  38. TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
  39. collisions:0 txqueuelen:1000
  40. RX bytes:8486 (8.2 KiB) TX bytes:5814 (5.6 KiB)
Add Comment
Please, Sign In to add comment