LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Connection problem, RedHat, adress resolving (https://www.linuxquestions.org/questions/linux-newbie-8/connection-problem-redhat-adress-resolving-106667/)

killer_bunny 10-21-2003 08:43 AM

Connection problem, RedHat, adress resolving
 
I have set up dial-up internet connection using kppp.
I start connection, and it runs fine and connects normaly.
But when i enter url in the adress bar of mozilla let say www.iskon.hr and press enter in the status bar there is a message that looks like this:

Resolving www.iskon.hr

And afters some time (about a minut) popup windows apperas informing me that i cant connect to selected page!
It is same when i try to send e-mail.
It shows that i cant connect to mail server.

Does anyone know what could be the problem?
Thanx.

tokyoeye 10-21-2003 10:10 AM

Are you able to do a ping to any site on the internet? Please try the following:

ping www.linux.org

and

ping 198.182.196.56


If the first one fails and the second one succeeds you have not entered the correct dns numbers of your isp. In that case please contact your isp for the correct settings.

If both fail you do not have a connection to the internet at all and should check your internetsettings.

Hope this helps...

killer_bunny 10-22-2003 05:24 AM

It is like this.
When i ping for example 213.191.123.* it does nothing and all packet are lost.
If i ping www.google.com it says unknown host.

When i ping my dns it doesn't stop sending packets until i kill the command!

What should i do?

euangray 10-22-2003 06:13 AM

Your system probably is looking on the local network for the DNS, which (if it exists) may be unable to resolve an external address, hence it won't connect you.

Try (as root):

ifconfig eth0 down

if you have a network controller configured, replacing eth0 with whatever your NIC is set up as.

In either case, check kppp setup and make sure the program is configured to disable existing dns servers when you're trying to connect using ppp. You may need to log out and back in before trying the internet connection again.

euangray 10-22-2003 06:18 AM

Forgot to add this:

Many (most?) dialup net connections dynamically allocate DNS servers, so you may not be able to enter static DNS server addresses in kppp setup. Ask your ISP if they do this - if they do, add the server numbers, if they don't then make sure DNS is set to automatic allocation in kppp.

Also, the standard ping program will keeping pinging until either you stop it with ctrl-c or it reaches the count you passed on the command line. Typing

ping <ip.address>

without additional parameters will just keep ping running until you kill it


All times are GMT -5. The time now is 04:30 AM.