Frequently Asked Questions for FreeBSD 2.X : Serial 通訊 : 我要怎麼在命令列下撥電話呢 ?
Previous: pn 欄中的 @ 不能用了 !
Next: 我每次用的時候都要輸入 bps 速度嗎 ?

11.14. 我要怎麼在命令列下撥電話呢 ?

在您的 /etc/remote 放一個 ``generic''。舉例來說 :

        tip115200|Dial any phone number at 115200 bps:\
        :dv=/dev/cuaa0:br#115200:at=hayes:pa=none:du:
        tip57600|Dial any phone number at 57600 bps:\
        :dv=/dev/cuaa0:br#57600:at=hayes:pa=none:du:
      

然後您就可以像 ``tip -115200 5551234'' 這樣用了。如果您比較喜 歡用 cu 的話, 使用 generic cu 欄位 :

        cu115200|Use cu to dial any number at 115200bps:\
        :dv=/dev/cuaa1:br#57600:at=hayes:pa=none:du:
      

然後輸入 ``cu 5551234 -s 115200'' 。


Frequently Asked Questions for FreeBSD 2.X : Serial 通訊 : 我要怎麼在命令列下撥電話呢 ?
Previous: pn 欄中的 @ 不能用了 !
Next: 我每次用的時候都要輸入 bps 速度嗎 ?