Ronny Bremer wrote:
> 
> Hello everybody,
> 
> I'm running Linux PPPD 2.2.0f on 2.0.36. I have a question related to the option 
>files.
> 
> Here is the goal:
> 
> mgetty is listening on ttyS0 (AutoPPP enabled).
> When a PPP user dials in, mgetty spawns PPPD and a proxyarp address will be given to 
>the remote user.
> When a PPP LAN connection dials in, it will logon as an ordinary user and starting 
>PPPD as the shell. A .ppprc file will provide routing information to the other site.
> 
> Here is the problem.
> 
> I set up a options.ttyS0 file in the /etc/ppp directory to allow AutoPPP to assign a 
>proxyarp address when PPPD gets started.
> In the home directory of the remote LAN user there is a .ppprc file with a different 
>address.
> Everything works fine for AutoPPP. However, when PPPD gets started for the LAN user 
>the options.ttyS0 file will overwrite the settings in .ppprc. According to the 
>documentation the options file will be read first, then the .ppprc file. I don't know 
>about the options.ttyS0 file.
> 
> My questions is, how can I get both the AutoPPP dialin and the logged in PPPD to 
>work depending on the caller ? (BTW: mgetty is listening on more then just the ttyS0 
>port, so I cannot pass any parameters to PPPD in the mgetty.config file).

You could try calling a script instead of pppd from mgetty.config, and
have the script detect which device it's on, and call pppd with
different parameters accordingly. If the script was able to work out
which device it's got. Can't think how you'd make it do that offhand.
--
Nick Phillips ([EMAIL PROTECTED])

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to