mgetty with AutoPPP
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
and /etc/ppp/option.ttyS1
auth
-chap
+pap
-detach
login
asyncmap 0
proxyarp
:10.0.0.100
The mgetty is running correcty, when i do ps aux |grep mgetty
root 255 0.0 2.0 1196 600 ? S 11:22 0:00 /sbin/mgetty
-x0 -s 57600 ttyS1
But, when i try to conect another computer, i recive this message on the
/var/log/syslog:
kernel: PPP: version 2.3.7 (demand dialling)
kernel: PPP line discipline registered.
kernel: registered device ppp0
pppd[245]: pppd 2.3.11 started by suporte, uid 1000
pppd[245]: Using interface ppp0
pppd[245]: Connect: ppp0 <--> /dev/ttyS1
kernel: PPP BSD Compression module registered
kernel: PPP Deflate Compression module registered
pppd[245]: Deflate (15) compression enabled
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??
Tanks a lot
--
Alberto Pereira
Link-
Reply to: