Snippet content copied to clipboard.
Are you sure to delete this snippet? No, don't delete
  1. root@snic10e:/# ll /sys/class/net/
  2. drwxr-xr-x 2 root root 0 Jan 1 1970 ./
  3. drwxr-xr-x 24 root root 0 Jan 1 1970 ../
  4. lrwxrwxrwx 1 root root 0 Nov 22 11:16 bond0 -> ../../devices/virtual/net/bond0/
  5. -rw-r--r-- 1 root root 4096 Nov 22 11:16 bonding_masters
  6. lrwxrwxrwx 1 root root 0 Jan 1 1970 eth0 -> ../../devices/platform/soc@0/11800a0000000.pip/net/eth0/
  7. lrwxrwxrwx 1 root root 0 Jan 1 1970 eth1 -> ../../devices/platform/soc@0/11800a0000000.pip/net/eth1/
  8. lrwxrwxrwx 1 root root 0 Jan 1 1970 eth2 -> ../../devices/platform/soc@0/11800a0000000.pip/net/eth2/
  9. lrwxrwxrwx 1 root root 0 Jan 1 1970 eth3 -> ../../devices/platform/soc@0/11800a0000000.pip/net/eth3/
  10. lrwxrwxrwx 1 root root 0 Jan 1 1970 lo -> ../../devices/virtual/net/lo/
  11. lrwxrwxrwx 1 root root 0 Jan 1 1970 loop0 -> ../../devices/platform/soc@0/11800a0000000.pip/net/loop0/
  12. lrwxrwxrwx 1 root root 0 Jan 1 1970 loop1 -> ../../devices/platform/soc@0/11800a0000000.pip/net/loop1/
  13. lrwxrwxrwx 1 root root 0 Jan 1 1970 loop2 -> ../../devices/platform/soc@0/11800a0000000.pip/net/loop2/
  14. lrwxrwxrwx 1 root root 0 Jan 1 1970 loop3 -> ../../devices/platform/soc@0/11800a0000000.pip/net/loop3/
  15. root@snic10e:/# uci show network
  16. network.loopback=interface
  17. network.loopback.device='lo'
  18. network.loopback.proto='static'
  19. network.loopback.ipaddr='127.0.0.1'
  20. network.loopback.netmask='255.0.0.0'
  21. network.globals=globals
  22. network.globals.ula_prefix='fd5b:0cfa:61fb::/48'
  23. network.globals.packet_steering='1'
  24. network.@device[0]=device
  25. network.@device[0].name='br-lan'
  26. network.@device[0].type='bridge'
  27. network.@device[0].ports='eth1' 'eth2'
  28. network.lan=interface
  29. network.lan.device='br-lan'
  30. network.lan.proto='static'
  31. network.lan.netmask='255.255.255.0'
  32. network.lan.ip6assign='60'
  33. network.lan.ipaddr='192.168.200.1'
  34. network.wan=interface
  35. network.wan.device='eth0'
  36. network.wan.proto='dhcp'
  37. network.wan6=interface
  38. network.wan6.device='eth0'
  39. network.wan6.proto='dhcpv6'
  40. network.wan6.auto='0'
  41. network.wan6.reqaddress='try'
  42. network.wan6.reqprefix='auto'
  43. root@snic10e:/#

Edit this Snippet