Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. # This file describes the network interfaces available on your system
  2. # and how to activate them. For more information, see interfaces(5).
  3.  
  4. # The primary network interface
  5. #auto eth0
  6. #iface eth0 inet dhcp
  7. # Example to keep MAC address between reboots
  8. #hwaddress ether DE:AD:BE:EF:CA:FE
  9.  
  10. ##connman: ethX static config
  11. #connmanctl services
  12. #Using the appropriate ethernet service, tell connman to setup a static IP address for that service:
  13. #sudo connmanctl config <service> --ipv4 manual <ip_addr> <netmask> <gateway> --nameservers <dns_server>
  14.  
  15. ##connman: WiFi
  16. #
  17. #connmanctl
  18. #connmanctl> tether wifi off
  19. #connmanctl> enable wifi
  20. #connmanctl> scan wifi
  21. #connmanctl> services
  22. #connmanctl> agent on
  23. #connmanctl> connect wifi_*_managed_psk
  24. #connmanctl> quit
  25.  
  26. # The primary network interface - the one that PPP is on
  27. auto eth0
  28. iface eth0 inet manual
  29. mtu 1508
  30. up /sbin/ip link set mtu 1508 dev eth0
  31.  
  32. auto aaisp
  33. iface aaisp inet ppp
  34. pre-up /sbin/ip link set eth0 up
  35. pre-up /sbin/ip link set mtu 1508 dev eth0
  36. provider aaisp
  37.  
  38. auto eth1
  39. iface eth1 inet static
  40. address 217.169.7.65
  41. netmask 255.255.255.240
  42. dns-nameservers 217.169.20.20 217.169.20.21
  43. # THOSE ARE AAISP NAME SERVERS
  44.  
  45. iface eth1 inet6 static
  46. address 2001:8b0:14d6:6779::1
  47. netmask 64
  48. dns-nameservers 2001:8b0::2020 2001:8b0::2021
  49. # THOSE ARE AAISP NAME SERVERS
  50.  
  51. # Ethernet/RNDIS gadget (g_ether)
  52. # Used by: /opt/scripts/boot/autoconfigure_usb0.sh
  53. iface usb0 inet static
  54. address 192.168.7.2
  55. netmask 255.255.255.252
  56. network 192.168.7.0
  57. gateway 192.168.7.1
  58. :
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement