Four letter DTU and peanut Shell configuration Application
in industry or industrial control monitoring management, mainly wireless remote monitoring, and everyone in the common use ofDTUor industrial routers and other wireless digital transmission equipment. Especially in the DTU fixed IP use some problems, here we pass the DTU and peanut shell configuration should be used to solveIPchange or IP address non-public networkproblem.
Equipment
1Four Letter dtu (F2103 or F2114 or F2116)
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/CA/wKioL1d8on6hKjvVAAAfDIRRv-s735.png "style=" float: none; "title=" 1.png "alt=" Wkiol1d8on6hkjvvaaafdirrv-s735.png "/>
2. Peanut Shell
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/83/CC/wKiom1d8on7B-WZoAAA01aNUJXI449.png "title=" 2.png " Style= "Float:none;" alt= "Wkiom1d8on7b-wzoaaa01anujxi449.png"/>
Analysis:
Why use peanut shell software master, mainly in the DTU configuration need to bind an IP address and port, used to find the IP address of the computer, and it for data exchange. If you have static external network IP conditions, you can directly bind the static extranet IP address.
Ifdoes not have a static external network IPconditions, (generally we now most of the users are to take the form of ADSL dial to surf the Internet, and the IP is dynamically allocated, so after the routing power outage, our external network IP will be changed. If the DTU is bound to a dynamic external network IP, then the router power off, after the network IP changes, with the DTU bound IP is not set, the DTU can not find the original computer. To solve this problem, we can use dynamic Domain name resolution to bind the domain name inside the DTU. The domain name is fixed, and the domain name is bound together with the IP, even if the external network IP changes, through the dynamic Domain name resolution, this domain name can always find you this machine, here will need to use the peanut shell software such as
Steps
1.Peanut Shell Configuration
(1)Register a peanut Shell account (will bring a two-level or three-level domain name)
(2) Download a peanut Shell client
(3) then log in the peanut shell client to the peanut shell configuration,
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/83/CA/wKioL1d8on-SX5UGAAA01aNUJXI076.png "title=" 3.png " Style= "Float:none;" alt= "Wkiol1d8on-sx5ugaaa01anujxi076.png"/>
(4) Intranet mapping configuration, in the peanut shell has provided this one function (there is flow limit), you can also use the router configuration
Example: 650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/83/CC/wKiom1d8on_gljGMAAA66MjGXRk918.png "title=" 4. PNG "style=" Float:none; "alt=" Wkiom1d8on_gljgmaaa66mjgxrk918.png "/>Note: Now the new peanut shell a lot of features are charged, and the money is recommended to buy an enterprise version. Of course, the personal version is also available.
2.DTUConfiguration
(1)Open Four-letter DTU configuration software IP Modem configue
As shown in the following:
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/83/CA/wKioL1d8on-hpSA-AABRH1Tb-k8358.png "title=" 5.png " Style= "Float:none;" alt= "Wkiol1d8on-hpsa-aabrh1tb-k8358.png"/>
1 Industrial status Switch to "configuration status"
2. Select the COM port that the PC is working on, the baud rate is out of bowel 115200, no calibration
(2). DTUand the computer through the serial port, and to power the device,
650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M01/83/CA/wKioL1d8on-S_1mqAADHBFqnwIw076.jpg "title=" 6.jpg " Style= "Float:none;" alt= "wkiol1d8on-s_1mqaadhbfqnwiw076.jpg"/>
Configure Central server parameters: Fill in the correct address and port at primary hub address + port and Backup center address + port respectively.
Note: If you are building only one data center, the primary and standby addresses and ports must be set to be the same.
(3)can fill out the network IP address + port
2. You can also fill in the Domain name + port
3. If the machine is in the LAN, using the intranet IP, you need to set up a router, to your machine map a port. When the DTU finds the IP address of the external network, the router then transmits the data to the corresponding machine on the intranet via port mapping. So the DTU will be able to exchange data with the intranet.
The port mapping method is as follows:
650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M02/83/CA/wKioL1d8ooDCis7KAAB5WHIkrtg146.jpg "title=" 7.jpg " Style= "Float:none;" alt= "wkiol1d8oodcis7kaab5whikrtg146.jpg"/>
Click Forward Rules, select the virtual server, select Add new entry, the following window appears:
650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M01/83/CC/wKiom1d8ooDhPM4sAACNtDMNYiU616.jpg "title=" 8.jpg " Style= "Float:none;" alt= "wkiom1d8oodhpm4saacntdmnyiu616.jpg"/>
Enter the port number to be mapped, and the IP address of the intranet to which you want to map. Click Save to complete the settings. For example: The service port is: 10000,ip address is 192.168.1.7. The router's 10000 port and the intranet IP address of the 192.168.1.7 10000 port corresponding.
For example, we are using dynamic external network IP address, intranet, the binding domain name is mengchy.vicp.net, route map to this machine port is 10000. Then fill in the "Main center address + port" of the DTU: Mengchy.vicp.net, the port fills in 10000, after the set up is saved. :
650) this.width=650; "src=" http://s5.51cto.com/wyfs02/M02/83/CA/wKioL1d8ooDi1Iy9AAFEWAqmmfo839.jpg "title=" 9.jpg " Style= "Float:none;" alt= "wkiol1d8oodi1iy9aafewaqmmfo839.jpg"/>
To this DTU and server data to achieve fixed address communication configuration complete
650) this.width=650; "src=" http://s1.51cto.com/wyfs02/M02/83/CC/wKiom1d8ooHj82CvAACTHJRePWk380.jpg "title=" 10.jpg "Style=" Float:none; "alt=" wkiom1d8oohj82cvaacthjrepwk380.jpg "/>
This article is from the "10170833" blog, please be sure to keep this source http://10180833.blog.51cto.com/10170833/1806413
Intranet version of Peanut Shell to solve the problem of no public network IP, combined with four-letter DTU use