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] Initializing modem problem



 
Hello,

thanks for anwsering :)

I checked the things you mentioned:

> is /dev/ttyS1 writeable to hylafax ? (user and group uucp)
No it wasn't. I remember changing it and changed it again, but after about 1
minute it reverts to 

# ls -la /dev/ttyS1
crw-------  1 uucp uucp 4, 65 Aug  8 16:15 /dev/ttyS1

I changed it to rw for the group too (fax is in the uucp groups) but it
reverts automatically.

> did you do a: faxaddmodem ttyS1 ?
Yes, that worked as far as I can see. E.g.:
#faxstat
HylaFAX scheduler on brussels.serono.be: Running
Modem ttyS1 (+32 2 4817589): Initializing server (sometimes it says someh

> Did you try to connect to the modem with minicom /dev/ttyS1 or cu -l
/dev/ttyS1
Yes, and both worked.

So I guess you pointed me in the right direction for the ownership stuff on
/dev/ttyS1 .
I looked around a bit myself but I do not know what process or script
reverts the settings to crw------ again, any suggestion?

thank you!
jonas





-----Original Message-----
From: Matthias Reich [mailto:rei@xxxxxxxx] 
Sent: maandag 8 augustus 2005 16:04
To: Jonas Marien
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] Initializing modem problem

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 8. August 2005 11:15 schrieb Jonas Marien:
> Hello,
>
> I have a few problems with setting up a Hylafax fax server for 
> outgoing fax sending.
>
> Some details:
> SuSE 9.2 pro
> Hylafax 4.2.0 from SuSE package (latest version from updates).
> Modem: US Robotics Speedster
>
> I tried without and with faxgetty, but no success so far. There seems 
> to be an 'initialization error'.
>
> I receive the " modem on /dev/ttyS1 appears wedged" message and this 
> is a part of the log:
>
> Aug  8 10:39:30 brussels FaxGetty[23440]: OPEN /dev/ttyS1  HylaFAX 
> (tm) Version 4.2.0 Aug  8 10:39:30 brussels FaxQueuer[23363]: NOTIFY 
> exit status: 0 (23439) Aug  8 10:39:31 brussels FaxGetty[23440]: DELAY 
> 75 ms Aug  8 10:39:31 brussels FaxGetty[23440]: DELAY 2600 ms Aug  8 
> 10:39:35 brussels FaxGetty[23440]: DELAY 10 ms Aug  8 10:39:35 
> brussels FaxGetty[23440]: <-- [4:ATZ\r] Aug  8 10:40:05 brussels 
> FaxGetty[23440]: MODEM <Timeout> Aug  8 10:40:05 brussels 
> FaxGetty[23440]: DELAY 75 ms Aug  8 10:40:05 brussels FaxGetty[23440]: 
> DELAY 2600 ms Aug  8 10:40:08 brussels FaxGetty[23440]: DELAY 10 ms 
> Aug  8 10:40:08 brussels FaxGetty[23440]: <-- [4:ATZ\r] Aug  8 
> 10:40:38 brussels FaxGetty[23440]: MODEM <Timeout> Aug  8 10:40:38 
> brussels FaxGetty[23440]: /dev/ttyS1: Can not initialize modem.
> Aug  8 10:41:09 brussels FaxGetty[23440]: DELAY 75 ms Aug  8 10:41:09 
> brussels FaxGetty[23440]: DELAY 2600 ms Aug  8 10:41:13 brussels 
> FaxGetty[23440]: DELAY 10 ms Aug  8 10:41:13 brussels FaxGetty[23440]: 
> <-- [4:ATZ\r] Aug  8 10:41:43 brussels FaxGetty[23440]: MODEM 
> <Timeout> Aug  8 10:41:43 brussels FaxGetty[23440]: DELAY 75 ms Aug  8 
> 10:41:43 brussels FaxGetty[23440]: DELAY 2600 ms Aug  8 10:41:47 
> brussels FaxGetty[23440]: DELAY 10 ms Aug  8 10:41:47 brussels 
> FaxGetty[23440]: <-- [4:ATZ\r] Aug  8 10:42:17 brussels 
> FaxGetty[23440]: MODEM <Timeout> Aug  8 10:42:48 brussels 
> FaxGetty[23440]: DELAY 75 ms Aug  8 10:42:48 brussels FaxGetty[23440]: 
> DELAY 2600 ms Aug  8 10:42:51 brussels FaxGetty[23440]: DELAY 10 ms 
> Aug  8 10:42:51 brussels FaxGetty[23440]: <-- [4:ATZ\r] Aug  8 
> 10:43:21 brussels FaxGetty[23440]: MODEM <Timeout> Aug  8 10:43:21 
> brussels FaxGetty[23440]: DELAY 75 ms Aug  8 10:43:21 brussels 
> FaxGetty[23440]: DELAY 2600 ms Aug  8 10:43:25 brussels 
> FaxGetty[23440]: DELAY 10 ms Aug  8 10:43:25 brussels FaxGetty[23440]: 
> <-- [4:ATZ\r] Aug  8 10:43:55 brussels FaxGetty[23440]: MODEM 
> <Timeout> Aug  8 10:43:55 brussels FaxGetty[23440]: Unable to setup 
> modem on /dev/ttyS1; giving up after 2 at tempts Aug  8 10:43:55 
> brussels FaxGetty[23440]: CLOSE /dev/ttyS1 Aug  8 10:43:55 brussels 
> FaxQueuer[23363]: MODEM /dev/ttyS1 appears to be wedged Aug  8 
> 10:43:55 brussels FaxQueuer[23363]: MODEM WEDGED: bin/wedged "ttyS1"
> "/dev/ttyS1"
> Aug  8 10:43:55 brussels FaxGetty[23451]: OPEN /dev/ttyS1  HylaFAX 
> (tm) Version 4.2.0 Aug  8 10:43:55 brussels FaxQueuer[23363]: NOTIFY 
> exit status: 0 (23450) Aug  8 10:43:56 brussels FaxQueuer[23363]: QUIT 
> Aug  8 10:43:56 brussels FaxGetty[23451]: DELAY 75 ms Aug  8 10:43:56 
> brussels FaxGetty[23451]: DELAY 2600 ms Aug  8 10:44:00 brussels 
> FaxGetty[23451]: DELAY 10 ms Aug  8 10:44:00 brussels FaxGetty[23451]: 
> <-- [4:ATZ\r]
>
>
> setserial output:
> # setserial -G /dev/ttyS1
> /dev/ttyS1 uart 16550A port 0x02f8 irq 3 baud_base 14400 spd_normal 
> skip_test
>
> I used it with the initially accepted 38400 rate too, I tried the 
> 14400 but also without success.
>
> inittab entry for faxgetty:
> m0:35:respawn:/usr/lib/fax/faxgetty /dev/ttyS1
>
> The line to which te modem is connected functions correct, faxsetup 
> finds the modem type, speed etc and I can call an outside line using 
> the phone port on the modem and an analog phone.
>
> Anyone some suggestions? Help would be highly appreciated.
>
> thank you
> jonas
>
>
> ____________________ HylaFAX(tm) Users Mailing List
_______________________
>   To subscribe/unsubscribe, click 
> http://lists.hylafax.org/cgi-bin/lsg2.cgi
>  On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx <
/dev/null
>   *To learn about commercial HylaFAX(tm) support, mail 
> sales@xxxxxxxxx*
Hi Jonas,

is /dev/ttyS1 writeable to hylafax ? (user and group uucp)

did you do a: faxaddmodem ttyS1 ?

Did you try to connect to the modem with minicom /dev/ttyS1 or cu -l
/dev/ttyS1

- -m

- -- 
HAGOS eG                 phone: +49 711 7880592
Matthias Reich             fax: +49 711 7880535
Industriestr. 62           web: http://www.hagos.de
D-70565 Stuttgart         mail: rei@xxxxxxxx
Germany
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC92ZVcjMVLPQ5oUkRAuh3AJ40Z/2/LnTtsstzjcWZZ9JrHuU76ACfcfuA
KF2M4M9dTRk2hn3uuyfFUsc=
=AXNe
-----END PGP SIGNATURE-----


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions