FreeBSD Start Guide: Difference between revisions

m Reverted edits by 201.196.142.62 (Talk); changed back to last version by 59.148.252.30
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==FreeBSD Hylafax quick install==
==FreeBSD Hylafax Quick Install==


/usr/ports/print/ghostscript-gnu-nox11
We need to install following ports:
make install
*print/ghostscript9-nox11
*shells/bash
*comms/hylafax


/usr/ports/shells/bash ( Hylafx like bash ? )
make install


/usr/ports/comms/hylafax
cd /usr/ports/print/ghostscript9-nox11
  make install
make install clean
cd /usr/ports/shells/bash
make install clean
cd /usr/ports/comms/hylafax  
  make install clean


(It is better clean it up after install, so it is better be "make install clean".)
==Configuration==
*run hylafax setup:
/usr/local/sbin/faxsetup


In FreeBsd, a easier way is using its package manager like "pkg_add" or "portmaster"
*run modem setup for each modem
It will automatically check and install all necessary ports.
( serial port : COM1=cuau0, COM2=cuau1 )
pkg_add -r hylafax
  /usr/local/sbin/faxaddmodem
 
next run hylafax setup:  
  /usr/local/sbin/faxsetup


run modem setup within faxsetup or run
*connecting whit Modem port
/etc/ttys
adding line:
cuau0  "/usr/local/sbin/faxgetty /dev/cuau0"  dialup  on


(For serial port modem connection, it should start with cuadx, while "x" is 0 or other numbers.)
==Autorun==
  /usr/local/sbin/faxaddmodem 
to make sure the hylafax start with system edit /etc/rc.conf and add:
  hylafax_enable="YES"


You have installed and basic configured hylafax.


Config directory : /var/spool/hylafax/etc
==Information==
*config directory : /var/spool/hylafax/etc <br>
*configuration file for cuau0 modem : config.cuau0


Autostart the hylafax daemon at freebsd 5/6/7.x
==Notes==


It is no need to edit /etc/rc.conf, just
FreeBSD 8.0 [amd64, i386] The uart(4)  driver is now the default driver for serial port devices in favor of the sio(4)  driver. Note that the device nodes have been renamed from /dev/cuadN and /dev/ttydN to /dev/cuauN and /dev/ttyuN.
Copy the hylafax.sh.sample to /usr/local/etc/rc.d/hylafax.sh

Latest revision as of 09:27, 4 January 2016

FreeBSD Hylafax Quick Install

We need to install following ports:

  • print/ghostscript9-nox11
  • shells/bash
  • comms/hylafax


cd /usr/ports/print/ghostscript9-nox11
make install clean

cd /usr/ports/shells/bash 
make install clean

cd /usr/ports/comms/hylafax 
make install clean

Configuration

  • run hylafax setup:
/usr/local/sbin/faxsetup
  • run modem setup for each modem

( serial port : COM1=cuau0, COM2=cuau1 )

/usr/local/sbin/faxaddmodem
  • connecting whit Modem port

/etc/ttys adding line: cuau0 "/usr/local/sbin/faxgetty /dev/cuau0" dialup on

Autorun

to make sure the hylafax start with system edit /etc/rc.conf and add:

hylafax_enable="YES"


Information

  • config directory : /var/spool/hylafax/etc
  • configuration file for cuau0 modem : config.cuau0

Notes

FreeBSD 8.0 [amd64, i386] The uart(4) driver is now the default driver for serial port devices in favor of the sio(4) driver. Note that the device nodes have been renamed from /dev/cuadN and /dev/ttydN to /dev/cuauN and /dev/ttyuN.


This page was last edited on 4 January 2016, at 09:27.