메뉴 건너뛰기

kalmason

White Paper

Please understand my incorrect and poor korean expression

조회 수 271 추천 수 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. No Image

    Mac 단축키

    CategoryMAC Views68419
    Read More
  2. No Image

    리눅스 프로세스 수행시간 ps -eo pid,etime,cmd | grep Backup.sh

    Views24932
    Read More
  3. No Image

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

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

    CategoryLINUX Views1442
    Read More
  5. 사이트 자동로그인 만들어 보자 [visual basic script이용]

    Views519
    Read More
  6. No Image

    크롬 오른쪽마우스 해제하기 chrome

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

    CategoryLINUX Views429
    Read More
  8. No Image

    LINUX CENTOS8 APM설치 Apache, PHP, MySQL

    CategoryLINUX Views357
    Read More
  9. No Image

    정전류 다이오드 CLD CRD

    Views339
    Read More
  10. dp pin define [display port]

    Views306
    Read More
  11. No Image

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

    Views271
    Read More
  12. 자전거 림조정 , 자전거휠 조정 ,자전거 휠바란스

    Views258
    Read More
  13. No Image

    맥북용 어플리케이션

    Views250
    Read More
  14. No Image

    MS익스플로러에서 토론 안보이게 하기

    Views244
    Read More
  15. 거버파일을 gcode로 만들어서 pcb기판 만들기 (flatcam)

    CategoryMSWINDOWS Views236
    Read More
  16. No Image

    windows8 강제종료 방법

    Views224
    Read More
  17. 라즈베리파이2,라즈베리파이3 speed 시험.

    Views218
    Read More
  18. No Image

    논문 다운로드

    Views216
    Read More
  19. No Image

    학술지 분류

    Views213
    Read More
  20. No Image

    자동로그인 windows xp windows 7 windows 8

    Views213
    Read More
Board Pagination Prev 1 2 3 Next
/ 3