KUMARULLAL
Guru
- Joined
- Feb 20, 2008
- Messages
- 243
- Reaction score
- 28
Hi All,
I have installed avantfax on raspbx (Raspberry pi)
Please do not attempt to try this on a production raspbx. I claim no responsibility if this breaks your install.
After running the script install-fax, you need to do the following.
Install avantfax.
in the root folder download avantfax
wget http://sourceforge.net/projects/avantfax/files/avantfax-3.3.3.tgz
tar -xvzf avantfax-3.3.3.tgz
cd avantfax-3.3.3
nano debian-prefs.txt
make sure you have these lines in there
# The domain name for configuring email to fax
FAXDOMAIN=fax.mydomain.com (you can insert you FQDN here, but not important)
# The installation directory for AvantFAX
INSTDIR=/var/www/html/avantfax
# The root directory where HylaFAX bin files are stored (typically, /usr or /usr/local)
HYLADIR=/usr/lib
# HylaFAX $SPOOL directory (typically, /var/spool/hylafax or /var/spool/fax)
SPOOL=/var/spool/hylafax
# These are the database settings AvantFAX will create and use
USER=avantfax
PASS=d58fe49
DB=avantfax
# if the MySQL password for root is set, specify it here
ROOTMYSQLPWD=raspberry
# The user and group which Apache runs as (typically, apache, wwwrun, nobody, etc...)
HTTPDUSER=asterisk
HTTPDGROUP=asterisk
The run the avantfax debian install script
./debian-install.sh
After installation is complete, Your apache wont start. You will get an error in apache log.
To fix it,
mkdir /etc/apach2/logs
then creat a file called avantfax-error_log
touch /etc/apache2/logs/avantfax-error_log
Then
/etc/init.d/apache2 restart
You apache will start
cd /var/www/html
check the ownership with group and user on avantfax folder is asterisk recursively. If not, make sure you do that first.
Now log in to http://yourip/avantfax
The default username and password is admin and password.
The firast time you log in, it will ask you to change the admin password
Make sure it more than 8 characters.
Once you log in you are good to go. You can send a test fax by clicking send fax.
You can add more users to be able to connect to avantfax and send faxes directly form their desktop using the winfax client.
However, the quality of faxes is not too good, but acceptable.
This is where I had problems.
Ward if you can throw some light on this.
This is what I did.
I install the deb package form webmin site
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.670_all.deb
dpkg --install webmin_1.670_all.deb
It will complain about dependencies.
To fix this do the following/
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
Finally do this
apt-get -f install
To be on the safer side just reboot.
Once you reboot.
go to https://yourip:10000 (https, not http)
Log in click on webmin->webmin configuration->webmin module.
upload the hylafax webmin module ( download the attachment that I have in this post to your local pc and select that file)
CLick install.
This will install the hylafax webmin module.
Then in webmin select servers->Hylafax server->configuration->General Options
Select the vertical resolution to high (This breaks my fax deliveries. I need help here)
Please suggest what is needed?
Regards
I have installed avantfax on raspbx (Raspberry pi)
Please do not attempt to try this on a production raspbx. I claim no responsibility if this breaks your install.
After running the script install-fax, you need to do the following.
Install avantfax.
in the root folder download avantfax
wget http://sourceforge.net/projects/avantfax/files/avantfax-3.3.3.tgz
tar -xvzf avantfax-3.3.3.tgz
cd avantfax-3.3.3
nano debian-prefs.txt
make sure you have these lines in there
# The domain name for configuring email to fax
FAXDOMAIN=fax.mydomain.com (you can insert you FQDN here, but not important)
# The installation directory for AvantFAX
INSTDIR=/var/www/html/avantfax
# The root directory where HylaFAX bin files are stored (typically, /usr or /usr/local)
HYLADIR=/usr/lib
# HylaFAX $SPOOL directory (typically, /var/spool/hylafax or /var/spool/fax)
SPOOL=/var/spool/hylafax
# These are the database settings AvantFAX will create and use
USER=avantfax
PASS=d58fe49
DB=avantfax
# if the MySQL password for root is set, specify it here
ROOTMYSQLPWD=raspberry
# The user and group which Apache runs as (typically, apache, wwwrun, nobody, etc...)
HTTPDUSER=asterisk
HTTPDGROUP=asterisk
The run the avantfax debian install script
./debian-install.sh
After installation is complete, Your apache wont start. You will get an error in apache log.
To fix it,
mkdir /etc/apach2/logs
then creat a file called avantfax-error_log
touch /etc/apache2/logs/avantfax-error_log
Then
/etc/init.d/apache2 restart
You apache will start
cd /var/www/html
check the ownership with group and user on avantfax folder is asterisk recursively. If not, make sure you do that first.
Now log in to http://yourip/avantfax
The default username and password is admin and password.
The firast time you log in, it will ask you to change the admin password
Make sure it more than 8 characters.
Once you log in you are good to go. You can send a test fax by clicking send fax.
You can add more users to be able to connect to avantfax and send faxes directly form their desktop using the winfax client.
However, the quality of faxes is not too good, but acceptable.
This is where I had problems.
Ward if you can throw some light on this.
This is what I did.
I install the deb package form webmin site
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.670_all.deb
dpkg --install webmin_1.670_all.deb
It will complain about dependencies.
To fix this do the following/
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
Finally do this
apt-get -f install
To be on the safer side just reboot.
Once you reboot.
go to https://yourip:10000 (https, not http)
Log in click on webmin->webmin configuration->webmin module.
upload the hylafax webmin module ( download the attachment that I have in this post to your local pc and select that file)
CLick install.
This will install the hylafax webmin module.
Then in webmin select servers->Hylafax server->configuration->General Options
Select the vertical resolution to high (This breaks my fax deliveries. I need help here)
Please suggest what is needed?
Regards