I've got a OK ppp connection, but cannot connect anywhere!
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
"links www.google.com"
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.
Hey sushi:
thanks for the link, but I already knew it -thanks to it, I found /*some*/ kind persons in here.
///////////////////////\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
Masand.. thanks for your reply.
here is the info you requested >>
the cotents of the /etc/resolv.conf:
search ciudad.com.ar
nameserver 200.42.95.137
------------------------
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
200.42.95.137 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 200.42.95.137 0.0.0.0 UG 0 0 0 ppp0
////////////////////////////////////////////////////
can U see something meaninful?
-waitin' 4 your answer...
PD: nice site!
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 [ ]).
200.42.95.137 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 200.42.95.137 0.0.0.0 UG 0 0 0 ppp0
u have IP for ur DNS server and ur ISP server
since u are able to access webpages with that ip address then u should lookout for tge correct DNS entry of ur DNS server
also when u caoonect to the internet u must be getting some entries in ur logs
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.
gbonvehi:
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 ... ?)
masand:
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:
nameserver IP_DNS1
nameserver IP_DNS2
Change IP_DNS1 and 2 to the numbers you have, save, and you're done
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.