Date: Wed, 26 Nov 1997 22:31:44 -0800 (PST) From: Tim Moony <timm@uniqsite.com> To: Brian Somers <brian@awfulhak.org> Cc: questions@freebsd.org Subject: Re: User PPP setup woe... (fwd) Message-ID: <Pine.BSF.3.96.971126221041.13655A-100000@uniqsite.com> In-Reply-To: <199711270002.AAA04621@awfulhak.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Nov 1997, Brian Somers wrote: > I'm not sure what the question is. The error says that the invoking > user is not user id 0..... The man page with that version points out > that only uid 0 can run ppp in client mode. > > However, this model didn't suit a lot of people. The latest version > on http://www.freebsd.org/~brian is much more flexable if you wanna > download it. > Here's what I need: I have a couple of users (my family). I gave them static IPs so they can connect to their Win95 with null modem cables (unix is just too much for them). So I followed the instruction in user ppp setup in the handbook for static IPs. I have an entry in ppp.conf that looked like: ppp-user1: set device /dev/cuaa3 set speed 57600 set ifaddr aaa.bbb.ccc.ddd aaa.bbb.ccc.xxx www.xxx.yyy.zzz enable proxy In /etc/passwd I made the shell for user1 to /etc/ppp/ppp-shell. The following is what's in /etc/ppp/ppp-shell: ppp-shell ---------------------------------------------- #!/bin/sh IDENT=`echo $0 | sed -e 's/^.*-\(.*\)$/\1/'` CALLEDAS="$IDENT" TTY=`tty` if [ x$IDENT = xdialup ]; then IDENT=`basename $TTY` fi echo "PPP for $CALLEDAS on $TTY" echo "Starting PPP for $IDENT" exec /usr/sbin/ppp -direct $IDENT ========================================== When I login as the user, I got a line in /var/log/messages: Nov 26 22:23:58 uniqsite ppp[13756]: Warning: open_tun: No such file or directory. I am not sure what I did wrong. BTW, I am using ppp-971125 from ~brian directory.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971126221041.13655A-100000>