inittab Faxgetty Hylafax

I have upgraded my Hylafax server to 12.1. Installed Hylafax works fine. But i can’t get the faxgetty to work in the /etc/inittab file.
I have tried : mo:2345:respawn:/usr/lib/fax/faxgetty /dev/ttyS0
mo:35:respawn:/usr/lib/fax/faxgetty /dev/ttyS0
and even: mo:35:respawn:/usr/lib/fax/faxgetty ttyS0
mo:2345:respawn:/usr/lib/fax/faxgetty ttyS0
modem will not respawn after after reboot.

If i run: usr/lib/faxgetty -D ttyS0 Modem works fine until I reboot…

Any ideas?? Never had this problem in the past…

Thanks

On Tue, 27 Mar 2012 03:26:02 +0000, sczlittle wrote:

> I have upgraded my Hylafax server to 12.1. Installed Hylafax works fine.
> But i can’t get the faxgetty to work in the /etc/inittab file.
> I have tried : mo:2345:respawn:/usr/lib/fax/faxgetty /dev/ttyS0
> mo:35:respawn:/usr/lib/fax/faxgetty /dev/ttyS0 and even:
> mo:35:respawn:/usr/lib/fax/faxgetty ttyS0
> mo:2345:respawn:/usr/lib/fax/faxgetty ttyS0 modem will not respawn after
> after reboot.
>
> If i run: usr/lib/faxgetty -D ttyS0 Modem works fine until I
> reboot…
>
> Any ideas?? Never had this problem in the past…

Try switching from systemd to sysvinit. IIRC, systemd doesn’t use the
inittab file, so that would explain why it’s not working if you’re
configured to use systemd (which is the default in 12.1).

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2012-03-27 07:28, Jim Henderson wrote:
> On Tue, 27 Mar 2012 03:26:02 +0000, sczlittle wrote:

>> Any ideas?? Never had this problem in the past…
>
> Try switching from systemd to sysvinit. IIRC, systemd doesn’t use the
> inittab file, so that would explain why it’s not working if you’re
> configured to use systemd (which is the default in 12.1).

And if it works in systemv, please report the issue in Bugzilla. I haven’t
tested this, because my fax is installed in 11.4, not 12.1.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Thanks for the quick reply.
I don’t know how to swich from systemd to sysvinit.( would that eddect anything else i have running on server?)
After I read your reply I tried fowwing a guide here .
I created a file /etc/systemd/system/faxgetty-ttyS0.service
[Unit]
Description=HylaFAX faxgetty for ttyS0

[Service]
User=root
Group=root
Restart=always
RestartSec=30
ExecStart=/usr/lib/fax/faxgetty /dev/ttyS0

[Install]
WantedBy=multi-user.target

Then in terminal I issued ‘systemctl start faxgetty-ttyS0.service’
Modem starts respawns great. reboot and still dead.

Steven

On 2012-03-27 14:46, sczlittle wrote:
> Thanks for the quick reply.
> I don’t know how to swich from systemd to sysvinit.( would that eddect
> anything else i have running on server?)

When it boots, press F5 and select systemv. The change is only for that boot.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Still can’t get the modem to work automatically after reboot.
Does anybody know how get faxgetty to work with systemd (suse 12.1)?
Been looking at a fedora link here.
Would this work for Suse?

Thanks for any input
Steven

On 2012-03-29 05:06, sczlittle wrote:
> Still can’t get the modem to work automatically after reboot.

Ask in the mail list. There are some people that know about systemd that
read there, some times the maintainer.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Figured out cheat fix cheat:

I created a file /etc/systemd/system/faxgetty.service

[Unit]
Description=FaxGetty Start Modem ttyS0
After=getty.target

[Service]
Type=simple
User=root
Group=root
Restart=always
ExecStart=/usr/lib/fax/faxgetty /dev/ttyS0
TimeoutSec=0

[Install]
WantedBy=multi-user.target

Then I setup a cron job at boot it runs systemctl start faxgetty.service

Works perfect

Hi,

How did You do that exactly?

Thank’s

On 2012-08-16 13:06, Zsiraf wrote:
>
> sczlittle;2454063 Wrote:
>>
>>
>> Then I setup a cron job at boot it runs systemctl start
>> faxgetty.service
>>
>> Works perfect

> How did You do that exactly?

A cron job that runs at boot?

For example:


> -@reboot /bin/logger -t marker -p syslog.warn "Booting the system now ======================= " > /dev/null

More in the man page.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

I used webmin to do my cron and more.

comand: systemctl start faxgetty.service

Steve

file:///home/steven/Desktop/xxxxxxx.png

On 2012-08-17 00:16, sczlittle wrote:
>
> [image: file:///home/steven/Desktop/xxxxxxx.png]
>

That’s a file on your computer, we can not see it.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Thought I deleted that post.

http://www.wezellners.com/xxxxxxx.png

On 2012-08-17 17:26, sczlittle wrote:
> Thought I deleted that post.
>
> [image: http://www.wezellners.com/xxxxxxx.png]

It got through via nntp gateway.


Cheers / Saludos,

Carlos E. R.
(from 12.1 “Asparagus” GM (bombadillo))

lol! Little Update.
Built anew Atom D525 server…
Running OpenSuse 12.2

created a file /etc/systemd/system/faxgetty.service

[Unit]
Description=FaxGetty Start Modem ttyS0
After=getty.target

[Service]
Type=simple
User=root
Group=root
Restart=always
ExecStart=/usr/lib/fax/faxgetty /dev/ttyS0
TimeoutSec=0

[Install]
WantedBy=multi-user.target

Then I setup a cron job at boot it runs systemctl start faxgetty.service

lol!Works Perfect.

:slight_smile:
Works with 13.1 perfectly…