Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
从kde换到gnome,更新系统后,网络出现问题!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
zh1262
n00b
n00b


Joined: 24 Apr 2011
Posts: 1

PostPosted: Tue May 10, 2011 2:28 am    Post subject: 从kde换到gnome,更新系统后,网络出现问题! Reply with quote

前些天没事做,把系统的KDE图形界面换成了GNOME,换了后除了火狐打不开了其它使用都正常。
昨天用:emerge --update --newuse --deep @world 更新了系统。
之后执行了:emerge --depclean、revdep-rebuild。
现在系统启动后eth0都不自启动,而且手动启动后似乎都不到默认配置文件中读取配置。
我检查了配置文件,都没变。
我用的校园网,静态IP。
我用ifconfig eth0 …… 命令改了IP,能认证成功,可DNS不起作用。能ping通IP地址,不能PING域名。
/etc/resolve.conf 没错误。
不知道哪里出的问题,不知和KDE换到GNOME有没关系。有知道的朋友帮帮忙~
用的2.6.37-r4内核。
谢谢啦! :)
Back to top
View user's profile Send private message
zhangmms
n00b
n00b


Joined: 20 May 2011
Posts: 4

PostPosted: Fri May 20, 2011 11:43 am    Post subject: Reply with quote

手动修改resolve.conf能起作用么?
Back to top
View user's profile Send private message
gj313
n00b
n00b


Joined: 11 May 2011
Posts: 9

PostPosted: Sat May 21, 2011 11:30 am    Post subject: Reply with quote

我用的也是GNOME,校园网,动态IP
默认DHCP 系统启动时 总要花一段时间连接网络

因为需要锐捷客户端,系统制动之后 eth0 连接不成功就关掉了,需要
Code:
ifconfig eth0 up

启动,然后运行客户端软件,最后需要
Code:
dpchcd eth0

这样网络就可以使用的了。

可以在 /etc/conf.d/net 中设置
Code:

config_eth0=("dhcp")
config_eth0=("null")


这样开机的时候就不会一直DHCP连接不成功关掉eth0了。
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum