ethernet confusion...
Jim Cheetham
jim at egressive.com
Sun Apr 17 21:07:07 UTC 2005
On Sat, 2005-04-16 at 22:56 -0400, Matt Price wrote:
> The card seems to work and the green light comes on when I plug in a
> cable;
That will be a response from that card itself, and it unfortunately no
indication that software is playing the game.
> and I have the following (more or less random) stanzas in
> /etc/network/interfaces:
> auto eth0
> #iface eth0 inet dhcp
> iface eth0 inet static
> address 192.168.2.30
> netmask 255.255.255.0
> broadcast 192.168.2.255
> gateway 192.168.2.1
>
> auto eth1
>
> iface eth1 inet static
> address 192.168.0.1
> netmask 255.255.255.0
> broadcast 192.168.0.255
> gateway 192.167.2.1
You don't need to specify "gateway" on the second interface, unless
you're playing with deep magic on routing :-)
> when I try "ifup eth1" I get this:
> SIOCSIFADDR: No such device
> eth1: ERROR while getting interface flags: No such device
Was this as a normal user? Try "sudo ifup eth1", or at worst,
"sudo /etc/init.d/network restart"
Also, check to see if the kernel has recognised your card at all -
"dmesg | grep eth". Was the card in place when the system booted?
--
-jim cheetham = jim at egressive dot com
www.egressive.com, www.effusiongroup.com
More information about the ubuntu-users
mailing list