I needed this months ago. Never could get it to work in either direction.
It doesnāt help that FreeNASās rsync is kind of broken atm. You get no reporting at all when you run it manually, even in the system logs. If you schedule it, cron will log it, but it will fail silently (no email alerts or anything).
Thereās a ticket for 11.3, so should be cleared up fairly soon. Just very annoying until then.
oof
good thing I dont use freenas anymore.
since when does rsync not use ssh?
Itās optional. You can just blast everything unencrypted on port 873.
A lot of companies make their own ASICS, so itās a point of pride and coveted like secret sauce.
Iāve never got LACP to work on my own L3, but Iāve never had another router that supported it to make a real go of it. I was mostly testing it with a link aggregated software defined network stack, which is not explicitly supported anywhere.
Interesting doc, thanks for sharing!
Note to Self
Disabling VNC encryption in Gnome on CentOS 7 allows screen sharing from macOS.
dconf
org > gnome > desktop > remote-access > require-encryption OFF
This was a life saver today. If you have abysmal disk performance on ESXi 6.7, this is what fixed it for me.
https://communities.vmware.com/thread/554004
esxcli system module set --enabled=false --module=vmw_ahci
# reboot
Also, esxcli
is annoyingly difficult to type quicklyā¦
God damn SX. Any two keys that rely on the same finger to type should be banned from being sequential keys in a command.
If my job was to work on vsphere stuff all day, Iād macro it.
So currently:
CentOS 8 defaults to XFS on all partitions, except boot which defaults to EXT4
Fedora Server defaults to XFS on all partitions
Fedora Everything defaults to EXT4 on all partitions
Itās not that it really gets in my way, it just seems dumb.
Yeah, I think thatās big dumb.
Well, actually, Desktop being EXT4 makes sense. You can shrink EXT4, not XFS.
but hte boot partitions seem dumb.
I can see it being different between CentOS and Fedora, but it should be consistent within those and commit to only one.
I set everything to ext4 personally.
I like XFS on my laptops. Itās stupid fast.
ZFS is the most pleasant to manage for me.
Same.
Though only once I learned how to use it.
I <3 those UPS, that setup is NICE AF tho
For everyone except Red Hatās lawyers.
Yeah, they are the best value I think. Iām actually irritated, I could have gotten them one of the 2000 watt ones, but they didnāt know what kind of power they had in the room. Once I got there, I found a dedicated 20A outlet with the perpendicular prong hole.
It is nice to have 2 though. Keep the live and backup NASās on separate batteries.
Living dangerously tonight.
for SWITCH in ${EDGE_SWITCHES[@]}; do
## Test 24V on Interfaces with Open Status (Media Present but No Signal)
##########################################################################
# WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
# THIS CAN DAMAGE YOUR HARDWARE
# YOU PROBABLY SHOULDN'T DO IT!
# WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!
##########################################################################
expect -c 'set timeout 6
proc login_to_edgeswitch_via_ssh { user pw host } {
global spawn_id
spawn ssh -o StrictHostKeyChecking=no -o PreferredAuthentications=password $user@$host
expect "name:" {
send "$user\r
exp_continue"
} "word:" {
send "$pw\r"
}
expect ">" {
send "enable\r"
expect "word:" {
send "$pw\r"
} "#" {
send "\r"
}
} "#" {
send "\r"
} timeout {
puts stderr "LOGIN TO EDGESWITCH VIA SSH TIMED OUT"
}
return
}
proc test_poe_24v_on_open_interfaces_on_edgeswitch_via_ssh { user pw host } {
login_to_edgeswitch_via_ssh "$user" "$pw" "$host"
set iface 0
expect "interface does not exist" {
send quit\r
} ".. Open" {
send "configure\r"
expect "(Config)#"
send "interface 0/$iface\r"
expect "(Interface 0/$iface)#"
puts stderr "WARNING: ENABLING 24V POE ON INTERFACE 0/$iface"
puts stderr "24V POE CAN DAMAGE INCOMPATIBLE HARDWARE"
puts stderr "YOU HAVE 10 SECONDS TO ABORT VIA CTRL-C"
sleep 10
send "poe opmode passive24v\r"
expect "nvalid input detected" {
puts stderr "24V POE NOT SUPPORTED ON 0/$iface"
} "(y/n)" {
send "y\r"
expect "(Interface 0/$iface)#"
send "exit\r"
expect "(Config)#"
send "exit\r"
expect "#"
sleep 30
send "show mac-addr-table\r"
sleep 2
set timeout 2
expect "0/$iface" {
puts stderr "24V POE DEVICE DETECTED ON 0/$iface"
} timeout {
send "configure\r"
expect "(Config)#"
send "interface 0/$iface\r"
expect "(Interface 0/$iface)#"
puts stderr "NO 24V POE DEVICE DETECTED ON INTERFACE 0/$iface"
puts stderr "DISABLING 24V POE ON INTERFACE 0/$iface"
send "poe opmode auto\r"
expect "(Interface 0/$iface)#"
send "exit\r"
expect "(Config)#"
send "exit\r"
}
}
set timeout 6
exp_continue
} "#" {
set iface [expr {$iface + 1}]
send "cablestatus 0/$iface\r"
exp_continue
} timeout {
puts stderr "GET CABLE STATUS ON EDGESWITCH VIA SSH TIMED OUT"
}
exp_close
exp_wait
return
}
test_poe_24v_on_open_interfaces_on_edgeswitch_via_ssh ubnt ubnt ${SWITCH}'
done