Udpxy not working since release 24661 (WNDR3700)

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
stripy
DD-WRT Novice


Joined: 06 Jan 2014
Posts: 3

PostPosted: Thu May 21, 2015 9:07    Post subject: Udpxy not working since release 24661 (WNDR3700) Reply with quote
I have seen some mentions about this on the Russian branch, but I didn't find the solution.
I have udpxy installed on /jffs and start it with startup commands script
Code:
sleep 10
/jffs/udpxy -p 1234

It works fine with dd-wrt 05-27-2014-r24160 and older.
Does anybody know how I can make udpxy work on the latest dd-wrt releases. Or is there an alternative?
Sponsor
stripy
DD-WRT Novice


Joined: 06 Jan 2014
Posts: 3

PostPosted: Fri May 22, 2015 12:23    Post subject: Reply with quote
The problems with udpxy started with version 24461 (06-23-2014-r24461), not 24661. But they are still present in the latest build.

Could this be related to dd-wrt using musl library? If this is the case, could someone point me to a tutorial how to compile udpxy for Atheros (mips) using musl?
stripy
DD-WRT Novice


Joined: 06 Jan 2014
Posts: 3

PostPosted: Wed May 27, 2015 8:45    Post subject: Reply with quote
To answer my own question, this is due to dd-wrt using musl library since build 24461. So I had to compile udpxy for Atheros using musl. I am attaching udpxy suitable for Atheros (mips) for the latest dd-wrt builds.
In case someone is interested to compile this or something else himself for this or some other router, here is the procedure.
You need a linux system (physical or virtual).
Install needed libraries.
Code:
sudo apt-get update
sudo apt-get install git-core build-essential libssl-dev libncurses5-dev unzip zlib1g-dev gawk
sudo apt-get install subversion mercurial

Get openwrt.
Code:
git clone git://git.openwrt.org/openwrt.git

Install feeds(they include udpxy).
Code:
cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a

Prepare for compiling.
Code:
make defconfig
make prereq
make menuconfig

Select needed options. The following are for WNDR3700, for compiling udpxy:
Code:
    Target System (Atheros AR7xxx/AR9xxx)
    Target Profile(NETGEAR WNDR3700/WNDR3800/WNDRMAC)
[*] Advanced configuration options (for developers) --->
        [*] Toolchain Options --->
                C Library implementation (Use musl)
    Network --->
        <M> udpxy

Save and run
Code:
make

When finished udpxy is in
Code:
./staging_dir/target-mips_34kc_musl-1.1.9/root-ar71xx/usr/bin
grymster
DD-WRT User


Joined: 04 Feb 2011
Posts: 88
Location: SPb, Russia

PostPosted: Tue Sep 06, 2016 9:52    Post subject: Reply with quote
stripy wrote:
So I had to compile udpxy for Atheros using musl.


Thanks a lot. You saved my day. Worked well with Netgear WNDR4300.

Update: attached udpxy for Netgear WNDR4300.

_________________
Device: Netgear WNDR4300
Firmware: DD-WRT r26490
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum