메뉴 건너뛰기

kalmason

White Paper

Please understand my incorrect and poor korean expression

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

단축키

Prev이전 문서

Next다음 문서

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

단축키

Prev이전 문서

Next다음 문서

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

1002255_1.jpg

 

 

 

3bon usb 모뎀을 linux centOS7.0에서 yum을 통해 설치하기 

 

<잡담>

윈도우즈의 펙스서버는 여러 프로그램이 있으나 리눅스에서는 하이라팩스를 주로 사용하게 됩니다.

제가 오래전(centos 5.x)에 USrobotics fax modem을 사용해서 리눅스에 하이라 팩스 서버 어플을 깔고 오래도록 사용한적이 있었습니다.

하지만 리눅스 버전이 올라가면서 하이라팩스의 버전 호환성문제로 애로가 많았었습니다. 

설치시 리눅스커널 의존성에도 문제가 종종있었고, fax수신이 간간히 않되는 경우도 잇었고, 간혹 시리얼포트가 안잡히는 경우도 있어 일반팩스와 하이라팩스을 함께 사용하곤 하였습니다.

그래도 팩스서버가 있으면 원격에서도 팩스문서를 바로 바로 web을 통해 확인이 가능하고, 관고성 팩스로 인한 a4용지의 소모를 맊을수 있는 장점이 있습니다.

 

<설치> 

아래 순서로 설치를 진행하면 됩니다. 

# yum install epel-release -y
# yum update -y
# yum install hylafax wget -y


# faxsetup -server 

 

아래 화면이 나오면 그냥 엔터만 치고 내려갑니다.

 

HylaFAX configuration parameters are:

      [1] Init script starts faxq:    yes

      [2] Init script starts hfaxd:   yes

      [3] Start paging protocol:      no

Are these ok [yes]? 

 

Can I terminate this faxq process (1478) [yes]? 

Should I restart the HylaFAX server processes [yes]? 

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

Serial port that modem is connected to [ttyS0]? ttyACM0  <주2>

 

여기서 부터는 그냥 엔터를 쳐도 되고 해당되는 문자를 입력해도 됩니다. 뀌찮으면 엔터만 치세요..

 

Country code [1]? 

Area code [415]? 

Phone number of fax modem [+1.999.555.1212]? 

Protection mode for received facsimile [0600]? 

Protection mode for session logs [0600]? 

Protection mode for ttyACM0 [0600]? 

Rings to wait before answering [1]? 

Max number of pages to accept in a received facsimile [25]?

 

모뎀 테스터 하는 부분이 나온다 - 자동으로 시험을 합니다.

 

Probing for best speed to talk to modem: 38400 OK

 

계속 엔터를 칩니다.

 

This modem looks to have support for both Class 1 and 2;

how should it be configured [2]? 1

 

아래가 중요합니다. 아래처럼 해야 설치완료됩니다.

 

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

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

Done verifying system setup.

 

-설치완료 -


 

# vi /etc/rc.d/rc.local 안에 아래 내용을 추가 합니다.

/usr/sbin/hylafax start

/usr/sbin/faxgetty -D /dev/ttyACM0

 

서버를 재부팅합니다.

# shutdown -r 0


<주0>

faxmodem 설정파일 위치 : /var/spool/hylafax/etc/config.ttyACM0 

faxmodem 수신데이터위치 : /var/spool/hylafax/recvg/

faxmodem 수신카운터위치 : /var/spool/hylafax/recvq/seqf    << 파일안에 100이라 써놓으면 fax00000100.tif 저장된다.

 

<주1> 사용 명령어

# faxstat -s(전송 대기 중인 큐내의 팩스를 보여준다)
# faxstat -d(전송된 팩스를 보여준다)
# faxstat -r(수신된 팩스를 보여준다)

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

# faxrm JID번호   << 삭제

# faxclean       << 스풀청소

# faxcron        << 통계

 

<주2> faxmodem 연결 상태 확인

# dmesg | grep tty
[    0.000000] console [tty0] enabled
[   16.737316] cdc_acm 2-4.4.4:1.0: ttyACM0: USB ACM device

 

<주3> faxmodem 모뎀 확인[screen 어플로 확인해보기]

# yum install screen      << 설치

# screen /dev/ttyACM0 

at   << 타이핑한다.     

ok   << 리턴되어 돌아옴

 

빠져나오기

ctl ad  

 

<주4> faxmodem 모뎀 확인[minicom 어플로 확인해보기]

# yum install minicom    << 설치

# minicom -s             << 설정... 포트설정해서 위와 같이 at를 타이핑해본다.

 

 

 


  1. 3D CAD fusion360 CAM에 originalmind CNC 등록하기

    CategoryETC Views56
    Read More
  2. Originalmind CNC 컨트롤보드 TRA150(TRA250)제어용 컨트롤프로그램 USBCNC[마하와 비슷] 유저메크로설정방법

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

    CategoryMSWINDOWS Views233
    Read More
  4. 맥북프로 트랙패드 자가 수리(맥북레티나프로15인치) A1398

    CategoryMAC Views33
    Read More
  5. 윈도우즈 자동업데이트 하지 않게 하기..

    CategoryMSWINDOWS Views15
    Read More
  6. 맥 맞춤법 자동수정 없애기 ...

    CategoryMAC Views24
    Read More
  7. HylaFax 설치 linux CentOS7.0에서 yum 을 통한 설치 3bon USB modem 사용

    CategoryLINUX Views1442
    Read More
  8. systemctl 명령어 정리

    CategoryLINUX Views67
    Read More
  9. 제로보드 xe 이상동작할때 완전히 새로설치할때...데이터는보존

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

    Views172
    Read More
  11. 제로보드 섬네일(썸네일) 안보일때

    Views63
    Read More
  12. 제로보드 스케치북 위저드 기능 없애기 , 왼쪽설정아이콘 없애기

    Views30
    Read More
  13. No Image

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

    Views24927
    Read More
  14. 윈도우즈 복원하는 방법 (고스트만들기),

    Views48
    Read More
  15. citizen at8110 설정방법 시티즌 시계 at8110

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

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

    Views16
    Read More
  18. sd 2g이상 포멧하기...

    Views16
    Read More
  19. 라즈베리파이2,라즈베리파이3 speed 시험.

    Views218
    Read More
  20. No Image

    맥북용 어플리케이션

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