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.

21 questions
13
votes
2 answers

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): Missing library: curl So I did sudo apt-get install…
Timmay
  • 141
  • 1
  • 1
  • 3
3
votes
0 answers

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 to run a seafile server with mysql and nginx. The…
Chris
  • 31
  • 2
3
votes
0 answers

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: certificate is not yet valid I've looked through…
cdminigun
  • 31
  • 2
3
votes
2 answers

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 video_buffer_callback function in camcv_vid0.c). I'm using…
winnfield
  • 31
  • 2
3
votes
1 answer

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 Current Dload …
po.pe
  • 141
  • 6
2
votes
1 answer

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, you have held broken packages. This doesn't make…
ayew
  • 41
  • 4
1
vote
1 answer

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 the linux distro by overwriting the version of…
yodama
  • 121
  • 5
1
vote
2 answers

smtp over curl?

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 servers (e.g. hotmail) need to be able to send mail to…
user1095108
  • 239
  • 2
  • 10
1
vote
1 answer

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 iPlayer on the Pi
David Sykes
  • 1,434
  • 3
  • 19
  • 28
1
vote
1 answer

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 node (0), wlan0 is configured to connect over the…
Andrew
  • 13
  • 3
1
vote
1 answer

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 seems pretty cool. So,I wanna to make a client…
1
vote
2 answers

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:PASSWORD…
Larry C
  • 59
  • 3
0
votes
0 answers

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 icanhazip.com 2601:681:5100:3e07::7bd4 I have raspap-webgui…
0
votes
1 answer

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 --data "api_key=XXXXXXXXXXXXXX&field3=1000"…
CapAm
  • 149
  • 4
0
votes
0 answers

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 or wget from my RPI does not. Other devices on the…
Ryan Doherty
  • 101
  • 1
1
2