Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd is slowing kde [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Ray ishido
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2006
Posts: 141
Location: Piracicaba (Brazil)

PostPosted: Tue Jan 17, 2006 12:58 pm    Post subject: dhcpcd is slowing kde [SOLVED] Reply with quote

hello,

I just finished the instalation of my first gentoo (ie, be patient, I am newb :wink: ), and I have a problem:
I boot in init 3. dhcpcd is not runing. I start kde. everything is great and very responsive. then I open a consol and, as root, I run dhcpcd. then for example if I try to open my home directory, konqueror will will take a min to open.
other example: if I open kmail, it will open very fast but it will take 1min 30 before It show me what is inside the mail.

I tried fc-cache -fv but the probleme is still here.

one thing I found strange is that, when I installed my gentoo, dhcpcd was lunch automatically at start-up (I think), but after I install some software (I don't know which one, but I was installing firefox, kaffeine, k3b, xine...) there is a net.eth0 which was lunch at the start-up (with a lot of error message about iproute2,...) and dhcp wasn't updated automaticaly anymore.
I have remove net.eth0 (rc-config -delete...), but I always need to lunch dhcpcd manualy.
I don't know how kde reacted before this because I had not run it before net.eth0 appears.

last things: my fstab is:
/dev/hda2 / reiserfs defaults,notail,noatime 1 1
/dev/hda3 /home reiserfs noatime 0 2
/dev/hda1 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro,users 0 0

I hope you can help me

edit : to be sure I add net.eth0 and the probleme is still here... :roll:


Last edited by Ray ishido on Tue Jan 17, 2006 3:18 pm; edited 3 times in total
Back to top
View user's profile Send private message
mks99
n00b
n00b


Joined: 10 Dec 2004
Posts: 58

PostPosted: Tue Jan 17, 2006 2:12 pm    Post subject: Reply with quote

You propably don't want dhcpd at all. dhcpd is a server process that provides other hosts on your network with IP addresses, not the machine it runs on.
You may want dhcpcd. But only if there's another machine on your network on which a dhcpd runs that can provide your local machine with an IP address.

You should provide some information about your network. Otherwise ist will be very difficult to help you.

Regards
mks
Back to top
View user's profile Send private message
Ray ishido
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2006
Posts: 141
Location: Piracicaba (Brazil)

PostPosted: Tue Jan 17, 2006 2:46 pm    Post subject: Reply with quote

hello,

thank you for your answer.

yes, I run dhcpcd. I have done a mistake in my first post and I will correct it.

I am connected to the network of my university. all I know is that my ip, and everything else is configured by dhcp.

on my system I follow step by step the gentoo instalation guide to install the network:
/etc/con.d/net -> nothing inside
/etc/hosts-> 127.0.0.1 localhost ray
rc-update add net.eth0 default

but there is something I hadn't understood before (sorry, I am leanrning :( ):
the net.eth0 script which worked well before and update my dhcp configuration.
now send me a lot of error:

* Starting eth0
* adsl does not support the required function provides
* apipa does not support the required function check_installed
* arping does not support the required function provides
* bonding does not support the required function provides
* bridge does not support the required function provides
* dhclient does not support the required function provides
* dhcpcd does not support the required function provides
* essidnet does not support the required function check_installed
* ifconfig does not support the required function provides
* ifplugd does not support the required function provides
* ipppd does not support the required function provides
* iproute2 does not support the required function provides
* iptunnel does not support the required function check_installed
* iwconfig does not support the required function provides
* macchanger does not support the required function check_installed
* macnet does not support the required function check_installed
* netplugd does not support the required function provides
* pppd does not support the required function provides
* pump does not support the required function provides
* rename does not support the required function check_installed
* system does not support the required function check_installed
* tuntap does not support the required function provides
* udhcpc does not support the required function provides
* vlan does not support the required function provides
* wpa_supplicant does not support the required function provides
* no interface module has been loaded

I beleived that net.eth0 was something add by a software and I don't understood that it's it that configure the network.
but I don't understand why it doesn't work well anymore (as I said earlier, it began to goes wrong after I had install some soft like kaffeine...), and I think that there is perhaps the solution of my probleme here.

how can I solve the problem? If you want to know more about my configuration ask me.
Back to top
View user's profile Send private message
Ray ishido
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2006
Posts: 141
Location: Piracicaba (Brazil)

PostPosted: Tue Jan 17, 2006 3:18 pm    Post subject: Reply with quote

oki, once the probleme had been better identified I found the solution on the forum.
so the problem was due to tue net.eth0 which wasn't load correctly.

the solution
#rm /etc/init.d/net.*
#rm /etc/conf.d/net
#emerge baselayout

re-configure some file (/etc/conf.d/net,...)
Back to top
View user's profile Send private message
mks99
n00b
n00b


Joined: 10 Dec 2004
Posts: 58

PostPosted: Tue Jan 17, 2006 3:20 pm    Post subject: Reply with quote

Ray ishido wrote:
I am connected to the network of my university. all I know is that my ip, and everything else is configured by dhcp.

on my system I follow step by step the gentoo instalation guide to install the network:
/etc/con.d/net -> nothing inside
/etc/hosts-> 127.0.0.1 localhost ray
rc-update add net.eth0 default

This is how it should be on a dhcp-configured system.
Ray ishido wrote:

but there is something I hadn't understood before (sorry, I am leanrning :( ):
the net.eth0 script which worked well before and update my dhcp configuration.
now send me a lot of error:

* Starting eth0
* adsl does not support the required function provides
* apipa does not support the required function check_installed
* arping does not support the required function provides
[...]

Seems like /etc/init.d/net.eth0 is somehow screwed.
Ray ishido wrote:

I beleived that net.eth0 was something add by a software and I don't understood that it's it that configure the network.
but I don't understand why it doesn't work well anymore (as I said earlier, it began to goes wrong after I had install some soft like kaffeine...), and I think that there is perhaps the solution of my probleme here.

net.eth0 comes with the baselayout package and should simply be a symbolic link to net.lo (which also comes with baselayout). This is how it should look like:
Code:
# ls -l /etc/init.d/net.*
lrwxrwxrwx  1 root root     6 21. Dez 12:22 /etc/init.d/net.eth0 -> net.lo*
-rwxr-xr-x  1 root root 24317 21. Dez 12:44 /etc/init.d/net.lo*

If that looks very different on your machine, that might be the culprit. Moving net.eth0 and net.lo out of the way and re-emerging baselayout might help.

Regards
mks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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