AW: linux-l: HylaFax
Thoralf Freitag
Thoralf.Freitag at isst.fhg.de
Mi Apr 28 11:18:20 CEST 1999
Ralf.Baerwaldt at extern.oppenheim.de wrote:
>
> >
> > > zugrifffehler : access Denied
> > > außerdem :
> > > wenn eintrag in inittab : faxgetty
> > > dann kein pppd mehr möglich: modem legt sofort wieder auf ...
> >
> > Mit HylaFax musst den Apaptive Answer Support konfigurieren.
> >
> Was ist das ????
rtfm oder so. Das bedeutet, dass Du dem Modem sagst es soll mal
herausbekommen, ob ein Daten-, Fax- oder Voice-Call hereinkommt.
Entsprechend dieser Auswertung werden unterschiedliche Handlungen
vorgenommen.
> > Weitere Fragen sollten wir per PM klaeren, es sei denn, es hat noch
> > jemand Interesse.
> >
> da findet endlich mal eine Nicht-M$-Diskussion statt und die
> willst du den anderen gleich wieder vorenthalten :-)))
Nein, ich wollte nur nicht, dass andere (nichtinteressierte) belaestigt
werden.
Also wenn es von allgemeinem Interesse ist, packe ich mal mein
Installationsprotokoll mit heran.
--
Mit freundlichen Gruessen
Thoralf Freitag, Systemmanagement
----------------------------------------------------------------------
Fraunhofer-Institut fuer Software- und Systemtechnik (ISST)
----------------------------------------------------------------------
Thoralf Freitag | Telefon : 030/24306-123
System Support | Telefax : 030/24306-599
Mollstr. 1 | E-Mail : Thoralf.Freitag at isst.fhg.de
10178 Berlin | DFN-Mail : G=Thoralf;S=Freitag;O=ISST;P=FHG;A=D400;C=de
-------------- nächster Teil --------------
#
# Installation des Dial-In-Zuganges zu pandora +
# Konfiguration des HylaFax-Servers auf pandora
#
# 02.02.1999 TF pandora
#
# Voraussetzung: n: hylafax
# n: mgetty
# n: ppp
kaktus at medusa:~ > telnet pandora
kaktus at pandora:~ > su
Password:
# zuerst das Dial-In:
root at pandora:/home/kaktus > cd /etc/mgetty+sendfax/
root at pandora:/etc/mgetty+sendfax > vi dialin.config
# erlaube Dial-In von ueberall
root at pandora:/etc/mgetty+sendfax > vi login.config
/AutoPPP/ - ppp /usr/sbin/pppd auth file /etc/ppp/options.modem
root at pandora:/etc/mgetty+sendfax > vi mgetty.config
fax-id +49 30 <deine Faxnummer>
speed 115200
port modem
init-chat "" \d\dATZ OK
# data-only y
root at pandora:/etc/mgetty+sendfax > vi /etc/inittab
mo:23:respawn:/usr/sbin/mgetty -s 115200 modem
root at pandora:/etc/mgetty+sendfax > vi /etc/ppp/pap-secrets
# Bei dieser Version von SuSE 6.0 oder pppd muss die lokale IP
# mit angegeben werden
<username> <host> <passwort> <ip des Dial-in>
root at pandora:/etc/mgetty+sendfax > vi /etc/ppp/options.modem
asyncmap 0
lock <lokale ip>:<dial-in ip>
# debug
115200
crtscts
+pap
-chap
root at pandora:/etc/mgetty+sendfax > kill -HUP 1
# nun zum Fax
pandora:/home/kaktus # faxsetup
Should an entry be added to /etc/inetd.conf [no]?
Country code [1]? 49
Area code []? 30
Long distance dialing prefix [1]? 0
International dialing prefix [011]? 00
Dial string rules file (relative to /var/spool/fax) ["etc/dialrules"]?
Tracing during normal server operation [1]? 527
Default tracing during send and receive sessions [0xffffffff]? 527
Continuation cover page (relative to /var/spool/fax) []? etc/cover.templ
Timeout when converting PostScript documents (secs) [180]?
Maximum number of concurrent jobs to a destination [1]?
Define a class of modems []? "any"
Time of day restrictions for outbound jobs ["Any"]?
Pathname of destination controls file (relative to /var/spool/fax) []?
Timeout before purging a stale UUCP lock file (secs) [30]?
Max number of pages to permit in an outbound job [0xffffffff]?
Syslog facility name for ServerTracing messages [daemon]?
Are these ok [yes]?
Should I restart the HylaFAX server processes [yes]?
Do you want to run faxaddmodem to configure a modem [yes]?
Serial port that modem is connected to []? modem
Country code [1]? 49
Area code [415]? 30
Phone number of fax modem [+1.999.555.1212]? +49.30.<deine faxnummer>
Local identification string (for TSI/CIG) ["NothingSetup"]? "<dein Realname>"
Long distance dialing prefix [1]? 0
International dialing prefix [011]? 00
Dial string rules file (relative to /var/spool/fax) [etc/dialrules]?
Tracing during normal server operation [1]? 527
Tracing during send and receive sessions [11]? 527
Protection mode for received facsimile [0600]? 0644
Protection mode for session logs [0600]?
Protection mode for modem [0600]? 0666
Rings to wait before answering [1]? 4
Modem speaker volume [off]? on
Command line arguments to getty program ["-h %l dx_%s"]? "-r -b -s %s %l"
Pathname of TSI access control list file (relative to /var/spool/fax) [""]?
Pathname of Caller-ID access control list file (relative to /var/spool/fax) [""]
?
Tag line font file (relative to /var/spool/fax) [etc/lutRS18.pcf]?
Tag line format string ["From %%l|%c|Page %%p of %%t"]?
Time before purging a stale UUCP lock file (secs) [30]?
Hold UUCP lockfile during inbound data calls [Yes]?
Hold UUCP lockfile during inbound voice calls [Yes]?
Percent good lines to accept during copy quality checking [95]?
Max consecutive bad lines to accept during copy quality checking [5]?
Max number of pages to accept in a received facsimile [25]? 9999999
Syslog facility name for ServerTracing messages [daemon]?
Set UID to 0 to manipulate CLOCAL [""]?
Are these ok [yes]?
how should it be configured [2]?
DTE-DCE flow control scheme [default]?
Are these ok [yes]?
Are these ok [yes]?
Do you want to run faxaddmodem to configure another modem [yes]? no
Should I run faxmodem for each configured modem [yes]?
# so und jetzt wird mgetty mit HylaFAX verknuepft
root at pandora:/home/kaktus > vi /etc/mgetty+sendfax/mgetty.config
port modem
# init-chat "" \d\dATZ OK
# data-only y
direct y
toggle-dtr n
root at pandora:/home/kaktus > vi /etc/inittab
# mo:23:respawn:/usr/sbin/mgetty -s 115200 modem
mo:23:respawn:/usr/lib/fax/faxgetty /dev/modem
root at pandora:/home/kaktus > kill -HUP 1
root at pandora:/home/kaktus > vi /etc/rc.config
START_HYLAFAX=yes
root at pandora:/home/kaktus > cd /var/spool/fax/etc
root at pandora:/var/spool/fax/etc > vi hosts
.*\.dott\.de$
root at pandora:/var/spool/fax/etc > vi config.modem
RingsBeforeAnswer: 4
SpeakerVolume: High
ModemRate: 115200
# je nach Modem kann hier das Kommando verschieden aussehen
# in meinem Fall ist es ein Rockwell-Chip auf einem NoName
# Modem von Pearl
ModemSetupAACmd: AT+FCLASS=0+FAA=1
# und jetzt verschicke den ankommenden Kram per eMail
#
root at pandora:/var/spool/fax/etc > vi FaxDispatch
#case "$SENDER" in
#*) SENDTO=kaktus at dott.de;; # verschicke alles an kaktus
#esac
SENDTO=kaktus at dott.de
root at pandora:/var/spool/fax/etc > /sbin/init.d/hylafax stop
root at pandora:/var/spool/fax/etc > /sbin/init.d/hylafax start
# ich will nicht aufraeumen, daher:
root at pandora:/var/spool/fax/etc > vi /etc/crontab
# 0 * * * * root test -x /usr/sbin/faxqclean && /usr/sbin/faxqclean
# 25 23 * * * root test -e /usr/sbin/faxcron && sh /usr/sbin/faxcron | mail FaxMaster
Mehr Informationen über die Mailingliste linux-l