Hi, I have an Arduino project where I get the voltage of a battery and send it to the internet using the Ethernet shield and thinger.io.
But, the thing is I will be using these on network antennas, where I do not have internet. I've seen the shield is capable of handling PPPOE to perform authentication to the network, but I never seen any code examples or any functions I can use to do so.
If anyone could help me code the PPPOE authentication with the Ethernet Shield W5100 it would be amazing.
I could use a router to do so, but it would be more expensive than the Arduino itself.
I have attached the code I'm currently using below.
I've seen the shield is capable of handling PPPOE to perform authentication to the network, but I never seen any code examples or any functions I can use to do so.
Where did you see this? Link?
If anyone could help me code the PPPOE authentication with the Ethernet Shield W5100 it would be amazing.
Are we talking about the same? PPP over Ethernet (PPPoE) is mostly used as the basic network layer in DSL setups.
Yes, I need PPPoE to authenticate the arduino into the ISP network, just like a modem or a router would do, but they end up being too expensive to the project.
It may just not be true the PPPoE support, but if it is, I would like to know how I can implement it, before I have to change the whole solution.
My plan is to use the arduinos on some network antennas, that provide network to a rural area. I would connect them directly to a switch, but in order to have internet access it would need to authenticate itself into the network.
In a customer's house we currently use PPPoE authentication done by a modem, but for this project I don't want to use a modem as it would mean more money, and drain more power from the battery.
The solution is for the arduino to authenticate itself into the network.
The chip itself has a PPPoE mode that will add the necessary bytes to your data connection, AFTER it has been set up.
You set up the PPPoE connection using PPP negotiations on a RAW ethernet socket...
The PPP negotiations are similar to DHCP, in that they're used to assign your IP address and stuff like that. PPP has additional features (notably: authentication.) It's sort of an open-ended protocol, supporing MANY options, and how practical it is to write the negotiation phase will depend on how much your modems actually need to be done. It could range from "not bad" to "hopeless" (one of the other options is encryption!)
Historically, PPP (for dialup and leased lines) just barely preceeded DHCP, and PPPoE was a sort of hack to allow ISPs to use the same infrastructure from their dialup services for new ethernet-format services (like DSL.)
Yes, I need PPPoE to authenticate the arduino into the ISP network, just like a modem or a router would do, but they end up being too expensive to the project.
As westfw already pointed to the hardware has support to run PPPoE if there is an Ethernet channel you have to run this protocol on. But to use a DSL connection you still need a modem to connect to the provider wires and today almost every modem already includes a PPPoE termination. So that hardware feature of the WizeNet5100 probably will never be used.