Question about Red Hat Enterprise Linux ES Basic Edition

1 Answer

Not able to use internet in Red Hat Linux (RHEL 5)

Hi
Im new to linux.Whenever i try to access internet it gives a message server not found.While installing I disabled Firewall and SELINUX.I checked my resolv.conf file .It contains my IP address as the nameserver.Do i have to write any shell script...PLz HELP

Posted by on

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Vice President:

    An expert whose answer got voted for 100 times.

  • Master
  • 818 Answers

- What make/model of NIC?

- Cable or DSL Internet access?

- Is there a router in the picture, or does the computer connect directly to your cable/dsl modem?

- Are you using DHCP or static IP assignment?

If you're using static IP addressing, check out some of the suggestions in this article:

Created: 9/05/02 Revised: 4/6/04


Basic PCI Network Interface Card (NIC) Configuration and Troubleshooting:


As different distros use different GUI (graphical) network configuration programs, the following instructions are
command-line based, and as such should work for most distros. If you boot directly into the GUI (KDE, Gnome, etc.)
as opposed to booting into a non-graphical runlevel, open a terminal window and type the given commands from there.
Much of the following can only be done as root, so either log in as root, or "su" to root if logged in as a non-root user.

*Note: some commands can only be run from root's login shell. When the su command is used by itself, it allows a non-root
user to become root, but only from within the user's own login shell. To gain a full root login shell without having to log out
and log back in as root, use the "-" option when issuing the su command: su - .

If you have only 1 NIC installed, it will be designated "eth0"; additional NICs will be designated eth1, eth2, etc.

Before doing any of the following, *please* check the Hardware Compatibility List at your distro's support site.
If your particular make/model of NIC is not listed as being compatible with your distro, there is good chance that
it may not work at all, or that you may have to take extra steps (such as downloading a special driver/module) in
order to get it working. Considering the fact that NICs are fairly inexpensive, it is often just not worth spending
time and energy trying to "force" an unsupported card to work.
------------------------------------------------------------------------------------------------------------------------------


1. If, on bootup, you see a message similar to "Bringing up interface eth0: FAILED", it is very possible that you have
a resource (IRQ or I/O address) conflict. Turn off Plug-N-Play support in your BIOS before proceeding further; BIOS PNP
can often cause problems with PCI devices under a non-Windows OS. If you dual-boot Windows and Linux, don't worry- your
PCI devices should still work in Windows with BIOS PNP disabled, as the PNP functionality of the Windows OS itself will
perform the necessary resource allocation.

*Note: If you are connecting to a network or ISP via DHCP, and you see a message on bootup similar to "Determining IP
information for device eth0: FAILED", that can indicate a problem with your DHCP configuration (or the DHCP server)
This article doesn't deal with DHCP issues, but I hope to be able to post one that does in the future.


2. Use one of the following commands to verify that your card is at least basically identifying itself to the system:

lspci -vv |less
less /proc/pci
cat /proc/pci

In the resulting output, look for the "Ethernet Controller" entry. It should contain information about your model of card
and/or its chipset, as well as IRQ, I/O port, and memory address values.


3. Run the ifconfig command; information concerning your NIC should appear in the resulting output. You should also
see stats for the loopback (lo) device 127.0.0.1. If you've already tried to enter your IP info (inet addr, Bcast, Mask)
through a GUI network configuration utility, verify that those values are correctly reflected in ifconfig's output. Also
check for RX/TX errors and collisions. If eth0 is not listed when you run ifconfig, try "ifconfig -a"; the "-a" option forces
ifconfig to report all network interfaces, active or not. If eth0 appears only when you run ifconfig with the -a option, it is
definitely not correctly configured.


4. Verify that the correct module is being loaded for your ethernet card by issuing the "lsmod" command; you should see the module
name in the resulting list of loaded modules. If not, issue the following two commands and try again:

