FBSD 6.0 and ppp

jhall at vandaliamo.net jhall at vandaliamo.net
Fri Jun 9 20:34:07 UTC 2006


The modem is answering the call.  However, it looks like the ppplogin
script is not being called.  No information for tun1 is showing up in the
log file.

Permissions on ppplogin are 650 and the owners are root:network.

If I run ppplogin from the command line, tun1 information shows up in the
log file, but other wise it doesn't.  Have I done something wrong in
/etc/gettytab?

Jay

> You have to use modem "AT" commands to tell FreeBSD modem to answer
> in coming calls.
>
> I complete detailed write up on 'user ppp' for answering incoming
> calls can be found in the install guide at www.a1poweruser.com.
>
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of
> jhall at vandaliamo.net
> Sent: Friday, June 09, 2006 2:07 PM
> To: freebsd-questions at freebsd.org
> Subject: FBSD 6.0 and ppp
>
>
> I am trying to setup a remote FreeBSD server to allow me to dial in
> and
> check the network in case the WAN link goes does.  I accomplished
> this
> with 5.3, and cannot figure out what I am doing wrong on FBSD 6.0.
> I am
> dialing using WIndows XP to establish a PPP connection
>
> I am using the second method outlined in man ppp.
>
> I added the following line to /etc/gettytab.
> :pp=/usr/local/bin/ppplogin:\
>
> /etc/ttys was changed to
> ttyd0 "/usr/libexec/getty std.38400" dialup on secure
>
> /usr/local/bin/ppplogin was created and permissions are 775.
>
> The following was added to /etc/ppp/ppp.conf
>
> incoming:
>    set device /dev/cuad0
>    set ifaddr 10.0.0.1 10.0.0.0/24
>    enable pap
>    enable chap
>    allow users xxxx
>
> /etc/ppp/ppp.secret
> xxxx<TAB>password<TAB>10.0.0.95
>
> When the connection is initially dialed, I see tun1 opened (tun0 is
> a DSL
> connection) and the PID displayed.  However, the Windows system
> hangs with
> Verifying Password and will eventually report error 721.
>
> Firewall rules are in place and allow all traffic from tun1.
>
> Any suggestions would be greatly appreciated.
>
> Thanks,
>
>
>
> Jay
>
>
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
>
>




More information about the freebsd-questions mailing list