OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 19.1 Legacy Series (Moderator: fabian) »
  • frr configuration lost
« previous next »
  • Print
Pages: [1]

Author Topic: frr configuration lost  (Read 398 times)

paulierco

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
frr configuration lost
« on: May 15, 2019, 10:55:03 pm »
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
Logged

fabio

  • Newbie
  • *
  • Posts: 39
  • Karma: 2
    • View Profile
Re: frr configuration lost
« Reply #1 on: May 17, 2019, 04:42:17 pm »
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"

Code: [Select]
# 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
Code: [Select]
#!/bin/sh

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

as in the os-frr package
Logged

paulierco

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: frr configuration lost
« Reply #2 on: May 19, 2019, 08:31:33 pm »
Thanks, you're the best.
It works!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 19.1 Legacy Series (Moderator: fabian) »
  • frr configuration lost
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2019 All rights reserved
  • SMF 2.0.15 | SMF © 2017, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2