Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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)
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.
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?
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.
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.
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 01:20 PM.
Reason: spelling
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.