Date: Sat, 12 Dec 1998 23:02:35 -0700 From: george vagner <vagner@infomagic.com> To: djobes@networksinc.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: help - pppd 2.3 and fsbd 3.0 Message-ID: <3673587B.64390980@infomagic.com> References: <3673403C.33AEC105@networksinc.net>
next in thread | previous in thread | raw e-mail | index | archive | help
i thought there was supposed to be a blank space before all those things in ppp.conf like so ------------------- ppp.conf --------------------- default: set log Phase CHAT LCP IPCP CCP ppp command set device /dev/cuaa0 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT" set redial 3 10 djobes wrote: > > i am trying to configure my system to use either user ppp or kernal ppp > when trying to user ppp with modified expamples: > > what am i doing wrong or what have i missed, the same basic scripts work > with linux, but i would like to get / migrate my home net off of linux > and to freeBSD using fbsd 3.0 - release, can alos send copy of kernel > config files. > > /etc/ppp/options > -------------------------- > > # my kernel pppd > defaultroute > crtscts > modem > domain xscanners.net > persist > user djobes.networks_sgf > idle 36000 > ------------------- > ppp.conf > --------------------- > default: > set log Phase CHAT LCP IPCP CCP ppp command > set device /dev/cuaa0 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 > OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT" > set redial 3 10 > > demand: > set phone xxxxxxx > set timeout 300 > set openmode active > accept chap > set authname myname > set authkey mykey > add HISADDR > > ------------------------------------------------------ > chap-secrets > ----------------------------------------------------- > myname * mykey > ----------------------------------------------------- > > and on the console for user ppp > ------------------------------------------ > mulder# ppp > Working in interactive mode > Using interface: tun0 > ppp ON mulder> dial demand > Warning: Bad rule in /etc/ppp/ppp.conf (line 2) - missing colon. > Warning: Bad rule in /etc/ppp/ppp.conf (line 3) - missing colon. > Warning: Bad rule in /etc/ppp/ppp.conf (line 4) - missing colon. > Warning: Bad rule in /etc/ppp/ppp.conf (line 5) - missing colon. > Warning: Bad rule in /etc/ppp/ppp.conf (line 6) - missing colon. > Warning: Bad rule in /etc/ppp/ppp.conf (line 7) - missing colon. > ppp ON mulder> > > ================================= > ------------------- > chat script > ------------------- > # novell/bordermanager dial in script > ABORT BUSY > ABORT 'NO CARRIER' > #TIMEOUT AFTER 30 SECONDS > TIMEOUT 30 > '' ATZ > OK ATDTxxxxx > #WAIT FOR CONNECTION > TIMEOUT 40 > CONNECT > TIMEOUT 5 > gin:-\\r-gin: name > sword: passwd > > ------------------------------- > script i use to start pppd > ------------------------------- > #!/bin/sh > /usr/sbin/pppd /dev/cuaa0 115200 connect 'chat -f /etc/ppp/border.chat' > ----------------------------------------------------- > the errors are for > --------------------------- > -------------- > kernel ppp > --------------- > Dec 12 20:00:30 mulder pppd[5225]: pppd 2.3.5 started by root, uid 0 > Dec 12 20:01:02 mulder pppd[5225]: Connect script failed > Dec 12 20:01:08 mulder pppd[5229]: pppd 2.3.5 started by root, uid 0 > Dec 12 20:01:24 mulder pppd[5232]: unrecognized option '' > Dec 12 20:01:39 mulder pppd[5229]: Connect script failed > Dec 12 20:01:58 mulder pppd[5235]: unrecognized option 'name' > Dec 12 20:02:04 mulder pppd[5225]: Connect script failed > Dec 12 20:02:27 mulder pppd[5240]: pppd 2.3.5 started by root, uid 0 > Dec 12 20:02:28 mulder pppd[5240]: Connect script failed > Dec 12 20:02:41 mulder pppd[5229]: Connect script failed > Dec 12 20:03:00 mulder pppd[5240]: Connect script failed > > Dec 11 07:30:03 mulder ppp[1644]: Phase: PPP Terminated (normal). > Dec 11 07:34:15 mulder ppp[1659]: Phase: Using interface: tun0 > Dec 11 07:34:15 mulder ppp[1659]: Phase: deflink: Created in closed > state > Dec 11 07:34:15 mulder ppp[1659]: Phase: PPP Started (interactive mode). > Dec 11 07:40:39 mulder ppp[1659]: Phase: PPP Terminated (normal). > Dec 11 09:24:39 mulder ppp[2405]: Phase: Using interface: tun0 > Dec 11 09:24:40 mulder ppp[2405]: Phase: deflink: Created in closed > state > Dec 11 09:24:40 mulder ppp[2405]: Phase: PPP Terminated (start). > Dec 11 09:25:38 mulder ppp[2413]: Phase: Using interface: tun0 > Dec 11 09:25:38 mulder ppp[2413]: Phase: deflink: Created in closed > state > Dec 11 09:25:38 mulder ppp[2413]: Phase: PPP Terminated (start). > Dec 11 09:26:44 mulder ppp[2416]: Phase: Using interface: tun0 > Dec 11 09:26:44 mulder ppp[2416]: Phase: deflink: Created in closed > state > Dec 11 09:26:44 mulder ppp[2416]: Phase: PPP Terminated (start). > Dec 11 09:26:52 mulder ppp[2417]: Phase: Using interface: tun0 > Dec 11 09:26:52 mulder ppp[2417]: Phase: deflink: Created in closed > state > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3673587B.64390980>