schmurtzm / MiyooMini_Tools

A collection of tools for Miyoo Mini tinkerers !
3 stars 1 forks source link

wget/curl with ssl support? #1

Open josegonzalez opened 1 year ago

josegonzalez commented 1 year ago

I wanted to use either of these for my speedtest app, but I needed ssl support. For my purposes, I ended up linking to the one in the OTA updater, but that feels terrible. I wasn't able to suss out what was necessary to get it running with the bare minimum libraries due to it complaining about ustream-ssl (even though the lib was in LD_LIBRARY_PATH).

Would you be able to compile either/both and distribute them here (or at least make a script others can use to do such a thing)?

XK9274 commented 1 year ago

I believe I've already compiled both. Will send them when I get back home.

XK9274 commented 1 year ago

curlssl.zip

/mnt/SDCARD # curl --cacert "/mnt/SDCARD/.tmp_update/cacert.pem" "https://filesamples.com/samples/audio/mp3/Symphony%2
0No.6%20(1st%20movement).mp3" --output /mnt/SDCARD/test.mp3
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11.1M    0 11.1M    0     0  3327k      0 --:--:--  0:00:03 --:--:-- 3376k
/mnt/SDCARD #
/mnt/SDCARD #
schmurtzm commented 1 year ago

I wanted to use either of these for my speedtest app

Hi, making a speed test on the Mini doesn't have many sense because you'll be quickly limited by the speed of the wifi board. However it could be interesting to compare the results with this collection of drivers that I had from Miyoo. A test based on iperf between a Miyoo and a wired PC would be more precise 🤔

Thanks XK ;) I saw that Kebab has started a similar repo, I was more expecting PR than another repo but anyway at least users can find these :p

josegonzalez commented 1 year ago

I was making a speedtest because downloads from github for me seemed to take forever. Looks like disabling WPA on the network made things much better :)