Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
请教: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
cee1
n00b
n00b


Joined: 11 Dec 2004
Posts: 33
Location: china

PostPosted: Fri Feb 02, 2007 12:55 pm    Post subject: 请教:gnome断网下启动程序异常慢 Reply with quote

断互联网情形下,启动gnome的程序好慢,要好一会儿才能反应过来。如果已经连到互联网或者停止net.eth的服务就启动速度正常。安装gnome 时USE用了avahi,不知道是否这个有关?和prelink没有关系吧。
Back to top
View user's profile Send private message
flyght
n00b
n00b


Joined: 31 Aug 2006
Posts: 18

PostPosted: Tue Mar 27, 2007 1:55 pm    Post subject: Reply with quote

我也遇到了这样的情况,似乎是dhcpcd进程在等待dhcp服务器的相应,连到无法正常分配ip的网络上也是如此。
我一般的做法就是,给eth0设置成静态ip来避免这样的情况,期待更好的办法 :)
Back to top
View user's profile Send private message
akar
Bodhisattva
Bodhisattva


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Sat Apr 07, 2007 12:20 am    Post subject: Reply with quote

  這個問題不好說,說錯了,只怕讓大家笑話。 不過,難得又碰上這問題了,所以我就厚著臉皮試試。  :oops:


  我猜是因為 X-Window 本來就是一個網絡通透的結構,可能啟動時要對網絡聯接做一些檢測和初始化吧?!

flyght:
1、 麻煩你把主機的主機對應 IP 放上來看看:
Code:
$ grep -v ^# /etc/hosts

2、接着檢查這兩行添進去,用來指向本機配置的完整性:
Quote:

127.0.0.1 localhost 我的主機名.我的域名 我的主機名
::1 localhost
# 我的主機名 - 用指令 hostname 查出來
# 我的域名  - 用指令 domainname 查出來
#::1 localhost - 這一行是有 ipv6 時要的。

_________________
AKar
Back to top
View user's profile Send private message
cee1
n00b
n00b


Joined: 11 Dec 2004
Posts: 33
Location: china

PostPosted: Fri Apr 20, 2007 11:13 am    Post subject: Reply with quote

如果字符登录时显示的提示有带unknown_domain字样的话,这个问题可能是baselayout>1.12.9设置与以往版本不兼容带来的。网络部分没有设置dns_domain造成的。
解决办法是:
首先删除没有用的配置文件/etc/hostname和/etc/conf.d/domainname
在/etc/conf.d/hostname中加入HOSTNAME="examplehost"引号内的自定义,下同
在/etc/conf.d/net中加入dns_domain="exampledomain.tld"
最后在/etc/hosts加入类似下行的:
127.0.0.1 examplehost.exampledomain.tld examplehost localhost.localdomain localhost
重启X服务器应该就可以了
Back to top
View user's profile Send private message
kaytoo
n00b
n00b


Joined: 09 Dec 2006
Posts: 22

PostPosted: Sat May 05, 2007 2:31 am    Post subject: Reply with quote

为什么不试试:(Why not have a try,)
Code:

/etc/init.d/eth0 stop
:P
Back to top
View user's profile Send private message
panlm
n00b
n00b


Joined: 29 Jan 2005
Posts: 45

PostPosted: Thu Sep 04, 2008 8:57 am    Post subject: Reply with quote

kaytoo wrote:
为什么不试试:(Why not have a try,)
Code:

/etc/init.d/eth0 stop
:P


强烈同意楼上的
每次打开openoffice之前就先运行这个
_________________
[img]http://setistat.kanuuli.de/userstats.php?l=1&id=113&lng=en[/img]
Back to top
View user's profile Send private message
xf3i
n00b
n00b


Joined: 28 Aug 2008
Posts: 18

PostPosted: Thu Sep 04, 2008 11:48 pm    Post subject: Reply with quote

rc-update del net.eth0

rc-update show
开机不要起动网络试试
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