How to use Telnet, FTP, and network sharing-Windows CE

Source: Internet
Author: User

Wince provides us with powerful network functions, as long as we compile wince,Select an appropriate component, and then we can accessFileSystem, and shared folders, now 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 the two items, and then re-compile the project.

2. Here we add that the BSP should support the network.DriverYour network can be an Ethernet-based network adapter, USB-based devices (such as rndis), or other devices that support the network. You canRegisterSet a fixed IP address for the device in the table, 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. Connect
If you have logged on via Telnet, enter Telnet.
192.168.0.86, you should 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.

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", and then "core"
OS "->" cebase "->" communication services and
Networking "->" networking-General "->" Windows networking
API/redirector ", and then recompile it.

After wince is started, open the command line window on the PC side, and then log on to the wince system via Telnet (for example, Telnet
192.168.0.86), and then enter the Dir command to view the file directory in wince. You will see a folder named "network ". In this case, use net
The use command maps 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 computingHost 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 under 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.