ieee1394 host대host 연결하여 안정성 있게 data송수신 방법[질

andro000의 이미지

****************************************************
ieee1394 host대host 연결하여 안정성 있게 데이터 송수신 방법에
대해 여쭤보려고 합니다
****************************************************

1. 각각의 임베디드 장비에 ieee1394어댑터를 이용하여 호스트끼리 데이터를 주고
받기 위한 작업을 하고 있습니다. 모듈은 eth1394를 사용하여 서로간의 ip통신을
하려고 하며 데이지 체인으로 연결하여 간단히 socket프로그램(server, client)
을 작성하여 데이터를 주고 받는 것까지 확인했습니다. (잘 연결될 경우)

2. 개발 환경
CPU : PowerPC
kernel : kernel-2.4.20

3. 연결 방법
- 설정)
ifconfig eth1 192.168.0.1 up :: 1번system
ifconfig eth1 192.168.0.2 up :: 2번system
ifconfig eth1 192.168.0.3 up :: 3번system

- 연결)
1번system(ieee1394 어댑터) <----> 2번system(ieee1394 어댑터) <---> 3번system(ieee1394 어댑터)

4. 상황
- 1 ~ 3번중 하나의 장비를 재부팅 시키고 ip를 설정한(eth1로) 다음 데이지체인으로 연결되어 있는
다른장비로 연결을 시도(ping, test program사용)하면 실패

5. 제가 참조한 ieee1394 관련 사이트
- http://www.linux1394.org/ => eth1394내용
- http://www.ietf.org/rfc/rfc2734.txt => rfc2734문서
- http://www.s.netic.de/gfiala/IP_over_1394.html

※ host 대 host로 연결하여 ip로 통신하려고 하니 서로간에 통신이 않되는 경우가 발생하더군요.
각 ieee1394 card는 이상이 없고 eth1도 잘 올라갔는데 서로간에 통신이 않되는 경우에 어떻게 해야 할지?
모르겠습니다. 물론 3대 다 재부팅하고 ip설정후 통신은 가능하지만 중간에 장비하나가 붙을수도 있고.
한대가 빠질수도 있는 상황이라서.....
그 상황마다 재정비하여 통신할 수 있는 방법을 알고 싶습니다.

또 libraw1394라는 app library의 test프로그램(testlibraw)프로그램을 돌려보기는 했으나 이 라이브러리가
host to host에 사용될 수 있는지도 잘 모르겠고.. 사용된다면 어떻게 사용해야하는지도 모르겠네요..

예) ./testlibraw를 돌려보니 데이지체인으로 연결되어 있는 장비 3대의 node정보를 볼 수 있었습니다.

ieee1394로 리눅스나 임베디드에서 "host대host"를 eth1394던지 아님 다른 방법으로 데이터를 주고 받는
작업을 하신분의 조언을 부탁드립니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.