Have ever wondered how your routers get configured using a IP address on a web browser? The answer is simple, there is an embedded web server hosted on the router and when you connect to the computer using an Ethernet connection, the web server is accessed on the router using the IP address provided by the manufacturers for further configuration process.
I wanted to replicate this technology for evaluation purposes and using an IOT gateway development board, I could configure the ESP32 as Ethernet based web server attached to W5500 Ethernet module. I used a Arduino IDE to upload a sketch provided by a git hub repository maintained in the link https://github.com/Networking-for-Arduino/EthernetESP32/blob/master/examples/HelloServer/HelloServer.ino by https://forum.arduino.cc/u/juraj/summary
The code was uploaded after successful compilation but when connecting Ethernet module to my linux system, my linux was not allocating IP address to the Ethernet web server, a prerequisite for accessing the webserver through the web browser. There was some configuration problem in dhcp server installed in the linux system.
After consulting my friends working in the networking domain, I was suggested to use router which has an inbuilt dhcp server to allocate IP address to dhcp clients. As per suggestion from one of my friend I purchased TP link archer C6 router and connected IOT gateway to the same. Router allocated IP address to the Ethernet web server at ease and hence made web server accessible from the web browser of linux sytsem which was also connected to the router establishing a two terminal LAN.
Using this methodology you can connect your IOT gateway to local LAN for accessing the Sensor information dash board designed into Web server on getting a alert for a event notification to your mobile device by the gateway using cellular technology.
No comments:
Post a Comment