Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Could not recognize the type of the interface tun0. at /usr/share/perl5/Zevenet/Net/Interface.pm line 953. #73

Open
wittyaurelien opened this issue Apr 12, 2020 · 2 comments

Comments

@wittyaurelien
Copy link

Hello,
I've a problem with OpenVPN. My server is also an OpenVPN server and Zevenet has error on startut : Could not recognize the type of the interface tun0. at /usr/share/perl5/Zevenet/Net/Interface.pm line 953.
Interface "tun0" has type 65534.

Thanks

@emiliocampos-zevenet
Copy link
Contributor

emiliocampos-zevenet commented Apr 12, 2020 via email

@MrIsak
Copy link

MrIsak commented Sep 22, 2021

Then it would make much more sense to ignore those interfaces that are not supported, rather than fail at startup.

For anyone that has this problem and not using the zlb in production. Check the type code cat /sys/class/net/<interface_name>/type

Search for the code in /usr/share/perl5/Zevenet/Net/Interface.pm and uncomment the elsif containing that type.
For example tunl0 has code 65534, and is found on row 940 in Interface.pm
sit0 has code 776 an is on row 927-930

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants