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

Re: mgetty with AutoPPP



Alberto Pereira wrote:
> 
> Hi all,
> 
> I'm trying to use mgetty with ppp to  conect one computer to another (both
> using linux)with dialing.
> I configure /etc/mgetty/login.config:
> /AutoPPP/ -     -       /usr/sbin/pppd auth -chap +pap login kdebug 7 debug

I have used these options with success in the past:
/AutoPPP/ -    a_ppp   /usr/sbin/pppd auth login debug crtscts modem
ms-dns 10.10.10.1 lock proxyarp 10.10.10.1:10.10.10.5

change 10.10.10.1 to the ip of the linux box and 10.10.10.5 to the ip
you want to assign the modem, and 10.10.10.1 to your DNS.  Also be sure
to turn on ip forwarding if you want to access things beyond the linux
box.



> pppd[245]: Peer is not authorized to use remote address 10.0.0.100
> pppd[245]: Connection terminated.
> pppd[245]: Connect time 0.2 minutes.
> pppd[245]: Sent 347 bytes, received 299 bytes.
> pppd[245]: Exit.
> 
> What i forgot??
> What i want to do??

it maybe the way you specified the ip option in the options.ttyS1 file,
try it directly on the pppd command line using mgetty's configuration
see if that helps.

nate

-- 
:::
ICQ: 75132336
http://www.aphroland.org/
http://www.linuxpowered.net/
aphro@aphroland.org



Reply to: