spacepaste

  1.  
  2. #config_eth0="dhcp"
  3. #config_wan0="dhcp"
  4. rc_verbose="no"
  5. config_wan0="192.168.0.107 netmask 255.255.0.0"
  6. config_lan0="192.168.0.106 netmask 255.255.0.0"
  7. #config_wlan0="192.168.0.2/24" # the AP's IP and network
  8. #config_wlan0="192.168.0.2 netmask 255.255.0.0" # ip when not AP
  9. config_wlan0="dhcp"
  10. routes_wan0="default gw 192.168.0.1"
  11. #routes="default gw 192.168.0.1"
  12. modules="ethtool !iproute2" #prefer ifconfig
  13. #don't try to load unsupported modules
  14. modules="${modules} !adsl !br2684ctl !bridge !clip !netplugd !ifplugd !ipppd !pump !pppd "
  15. modules_wlan0+=" wpa_supplicant" # when not an ap
  16. dns_servers_lan0="127.0.0.1 "
  17. dns_servers_wan0="127.0.0.1 "
  18. dns_servers_wlan0="127.0.0.1"
  19. dns_servers_lo="127.0.0.1 "
  20. carrier_timeout_lan0=10 #fix for e1000
  21. # The network scripts are now part of net-misc/netifrc
  22. # In order to avoid sys-apps/openrc-0.12.4 from removing this file, this comment was
  23. # added; you can safely remove this comment. Please see
  24. # /usr/share/doc/netifrc*/README* for more information.
  25. ifdown_lan0="no"
  26. ethtool_change_lan0="wol g"
  27. ifdown="no"
  28. postdown() {
  29. [ "${IFACE}" = "lan0" ] && ethtool -s "${IFACE}" wol g
  30. return 0
  31. }
  32.