Re: [gentoo-user] dhcpcd 2.0.0 - Boot process hangs
On Tuesday 06 September 2005 17.20, Christoph Daldrup wrote: Finally, here is the solution to this problem: Don't emerge dhcpcd with the 'debug' USE flag. Well, this is actually the worst thing on Gentoo: in the end the origin of a problem is always located in front of the computer :). By the way, it's never a good idea to use debugging unless you really want to debug something. Did you set the USE=debug globally? I made the mistake to restart my server with enabled debugging in OpenLDAP. The machine didn't get further than to LDAP. It took me some time to connect a monitor and keyboard to the machine and find the problem ;). You never stop learning (with Linux) :). Stefan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dhcpcd 2.0.0 - Boot process hangs
Am 31.08.2005 18:31 schrieb Christoph Daldrup: I've recently done an emerge -tuvD world and dhcpcd was updated from version dhcpcd-1.3.22_p4-r11 to version 2.0.0. The emerge went fine, no error message, no note to update config-files, everything seemed to be fine. But at the next reboot, I wasn't able to get an IP adress, and the boot process hanged at that stage. The last thing shown looked like the MAC adress, although I'm not sure on that. Finally, here is the solution to this problem: Don't emerge dhcpcd with the 'debug' USE flag. Thanks to the friendly helper at the gentoo web forum. Christoph -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dhcpcd 2.0.0 - Boot process hangs
Am 01.09.2005 14:36 schrieb Christoph Daldrup: Am 01.09.2005 09:41 schrieb Stefan Frank: I just did a emerge -u dhcp and I was able to do /etc/init.d/net.eth0 restart without problems. Try to clear the cache of dhcpcd under /var/lib/dhcpc (?) and to start it again. Thanks for that suggestion, I will try later. OK, I tried again. I do get an IP, I can connect to the internet, but the dhcpcd-process does not finish. In a working gentoo environment that is not a big problem, but while booting, this is bad. This is the output I get: * Bringing up eth1 * dhcp * Running dhcpcd ... ClassID = Linux 2.6.12-gentoo-r9 i686 ClientID = 61.7.1.00.0E.35.BC.F8.71 parseDhcpMsgRecv: 6 options received: i=1 len=4 option = 255.255.255.0 i=3 len=4 option = 192.168.0.1 i=6 len=4 option = 192.168.0.1 i=51 len=4 option = 259200 i=53 len=1 option = 2 i=54 len=4 option = 192.168.0.1 DhcpMsgRecv-yiaddr = 192.168.0.2 DhcpMsgRecv-siaddr = 0.0.0.0 DhcpMsgRecv-giaddr = 0.0.0.0 DhcpMsgRecv-sname = ServerHardwareAddr = 00.09.5B.D8.68.18 parseDhcpMsgRecv: 9 options received: i=1 len=4 option = 255.255.255.0 i=3 len=4 option = 192.168.0.1 i=6 len=4 option = 192.168.0.1 i=28 len=4 option = 192.168.0.255 i=51 len=4 option = 259200 i=53 len=1 option = 5 i=54 len=4 option = 192.168.0.1 i=58 len=4 option = 0 i=59 len=4 option = 0 DhcpMsgRecv-yiaddr = 192.168.0.2 DhcpMsgRecv-siaddr = 0.0.0.0 DhcpMsgRecv-giaddr = 0.0.0.0 DhcpMsgRecv-sname = ServerHardwareAddr = 00.09.5B.D8.68.18 Then the output stops, but I don't get a prompt. :( What am I doing wrong? Christoph -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dhcpcd 2.0.0 - Boot process hangs
On Wednesday 31 August 2005 19.02, Christoph Daldrup wrote: Am 31.08.2005 18:44 schrieb Sergio Polini: I emerged -uvDN world on Sunday and dhcpcd 2.0.0 is masked. According to http://packages.gentoo.org/ebuilds/?dhcpcd-2.0.0 , it isn't anymore, at least for amd64, x86 and sparc. ;) On my local system, it ist masked through the package.mask file now. Christoph I just did a emerge -u dhcp and I was able to do /etc/init.d/net.eth0 restart without problems. Try to clear the cache of dhcpcd under /var/lib/dhcpc (?) and to start it again. Maybe you should consider using sys-apps/ifplugd. It's quite useful - it starts the net.ethX only if the cable is plugged in. If there is a problem, you just could remove the plug and the net.ethX is not started. And you may not use Knoppix to solve such problems, there are possibilities to append a boot option in GRUB/LILO (there was just a thread about it) to boot into single mode. Hope this helps! Stefan -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dhcpcd 2.0.0 - Boot process hangs
Am 01.09.2005 09:41 schrieb Stefan Frank: I just did a emerge -u dhcp and I was able to do /etc/init.d/net.eth0 restart without problems. Try to clear the cache of dhcpcd under /var/lib/dhcpc (?) and to start it again. Thanks for that suggestion, I will try later. Maybe you should consider using sys-apps/ifplugd. It's quite useful - it starts the net.ethX only if the cable is plugged in. If there is a problem, you just could remove the plug and the net.ethX is not started. I am using ifplugd, but when the cable is not connected, it tries to start my wifi connection with dhcp... And you may not use Knoppix to solve such problems, there are possibilities to append a boot option in GRUB/LILO (there was just a thread about it) to boot into single mode. Thanks for that hint, too. :) Christoph -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dhcpcd 2.0.0 - Boot process hangs
Christoph Daldrup: I've recently done an emerge -tuvD world and dhcpcd was updated from version dhcpcd-1.3.22_p4-r11 to version 2.0.0. The emerge went fine, no error message, no note to update config-files, everything seemed to be fine. But at the next reboot, I wasn't able to get an IP adress, [etc.] I emerged -uvDN world on Sunday and dhcpcd 2.0.0 is masked. HTH Sergio -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] dhcpcd 2.0.0 - Boot process hangs
Am 31.08.2005 18:44 schrieb Sergio Polini: I emerged -uvDN world on Sunday and dhcpcd 2.0.0 is masked. According to http://packages.gentoo.org/ebuilds/?dhcpcd-2.0.0 , it isn't anymore, at least for amd64, x86 and sparc. ;) On my local system, it ist masked through the package.mask file now. Christoph -- gentoo-user@gentoo.org mailing list