udp2raw icon indicating copy to clipboard operation
udp2raw copied to clipboard

udp2raw_arm problem

Open sklohk opened this issue 3 years ago • 4 comments

English Only (except for bug reporting). I'm running udp2raw in OpenWrt SNAPSHOT, r15723-ff076f873f , Linux 5.4.96 aarch64 GNU/Linux. There is error: /bin/udp2raw_arm: line 1: syntax error: unexpected word (expecting ")") how can I fix it?

Thank for your help. sk

sklohk avatar Feb 14 '21 06:02 sklohk

udp2raw_arm is the binary for 32bit arm. Seems like you are using 64bit arm. You need to compile a binary by yourself, or wait me to build one when I am free. Build guide: https://github.com/wangyu-/tinyPortMapper/wiki/How-to-build

wangyu- avatar Feb 15 '21 07:02 wangyu-

Thank a lot. Yes, I'm using 64bit. I have not the knowledge to compile ipk and had to wait hour 64bit ipk. Anywhere, thank a lot again.

By the way, my openwrt route is dual or more wan. When I use --lower-level auto, it's fail. But I can't get the next hop Mac using arp -s wan interface ip. My wan is dhcp or pppoe and openwrt are running in esxi6.7. Can you tech me how to get the Mac which will be used in - -lower-level ifname#mac?

sk

wangyu- [email protected] 于 2021年2月15日周一 下午3:46写道:

udp2raw_arm is the binary for 32bit arm. Seems like you are using 64bit arm. You need to compile a binary by yourself, or wait me to build one when I am free. Build guide: https://github.com/wangyu-/tinyPortMapper/wiki/How-to-build

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/wangyu-/udp2raw-tunnel/issues/382#issuecomment-779021598, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJLEO6C4JRKRADYENW65TLTS7DGMDANCNFSM4XS46KWA .

sklohk avatar Feb 15 '21 12:02 sklohk

udp2raw_arm is the binary for 32bit arm. Seems like you are using 64bit arm. You need to compile a binary by yourself, or wait me to build one when I am free. Build guide: https://github.com/wangyu-/tinyPortMapper/wiki/How-to-build

@wangyu- Is this still true?

o-alquimista avatar Feb 01 '24 20:02 o-alquimista

Try to copy the following folder to your repo, and the arm64 version will be built. https://github.com/HiGarfield/lede-17.01.4-Mod/tree/master/package/extra/udp2raw

@sklohk @o-alquimista

HiGarfield avatar Feb 05 '24 11:02 HiGarfield