omniedge kmod-tun kernel incompability

Hello!

Thank you very much for your software, it has been very helpful to me!

I bought the GL-AR300M16 and purchased the respective license, and everything is working correctly through the VIRTUALHERE Client.

 

I want to put the GL-AR300M16 on a OmniEdge network.

However, I can't establish the connection because the kmod-tun module is not available.

After checking, I tried to install the module from the repository, but it is not compatible:

System kernel GL-AR300M16 - 5.10.161-1-0cf1e7da5632aa193437f0c099c566cd

Kernel in the OPENWRT repository - 5.10.161-1-597dfd90b9cbdd7e9f0f4cbf4279a279

 

Additional information from OmniEdge:

root@CloudHub_2711dc:# omniedge login

INFO[0000] You are in mode: prod

INFO[2023-03-09T11:34:04] successful to login

root@CloudHub_2711dc:# omniedge join INFO[0000] You are in mode: prod

INFO[2023-03-09T11:34:13] List Virtual Network response

Use the arrow keys to navigate: ↓ ↑ → ← and / toggles search

🌶 sdf

You choose number 1: sdf

INFO[2023-03-09T11:34:18] Success to join virtual network

INFO[2023-03-09T11:34:18] Start to connect omniedge 2023-03-09T11:34:18 [edge_utils.c:1943]

INFOAdding supernode[0] = prod-useast.edgecomputing.network:443 2023-03-09T11:34:18 [tuntap_linux.c:124]

ERRORtuntap open() error: No such device[19]. Is the tun kernel module loaded? ERROR[2023-03-09T11:34:18] fail to open TUN/TAP device

 

I tried to override the module compatibility with opkg install kmod-tun --force-depends, but the module does not start because there are symbol errors.

So I removed kmod-tun.

 

Is there any possibility of providing a kmod-tun for the router kernel, which is:

opkg list-installed | grep kernel kernel - 5.10.161-1-0cf1e7da5632aa193437f0c099c566cd

Or any other solution that you are aware of?

Thank you!

#2

It might be worth just putting normal openwrt on the glar300m16 and then installing the virtualhere server on there. Create an initscript https://openwrt.org/docs/techref/initscripts and run vhusbdmips with the -b argument. Then you can compile whatever drivers you need into your specific kernel.

 

#3

Great! 

I failed to read some virtualhere points. :)

Thank you very much for the tip, I will do precisely that.

I have spent a week testing and trying out various options....

The solution : virtualhere.com/sites/default/files/usbserver/vhusbdmips24kc

I'm sorry I've taken up your time with such a trivial thing.

Thank you!