My eth0 is gone 

Newsgroups:  gmane.linux.debian.user
Date:        Thu, 08 Jul 2004 15:25:45 -0400

Mystically, after I reboot Debian, my eth0 device is gone.

% networking start
eth0: ERROR while getting interface flags: No such device
% ifconfig eth0 inet 192.168.0.99 up
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device

Luckily, I managed to get it back. I'm just wondering,

what could be the reason that I lost my eth0? I remove the discover package, could it be the reason? Is discover package really necessary?

I get it back by

modprobe sis900
depmod -a

Can the effect last beyond next boot (and beyond)?

Thanks

My eth0 is gone 

> discover package, could it be the reason? Is discover package
> really necessary?

No, discover isn't really necessary. In fact, it could possibly be the source of the problem, but that's only speculation.

Justin Guerin

My eth0 is gone 

> what could be the reason that I lost my eth0? I remove the
> discover package, could it be the reason? Is discover package
> really necessary?

Yes, it can. It depends on how your system was setup before you removed discover.

> modprobe sis900
>
> Can the effect last beyond next boot (and beyond)?

Yes, it can.

Check /etc/modules and make sure sis900 is listed there. Then check /etc/network/interfaces and make sure you have a stanza for eth0 with either the ip and other netorking info required, or a line telling it to use dhcp to get eth0's ip.

Jacob

My eth0 is gone 

echo sis900 >> /etc/modules

and that will get loaded on each reboot. No need to do depmod -a at all. that command does something completely different and unrelated to your problem. Furthermore, it gets run on each successive init.

Thomas Adam