FAXMODEM(8C)
π FAXMODEM π
okay bestie, welcome to FAXMODEM(8C) β yes that's the manual name, section 8C, we're in the system admin section and we're thriving π
β¨ NAME β¨
faxmodem β dynamically add a modem to a HylaFAX server system π¦
πΈ SYNOPSIS πΈ
/usr/bin/faxmodem [ -q queue-dir ] [ -c capabilities ] [ -p ] [ -P ] [
-u priority ] modem
π« DESCRIPTION π«
so basically, faxmodem sends a message to the HylaFAX queuer process faxq(8C) and is like "hey girl, this modem is ready for use" and also tells it all about its fax-related capabilities. no cap. this is literally the mechanism by which modems get added in a send-only configuration. once a modem has been configured, you can reconfigure its status using the faxstate(8C) program. and faxmodem can also be used to alter the capabilities and usage priority of a modem you already configured. versatile queen π
the modem you specify is either the terminal device name where the modem is attached, or a HylaFAX device identifier (peep hylafax-config(5F) for the tea on device identifiers). device names can be given without a leading directory pathname β like ttyf2 instead of /dev/ttyf2. lowkey convenient.
to figure out the capabilities of a modem you either use the probemodem(8C) script or you just... manually talk to the modem. for a Class 2 modem the capabilities are given in the response to the AT+FDCC=? query command, and for a Class 2.0 modem it's the AT+FCC=? command. to check if a modem is capable of polled retrieval of documents, use AT+FSP=? for a Class 2.0 modem or AT+FSPL=? for a Class 2 modem β if 1 shows up in the response then the modem supports polling. slay.
for example:
hyla% cu -l ttyf2
Connected
at+fclass=2.0
OK
at+fcc=?
(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)
OK
at+fsp=?
(0,1)
OK
in this case the modem would be added using the command:
/usr/bin/faxmodem -c '(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)' ttyf2
(by default polling is assumed to be supported π«Ά)
Class 1 modems require a different technique, bestie. the host implements most of the fax protocol, so all that's needed is to identify the possible signalling rates the modem supports for transmitting β this is done with the AT+FTM=? command. for example:
hyla% cu -l ttyf2
Connected
at+fclass=1
OK
at+ftm=?
24,48,72,73,74,96,97,98,121,122,145,146
OK
in this case the modem supports 2400, 4800, 7200, 9600, 12000, and 14400 bps signalling rates, so the modem would be added using:
/usr/bin/faxmodem -c '(0,1),(0-5),(0-2),(0-2),(0,1),0,0,(0-7)' ttyf2
it's giving β¨configurationβ¨
π OPTIONS π
the following options are available:
-cβ specify the fax capabilities using the syntax defined by the "Class 2" specification:(vr),(br),(wd),(ln),(df),(ec),(bf),(st). wherevrspecifies vertical resolution,brspecifies bit rate,wdspecifies page width,lnspecifies page length,dfspecifies data compression,ecspecifies error correction,bfspecifies binary file transfer, andstspecifies scan time/line; and each of the above specifications is a range or list of numbers that defines the exact capabilities of the modem. for example, the default capabilities are(0,1),(0-3),(0-4),(0-2),(0),(0),(0),(0-7)which specifies the modem is capable of sending and receiving both low and high resolution facsimile with a variety of page sizes; supports signalling rates 0-3 (2400 bps through 9600 bps); supports only 1D-encoded data compression; and does not support error correction or binary file transfer. a modem's ability to support polled retrieval of facsimile is specified separately with the-pand-Poptions. π-pβ specify the modem is not capable of polling for remote documents.-Pβ specify the modem is capable of polling for remote documents (default). π-qdir β use a spooling area other than/var/spool/hylafax.-upriority β assign the specified priority to the modem when scheduling it for outbound use. modem priorities are numbers in the range [0..255] with lower numbers meaning higher priority. modems are initially assigned priority 255. π
ποΈ FILES ποΈ
/var/spool/hylafaxβ default spooling area/var/spool/hylafax/FIFOβ fifo for contactingfaxq
consult hylafax-server(5F) for a complete discussion of the structure and content of the spooling area. π§
π SEE ALSO π
hylafax-server(5F), faxgetty(8C), faxq(8C).
and that's the whole vibe, bestie β this page dropped Oct 27, 1995, and it's from FAXMODEM(8C), the one and only. go configure some modems, you ate. πβ¨
π¦ where this page comes from
- fedora 43: hylafax+ 7.0.11-4.fc43 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 43: hylafax+ 7.0.11-4.fc43 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+ 7.0.11-5.fc44 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- fedora 44: hylafax+ 7.0.11-5.fc44 Β· libtiff AND LicenseRef-Callaway-BSD-with-advertising
- Copyright (c) 1995 Sam Leffler
- Copyright (c) 1995 Silicon Graphics, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms