Can't get internet working
Hey I'm a Linux Newbie.
Got Red Hat and am trying to get Internet working. But it just won't work. I'm using a router (DHCP) with a DSL connection. The Network card light is green. Router too. What do I do? |
IlyaZ,
First check out for /etc/resolv.conf; as it should have either your router's ip in it or any global dns(public real static ip) in it. Code:
e.g. nameserver 192.168.1.1 Code:
cat /etc/sysconfig/network-scripts/ifcfg-eth0 Third Check whether your firewall is working or not & stop if it is Code:
service iptables status |
Thanks for your reply,
I get this at point 1: nameserver 192.168.1.1 . That IP is correct (router, local IP). At 2 I get: DEVICE=eth0 BOOTPROTP=dhcp TYPE=Ethernet USERCTL=no PEERDNS=yes IPV6INIT=no At 3: It shows the software firewall is off. If I check the accesslog of my router I find the MAC-address of the network card listed. So at least it connects somehow. But when I ping the router from the linux I get no response. Same thing happens when I enter the IP of the router in firefox. |
Check ifconfig and make sure the interface has an inet address..
Also check ps ax and see if dhcpcd or dhclient is running.. |
I ran ifconfig and got 192.168.1.2
With ps ax I could only find the dhclient. Is the problem here? I've got a screened ethernet cable. (The metal around the wire seems to conduct power. So when I touch the backside of the computer with it inserted I get a tiny electrical shock. When I ping the computer from this one I ger fast replies. But when I ping the network from the linux I get no replies at all. |
No I seem to be able to ping other computers from the linux too. But I can't ping the router from it. This is possible from other comps though.
|
Ok problem solved. Was my Network Card. Don't get what was wrong with it.
|
Sometimes the Network Card is PCI interface to the Motherboard. Turn the computer off. Open the case, then carefully re-insert the card fully into the PCI card slot. Remember, the Motherboard is fragile in this hardware correction because of the downward force. Be careful not to press to hard on the PCI card. It will crack the Motherboard. If more than one PCI card on the Motherboard, look for space between slots. So no contact is made between PCI cards or dust.Suggestion: IF YOU see dust, blow the dust off the motherboard. The parts on the Motherboard act as heatsinks during operation. Dust will hamper electrical conductivity and longevity. Trap moisture and increase oxidation. Check all fans; cable ties, and wires hanging around. No joke intended. Clean runs smoother. Close the case. Turn computer on when YOU are ready.
|
All times are GMT -5. The time now is 02:46 PM. |