From owner-freebsd-questions Sun Feb 12 13:23:32 1995 Return-Path: questions-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id NAA02344 for questions-outgoing; Sun, 12 Feb 1995 13:23:32 -0800 Received: from picspc01.pics.com (picspc01.pics.com [192.135.189.20]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id NAA02338 for ; Sun, 12 Feb 1995 13:23:29 -0800 Received: (from root@localhost) by picspc01.pics.com (8.6.9/8.6.9) id QAA00407 for freebsd-questions@freebsd.org; Sun, 12 Feb 1995 16:23:19 -0500 From: Pics OnLine Root Message-Id: <199502122123.QAA00407@picspc01.pics.com> Subject: does /etc/ppp/ip-up work in 2.0r To: freebsd-questions@FreeBSD.org Date: Sun, 12 Feb 1995 16:23:17 -0500 (EST) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1037 Sender: questions-owner@FreeBSD.org Precedence: bulk I have successfully got pppd to act as a server for me ppp client, but cannt seem to get pppd to call /etc/ppp/ip-up after the link is established. Does this work in 2.0R? Can anyone tell me why this would not execute. /etc/ppp -rwxr-xr-x 1 root bin 29 Feb 12 12:51 ip-down -rwxr-xr-x 1 root bin 380 Feb 12 16:14 ip-up -rwxr-xr-x 1 root bin 0 Feb 12 15:57 options ----/etc/ppp/ip-up ----- #This is the ip-up file which is executed after pppd #Passed Parameters: #$1 interface name (ppp0) #$2 tty device #$3 speed #$4 local ip address #$5 remote ip address ### echo [`date`] ppplogin:$5 on $2>>/var/log/ppp.log ##/sbin/ifconfig $1 inet $4 $5 netmask 0xffffff00 /usr/sbin/arp -s $5 0:0:e8:c2:20:e3 perm pub /sbin/route change $5 $4 #======= end of /etc/ppp/ip-up ======= -- ------------------------------------------------------------ Terry Rossi tpr@pics.com Data: 609/753-2540 Sysop, Pics OnLine BBS telnet: bbs.pics.com 609/767-0216 Voice/Fax WWW: http://www.pics.com