Moxa UC-7110-LX [31/46] Configuring pppoe
![Moxa UC-7122-T-CE [31/46] Configuring pppoe](/views2/1199633/page31/bg1f.png)
UC-7101/7110/7112 Software User’s Manual Configuring UC-7101/7110/7112
4-9
Configuring PPPoE
PPPoE relies on two widely accepted standards: PPP and Ethernet, which permit the use of
PPPoE(Point-to-Point Over Ethernet).
PPPoE is a specification for connecting users on an Ethernet to the Internet through a common
broadband medium, such as a single DSL line, wireless device or cable modem, used by many
ADSL service providers. All users on the Ethernet share a common connection, so the Ethernet
principles that support multiple users on a LAN combine with the PPP principles, which apply to
serial connections.
Create the Connection:
/>pppd pty “pppoe -I <ETHERNET_INTERFACE> -m 1412” user <USER_NAME> password
<USER_PASSWORD>&
<ETHERNET_INTERFACE>: Ethernet card connected to ADSL modem, for example, eth0
<USER_NAME>: User account, for example, moxa@adsl.net
<USER_PASSWORD>: Password for user account
To check if PPPOE is successfully connected, use the command:
/>ifconfig ppp0
How to Mount a Remote NFS Server
Currently, the UC-7101/7110/7112 only supports NFS (Network File System) clients. Users can
open NFS service on a Linux PC to enable the UC-7101/7110/7112 to push data to it. The
UC-7101/7110/7112 can use NFS to mount a remote disk as a local disk for data or log purposes.
1. First, the NFS server must open an export directory and allow access to the IP address. Edit
the file “/etc/exports” on your Linux PC, and then run the NFS daemon. The following
example gives one possibility (refer to the NFS-HOWTO document at
http://nfs.sourceforge.net/nfs-howto/server.html
):
/home/usr 192.168.3.1 (rw,no_root_squash,no_all_squash)
2. The UC-7101/7110/7112 must run the “portmap” utility. This program is enabled by default
in the “/etc/rc” file. Use the following command to mount the remote NFS server:
/>mount –t nfs <remote-ip>:<remote-export-directory> <local-directory>
Dynamic Driver Module Load / Unload
In addition to supporting traditional static drivers, the UC-7101/7110/7112 also support the
dynamic driver module load / unload mechanism. It allows user to load a special driver into the
kernel to enable hardware features for specific applications. To load / unload a dynamic driver
module, use the following commands.
Load module:
/>insmod <module-directory>/<module file name>
For example, to load the UART driver, type the following command:
/>insmod /lib/modules/2.6.9-MoXaRt/kernel/drivers/char/mxser.ko
Show module list:
/>lsmod
Unload module:
/>rmmod <module-name listed by lsmod command>
Содержание
- Ninth edition april 2015 1
- Uc 7101 7110 7112 user s manual 1
- Www moxa com product 1
- Copyright notice 2
- Disclaimer 2
- Technical support contact information 2
- Trademarks 2
- Uc 7101 7110 7112 user s manual 2
- Www moxa com support 2
- Table of contents 3
- Introduction 5
- Overview 6
- Package checklist 6
- Hardware specifications 7
- Product features 7
- Product specifications 7
- Software specifications 8
- Getting started 9
- Connecting the uc 7101 7110 7112 to a pc 10
- Console port 10
- Powering on the uc 7101 7110 7112 10
- Telnet 11
- Configuring the ethernet interface 12
- Developing your applications 14
- Installing the uc 7101 7110 7112 tool chain 14
- Compiling hello c 15
- Uploading hello to the uc 7101 7110 7112 15
- Running hello on the uc 7101 7110 7112 16
- Sample makefile code 17
- Software package 19
- Uc 7101 7110 7112 software architecture 20
- Journaling flash file system jffs2 21
- Uc 7101 7110 7112 software package 22
- Configuring uc 7101 7110 7112 23
- Enabling and disabling daemons 24
- How to enable disable etc inittab www server 24
- How to enable disable telnet ftp server 24
- How to enable network time protocol 24
- How to update the system time periodically with network time protocol 24
- Adding a web page 25
- Iptables 25
- Define policy for chain rules 27
- Observe and erase chain rules 27
- Append or delete rules 28
- Nat example 29
- The ip addresses of all packets leaving lan1 are changed to 192 68 27 you will need to load the module ipt_masquerade 29
- Uc 7101 7110 7112 software user s manual configuring uc 7101 7110 7112 29
- Configuring dial in dial out service 30
- Connect using a modem 30
- Dial in service 30
- Dial out service 30
- Direct cable connection 30
- Enabling nat at bootup 30
- Configuring pppoe 31
- Dynamic driver module load unload 31
- How to mount a remote nfs server 31
- Upgrading the kernel 32
- Upgrading the root file system user directory 33
- Autostarting user applications on bootup 34
- Checking the kernel and root file system versions 34
- Loading factory defaults 34
- Uc 7101 7110 7112 device api 35
- Buzzer 36
- Rtc real time clock 36
- Uart interface 36
- Wdt watch dog timer 37
- Editor 41
- File manager 41
- System commands 41
- Μclinux normal command utility collection 41
- Moxa special utilities 42
- Network 42
- Process 42
- Snmp agent with mib ii rs 232 like group 43
Похожие устройства
- Moxa UC-7110-LX Руководство по быстрой установке
- Moxa UC-7110-T-LX Инструкция по эксплуатации
- Moxa UC-7110-T-LX Руководство по аппаратной части
- Moxa UC-7110-T-LX Руководство по программной части
- Moxa UC-7110-T-LX Технические характеристики
- Moxa UC-7110-T-LX Руководство по быстрой установке
- Moxa UC-7112-LX Инструкция по эксплуатации
- Moxa UC-7112-LX Руководство по аппаратной части
- Moxa UC-7112-LX Технические характеристики
- Moxa UC-7112-LX Руководство по программной части
- Moxa UC-7112-LX Руководство по быстрой установке
- Moxa UC-7112-LX Plus Инструкция по эксплуатации
- Moxa UC-7112-LX Plus Руководство по аппаратной части
- Moxa UC-7112-LX Plus Технические характеристики
- Moxa UC-7112-LX Plus Руководство по программной части
- Moxa UC-7112-LX Plus Руководство по быстрой установке
- Moxa UC-7122-CE Инструкция по эксплуатации
- Moxa UC-7122-CE Руководство по аппаратной части
- Moxa UC-7122-CE Технические характеристики
- Moxa UC-7122-CE Руководство по программной части