gentoo2005.1 ip怎么都设不好
/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 /etc/conf.d/net.example and save your configuration
## in /etc/conf.d/net (this file :]!).
#modules=( "ifconfig" )
modules=( "iproute2" )
#iface_eth0="192.168.2.199 broadcast 192.168.2.255 netmask #255.255.255.0"
#gateway="eth0/192.168.2.1"
#config_eth0=("192.168.2.199/24 brd 192.168.2.255")
#config_eth0=("192.168.2.199 broadcast 192.168.2.255 netmask #255.255.255.0")
#config_eth0=( "192.168.2.199 netmask 255.255.255.0" )
config_eth0=( "192.168.2.199/24" )
routes_eth0=( "default via 192.168.2.1" )
提示错误:
* Caching service dependencies ... [ ok ]
* Starting lo
* Bringing up lo
* "127.0.0.1/8
* No loaded modules provide ""127.0.0.1/8" ("127.0.0.1/8_start)
* brd
* No loaded modules provide "brd" (brd_start)
* 127.255.255.255" [ !! ]
* Starting eth0
* Bringing up eth0
* "192.168.2.199/24"
* No loaded modules provide ""192.168.2.199/24"" ("192.168.2.199/24[ !! ]
打#号的都试过了
还是出错 我可是按文档及net.example的说明设置的
也不知道漏了哪一步 给你参考。
config_eth0=( "192.168.0.89 netmask 255.255.255.0 brd 192.168.0.255" )
routes_eth0=( "default gw 192.168.0.1" )
页:
[1]