depmod -ae
modprobe <name of your NIC's module>

*Note- documentation concerning module loading will often refer to the "insmod" command, but use modprobe instead if it's available.
Basically, insmod is not as "intelligent" as modprobe in the fact that it doesn't try to resolve module dependencies (where the
successful loading of a given module "depends" on another module being loaded first).

If the module appears as loaded after that, check your /etc/modules.conf (/etc/conf.modules in some distros)file to make sure that it has
an entry for the module; this will load the module automagically each time you boot. The line will look like this:

alias eth0 <name of your NIC's module>

If the line doesn't exist, add it by editing the file with your favorite text editor.


5. Run the following two commands:

less /proc/interrupts
less /proc/ioports

For the first command, note the IRQ assigned to eth0; verify that it matches the Interrupt value listed when you ran the ifconfig
command, and note if the assigned interrupt is being shared with another device. If so, this doesn't necessarily indicate a problem,
but it can.
For the second command, make sure that the address range of your Ethernet controller doesn't conflict with/overlap that of another
device. Also make sure that the start of the address range corresponds to the Base address value shown for eth0 when you ran ifconfig.


6. If any of the above steps yield errors or indicate conflicts even after you've turned off PNP support in the BIOS, try physically
rearranging the slot order of your PCI cards; doing so can force a reallocation of resources to devices on the PCI bus.


7. Once you're sure that the NIC is correctly configured and the module is properly loaded, you can try to bring the card up with
the following command:

ifconfig eth0 <the NIC's IP address> netmask <the appropriate netmask> up

If you get no errors, you should at least then be able to ping the IP address of the NIC.

--------------------------------------------------------------------------------------------------------------------------------

Distro-specific configuration files:

------------------------------------

Redhat, Mandrake, and a few other distros use the following two basic network interface configuration files:

/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0

The format of the files may vary slightly across distros/versions, but the the pertinent contents of the files should be very similar to:

/etc/sysconfig/network:

NETWORKING=yes
FORWARD_IPV4="no"
HOSTNAME="your_machine's_hostname"
DOMAINNAME="your_domain_name" ("localhost" is valid here)
GATEWAY="IP_address_of_your_gateway_machine/device" (if applicable)
GATEWAYDEV="eth0"


/etc/sysconfig/network-scripts/ifcfg-eth0:

DEVICE='eth0'
BOOTPROTO='none'
BROADCAST='broadcast_address_of_your_IP_address_range'
NETWORK='network_address_of_your_IP_range'
ONBOOT='yes'
TYPE='Ethernet'
USERCTL='no'
IPADDR='your_machine's_IP_address'
GATEWAY='IP_address_of_your_gateway_machine/device'
NETMASK='netmask_of_your_IP_range'

--------------------------------------------------------------------------------------------------------------------------------

An explanation of IP addressing as a whole (including terms such as "netmask", "network address", "broadcast address",etc.) is well beyond
the scope of this Help File. However, the following sites provide some good background information:

http://www.cisco.com/warp/public/701/3.html
http://www.ipprimer.com/section.cfm
http://www.oreilly.com/catalog/coreprot/chapter/appb.html
http://linux-ip.net/html/index.html

--------------------------------------------------------------------------------------------------------------------------------

- Further resources, including NIC driver source code and diagnostic utilities can be found at http://www.scyld.com/network.
* Note that as of 3/04 the Scyld site appears to have undergone changes; some links on the above page are broken.

--------------------------------------------------------------------------------------------------------------------------------

#include <disclaimer.h>

This is, as a whole, a work in progress. It might (and probably does) contain omissions and/or slight inaccuracies.
However, none of the suggestions given here will do any harm to your system if performed correctly.

Being a work in progress, any suggestions/corrections/critcisms are more than welcome. If you've noticed any errors in the above,
or just have something constructive to suggest, feel free to email me:

david@dmrca.com







Posted on Jul 02, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

3 Answers

