Tag Archives: FreeBSD - Page 2

Vi tips

Replace char with newline :

:s/X/^M/

^M = ctrl-V + m

FreeBSD – Setup Link Aggregation ( LAGG ) in failover mode

Load drivers on boot

echo "if_lagg_load=\"YES\"" >> /boot/loader.conf

Add to rc.conf

ifconfig_em0="UP" ifconfig_em1="UP" cloned_interfaces="lagg0" ifconfig_lagg0="laggproto failover laggport em0 laggport em1 ip.ad.dr.ess netmask net.ma.sk"

probably good idea to turn on spanning tree on your port .

FreeBSD – Configure sendmail masquerading

Notes on masquerading your domain name , I needed that since one SMS gateway will not accept my nagios@server.domain.com emails , this setting allowed nagios to send the email as nagios@domain.com

Read more »