FreeBSD Start Guide: Difference between revisions

Markos151 (talk | contribs)
mNo edit summary
 
(11 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:
*print/ghostscript9-nox11
*shells/bash
*comms/hylafax
 
 
cd /usr/ports/print/ghostscript9-nox11
make install clean
cd /usr/ports/shells/bash
  make install clean
  make install clean
 
/usr/ports/shells/bash ( Hylafx like bash ? )
cd /usr/ports/comms/hylafax
  make install clean
  make install clean


/usr/ports/comms/hylafax
==Configuration==
make install clen
*run hylafax setup:
/usr/local/sbin/faxsetup


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


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


run modem setup within faxsetup or run
==Autorun==
to make sure the hylafax start with system edit /etc/rc.conf and add:
hylafax_enable="YES"


(For serial port modem connection, it should start with cuadx, while "x" is 0 or other numbers.)
/usr/local/sbin/faxaddmodem 


You have installed and basic configured hylafax.
==Information==
*config directory : /var/spool/hylafax/etc <br>
*configuration file for cuau0 modem : config.cuau0


Config directory : /var/spool/hylafax/etc
==Notes==


Autostart the hylafax daemon at Freebsd
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.
It is no need to edit /etc/rc.conf, just
  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.