strange modem behaviour
When using my modem by ppp, everything works fine, always. But when
trying to dial with the following script (which I plan to use out of
a database), it sometimes hangs at the stty command. I have a Laptop
using a ClipperCom World V.34 PCMCIA Modem. Removing it and
reinserting does not solve the problem. I am not sure if the ppp
command shuts down the possibility to access it. With minicom I can
talk to the modem even when the dial script here is not working
anymore. It has nothing to do with blacklisting.
Any hints?
#!/bin/bash
stty 115200 </dev/modem
echo "AT&F0M3" >/dev/modem
echo "ATDT $1" >/dev/modem
sleep 8
echo "ATH" >/dev/modem
in my /etc/chatscrips/provider:
ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE
ABORT "NO DIALTONE"
"" AT&F0%VM0
"OK" "ATDT 0840 840 888"
ogin T44....
word \wonttell
in my etc/ppp/peers/provider:
noauth
defaultroute
/dev/modem
115200
--
http://www.fear.ch telnet://mud.fear.ch:3333 finger://godot@fear.ch
Bülachstrasse 7a, 8057 Zürich, +41 1 313 07 87 (home)
Reply to: