View previous topic :: View next topic |
Author |
Message |
winterheart n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 May 2006 Posts: 4
|
Posted: Sun Aug 13, 2006 12:36 pm Post subject: Hang on "Running dhcpcd..." |
|
|
Hello,
I'm quite new to gentoo and have a problem:
My box hangs after "Running dhcpcd..." when booting.
I have a Realtek 8139 ethernet card which is directly connected to my ADSL-modem. There is no router etc. in between and I have a 2.6.17-r4 kernel.
When I boot it in VMWare, it works because it uses NAT in this case.
I really don't know what to do now and therefor ask you for help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Headrush Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/111332295641fa913c28fea.jpg)
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Sun Aug 13, 2006 1:03 pm Post subject: |
|
|
What is the outout of Code: | emerge baselayout dhcpcd -pv |
If you don't have dhcpcd installed, you need to emerge a dhcp client. (like dhcpcd)
Since the DHCP init.d script isn't backgrounded, I guessing that you might have an older baselayout installed also. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
winterheart n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 May 2006 Posts: 4
|
Posted: Sun Aug 13, 2006 1:25 pm Post subject: |
|
|
Code: | emerge baselayout dhcpcd -pv | gives me
Code: | [ebuild U ] app-shells/bash-3.1_p16 [3.0-r12] -afs -bashlogger -build +nls 2,514 kB
[ebuild U ] sys-apps/baselayout-1.12.4-r2 [1.11.14-r3] -bootstrap -build -static -unicode 211 kB
[ebuild U ] net-misc/dhcpcd-2.0.5 [2.0.0] -build -debug -static 121 kB |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Headrush Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/111332295641fa913c28fea.jpg)
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Sun Aug 13, 2006 1:52 pm Post subject: |
|
|
Is this a fresh/new install or you haven't updated in a while?
I would think of updating your system to start. (If you don't want to update, try adding coldplug to the boot runlevel: Code: | rc-update add coldplug boot |
Could be the kernel module for your network card isn't loaded yet. If you update your system first, this should be fixed.
You could also add the network card kernel module name to /etc/modules.autoload/kernel-2.6
(r8139 I think is the name of yours) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
winterheart n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 May 2006 Posts: 4
|
Posted: Mon Aug 14, 2006 9:54 am Post subject: |
|
|
Updating several packages and adding 8139too and 8139cp to autoload has worked.
I did a etc-update as suggested by emerge but now I get several errors while booting (although it boots) and I can't shutdown propperly
How can I fix that? Seems like it has overwritten quite a few config files. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Headrush Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/111332295641fa913c28fea.jpg)
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Mon Aug 14, 2006 12:22 pm Post subject: |
|
|
Can't really say without seeing he specific errors.
Do you remember what /etc/ files where changed by etc-update? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pluvius Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_farnsworth_2.gif)
Joined: 15 Oct 2002 Posts: 167 Location: Phoenix, Arizona
|
Posted: Mon Aug 14, 2006 9:03 pm Post subject: |
|
|
All,
I'm having the same problems after the update of baselayout to 1.12.4-r2. This is an existing installation. It's been up and running for a number of years. eth1 is the correct network interface card to use (on-board RealTek 8139) for network interface, but start-up will only look at eth0. And, of course, it fails DCHP by timing out looking for a DCHP server. What is going wrong?
I tried to follow some of the other threads here, but it still won't work. I even tried to add the udev rules stated in another thread. It still will not bring up my internet network connection. Can somebody point me in the right direction? How do I get Gentoo to use eth1 for network connection?
Regards,
Pluvius |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
phw1 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2006 Posts: 5
|
Posted: Tue Aug 15, 2006 9:24 am Post subject: |
|
|
I got this error when booting, too
I installed dhcpcd 2.0.8-r3 and baselayout 1.12.1, kernel 2.6.17 with the modules for my network card compiled in it.
Uberlord, can you please explain where i got to insert
what might solve that problem?
thanks, phw1 |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Headrush Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/111332295641fa913c28fea.jpg)
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Tue Aug 15, 2006 12:43 pm Post subject: |
|
|
phw1 wrote: | I got this error when booting, too
I installed dhcpcd 2.0.8-r3 and baselayout 1.12.1, kernel 2.6.17 with the modules for my network card compiled in it.
Uberlord, can you please explain where i got to insert
what might solve that problem?
thanks, phw1 |
I'm not Uberlord, but it goes in /etc/conf.d/net. ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
phw1 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 02 Aug 2006 Posts: 5
|
Posted: Tue Aug 15, 2006 3:11 pm Post subject: |
|
|
thanks, Headrush
I inserted dhcpcd_eth1="-a" into /etc/conf.d/net
but eth1 still doesn't get an IP... ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Pluvius Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_farnsworth_2.gif)
Joined: 15 Oct 2002 Posts: 167 Location: Phoenix, Arizona
|
Posted: Tue Aug 15, 2006 4:52 pm Post subject: |
|
|
All,
I solved my problem by switching the ethernet cable from eth1 to eth0, so I now have network/internet capability. However, I would like to understand what happened during the latest baselayout update that caused these network problems. I did run etc-update after the upgrade. The only file I merged interactively was the /etc/modules.autoload.d/kernel-2.6. It was trying to remove some of my modules, but I accepted any additins to the file.
It appears that on start-up, the system ignores any network card other than eth0. Both my eth0 and eth1 cards are identified and drivers loaded, but the system only activates eth0. Even when the start-up shows that there is no connection on eth0 and there is a connection on eth1, the system activates only eth0. Why is that? It's beginning to sound like a bug.
Pluvius |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|