Internet not working in RHEL 5 even after configuring
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Internet not working in RHEL 5 even after configuring
I installed RHEL 5 today and set my network. Did it as follows:
Eth0 connection
Primary DNS 192.168.1.1
When I click on Activate, it says:
8139too device eth0 does not seem to be present, delaying initialization.
This message shows no matter how many times I log out or restart.
I don't know what the heck is the problem. I've done the essentials but still it's not working. I looked up on the net but people were saying things like ifconfig and lspci, and at the end still weren't able to solve it. I don't know all this since I'm new to Linux. Another important thing...after facing this same problem some time ago, I installed Centos which asked for internet settings right at the time of installation. And after logging in for the first time, I was able to use internet without any problem. How come internet works on Centos (which is a copy of RHEL) without any problems, but not working on RHEL itself??
seeing as RHEL 5.? something? what version do you have installed
is not free .Have you asked red hat? http://www.redhat.com/support/
the current version in the 5 series is 5.6
with RHEL 6.0 being the current
unless you NEED the older 5 series for an older program i would recommend you upgrade to RHEL6
the network on rhel is basically 100% manual seeing as it is meant for a server
eth0 - so this is a cable connection?
are you behind a router ( wired or wireless ) ?
also some isp's royally mess up linux and the DNS look up
have you tried Googles # ? ( 8.8.8.8 and 8.8.4.4 )
Just like John VV said above. RHEL doesn't provide a pre-built OS. Centos is a copy of it though, so just use that! The most difference I've seen is the menu layout looks VERY slightly different, but all the commands and programs will work exactly the same. You've answered your own question by running CentOS.
That or go ahead and buy a support contract with Red Hat. Their new policy is making it difficult for CentOS to follow them now, so you may be sitting on CentOS 5.5 for a while.
Yes, this a cable connection I am using at my home. I just connect the ethernet cable from my Modem + ADSL2 to my desktop.
As to the router, as I wrote, it's a modem + router.
Nothing works, not even Google opens up.
If RHEL is not a pre-built OS and if Centos is a copy of RHEL, how come internet runs totally fine on Centos??
And if I start working on Centos, should I assume safely that I'll be able to work on RHEL whenever the need arises, without any problems??
Well, buying support from Red hat is out of question as I am not an admin or something, I am a regular guy who's starting to learn Linux at home from career point of view.
And if the new policy of Red Hat is gonna make it difficult for Centos to follow them so will it be safe to work on Centos?
I know these are a lot of questions but please answer all of em. I'm just curious :-)
And if I start working on Centos, should I assume safely that I'll be able to work on RHEL whenever the need arises, without any problems??
Yes you should. I've been working on both systems for these last couple years and found very little differences in term of system behavior, but as long as related to the syntax and how you configure everything; for what you can do in RHEL, you can apply it to CentOS as well, and vice versa.
More often than not, problems arise from the configuration level. In your case;
1. Are you sure your RHEL's configuration has a same configuration with your CentOS?
2. What network service are you using, is it network or NetworkManager?
3. What's the ethtool eth0 command output?
Quote:
And if the new policy of Red Hat is gonna make it difficult for Centos to follow them so will it be safe to work on Centos?
Whatever it is, we might have to wait a bit longer than usual, but I'm sure CentOS will eventually catch up with it, just like Scientific Linux did with their release of SL6. So don't worry, your skill on CentOS will still be applicable on RHEL.
In your case;
1. Are you sure your RHEL's configuration has a same configuration with your CentOS?
2. What network service are you using, is it network or NetworkManager?
3. What's the ethtool eth0 command output?
Hi sibe,
I am sorry I really don't get these questions very well..as I mentioned, I am new to Linux.
1. How to find if RHEL config is same as that of Centos?
2. I really don't know which service I am using but it just says Network in the Administration, from where I access it. So I guess it's network that I'm using. Had it been using NetworkManager, then would it have been showing NetworkManager over there????
3. When I right click on desktop and open terminal, then type "ethtool eth0" in terminal, it says "command not found".
I am sorry I really don't get these questions very well..as I mentioned, I am new to Linux
No problem, let's just concentrate on making your network really work then
First of all, you need to be sure that your cable has really plugged in and alive, that means it connected to the other end and has carrier signal on it. Open the terminal, and switch to root. At the command prompt, type ethtool eth0 to check if your eth0 is alive :
Quote:
root ~# ethtool eth0
Settings for eth0:
Current message level: 0x00000007 (7) Link detected: yes
If you're seeing Link detected: yes line, eth0 is active.
Now, for testing purpose, try give it an IP and bring it online :
Quote:
# ifconfig eth0 1.2.3.4 netmask 255.x.x.x up
where 1.2.3.4 and 255.x.x.x are the IP and netmask that you should adhere to the network segment you have connected to. Or if you have a DHCP server active on that segment, try :
Quote:
# dhclient eth0
to send a request for an IP to your DHCP server.
Check the result with ifconfig eth0 command, if it has UP and RUNNING words on it, then your interface is now online. Try give it some tests, ping to the gateway, if you get a reply, then you should put the default gateway IP to the routing table. At the prompt, type :
Quote:
# ip route add default via 1.2.3.1
where 1.2.3.1 is your gateway ip. To make your network fully usable, put the DNS IP to /etc/resolv.conf, with the following entry :
Quote:
nameserver 8.8.8.8
where 8.8.8.8 is your DNS IP. In fact, you can use 8.8.8.8 as well.
When everything goes fine, you need to make your IP configuration persistent.
There is a problem right on the first step itself.
When I switch to root and run the command "ethtool eth0", it still says "bash: command not found".
Why does it not recognize this command?
It says--
Settings for eth0:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available
I don't why it shows up like this. My modem is switched, everything is ok.
And sibe, what's this su - command. How's it different from a simple su command. And when you say it's "not included in the ordinary user's default path", does it mean people other than root cannot use it??
well RHEL is for servers and as such most of the time you need to set everything by hand
is Gnome installed ?
i am assumming -yes- seeing this is a HOME install
at the top of the window is "system"
from there go to " Adminastration "
from there " network"
enter the DNS and ip and net mask into the windows
then in the same menue in "services"
"networkmanager " should be at the VERY top of the list ( out of alphabetical )
it should be ON
then "network" down in the midle of the list should be OFF
BOTH must NOT be on at the same time
use one or the other
network is mostly manual
networkmanager uses the auto set up
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.