OPNsense Forum

English Forums => Virtual private networks => Topic started by: dukeofnukem on February 18, 2022, 11:58:09 PM

Title: Cannot add interface (Interfaces → Assignments)
Post by: dukeofnukem on February 18, 2022, 11:58:09 PM
Hi@all,

1st post after searching for days:

Goal: OpenVPN Client with provider Perfect Privacy, following Guide https://www.perfect-privacy.com/en/manuals/router_opnsense_openvpn (https://www.perfect-privacy.com/en/manuals/router_opnsense_openvpn)

Bringing up a VPN Client Connection is working ("Initialization Sequence Completed").

"System: Log Files: General" shows:
2022-02-18T23:37:48 Error opnsense /usr/local/etc/rc.newwanip: Interface '' (ovpnc1) is disabled or empty, nothing to do.
2022-02-18T23:37:48 Error opnsense /usr/local/etc/rc.newwanip: IPv4 renewal is starting on 'ovpnc1'
2022-02-18T23:37:45 Error php-cgi /vpn_openvpn_client.php: OpenVPN client 1 instance started on PID 89493.

(Why is this logged as "Error" btw? Seems that others have strange things happening to their logs with 22.1.1_1 as well...)

Next step in aforementioned guide would be:
"Use the menu to go to Interfaces → Assignments and at New Interface select ovpnc1 then click the + button."

It's just that there simply is no + button there, I cannot create a new interface.

Looking at "Interfaces: Overview" I do see the entry "Unassigned interface (ovpnc1) "

There seem to be others with the same problem (that is, at least one): https://forum.opnsense.org/index.php?topic=25945.0 (https://forum.opnsense.org/index.php?topic=25945.0)

So far I have not seen any answer / solution / simple *doh* thing that I've missed.

Hope this contains all information required, I shall continue to try being concise and complete  ;)

best regards
Martin


Title: Re: Cannot add interface (Interfaces → Assignments)
Post by: franco on February 19, 2022, 08:57:58 AM
Can you check for updates? 22.1.1_3 carries the fix.


Cheers,
Franco
Title: Re: Cannot add interface (Interfaces → Assignments)
Post by: dukeofnukem on February 19, 2022, 10:07:46 PM
Thanks - that worked like a charm. And here I was thinking it was just down to the problem sitting in front of the keyboard, as usual  :P

Being new to OPNSense I wonder: Is there a release structure similar to i.e. debian?

As in oldstable / stable / testing / unstable?

Thx and best regards
Martin
Title: Re: Cannot add interface (Interfaces → Assignments)
Post by: franco on February 20, 2022, 01:17:24 PM
Hi Martin,

We have two releases each year with with subsequent minor updates as required. There is also a business edition available that lags behind the community version and has some extras like central management etc. There is also a development version tagging along with the community edition for more cutting edge.

More or less:

oldstable -> business
stable -> community
testing/unstable -> development

One thing that's to note is that we don't have true "oldstable" style updates as soon as community edition moves to a new major version the old one is no longer supported (in terms of updates).

It's currently a bit noisy on the interface subsystem side as we try to clean up technical debt to the point where you can't even trust a decade old function to do the right thing and fix it further only to realise the assignments used this forbidden side effect as a feature to get to list OpenVPN devices (which are not hardware devices as the function would indicate). ;)


Cheers,
Franco