Readers, I used to have a successful email2sms system running on RedHat 6.1 which when I moved to 6.2, I decided to retrieve the files for reuse as I now require them again..
Nothing has changed in /etc/uucp/dial and /etc/uucp/port and yet the system no longer works.. /etc/uucp/ports ----------------------- port port2 device /dev/ttyS0 dialer pager speed 38400 /etc/uucp/dial -------------------- dialer pager chat "" ATZ OK-ATZ-OK chat \d\d\d"OK"-ATZ\r-"OK"\d\c OK ATDT0414100200 QUIT \T TELENOTE chat-fail BUSY complete \d\d+++\d\dATH\r\c abort \d\d+++\d\dATH\r\c As much as the lines in the "dial" file seem weird, it always worked..This is the command line I run: echo -e "This is an email2sms test\r" | cu -p port1 -c 0414xxxxxx The output I get is this: cu: icexpect: Looking for 8 "TELENOTE" cu: icexpect: Got "" (timed out) cu: Timed out in chat script cu: fcsend: Writing sleep sleep "+++" sleep sleep "ATH\r" WT#????? Sometimes the "Looking for 8" comes up as "Looking for 4"... as I changes things for testing.. I'm now using: dialer pager chat "" \r chat "" ATZ chat "OK" ATDT0414100200 chat "RETURN TO QUIT" \T chat TELENOTE chat-fail BUSY complete \d\d+++\d\dATH\r\c abort \d\d+++\d\dATH\r\c This also fails... It takes forever to pick up the line and yet doesn't do jack.... Any help here.? thanks, George Vieira Systems Manager Citadel Computer Systems P/L http://www.citadelcomputer.com.au -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
