LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-14-2005, 11:58 AM   #1
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Rep: Reputation: 30
Angry 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.
 
Old 04-14-2005, 12:20 PM   #2
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
can you access http://216.239.57.99 ?
 
Old 04-14-2005, 12:21 PM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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

regards
 
Old 04-14-2005, 10:43 PM   #4
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
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!
 
Old 04-14-2005, 10:46 PM   #5
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
ups... just a little hard to read thats table, isn't it ?
:/
 
Old 04-14-2005, 10:49 PM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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 [ ]).

Last edited by gbonvehi; 04-14-2005 at 11:11 PM.
 
Old 04-14-2005, 11:18 PM   #7
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
Cool

a better text align:
Kernel IP routing table
Destination--Gateway--Genmask--------Flags--Metric-Ref---Use-Iface
200.42.95~- 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~- 0.0.0.0 ---------UG ----0---- 0 ---- 0 --ppp0
 
Old 04-14-2005, 11:31 PM   #8
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
nameserver 200.42.95.137

and

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

check those out

regards
 
Old 04-15-2005, 01:16 AM   #9
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
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: )
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.
 
Old 04-15-2005, 02:02 AM   #10
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Quote:
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:
Code:
ping 216.239.57.99
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.

Last edited by gbonvehi; 04-15-2005 at 02:21 AM.
 
Old 04-15-2005, 02:07 AM   #11
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
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

regards
 
Old 04-15-2005, 05:28 AM   #12
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
Exclamation

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

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:

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 200.42.119.125
Apr 15 06:51:50 zipslack pppd[846]: remote IP address 200.42.95.137

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

(thanks again.)
 
Old 04-15-2005, 05:35 AM   #13
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
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
 
Old 04-15-2005, 06:44 AM   #14
minike
Member
 
Registered: Aug 2004
Location: Argentina
Distribution: slackware 12
Posts: 211

Original Poster
Rep: Reputation: 30
ok, man... -I'm so exited- gonna try it right now........
 
Old 04-15-2005, 07:14 AM   #15
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
where is the DNS server IP??

do u have that??

regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with ppp connect please_die Red Hat 4 05-14-2005 03:07 AM
can't connect to internet through PPP dvm Slackware 11 09-14-2004 01:50 AM
Getting reject when trying to connect via ppp. Tarts Slackware 2 11-13-2003 05:40 AM
can't connect through ppp in redhat 9.0 spyghost Linux - Software 1 09-02-2003 09:39 AM
PPP won't Connect CalcAE Linux - Networking 1 06-16-2002 06:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration