[완료]tftp 업로드 관련 질문입니다.

fensy의 이미지

타겟보드에 있는 로그파일을 pc로 tftp 업로드를 하려고합니다.

헌데 tftp 다운로드 (get)은 되는데

put을 하면 자꾸

tftp: server error: (2) Access violation 에러가 뜹니다.

명령어는 tftp -p -l 123.txt 192.168.1.xx

로 쳤고요..

원래 윈도우상에서 tftp 서버 실행하여 받아오려고 했는데..

이것또한 잘 되지 않아서.. 어쩔수 없이 리눅스 환경에서 하는데도

에러때문에 진행을 못하고 있네요 ..ㅠ

윈도우 tftp서버는 falinux 에서 다운받은 tftp서버를 쓰는데

요놈은 아무것도 켜논게 없는데..

Could not bind socket. Address and Port are already in use 라는 에러메세지를 띠우네요...

깝깝해 죽겠네요 ,,-ㅇ- 조언좀 부탁드립니다..

shint의 이미지

//tftp: server error: (2) Access violation
xinetd가 설치 안되서. 실행되지 않은경우나. conf 설정이 잘못된 경우.
방화벽이 설치 된경우.

http://tenisland.tistory.com/166
http://blog.paran.com/marblea/36907750
http://community.freechal.com/ComService/Activity/EstimBBS/CsBBSContent.asp?GrpId=530688&ObjSeq=8&PageNo=1&DocId=2940184
http://www.cyworld.com/mindy_JAE/3440272
http://kin.naver.com/qna/detail.nhn?d1id=1&dirId=10302&docId=130411199&qb=dGZ0cA==&enc=utf8&section=kin&rank=4&search_sort=0&spq=0&pid=g%2BB9e35Y7thsscKua9ossc--488708&sid=T@j9R37t6E8AAHMCDH0

//Could not bind socket. Address and Port are already in use
포트가 이미 사용중일 경우. 기존 포트를 종료해야 합니다.

----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.

매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.

각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com

익명 사용자의 이미지

이미 전부 다 해본 방법이지만.. 안되네염.. 흠
혹시 윈도우에서 사용중인 포트 제거하는 방법을 어떻게 하는지 아시는지용..
윈도 tftp메세지 같은경우 아무것도 키지않은 상태에서 돌려도 저런 메세지를 띄우는지라..

bushi의 이미지

tftp 는 서버에서 어떤 에러가 발생했는지 "서버가 친히 문자열로 에러메시지를 전송해 줍니다".
"Access violation" 은 리눅스 PC 에서 돌고 있는 tftp 서버가 보내준 문자열입니다.

퍼미션이 맞지 않아 업로드가 안됐을 수도 있고,
기존에 있던 파일을 교체할 수만 있도록 설정됐을 수도 있습니다.
http://linux.die.net/man/8/tftpd

fensy의 이미지

기존 tftp 외에도

$ sudo apt-get install tftp

$ sudo apt-get install tftpd

$ sudo apt-get install tftp-hpa

$ sudo apt-get install tftpd-hpa

요넘들을 다 인스톨 시켜주니 put은 성공 하였습니다!
하지만 문제점이...

tfpt -p -l 123.txt 192.168.1.xxx

했을시..... 서버에 123.txt가 없으면 파일이 없다고 자꾸 에러를 낸다는점 ..ㄱ- ;;

파일을 생성해주면 안에 내용이 정확히 복사가 되는데....

이러면 의미가 없자나!! ㅠㅠ

좀더 삽질 해봐야겠네요 ㅎㅎ

리눅스로는 반쪽 성공을 했는데 ..윈도 tftp서버같은경우에는 당췌 모르겠네여 -ㅇ-

fensy의 이미지

/etc/xinitd.d/tftp
파일에서
server_args 에 -c 옵션만 추가해주면 되었네요 ..ㅎㅎ

ppdha82의 이미지

저도 같은 증상이었는데, 덕분에 잘 해결되었네요. 감솨함돠.

익명 사용자의 이미지

설치는 다했는데
sudo /etc/defalt/tftpd-hpa 해서 수정하거 있자나요...
왜 sudo: /etc/defalt/tftpd-hpa: command not found이렇게 나오고
/etc/defalt/tftpd-hpa 이렇게도 입력해봤는데
bash: /etc/defalt/tftpd-hpa: No such file or directory
이렇게 나오죠?
이거 넘 어려워요 ㅜㅜ책은 구버전이고 프로그램은 12버전같은데 넘 달라요 ㅜㅜ

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.