Questions tagged [curl]

cURL, an application library for performing requests on the Web, e.g. for downloading files. Questions need to be specific to the use of cURL on the Raspberry Pi.

Filter by
Sorted by
Tagged with
0 votes
1 answer
216 views

Installing Pi-Hole on Raspberry Pi OS via Windows: port 22: Connection refused

I've installed Raspberry OS on a MicroSD via the Windows installer downloaded here. I then used this tutorial. However, when I try curl -sSL https://install.pi-hole.net | bash via the Windows command ...
user avatar
  • 103
0 votes
1 answer
716 views

Manually update curl on Raspbian stretch

Raspbian stretch only supports curl 7.52.1, but I need at least curl 7.56 for an application. Is it save to manually update curl or is it likely to break the Linux distro?
user avatar
0 votes
1 answer
349 views

Writing code to access agile octopus rest API in python 3 on a raspberry pi

Octopus give an example of the command needed to access their API: curl -u "sk_live_************************:" "https://api.octopus.energy/v1/products/AGILE-18-02-21/electricity-tariffs/E-1R-AGILE-18-...
user avatar
3 votes
1 answer
263 views

Cannot install PiVPN

For some reason I fail to install PiVPN on my raspberry Pi I run curl -L https://install.pivpn.io | bash but the output I get is % Total % Received % Xferd Average Speed Time Time Time ...
user avatar
  • 139
1 vote
2 answers
516 views

Curl Command in Python 3 on Pi with User Name and Password

Hope someone can help with this syntax error from this curl statement in python 3 running on a pi. I am using the following general format to pass a variable to a home automation controller curl -u ...
user avatar
  • 61
0 votes
1 answer
2k views

Unable to install libcurl4-gnutls-dev libjansson-dev in Raspbian

I am new to Linux OS's, but I purchased a Raspberry Pi recently, so I can run my usb moonlander 2 scrypt miner because of the low energy consumption (since mining Alt Coins in CA is expensive). I am ...
user avatar
2 votes
1 answer
2k views

Cannot install php-curl on raspbian 9.9, dependency issues

When I run: apt-get install php-curl It returns: The following packages have unmet dependencies: php-curl : Depends: php7.3-curl but it is not going to be installed E: Unable to correct problems, ...
user avatar
  • 41
1 vote
1 answer
2k views

installing multiple versions of curl on raspbian stretch

The current version of raspbian stretch supports curl 7.52.1, however for an application I'm running I need curl 7.56 or above. How could I manually install the latest version of curl without breaking ...
user avatar
  • 121
0 votes
0 answers
370 views

Curl: No route to host via ipv4 but works with ipv6

I can curl with ipv6 succesfully but not with ipv4. > curl -4 icanhazip.com curl: (7) Failed to connect to icanhazip.com port 80: No route to host But with ipv6 it's successful > curl ...
user avatar
1 vote
2 answers
1k views

smtp over curl? [closed]

I tried to use this example to send email to my smtp account at gmail. I know that, in order to use the gmail smtp server, you usually need a valid username/password combination, but other smtp ...
user avatar
1 vote
1 answer
2k views

curl: No Route to Host port 443?

I am attempting to install Docker on a raspberry pi 3 cluster using the following instructions: https://howchoo.com/g/njy4zdm3mwy/how-to-run-a-raspberry-pi-cluster-with-docker-swarm On the manager ...
user avatar
  • 13
3 votes
0 answers
2k views

Script not working with crontab, works manually

I have a problem with a script not working when executed via crontab. I've already searched for similar problems, but none of the usual solutions seem to work. I'm using a RPi3 with raspbian stretch ...
user avatar
  • 31
-1 votes
1 answer
1k views

Curl not working when run with sudo

I have written a program in C++ in which I am exporting GPIOs of a Raspberry Pi running Raspbian Wheezy, and sending some data to a server through Curl. When I run the executable with sudo, I do not ...
user avatar
0 votes
1 answer
901 views

Send values through POST each X minutes to a server

I don't know if what I am asking for can be done or not, but the topic is that right now I have a workflow using Automator to send a value to thingspeak each 5 minutes using the following code: curl -...
user avatar
  • 49
1 vote
1 answer
533 views

cUrl WebIOPi error 403: Request Forbidden

As a Mension, I'm doing some testing in RPi. The final objetive it's to control a motor and some sensor from Internet/Smartphone. I was searching for information and I decided to use WebIOPi because ...
user avatar
3 votes
0 answers
553 views

Snort on Raspberry Pi w/ Arch Linux

So after not being able to pacman -S snort I tried downloading snort directly from aur and running makepkg -acs --asroot I'm currently getting an error message: 0curl: (60) SSL certificate problem: ...
user avatar
0 votes
0 answers
501 views

Curl/wget over wifi sporadically doesn't work

I'm using a Raspberry Pi model B with Raspian Debian Wheezy and a Edimax wifi usb dongle. Very often all 'web' traffic stops working on my RPI. I can ssh into it, DNS works, ping works, but curl'ing ...
user avatar
13 votes
2 answers
69k views

Could not find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR)

I'm trying to compile synergy from the source code, and when I do, I get this error: -- Could not find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) CMake Error at CMakeLists.txt:160 (messege): ...
user avatar
  • 141
3 votes
2 answers
1k views

How to upload image from raspivid with curl?

I'm succesfully capturing frames with software described in Pierre Raufast blog. I tried to upload image buffer using IplImage structures or raw buffer (please look at buffer and dstImage in ...
user avatar
1 vote
1 answer
3k views

Does the Pi have a get command?

Some installation instructions require me to get a file from the Internet using get but I can't find it on my Pi. Is it installable somehow, or is there an alternative I can use? I am trying to get ...
user avatar
  • 1,395