[PLUG] Adding new ethernet card to Sun20 running debian

todd.sarratt todd.sarratt at attbi.com
Thu Oct 31 05:11:45 UTC 2002


I inherited a Sun Sparc20 with two ethernet cards, one on board and an SBUS SCSI/10Meg Ethernet card.  Box takes DHCP over ETH0 and I haven't tried plugging anything into ETH1 but it looks alright (P.S. running debian) :

gibraltar:/etc# ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:20:72:F3:7A
          inet addr:192.168.0.23  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2499 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3273 errors:3 dropped:0 overruns:0 carrier:3
          collisions:0 txqueuelen:100
          RX bytes:266726 (260.4 KiB)  TX bytes:293539 (286.6 KiB)
          Interrupt:38

eth1      Link encap:Ethernet  HWaddr 08:00:20:72:F3:7A
          inet addr:10.38.69.1  Bcast:10.255.255.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:55

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

A friend slid an SBUS FastEthernet card my way and I'd like to set it up as eth2.  Here's what my interfaces file looks like :

gibraltar:/etc/network# more interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# automatically added when upgrading

# This faces AT&T and that crazy internet
auto eth0
iface eth0 inet dhcp

#  This is the local zone.  Various rules will control it, probably
#  only allow HTTP connections out, etc.  It's 10.38.69.1/24
auto eth1
iface eth1 inet static
address 10.38.69.1
netmask 255.255.255.0

#   This is the DMZ.  Anything goes out.  Deciding still what
#   comes in.  This is 172.22.38.1/24
auto eth2
iface eth2 inet static
address 172.22.38.1
netmask 255.255.255.0

However, trying to restart the interfaces gives me :
gibraltar:/etc/network# ../init.d/networking restart
Reconfiguring network interfaces: eth2: ERROR while getting interface flags: No
such device
SIOCSIFADDR: No such device
eth2: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
eth2: ERROR while getting interface flags: No such device
done.

I'm sure I'm missing something very obvious.  What is it?

Thanks,
Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20021030/9d2ab53b/attachment.html>


More information about the PLUG mailing list