On Tue, 4 Mar 2003 18:15:53 -0500 (EST) Patrick Wiseman <[EMAIL PROTECTED]> wrote:
> Hi, all: > > I'm not sure how I broke networking, but when I boot up, my ethernet > card is recognised, but it has no IP address and the box is not known > to my other lan boxes. Doing > > #ifconfig eth1 192.168.1.11 > > corrects the problem, but now the external network is unavailable. > Doing > > #route add default gw 192.168.1.1 > > fixes that problem. > > Where are the configuration files to automate all this? It used to > work, The startup script for basic network is /etc/init.d/networking. But adding your NICs to /etc/network/interfaces should be all you have to do. It should look like this: # The loopback interface auto lo iface lo inet loopback # 1st NIC auto eth0 iface eth0 inet static address 192.168.200.7 netmask 255.255.255.0 network 192.168.200.0 broadcast 192.168.200.255 gateway 192.168.200.254 # 2nd NIC ... Regards, Christian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]