I use a RedHat 6 kernel 2.2.5 as a ppp server for PC clients under
Win95/98/NT. For that I use mgetty with the AutoPPP facility.
I also have a dialup ISDN connection to my ISP using DIALD and Ipchains for
All is working very well.
My question is:
How to force the incoming call to always use pppd with ppp1 interface
How to force the ISDN call to my ISP to always use pppd with ppp0 interface
The problem is:
If diald has already started a ppp link to my ISP using ppp0 an incoming
call will start mgetty/AutoPPP which will use ppp1
If the ISP link is not running
an incoming call will start mgetty/AutoPPP for use ppp0
and if diald start just after that, the ppp link to the ISP will use ppp1
So I want to force diald to always use pppd with ppp0 and mgetty/AutoPPP to
force pppd to always use ppp1
In the pppd man page I found the environment variable IFNAME, but How to use
it the right way ?
Thank in advance for your help,
Cognition France 1 Allee Jean Image 77200 TORCY
Tel:(33) 1 64 62 99 33 Fax:(33) 1 64 62 10 20