-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Saturday 2008-07-05 at 08:03 -0700, James D. Parra wrote:
Then the problem you have to solve is why "dhcp" does not get an IP.
/etc/sysconfig/network/{something}:
DHCLIENT_WAIT_AT_BOOT="5"
change that as appropiate. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thank you, Carlos. Changed the wait-time to 65 seconds and still the mounts nor ntp were done. Maybe I am barking up the wrong tree.
Where in the boot process does mounting take place? Any ideas what else I can look for?
Local filesystems are mounted very early, from boot.localfs I think. Later, networked filesystem are mounted via the nfs script.
Examined the message log and see that ntp can't find (or perhaps resolve?) the server, ntp.example.com;
Jul 5 07:18:35 test-ws syslog-ng[2553]: syslog-ng version 1.6.12 going down Jul 5 07:19:45 test-ws syslog-ng[2509]: syslog-ng version 1.6.12 starting
Jul 5 07:19:48 test-ws avahi-daemon[2609]: Network interface enumeration completed.
Jul 5 07:19:50 test-ws avahi-dnsconfd[2734]: Successfully connected to Avahi daemon.
Avahi? :-? :-O
Jul 5 07:19:50 test-ws ntpdate[2686]: can't find host ntp.example.com <<------- "Why?"
No network, or no resolving.
Now I see dhcp-discover request in /var/log/messages;
<snip> Jul 5 07:19:55 test-ws dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2 Jul 5 07:19:55 test-ws dhclient: DHCPOFFER from 10.0.0.5 <snip>
...and more; <snip> Jul 5 07:20:00 test-ws dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 Jul 5 07:20:00 test-ws dhclient: DHCPACK from 10.0.0.5 Jul 5 07:20:00 test-ws dhclient: bound to 10.0.0.127 -- renewal in 1721 seconds.
So, maybe you have to tell it to wait 3 minutes. O use a fixed IP.
Jul 5 07:20:00 test-ws avahi-daemon[2609]: Withdrawing address record for fe80::203:25ff:fe4f:c682 on eth0.
Avahi again... :-?
How can I ensure that dhcp-discover takes place earlier in the boot cycle?
Search for the problem with a packet sniffer on the same network, and look up the server daemon logs, to see why the IP is not given earlier. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFIb7UMtTMYHG2NR9URAtSxAJ9lazFHJoe2sRl5w9DpFYrARE7YXACZAZhF CG7dkQIjtx48Zsqs+p9ug44= =CA1S -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org