Code Monkey home page Code Monkey logo

Comments (6)

extremecoders-re avatar extremecoders-re commented on June 1, 2024

Cross compiling with go is really easy. Only a working go installation is needed. Go compiles statically by default.

MIPS (big endian)

$ GOOS=linux GOARCH=mips go build -o go-dispatch-proxy.mips

MIPSEL (little endian)

$ GOOS=linux GOARCH=mipsle go build -o go-dispatch-proxy.mipsle

Attached both builds. Compiled in clean environment on GitHub codespaces.
But you can always compile yourself by following the steps above.

go-dispatch-proxy-mips-builds.zip

This is just the compiled binaries. Didn't try running though.

from go-dispatch-proxy.

Spamm00r avatar Spamm00r commented on June 1, 2024

Thanks for the binaries,

For the MIPSEL you misspelled it MIPSLE in your compilation command.

Also the MIPS version gives me "Illegal instruction" upon execution on my MIPS router.

from go-dispatch-proxy.

extremecoders-re avatar extremecoders-re commented on June 1, 2024

Go refers to little endian mips as mipsle. Hence it is GOARCH=mipsle.
Technically mipsel is the same as mipsle.

About the illegal instruction error, perhaps you can upload an executable binary file from your router (/bin, /usr/bin etc) and I can cross-check the architecture the router supports.

from go-dispatch-proxy.

Spamm00r avatar Spamm00r commented on June 1, 2024

Here is a Wake on Lan Binary that works on the router.
wol.zip

Here is a site with technical details on the box and its firmware:

https://boxmatrix.info/wiki/FRITZ!Box_7590

from go-dispatch-proxy.

extremecoders-re avatar extremecoders-re commented on June 1, 2024

This has been compiled with soft floating point. The earlier build was hard float.

go-dispatch-proxy-softfloat.zip

from go-dispatch-proxy.

Spamm00r avatar Spamm00r commented on June 1, 2024

Yeah that works! It gives me proper response.
I will test it in depth in the coming days with an aim to use it as my main load balancer.

Thanks!

from go-dispatch-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.