linuxnewbie.org.gif
Tuesday, 12-Dec-2000 10:38:17 EST
Newbized Help Files articles discussion board bookshelf sensei's log advertising info

NIC Installation:

* you are using Red Hat Linux 6.0 or equivilant
* your Realtek nick is like mine and uses the rtl8139 driver.
*Remember you can use any driver with this NHF, we are using the realtek driver as an example.

Steps:


-AS ROOT: Install module with

insmod rtl8139

-List the modules that are installed with lsmod
if you didn't get any errors during the module install and it was listed, then the module should work.

-in a Xterminal: run

netcfg

You will need to edit the names and interfaces tabs. You will be editing the eth0 information. Use the settings that you received from your ISP the same ones that you use in NT.
* If your NT connection "obtains IP information automatically", then you will want to use DHCP for your "interface configuration protocol"
* Click "save"
* Click "activate interface" in the interfaces tab. while you have eth0 highlighted.
* Test the interface. Open up an xterm, and ping something that you know. (be sure to ping both by IP and by hostname)


[root@box /root]# ping www.linuxnewbie.org
PING linuxnewbie.org (199.78.176.193): 56 data bytes
64 bytes from 199.78.176.193: icmp_seq=0 ttl=240 time=147.0 ms
64 bytes from 199.78.176.193: icmp_seq=1 ttl=240 time=56.3 ms

[root@box /root]# ping 199.78.176.193
PING 199.78.176.193 (199.78.176.193): 56 data bytes
64 bytes from 199.78.176.193: icmp_seq=0 ttl=240 time=64.6 ms
64 bytes from 199.78.176.193: icmp_seq=1 ttl=240 time=60.7 ms



If you get responses from both IP and hostname, than you are all set up.
If you get network is unreachable, you might need to add a default route. (See adding route below.)
if you get a response from the IP but not from the hostname, then you need to check your DNS settings inthe names[b] tab in netcfg.

* Last thing that you should have to do, is tell your machine which module to use when it tries to start eth0. You will do that by adding the folowing line to your [b]/etc/conf.modules file.


alias eth0 rtl8139


Adding routes
- If your machine doesn't know wich interface to get to the network from, you will get a "Network is unreachable" error. The following command will tell your machine to send all internet bound packets out through your eth0 interface.

route add default eth0

----------------------
That should do it.

Now, if you want other machines on this network to be able to see the internet through the machine that we just set up, you will need to look at the ip-masquarading NHF.

Skamm

[-NHF Control Panel-]
The Linux Channel at internet.com
Linux Planet
Linux Today
Linux Central
Linuxnewbie.org
PHPBuilder
Just Linux
Linux Programming
Linux Start
BSD Today
Apache Today
Enterprise Linux Today
BSD Central
All Linux Devices
SITE DESCRIPTIONS
[-What's New-]
Order a Linuxnewbie T-Shirt
Easy Webcam NHF
Directory Navigation NHF
Installing Snort 1.6.3 on SuSE 6.x-7.x
Customizing vim
The SysVinit NHF
Installing ALSA for the VT82C686 integrated sound
USB Creative Video Blaster II for Linux
Configuring the Intellimouse Explorer in XFree86 V4+
The beginnings of a distro NHF
Getting Past Carnivore?
Getting and Installing PGP
Getting your ATI Rage 128 Working
How to create a multiple partition system
Using Fdisk
Introduction to Programming in C/C++ with Vim
Adding a Hard drive in Linux -- In five steps
Installing ALSA for the Yamaha DS-XG Sound Card
Getting your Diamond Rio Mp3 Player to work with Linux
Bash Programming Cheat Sheet
Installing NVIDIA Drivers for Mandrake
Setting up Portsentry
Hard Drive Speed Tweak for Linux
Sensei's Log
Chat room
Join: Linuxnewbie.org SETI Black Belts!
Send in your news
Click the image to add Linuxnewbie.org to your MyNetscape Page
[-LNO Newsletter-]

[-Archive-]
The beginnings of a distro NHF
Connecting to the Internet using KPPP
Getting your SBLive to work
Unreal Tournament NHF
LWE Day 2 Pictures
LWE Day 1 Pictures
The LNO FAQ!
WoW (Words of Wisdom)
Other sites news
What is Linux?
What is Linux? part deux (ups & downs)
Search newsgroups
The List
ALS Report
Feedback Form
jobs.linuxtoday.com.gif
Match: Format: Sort by:
Search:
[-Quick Links-]

Copyright 2000 internet.com Corp. All Rights Reserved. Legal Notices Privacy Policy

internet.com.gif