Internet connectivity at startup
I just installed Red Hat 9 about a week ago on this computer, and every time I startup I have to go to "System Settings> Network" and Deactivate, then Activate my network card for it to work online. This computer only has one network card, and it connectes to an SMC router. I have static IP's on all computers on the network. At startup it's on my local network, but not on the internet. Could this have something to do with it's DNS servers?
Thanks |
Any ideas?
|
So you can ping your router at startup and not the internet? Is that right?
|
Well, I just checked again and it seems I can't ping the router nor other computers on the network. So the card isn't working at all at bootup. :rolleyes:
|
hmmm
that's another problem... please give me the output of ifconfig |
You need to edit your /etc/sysconfig/network-scripts/ifcfg-ethx files
You will need to set up a seperate profile for each nic. Here is an example: DEVICE=eth0 BOOTPROTO=static IPADDR=xxx.xxx.xxx.xxx NETMASK=xxx.xxx.xxx.xxx GATEWAY=xxx.xxx.xxx.xxx ONBOOT=yes set up a profile for each NIC with correct IP info and you should be all set/ --hope this helps |
Quote:
|
Re: Internet connectivity at startup
Quote:
Suppose he were using DHCP, then the profile ifcfg-etho would look like this: DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes |
ok, sorry. Got mixed up.
I think that the first to check is the kind of network card you have on the linux box. It might not be supported directly by Mandrake. |
Quote:
When I run "ifconfig" this is the output Code:
Link encap:Ethernet HWaddr (mac address) |
do
ping 127.0.0.1 give output ping 192.168.2.7 give output route give output (all on the linux machine) What is the IP address of your router (private)? |
ping 127.0.0.1
Code:
64 bytes from 127.0.0.1: icmp-seq=1 ttl=64 time=0.023 ms Code:
64 bytes from 192.168.2.7: icmp-seq=1 ttl=64 time=0.026 ms Code:
Kernal IP routing table My router IP is 192.168.2.1 |
Then your network card works 100%
you don't have any problems with that nic. you are not very consistent in your results... wasn't your nic suppose not to work? |
Quote:
|
sorry, mixed up treads...
do you have anything weird in your startup logs? type dmesg |
All times are GMT -5. The time now is 04:37 PM. |