Personal tools
HylaFAX The world's most advanced open source fax server

Difference between revisions of "FreeBSD Start Guide"

(FreeBSD Hylafax quick install)
(Configuration)
 
(13 intermediate revisions by 5 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:  
In FreeBsd, a easier way is using its package manager like "pkg_add" or "portmaster"
 
It will automatically check and install all necessary ports.
 
pkg_add -r hylafax
 
 
 
next run hylafax setup:  
 
 
  /usr/local/sbin/faxsetup
 
  /usr/local/sbin/faxsetup
  
run modem setup within faxsetup or run
+
*run modem setup for each modem
 +
( serial port : COM1=cuau0, COM2=cuau1 )
 +
/usr/local/sbin/faxaddmodem
  
(For serial port modem connection, it should start with cuadx, while "x" is 0 or other numbers.)
+
*connecting whit Modem port
/usr/local/sbin/faxaddmodem  
+
/etc/ttys
 +
adding line:
 +
cuau0  "/usr/local/sbin/faxgetty /dev/cuau0"  dialup on
  
You have installed and basic configured hylafax.
+
==Autorun==
 +
to make sure the hylafax start with system edit /etc/rc.conf and add:
 +
hylafax_enable="YES"
  
Config directory : /var/spool/hylafax/etc
 
  
Autostart the hylafax daemon at freebsd 5/6/7.x
+
==Information==
 +
*config directory : /var/spool/hylafax/etc <br>
 +
*configuration file for cuau0 modem : config.cuau0
  
It is no need to edit /etc/rc.conf, just
+
==Notes==
Copy the hylafax.sh.sample to /usr/local/etc/rc.d/hylafax.sh
 
  
mamaron...
+
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.

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.

Powered by MediaWiki
Attribution-ShareAlike 2.5

Project hosted by iFAX Solutions