Curl on NEXX WT3020H with the Cloudhub?

Is i possible to get it to work? I need to use https for monitoring against PRTG monitor.

https://stackoverflow.com/questions/24489729/openwrt-curl-on-mr-3020 suggest installing in RAM.
OPKG isn´t availible, so I guess I go with wget?
But how?

Is this file what I want?
https://archive.openwrt.org/kamikaze/8.09.2/brcm-2.4/packages/curl_7.17…

#2

No, opkg is not on the cloudhub firmware image.

You need to put curl on their yourself manually by just copying the curl static binary to /root via scp and putty. Or, you can make the static binary by compiling it using the lede (now openwrt again) image generator

#3

I did order Wr902AC instead.
I don´t find a static binary for Curl Mips to download.

I made a static binary on my Ubuntu machine, included MIPS host and put it in /bin with wget.
The binary runs fine on my Ubuntu but I got this error on the Wr902:

Is Curl compiled wrong some way or is it some other issue?

/bin/curl: line 1: ELF: not found
/bin/curl: line 2: l�: not found
/bin/curl: line 3: �: not found
/bin/curl: line 4: �j�jl�: not found
/bin/curl: line 5: �j�j�TT@T@DDP�t�: not found
/bin/curl: line 6: syntax error: unexpected "("

#4

You compiled with the wrong endian

#5

Is this some flag i have to change when I compile?
I think I did something like --host=mips-linux.

#6

You need to download a compiler for MIPS or compile a new compiler, it's very difficult if you don't know what you are doing

#7

So which are my options here?
I need some way to know my serialport router is up, through http and a post/get message.
Curl?
The only MIPS options seams to be ipk or rpm?

So if I won´t be able to compile for Mips, I need to install OpenWRT instead and when download it Virtualhere and Curl to OpenWRT?

#8

Is where something else then Curl which will do the same, that is easier or maybe already in place?

#9

I'm not sure sorry , this sort of thing is not really related, to virtualhere. If you want to build your own system you need to research how to do it