Gentoo /etc/conf.d/net

pchgo@Gentoo ~ $ cat /etc/conf.d/net
# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d. To create a more complete configuration,
# please review /usr/share/doc/openrc*/net.example* and save your configuration
# in /etc/conf.d/net (this file :]!).
config_eth0="10.6.11.1 netmask 255.255.254.0 brd 10.6.11.255"
routes_eth0="default via 10.6.11.254"


modules="iwconfig"
essid_wlan0="TP_LINK"
channel_wlan0="13"
config_wlan0="10.6.11.1 netmask 255.255.255.0 brd 10.6.11.255"
routes_wlan0="default via 10.6.11.254"

原文地址:https://www.cnblogs.com/pchgo/p/2419754.html