TFTP때문에 머리가 아프네요 :-(

vanessa의 이미지

시스코 ios를 백업하려고 하는데 이노무 tftp가 말을 안듣네요.

tftp설정은 기본 설정에 disable만 no로 해줬습니다.

udp 69번 열려있는 것 확인했구요. 파일 다운로드도 됩니다.

그런데 업로드가 안되네요. 어떨 땐 퍼미션 오류가 나더니 대부분은 No such file or directory 라고만 뜹니다..

(스위치 상에서도 마찬가지...)

혹시나 해서 tftpboot 폴더 퍼미션도 바꿔보고 소유권도 nobody로도 바꿔봤구요..

리눅스 머신도 다른녀석으로도 해봤는데도 동일한 오류만 뜨네요..

스위치 access-list도 없고 selinux도 disabled상태이고 방화벽도 off...

도와주세요 T_T....

slc1의 이미지

백업하려는 파일이름을 tftp서버에 생성해보세요..
동일한 이름의 파일이 tftp서버에 everyone read/write 가능해야 전송 되는 tftp도 있더군요.

원래 그렇게 규약이 되어있는지는 모르겠습니다..

아무튼 동일한 파일이름이 rw-rw-rw-로 있어야 된 적이 있어서 몇 자 적습니다..

touch filename ; chmod a+rw filename

쩝..

도움이 될란지 모르겠군요..

soulmate8700의 이미지

검색하다보니 이곳 까지 오게되었습니다.
동일한 파일 생성 없이 백업받으려면 어떻게 해야할까요?
slc1님 말씀대로 동일한 파일 만든 후 권한 변경 후 백업받으니 잘 됩니다
tftp에 -c 옵션 넣어도 계속 에러 발쌩이네요

TFTP: error code 1 received - 18025

%Error opening tftp://xxx.xxx.xxx.xxx/rr1 (No such file or directory)

bushi의 이미지

출처: man://tftpd

       -c     Allow  new  files  to  be  created.  By default, tftpd will only
              allow upload of files that already  exist.   Files  are  created
              with  default permissions allowing anyone to read or write them,
              unless the -p or -U options are specified.

첨언하자면, xined.d/tftp 의 server_args 에 옵션을 적어주시면 됩니다.
vanessa의 이미지

slc1님 정말 감사드립니다.

잘 되네요...

XD~

댓글 달기

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