LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 03-12-2010, 10:09 AM   #1
raul666
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 0
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
 
Old 03-12-2010, 10:13 AM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1
Posts: 4,854

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
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?
 
Old 03-12-2010, 10:16 AM   #3
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
Link is down... Should be "UP ... RUNNING ...". It's not. verify patch cord
 
Old 03-12-2010, 10:25 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,060

Rep: Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760
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.

Last edited by michaelk; 03-12-2010 at 10:26 AM.
 
Old 03-12-2010, 10:36 AM   #5
raul666
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by camorri View Post
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 View Post
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 )
 
Old 03-12-2010, 10:39 AM   #6
raul666
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
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??
 
Old 03-12-2010, 11:53 AM   #7
raul666
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thumbs down

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**....
 
Old 03-12-2010, 07:31 PM   #8
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
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.
 
Old 03-13-2010, 04:21 AM   #9
raul666
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by DrLove73 View Post
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 View Post
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!
 
Old 03-13-2010, 08:27 AM   #10
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
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.
 
Old 03-15-2010, 12:57 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,060

Rep: Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760
What is the output of the command:
route -n
 
Old 03-24-2010, 08:40 AM   #12
tanmoy chakraborty
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Rep: Reputation: 0
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
 
Old 03-24-2010, 10:53 AM   #13
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,985

Rep: Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672
Quote:
Originally Posted by raul666 View Post
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.
 
Old 03-24-2010, 10:54 AM   #14
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,985

Rep: Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672
Quote:
Originally Posted by tanmoy chakraborty View Post
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.
 
Old 03-24-2010, 02:19 PM   #15
rubentje1991
Member
 
Registered: Feb 2008
Location: Belgium
Distribution: PCLinuxOS
Posts: 102

Rep: Reputation: 22
Arrow 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

Last edited by rubentje1991; 03-24-2010 at 02:20 PM. Reason: spelling
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTPS does't work through Squid gubak Linux - Server 8 11-20-2009 08:12 AM
Does't work mysql on apache? gubak Linux - Server 15 11-06-2009 11:26 AM
apt-get does't work on Kubuntu Pengye Ubuntu 7 09-08-2008 10:17 AM
Utorrent RSS Does't work! (WINE) TruANTOlogy Linux - Software 2 07-25-2006 09:19 PM
Sendmail does't work anymore. lauxen Linux - Newbie 6 12-06-2005 08:50 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration