---
title: "W5100사용중 telnet 접속시 이상현상이 있어 문의드립니다"
url: "https://maker.wiznet.io/forum/10051"
markdown_url: "https://maker.wiznet.io/forum/10051/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "Gyanyoo"
created: "2014-03-17T01:50:37+09:00"
last_activity: "2017-05-04T08:31:59+09:00"
language: "ko"
views: 527
replies: 1
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# W5100사용중 telnet 접속시 이상현상이 있어 문의드립니다

## Question

Asked by Gyanyoo on 2014-03-17 in Ethernet Chips.

귀사의 W5100을 사용하고 있습니다.
W5100 4개의 소켓중 1개는 텔넷으로 이용하고 3개는 TCP Server Mode로 사용중입니다.
Telnet 접속시 이상현상이 생겨 문의 드립니다.
Telnet에서 Mac, IP, Gateway, Subnet을 표시해주는 함수를 불러올 때 가끔 아래와 같은 메세지가 표시 됩니다.

///////////////////////////////////////////////////////////////////////////
void display_netconf_Telnet(NETCONF* pNetConf)
{
u_int i;
fsprintf(CTRL_SOCK,“\r\nMAC Addr : “);
for(i=0; i&lt;5;i++) fsprintf(CTRL_SOCK,”%02X.”,pNetConf->mac[i]);
fsprintf(CTRL_SOCK,“%02X”,pNetConf->mac[i]);
fsprintf(CTRL_SOCK,“\r\nSource IP : %s”,inet_ntoa(ntohl(pNetConf->sip)));
fsprintf(CTRL_SOCK,“\r\nGateway IP : %s”,inet_ntoa(ntohl(pNetConf->gwip)));
fsprintf(CTRL_SOCK,“\r\nSubnet Mask : %s\r\n”,inet_ntoa(ntohl(pNetConf->sn)));
}

///////////////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////
host= HTTP/1.0
Host: xx.xx.xx.xx : 5000
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Content-Type: ?plt: xx.xx.xx.xx:5000
////////////////////////////////////////////////////////////
이와 같은 현상이 있었거나 원인을 알고 계시면 도움 감사히 받겠습니다.

수고하십시요.

## Replies

### Reply 1 by jbkim, 2014-03-17

host= HTTP/1.0
Host: xx.xx.xx.xx : 5000
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Content-Type: ?plt: xx.xx.xx.xx:5000

위 메시지는 display_netconf_Telnet 함수에서 출력을 한 것이 아니고, HTTP 접속에 의한 메시지 같습니다.
혹시 외부에서 텔넷이 아닌 http접속을 하는지 확인 바랍니다.

---

Source: https://maker.wiznet.io/forum/10051
