-   Slackware (
-   -   I've got a OK ppp connection, but cannot connect anywhere! (

minike 04-14-2005 11:58 AM

I've got a OK ppp connection, but cannot connect anywhere!
Hi, everybody!'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:
Remote IP address:

The first time I get this message my expression was :D :D :D ...
...but when I type:
after a few seconds it give me back the message "cannot establish connection", or something like that ... :rolleyes:
so, I tryed "ping"... and the message -after a few seconds: " unknow host www." -> :mad:
...then was when I remember the was a command named...mmmm... :study: where f@#!k is it?? :study: :study: ..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"... :scratch:
"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..." :cry:
Somebody can give me any idea how to deal with it..?
thanks in advance.

xushi 04-14-2005 12:20 PM

can you access ?

masand 04-14-2005 12:21 PM

what do get when u run

route -n

and what are the cotents of the /etc/resolv.conf

after u are connected to the internet


minike 04-14-2005 10:43 PM

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:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface UH 0 0 0 ppp0 U 0 0 0 lo UG 0 0 0 ppp0

can U see something meaninful?
-waitin' 4 your answer...
PD: nice site!

minike 04-14-2005 10:46 PM

ups... just a little hard to read thats table, isn't it ?

gbonvehi 04-14-2005 10:49 PM

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 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 [ ]).

minike 04-14-2005 11:18 PM

a better text align:
Kernel IP routing table
200.42.95~- - --UH ---- 0 ----0---- 0 --ppp0 ---- ------U ----0 ----0 ---- 0 --- lo ------ 200.42~- ---------UG ----0---- 0 ---- 0 --ppp0

masand 04-14-2005 11:31 PM


and UH 0 0 0 ppp0 U 0 0 0 lo 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

check those out


minike 04-15-2005 01:16 AM

hello, gbonvehi... nice to find a fellow citizen...
but your recipe didn't work. Same results :(
(keep in touch!)


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: :newbie: )
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.

gbonvehi 04-15-2005 02:02 AM


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.
Take out the http:// like:

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.

masand 04-15-2005 02:07 AM

hi there

i also made a couple of spelling mistakes

so do this for ur problem

as soon as u r connected to the internet run this

tail /var/log/messages
(only after u r connected to the internet)

then post the output u get from here


minike 04-15-2005 05:28 AM

well well well, pals ... something is goin' on...

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:

Apr 15 06:51:45 zipslack chat[849]: CONNECT
Apr 15 06:51:45 zipslack chat[849]: -- got it
Apr 15 06:51:45 zipslack pppd[846]: Serial connection established.
Apr 15 06:51:45 zipslack pppd[846]: Using interface ppp0
Apr 15 06:51:45 zipslack pppd[846]: Connect: ppp0 <--> /dev/ttyS4
Apr 15 06:51:49 zipslack pppd[846]: PAP authentication succeeded
Apr 15 06:51:49 zipslack kernel: PPP BSD Compression module registered
Apr 15 06:51:49 zipslack kernel: PPP Deflate Compression module registered
Apr 15 06:51:50 zipslack pppd[846]: local IP address
Apr 15 06:51:50 zipslack pppd[846]: remote IP address

well, guys...let's talk about the next steps... ;) :)

(thanks again.)

gbonvehi 04-15-2005 05:35 AM

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 ;)

minike 04-15-2005 06:44 AM

ok, man... -I'm so exited- gonna try it right now........

masand 04-15-2005 07:14 AM

where is the DNS server IP??

do u have that??


All times are GMT -5. The time now is 10:14 PM.