Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-02-2006, 03:50 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 1

Rep: Reputation: 0
unable to connect to the internet

I am using a broadband internet connection,
i have red hat enterprise linux ws.
I m not able to connect to the net through it
i m connecting through a gateway
my ip is whereas the gateway ip is
the dns is and
when i run the connection utility on a terminal,it prompts for the username and password but does not connect.
i m able to ping the gateway successfully.

Last edited by trustjitu; 02-03-2006 at 01:52 AM.
Old 02-02-2006, 04:03 PM   #2
Registered: Jan 2006
Distribution: Microsoft Windows XP Professional SP2; Slackware Linux 10.2
Posts: 215

Rep: Reputation: 30
So wait, you were only able to connect to the web only once on Linux? Were there any symptoms?
Old 02-02-2006, 10:12 PM   #3
Registered: Jan 2006
Distribution: CentOS 5.3, Mac OSX 10.6.8
Posts: 70
Blog Entries: 1

Rep: Reputation: 17
have you contacted red hat
they will help you
they are great try that
Old 02-02-2006, 11:05 PM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678Reputation: 678
Is this computer connected directly to the cable/DSL modem, or do you go through another computer/gateway device?

You will need to post the output of the "route" command, the output of "ifconfig", the contents of "/etc/resolve.conf" and more information on the physical setup, such as the NIC cards, whether you are using DHCP or static addressing, on each NIC device.

There are some things which need to be set up before an internet connection will work. The default gateway route needs to be known, so that the computer needs to know which interface to send and receive internet traffic. This may be the address of the cable/dsl modem, or the address of a cable/dsl router. The nameserver addresses (DNS) need to be entered in the /etc/resolve.conf file. With static addressing, you need to create this manually. With DHCP, the /etc/resolve.conf file is updated dynamically by your DHCP client, based on the information supplied by the server.

I don't know about RedHat, but it may have moved the /etc/route.conf file to separate files:
Check "man 5 route" and "man routes".

Also, you could restart the network service from the shell and note what the messages are:
service network restart

If the system is set up properly, but something isn't working (such as the DHCP server, or an interface), there will probably be an entry in the logs.

As root, you could enter:
fgrep -i -l DHCP /var/log/*
to get a list of logs that mention DHCP.

The /var/log/boot.log and /var/log/warn logs, will probably have the messages of most interest. Look for the strings 'ifup', 'ifup-<an interface>' 'dhcp'.
There is a generic /var/log/messages that is the default log. Also, check the /var/log/warnings if it exists.

Last edited by jschiwal; 02-02-2006 at 11:07 PM.
Old 02-03-2006, 12:17 AM   #5
LQ Newbie
Registered: Feb 2006
Distribution: Arabian Linux
Posts: 9

Rep: Reputation: 0
Maybe if you try to activate the connection using the gnome "Networking" tool if it's there, it's really great


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to connect to internet symb0lism SUSE / openSUSE 8 06-17-2006 07:24 AM
Unable to connect to the Internet Melanieb SUSE / openSUSE 4 08-17-2005 12:51 PM
Unable to connect to the Internet Melanieb Linux - Newbie 1 08-15-2005 06:52 PM
unable to connect to internet cedar Linux - Networking 2 11-20-2004 04:20 PM
Unable to connect to the internet xxvm1 Mandriva 24 09-22-2004 09:59 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:02 AM.

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