Hi,
Unfortunately vivid unit's kernel seems to be built without network tun device (/dev/net/tun), which I need for my vpn connection. According to /proc/config.gz the option was not set at compile time.
My Questions: Is it possible to build a driver module using a modified config tree? Shall I install the kernel headers I can get from the debian repository (5.10 if I find them) and try? Or, does that probably not work?
My Linux knowledges are from the past, I was using windows and android during the last years.
I think the straightforward solution is to re-compile the kernel with modified configuration. You can find the source code of kernel here: https://github.com/vividunit/kernel
As we are crosscompiling, I have a question.
Is it sufficient to just write 'make menuconfig'? Or do we have to add something like 'arch=arm...' also later on, when compiling.
I will do it the way it is described in your manifest readme.
In the meantime I successfully compiled and flashed a new image according to your guidance on https://github.com/vividunit/vivid-manifest .
So, my vpn problem seems to be solved, finally, as the TUN network device is available now.
But I got a new problem:
There is no wifi available.
ifconfig -a reveals there is now wifif adapter at all, just ethernet and loopback.
"sudo depmod -a" says indeed, that it cannot open the modules directory. ("/lib/modules/5.10.110-..." - "No such File or directory")
I now did manage to install the modules and load it up to the vivid unit computer.
Wifi is working as it should, and additionally my wifi usb stick is working, too, after modifying the kernel config.
Unfortunately my vpn software brings another error, so that I need to modify the kernel once more.
I succeeded now in bringing up a vpn connection.
Thanks @uugear for the good documentation on building a new image. It is on https://github.com/vividunit/vivid-manifest