This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Credits: https://github.com/abdellbar1/ProxLLDPConfig | |
| apt-get update | |
| apt-get install -y lldpd | |
| echo 'DAEMON_ARGS="-c -s -e"' > /etc/default/lldpd | |
| echo 'configure system interface pattern en*' > /etc/lldpd.d/if.conf | |
| systemctl restart lldpd | |
| systemctl enable lldpd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This snippet is incomplete, make sure to fill the rest to your needs | |
| # This snippet is made with the assumption: | |
| # - You are using the ESP32-C3 SuperMini | |
| # - You have a 5V <-> 3.3V TTL converter hooked up on GPIO0 and GPIO1 | |
| # - GPIO1 (converted) is attached to the RX pin of the EWPlus (TX side of ESP32) | |
| # - GPIO0 (converted) is attached to the TX pin of the EWPlus (RX side of ESP32) | |
| # - Your EWPlus 974 EO is set to use Modbus with device address of 1 (check your device settings) | |
| # By github.com/NathanAdhitya | |
| # Author note: | |
| # - The datasheet parameter table addresses seems to be accurate |
OlderNewer