Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2002 12:07:50 +0300
From:      "vlad" <vlad@sberbank.dp.ua>
To:        <freebsd-questions@FreeBSD.org>
Subject:   pppd
Message-ID:  <000801c1b537$164c1c40$1e20230a@sbank.dp.ua>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C1B550.3924AAC0
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

=F2=C5=C2=D1=D4=C1, =D0=CF=CD=CF=C7=C9=D4=C5 =
=CB=D4=CF-=CE=C9=C2=D5=C4=D8, =C1 =D4=CF =CE=C9 =C6=C9=C7=C1 =CE=C5 =
=D7=D9=C8=CF=C4=C9=D4. =F7 =DE=A3=CD =D3=CF=C2=D3=D4=D7=C5=CE=CE=CF =
=D0=D2=CF=C2=CC=C5=CD=C1: =D1 =C8=CF=DE=D5 =DA=C1=D0=D5=D3=D4=C9=D4=D8 =
pppd =D7 =CB=C1=DE=C5=D3=D4=D7=C5 =D3=C5=D2=D7=C5=D2=C1 =
=D5=C4=C1=CC=A3=CE=CE=CF=C7=CF =C4=CF=D3=D4=D5=D0=C1.
=EF=F3-FreeBSD 4.4 pppd =C5=A3 =D2=CF=C4=CE=CF=CA. IP =
=D2=CF=D5=D4=C5=D2=C1 10.35.32.129/29 =C9=CD=D1 gateway2
=CD=CF=C4=C5=CD (JVC 56K) =D3=D4=CF=C9=D4 =CE=C1 cuaa1.
=D3=D4=D2=CF=CB=C1 =DA=C1=D0=D5=D3=CB=C1 pppd /dev/ttyd1 persist
=F7=CF=D4 =CB=CF=CE=C6=D9:
options:   =20
    -detach
    passive
    lock
    modem
    crtscts
    10.35.32.129:10.35.32.130
    proxyarp
    name gateway2

options.ttyd1:
    passive
    debug

ttys:
    ttyd1 "/usr/libexec/getty std.57600" dialup on insecure

gettytab:
    std.57600|57600-baud:\
     :np:sp#57600:
     :pp=3D/usr/sbin/pppd.sh

pppd.sh:
    #!/bin/sh
    /usr/sbin/pppd auth login require-pap refuse-chap

pap-secrets:
    pppuser   *  panasonic *

passwd:
    pppuser:*:1001:1001:ppp:/home/pppuser:/usr/sbin/pppd

ppp.log:
Feb 14 11:05:50 gateway2 pppd[213]: pppd 2.3.5 started by root, uid 0
Feb 14 11:06:31 gateway2 pppd[213]: Using interface ppp0
Feb 14 11:06:31 gateway2 pppd[213]: Connect: ppp0 <--> /dev/ttyd1
Feb 14 11:06:31 gateway2 pppd[213]: Warning - secret file =
/etc/ppp/pap-secrets has world and/or group access
Feb 14 11:06:31 gateway2 pppd[213]: sent [LCP ConfReq id=3D0x1 <magic =
0x101ba770> <pcomp> <accomp>]
Feb 14 11:06:58 gateway2 last message repeated 9 times
Feb 14 11:07:01 gateway2 pppd[213]: LCP: timeout sending Config-Requests
Feb 14 11:07:02 gateway2 pppd[213]: Modem hangup, connected for 1 =
minutes
Feb 14 11:07:02 gateway2 pppd[213]: Connection terminated, connected for =
1 minutes=20
Feb 14 11:07:02 gateway2 pppd[213]: Couldn't restore device fd flags: =
Inappropriate ioctl for device
Feb 14 11:07:02 gateway2 pppd[213]: ioctl(TIOCSETD): Inappropriate ioctl =
for device
Feb 14 11:07:03 gateway2 pppd[213]: tcsetattr: Inappropriate ioctl for =
device
Feb 14 11:07:31 gateway2 pppd[213]: Terminating on signal 15.
Feb 14 11:07:31 gateway2 pppd[213]: Exit.

=F0=D2=CF=C2=CC=C5=CD=C1:
    =EB=CF=C7=C4=C1 =D3 =D7=C9=CE=C4=CF=D7=D398 =DA=D7=CF=CE=C0, =D4=CF =
