368
1.1.13 Get/Set
PPPoE
info
Example: Get PPPoE information
http://<servername>/cgi-bin/view/param?action=list&group=General.Network.PPPoE
Return:
Parameter name
value
Security
level
(get/set)
Description
Enabled
yes, no
6/6
Enables/disables PPPoE service.
IPAddress
IP address
6/6
IP address. The physical address of the
device on the network. (read only)
UserID
none, string
6/6
PPPoE login user id.
Password
none, string
6/6
PPPoE login password.
DNSAuto
on, off
6/6
Specifies if the DNS server should be
obtained from a DHCP server.
DNSServer1
IP address
6/6
Primary Domain Name System server.
DNSServer
IP address
6/6
Secondary Domain Name System
server.
root.General.Network.PPPoE.Enabled=no
root.General.Network.PPPoE.IPAddress =67.34.251.69
root.General.Network.PPPoE.UserID=none
root.General.Network.PPPoE.Password=none
root.General.Network.PPPoE.DNSAuto=on
root.General.Network.PPPoE.DNSServer1=0.0.0.0
root.General.Network.PPPoE.DNSServer2=0.0.0.0
Example: Set PPPoE information
http://<servername>/cgi-bin/admin/param?action=update&General.Network.PPPoE.Enabled=yes&Ge
neral.Network.PPPoE.UserID=example@hinet.net&General.Network.PPPoE.Password=12345678&
General.Network.PPPoE.DNSAuto=on
Return:
OK