*BSD News Article 49203


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!news.bluesky.net!news.sprintlink.net!in1.uu.net!news.LASER.NET!usenet
From: warbird@laser.net
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Help: pppd and Modems
Date: 20 Aug 1995 04:48:26 GMT
Organization: LaserNet, L.L.C.
Lines: 30
Message-ID: <416eqq$4s1@news.laser.net>
Reply-To: patton@laser.net
NNTP-Posting-Host: com1ffx57.laser.net
X-Newsreader: IBM NewsReader/2 v1.2

I realize this board is dedicated to freebsd and not netbsd, but I'm hoping someone
can help me out on this.

I've read and read all about pppd and chat etc but am stumped as to why pppd
fails to properly talk to my external modem.  The board/cables/modem all check
out as I've use the combo under dos/OS/2 just fine.

This is what I've typed at the prompt:
pppd /dev/tty01 38400 connect 'chat "" "ATE1L0M1N1Q0V1W2X4....." "OK" (wrap)
"ATDT934-9021" "login:" "****" "ssword:" "****"'

The DTR light comes on but the send/receive lights do nothing.
dmesg reports the existance of com0 and com1 as 16550 uarts, FIFO enabled
but there is no /dev/com0 device.  I looked at the MAKEDEV and sure enough they
don't get created but given the comments in there I assume there is a reason for this.

Also, can anyone tell me why the following returns an error "unknown -f flag"?
pppd /dev/tty01 38400 connect 'chat -f ~/chat.ppp'

The only way I got it to not return an error was to enclose the 'chat...' section in
double quotes instead of single.  Is this proper?

Finally, how do I communicate directly to the modem, as one can do in dos and OS/2
with a 'copy con com2' and then send it the commands?  Chat appears to have no
facility for specifying which device to open and initialize.

I really want to get this set up so I can have my NetBSD machine do the connection
to the ISP and route the traffic over my lan so multiple hosts can use the PPP pipe.

Many thanks.