Laptop running SuSE 9.1
Setting up dialup to, say, IOLfree, works fine with YaST/wvdial/kinternet,
but not with pppd directly, and I'm seeing similar problems when using
minicom. Basically, when it comes to the point where my chat script
expects the prompt, it gets binary garbage and then NO CARRIER. Same in
minicom: connecting to the site manually to see what the actual prompt
looks like, it gets binary garbage instead.
/etc/ppp/peers/iolfree:
/dev/ttySL0 38400 crtscts
connect '/usr/sbin/chat -f /etc/ppp/chat-iolfree'
noauth
user iolfree
defaultroute
replacedefaultroute
netmask 255.255.255.0
/etc/ppp/chat-iolfree:
TIMEOUT 120
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\n'
ABORT '\nERROR\n'
ABORT '\nNO ANSWER\n'
ABORT '\nBUSY\n'
ABORT '\nUsername/Password Incorrect\n'
'' AT
OK "ATDT1890924042"
CONNECT ''
'ogin:' iolfree
'word:' iolfree
'access>' ppp
Any ideas? I desperately need to be able to do this with pppd directly
rather than wvdial because the latter doesn't do dialback (had this working
in the old workplace, but the old scripts don't work anymore for some
reason).
Nov 25 22:23:56 localhost pppd[5521]: pppd 2.4.2 started by root, uid 0
Nov 25 22:23:57 localhost chat[5522]: timeout set to 120 seconds
Nov 25 22:23:57 localhost chat[5522]: abort on (\nNO CARRIER\r)
Nov 25 22:23:57 localhost chat[5522]: abort on (\nNO DIALTONE\n)
Nov 25 22:23:57 localhost chat[5522]: abort on (\nERROR\n)
Nov 25 22:23:57 localhost chat[5522]: abort on (\nNO ANSWER\n)
Nov 25 22:23:57 localhost chat[5522]: abort on (\nBUSY\n)
Nov 25 22:23:57 localhost chat[5522]: abort on (\nUsername/Password Incorrect\n)
Nov 25 22:23:57 localhost chat[5522]: send (AT^M)
Nov 25 22:23:57 localhost chat[5522]: expect (OK)
Nov 25 22:23:57 localhost chat[5522]: AT^M^M
Nov 25 22:23:57 localhost chat[5522]: OK
Nov 25 22:23:57 localhost chat[5522]: -- got it
Nov 25 22:23:57 localhost chat[5522]: send (ATDT1890924042^M)
Nov 25 22:23:58 localhost chat[5522]: expect (CONNECT)
Nov 25 22:23:58 localhost chat[5522]: ^M
Nov 25 22:23:58 localhost chat[5522]: ATDT1890924042^M^M
Nov 25 22:24:27 localhost chat[5522]: CONNECT
Nov 25 22:24:27 localhost chat[5522]: -- got it
Nov 25 22:24:27 localhost chat[5522]: send (^M)
Nov 25 22:24:27 localhost chat[5522]: expect (ogin:)
Nov 25 22:24:27 localhost chat[5522]: 49333^M
Nov 25 22:24:36 localhost chat[5522]: ~^?}#@!}!}!} "}!}$}%p}"}&} } } } }#}%B#}%}%}&_f}3.}1}$}%\}2}"}3}#} ^Y{~~^?}#@!}!}"}
Nov 25 22:24:39 localhost pppd[5521]: Terminating on signal 2.
Nov 25 22:24:39 localhost chat[5522]: SIGINT
Nov 25 22:24:39 localhost pppd[5521]: Connect script failed
Nov 25 22:24:40 localhost pppd[5521]: Exit.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!