frr configuration lost

Started by paulierco, May 15, 2019, 10:55:03 PM

Previous topic - Next topic
Dear all,

I'm looking forward for use frr as a standalone routing(using vtysh via CLI) and not via webgui.

I've tried different ways, using vtysh but configuration is lost after reboot.
I've tried to add frr_vtysh_boot="YES" to /etc/rc.conf.d/frr but this is again lost after reboot.
I've tried to uninstall os-frr and install frr6 but still doesn't work as expected.

Is there a way to get rid of the web gui of frr and use only vtysh via ssh to opnsense?

Best Regards,
Paul

I currently use frr6 without the web plugin installed

in my experience the wr vtysh command works fine and save all the configurations in the "right places"

# vtysh

Hello, this is FRRouting (version 6.0.2).
Copyright 1996-2005 Kunihiro Ishiguro, et al.

opn1.home # wr
Note: this version of vtysh never writes vtysh.conf
Building Configuration...
Configuration saved to /usr/local/etc/frr/zebra.conf
Configuration saved to /usr/local/etc/frr/ospfd.conf


to start the service at boot I've used the script /usr/local/etc/rc.syshook.d/start/50-frr
#!/bin/sh

# XXX this should not be strictly needed
/usr/local/etc/rc.d/frr start


as in the os-frr package

Thanks, you're the best.
It works!