=C8=C5=CE=C4=DB=C5=CA=CB =D7=D2=CF=C4=C5 =D0=D2=CF=C9=D3=C8=CF=C4=C9=D4, =
=DA=C1=D4=C5=CD =DC=D4=C1 =D7=C9=CE=C4=CF=D7=D398 =D0=C9=DB=C5=D4 =
=DE=D4=CF =D0=D2=CF=D7=C5=D2=D1=C5=D4 =C9=CD=D1 =C9 =D0=C1=D2=CF=CC=D8 =
=D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D1 (=C4=CF=D7=CF=CC=D8=CE=CF =
=C4=CF=CC=C7=CF) =C9 =D7 =CB=CF=CE=C3=C5 =CB=CF=CE=C3=CF=D7 =
=D7=D9=C4=C1=A3=D4 =D3=CF=CF=C2=DD=C5=CE=C9=C5, =DE=D4=CF =
=D5=C4=C1=C5=CE=CE=C1=D1 =D3=D4=CF=D2=CF=CE=C1 =CE=C5 =
=CF=D4=D7=C5=DE=C1=C5=D4 =CE=C1 =DA=C1=D0=D2=CF=D3=D9 =D3=C5=D4=C9 =
=CF=C2=D2=C1=D4=C9=D4=C5=D3=D8 =CB =
=C1=C4=CD=C9=CE=C9=D3=D4=D2=C1=D4=CF=D2=D5.

=F7=CF=D0=D2=CF=D3: =CE=C1=D5=DE=C9=D4=C5 =CB=C1=CB =CE=C1=C4=CF.
vlad

email vlad@sberbank.dp.ua








