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

Re: local net problems



Hi Bill,

In the boot process /etc/init.d/network is run.  Here is a sample
from my home machine.

#!      /bin/sh
#
#Setup loopback
#
/sbin/ifconfig lo 127.0.0.1
/sbin/route add -net 127.0.0.0
#
# Attach ethernet device
#
/sbin/ifconfig eth0 up
/sbin/ifconfig eth0 patches-place netmask 255.255.255.0


/sbin/route add -net  192.168.1.0 dev eth0
/sbin/route add -host patches-place dev eth0
# /sbin/route add default gw patches-place

# display route table
/bin/netstat -rn
#
#end ethernet setup

As far as auto detecting your ethernet card, I personally am in favor
of compiling into the kernel the actual hardware that I have, and not
loading actual hardware as a module.  This seems to work very well for 
me.  

Hope this works,

LeRoy :-)


-- 
          0 0
           "       http://www.netaxs.com/~ldc/
_______ooO ~ Ooo_______________________________________________

LeRoy D. Cressy     	 /\_/\		ldc@netaxs.com
Computer Consulting 	( o.o )		(215) 389-5870
		 	 > ^ <


Bill Leach wrote:
> 
> I have installed debian hamm (on an EIDE Pentium about a week ago).
> Kernel 2.0.29 (since configured, compiled, and installed a 2.0.30
> kernel).
> 
> There are two weird problems that I am experiencing...
> 
> The first problem is that the ethernet module is not loading.
> But typing "insmod /lib/modules/2.0.30/net/3c509.o" loads
> the module without error.
> 
> An "ifconfig eth0 199.79.129.32 up" works without error.
> 
> "route add -net 199.79.129.0" correctly sets up the
> route.
> 

> best,
> -bill
> 
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org .
> Trouble?  e-mail to templin@bucknell.edu .


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: