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