------=_NextPart_000_0005_01C1B550.3924AAC0
Content-Type: text/html;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dkoi8-r" http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Arial Cyr" size=3D2>=F2=C5=C2=D1=D4=C1, =
=D0=CF=CD=CF=C7=C9=D4=C5 =CB=D4=CF-=CE=C9=C2=D5=C4=D8, =C1 =D4=CF =CE=C9 =
=C6=C9=C7=C1 =CE=C5=20
=D7=D9=C8=CF=C4=C9=D4. =F7 =DE=A3=CD =D3=CF=C2=D3=D4=D7=C5=CE=CE=CF =
=D0=D2=CF=C2=CC=C5=CD=C1: =D1 =C8=CF=DE=D5 =DA=C1=D0=D5=D3=D4=C9=D4=D8 =
pppd =D7 =CB=C1=DE=C5=D3=D4=D7=C5 =D3=C5=D2=D7=C5=D2=C1=20
=D5=C4=C1=CC=A3=CE=CE=CF=C7=CF =C4=CF=D3=D4=D5=D0=C1.</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>=EF=F3-FreeBSD 4.4 pppd =C5=A3 =
=D2=CF=C4=CE=CF=CA. IP =D2=CF=D5=D4=C5=D2=C1=20
10.35.32.129/29 =C9=CD=D1 gateway2</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>=CD=CF=C4=C5=CD (JVC 56K) =
=D3=D4=CF=C9=D4 =CE=C1 cuaa1.</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>=D3=D4=D2=CF=CB=C1 =
=DA=C1=D0=D5=D3=CB=C1 pppd /dev/ttyd1=20
persist</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>=F7=CF=D4 =
=CB=CF=CE=C6=D9:</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>options:&nbsp;&nbsp;&nbsp; =
</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>&nbsp;&nbsp;&nbsp;=20
-detach<BR>&nbsp;&nbsp;&nbsp; passive<BR>&nbsp;&nbsp;&nbsp;=20
lock<BR>&nbsp;&nbsp;&nbsp; modem<BR>&nbsp;&nbsp;&nbsp;=20
crtscts<BR>&nbsp;&nbsp;&nbsp; =
10.35.32.129:10.35.32.130<BR>&nbsp;&nbsp;&nbsp;=20
proxyarp<BR>&nbsp;&nbsp;&nbsp; name gateway2<BR></FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>options.ttyd1:</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>&nbsp;&nbsp;&nbsp;=20
passive<BR>&nbsp;&nbsp;&nbsp; debug</FONT><FONT face=3D"Arial Cyr"=20
size=3D2></DIV></FONT>
<DIV><FONT face=3D"Arial Cyr" size=3D2>
<DIV><FONT face=3D"Arial Cyr" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>ttys:</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>&nbsp;&nbsp;&nbsp;=20
ttyd1&nbsp;"/usr/libexec/getty std.57600"&nbsp;dialup&nbsp;on=20
insecure</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT><FONT face=3D"Arial Cyr" =
size=3D2>gettytab:</FONT></DIV></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>&nbsp;&nbsp;&nbsp;=20
std.57600|57600-baud:\<BR>&nbsp;&nbsp;&nbsp;&nbsp;=20
:np:sp#57600:<BR>&nbsp;&nbsp;&nbsp;&nbsp; =
:pp=3D/usr/sbin/pppd.sh<BR></FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>pppd.sh:</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>&nbsp;&nbsp;&nbsp;=20
#!/bin/sh<BR>&nbsp;&nbsp;&nbsp; /usr/sbin/pppd auth login require-pap=20
refuse-chap</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>pap-secrets:</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>&nbsp;&nbsp;&nbsp;=20
pppuser&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;panasonic&nbsp;*</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>passwd:</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>&nbsp;&nbsp;&nbsp;=20
pppuser:*:1001:1001:ppp:/home/pppuser:/usr/sbin/pppd</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>ppp.log:</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>Feb 14 11:05:50 gateway2 =
pppd[213]: pppd=20
2.3.5 started by root, uid 0<BR>Feb 14 11:06:31 gateway2 pppd[213]: =
Using=20
interface ppp0<BR>Feb 14 11:06:31 gateway2 pppd[213]: Connect: ppp0 =
&lt;--&gt;=20
/dev/ttyd1<BR>Feb 14 11:06:31 gateway2 pppd[213]: Warning - secret file=20
/etc/ppp/pap-secrets has world and/or group access<BR>Feb 14 11:06:31 =
gateway2=20
pppd[213]: sent [LCP ConfReq id=3D0x1 &lt;magic 0x101ba770&gt; =
&lt;pcomp&gt;=20
&lt;accomp&gt;]<BR>Feb 14 11:06:58 gateway2 last message repeated 9 =
times<BR>Feb=20
14 11:07:01 gateway2 pppd[213]: LCP: timeout sending =
Config-Requests<BR>Feb 14=20
11:07:02 gateway2 pppd[213]: Modem hangup, connected for 1 =
minutes<BR>Feb 14=20
11:07:02 gateway2 pppd[213]: Connection terminated, connected for 1 =
minutes=20
<BR>Feb 14 11:07:02 gateway2 pppd[213]: Couldn't restore device fd =
flags:=20
Inappropriate ioctl for device<BR>Feb 14 11:07:02 gateway2 pppd[213]:=20
ioctl(TIOCSETD): Inappropriate ioctl for device<BR>Feb 14 11:07:03 =
gateway2=20
pppd[213]: tcsetattr: Inappropriate ioctl for device<BR>Feb 14 11:07:31 =
gateway2=20
pppd[213]: Terminating on signal 15.<BR>Feb 14 11:07:31 gateway2 =
pppd[213]:=20
Exit.</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Arial Cyr" =
size=3D2>=F0=D2=CF=C2=CC=C5=CD=C1:</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>&nbsp;&nbsp;&nbsp; =
=EB=CF=C7=C4=C1 =D3 =D7=C9=CE=C4=CF=D7=D398 =DA=D7=CF=CE=C0,=20
=D4=CF =C8=C5=CE=C4=DB=C5=CA=CB =D7=D2=CF=C4=C5 =
=D0=D2=CF=C9=D3=C8=CF=C4=C9=D4, =DA=C1=D4=C5=CD =DC=D4=C1 =
=D7=C9=CE=C4=CF=D7=D398 =D0=C9=DB=C5=D4 =DE=D4=CF =
=D0=D2=CF=D7=C5=D2=D1=C5=D4 =C9=CD=D1 =C9=20
=D0=C1=D2=CF=CC=D8 =D0=CF=CC=D8=DA=CF=D7=C1=D4=C5=CC=D1 =
(=C4=CF=D7=CF=CC=D8=CE=CF =C4=CF=CC=C7=CF) =C9 =D7 =CB=CF=CE=C3=C5 =
=CB=CF=CE=C3=CF=D7 =D7=D9=C4=C1=A3=D4 =D3=CF=CF=C2=DD=C5=CE=C9=C5, =
=DE=D4=CF=20
=D5=C4=C1=C5=CE=CE=C1=D1 =D3=D4=CF=D2=CF=CE=C1 =CE=C5 =
=CF=D4=D7=C5=DE=C1=C5=D4 =CE=C1 =DA=C1=D0=D2=CF=D3=D9 =D3=C5=D4=C9 =
=CF=C2=D2=C1=D4=C9=D4=C5=D3=D8 =CB=20
=C1=C4=CD=C9=CE=C9=D3=D4=D2=C1=D4=CF=D2=D5.</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>=F7=CF=D0=D2=CF=D3: =
=CE=C1=D5=DE=C9=D4=C5 =CB=C1=CB =CE=C1=C4=CF.<BR></FONT><FONT=20
face=3D"Arial Cyr" size=3D2>vlad</FONT></DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Arial Cyr" size=3D2>email=20
vlad@sberbank.dp.ua<BR><BR><BR></DIV></FONT>
<DIV><FONT face=3D"Arial Cyr" size=3D2>&nbsp;</DIV></FONT>
<DIV><FONT face=3D"Arial Cyr" size=3D2><BR>&nbsp;</DIV></FONT>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0005_01C1B550.3924AAC0--


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?000801c1b537$164c1c40$1e20230a>