Hi guys
I have an external Dynalink ISDN modem. It works fine under Windows. I cannot get it to dial under e-smith. I have modified the chat-ppp0 script to as follows.(I know I shouldnt, its just for testing purposes)
#------------------------------------------------------------
# DO NOT MODIFY THIS FILE! It is updated automatically by the
# e-smith server and gateway software. Instead, modify the source
# template in the /etc/e-smith/templates directory. For more
# information, see
http://www.e-smith.org.
#
# copyright (C) 1999, 2000 e-smith, inc.
#------------------------------------------------------------
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
REPORT CONNECT
''
'ATE1V1+IMODE=0'
'OK'
'AT&F \V8'
'OK'
'ATS7=60\N16%C0'
'OK'
'AT\N10%P1%S0'
'OK'
'ATD3275000'
'CONNECT'
#------------------------------------------------------------
# TEMPLATE END
#------------------------------------------------------------
The init strings are from the Windows log file for my modem. I have checked all the string and they all report OK under Hyperteminal and the final one reports CONNECT 64000. The /var/log/messages is as follows.
Jul 4 20:32:50 mail diald[3112]: Calling site 0.0.0.0
Jul 4 20:32:51 mail chat[5231]: abort on (BUSY)
Jul 4 20:32:51 mail chat[5231]: abort on (ERROR)
Jul 4 20:32:51 mail chat[5231]: abort on (NO CARRIER)
Jul 4 20:32:51 mail chat[5231]: abort on (NO DIALTONE)
Jul 4 20:32:51 mail chat[5231]: abort on (Invalid Login)
Jul 4 20:32:51 mail chat[5231]: abort on (Login incorrect)
Jul 4 20:32:51 mail chat[5231]: report (CONNECT)
Jul 4 20:32:51 mail chat[5231]: send (ATE1V1+IMODE=0^M)
Jul 4 20:32:52 mail chat[5231]: expect (OK)
Jul 4 20:32:52 mail chat[5231]: ATE1V1+IMODE=0^M^M
Jul 4 20:32:52 mail chat[5231]: OK
Jul 4 20:32:52 mail chat[5231]: -- got it
Jul 4 20:32:52 mail chat[5231]: send (AT&F \V8^M)
Jul 4 20:32:52 mail chat[5231]: expect (OK)
Jul 4 20:32:52 mail chat[5231]: ^M
Jul 4 20:32:52 mail chat[5231]: AT&F V8^M^M
Jul 4 20:32:52 mail chat[5231]: ERROR
Jul 4 20:32:52 mail chat[5231]: -- failed
Jul 4 20:32:52 mail chat[5231]: Failed (ERROR)
Jul 4 20:32:52 mail diald[3112]: Connect script failed.
I have modifed the chat-ppp0 file to read as follows after I figured that chat was leaving out the '' (backslash). I received the following in /var/log/messages
Jul 4 20:34:18 mail diald[3112]: Calling site 0.0.0.0
Jul 4 20:34:19 mail chat[5239]: abort on (BUSY)
Jul 4 20:34:19 mail chat[5239]: abort on (ERROR)
Jul 4 20:34:19 mail chat[5239]: abort on (NO CARRIER)
Jul 4 20:34:19 mail chat[5239]: abort on (NO DIALTONE)
Jul 4 20:34:19 mail chat[5239]: abort on (Invalid Login)
Jul 4 20:34:19 mail chat[5239]: abort on (Login incorrect)
Jul 4 20:34:19 mail chat[5239]: report (CONNECT)
Jul 4 20:34:19 mail chat[5239]: send (ATE1V1+IMODE=0^M)
Jul 4 20:34:19 mail chat[5239]: expect (OK)
Jul 4 20:34:19 mail chat[5239]: ATE1V1+IMODE=0^M^M
Jul 4 20:34:19 mail chat[5239]: OK
Jul 4 20:34:19 mail chat[5239]: -- got it
Jul 4 20:34:19 mail chat[5239]: send (AT&F \V8^M)
Jul 4 20:34:19 mail chat[5239]: expect (OK)
Jul 4 20:34:19 mail chat[5239]: ^M
Jul 4 20:34:19 mail chat[5239]: AT&F \V8^M^M
Jul 4 20:34:19 mail chat[5239]: ERROR
Jul 4 20:34:19 mail chat[5239]: -- failed
Jul 4 20:34:19 mail chat[5239]: Failed (ERROR)
Jul 4 20:34:19 mail diald[3112]: Connect script failed.
I'm guessing I am not sending the init string correctly. but have tried every combination of settings to no avail. I have also tried storing the strings on the modem, but this did not work. It seems that the modem needs these strings to dial out. I tried a simple ATZ followed by a atd3275000 (the ISP's number), but I get NO CARRIER.
Please help. I really want e-smith to work, as it is exactly what we need here.
James