Date: Sun, 6 Dec 1998 14:30:39 -0600 From: "Bruce Ordway" <ordway@csi.com> To: <freebsd-questions@FreeBSD.ORG> Subject: PPP Message-ID: <001001be2157$4c0dd980$e100000a@bruce>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] HI, I'm trying to get PPP to work. Here is what I've done so far. Using minicom, so now at least I know my modem is talking. Now for PPP. I followed the instructions on the FreeBSD site called "Pedantic PPP". I've edited the ppp.conf: ************************************************************* default:set device /dev/cuaa0 set speed 57600 disable pred1 deny pred1 disable lqr deny lqrset dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0 OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"set redial 3 10## #interactive mode Invoke with `ppp -alias interactive interactive: set authname MyUserName set authkey MyPassword set phone 123-4567 set timeout 300 set openmode active accept chap #demand-dial (automatic) mode Invoke with: 'ppp -auto -alias demand demand: set authname MyUserName set authkey MyPassword set phone 123-4567 set timeout 300 set openmode active accept chap set ifaddr 127.1.1.1/0 204.73.244.1/0 255.255.255.0 add 0 0 204.73.244.1 ********************************************************* The IP addresses above are real I think. My ISP assigns an adress when I log on. Their IP address is 204.73.244.1 and I've edited ppp.linkup: ***************************************************** demand: delete ALL add 0 0 HISADDR MYADDR: add 0 0 HISADDR ****************************************************** Now when I enter the command: ppp -auto -alias demand I see this: Working in auto mode Wsing Interface: tun0 Warning: Add route failed: 0.0.0.0 already exists Do you have any ideas for me? Thanks. Bruce [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <META content=text/html;charset=iso-8859-1 http-equiv=Content-Type> <META content='"MSHTML 4.72.3509.100"' name=GENERATOR> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT color=#000000 size=2>HI,</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT><FONT size=2>I'm trying to get PPP to work. Here is what I've done so far.</FONT></DIV> <DIV><FONT size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>Using minicom, s</FONT><FONT color=#000000 size=2>o now at least I know my modem is talking.</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>Now for PPP. I followed the instructions on the FreeBSD<BR>site called "Pedantic PPP". I've edited the ppp.conf:</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>*************************************************************<BR>default:set device /dev/cuaa0<BR>set speed 57600<BR>disable pred1<BR>deny pred1<BR>disable lqr<BR>deny lqrset <BR>dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0<BR>OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"set redial 3 10##</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>#interactive mode Invoke with `ppp -alias interactive<BR>interactive:<BR>set authname MyUserName<BR>set authkey MyPassword<BR>set phone 123-4567<BR>set timeout 300<BR>set openmode active<BR>accept chap</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>#demand-dial (automatic) mode Invoke with: 'ppp -auto -alias demand<BR>demand:<BR>set authname MyUserName<BR>set authkey MyPassword<BR>set phone 123-4567<BR>set timeout 300<BR>set openmode active<BR>accept chap<BR>set ifaddr 127.1.1.1/0 204.73.244.1/0 255.255.255.0<BR>add 0 0 204.73.244.1<BR>*********************************************************<BR>The IP addresses above are real I think.<BR>My ISP assigns an adress when I log on. Their<BR>IP address is 204.73.244.1</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>and I've edited ppp.linkup:<BR>*****************************************************<BR>demand: <BR>delete ALL <BR>add 0 0 HISADDR<BR>MYADDR:<BR> add 0 0 HISADDR<BR>******************************************************</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>Now when I enter the command:<BR>ppp -auto -alias demand</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>I see this:<BR>Working in auto mode<BR>Wsing Interface: tun0<BR>Warning: Add route failed: 0.0.0.0 already exists</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>Do you have any ideas for me?</FONT></DIV> <DIV><FONT color=#000000 size=2></FONT> </DIV> <DIV><FONT color=#000000 size=2>Thanks.<BR>Bruce</FONT></DIV></BODY></HTML>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001be2157$4c0dd980$e100000a>
