on 11/3/00 2:59 PM, Olaf Hering at olh@suse.de wrote:
I created a file 'afile' that contained the following lines:
ATH0 ATZ ATDT 5551212
I then executed the following line:
cat afile > /dev/modem and cat afile > /dev/ttyS0
both produced the same results, the lights on the modem flashed, but I never heard it try to dial.
You proably need another init string.
For testing, I can put the init string in 'afile', but once I get it working, how do I modify the init string that Yast uses for it's auto-guess. Or do I even need to? If not, where do I specify the new, correct, init string.
look at /etc/wvdial.conf, the first string should reset the modem, the second one should configure it.
Gruss Olaf
I modified the init string and that still didn't work. I played around some more and I'm pretty sure that the problem is that the wrong end-of-line character is being sent. The modem expects a <CR> (0x0D or ctrl-M - all the same thing, just different names) as the end-of-line. I tested this by doing the following: First I executed: cat > /dev/modem I could type in things and when I hit return, nothing would happen. However, if I typed <ENTER> the modem would respond. I could reset it and make it dial and hang up. I went and changed the key map to mac-us instead of mac-102 and tried it again. I could then use the return key to get the modem to respond. I could reset it, make it dial and put it back on hook. Next I put the same commands I had been manually entering, into a file (afile). The commands were: AT&F1(don't remember the rest) ATH0 ATDT 5551212 The key was that I used <CTRL>-M to end each line instead of hitting either return or enter. I then sent this file to the modem using: cat afile > /dev/modem This worked perfectly. So now - how do I tell wvdial to use the correct character when sending an end-of-line, or is there something else wrong? ----------------------------- Robert G. Palmer, Jr. Product Engineer robert.palmer@ipix.com iPIX - The Leader in Dynamic Imaging Phone: (865)-482-3000 http://www.ipix.com