메뉴 건너뛰기

kalmason

White Paper

Please understand my incorrect and poor korean expression

조회 수 272 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

FaxModem Linux CentOS6 / HylaFax 설치 / source로 설치

 

usb to rs232 연결상태 확인

dmesg | grep tty
console [tty0] enabled
usb 2-3: ch341-uart converter now attached to ttyUSB0
 

screen /dev/ttyUSB0 9600   모뎀이 연결 되어 있다면 AT 명령을 내려본다.

at

ok

 

빠져나오기

ctl a

ctl d

 


하이라fax 설치 <root에서 설치할것>

ftp://ftp.hylafax.org/source/ 소스를 받아서 할것..

tar xvfz hylafax-6.0.6.tar.gz

./configure (use all of the defaults)
make
make install

[root@LOGiMASON lib]# /usr/local/sbin/faxsetup

Setup program for HylaFAX (tm) 6.0.6.

Created for x86_64-unknown-linux-gnu on Wed Jul 15 16:08:35 KST 2015.

....

....

....

엔터누르면 안넘어가면 글짜쓰고,,그러다가...

faxmodem port 넣으라고 나오면 ttyUSB0 넣는다. 그러면 모뎀check하고 ok 떨어지면 설정완료,,,

....

....

마구 엔터누르다가... 아래글 만나면 no 하세요.. 습관적으로 엔터누르면 다시 설정합니다..ㅋㅋㅋ

 

Do you want to run faxaddmodem to configure another modem [yes]? no
 

Should I run faxmodem for each configured modem [yes]?
/usr/local/sbin/faxmodem ttyUSB0
 

- 끝 -


vi /etc/rc.d/rc.local 안에 아래 내용추가 "MSdos의 autoexe.bat와 비슷"

/usr/local/sbin/faxmodem ttyUSB0
/usr/local/sbin/hylafax start

/usr/local/sbin/faxgetty -D /dev/ttyUSB0
 


서버 리부팅

 

받은 fax는 /var/spool/hylafax/recvq
fax수신번호는 /var/spool/hylafax/recvq/seqf 에 있습니다. text로 번호를 매긴다. 100이면 다음에 수신되는 fax번호가
fax00000100.tif 가 된다.

 

logimason.com 에서는 이렇게 카피해 놓는다. crontab

 /var/spool/hylafax/recvq/  ->    /var/www/html/faxdata/rx

 /var/spool/hylafax/sendq/  ->    /var/www/html/faxdata/tx

 

 

명령어
telnet을 이용하여 linux서버에 접속한 후 아래명령을 사용하여 fax서버를 제어할수 있습니다.
< fax상태>
faxstat -s(전송 대기 중인 큐내의 팩스를 보여준다)
faxstat -d(전송된 팩스를 보여준다)
faxstat -r(수신된 팩스를 보여준다)

< fax보내기 >
sendfax -n -d 123456 /tmp/test.tif
    fax파일은 tiff파일이면 된다. 단 흑백으로만 tiff파일을 만든다.

< fax삭제 >
faxrm JID번호

<스풀을 청소>
faxclean

<통계보기>
faxcron


  1. mac에서 "xxxxxxx’은(는) 확인되지 않은 개발자가 배포했기 때문에 열 수 없습니다" 라고 나올때

    Views16
    Read More
  2. No Image

    Mac 단축키

    CategoryMAC Views68523
    Read More
  3. No Image

    LINUX 백업 복구방법 CENTOS5.X 제로보드xe사용시

    CategoryLINUX Views23
    Read More
  4. No Image

    LINUX CENTOS8 APM설치 Apache, PHP, MySQL

    CategoryLINUX Views359
    Read More
  5. HylaFax 설치 linux CentOS7.0에서 yum 을 통한 설치 3bon USB modem 사용

    CategoryLINUX Views1446
    Read More
  6. No Image

    FaxModem Linux CentOS6 / HylaFax 설치 / source로 설치

    Views272
    Read More
  7. dp pin define [display port]

    Views306
    Read More
  8. citizen at8110 설정방법 시티즌 시계 at8110

    Views199
    Read More
  9. Centos7 APM 아파치서버, php, 마리아db(mysql대신) , phpadmin 등등.... 

    Views172
    Read More
  10. centos 트래픽 서버 만들기 (darkstat)

    CategoryLINUX Views67
    Read More
  11. Centos Linux 를 MSwindows나 MAC에서 원격데스크탑으로 보기 (XRDP,RDC,REMOTE DESKTOP CONNECT)

    CategoryLINUX Views429
    Read More
  12. Centos Linux 를 MSwindows나 MAC에서 원격데스크탑으로 보기 (XRDP,RDC,REMOTE DESK

    Views117
    Read More
  13. No Image

    500 oops: vsftpd: refusing to run with writable root inside chroot()..FTP

    CategoryLINUX Views1649
    Read More
  14. 3D CAD fusion360 CAM에 originalmind CNC 등록하기

    CategoryETC Views56
    Read More
Board Pagination Prev 1 2 3 Next
/ 3