zevenet / zlb

ZEVENET becomes SKUDONET and RELIANOID
Other
143 stars 29 forks source link

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

Open wittyaurelien opened 4 years ago

wittyaurelien commented 4 years ago

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 commented 4 years ago

Those kind of interfaces are not supported because are not tested

Thanks

El dom., 12 abr. 2020 18:22, Aurélien JAMIN notifications@github.com escribió:

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/zevenet/zlb/issues/73, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFBQEPGXWSY3JE5QBBQP6OTRMHTCPANCNFSM4MGPDEYA .

MrIsak commented 2 years ago

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