Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 07-18-2005, 03:40 PM   #1 (permalink)
 
True Techie

Join Date: Jan 2005

Posts: 184

rememberme

Default RedHat9 > XP Networking

I am new to RedHat and I would like to know how to set the workgroup and IP address for a NIC in the machine?

I have the internet working on the computer and have a spare network card in it which I would like to use to connect to an XP computer to share the internet connection... Linuxs seems a b!t<h to get Networking!! I must be missing something.
rememberme is offline  
Old 07-18-2005, 06:34 PM   #2 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

from command line while logged in as root:
dmesg | more ---------that will show the boot up message,check it to see if your network card was recognized by the kernel

lspci --------will list all pci devices on your system

lsmod ---------will list all kernel modules loaded, check if NIC has its kernel module in that list

insmod <module_name> will load the appropriate module if it isnt loaded, then change the appropriate init script so it gets done at boot, Redhat uses systemV init scripts

ifconfig -------use this to set IP address,netmask, and other settings for the NIC(s) in your system

if your sharing a connection with a windows machine using it as a router, you will have to setup the NIC in the linux box to use DHCP as well
horndude is offline  
Old 07-18-2005, 07:22 PM   #3 (permalink)
 
True Techie

Join Date: Jan 2005

Posts: 184

rememberme

Default

Thanks
rememberme is offline  
Old 07-18-2005, 07:54 PM   #4 (permalink)
 
Master Techie

Join Date: Apr 2004

Posts: 2,534

horndude is on a distinguished road

Default

oh, ya, dont forget to add your ISP's DNS numbers in /etc/resolv.conf on the linux box
horndude is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On