EdgeRouter 4 Build & Install udpxy


Please DON’T use udpxy, check msd_lite!!!

Source Code: http://gigapxy.com/download/udpxy/

# show version
Version:      v2.0.9-hotfix.7
Build ID:     5622762
Build on:     06/15/23 11:31
Copyright:    2012-2020 Ubiquiti Networks, Inc.
...

Steps:

1 Configure apt source

EdgeOS 2.0 is based on debian stretch, outdated.

# cat /etc/apt/sources.list.d/stretch.list
deb http://archive.debian.org/debian/ stretch main contrib
deb http://archive.debian.org/debian/ stretch-updates main contrib
deb http://archive.debian.org/debian/ stretch-backports main contrib

deb http://archive.debian.org/debian-security/ stretch/updates main

2 install build-essential

apt install build-essential

3 Get source, and build

wget http://gigapxy.com/download/udpxy/udpxy-src.tar.gz
tar xvf udpxy-src.tar.gz
cd udpxy-1.0.25-1/
make

Then you will see error like cc not found.

CC=gcc make

You’ll see

gcc: error trying to exec 'as': execvp: No such file or directory

This is because the binutils package provided by UBNT is almost empty.

wget -c https://archive.debian.org/debian/pool/main/b/binutils/binutils_2.28-5_mips.deb
dpkg --unpack binutils_2.28-5_mips.deb

Backup your config, Install manually.

Then

CC=gcc make
CC=gcc make install

Leave a Reply

Your email address will not be published. Required fields are marked *