[Reprinted] How to use Telnet, FTP, and network sharing in WinCE

Source: Internet
Author: User

Wince provides us with powerful network functions. When compiling wince, we can select appropriate components and access the wince file system through telnet or FTP after running wince, you can also share folders with each other. Now you can enter the topic:

1. in wince6.0, open "catalog items view" and select "core OS"> "cebase"> "communication services and networking"-> "servers ", then we will see "FTP server" and "Telnet Server". select these two items and recompile the project.

2. here we will add that our BSP should support network drivers. Your network can be an Ethernet-based Nic or a USB-based device (such as rndis ), or other devices that support the network. You can set a fixed IP address for the device in the registry or use DHCP (if there is a DHCP server in your network ).

3. the mind is a bit messy. here we need to add that it is troublesome to enter the user name and password for each login using telnet and FTP, and add the following registry configuration information to platform. you can log on anonymously in Reg:

[HKEY_LOCAL_MACHINE \ comm \ telnetd]
"Useauthentication" = DWORD: 0

[HKEY_LOCAL_MACHINE \ comm \ ftpd]
"Allowanonymous" = DWORD: 1
"Allowanonymousupload" = DWORD: 1
"Allowanonymousvroots" = DWORD: 1
"Defaultdir" = "\\"
"Isenabled" = DWORD: 1
"Useauthentication" = DWORD: 0

4. After wince is started, if the IP address of Wince is 192.168.0.86, of course, the PC must be in the same network segment as the wince Board. This is a basic network knowledge. If you log on via Telnet, enter: Telnet 192.168.0.86, and you will be able to log on to the board. If you log on through FTP, open explorer on the PC, and enter ftp: // 192.168.0.86 in the address bar.
You can.

The description above should be relatively simple. In short, as long as your BSP has a NIC Driver, you can select Telnet and FTP in wince.

The following describes how to access the shared folder of the PC on the wince side:

To implement this function, we need to add a component in "catalog items view, choose "core OS"> "cebase"> "communication services and networking"> "networking-General"-> "Windows networking API/redirector ", then you can recompile it.

After wince is started, open the command line window on the PC side, then log on to the wince system via Telnet (for example, Telnet 192.168.0.86), and then enter the Dir command, you can see the file directory in wince. You will see a folder named "network ". Then, use the net use command to map the shared folder on the PC to the "network" folder. Example:

Net use a \ Dell-01 \ share/User: Guest

Net use is a command; A is the name of the folder mapped to the local "network" folder; Dell-01 is the computer name; share is the name of the shared folder on the computer ;; /User: Guest indicates the Login User

In this way, we can see all the files in the share folder shared by the PC under \ Network \.

To sum up, we have introduced the use of Telnet and FTP. This is very useful for wince systems that do not have a keyboard, mouse, or display, you can use the net use command on WinCE to map the shared folder of the PC to a local device and perform operations.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.