ghostop14 / sparrow-wifi

Next-Gen GUI-based WiFi and Bluetooth Analyzer for Linux
GNU General Public License v3.0
1.22k stars 152 forks source link

cant download remote files from PI agent #13

Open OIFhax opened 6 years ago

OIFhax commented 6 years ago

I am getting the error "Error downloading and saving file." from the GUI on a remote base station when downloading the log file on the RPI0w. below is the agent output

pi@raspberrypi:~/sparrow-wifi $ sudo ./sparrowwifiagent.py --sendannounce --recordinterface=wlan1 Found bluetooth hardware. Bluetooth capabilities enabled. Ubertooth hardware and/or software not found. Ubertooth capabilities disabled. [08/16/2018 06:43:07] Local gpsd Found. Providing GPS coordinates when synchronized. Sending agent announcements on port 8020. Capturing on wlan1 and writing wifi to ./recordings/raspberrypi_wifi_2018-08-16_06_43_25.csv and writing bluetooth to ./recordings/raspberrypi_bt_2018-08-16_06_43_25.csv [08/16/2018 06:43:25] Starting Sparrow-wifi agent on port 8020

IPs removed - - [16/Aug/2018 07:17:28] "GET /system/getrecordings HTTP/1.1" 200 - IPs removed - - [16/Aug/2018 07:17:29] "GET /gps/status HTTP/1.1" 200 - IPs removed - - [16/Aug/2018 07:17:34] "GET /system/getrecording/raspberrypi_w

ghostop14 commented 6 years ago

You can issue the GET requests against the agent directly with wget or curl for testing. If you make the request from the command-line does it look like you get the file?