I've got a OK ppp connection, but cannot connect anywhere!
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I've got a OK ppp connection, but cannot connect anywhere!
Hi, everybody! ...it's been so long... I'm really happy 'cause at last I found a *real* hard-modem (it's an internal us robotics mod0727) ... it works -you'll see-
but the problem is this:
I configure it and I make it work. I run the command "ppp-go" and I hear it dialing; after that, zipslack give me this ok status:
Serial connection established.
Using interface ppp0.
Pap authentication succeed.
Local IP address: xx.xxx.xx...
Remote IP address: xx.xxx.xx...
The first time I get this message my expression was ...
...but when I type:
after a few seconds it give me back the message "cannot establish connection", or something like that ...
so, I tryed "ping www.google.com"... and the message -after a few seconds: " unknow host www. google.com" ->
...then was when I remember the was a command named...mmmm... where f@#!k is it?? ..yeah! the "iptraf command.." , so I execute it.. and I saw something moving..but really few bytes.. What I did was open another virtual terminal and ran again the ping command, and inmediatly swich back on iptraf, and I saw some movement in there, but ping command give me back that "unknow host"...
"what can I do?.." I said to myself.. "maybe opening centericq I can find out something.." ..and I did it. After I trigger it I can saw it 'looking for connection', but after some seconds the the answer was "cannot contact server: socket problems.."
I surrended, and gave the ppp-off command, and the status was:
"...connect time: 9.7 minutes.
sent 2445 bytes. recived 2080 bytes..."
Somebody can give me any idea how to deal with it..?
thanks in advance.
Hi minike (Hola ),
You should try get to the number xushi posted (google) from your Linux machine, because it may be a problem with the DNS (this translates the names of the pages to numbers), so you could be actually connected to internet but can't get to a name like google.com but maybe you can to a IP address (the number). If you can try this, and actually get into google that means it's just a problem with the DNS and can be fixed by changing the nameservers in /etc/resolv.conf
By the way, to put fixed character text use [ code ] and this text will be fixed [ /code ] (remove the spaces between the [ ]).
Masand: I *really* apreciate your help dealing with my problem, but must say I don't understand you... (my english is very poor, maybe that's the reason..)
**..your're right: I have those numbers, but I cannot access any web page... nor ftp site,etc...
What I did was to ping to an ip number... (this form: http://xxx.xx.xx.xx), but the result was the same that I get with a site-name.
**You say something about correcting some dns entries on my dns server...
..really do I have one of thats servers on mi very machine? ... what color is it..??
>>Seriously .. I really have not a clue what you mean with that dns stuff ...
**and for last: shure thing my system is making logs... but the only one I found was that you told me: the cotents of the /etc/resolv.conf , and I already gave it to you. (the resolv.conf is a log file, isn't it? --remember my status: )
Please tell me which kind of files sould I look for...
BTW: is possible I mess it up during the configuration using thats MAKEDEV and setserial commands? -I made it all by hand.
Thanks a lot.
Also, (I don't remember if it comes with Slackware) but you don't need a DNS server, but connect to one, usually they're given to you by your ISP. If you use windows, take a look at the configuration that they should be there (Usually 2 DNS servers are given).
By the way, if you want to get in contact, take a look at my profile, i've some IM accounts there.
I forgot to tell that the first numbered-ping I made was without 'http://'
but in that instance the 'not-found' message was instantaneous, that's why I repeat it including that prefix, and then, the not-found comes a few seconds delayed -that why I though that was the right one...
Instead of that, I made it again -without preffix- ....and guess what....
yesss!!! I had a successful ping connection with that number!!!
statistics: more than 50 packets send; 0 lost; average speed 350ms....
I think whe have some progress in here...
So, now it make sensce to say I already have my IP's dns numbers: the primary and the secondary... (we are talking about just 2 numbers, right ... ?)
I did what you told me, and here is the result:
Congrats, you're connected then, just need to configure the DNS servers in the right way
Open the file /etc/resolv.conf with some editor (i recommend mcedit, just type: mcedit /etc/resolv.conf).
Once there remove it's contents and put two lines with:
Change IP_DNS1 and 2 to the numbers you have, save, and you're done