八、安装HylaFAX
apt install hylafax-server
安装过程中会弹出配置邮件服务界面,用于发送通知邮件,在此先不设置,选择“No configuration”。
九、配置HylaFAX
1. 查看Modem设备
进入/dev,ls命令查看相关设备文件。
2. 把USB Modem插到电脑上,再次ls设备文件,找出新增设备的名称,多为tty开头,我们可以看到新增设备为ttyACM0。
3. 为HylaFAX添加Modem设备
##输入命令
faxaddmodem
##提示输入设备名称,输入刚才所查到的ttyACM0(注意大小写)
Serial port that modem is connected to [ttyS0]? ttyACM0
Ok, time to setup a configuration file for the modem. The manual
page config(5) may be useful during this process. Also be aware
that at any time you can safely interrupt this procedure.
Reading scheduler config file /var/spool/hylafax/etc/config.
No existing configuration, let's do this from scratch.
##输入国家代码
Country code [1]? 0086
##输入区号
Area code [415]? 020
##输入电话号码(按实际填写,或随意输入也可)
Phone number of fax modem [+1.999.555.1212]? 88888888
##设置本地传真机标识,直接回车
Local identification string (for TSI/CIG) ["NothingSetup"]?
##长途拨号前缀
Long distance dialing prefix [1]? 0
##国际拨号前缀
International dialing prefix [011]? 00
##拨号字符串规则文件,直接回车
Dial string rules file (relative to /var/spool/hylafax) [etc/dialrules]?
##追踪正常服务,直接回车
Tracing during normal server operation [1]?
##追踪发送和接收会话