Advertisement
Guest User

Untitled

a guest
Nov 10th, 2019
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. uci show network; uci show dhcp:
  2. network.loopback=interface
  3. network.loopback.ifname='lo'
  4. network.loopback.proto='static'
  5. network.loopback.ipaddr='127.0.0.1'
  6. network.loopback.netmask='255.0.0.0'
  7. network.globals=globals
  8. network.globals.ula_prefix='fd25:7551:adf0::/48'
  9. network.lan=interface
  10. network.lan.type='bridge'
  11. network.lan.ifname='eth0'
  12. network.lan.proto='static'
  13. network.lan.ipaddr='192.168.64.1'
  14. network.lan.netmask='255.255.255.0'
  15. network.lan.ip6assign='60'
  16. network.lan.dns='176.103.130.130 176.103.130.131'
  17. network.lan_dev=device
  18. network.lan_dev.name='eth0'
  19. network.lan_dev.macaddr='70:4d:7b:15:6a:c8'
  20. network.wan=interface
  21. network.wan.ifname='eth1'
  22. network.wan.type='bridge'
  23. network.wan.proto='static'
  24. network.wan.ipaddr=''
  25. network.wan.netmask='255.255.0.0'
  26. network.wan.gateway='89.212.0.1'
  27. network.wan.peerdns='0'
  28. network.wan.dns='176.103.130.130 176.103.130.130'
  29. network.wan_dev=device
  30. network.wan_dev.name='eth1'
  31. network.wan_dev.macaddr='70:4d:7b:15:6a:cc'
  32. network.wan6=interface
  33. network.wan6.ifname='eth1'
  34. network.wan6.proto='dhcpv6'
  35. network.wan6.peerdns='0'
  36. network.wan6.dns='2a00:5a60::ad1:0ff 2a00:5a60::ad2:0ff'
  37. network.@switch[0]=switch
  38. network.@switch[0].name='switch0'
  39. network.@switch[0].reset='1'
  40. network.@switch[0].enable_vlan='1'
  41. network.@switch_vlan[0]=switch_vlan
  42. network.@switch_vlan[0].device='switch0'
  43. network.@switch_vlan[0].vlan='1'
  44. network.@switch_vlan[0].ports='1 2 3 4 0'
  45. dhcp.@dnsmasq[0]=dnsmasq
  46. dhcp.@dnsmasq[0].domainneeded='1'
  47. dhcp.@dnsmasq[0].boguspriv='1'
  48. dhcp.@dnsmasq[0].filterwin2k='0'
  49. dhcp.@dnsmasq[0].localise_queries='1'
  50. dhcp.@dnsmasq[0].rebind_protection='1'
  51. dhcp.@dnsmasq[0].rebind_localhost='1'
  52. dhcp.@dnsmasq[0].local='/lan/'
  53. dhcp.@dnsmasq[0].domain='lan'
  54. dhcp.@dnsmasq[0].expandhosts='1'
  55. dhcp.@dnsmasq[0].nonegcache='0'
  56. dhcp.@dnsmasq[0].authoritative='1'
  57. dhcp.@dnsmasq[0].readethers='1'
  58. dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
  59. dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto'
  60. dhcp.@dnsmasq[0].nonwildcard='1'
  61. dhcp.@dnsmasq[0].localservice='1'
  62. dhcp.@dnsmasq[0].serversfile='/tmp/adb_list.overall'
  63. dhcp.lan=dhcp
  64. dhcp.lan.interface='lan'
  65. dhcp.lan.start='100'
  66. dhcp.lan.limit='150'
  67. dhcp.lan.leasetime='12h'
  68. dhcp.lan.dhcpv6='server'
  69. dhcp.lan.ra='server'
  70. dhcp.lan.ra_management='1'
  71. dhcp.lan.dhcp_option='6,176.103.130.130,176.103.130.131'
  72. dhcp.wan=dhcp
  73. dhcp.wan.interface='wan'
  74. dhcp.wan.ignore='1'
  75. dhcp.odhcpd=odhcpd
  76. dhcp.odhcpd.maindhcp='0'
  77. dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'
  78. dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'
  79. dhcp.odhcpd.loglevel='4'
  80.  
  81. head -n -0 /etc/resolv.* /tmp/resolv.*:
  82. ==> /etc/resolv.conf <==
  83. search lan
  84. nameserver 127.0.0.1
  85.  
  86. ==> /tmp/resolv.conf <==
  87. search lan
  88. nameserver 127.0.0.1
  89.  
  90. ==> /tmp/resolv.conf.auto <==
  91. # Interface lan
  92. nameserver 176.103.130.130
  93. nameserver 176.103.130.131
  94. # Interface wan
  95. nameserver 176.103.130.130
  96. nameserver 176.103.130.130
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement