On Tuesday 15 February 2005 11:50, James Kaufman wrote: I have made some changes to myconfigs: This config seems to be the best working one so far. Even if I can just get the connection without authentication for now it will be great. Here are the new config files: What other files should I be checking? See the error below [root@preload root]# cat /etc/ppp/options lock modem -detach ms-dns 192.168.1.1 auth require-pap refuse-chap asyncmap 0 proxyarp defaultroute [root@preload root]# cat /etc/ppp/options.server noauth -chap +pap asyncmap 0 :192.168.2.8 debug modem crtscts dns-addr 196.25.100.18 dns-addr 196.25.100.19 proxyarp [root@preload root]# cat /etc/ppp/options.ttyS0 #hostname-s1:hostname 192.168.2.8:192.168.2.5 [root@preload root]# cat /etc/ppp/pap-secrets ppp * "" ppp.teq.pinteq [root@preload root]# cat /etc/mgetty+sendfax/mgetty. cat: /etc/mgetty+sendfax/mgetty.: No such file or directory [root@preload root]# cat /etc/mgetty+sendfax/mgetty.config port ttyS0 data-only y direct n debug 5 speed 115200 port-owner ppp port-group pppusers port-mode 0664 [root@preload root]# cat /etc/mgetty+sendfax/login.config ppp - a_ppp /usr/sbin/pppd file /etc/ppp/options [root@preload root]# This is the output of /var/log/mgety.log.ttyS0 02/15 17:52:45 yS0 mgetty: experimental test release 1.1.30-Dec16 02/15 17:52:45 yS0 mgetty.c compiled at Feb 28 2004, 11:01:28 02/15 17:52:45 yS0 user id: 0, pid: 1425, parent pid: 1 02/15 17:52:45 yS0 reading configuration data for port 'ttyS0' 02/15 17:52:45 yS0 reading /etc/mgetty+sendfax/mgetty.config... 02/15 17:52:45 yS0 conf lib: read: 'port ttyS0' 02/15 17:52:45 yS0 section: port ttyS0, **found** 02/15 17:52:45 yS0 conf lib: read: 'data-only y' 02/15 17:52:45 yS0 conf lib: read: 'direct n' 02/15 17:52:45 yS0 conf lib: read: 'debug 5' 02/15 17:52:45 yS0 conf lib: read: 'speed 115200' 02/15 17:52:45 yS0 conf lib: read: 'port-owner ppp' 02/15 17:52:45 yS0 conf lib: read: 'port-group pppusers' 02/15 17:52:45 yS0 conf lib: read: 'port-mode 0664' 02/15 17:52:45 yS0 key: 'speed', type=0, flags=2, data=115200 02/15 17:52:45 yS0 key: 'switchbd', type=0, flags=1, data=0 02/15 17:52:45 yS0 key: 'direct', type=3, flags=3, data=FALSE 02/15 17:52:45 yS0 key: 'blocking', type=3, flags=1, data=FALSE 02/15 17:52:45 yS0 key: 'port-owner', type=1, flags=3, data=ppp 02/15 17:52:45 yS0 key: 'port-group', type=1, flags=3, data=pppusers 02/15 17:52:45 yS0 key: 'port-mode', type=0, flags=3, data=436 02/15 17:52:45 yS0 key: 'toggle-dtr', type=3, flags=1, data=TRUE 02/15 17:52:45 yS0 key: 'toggle-dtr-waittime', type=0, flags=1, data=500 02/15 17:52:45 yS0 key: 'need-dsr', type=3, flags=1, data=FALSE 02/15 17:52:45 yS0 key: 'data-only', type=3, flags=3, data=TRUE 02/15 17:52:45 yS0 key: 'fax-only', type=3, flags=1, data=FALSE 02/15 17:52:45 yS0 key: 'modem-type', type=1, flags=1, data=auto 02/15 17:52:45 yS0 key: 'modem-quirks', type=0, flags=0, data=(empty) 02/15 17:52:45 yS0 key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0 OK ATS0=0Q0&D3&C1 OK \dATQ0V1H0 OK yS0 key: 'force-init-chat', type=2, flags=1, data= \d\d\d\d+++\d\d\d 02/15 17:52:45 yS0 key: 'post-init-chat', type=2, flags=0, data=(empty) 02/15 17:52:45 yS0 key: 'data-flow', type=4, flags=1, data=1 02/15 17:52:45 yS0 key: 'fax-send-flow', type=4, flags=1, data=7 02/15 17:52:45 yS0 key: 'fax-rec-flow', type=4, flags=1, data=7 02/15 17:52:45 yS0 key: 'modem-check-time', type=0, flags=1, data=3600 02/15 17:52:45 yS0 key: 'rings', type=0, flags=1, data=1 02/15 17:52:45 yS0 key: 'msn-list', type=2, flags=0, data=(empty) 02/15 17:52:45 yS0 key: 'get-cnd-chat', type=2, flags=0, data=(empty) 02/15 17:52:45 yS0 key: 'cnd-program', type=1, flags=0, data=(empty) 02/15 17:52:45 yS0 key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c 02/15 17:52:45 yS0 key: 'answer-chat-timeout', type=0, flags=1, data=80 02/15 17:52:45 yS0 key: 'autobauding', type=3, flags=1, data=FALSE 02/15 17:52:45 yS0 key: 'ringback', type=3, flags=1, data=FALSE 02/15 17:52:45 yS0 key: 'ringback-time', type=0, flags=1, data=30 02/15 17:52:45 yS0 key: 'ignore-carrier', type=3, flags=1, data=FALSE 02/15 17:52:45 yS0 key: 'issue-file', type=1, flags=1, data=/etc/issue 02/15 17:52:45 yS0 key: 'prompt-waittime', type=0, flags=1, data=500 02/15 17:52:45 yS0 key: 'login-prompt', type=1, flags=1, data=@ login: 02/15 17:52:45 yS0 key: 'login-time', type=0, flags=1, data=240 02/15 17:52:45 yS0 key: 'fido-send-emsi', type=3, flags=1, data=TRUE 02/15 17:52:45 yS0 key: 'login-conf-file', type=1, flags=1, data=login.config 02/15 17:52:45 yS0 key: 'fax-id', type=1, flags=1, data=49 115 xxxxxxxx 02/15 17:52:45 yS0 key: 'fax-min-speed', type=0, flags=1, data=0 02/15 17:52:45 yS0 key: 'fax-max-speed', type=0, flags=1, data=14400 02/15 17:52:45 yS0 key: 'fax-server-file', type=1, flags=0, data=(empty) 02/15 17:52:45 yS0 key: 'diskspace', type=0, flags=1, data=1024 02/15 17:52:45 yS0 key: 'notify', type=1, flags=1, data=faxadmin 02/15 17:52:45 yS0 key: 'fax-owner', type=1, flags=1, data=uucp 02/15 17:52:45 yS0 key: 'fax-group', type=1, flags=0, data=(empty) 02/15 17:52:45 yS0 key: 'fax-mode', type=0, flags=1, data=432 02/15 17:52:45 yS0 key: 'fax-spool-in', type=1, flags=1, data=/var/spool/fax/incoming:/tmp 02/15 17:52:45 yS0 key: 'debug', type=0, flags=2, data=6 02/15 17:52:45 yS0 key: 'statistics-chat', type=2, flags=0, data=(empty) 02/15 17:52:45 yS0 key: 'statistics-file', type=1, flags=0, data=(empty) 02/15 17:52:45 yS0 key: 'gettydefs', type=1, flags=1, data=n 02/15 17:52:45 yS0 key: 'term', type=1, flags=0, data=(empty) 02/15 17:52:45 yS0 check for lockfiles 02/15 17:52:45 yS0 checklock: no active process has lock, will remove 02/15 17:52:45 yS0 locking the line 02/15 17:52:45 yS0 makelock(ttyS0) called 02/15 17:52:45 yS0 do_makelock: lock='/var/lock/LCK..ttyS0' 02/15 17:52:45 yS0 lock made 02/15 17:52:46 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR 02/15 17:52:46 yS0 lowering DTR to reset Modem 02/15 17:52:46 yS0 tss: set speed to 115200 (10002) 02/15 17:52:46 yS0 tio_set_flow_control( HARD ) 02/15 17:52:46 yS0 waiting for line to clear (VTIME), read: 02/15 17:52:47 yS0 send: \dATQ0V1H0[0d] 02/15 17:52:47 yS0 waiting for ``OK'' 02/15 17:52:47 yS0 got: [0d][0a]OK ** found ** 02/15 17:52:47 yS0 send: ATS0=0Q0&D3&C1[0d] 02/15 17:52:47 yS0 waiting for ``OK'' 02/15 17:52:47 yS0 got: [0d] 02/15 17:52:47 yS0 CND: OK[0a][0d][0a]OK ** found ** 02/15 17:52:47 yS0 waiting for line to clear (VTIME), read: [0d][0a] 02/15 17:52:48 yS0 removing lock file 02/15 17:52:48 yS0 waiting... 02/15 17:53:06 yS0 select returned 1 02/15 17:53:06 yS0 checking lockfiles, locking the line 02/15 17:53:06 yS0 makelock(ttyS0) called 02/15 17:53:06 yS0 do_makelock: lock='/var/lock/LCK..ttyS0' 02/15 17:53:06 yS0 lock made 02/15 17:53:06 yS0 wfr: waiting for ``RING'' 02/15 17:53:06 yS0 got: [0d][0a]RING[0d] 02/15 17:53:06 yS0 CND: RING 02/15 17:53:06 yS0 wfr: rc=0, drn=0 02/15 17:53:06 yS0 send: ATA[0d] 02/15 17:53:06 yS0 waiting for ``CONNECT'' 02/15 17:53:06 yS0 got: [0d] 02/15 17:53:18 yS0 CND: OK[0a]CONNECT ** found ** 02/15 17:53:18 yS0 send: 02/15 17:53:18 yS0 waiting for ``_'' 02/15 17:53:18 yS0 got: 33600/ARQ/V34/LAPM/V42BIS[0d] 02/15 17:53:18 yS0 CND: CONNECT 33600/ARQ/V34/LAPM/V42BIS 02/15 17:53:18 yS0 CND: found: 33600/ARQ/V34/LAPM/V42BIS[0a] ** found ** 02/15 17:53:18 yS0 waiting for line to clear (VTIME), read: 02/15 17:53:18 yS0 looking for utmp entry... (my PID: 1425) 02/15 17:53:18 yS0 utmp + wtmp entry made 02/15 17:53:19 yS0 tio_set_flow_control( HARD ) 02/15 17:53:19 yS0 print welcome banner (/etc/issue) 02/15 17:53:19 yS0 getlogname (AUTO_PPP), read:ppp[0d] 02/15 17:53:26 yS0 input finished with '\r', setting ICRNL ONLCR 02/15 17:53:26 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD 02/15 17:53:26 yS0 login: use login config file /etc/mgetty+sendfax/login.config 02/15 17:53:26 yS0 match: user='ppp', key='ppp'*** hit! 02/15 17:53:26 yS0 login: utmp entry: a_ppp 02/15 17:53:26 yS0 looking for utmp entry... (my PID: 1425) 02/15 17:53:26 yS0 utmp + wtmp entry made 02/15 17:53:26 yS0 calling login: cmd='/usr/sbin/pppd', argv[]='pppd file /etc/ppp/options' 02/15 17:53:26 yS0 setenv: 'CALLER_ID=none' 02/15 17:53:26 yS0 setenv: 'CONNECT=33600/ARQ/V34/LAPM/V42BIS' 02/15 17:53:26 yS0 setenv: 'DEVICE=ttyS0' 02/15 17:53:26 ##### data dev=ttyS0, pid=1425, caller='none', conn='33600/ARQ/V34/LAPM/V42BIS', name='', cmd='/usr/sbin/pppd', user='ppp' I get the usual kppp errors on the client preload.teq.pinteq login: ppp ~}#@!}!}!} }8}"}&} } } } }#}$@#}%}&>x H}'}"}(}"Y6~~}#@!}!}!} } 8}"}&} } } } }#}$@#}%}&>x H}'}"}(}"Y6~~}#@!}!}!} }8}"}&} } } } }#}$@#}%}&>x H}'}"}(}"Y6~~}#@!}!}!} }8}"}&} } } } }#}$@#}%}&>x H}'}"}(}"Y6~~}#@!}!}!} } 8}"}&} } } } }#}$@#}%}&>x H}'}"}(}"Y6~~}#@!}!}!} }8}"}&} } } } }#}$@#}%}&>x H}'}"}(}"Y6~~}#@!}!}!} }8}"}&} } } } }#}$@#}%}&>x H}'}"}(}"Y6~~}#@!}!}!} } 8}"}&} } } } }#}$@#}%}&>x H}'}"}(}"Y6~~}#@!}!}!} }8}"}&} } } } }#}$@#}%}&>x H}'}"}(}"Y6~~}#@!}!}!} }8}"}&} } } } }#}$@#}%}&>x H}'}"}(}"Y6~NO CARRIER and the in the servers /var/log/messages Feb 15 18:26:22 chadlap pppd[8819]: By default the remote system is required to authenticate itself Feb 15 18:26:22 chadlap pppd[8819]: (because this system has a default route to the internet) Feb 15 18:26:22 chadlap pppd[8819]: but I couldn't find any suitable secret (password) for it to use to do so. -- -- Chadley Wilson Redhat Certified Technician Cert Number: 603004708291270 Pinnacle Micro Manufacturers of Proline Computers Proudly South African ISO9001:2000 Certified Production Line ======================================= LINUX - becuase I can do it my way. ========================================