HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
Re: [hylafax-users] Problem with Device locking
Hi all,
thanks for the hints on the device locking.
I tried to setup the modem on ttyS0, but this failed for some reasons. There
seems still to be a problem with the device locking. After the probing of speed
(OK) there seems to be an error coming up in the script (see attached file).
Furthermore, in the /etc/mgetty+sendfax/mgetty.config there is a passage
port ttyS0
direct y
toggle-dtr n
But, If I look into /var/log/messages, it still opens /dev/modem
Any hints?
Thx
Axel
bash-2.03# faxaddmodem
Serial port that modem is connected to []? ttyS0
Ok, time to setup a configuration file for the modem. The manual
page config(4F) 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.
No existing configuration, let's do this from scratch.
Country code [1]? 49
Area code [415]? 211
Phone number of fax modem [+1.999.555.1212]? +49.211.6007008
Local identification string (for TSI/CIG) ["NothingSetup"]? "Dr. Axel K. Braun"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]?
Tracing during send and receive sessions [11]?
Protection mode for received facsimile [0600]? 0644
Protection mode for session logs [0600]? 0644
Protection mode for ttyS0 [0600]?
Rings to wait before answering [1]?
Modem speaker volume [off]?
Command line arguments to getty program ["-h %l dx_%s"]?
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]?
Syslog facility name for ServerTracing messages [daemon]?
Set UID to 0 to manipulate CLOCAL [""]?
Your facsimile phone number (+49.211.6007008) does not agree with your
country code (49) or area code (211). The number
should be a fully qualified international dialing number of the form:
+49 211 <local phone number>
Spaces, hyphens, and periods can be included for legibility. For example,
+49.211.555.1212
is a possible phone number (using your country and area codes).
The non-default server configuration parameters are:
CountryCode: 49
AreaCode: 211
FAXNumber: +49.211.6007008
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
SessionTracing: 11
RecvFileMode: 0644
LogFileMode: 0644
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "Dr. Axel K. Braun"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%p of %%t"
MaxRecvPages: 25
Are these ok [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.
/bin/stty: Standardeingabe: unable to perform all requested operations
[1]+ Beendet ( trap 0 1 2 15; while true; do
sleep 10; echo ""; echo "Hmm, something seems to be hung, check your modem e
h?";
done )
There was no response from the modem. Perhaps the modem is
when you are ready to try again: /bin/stty: Standardeingabe: unable to perform all requested operations
[1]+ Beendet ( trap 0 1 2 15; while true; do
sleep 10; echo ""; echo "Hmm, something seems to be hung, check your modem eh?";
done )
There was no response from the modem. Perhaps the modem is
turned off or the cable between the modem and host is not
connected. Please check the modem and hit a carriage return
when you are ready to try again:
/bin/stty: Standardeingabe: unable to perform all requested operations
[1]+ Beendet ( trap 0 1 2 15; while true; do
sleep 10; echo ""; echo "Hmm, something seems to be hung, check your modem eh?";
done )
There was no response from the modem. Perhaps the modem is
turned off or the cable between the modem and host is not
connected. Please check the modem and hit a carriage return
when you are ready to try again: bash-2.03#
bash-2.03#