Skip site navigation (1)Skip section navigation (2)
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
This is a multi-part message in MIME format.

------=_NextPart_000_000D_01BE2124.FF41E380
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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=20
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:=20
delete ALL=20
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

------=_NextPart_000_000D_01BE2124.FF41E380
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3509.100"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>HI,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT><FONT size=3D2>I'm trying to =
get PPP to=20
work. Here is what I've done so far.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Using minicom, s</FONT><FONT =
color=3D#000000=20
size=3D2>o now at least I know my modem is talking.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Now for PPP. I followed the =
instructions on the=20
FreeBSD<BR>site called &quot;Pedantic PPP&quot;. I've edited the=20
ppp.conf:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000=20
size=3D2>*************************************************************<BR=
>default:set=20
device /dev/cuaa0<BR>set speed 57600<BR>disable pred1<BR>deny =
pred1<BR>disable=20
lqr<BR>deny lqrset <BR>dial &quot;ABORT BUSY ABORT NO\\sCARRIER TIMEOUT =
5=20
\&quot;\&quot; ATE1Q0M0<BR>OK-AT-OK\\dATDT\\T TIMEOUT 40 =
CONNECT&quot;set redial=20
3 10##</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>#interactive mode Invoke with `ppp =
-alias=20
interactive<BR>interactive:<BR>set authname MyUserName<BR>set authkey=20
MyPassword<BR>set phone 123-4567<BR>set timeout 300<BR>set openmode=20
active<BR>accept chap</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>#demand-dial (automatic) mode Invoke =
with: 'ppp=20
-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=20
active<BR>accept chap<BR>set ifaddr 127.1.1.1/0 204.73.244.1/0=20
255.255.255.0<BR>add 0 0=20
204.73.244.1<BR>*********************************************************=
<BR>The=20
IP addresses above are real I think.<BR>My ISP assigns an adress when I =
log on.=20
Their<BR>IP address is 204.73.244.1</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>and I've edited=20
ppp.linkup:<BR>*****************************************************<BR>d=
emand:=20
<BR>delete ALL <BR>add 0 0 HISADDR<BR>MYADDR:<BR>&nbsp;add 0 0=20
HISADDR<BR>******************************************************</FONT><=
/DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Now when I enter the command:<BR>ppp =
-auto=20
-alias demand</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I see this:<BR>Working in auto =
mode<BR>Wsing=20
Interface: tun0<BR>Warning: Add route failed: 0.0.0.0 already=20
exists</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Do you have any ideas for =
me?</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 =
size=3D2>Thanks.<BR>Bruce</FONT></DIV></BODY></HTML>

------=_NextPart_000_000D_01BE2124.FF41E380--




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?001001be2157$4c0dd980$e100000a>