On Thu February 14 2008, Douglas A. Tutty wrote: > OK, initscripts; something to work on step by step. > > Here's what I'm hearing. > > 1. Power off > 2. Power on > 3. Boot progresses, init runs > 4. system comes up but network doesn't come up > 5. ifdown eth0 && ifup eth0 brings the network back up > > 6? But then all those initscripts that come after netoworking may > be messed up. > > > Questions: > > Does lo come up; is it just eth0?
when I rebooted just now, it came up to the text login, my NVIDIA driver didn't work, don't ask me WHY.. lo showed up as did eth0. eth0 showed 169.254.3.181 > > What happens if instead of ifdown eth0 && ifup eth0, you do > # /etc/init.d/networking restart I got these errors: option_space_encapsulate: option space agent does not exist but is configured DHCPRELEASE on eth0 to 192.168.10.1 ( my router) port 67 then ifconfig showed just lo so I rebooted and tried to put in your init=/bin/sh but no matter where I put it, I got errors, so I tried booting into 2.6.18-6 single user mode. ifonfig then showed eth0 active and working! > > ? > > Is there anything in /var/log/boot or /var/log/syslog from the boot > period that gives any error info? /var/log# cat boot (Nothing has been logged yet.) here are a few lines from syslog: Feb 15 09:19:17 paulandcilla apcupsd[4558]: NIS server startup succeeded Feb 15 09:19:18 paulandcilla NetworkManager: <info> DHCP daemon state is now 1 (starting) for interface eth0 Feb 15 09:19:18 paulandcilla kernel: nvidia: module license 'NVIDIA' taints kernel. Feb 15 09:19:18 paulandcilla kernel: ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 169 Feb 15 09:19:18 paulandcilla kernel: PCI: Setting latency timer of device 0000:01:00.0 to 64 Feb 15 09:19:18 paulandcilla kernel: NVRM: loading NVIDIA UNIX x86 Kernel Module 169.09 Fri Jan 11 14:38:28 PST 2008 Feb 15 09:19:19 paulandcilla dhclient: option_space_encapsulate: option space agent does not exist, but is configured. Feb 15 09:19:19 paulandcilla dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67 Feb 15 09:19:20 paulandcilla kdm: :0[4652]: IO Error in XOpenDisplay Feb 15 09:19:20 paulandcilla kdm[4634]: Display :0 cannot be opened Feb 15 09:19:20 paulandcilla kdm[4634]: Unable to fire up local display :0; disabling. Feb 15 09:19:20 paulandcilla dhclient: DHCPACK from 192.168.10.1 Feb 15 09:19:20 paulandcilla avahi-daemon[4452]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.10.2. > > Boot with the kernel command line init=/bin/sh > you'll get a shell prompt after the kernel boots, / will be ro > > cd /etc/rcS.d > ls > > now, manually, for each script that starts with S, run it with the > parameter "start". After each, run /sbin/ifconfig and see what is up. -- Paul Cartwright Registered Linux user # 367800 Registered Ubuntu User #12459