Linux Debian support - No network after upgrade to sarge

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > July 2005 > No network after upgrade to sarge





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author No network after upgrade to sarge
Eggert Ehmke

2005-06-21, 7:53 am

I screwed up my rootserver. It was running fine with Debian Woody,
kernel 2.4.26. Some weeks ago I upgraded to Sarge, all was fine. I
never rebooted the system at that time.

Now I wanted the 2.6 kernel, so I installed kernel-image-2.6.8-2-868
and module-init-tools. I put the new boot option as default in
lilo.conf and also added the initrd line. Run lilo, all looked fine.
After reboot, I had no access to the server anymore.

No problem, I thought, booted the remote recue system, mounted the
partitions and proc, chrooted into the system and put the old kernel
as default again. Reran lilo, unmounted partitions and rebooted again.
This is where the pain began: still no network access! When I look
into kern.log, it seems that the network driver is loaded ok, but eth0
never gets an ip address. /etc/network/interfaces is ok too and was
not changed in the process.

I can still reboot into the rescue system. Any ideas?
Eggert
bastian eendt

2005-06-22, 5:47 pm

Eggert Ehmke wrote:
> I screwed up my rootserver. It was running fine with Debian Woody,
> kernel 2.4.26. Some weeks ago I upgraded to Sarge, all was fine. I
> never rebooted the system at that time.
>
> Now I wanted the 2.6 kernel, so I installed kernel-image-2.6.8-2-868
> and module-init-tools. I put the new boot option as default in
> lilo.conf and also added the initrd line. Run lilo, all looked fine.
> After reboot, I had no access to the server anymore.
>
> No problem, I thought, booted the remote recue system, mounted the
> partitions and proc, chrooted into the system and put the old kernel
> as default again. Reran lilo, unmounted partitions and rebooted again.
> This is where the pain began: still no network access! When I look
> into kern.log, it seems that the network driver is loaded ok, but eth0
> never gets an ip address. /etc/network/interfaces is ok too and was
> not changed in the process.
>
> I can still reboot into the rescue system. Any ideas?
> Eggert



A few things you might want to check and/or post here:


Does lsmod mention your network driver? Do you get any messages when you
remove and reload the driver? (rmmod, modprobe)

What kind of network card do you have? What's the name of the driver?

What information does ifconfig give?

Do you get any messages when you bring eth0 down and up again? (ifdown ifup)

Is tcp/ip working ok? (ping localhost)


-- Bastian
Eggert Ehmke

2005-06-23, 2:46 am

bastian eendt <unbastian320@melvex.xs4all.nl> schrieb:

>Eggert Ehmke wrote:
[vbcol=seagreen]
>Does lsmod mention your network driver? Do you get any messages when you
>remove and reload the driver? (rmmod, modprobe)
>
>What kind of network card do you have? What's the name of the driver?
>
>What information does ifconfig give?
>
>Do you get any messages when you bring eth0 down and up again? (ifdown ifup)
>
>Is tcp/ip working ok? (ping localhost)


It turned out that the routing table was empty. Changing from static
to dhcp did help, at least with the 2.4 kernel. Still unclear to me:
what in the process of upgrading to sarge confused my routing? It was
definitely working with static ip before, even after the upgrade
(until the reboot).
The 2.6 problem seems to be a module/initrd problem, I will
investigate that. Thanks for your hints. There are some homepages
hosted on the server, I cannot reboot it all the time.
Eggert

John Hasler

2005-07-01, 8:46 pm

Eggert Ehmke writes:
> Still unclear to me: what in the process of upgrading to sarge confused
> my routing?


IIRC there was some sort of a change in 2.6 in the order in which labels
are assigned to interfaces.

Look at ifrename.
--
John Hasler
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com