Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 14:01:42 +0200
From:      "Wim Olivier" <wimo@mailbox.co.za>
To:        freebsd-questions@freebsd.org
Cc:        freebsd-isp@freebsd.org
Subject:   Incoming UserPPP in Fbsd 4.0-RELEASE
Message-ID:  <200202251203.g1PC3jI20222@relay.mailbox.co.za>

next in thread | raw e-mail | index | archive | help
Hi,

Having trouble logging into my 4.0-RELEASE box using PPP dialin from
Win2000 Pro.
Dialling in using HyperTerm and 9600 bps NO PROBLEM.

Can anyone shine some light on the topic for me please....

I have the following config in /etc/ppp/ppp.conf:

***************************************************** START OF
/etc/ppp/ppp.conf
*************************************************************
default:

 #
 # Make sure that "device" references the correct serial port
 # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
 #

 set device /dev/cuaa1

 set log Phase Chat LCP IPCP CCP tun command
 #set speed 115200
 #set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK
ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"

 set timeout 120
 #set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 #add default HISADDR
 #enable dns

#papchap:

 #
 # edit the next three lines and replace the items in caps with
 # the values which have been assigned by your ISP.
 #

 #set phone PHONE_NUM
 #set authname USERNAME
 #set authkey PASSWORD

incoming:
 # Config info for incoming links

 set ifaddr 192.168.10.1 192.168.10.2 255.255.255.0
 accept dns
 set dns 209.212.104.82 209.212.97.1
 enable pap
 enable lqr
 #enable msext
 enable passwdauth
 enable proxy
 add default HISADDR
 allow user10

***************************************************** END OF
/etc/ppp/ppp.conf
*************************************************************


Here is my /var/log/ppp.log file:

***************************************************** START OF
/var/log/ppp.log
*************************************************************

Feb 25 11:13:38 osiris ppp[12026]: Warning: Label incoming rejected
-direct connection: Configuration label not found
Feb 25 11:32:41 osiris ppp[12030]: Warning: Label incoming rejected
-direct connection: User access denied
Feb 25 11:34:54 osiris ppp[12076]: Warning: allow jerry: Invalid
command
Feb 25 11:34:54 osiris ppp[12076]: Warning: allow jerry: Failed 1
Feb 25 11:34:54 osiris ppp[12076]: Warning: Label incoming rejected
-direct connection: User access denied
Feb 25 11:42:27 osiris ppp[12079]: Warning: allow jerry: Invalid
command
Feb 25 11:42:27 osiris ppp[12079]: Warning: allow jerry: Failed 1
Feb 25 11:42:27 osiris ppp[12079]: Warning: Label incoming rejected
-direct connection: User access denied
Feb 25 12:01:37 osiris ppp[12128]: Warning: allow jerry: Invalid
command
Feb 25 12:01:37 osiris ppp[12128]: Warning: allow jerry: Failed 1
Feb 25 12:01:37 osiris ppp[12128]: Warning: Label incoming rejected
-direct connection: User access denied

***************************************************** END OF
/var/log/ppp.log
*************************************************************

The user's (user10) shell is /usr/local/bin/ppplogin and looks like
this:

#! /bin/sh
exec /usr/sbin/ppp -direct incoming




Any help appreciated!


Kind Regards,
Wim Olivier
Mobile: +27 (0) 82 655 3599
_______________________________________________________________
 http://www.webmail.co.za the South-African free email service

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?200202251203.g1PC3jI20222>