What version of Linux runs on DL580 G4?


Minimum Supported Red Hat Updates •Red Hat Enterprise Linux 5 Update 1 •Red Hat Enterprise Linux 4 Update 5 6-Core/4-Core Intel Xeon Processor 7400 Series •Red Hat Enterprise Linux 5.22 •Red Hat Enterprise Linux 4.7 Minimum Supported Novell Service Packs•SUSE LINUX Enterprise Server 10 SP1•SUSE LINUX Enterprise Server 9 SP31 6-Core/4-Core Intel Xeon Processor 7400 Series •SUSE LINUX Enterprise Server 10 SP23 •SUSE LINUX Enterprise Server 9 SP44

Nov 28, 2012 | HP Compaq ProLiant DL580 G4 (430811001)...

1 Answer

What can window does it take


I have loaded windows 2003 server on this but the following OS are supported:
http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?prodNameId=3279705&lang=en&cc=us&prodTypeId=15351&prodSeriesId=316537&taskId=135
Microsoft Windows 2000
Microsoft Windows NT 4.0
Microsoft Windows Server 2003
Novell NetWare 5.1
Novell NetWare 6.0
Novell NetWare 6.5
OS/2
Red Hat Enterprise Linux 2.1 (x86)
Red Hat Enterprise Linux 3 (x86)
Red Hat Enterprise Linux 4 (x86)
Red Hat Enterprise Linux 5 Server (x86)
Red Hat Linux 7.2
Red Hat Linux 7.3
Red Hat Linux 8.0
SCO Open UNIX 8
SCO OpenServer 5
SCO OpenServer 6
SCO UnixWare 7
SUSE Linux Enterprise Server 7
SUSE Linux Enterprise Server 8
SUSE Linux Enterprise Server 9 (x86)

Dec 25, 2010 | HP Compaq ProLiant ML350 G3 Server

1 Answer

I have an Ml 110 G5 Server, But i could not find the VGA driver for the Win Xp , kindly assist thanks Justin


Hi, I m really sorry to say that but you have a Server Product and its built to run Windows Server Series on it (or Linux / Novell Netware).
This is the list of compatible Server list
Microsoft Windows Server 2003 Microsoft Windows Server 2003 for 64-bit Extended Systems Microsoft Windows Server 2008 Essential Business Microsoft Windows Server 2008 Foundation Edition Microsoft Windows Server 2008 R2 Microsoft Windows Server 2008 Small Business Microsoft Windows Server 2008 W32 Microsoft Windows Server 2008 x64 Novell NetWare 6.5 Red Hat Enterprise Linux 4 (AMD64/EM64T) Red Hat Enterprise Linux 4 (x86) Red Hat Enterprise Linux 5 Server (x86) Red Hat Enterprise Linux 5 Server (x86-64) SUSE Linux Enterprise Server 10 (AMD64/EM64T) SUSE Linux Enterprise Server 10 (x86) SUSE Linux Enterprise Server 9 (AMD64/EM64T) SUSE Linux Enterprise Server 9 (x86)
Here is the link for Drivers
Try to use the Driver for Windows 2003.
It has a Matrox VGA as I know. If you know which Matrox series you have, then Browse here for the Drives: Matrox Graphics Support. Make sure that you choose the Exact Driver software which suites the System.
Note: Not every product has the Driver Software for Windows XP.
Please rate the answer! Thanks for contacting Fixya!

Jun 19, 2010 | HP Compaq ProLiant ML110 G4 Server

1 Answer

How to configure Tata Photon Plus with Red Hat Linux 3


linux connectn
1st log in the root user
connect the usb modem
run terminal in linux
type following command
wvdialconf /etc/wvdial.conf

wvdialconf will detect the modem

nano /etc/wvdial,conf
jus replace dis wid defaulf setting
modem-/dev/ttyusb0
baud=115200
dial command=atdt
baud=115200
dial command=atdt
init1=atz
init 2=at+crm=1
flow control=hardware
username=internet
password=internet
phone=#777
stupid mode=1

