How to install NetBird package

Hi,

Would like to know how to install the package [OpenWrt Wiki] package: netbird I have ordered 12 devices for remote places and installing netbird on those devices would be awesome. (GL-XE300C4 model). OPNWRT version is the right one. but can`t seem to see it in the list. I dont mind doing it via SSH just want to know steps needed to install it correctly.

Thanks

The commands for installation are pretty easy, but they might or might not break your router.
First you need to find your architecture by using uname -a
Then you need to find the right repository: https://downloads.openwrt.org/snapshots/packages/
Search for your netbird ipk file, copy the URL of it.

wget [URL]
opkg install [downloaded file].ipk
1 Like

uname -a gives me:
Linux GL-XE300 5.10.176 #0 Sun Apr 9 12:27:46 2023 mips GNU/Linux
opkg print-architecture gives me:
arch all 1
arch noarch 1
arch mips_24kc 10

Now if I want netbird package [OpenWrt Wiki] package: netbird

not sure where to go form there?

The file is located here:
https://downloads.openwrt.org/snapshots/packages/mips_24kc/packages/netbird_0.25.8-1_mips_24kc.ipk

Thank you so much I can say that it is working perfectly adding the package and running it following those step after package has been installed: GitHub - messense/openwrt-netbird: OpenWrt package for netbird

Thanks so much for your help and time

Hi, apologies for bringing this one back again, but is there a Netbird package for my unit, was unable to find one that would install from the ones listed here [OpenWrt Wiki] package: netbird

Linux GL-AX1800 4.4.60 #0 SMP PREEMPT Tue Jan 23 11:46:53 2024 armv7l GNU/Linux
arch all 1
arch noarch 1
arch arm_cortex-a7 10

Hi @Apollo

Just got my Flint 1st gen unboxed as well and tried straight away to set up netbird.

I could not manage to get it working sadly.

https://downloads.openwrt.org/snapshots/packages/arm_cortex-a7/packages/ ships netbird_0.26.3-r1_arm_cortex-a7.ipk which installs but gives a lot or errors :

Error relocating /usr/bin/netbird: __dlsym_time64: symbol not found
Error relocating /usr/bin/netbird: __stat_time64: symbol not found
Error relocating /usr/bin/netbird: __utimes_time64: symbol not found
Error relocating /usr/bin/netbird: __fstat_time64: symbol not found
Error relocating /usr/bin/netbird: __time64: symbol not found
Error relocating /usr/bin/netbird: __gettimeofday_time64: symbol not found
Error relocating /usr/bin/netbird: __nanosleep_time64: symbol not found
Error relocating /usr/bin/netbird: __lstat_time64: symbol not found
Error relocating /usr/bin/netbird: __localtime64: symbol not found

I then tried https://downloads.openwrt.org/releases/22.03.6/packages/arm_cortex-a7/packages/ which ships netbird_0.17.0-1_arm_cortex-a7.ipk which again installs but still gives an error :

Error relocating /usr/bin/netbird: __nanosleep_time64: symbol not found

A little digging on those errors pointed at a forum post at OpenWRT saying that it is likely because the firmware has been compiled with the old musl C library 1.1.24 (confirmed by root@GL-AX1800:~# opkg list libc libc - 1.1.24-3 ) whereas the netbird ipk listed above has been likely compiled with newer musl C library >1.2.2 which changed the way time is handed internally from 32bit to 64bit even on 32bit architectures.

Long story short, it looks like, as of now, netbird is a no go on a Flint 1rst gen out of the box :sob: