01-07-2002
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!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I write a sh script that zip and copy to tape all files that older then 2 hours.
1. The way I choose is - touch a file with "now - 2 hours", then use fine with '! -newer'
2. Do you have any other idea to do it ?
tnx. (1 Reply)
Discussion started by: yairon
1 Replies
2. Programming
I need to compile a file,but 'make' does
not work.please tell me how to use it or
need which tools? (3 Replies)
Discussion started by: dsun5
3 Replies
3. Shell Programming and Scripting
I wonder how I shall read the result below, especially 'what'
shown below.
The result was shown when I entered 'w'.
E.g what is TOP? What is gosh ( what does selmgr mean?)?
login@ idle JCPU PCPU what
6:15am 7:04 39 39 TOP
6:34am 6:45 45 45 TOP
6:41am ... (1 Reply)
Discussion started by: Aelgen
1 Replies
4. UNIX for Advanced & Expert Users
Can anybody help me?
I am developing a utility for automating message paging to a BT alphanumeric pager.
I am using a USR 56K Fax-modem connected to /dev/cuab on a Sun Ultra-10. I am using the UNIX 'tip' utility to connect to the modem and I have configured the modem as follows: Baud Rate:... (2 Replies)
Discussion started by: mybeat
2 Replies
5. UNIX for Dummies Questions & Answers
Hi, guys, I have a big problem.
I've got a sun solaris 4.1.4 workstation, and the /var/adm/message file will add one row every few seconds. It becomes a large file in a short time.
I wander if there are some mistakes configuring the workstation.
the /var/adm/message is as follow:
... (3 Replies)
Discussion started by: cloudsmell
3 Replies
6. UNIX for Dummies Questions & Answers
echo 'it's friday'
why appear the > (3 Replies)
Discussion started by: yls177
3 Replies
7. IP Networking
Hey all,
I've bought a few bits from Belkin who seem quite happy to support FreeBSD! Last time I bought a UPS from them and it's still going well :D
I saw this on their website that the 16bit PCMCIA card was supported under FreeBSD:
http://www.belkin.com/network/F5D5020.html
I went to my... (0 Replies)
Discussion started by: WIntellect
0 Replies
8. Email Antispam Techniques and Email Filtering
Here is a crude procmail recipe that I quickly created (NOT a procmail recipe expert, btw) that has been catching lots of spam (current second after the charset_spam recipe posted earlier):
:0B
* .*If.you.do.not.wish.to.receive...*
more_spam
:0B
* You.requested.to.receive.this.mailing... (0 Replies)
Discussion started by: Neo
0 Replies
9. UNIX for Advanced & Expert Users
Somehow someone created a file named '-ov' in the root directory.
Given the name, the how was probably the result of some cpio command they bozo'ed.
I've tried a number of different ways to get rid of it using * and ? wildcards, '\' escape patterns etc.. They all fail with " illegal option --... (3 Replies)
Discussion started by: GSalisbury
3 Replies
10. Shell Programming and Scripting
Hopefully this doesn't come off as too much of a "newbie" question or a flamebait. But I have recently begun working with a Sun Solaris box after having spent the past five years working with RedHat. From what i can tell, thing look fairly similar and the 'man' command is some help. But I've... (7 Replies)
Discussion started by: deckard
7 Replies
LEARN ABOUT DEBIAN
pppd-radius
PPPD-RADIUS(8) System Manager's Manual PPPD-RADIUS(8)
NAME
radius.so - RADIUS authentication plugin for pppd(8)
SYNOPSIS
pppd [ options ] plugin radius.so
DESCRIPTION
The RADIUS plugin for pppd permits pppd to perform PAP, CHAP, MS-CHAP and MS-CHAPv2 authentication against a RADIUS server instead of the
usual /etc/ppp/pap-secrets and /etc/ppp/chap-secrets files.
The RADIUS plugin is built on a library called radiusclient which has its own configuration files (usually in /etc/radiusclient), consult
those files for more information on configuring the RADIUS plugin
OPTIONS
The RADIUS plugin introduces one additional pppd option:
radius-config-file filename
The file filename is taken as the radiusclient configuration file. If this option is not used, then the plugin uses
/etc/radiusclient/radiusclient.conf as the configuration file.
avpair attribute=value
Adds an Attribute-Value pair to be passed on to the RADIUS server on each request.
map-to-ifname
Sets Radius NAS-Port attribute to number equal to interface name (Default)
map-to-ttyname
Sets Radius NAS-Port attribute value via libradiusclient library
USAGE
To use the plugin, simply supply the plugin radius.so option to pppd, and edit /etc/radiusclient/radiusclient.conf appropriately. If you
use the RADIUS plugin, the normal pppd authentication schemes (login, checking the /etc/ppp/*-secrets files) are skipped. The RADIUS
server should assign an IP address to the peer using the RADIUS Framed-IP-Address attribute.
SEE ALSO
pppd(8) pppd-radattr(8)
AUTHOR
David F. Skoll <dfs@roaringpenguin.com>
PPPD-RADIUS(8)