[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wvdial & pppd

On Wed, Nov 08, 2000 at 10:48:37PM -0600, John Hasler wrote:
> Eric G . Miller writes:
> > Try using pppconfig (as root) to configure ppp, adding your normal user
> > to the allowed users (i.e. `adduser <login> dip` ).
> You can do that in pppconfig.  Go to 'Advanced Options' and select
> 'Add-User'.

Yea, notice the tense; "pppconfig" is doing the "adding" (the adduser
is to indicate the addition to the group).  Guess I was a bit too short
with the explanation 8^)

#! /bin/sh
# ppp-address: What's my Internet Address for ppp0 ?
/sbin/ifconfig ppp0 2> /dev/null | grep 'inet addr:' | sed \
's=.*inet addr\:\([0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\).*=\1='

Reply to: