1829034 Members
2542 Online
109986 Solutions
New Discussion

Re: PPPD and MGETTY

 
SOLVED
Go to solution
Stefan Saliba
Trusted Contributor

PPPD and MGETTY

I am using a linux box as a dialin server by using mgetty which spawns a ppp session. All works fine. I need to find a way though how I can assign different IP addresses to different users logging in. At this point any user
who logs in gets the same IP address.

I need to assign IP addresses by who logs in.

Any help ?
Stefan

1 REPLY 1
john savas
New Member
Solution

Re: PPPD and MGETTY

an entry in /etc/ppp/pap-secrets :

#user server secret addrs
jdoe * password xxx.xxx.xxx.xxx

For this configuration, your /etc/ppp/options.server file will have something like this:

require-pap
refuse-chap