Hi everyone,
We have an island of 4 nodes linked through tunnel until we can link them through RF that we partly lost contact with due to new commercial equipment installed about 6ft above us....
Our equipment are configured like this:
3Nodes <> Mikrotik PowerBox (POE In) <---- 200' cable + lightning arrestor + 24V Injector ----> hAP - Tunnel node (Port 5) <> Internet ....
The hAP is still connected and someone on site can confirm me that the light on port 5 is blinking to suppose the link is connecting then dropping. Once in a while I can establish connection to hte powerbox for 2-3 seconds (not enough to past any command).
Is there a way to set the hAP DtD port to half-duplex for remote troubleshooting purpose ? I believe the new equipment might cause some RF to get into the wires, half-duplex might be a temporary way to set the island back until we can get on-site to move our units.
Over telnet, swconfig returns:
swconfig dev switch0 port 1 set link "autoneg off duplex half"
Failed to set attribute: Operation not supported
Try using 'ethtool'. It's built-in to the AREDN code now, in latest releases.
Display the port and its capabilities:
ethtool eth0
Adjust:
ethtool -s eth0 speed 100 duplex half autoneg off
or whatever port settings u want to try.
Put the above line into /etc/rc.local to make it persist across reboots.
When u can get into the PowerBox, look in the logs for the reason the port to the hAP might be flapping. A bad cable might show up as a PoE short/overload for example. If you're not powering the hAP remotely, disable PoE on that port as good practice.
If by chance you have old code on the node(s) you can install ethtool manually by running this on the node's command line:
opkg install http://downloads.openwrt.org/releases/19.07.2/packages/mips_24kc/base/et...
Note that you may need to adjust the releases/19.x.x.x folder to find one that works if you have a really old AREDN version.
Ian