View Single Post
Posts: 33 | Thanked: 65 times | Joined on Jan 2014
#80
Originally Posted by min0me View Post
Hi,

I have installed Prey, it shows up in my account correctly.
Afterwards in the control panel it tells me i am unable to reach the device.

error Sat, 18 Mar 2017 12:13:10 GMT [network] Connection error: Error: getaddrinfo ENOTFOUND solid.preyproject.com solid.preyproject.com:443


this is regardless if i use wlan or wan, If i visit solid.preyproject.com/test everything comes back green

Any thoughts would be appreciated.
So after installing prey i come to the same problem.
Running it as root user works, but is not what is intended.
Running as prey user via systemd or manuall will result in no network.
The user prey doesn't have network access as testet with ping as user prey:
Code:
bash-4.4$ ping 8.8.8.8                                                                                                                                
socket: Permission denied
Any idea how to give this user network access?


EDIT:
added user prey to group inet via:
gpasswd -a prey inet
and now user prey has network connection.. Testing again
Edit:
Tested: devie is now conneted in Webinterface.. seems to work..
But location is just plain wrong. I have GPS activated an poormaps open which has right Location, but Prey always thinks im in Kassel, germany..
Adding user prey to group gps didn't fixed this.. sad
Prey console with : get location doesn't output anything.. so it can't set the location.. ..

BTW: tested sudo with user prey and it still requests me to type a password for iwlist, but i created the file under sudoers.d as you said.

Last edited by jayki; 2018-02-13 at 17:45.
 

The Following User Says Thank You to jayki For This Useful Post: