|
我在公司是通过路由器上网,gentoo现在每次启动后都上不了网,必须cp resolvconf /etc/
原以为是搞成了dhcp,但检查我的/etc/conf.d/net,我是设置的静态ip呀,如下:
# 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 :]!).
dns_domain_lo="homenetwork"
config_eth0=( "192.168.1.131 netmask 255.255.255.0 brd 192.168.1.255" )
routes_eth0=( "default gw 192.168.1.1" )
mtu_eth0="1200
求教了 |
|