| Author |
NIC card install???
|
|
| kevinvasoft 2003-03-26, 2:57 pm |
| Very new to linux. Got red hat linux in 24 hours and trying to install nic but no luck. Can someone give me a helping hand. | |
| Boulware5 2003-03-26, 3:07 pm |
| That's very vague. What have you done and what problems/error messages have you gotten? | |
| kevinvasoft 2003-03-26, 3:31 pm |
| linuxconf:
networking, client taks, basic host informaiton - entered 192.168.0.5 with 255.255.255.0 as netmask, used eth 0.
Accepted. Opend up prompt and cannot ping 192.168.0.5 nor can i ping my win2k server(192.168.0.1). both machines are connected to a netgear hub.
 | |
| Boulware5 2003-03-26, 3:33 pm |
| What do you get when you type ifconfig? | |
| kevinvasoft 2003-03-26, 3:36 pm |
| command not found | |
| Boulware5 2003-03-26, 3:38 pm |
| That's a root command in your /sbin directory.
Type:
su -
Enter root password
/sbin/ifconfig
See if it lists eth0 and what IP is assigned to it. | |
| kevinvasoft 2003-03-26, 3:47 pm |
| 127.0.0.1 255.0.0.0
link encap: local loopback | |
| Boulware5 2003-03-26, 3:49 pm |
| quote: Originally posted by kevinvasoft
127.0.0.1 255.0.0.0
link encap: local loopback
Okay, your loopbackup adapter is up but not your ethernet (eth0). Try this, and if it don't work, we'll see if Linux detected your ethernet card. Type this:
/sbin/ifconfig eth0 up | |
| kevinvasoft 2003-03-26, 3:54 pm |
| Both adapters now show up but still can't ping myself or anyone else on the broadcast domain. Can obviusly ping loopback address though... | |
| Boulware5 2003-03-26, 3:57 pm |
| quote: Originally posted by kevinvasoft
Both adapters now show up but still can't ping myself or anyone else on the broadcast domain. Can obviusly ping loopback address though...
So you see a eth0 listing in ifconfig? Should be able to ping the IP address assigned to eth0. | |
| kevinvasoft 2003-03-26, 4:03 pm |
| Looks like for some reason the eth0 (according to ifconfig) doesn't have an ip address.... is there a switch for ifconfig to add an ip address? | |
| Boulware5 2003-03-26, 4:05 pm |
| quote: Originally posted by kevinvasoft
Looks like for some reason the eth0 (according to ifconfig) doesn't have an ip address.... is there a switch for ifconfig to add an ip address?
If you are using dhcp, try this:
ifdown eth0
then
ifup eth0
I believe ifup is part of a DHCP script. If this don't work, there are other ways to get an IP from DHCP, but try this first. | |
| Boulware5 2003-03-26, 4:17 pm |
| I have to go now and won't be back until later tonight to get back to you if this didn't work. Unless of course someone else here jumps in... | |
| masamune 2003-03-26, 4:52 pm |
| What NIC are you trying to install?
As Boulware said try (as root) to bring the interface up: netconfig should work fine then issue a ifup eth0 or ifconfig eth0 up.
At startup scripts look in /etc/sysconfig/networking-scripts/ifup-eth0
if my memory serves me well.
Netconfig is very useful since it changes the files for you.
Tell us if you get any trouble... | |
| kevinvasoft 2003-03-27, 4:42 pm |
| well i can ping my won ip address but just not the other lan machine. If i can myself i assume the card is up and working ok? I guess there's something a miss on the hub im using. any thoughts?
PS thanks boulware for the help to get me this far... | |
| Boulware5 2003-03-27, 5:01 pm |
| quote: Originally posted by kevinvasoft
well i can ping my won ip address but just not the other lan machine. If i can myself i assume the card is up and working ok? I guess there's something a miss on the hub im using. any thoughts?
PS thanks boulware for the help to get me this far...
Yeah NIC should be working. Can you get online?
Are you pinging the other machines hostname or IPs? If it's hostname, Linux wont know who they are unless it's in /etc/hosts.
And make sure of the non-linux issues which may be causing it, such as making sure the other machines (I'm assuming windoze) are set up right and are all a part of the same subnet. |
|
|
|