The UVC-G5-Turret-Ultra camera uses a non-standard 6-wire Ethernet cable.
The orange and green pairs comply with EIA/TIA-568B for 100mbit Ethernet.
The blue pair is most likely used for passive PoE.
| RJ45 Pin |
Camera Wire |
Usage |
| 1 |
orange-white |
TX+ / PoE |
| 2 |
orange |
TX- / PoE |
| 3 |
green-white |
RX+ / PoE |
| 4 |
blue |
passive PoE+ |
| 5 |
| 6 |
green |
RX- / PoE |
| 7 |
blue-white |
passive PoE- |
| 8 |
Note: RJ45 pins 4+5 and 7+8 are bridged for passive PoE.
on USG
/config/scripts/post-config.d/radius_default_vlan.sh
#!/bin/bash
# radius_default_vlan.sh
# This script goes in /config/scripts/post-config.d
if [[ -z "$1" ]] ; then
echo "* * * * * root /config/scripts/post-config.d/radius_default_vlan.sh cron" > /etc/cron.d/radius_default_vlan
exit 0
fi
if grep -q "DEFAULT Auth-Type" "/etc/freeradius/users" ; then
exit 0
fi
cat >> /etc/freeradius/users <<EOF
DEFAULT Auth-Type := Accept
Tunnel-Type = 13,
Tunnel-Medium-Type = 6,
Tunnel-Private-Group-Id = 1
EOF
service freeradius restart
install
chmod +x /config/scripts/post-config.d/radius_default_vlan.sh
/config/scripts/post-config.d/radius_default_vlan.sh
remove
rm /etc/cron.d/radius_default_vlan
rm /config/scripts/post-config.d/radius_default_vlan.sh
random code and config snippets by iiidefix & friends