<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 10pt Arial; MARGIN-LEFT: 2px">
<DIV>Looking in /etc/modules there isn't a listing for the 1st nic so if I put
this in will this file load before the the 1st nic is loaded? </DIV>
<DIV> </DIV>
<DIV>Thanks</DIV>
<DIV> </DIV>
<DIV>Jon L. Miller, MCNE, CNS, ASE<BR>Director/Sr Systems Consultant<BR>MMT
Networks Pty Ltd<BR><A
href="http://www.mmtnetworks.com.au">http://www.mmtnetworks.com.au</A></DIV>
<DIV> </DIV>
<DIV>"I don't know the key to success, but the key to failure<BR> is trying
to please everybody." -Bill Cosby</DIV>
<DIV> </DIV>
<DIV><BR><BR>>>> r.steicke@bom.gov.au 7:17:20 pm 20/07/2004
>>><BR>On Tue, Jul 20, 2004 at 07:54:13PM +0800, Jon Miller
wrote:<BR>> Like to know where and how do I get the 2nd NIC in a Debian
server to<BR>> load the module at bootup. It's a e100.o driver for the
Intel<BR>> Ethernet Card and it does not load automatically. I have to
issue a<BR>> insmod command to load the module and then the commands to load
eth1<BR>> and the default gateway.<BR><BR>Put a line "e100" in
/etc/modules. Make sure it's after the line for<BR>the first network
interface so that the e100 becomes eth1.<BR><BR>> Also I want to make
192.168.100.1 the default gateway for the server<BR>> as this point to the
router interface.<BR><BR>The gateway line in /etc/network/interfaces as you have
it below should<BR>do that. If, after boot, you're currently
doing<BR><BR> modprobe e100<BR> ifup eth1<BR><BR>your default
gateway should be set automatically. If you're issuing<BR>ifconfig
commands instead of ifup, then you'll have to set the gateway<BR>yourself (like
you've said you're doing now).<BR><BR>But if you load the module automatically
(by referencing it in<BR>/etc/modules), then eth1 will exist when the network
gets configured,<BR>and all will be good.<BR><BR><BR>> I have the
configuration for the /etc/network/interface<BR>> <BR>> #
/etc/network/interfaces -- configuration file for ifup(8), ifdown(8)<BR>> #
The loopback interface<BR>> auto lo<BR>> iface lo inet loopback<BR>>
<BR>> # The first network card - this entry was created during the Debian
installation<BR>> auto eth0<BR>> iface eth0 inet static<BR>> address
192.168.1.99<BR>> netmask 255.255.255.0<BR>> <BR>> auto eth1<BR>>
iface eth1 inet static<BR>> address 192.168.100.2<BR>> netmask
255.255.255.0<BR>> gateway 192.168.100.1<BR><BR><BR><BR>-- <BR>Russell
Steicke<BR><BR>-- Fortune says:<BR>No matter how much you do you never do
enough.<BR>_______________________________________________<BR>PLUG discussion
list: plug@plug.linux.org.au<BR><A
href="http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug">http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug</A><BR>Committee
e-mail: committee@plug.linux.org.au<BR><BR></DIV></BODY></HTML>