Computing.Net > Forums > Linux > pppd does not answer to my ISP

pppd does not answer to my ISP

Reply to Message Icon

Original Message
Name: sys33
Date: January 30, 2004 at 04:28:06 Pacific
Subject: pppd does not answer to my ISP
OS: Red Hat 9.0
CPU/Ram: PII 233 / 256
Comment:

I'm using a Red Hat 9
Modem U.S.Robotics 56K Message Modem.

Installation Ok,
the modem answer, i can reach the ISP, the remote modem answer.

I used this string:
/usr/sbin/pppd /dev/ttyS0 57600 debug user myuser@tiscali.it connect "/usr/sbin/chat -v -t60 '' ATZ3 OK ATD0,,7023456789 ARQ ''"

the debug log says:

Jan 11 22:31:14 CFabioHost pppd[12311]: Serial connection established.
Jan 11 22:31:14 CFabioHost pppd[12311]: using channel 11
Jan 11 22:31:14 CFabioHost pppd[12311]: Using interface ppp0
Jan 11 22:31:14 CFabioHost pppd[12311]: Connect: ppp0 <--> /dev/pts/2
Jan 11 22:31:15 CFabioHost pppd[12311]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0x7a82b295> <pcomp> <accomp>]
Jan 11 22:31:42 CFabioHost last message repeated 9 times
Jan 11 22:31:45 CFabioHost pppd[12311]: LCP: timeout sending Config-Requests
Jan 11 22:31:45 CFabioHost pppd[12311]: Connection terminated.
Jan 11 22:31:45 CFabioHost pppd[12311]: Couldn't release PPP unit: Invalid argument
Jan 11 22:31:45 CFabioHost pppd[12311]: Hangup (SIGHUP)
Jan 11 22:31:45 CFabioHost pppd[12311]: Waiting for 1 child processes...
Jan 11 22:31:45 CFabioHost pppd[12311]: script pppd (charshunt), pid 12312
Jan 11 22:31:45 CFabioHost pppd[12311]: Child process pppd (charshunt) (pid 12312) terminated with signal 15
Jan 11 22:31:45 CFabioHost pppd[12311]: Exit.

If I go to check the chars that the two modems exchanged,
I found:
(I get it with pppdump on the file generated with the record option of pppd)

rcvd "\0d\0aCONNECT 49333/ARQ\0d\0a"
sent "\0d"
time 1.0s
sent "~\ff}#\c0!}!}!} }4}\"}&} } } } }%}&z\82\b2\95}'}\"}(}\"F\dc~"
time 3.0s
sent "~\ff}#\c0!}!}!} }4}\"}&} } } } }%}&z\82\b2\95}'}\"}(}\"F\dc~"
time 0.1s
rcvd "r"
rcvd "\02r\02\92|\12\fe\8c\02\80'p\12r|"
rcvd "\00\8c\92b\ec'\ec'\e0\12nn\92`\db`\db\9b|\12c\df\12\ee'\1e\00\fc"
time 2.9s
sent "~\ff}#\c0!}!}!} }4}\"}&} } } } }%}&z\82\b2\95}'}\"}(}\"F\dc~"
time 0.2s
rcvd "~\e2nb\8c\0c\8e\02$\02 \02 \e2\90\0c\e2\9c\8c\e0$\1c\f2\ee"
time 2.8s
sent "~\ff}#\c0!}!}!} }4}\"}&} } } } }%}&z\82\b2\95}'}\"}(}\"F\dc~"
time 0.2s
rcvd "~\e2nb#\02$\02\90"
rcvd "\0c\8f\f2|\8c\92{b\fe\92\ec\12\1c\f2\ef"
time 2.9s
sent "~\ff}#\c0!}!}!} }4}\"}&} } } } }%}&z\82\b2\95}'}\"}(}\"F\dc~"

It seems that pppd does not recognize the return string from ISP.

I've tried to find something about this problem in the howto and some other internet connection instruction,
but I have found anything.

these are the files I've used:
#/etc/ppp/options
#
lock
crtscts
noipdefault
noauth
defaultroute
receive-all
record /home/cfabio/pppdrecord

#/etc/resolv.conf
domain tiscali.it
nameserver 195.130.224.18

#/etc/ppp/pap-secrets
# Secrets for autentication using PAP
# client server secret IP addresses
"myuser@tiscali.it" * "mypassword"

I could made some mess in the hosts file, but I think that it can't be the problem at this stage of the connection.

---- modem setting:
modem setup: (from minicom)
atz3
OK
ati4
U.S. Robotics 56K Message Settings...

B0 E1 F1 L2 M1 Q0 V1 X1 Y0
SPEED=38400 PARITY=N WORDLEN=8
DIAL=TONE OFF LINE CID=0

&A1 &B0 &C1 &D2 &H0 &I0 &K1
&M4 &N0 &P0 &R1 &S0 &T5 &U0 &Y1

S00=000 S01=000 S02=043 S03=013 S04=010 S05=008 S06=004
S07=060 S08=002 S09=006 S10=014 S11=072 S12=050 S13=000
S15=000 S16=000 S18=000 S19=000 S21=010 S22=017 S23=019
S25=005 S27=001 S28=008 S29=020 S30=000 S31=128 S32=002
S33=000 S34=000 S35=000 S36=014 S38=000 S39=012 S40=000
S41=004 S42=000

if I try the connection with minicom, I get:
atd91,,7023456789
CONNECT 50666/ARQ


User Access Verification

Username: myuser@tiscali.it
Password:

% Authentication failed.

Username:

----
but anyway I can't get the authentication with script with chat, and also wvdial does not work.

thanks to all
regards
Fabio


Report Offensive Message For Removal


Response Number 1
Name: 987
Date: January 30, 2004 at 08:41:09 Pacific
Reply: (edit)

What isp is this? Does it need special software?


Report Offensive Follow Up For Removal

Response Number 2
Name: 3Dave
Date: January 30, 2004 at 09:07:17 Pacific
Reply: (edit)

Connecting to tiscali yeah? You might need to dial a different phone number. I was trying to connect to demon with a scripted login and there was a specific number I had to use in order for it to work.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: pppd does not answer to my ISP 

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge