Linux – Serveur de fax Hylafax

Hylafax

Installation du driver windows (chipset Connexant) avec ndiswrapper

sudo apt-get install ndiswrapper-common
ndiswrapper -i xxxx.inf
ndiswrapper -m
modprobe ndiswrapper
ndiswrapper -l

Installation du driver Linux hsfmodem

wget http://linmodems.technion.ac.il/packages/scanModem.gz
gunzip -d scanModem.gz
chmod u+x scanModem
./scanModem
less Modem/ModemData.txt
wget http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-7.80.02.05full/hsfmodem-7.80.02.05full.tar.gz
tar xvzf hsfmodem-7.80.02.05full.tar.gz
sudo apt-get install build-essential linux-headers-2.6.24-27-server
cd hsfmodem-7.80.02.05full
./configure
make
sudo make install
sudo hsfconfig

driver dell

http://linux.dell.com/files/ubuntu/hardy/modem-drivers/hsf/

Installation de hylafax-server

apt-get install hylafax-server

vi /etc/hylafax/config.ttySHSF0

CountryCode:            33
AreaCode:               0
FAXNumber:              09XXXXXXXX
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
SessionTracing:         11
RecvFileMode:           0644
LogFileMode:            0644
DeviceMode:             0666
RingsBeforeAnswer:      1
SpeakerVolume:          high
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        Fax Server
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxConsecutiveBadLines: 3
MaxRecvPages:           25

sudo hylafax restart

faxstat -s
HylaFAX scheduler on ubuntu: Running
Modem ttySHSF0 (09XXXXXXXX): Waiting for modem to come ready

Convertir un document pdf en fichier postscript

apt-get install gs
pdf2ps document.pdf fax.ps

Envoyer un fax

sendfax -f "user@domain.com" -R -r "faxsubject" -c "coverpage comments" -x "Recipient's company" -d "Recipient@09XXXXXXXX" fax.ps

Liens

Ndiswrapper (Doc officiel Ubuntu)

The HylaFAX Server « How-To » Guide

Modem Conexant HSF DATA/FAX sous Gnu-Linux

Modem internes HSF Conexant

http://www.linuxfocus.org/Francais/March2001/article196.shtml

http://wiki.debian.org/HylaFax

http://www.com.univ-mrs.fr/ssc/info/hylafax/

http://www.the-asterisk-book.com/unstable/faxserver-mit-iaxmodem-und-hylafax.html

App

Linux – Les filtres

cut

cat list

1,un,one,ein
2,deux,two,zwei
3,trois,three,drei
4,quatre,four,vier
5,cinq,five,funf
6,six,six,sechs
7,sept,seven,sieben
8,huit,eight,acht
9,neuf,nine,neun
10,dix,ten,zen

cut –f1,3 –d','

1,one
2,two
3,three
4,four
5,five
6,six
7,seven
8,eight
9,nine
10,ten

cat villes

75000PARIS
59000LILLE
71000MACON
63000CLERMONT-FERRAND

cut –c1-5 villes

75000
59000
71000
63000

cut –c6- villes

PARIS
LILLE
MACON
CLERMONT-FERRAND

sort

cat list

1,un,one,ein
2,deux,two,zwei
3,trois,three,drei
4,quatre,four,vier
5,cinq,five,funf
6,six,six,sechs
7,sept,seven,sieben
8,huit,eight,acht
9,neuf,nine,neun
10,dix,ten,zen

sort +3 –t','  (trie sur la 4ème colonne)

8,huit,eight,acht
3,trois,three,drei
1,un,one,ein
5,cinq,five,funf
9,neuf,nine,neun
6,six,six,sechs
7,sept,seven,sieben
4,quatre,four,vier
10,dix,ten,zen
2,deux,two,zwei

Recent Tweets

Catégories