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

Re: (newbie) Need help on Static IP



You're talking about giving an IP address to somebody dialing in,
right?  If you want to make sure that a person always gets the same
IP address, do this:

1.  Set up a normal system account for the person (adduser <name>).
2.  If you're authenticating with PAP, add this to /etc/ppp/pap-secrets:
     <name>     <servername>     ""     *
     (see 'man pppd' for details on the format)
3.  Make sure you call pppd with the "login" option (are you using mgetty?)
4.  Put this line in $HOME/.ppprc for the user:
     <local-ip>:<remote-ip>

If I understood you correctly, then that should do it.  Where I used the
"<...>" notation, you should of course substitute real parameters.

Marc


----------
Marc Mongeon <mongeon@bankoe.com>
Unix Specialist
Ban-Koe Systems
9100 W Bloomington Fwy
Bloomington, MN 55431-2200
(612)888-0123, x417 | FAX: (612)888-3344
----------
"It's such a fine line between clever and stupid."
   -- David St. Hubbins and Nigel Tufnel of "Spinal Tap"


>>> Ray <maillists@sonictech.net> 07/26 3:58 AM >>>
On Sun, Jul 25, 1999 at 01:09:06AM +1000, Bill wrote:
> Can someone please tell me how to setup up a static IP for a dialup account
> on Debian 2.0.36 not using GUI??

I use pppconfig to set up ppp connections.  In most cases you can treat a
static IP just like you would a dynamic IP.  

-- 
Ray


-- 
Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null



Reply to: