l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 16:58

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Adding linux computer to network
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Adding linux computer to network


In your last step where you talk about setting up a default route:

route add default gw gateway-ip dev eth0

Is this permanent?  Or do you have to do it every time you reboot?


Jay Strauss
(h) 773.935.5326
(c) 312.617.0264

----- Original Message ----- 
From: "Peter Jay Salzman" <p@belial.ucdavis.edu>
To: <vox-tech@franz.mother.com>
Sent: Monday, November 06, 2000 4:49 PM
Subject: Re: [vox-tech] Adding linux computer to network

> for the practise, you may want to try this on your own.  ethernet cards are
> usually not that painful to set up (there are a few exceptions).
> getting the route info down is a bit complicated, and will take you an
> afternoon to get the hang of it, so we can do that for you.
> 1. Determine your make/model of nic card
> ========================================
> about the nic:  look at your card to determine the type of card it is.
> 2. Find out which driver to use
> ===============================
> 1. look in the "ethernet-howto" for your card.  this will tell you which
> driver to use.
> 2. if you can't find it in the ethernet howto (unlikely!), go to
> http://www.deja.com/home_ps.shtml and do a search for your card.
> 3. if you can't find the driver's name in either 1 or 2 above, i'll search
> for it and tell you the driver name.
> 3. Finding where the driver is
> ==============================
> now, suppose you know the driver's name, say, tulip or rtl8139.  what next?
> you need to locate the driver.
> 1. do "locate tulip.o" or "rtl8139.o".  this will tell you the location of
> the driver.
> 2. if you find "tulip.c" but no "tulip.o", this means the driver is on your
> system, but isn't compiled.  that will be a bummer for you, but if this
> is the case, let us know, and i'll walk you through it.  i'd be willing
> to bet that your driver is compiled.
> 3. Loading the driver
> =====================
> 1. now you know the location of the driver.  you need to link the driver
> into kernel code.  this part is distribution specific.  on debian, you
> will want to add the driver's name to /etc/modules.  here is my
> /etc/modules:
> ppp
> ppp_deflate
> rtl8139
> sg
> 3dfx
> auto
> this loads 5 drivers at boot time, one at a time.  (auto isn't a driver).
> just add your nic card at the beginning.
> 2. i don't know what you do in redhat, but i'm sure there's a nice GUI to do
> it.
> 3. one distribution independent way of doing this is to create a local
> startup script.  on debian it's /etc/init.d LOCAL.  you'll want to add the
> line:
> modprobe -a tulip.o
> 4. i think on redhat, it's /etc/init.d/rc.boot.
> 5. regardless of anything i said above, you can ALWAYS type
> modprobe -a tulip.o
> at an xterm or command line (as root!) to load the driver
> 4. Testing the driver
> =====================
> 1. not to state the obvious, but remember, you don't have to reboot the
> computer.
> 2. type:
> ifconfig eth0 up
> if you see nothing, all is well.  if you see something, then something
> went wrong.  i'll help you diagnose what happened.
> 5. Using the driver
> ===================
> 1. assuming 4.2 worked (above), bring the nic down, then back up with your
> correct ip address
> ifconfig eth0 down
> ifconfig eth0 your-ip up
> replace your-ip with your ip address.
> 6. Routing
> ==========
> 1. you'll want to edit /etc/resolv.conf to reflect your dns server.
> 2. you'll want to set up your gateway with:
> route add default gw gateway-ip dev eth0
> where gateway-ip is your gateway's ip address.
> pete

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.