========================================================== ==================================
Title: Add telnet server to wince
Abstract:
Note: Windows CE 5.0
Date: 2010.5.10
Name: Zhu minglei
========================================================== ==================================
Add the following components: Core OS | Windows CE devices | communication services and networking | servers | Telnet Server
Platform. regAdd the following registry content:
[HKEY_LOCAL_MACHINE/comm/telnetd]
"Isenabled" = DWORD: 1
"Useauthentication" = DWORD: 1
"Userlist" = "tnuser1; tnuser2"
Where:
"Isenabled" = DWORD: 1 (the telnet service is enabled when the CE system starts)
"Useauthentication" = DWORD: 1 (the user name and password are required to access the telnet server)
"Userlist" = "tnuser1; tnuser2" (list of users allowed to access the telnet server)
After the Telnet Server component is added, the default registry settings related to it will also be added, which should be added to servers. in the reg file. the Registry content added to the reg file overwrites these default settings.
The content of the default registry is as follows::
; @ Cesysgen if SERVERS_MODULES_TELNETD
; @ Cesysgen if SERVERS_MODULES_SERVICES
[HKEY_LOCAL_MACHINE/Services/TELNETD/Accept/TCP-23]
; TCP port 23, default telnet port
"Sockaddr" = HEX:, 17
; @ Cesysgen if ce_modules_tcpip6
[HKEY_LOCAL_MACHINE/services/telnetd/accept/TCP-23v6]
; TCP port 23, default telnet port
"Sockaddr" = HEX: 17,00, 00,17, 00,00, 00,00, 00,00, 00,00, 00,00, 00,00, 00,00, 00,00, 00,00, 00,00, 00,00, 00,00
; @ Cesysgen endif ce_modules_tcpip6
[HKEY_LOCAL_MACHINE/services/telnetd]
"Context" = DWORD: 1
"Friendlyname" = "Telnet"
; @ Cesysgen else
[HKEY_LOCAL_MACHINE/Drivers/builtin/telnetd]
; @ Cesysgen endif servers_modules_services
"DLL" = "telnetd. dll"
"Order" = DWORD: 9
"Keep" = dword: 1
"Prefix" = "TEL"
"Index" = dword: 0
; @ Cesysgen endif SERVERS_MODULES_TELNETD
[HKEY_LOCAL_MACHINE/COMM/ConnectionSharing/Servers/Telnet]
"InternalName" = ""
"IsEnabled" = dword: 00000000
"Port" = dword: 00000017
"InternalPort" = dword: 00000017
"Protocol" = "TCP"
Test:
Test the telnet server like the ftp server,