[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: eth0: unknown interface

Well, what you said about the modules.conf would only prevent the computer
from loading the module for the network card when booting. By loading in
this module the interface (eth0, or if there are more network cards eth1,
eth2 etc.) is known, later during boot the init.d scripts are being called
(when switching to runlevel 2, as specified in /etc/rc.2) and the
/etc/init.d/network script is also called, that script configures the
network and uses the interface eth0 to do so. That's where the error
occurs, the script tries to bring eth0 up (using ifconfig) where the
interface does not exist.


On Mon, 21 Feb 2000 webmaster@euronetwork.com wrote:

> > That has nothing to do with it and won't work (by the way, there are a lot
> > more network cards then just ne compatible ones).
> > What you should do is edit your /etc/init.d/network, you should make it
> > look like something like this:
> > 
> > #! /bin/sh
> > ifconfig lo
> > route add -net
> > 
> > If you want to you could let your system think it's on a LAN by adding the
> > following lines:
> > 
> > ifconfig lo ${IPADDR} netmask ${NETMASK} broadcast ${BROADCAST}
> > route add -net ${NETWORK}
> > [ "${GATEWAY}" ] && route add default gw ${GATEWAY} metric 1
> > 
> > I never actually tried that, but I guess it should work (take notice of
> > the lo after ifconfig, in your /etc/init.d/network it will probably be
> > eth0 (ip adresses can of course also be altered (that is: and
> > with it
> Ok, I think your right, because it could be possible that some daemons
> need a network card to work properly. All of our computers which are
> running Linux have a card, because they are connected in a network. I
> have never tried to setup a computer with Linux but without NIC.
> Uwe
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

Reply to: