The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
pppd-pap problem sriram.ec Security 1 12-07-2006 09:08 AM
Trying to get into OpenBSD deckard BSD 6 03-15-2005 05:43 PM
pppd problem wopsis UNIX for Dummies Questions & Answers 3 10-16-2004 07:07 AM
SIGHUP received to pppd jaguar Linux 2 08-05-2004 04:38 AM
please help with openbsd 2.9 Blunt_Killer UNIX for Dummies Questions & Answers 11 06-24-2001 07:15 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 01-07-2002
Registered User
 

Join Date: Jan 2002
Posts: 2
pppd: ``chatscript failed'' - OpenBSD

Hello,
I have searched for the keywords ``chatscript'' and ``pppd'' in these forums, but didn't find anything that really helped me.
---
My problem: After having read the kernel ppp pages in the FreeBSD handbook (plus another manual and the pppd/chat manpages), i tried to dial my provider under OpenBSD 2.9, but it didn't work. Using ``#pppd /dev/cua00 38400 connect '/usr/sbin/chat -f /etc/chatscript' defaultroute crtscts noauth'', the modem makes some strange noise, stops then and the program tells me that the ``chatscript failed''. If i try ``chat '' AT OK ATDT**** login: ***** password: ****** annexppp'', it shows up AT, then stops. Just using ``#pppd'' (I paste the config files below), i get another ``chatscript failed''. /var/log/ppp.log doesn't tell me anything more but this error...
Ok, here my config files:


/etc/ppp/options:

crtscts
modem
connect "/usr/sbin/chat -f /etc/ppp/login.chat.script"
noipdefault
domain ***.***
:***.***.***.*
defaultroute


/etc/ppp/login.chat.script:

ABORT BUSY ABORT 'NO CARRIER' "" AT OK ATDT******* CONNECT "" TIMEOUT 10 ogin:-\\r-ogin: ***** TIMEOUT 5 sword: *****


/etc/chatscript:

ABORT BUSY ABORT 'NO CARRIER' '' ATZ OK ATDT******
CONNECT ''
'' ''
'' ''
Userid:--Userid: *****
assword?--assword? *****
---
I'm a bit ashame not being able to ask a concrete question (because i really don't know what's wrong). I'm using a 56k modem and a kinda ``normal'' provider... I have tried, like i said, various examples from the man pages and other tutorials (they all differ)... Some of them let the modem at least dial and break after one minute (though i don't seem to be connected, but at least it shows that the modem works with OpenBSD). I beg OpenBSD users on this board to paste their config-files and/or tell me if i'm missing any steps (maybe i forgot a config file or something?! /etc/resolv.conf has a nameserver entry, btw).
Thanks in advance!
Forum Sponsor
  #2  
Old 01-07-2002
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,435
Chat will fail when the modems do not connect or there is a problem with pppd at the server end..... did you check the pppd logfiles on the server side?

My suggestion is to check the pppd system log files on the server side. This will help you find the exact problem.
  #3  
Old 01-07-2002
Registered User
 

Join Date: Jan 2002
Posts: 2
Hi Neo,
um.. how should i check the logfiles of my provider? And btw, did you find any mistakes in the config files or am i missing something? I wanna make sure that i don't make any stupid mistake...
Google The UNIX and Linux Forums
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:07 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0