embedded 보드로 telnet 접속이 안됩니다

raphael4의 이미지

pc에서 embedded 타겟보드로 telnet을 연결 하려고 하는데

escape character is '^]'.
connection closed by foreign host

에러를 뿌리면 접속이 안됩니다

busybox 설치 했고 커널은 linux-2.6.x 를 올렸습니다

여기저기 검색해가면서 해보고 있는데 정말 답이 안나오네요

devpts 마운트 했고 inetd.conf 설정도 맞게 해준거 같고

포트도 확인했고 ptyp랑 ttyp도 만들어 줬고

pc에서 telnet 접속할때 netstat -atp 로 확인하면

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 13.197.5.235:23 13.197.5.233:34364 TIME_WAIT -
로 나오더군요

이거 때문에 정말 미춰버리겠습니다

telnetd는 정상적으로 동작 하는거 같은데

왜 안 붙는것인지 도무지 모르겠습니다

조언 부탁드립니다.

런맨의 이미지

PC에서 netstat 확인 메세지가 좀 이해가 안가네요
Local Address : 13.197.5.235:23
Foreign Address : 13.197.5.233:34364
먼가 안 맞는거 같은데요
PC가 클라이언트고 보드가 서버아닌지???

PC에서 다른 서버에 접속 확인 해보시고
보드에서 로컬 텔넷 접속 될되는지 확인해보시고
문제 해결해보시면 될거같아요

인생은 도박이다.

raphael4의 이미지

pc에서 보드로 telnet 접속할때
보드에서 netstat -atp 한다는 말이었습니다
netstat -atp 로 확인하면

tcp 0 0 13.197.5.235:23 13.197.5.233:34364 LISTEN telnetd

였던게

tcp 0 0 13.197.5.235:23 13.197.5.233:34364 TIME_WAIT -

이렇게 된다는 거죠

goforit의 이미지

이것도 확인 한번 해보죠.

target$ iptables --flush

익명 사용자의 이미지

iptables은 설치 하지 않았습니다
설치 해보고 한번 해볼까요?

익명 사용자의 이미지

자답아닌 자답인데
busybox용 telnet 이라 잘 안되는 것으로 스스로 결론 내렸습니다
그래서 그냥 utelnet 컴파일 해서 설치 했고요
설치 결과 잘 사용 됩니다
혹시나 utelnet 데몬으로 실행만 해주면
외부에서도 잘 붙습니다

raphael4의 이미지

중간에
혹시나 utelnet 데몬으로 실행만 해주면
에서 혹시나는 오타입니다 수정 방법을 몰라서...

댓글 달기

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