Date: Sun, 12 Feb 1995 16:23:17 -0500 (EST) From: Pics OnLine Root <root@picspc01.pics.com> To: freebsd-questions@FreeBSD.org Subject: does /etc/ppp/ip-up work in 2.0r Message-ID: <199502122123.QAA00407@picspc01.pics.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502122123.QAA00407>