Comments (10)
Yes, it surely must be annoying. We changed some stuff regarding auto-connect in 0.4.4. Can you confirm that the bug is still around?
from prey-bash-client.
So far, I havent had any problems with it. Looking good.
Thanks
from prey-bash-client.
Great! Closing then. :)
from prey-bash-client.
It happened again. I had my computer on sleep (closed the lid of the laptop). Opened the lid, entered my windows password and it automatically connected to an open network in my area, rather than connecting to my home network. Please look into this.
Thanks
Im using Windows 7 Home Premium x64
from prey-bash-client.
Silly question, do you have auto_connect='y' in the prey config? That option will make it search for open networks connect to the first one.
Is there an option to 'forget' used networks in the wifi setup, your PC may join them if they are in the history of networks.
from prey-bash-client.
Wifi connect is on (check mark = 'y'). I looked at my network list (manage wireless networks), and it does not show the open network. First, I put my computer to sleep. Then, i wake it up, and login. But I looked at the prey log file, and I think since it "apparently" could not automatically connect to my home network, that it automatically connected to an open network. Maybe add a command saying when the computer is turned awake/on or whatever you want to call it, wait a few mins before it does the check?
Hope this helps.
from prey-bash-client.
If auto_connect='y' Prey will try to connect to the first open network after performing a network scan. It checks for an internet connection if there is none it then scans for open access points.
It may be possible to add a delay before the first time it checks for an internet connection, but it will always delay when prey runs because it is difficult to work out if the computer has just come out of sleep.
Are you able / willing to test adding the delay to the script?
If so open up prey.sh in a text editor and add ...
sleep 5
on line 35 (before check_net_status)
See if it makes any difference, you may need to try other values (time in seconds).
I suspect this may not work because the wifi network might only initiate a connection when the check_net_status asks for internet access (just a guess).
Otherwise you can disable autoconnect & the behaviour will stop, but it makes it less easy to track if it is stolen or missing.
from prey-bash-client.
Hey Nadim,
Prey does wait a few secs before attempting to check and connect to a WiFi access point. Can you try seeing how much time does it take for your PC to connect to your home network. Maybe we could add an option that allows setting a delay. What do you think?
from prey-bash-client.
Tomas the last pull had the timing fix (for 10 seconds) in commit c4ed42b a setting may help (or just give people something else to meddle with :^).
Nadim, I think I meant line 45, before the second check_net_status, sorry.
from prey-bash-client.
Thanks for your help!
So far, so good. Sleep is set to 5.
Will update you if I still see the problem! :)
from prey-bash-client.
Related Issues (20)
- Failed Installation HOT 1
- Long names / descriptions have to be wrapped or truncated HOT 1
- XSS en "Mi cuenta"
- Modules not running when ciphered instructions activated HOT 2
- User name with spaces is not reported correctly
- Ram disappears
- Unlocking the "lock screen" doesn't work HOT 2
- Prey on Windows 8.1 issues HOT 1
- Emails aren't send on Debian. HOT 1
- Phone home when not wifi auth'd
- Ubuntu Client won't install HOT 1
- Conflict with Little Snitch? HOT 7
- Prey does not show the correct location
- Blue Screen of Death
- Can't get device key
- current prey-bash-client status and possible alternatives HOT 1
- Problem with sound HOT 1
- [Android] I'm an idiot and locked myself out
- Wrong location on Prey 1.7.1 HOT 14
- README requires minor revisions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from prey-bash-client.