From: "Phil Shrimpton"
From: kastus@tsoft.com [mailto:kastus@tsoft.com]
Hi, Thanks for your help. I think I have two problems here just to get me more confused. I think the modem problem is 'minor' as it seams to correct itself after several attempts, but still needs fixing at some point.
12/11 11:04:32 yS0 WARNING: DSR is off - modem turned off or bad cable?
That means your modem wasn't initialised properly. Try to set debug level in mgetty configuration to some higher level and see what it gives.
Here is a 'snipped' version with the extra debug info.... 12/11 23:06:03 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR 12/11 23:06:03 yS0 lowering DTR to reset Modem 12/11 23:06:38 yS0 calling login: cmd='/usr/sbin/pppd', argv[]='pppd' 12/11 23:06:38 ##### data dev=ttyS0, pid=5601, caller='none', conn='33600/LAPM/V42BIS', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/' -- 12/11 23:06:38 yS0 setenv: 'CALLER_ID=none' 12/11 23:06:38 yS0 setenv: 'CONNECT=33600/LAPM/V42BIS' -- 12/11 23:06:49 yS0 tio_get_rs232_lines: status: RTS CTS DTR DCD 12/11 23:06:49 yS0 WARNING: DCD line still active, check modem settings (AT&Dx) 12/11 23:06:49 yS0 WARNING: DSR is off - modem turned off or bad cable? 12/11 23:06:49 yS0 lowering DTR to reset Modem 12/11 23:06:49 yS0 TIOCMBIS failed: Input/output error 12/11 23:06:49 yS0 cannot turn off soft carrier: Input/output error 12/11 23:06:49 yS0 tcgetattr failed: Input/output error 12/11 23:06:49 yS0 cannot get TIO: Input/output error 12/11 23:06:49 yS0 mg_init_device failed, trying again.. [It trys again a few times before it works...] 12/11 23:06:51 yS0 waiting for ``OK'' 12/11 23:06:51 yS0 got: [0d][0a]ATS0=0Q0&D3&C1[0d][0d][0a]OK ** found ** 12/11 23:06:51 yS0 waiting for line to clear (VTIME), read: [0d][0a] 12/11 23:06:51 yS0 removing lock file
The modem answered the call and started pppd. Please look at /var/log/messages what pppd put there.
Everything seams OK, apart from these two...
Dec 11 11:04:25 fred pppd[3821]: user phil logged in
Dec 11 11:04:25 fred pppd[3821]: Peer is not authorized to use remote
address 192.168.110.50
I belive this is the main problem, what should the setting for pppd be for