pppoe. Object
[DEPRECATED FROM TiOS V4]
The pppoe. object represents the PPPoE interface of your device. This is the interface that works over the Ethernet (net.) interface to carry the data between the device and an ADSL modem, the kind that needs a user name and password to connect to the Internet. More about PPPoE here: http://en.wikipedia.org/wiki/Pppoe.
It is important to understand that the net. object and pppoe. object represent two different network interfaces of your system, even though they both send and receive data through the same Ethernet wire. For example, the PPPoE interface has its own IP address (pppoe.ip), which is different from net.ip.
The pppoe. object itself does not handle the ADSL login, which is quite complex. This task is performed by the PPPOE library. This library's code will perform all the necessary login and configuration steps, and then set the only three properties that are needed for the pppoe. object's operation:
- The IP address of your device on the PPPoE interface (pppoe.ip)
- The MAC address of the ADSL modem, a.k.a. "access concentrator" (pppoe.acmac);
- Session ID (pppoe.sessionid).
It follows from the above that the PPPoE interface is not automatically ready after the device boots up. It has to be properly configured by the PPPOE library.
The pppoe. object only specifies the parameters related to the PPPoE interface and is not responsible for sending/transmitting network data; that is the job of the sock. object. You will find the PPPoE interface listed or available on the following sock. object properties: