wince添加telnet server

 添加如下组件:Core OS | Windows CE devices | Communication Services and Networking | Servers | Telnet Server

       platform.reg中添加如下注册表内容

[HKEY_LOCAL_MACHINE/COMM/TELNETD]

       "IsEnabled"=dword:1  

       "UseAuthentication"=dword:1   

       "UserList"="Tnuser1;Tnuser2"   

       其中:

       "IsEnabled"=dword:1(CE系统启动时开启Telnet服务)

       "UseAuthentication"=dword:1(访问Telnet服务器时需要使用用户名和密码)

       "UserList"="Tnuser1;Tnuser2"(允许访问Telnet服务器的用户列表)

添加Telnet Server组件之后,和其相关的默认注册表设置也会被添加进来,应该是被添加进了servers.reg文件中,我们在platform.reg文件中添加的注册表内容会覆盖这些默认设置。                                                                                                              

默认添加的注册表内容如下

; @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:02,00,00,17,00,00,00,00,00,00,00,00,00,00,00,00

 

; @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"

       测试

       如同测试ftp server一样测试一下telnet server,如图:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值