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

Re: Silly question: Where's eth0?



Dr. Jennifer Nussbaum(bg271828@yahoo.com) is reported to have said:
> Andrew Sackville wrote:
> >personally, I think network-manager is more trouble
> than >its worth,
> >but that's jsut me. 
> 
> Im starting to feel that your right--when it works its
> nice but when it doesnt i never know what to do.
> 
> >please provide the exact output of the following:
> 
> >dmesg | grep -i ^eth
> 
> $ dmesg | grep -i ^eth
> eth1: Coming out of suspend...
> eth1: no IPv6 routers present
> 
> >cat /etc/network/interfaces
> 
> $ cat /etc/network/interfaces
> # This file describes the network interfaces available
> on your system
> # and how to activate them. For more information, see
> interfaces(5).
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> # The primary network interface
> allow-hotplug eth0
> 

You do not have entries for eth0 or eth1 in your
/etc/network/interfaces file.

See debian-reference Section 10.6.1.1.

> [i dont know why eth1 doesnt show here, its my current
> WiFi interface]
> 
I wonder how eth1 is working at all without being in the interfaces
file.  I hsve never used an interface without having a stanza for it
in /etc/network/interfaces.  I suppose you could do it with route but
that would get old really fast.


<--<snip>-->

> And in response to Wayne's question:
> 
> $ cat /etc/udev/rules.d/z25_persistent-net.rules
> # This file was automatically generated by the
> /lib/udev/write_net_rules
> # program, probably run by the
> persistent-net-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on
> a single line.
> # MAC addresses must be written in lowercase.
> 
> # PCI device 0x8086:0x109a (e1000)
> SUBSYSTEM=="net", DRIVERS=="?*",
> ATTRS{address}=="00:15:58:c8:b5:39", NAME="eth0"
> 
> # PCI device 0x8086:0x4227 (ipw3945)
> SUBSYSTEM=="net", DRIVERS=="?*",
> ATTRS{address}=="00:1b:77:8d:24:56", NAME="eth1"
> 

udev has found both of your interfaces so if you add them to the
interfaces file you should be good to go.

Wayne

-- 
Real computer scientists only write specs for languages that might run
on future hardware.  Nobody trusts them to write specs for anything homo
sapiens will ever be able to fit on a single planet.
_______________________________________________________



Reply to: