LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   unable to connect to the internet (https://www.linuxquestions.org/questions/linux-general-1/unable-to-connect-to-the-internet-410981/)

trustjitu 02-02-2006 02:50 PM

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 10.253.38.85 whereas the gateway ip is 10.253.38.1
the dns is 202.144.50.4 and 202.144.13.50
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.

peter_89 02-02-2006 03:03 PM

So wait, you were only able to connect to the web only once on Linux? Were there any symptoms?

italiano40 02-02-2006 09:12 PM

have you contacted red hat
they will help you
they are great try that

jschiwal 02-02-2006 10:05 PM

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:
/etc/sysconfig/network/routes
/etc/sysconfig/network/ifroute-<interface>
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.

rushin_911 02-02-2006 11:17 PM

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


All times are GMT -5. The time now is 06:41 PM.