faxaddmodem
Serial port that modem is connected to []? ttyS0
Hmm, there does not appear to be an fuser command on your machine.
This means that I am unable to ensure that all processes using the
modem have been killed. I will keep going, but beware that you may
have competition for the modem.
Ok, time to setup a configuration file for the modem. The manual
page config(5F) 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/fax/etc/config.
Hey, there is an existing config file /var/spool/fax/etc/config.ttyS0...
The non-default server configuration parameters are:
CountryCode: 4*
AreaCode: 3****
FAXNumber: "+4*.*****.****"
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 527
SessionTracing: 527
RecvFileMode: 0777
LogFileMode: 0777
DeviceMode: 0777
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-r -b -a -s %s %l"
LocalIdentifier: "**************"
ClocalAsRoot: yes
PriorityScheduling: yes
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%p of %%t"
MaxRecvPages: 25
LockDataCalls: yes
LockVoiceCalls: yes
Are these ok [yes]? yes
Now we are going to probe the tty port to figure out the type
of modem that is attached. This takes a few seconds, so be patient.
Note that if you do not have the modem cabled to the port, or the
modem is turned off, this may hang (just go and cable up the modem
or turn it on, or whatever).
Probing for best speed to talk to modem: 38400 OK.
About fax classes:
The difference between fax classes has to do with how HylaFAX interacts
with the modem and the fax protocol features that are used when sending
or receiving faxes. One class isn't inherently better than another;
however, one probably will suit a user's needs better than others.
Class 1 relies on HylaFAX to perform the bulk of the fax protocol.
Class 2 relies on the modem to perform the bulk of the fax protocol.
Class 2.0 is similar to Class 2 but may include more features.
Class 1.0 is similar to Class 1 but may add V.34-fax capability.
Class 2.1 is similar to Class 2.0 but adds V.34-fax capability.
HylaFAX generally will have more features when using Class 1/1.0 than
when using most modems' Class 2 or Class 2.0 implementations. Generally
any problems encountered in Class 1/1.0 can be resolved by modifications
to HylaFAX, but usually any problems encountered in Class 2/2.0/2.1 will
require the modem manufacturer to resolve it.
Use Class 1 unless you have a good reason not to.
This modem looks to have support for Class 1 and 2.
How should it be configured [1]? 2
Hmm, this looks like a Class 2 modem.
Modem manufacturer is "Venus V.90 kfav173 Serial "Version 1.02 / 16.06.2000"".
Modem model is "Venus V.90 kfav173 Serial "Version 1.02 / 16.06.2000"".
DTE-DCE flow control scheme [default]?
Using prototype configuration file class2...
There is no prototype configuration file for your modem, so we will
have to fill in the appropriate parameters by hand. You will need the
manual for how to program your modem to do this task. In case you are
uncertain of the meaning of a configuration parameter you should
consult the config(5F) manual page for an explanation.
Note that modem commands must be specified exactly as they are to be
sent to the modem. Note also that quote marks (") will not be displayed
and will automatically be deleted. You can use this facility to supply
null parameters as "".
Finally, beware that the set of parameters is long. If you prefer to
use your favorite editor instead of this script you should fill things
in here as best you can and then edit the configuration file
"/var/spool/fax/etc/config.ttyS0"
after completing this procedure.
Command to enter Class2 [AT+FCLASS=2]?
Command to abort an active session [AT+FK]?
Command to setup data bit order [AT+FBOR=0]?
Command to enable HDLC frame tracing [AT+FBUG=1]?
Command to set polling identifer [AT+FCIG]?
Command to setup copy quality parameters [""]?
Command to enable receive capability [AT+FCR=1]?
Command to set/constrain modem capabilities [AT+FDCC]?
Command to query modem capabilities [AT+FDCC=?]?
Command to set session parameters [AT+FDIS]?
Command to set local identifier string [AT+FLID]?
Command to set Phase C timeout [AT+FPHCTO=30]?
Command to receive byte-aligned EOL codes [AT+FREL=1]?
Character sent before receiving page data [""]?
Command to set polling request [AT+FSPL]?
Command to enable DTE-DCE stream comm. mode [AT+FTBC=0]?
Wait for XON before sending page data [yes]?
The modem configuration parameters are:
Class2AbortCmd: AT+FK
Class2BORCmd: AT+FBOR=0
Class2BUGCmd: AT+FBUG=1
Class2CIGCmd: AT+FCIG
Class2CQCmd: ""
Class2CQQueryCmd: AT+FCQ=?
Class2CRCmd: AT+FCR=1
Class2Cmd: AT+FCLASS=2
Class2DCCCmd: AT+FDCC
Class2DCCQueryCmd: AT+FDCC=?
Class2DISCmd: AT+FDIS
Class2DDISCmd: ""
Class2LIDCmd: AT+FLID
Class2PHCTOCmd: AT+FPHCTO=30
Class2PTSCmd: AT+FPTS
Class2RecvDataTrigger: ""
Class2RELCmd: AT+FREL=1
Class2SPLCmd: AT+FSPL
Class2TBCCmd: AT+FTBC=0
Class2XmitWaitForXON: yes
Are these ok [yes]? yes
Creating new configuration file /var/spool/fax/etc/config.ttyS0...
...nothing appears to have changed; leaving the original file.
Done setting up the modem configuration.
Checking /var/spool/fax/etc/config for consistency...
...everything looks ok; leaving existing file unchanged.
Don't forget to run faxmodem(8C) (if you have a send-only environment)
or configure init to run faxgetty on ttyS0.