Page 1 of 1

luckfox pico ultra安装openvpn

Posted: 2024-10-08 3:39
by benben730
luckfox pico ultra在buildroot系统下如何安装tun driver和openvpn?

Re: luckfox pico ultra安装openvpn

Posted: 2024-10-08 7:43
by Crocodile
您好,执行./build.sh buildrootconfig 打开buildroot menuconfig

Code: Select all

#使用 / 搜索 y 添加
BR2_PACKAGE_OPENVPN
执行./build.sh kernelconfig 打开内核menuconfig

Code: Select all

#使用 / 搜索 y 添加
CONFIG_NET_CORE
CONFIG_TUN
以上仅供参考,实际使用中可能还需要其他的依赖项,linux是一个复杂的系统,我们没有足够的精力去确定所有功能所依赖的选项,详细请查询相关资料。

Re: luckfox pico ultra安装openvpn

Posted: 2025-05-10 17:20
by Javier
Hello from Spain,

I have configured luckfox pico MAX whith openvpn in linux. Here the steps i followed and the solutions i have implemented.

You need:
- luckfox pico Boaed, i use rv1106 Pico Max.
- a SD card, i think almost 8gb XCSD class 10.
- some time.

First off all: Follow the wiki instructions for create SD linux: https://wiki.luckfox.com/Luckfox-Pico/L ... nvironment

Second steep: You need to incorporate TUN capabilities to this SD_linux, you need to modify Kernel like in this wiki post: https://wiki.luckfox.com/Luckfox-Pico/L ... figuration, BUT with the followings components:

-Universal TUN/TAP device driver support (select with * not by M)
Location:
-> Device Drivers
-> Network device support
-> Network core driver support
- IP:tunneling + Layer Two Tunneling Protocol (L2TP) + IP: FOU encapsulation of IP tunnels (NEW)
Location:
-> Device Drivers
-> Networking support
-> Networking options
- Network Light weight tunnel
Location:
-> Device Drivers
-> Networking support

Third steep: follow the Ubuntu instructions for openvpn in: https://documentation.ubuntu.com/server ... index.html

Last steep and Notes: when i build it in a WSL, the TUN not work, only work if i follow this steeps in a normal linux system.

I hope you can follow and configure openvpn properly.