aftr dis open terminal type wvdial &press enter

if u want to disconnect den press clt +c



kindly revert if u need any help

if ur using tata photon + then plz check properly der is a inbuilt software in photon modem if u cant find den follow dat above method

Feb 05, 2010 | Red Hat Enterprise Linux ES 3 Standard...

1 Answer

How to download and install apache on linux5


Hi Follow the below procedures.
How to install and start the Apache or httpd service under Linux

by Milind

Q. How do I install and start the Apache or httpd web server under Fedora core or Cent OS?

A. Apache HTTP Server is a free software/open source web server for Unix-like systems and other oses.

Apache features configurable error messages, DBMS-based authentication databases, and content negotiation. It is also supported by several graphical user interfaces (GUIs) which permit easier, more intuitive configuration of the server.

Use rpm command to install Apache under Linux. You can also use up2date or yum command to install the same.
Task: Install Apache/httpd under Fedroa Core/Cent OS Linux

Type the following command if you are using Fedora or Cent OS Linux:

# yum install httpd
Now, start the Apache/httpd
# chkconfig httpd on
# /etc/init.d/httpd start
Task: Install Apache/httpd under Red Hat Enterprise Linux

Type the following command
# up2date httpd
Start the Apache/httpd
# chkconfig httpd on
# /etc/init.d/httpd start
Task: Debian Linux httpd/Apache installation

Use apt-get command:
# apt-get install apache2
# /etc/init.d/apache2 start
Task: Verify that port 80 is open

# netstat -tulpn | grep :80

You can also install httpd from CDROM with rpm command:
# rpm -ivh httpd*
Configuration

Your server is started but you need to configure and use Apache as per your requirement. /etc/httpd/conf/httpd.conf (RHEL/Cent OS/Fedora Core Linux) or /etc/apache2/httpd.conf (Debian / Ubuntu Linux) configuration file. Use text editor such as vi to edit file. This file is very well documented or read official Apache configuration documentation for more information.

Dec 30, 2009 | Red Hat Enterprise Linux ES 3 Standard...

1 Answer

Hw can i access internet through idea usb net setter on rhel 5.1


i dont think i work on red hat,i saw on huawei website
  • GSM/GPRS/EDGE (850/900/1800/1900MHz)
  • Support 236.8Kbps high speed services
  • Support SMS and Voice (Optional) service
  • Plug & Play
  • Data statistics
  • Support Windows 2000/XP/Vista and Mac Operating Systems

Sep 19, 2009 | Red Hat Enterprise Linux ES Basic Edition

2 Answers

Redhat es5


This model was found not to be 64bit but 32bit.

May 18, 2008 | HP Compaq ProLiant DL380 G4 Server

4 Answers

How can i installed driver of sata hdd for linux red hat


if you are installing red hat 8 and higher there is no need to install extra driver because linux is the only operating system which will install everything including drivers, office suite,programming tools etc .... as far as my suggestion dnt install old versions of linux instead install new version ... there are many linux available
ex: fedora core 4,5,6 ,knoppix live cd linux ( which boots linux from cd no need install it) ,ubuntu,red hat,mandrake,suse ....
you can download it from net 4 free as linux is open source 4 all ...
be careful while installing linux especially during partitioning..... if u make a mistake you will lose all datas

Feb 04, 2008 | Seagate 80GB 7200 rpm SATA/150 8MB Serial...

Not finding what you are looking for?
Computers & Internet Logo

888 people viewed this question

Ask a Question

Usually answered in minutes!

Top Red Hat Computers & Internet Experts

Computer Links

Level 3 Expert

2385 Answers

rjivaro

Level 2 Expert

153 Answers

Marcin

Level 2 Expert

191 Answers

Are you a Red Hat Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...