From owner-freebsd-questions Mon Aug 30 7:27:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.pchost.com (pchost.com [203.24.253.109]) by hub.freebsd.org (Postfix) with SMTP id 0C9BE15798 for ; Mon, 30 Aug 1999 07:27:02 -0700 (PDT) (envelope-from kyle@pchost.com) Received: (qmail 18668 invoked from network); 30 Aug 1999 14:47:18 -0000 Received: from bob.pchost.com (HELO pchost.com) (203.24.253.107) by pchost.com with SMTP; 30 Aug 1999 14:47:18 -0000 Message-ID: <37CA95B8.72ACD457@pchost.com> Date: Tue, 31 Aug 1999 00:31:21 +1000 From: Kyle Buttress X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.0.36 i386) X-Accept-Language: en MIME-Version: 1.0 To: FreeBSD Questions List Subject: Mgetty configuration? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi I have been trying to get mgetty going for some time now and have had no luck. This is what I have done to this date. from the ports collection /usr/ports/comms/mgetty+sendfax make make install changed /etc/ttys to include the modem on cuaa1 changed the rc.conf gateway_enable="YES" in the /etc/ppp i have the following files. ppp.conf with the following direct: enable pap enable passwdauth set timeout 36000 set ifaddr my ip numbers enable proxy defaultroute accept dns pap: enable pap set ifaddr my ip numbers enable proxy a ppp-pap-dialup file with the following (this file is set to be executable) #!/bin/sh exec /usr/sbin/ppp -direct pap$IDENT a ppp-secrets file * Some other info... I have been able to get mgetty to answer the incomming connect correctly. here is a snippet from the log file for mgetty 08/31 00:13:25 aa1 waiting... 08/31 00:15:01 aa1 checking lockfiles, locking the line 08/31 00:15:01 aa1 makelock(cuaa1) called 08/31 00:15:01 aa1 do_makelock: lock='/var/spool/lock/LCK..cuaa1' 08/31 00:15:01 aa1 lock made 08/31 00:15:01 aa1 wfr: waiting for ``RING'' 08/31 00:15:01 aa1 got: [0a][0d][08][12]HNC[0d] 08/31 00:15:01 aa1 got: [08][0d] 08/31 00:15:04 aa1 got: [0a]RIN[03][0d] 08/31 00:15:04 aa1 got: [08][0d] 08/31 00:15:07 aa1 got: [0a]RING[0d] 08/31 00:15:07 aa1 wfr: rc=0, drn=0 08/31 00:15:07 aa1 send: ATA[0d] 08/31 00:15:07 aa1 waiting for ``CONNECT'' 08/31 00:15:07 aa1 got: @TA[0d][09][0a]+[00][04]M[0d][08][0d][08]CINNECP 10000/@[10]Q/V32)L@[00]M-V02[00]IS[0d][0a]~[ff]}#[c0]!}!} } }4}"}&} } } } }%}&} } [7f]b}'} }(}"[d5][cd]~~[ff]}#[c0]!}!} } }4}"}&} } } } }%}&} } [7f]b}'}"}(}"[d5][cd]~~[ff]}#[c0]!}!} } }4}"}&} } } } }%}&} } [7f]b}'}"}(}"[d5][cd]~~[ff]}#[c0]!}!} } }4} }&} } } } }%}&} } [7f]b}'}"}(}"[d5][cd]~~[ff]}#[c0]!}!} } }4}"}&} } } } }%}&} } [7f]b}'}"}(}"[d5][cd]~~[ff]}#[c0]!}!} } }4}"}&} } } } }%}"}[00]}[00][7f]b} }"}[08]} [d5][cd]~~[ff]}#[c0]!}!} } }4}"}&} } } } }%}&} } [7f]b}'}"}(}"[d5][cd]~~[ff]}#[c0]!}!} } }4}"}&} } } } }%}&} } [7f]b}'}"}(}"[d5][cd]~~[ff]}#[c0]!}!} } }4}"}&} } } } }%}&} } [7f]b}'}"}(} [d5][cd]~[0d][0a]NO CARRI[01]P[0d][0a] 08/31 00:16:27 aa1 timeout in chat script, waiting for `CONNECT' 08/31 00:16:27 ##### failed timeout dev=cuaa1, pid=11792, caller='none', conn='', name='' if I remove some of the ppp.conf lines I get a log file like the following 08/31 00:07:00 aa1 waiting... 08/31 00:10:41 aa1 checking lockfiles, locking the line 08/31 00:10:41 aa1 makelock(cuaa1) called 08/31 00:10:41 aa1 do_makelock: lock='/var/spool/lock/LCK..cuaa1' 08/31 00:10:41 aa1 lock made 08/31 00:10:41 aa1 wfr: waiting for ``RING'' 08/31 00:10:41 aa1 got: [0a][0d][0a]RING[0d] 08/31 00:10:41 aa1 wfr: rc=0, drn=0 08/31 00:10:41 aa1 send: ATA[0d] 08/31 00:10:41 aa1 waiting for ``CONNECT'' 08/31 00:10:41 aa1 got: [0a]ATA[0d][08][08]+[00]DM[08][08][0d][0a]CONNECT ** found ** 08/31 00:10:53 aa1 send: 08/31 00:10:53 aa1 waiting for ``_'' 08/31 00:10:53 aa1 got: 14400/ARQ/V32/LAPM/V42BIS[0d] ** found ** 08/31 00:10:53 aa1 waiting for line to clear (VTIME), read: [0a]~[ff]}#[c0]!}!} } }4}"}&} } } } }%}&} } D}5}'}"}(}"}/}"~ 08/31 00:10:54 aa1 utmp + wtmp entry made 08/31 00:10:55 aa1 tio_set_flow_control( HARD ) 08/31 00:10:55 aa1 print welcome banner (/etc/issue) 08/31 00:10:55 aa1 getlogname (AUTO_PPP), read:~[ff]}#[c0]! 08/31 00:10:55 aa1 input finished with '\r', setting ICRNL ONLCR 08/31 00:10:55 aa1 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD 08/31 00:10:55 aa1 match: user='/AutoPPP/', key='' 08/31 00:10:55 aa1 match: user='/AutoPPP/', key='' 08/31 00:10:55 aa1 match: user='/AutoPPP/', key='/AutoPPP/'*** hit! 08/31 00:10:55 aa1 calling login: cmd='/etc/ppp/ppp-pap-dialup', argv[]='ppp-pap-dialup' 08/31 00:10:55 ##### data dev=cuaa1, pid=11775, caller='none', conn='14400/ARQ/V32/LAPM/V42BIS', name='', cmd='/etc/ppp/ppp-pap-dialup', user='/AutoPPP/' any assistance would be very much appreciated. Kyle -- Gauls! We have nothing to fear; except perhaps that the sky may fall on our heads tomorrow. But as we all know, tomorrow never comes!! -- Adventures of Asterix. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message