LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Ethernet does't work (http://www.linuxquestions.org/questions/red-hat-31/ethernet-doest-work-794959/)

raul666 03-12-2010 09:09 AM

Ethernet does't work
 
Hi to all,
i just installed
Red Hat 5 Enterprise
Kernel ver: 2.6.18-8.el5
Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller


and i can't connect to the internet through the ethernet interface.

I have configured manually the ip, netmask and gateway.

the ifconfig output is :

----------------------------------------------------
eth0 Link encap:Ethernet HWaddr 00:16:E6:5B:8B:56
inet addr:192.168.100.250 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:169

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2177 errors:0 dropped:0 overruns:0 frame:0
TX packets:2177 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2981236 (2.8 MiB) TX bytes:2981236 (2.8 MiB)
----------------------------------------------------

tnx a lot for help ;)

camorri 03-12-2010 09:13 AM

Have you looked at the lights on the card? Have you looked at the hub, or switch where the server plugs in? What is the status of those lights?

troop 03-12-2010 09:16 AM

Link is down... Should be "UP ... RUNNING ...". It's not. verify patch cord

michaelk 03-12-2010 09:25 AM

If you can ping the gateway your network adapter is working correctly. If you can not ping google but can ping 66.102.9.103 successfully then all you need to do is add a name server to your /etc/resolv.conf file. DHCP automatically updates resolv.conf but not when you manually configure the network.

raul666 03-12-2010 09:36 AM

Quote:

Originally Posted by camorri (Post 3895821)
Have you looked at the hub, or switch where the server plugs in?

if i link the cable to my laptop it works.

Quote:

Originally Posted by camorri (Post 3895821)
Have you looked at the lights on the card?

What is the status of those lights?

Unfortunately there is no led going outside the case (i can't open it :( )

raul666 03-12-2010 09:39 AM

Quote:

Originally Posted by michaelk (Post 3895837)
If you can ping the gateway your network adapter is working correctly. If you can not ping google but can ping 66.102.9.103 successfully then all you need to do is add a name server to your /etc/resolv.conf file. DHCP automatically updates resolv.conf but not when you manually configure the network.

No, i can't ping anything (Destination Host Unrichble)

It can be a driver problem??

raul666 03-12-2010 10:53 AM

thx for all the suggestion.
I do my best but nothing seems to change :(

however i'll keep trying otherwise my advisor kick me in my a**....

DrLove73 03-12-2010 06:31 PM

You should have used RHEL 5.4 DVD, not 5.0. It this RHEL even legal? If it is, then add additional PCI NIC (Realtek 8139 is the best for linux support) and update the system. If I remember correctly there could have been the problem for Marvel NIC's of 5.0 kernels, but was resolved later on.

If you have not paid for RHEL, then better use CentOS, it is in almost any way the same thing but CentOS is free of charge.

raul666 03-13-2010 03:21 AM

Quote:

Originally Posted by DrLove73 (Post 3896314)
You should have used RHEL 5.4 DVD, not 5.0. It this RHEL even legal?

Yes it is legal (My boss has paid it...), Unfortunately I could use only RHEL 5.0 DVD

[QUOTE=DrLove73;3896314]If it is, then add additional PCI NIC (Realtek 8139 is the best for linux support) and update the system.
/QUOTE]

I don't think i can add it :(

Quote:

Originally Posted by DrLove73 (Post 3896314)
If you have not paid for RHEL, then better use CentOS, it is in almost any way the same thing but CentOS is free of charge.

I have to use RHEL sorry.. These are the top words!

DrLove73 03-13-2010 07:27 AM

If you can not add any kind of NIC to download updates, I think you can request from Red Hat 5.4 media (DVD) and reinstall it.

michaelk 03-14-2010 11:57 PM

What is the output of the command:
route -n

tanmoy chakraborty 03-24-2010 07:40 AM

friend i just giv u a suggestion
 
Is ur lan card is ok or not?u must clearify it first.if u sure it ok.then setting ur ip address and u must run this 2 commands-
1.service network restart
2.chkconfig network on.
then check that u get internet or not.if not u just run this 2 commands also-
3.ifdown eth0
4.ifup eth0
now u check u get ur service or not?

thanks

TB0ne 03-24-2010 09:53 AM

Quote:

Originally Posted by raul666 (Post 3895857)
No, i can't ping anything (Destination Host Unrichble)

It can be a driver problem??

Maybe, but chances are it isn't.

If you've already followed the advice of others here, and checked the patch cord, looked at the card to see if you've got activity lights, etc., you're a good part of the way there. First, verify with your network admin that your netmask and address are correct. A "Destination Unreachable" could very well be that you haven't configured a default route, which you can also get from your network admin. To test this, see if you can ping another address on the same network. Based on what you posted, it will be something like 192.168.100.xxx. If you can ping something else there, it's a gateway issue. Try:
Code:

route add default gw <ip address>
Then see if you can ping something on a different network. And as others have mentioned, the DNS resolution needs to be configured too, so you can ping by hostname.

TB0ne 03-24-2010 09:54 AM

Quote:

Originally Posted by tanmoy chakraborty (Post 3910288)
Is ur lan card is ok or not?u must clearify it first.if u sure it ok.then setting ur ip address and u must run this 2 commands-
1.service network restart
2.chkconfig network on.
then check that u get internet or not.if not u just run this 2 commands also-
3.ifdown eth0
4.ifup eth0
now u check u get ur service or not?

thanks

Please don't post things like this. It's impossible to read and understand, and will NOT fix the OP's original issue. All this is doing is starting network services. If the driver isn't loaded, this won't do it. If it's not configured right, this doesn't address it. This is pointless for the OP to try.

rubentje1991 03-24-2010 01:19 PM

kernel
 
hlo,

maybe I'm completely wrong, but is it possible to upgrade the kernel in that distro...?

I think your ethernet-card is newer than the kernel, so that's maybe a reason it doesn't work...
(I've had the same thing in PCLinuxOS 2009 with a new laptop (Marvell Ethernet card was completely dead in linux), had to install a more recent kernel (downloading it on another computer and install it via the kernel...)
=> or did you install that distro previously and worked that card at that moment?

If you can't upgrade your kernel (and if that's the problem) in RHEL 5.0, try then another distro (like CentOS indeed)

Hope this helps


All times are GMT -5. The time now is 06:02 PM.