Dialer-Skript
Florian Lohoff
flo at rfc822.org
Sun Jan 9 18:07:05 CET 2000
On Sat, Jan 08, 2000 at 04:50:08PM +0100, Jan-Benedict Glaw wrote:
> Also, ..., ich weiß ja nicht genau, was dieser ganze init-string da oben alles
> do macht, ..., aber ich würde das so machen:
>
> ------
> #!/bin/sh
> #
> # Erster Parameter: Zu wählende Telephonnummer
>
> if [ ! "$#" -eq 1 ] then
> echo "Syntax: $0 TelephonNr"
> fi
>
> echo ATDT$1 > /dev/modem
> sleep 2
> echo ATH > /dev/modem
> ------
> Aufleg-Kommando ath genommen...).
Das modem legt sofort wieder auf bzw waehlt erst gar nicht weil
DTR wieder gedroppt wird sobald echo das modem wieder schliesst.
Flo
--
Florian Lohoff flo at rfc822.org +49-5241-470566
... The failure can be random; however, when it does occur, it is
catastrophic and is repeatable ... Cisco Field Notice
More information about the Linux
mailing list