From owner-freebsd-questions Sat Jun 10 3:53: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mta02-svc.server.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by hub.freebsd.org (Postfix) with ESMTP id 9CFD037B54A for ; Sat, 10 Jun 2000 03:52:58 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.84.15]) by mta02-svc.server.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000610115232.GBPJ10065.mta02-svc.server.ntlworld.com@parish.my.domain>; Sat, 10 Jun 2000 11:52:32 +0000 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id LAA00618; Sat, 10 Jun 2000 11:52:49 +0100 (BST) (envelope-from mark) Date: Sat, 10 Jun 2000 11:52:48 +0100 From: Mark Ovens To: "Michael G." Cc: "freebsd-questions@freebsd.org" Subject: Re: User-level PPP..unable to access Tun0 device Message-ID: <20000610115248.A233@parish> References: <20000610015837.A232@parish> <200006100124.SAA27456@avocet.prod.itd.earthlink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200006100124.SAA27456@avocet.prod.itd.earthlink.net>; from mikegoe@earthlink.net on Fri, Jun 09, 2000 at 08:21:00PM +0000 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jun 09, 2000 at 08:21:00PM +0000, Michael G. wrote: > I did add to /etc/group like so > > > network:*:69:root,mikegoe,meiousetsuna > > > and this is my default section of my /etc/ppp/ppp.conf > > > default: > 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" > allow user mikegoe > > > and get this: > > > ppp > Working in interactive mode > Warning: No available tunnel devices found (Permission denied) > > > Ah right, your ppp binary isn't setuid: # ls -l `which ppp` -r-sr-xr-- 1 root network 275660 6 May 19:57 /usr/sbin/ppp ^ Try, as root: # chmod 4555 /usr/sbin/ppp That will do the trick. HTH > Like I said..works great as root > > Hmmm...any further suggestions ? > > Thanks. > > Michael G. > > Mark Ovens wrote: > > > On Fri, Jun 09, 2000 at 06:26:09PM +0000, Michael G. wrote: > > > I've got a script in /etc/ppp (thanks to Neill) and it runs great > under > > > root, but not as a normal user. I've set the appropriate permission > (I > > do > > > believe) but I've been unable to get access to Tun0 (user-level ppp > is > > > inabled in rc.conf as well). My normal user is a memeber of wheel as > > > well. Although I really don't mind using 'su', I want to sway my > wife > > > away from M$ so I need to be able to attach dialing of the modem to > an > > > icon on my KDE desktop. > > > > > > Any suggestions? > > > > > > > You need to make mere mortals members of the group ``network'' and add > > > > allow user ...... > > > > to /etc/ppp/ppp.conf in the ``default'' section. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- ...and on the eighth day God created UNIX ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message