Moxa ioPAC 8500-2-M12-C-T [49/69] Ppp over cellular
![Moxa ioPAC 8020-9-RJ45-C-T [49/69] Ppp over cellular](/views2/1201395/page49/bg31.png)
Moxa C Programmable RTU Controllers Managing Communications
4-12
5. Edit the file /etc/ppp/options and add the following line:
plugin pppoe
6. Add one of the two files: /etc/ppp/options.eth0. The choice depends on which LAN is connected to the
ADSL modem. If you use LAN1 to connect to the ADSL modem, then add /etc/ppp/options.eth0. The file
context is shown below:
Type your username (the one you set in the /etc/ppp/pap-secrets and /etc/ppp/chap-secrets files)
after the “name” option. You may add other options as desired.
7. Set up DNS
If you are using DNS servers supplied by your ISP, edit the file
/etc/resolv.conf by adding the following lines of code:
nameserver ip_addr_of_first_dns_server
nameserver ip_addr_of_second_dns_server
For example:
nameserver 168.95.1.1
nameserver 139.175.10.20
8. Use the following command to create a pppoe connection:
pppd eth0
The eth0 is what is connected to the ADSL modem LAN port. The example above uses LAN1.
9. Type ifconfig ppp0 to check if the connection is OK or has failed. If the connection is OK, you will see
information about the ppp0 setting for the IP address. Use ping to test the IP.
10. If you want to disconnect it, use the kill command to kill the pppd process.
PPP over Cellular
It is recommend to use the callular API in the RTU controller’s Toolchain; however, the pppd also supports
cellular network with following examples,
Create a chat configuration “cellular-cmd” at /etc/ppp/peers
Содержание
- Edition 5 november 2016 1
- Moxa c programmable rtu controllers user s manual 1
- Www moxa com product 1
- Copyright notice 2
- Disclaimer 2
- Moxa c programmable rtu controllers user s manual 2
- Technical support contact information 2
- Trademarks 2
- Www moxa com support 2
- Table of contents 3
- Introduction 5
- Moxa c programmable rtu controllers introduction 6
- Overview 6
- Software architecture 6
- Journaling flash file system jffs2 7
- Moxa c programmable rtu controllers introduction 7
- Available products 8
- Iopac 8020 c series 8
- Moxa c programmable rtu controllers introduction 8
- Software package 8
- Computer 9
- Ethernet interface 9
- Iologik w5348 c series 9
- Iopac 8020 series 9
- Moxa c programmable rtu controllers introduction 9
- Physical characteristics 9
- Power requirements 9
- Product specifications 9
- Serial com1 signals 9
- Serial interface 9
- Cellular 10
- Computer 10
- Environmental limits 10
- Iologik w5348 series 10
- Moxa c programmable rtu controllers introduction 10
- Mtbf mean time between failure 10
- Standards and certifications 10
- Storage 10
- Warranty 10
- Analog input 11
- Digital input 11
- Digital output 11
- Inputs and outputs 11
- Moxa c programmable rtu controllers introduction 11
- Serial communication 11
- Environmental limits 12
- Moxa c programmable rtu controllers introduction 12
- Mtbf mean time between failure 12
- Physical characteristics 12
- Power requirements 12
- Relay output 12
- Standards and certifications 12
- Warranty 12
- Getting started 13
- Correct installation module installation in steps from right to left 14
- I o and communication module installation 14
- Incorrect installation in steps from right to left 14
- Moxa c programmable rtu controllers getting started 14
- Km 2430 dip switch setting 15
- Moxa c programmable rtu controllers getting started 15
- Installing the rtu controller on a din rail 16
- Iopac 8020 c series 16
- Moxa c programmable rtu controllers getting started 16
- Iologik w5348 c series 17
- Moxa c programmable rtu controllers getting started 17
- Removing iopac 8020 c series from the din rail 17
- Grounding the rtu controller 18
- Iologik w5348 series 18
- Iopac 8020 c series 18
- Power terminal block for iologik w5348 c series 18
- Powering on the rtu controller 18
- Attention 19
- Connecting to a serial device 19
- Moxa c programmable rtu controllers getting started 19
- Power terminal block for iopac 8020 c series 19
- Connecting the rtu controller to a pc 20
- Iologik w5348 c series 20
- Iopac 8020 c series 20
- Led indicators 20
- Moxa c programmable rtu controllers getting started 20
- Serial console 20
- Console port for the iologik w5348 c series 21
- Console port for the iopac 8020 c series 21
- Moxa c programmable rtu controllers getting started 21
- Pin assignment for the serial console port 21
- Serial console 21
- Moxa c programmable rtu controllers getting started 22
- Attention 23
- Moxa c programmable rtu controllers getting started 23
- Telnet console 23
- Linux users 24
- Moxa c programmable rtu controllers getting started 24
- Root bee_notebook root ssh 192 68 27 54 the authenticity of host 192 68 27 54 192 68 27 54 can t be established rsa key fingerprint is 8b ee ff 84 41 25 fc cd 2a f2 92 8f cb 1f 6b 2f are you sure you want to continue connection yes no yes_ 24
- Rtuadmin utility 24
- Ssh console 24
- Windows users 24
- Broadcast search 25
- Installing rtuadmin 25
- Main screen overview 25
- Moxa c programmable rtu controllers getting started 25
- Main window 26
- Menu bar 26
- Moxa c programmable rtu controllers getting started 26
- Navigation panel 26
- Quick link 26
- System 26
- Configuring the ethernet interface 27
- Dynamic ip addresses 27
- Modifying network settings via serial console 27
- Static ip addresses 27
- Status bar 27
- Sync rate status 27
- Adding a default gateway 28
- Adding dns settings 28
- Developing procedures 28
- Moxa c programmable rtu controllers getting started 28
- Checking the flash memory space 29
- Compiling hello c 29
- Installing the tool chain linux 29
- Moxa c programmable rtu controllers getting started 29
- Moxa c programmable rtu controllers getting started 30
- Root localhost hello make usr local arm linux bin arm linux gcc o hello release hello c usr local arm linux bin arm linux strip s hello release usr local arm linux bin arm linux gcc ggdb o hello debug hello c root localhost hello _ 30
- Root moxa hello release hello 30
- Uploading and running the hello program 30
- Managing the rtu controllers 31
- Attention 32
- Firmware upgrade and default settings 32
- Moxa c programmable rtu controllers managing the rtu controllers 32
- System version information 32
- Upgrading the firmware 32
- Attention 33
- Enabling and disabling daemons 33
- Loading factory defaults 33
- Moxa c programmable rtu controllers managing the rtu controllers 33
- 68 27 54 putty 34
- Bin sh if f home autoexec sh then home autoexec sh fi add the new daemons or programs starting from the next line home tcps2 release 34
- Moxa c programmable rtu controllers managing the rtu controllers 34
- Root moxa cd etc rc d root moxa etc rc d vi rc local 34
- Root moxa ect rc d rc3 d ls s19nfs common s25nfs user server s99showreadyled s20snmpd s55ssh s24pcmcia s99rmnologin root moxa ect rc d rc3 d ln s home tcps2 s60tcps2 root moxa ect rc d rc3 d ls s19nfs common s25nfs user server s99rmnologin s20snmpd s55ssh s99showreadyled s24pcmcia s60tcps2 root moxa etc rc d rc3 d 34
- Setting the run level 34
- 68 27 54 putty 35
- Adjusting the system time 35
- Moxa c programmable rtu controllers managing the rtu controllers 35
- Root moxa date fri jun 23 23 30 31 cst 2000 root moxa hwclock fri jun 23 23 30 35 2000 0 57748 seconds root moxa date 120910002010 thu dec 9 10 00 00 cst 2010 root moxa hwclock w root moxa date hwclock thu dec 9 10 01 07 cst 2010 thu dec 9 10 01 08 2010 0 33547 seconds root moxa 35
- Setting the time manually 35
- 3 00 putty 36
- Moxa c programmable rtu controllers managing the rtu controllers 36
- Root moxa date hwclock sat jan 1 00 00 36 cst 2000 sat jan 1 00 00 37 2000 0 72941 seconds root moxa ntpdate time stdtion gov tw 9 dec 10 58 53 ntpdate207 step time server 220 30 58 2 offset 155905087 84256 sec root moxa hwclock w root moxa date hwclock thu dec 9 10 59 11 cst 2010 thu dec 9 10 59 12 2010 0 44076 seconds root moxa 36
- Updating the time automatically 36
- Updating the time with ntp client 36
- Executing scheduled commands with cron daemon 37
- Moxa c programmable rtu controllers managing the rtu controllers 37
- Managing communications 38
- 3 00 putty 39
- Disabling the telnet ftp server 39
- Enabling the telnet ftp server 39
- Moxa c programmable rtu controllers managing communications 39
- Root moxa etc cat resolv conf resolv conf this file is the resolver configuration file see resolver 5 nameserver 192 68 6 nameserver 168 5 nameserver 140 15 1 nameserver 140 15 36 0 root moxa etc 39
- Telnet ftp 39
- Iptables 40
- Moxa c programmable rtu controllers managing communications 40
- Moxa c programmable rtu controllers managing communications 41
- Define policy for chain rules 42
- Examples 42
- Moxa c programmable rtu controllers managing communications 42
- Observe and erase chain rules 42
- Append or delete rules 43
- Examples 43
- Moxa c programmable rtu controllers managing communications 43
- Enabling nat at bootup 44
- Moxa c programmable rtu controllers managing communications 44
- Nat example 44
- Connection 45
- Dial up service ppp 45
- Example 1 connecting to a ppp server over a simple dial up 45
- Example 1 connecting to a ppp server over a simple dial up connection 45
- Moxa c programmable rtu controllers managing communications 45
- Moxa c programmable rtu controllers managing communications 46
- Example 2 connecting to a ppp server over a hard wired link 47
- How to check the connection 47
- Moxa c programmable rtu controllers managing communications 47
- Moxa c programmable rtu controllers managing communications 48
- Setting up a machine for incoming ppp connections 48
- Moxa c programmable rtu controllers managing communications 49
- Ppp over cellular 49
- Moxa c programmable rtu controllers managing communications 50
- Nfs network file system 50
- Setting up the rtu controller as an nfs client 50
- Moxa c programmable rtu controllers managing communications 51
- Openvpn 51
- Setup 1 ethernet bridging for private networks on different subnets 51
- Moxa c programmable rtu controllers managing communications 52
- Moxa c programmable rtu controllers managing communications 53
- Moxa c programmable rtu controllers managing communications 54
- Moxa c programmable rtu controllers managing communications 55
- Moxa c programmable rtu controllers managing communications 56
- Setup 2 ethernet bridging for private networks on the same subnet 56
- Setup 3 routed ip 56
- Moxa c programmable rtu controllers managing communications 57
- Tool chains for application development 58
- Installing the linux tool chain 59
- Iopac 8020 iologik w5348 v1 the glibc version must be greater than 2 59
- Iopac 8020 series 59
- Linux tool chain 59
- Moxa c programmable rtu controllers tool chains for application development 59
- Compiling applications 60
- Moxa c programmable rtu controllers tool chains for application development 60
- On line debugging with gdb 60
- Moxa c programmable rtu controllers tool chains for application development 61
- Programmer s guide 62
- C library 63
- Flash memory 63
- Moxa c programmable rtu controllers programmer s guide 63
- Software lock 64
- A system commands 65
- System commands 65
- B module specifications and wiring 67
- Channel 110 vdc digital input module 67
- Channel 24 vdc digital input module 67
- Module specifications and wiring 67
- Channel analog input module 16 bit resolution 68
- Channel digital output module 68
- Moxa c programmable rtu controllers module specifications and wiring 68
- Channel 24 vdc digital input module 69
- Channel analog input module 16 bit resolution 69
- Moxa c programmable rtu controllers module specifications and wiring 69
- Port unmanaged ethernet switch module 69
Похожие устройства
- Moxa ioPAC 8500-2-M12-C-T Руководство разработчика
- Moxa ioPAC 8500-2-M12-C-T Технические характеристики
- Moxa ioPAC 8500-2-M12-C-T Брошюра
- Moxa ioPAC 8500-5-RJ45-C-T Инструкция по эксплуатации
- Moxa ioPAC 8500-5-RJ45-C-T Руководство разработчика
- Moxa ioPAC 8500-5-RJ45-C-T Технические характеристики
- Moxa ioPAC 8500-5-RJ45-C-T Брошюра
- Moxa ioPAC 8500-5-M12-C-T Инструкция по эксплуатации
- Moxa ioPAC 8500-5-M12-C-T Руководство разработчика
- Moxa ioPAC 8500-5-M12-C-T Технические характеристики
- Moxa ioPAC 8500-5-M12-C-T Брошюра
- Moxa ioPAC 8500-9-RJ45-C-T Инструкция по эксплуатации
- Moxa ioPAC 8500-9-RJ45-C-T Руководство разработчика
- Moxa ioPAC 8500-9-RJ45-C-T Технические характеристики
- Moxa ioPAC 8500-9-RJ45-C-T Брошюра
- Moxa ioPAC 8500-9-M12-C-T Инструкция по эксплуатации
- Moxa ioPAC 8500-9-M12-C-T Руководство разработчика
- Moxa ioPAC 8500-9-M12-C-T Технические характеристики
- Moxa ioPAC 8500-9-M12-C-T Брошюра
- Moxa RM-1050-T Инструкция по эксплуатации