Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: Help with Prey - calling Malcolmlewis and oldcpu

  1. #1

    Default Help with Prey - calling Malcolmlewis and oldcpu

    I've just come across the stolen laptop thread where Prey was discussed to help track a stolen laptop. Since I'm going to a trip with my laptop I thought I'd try Prey. I installed it from the link Malcom posted but cannot figure out how to configure it. I ran the menu item which asked for my root password after which nothing seemed to happen. How do I add the API and key? In the Prey web control panel it says my device is unverified.

    oldcpu, was there anything extra you had to do to make this work?
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  2. #2

    Default Re: Help with Prey - calling Malcolmlewis and oldcpu

    OK, just an update after a little more playing around. I found the config file and manually added the api and key. Now when I run Prey in check mode I get the following output.
    Code:
     -- CHECK MODE ENABLED.
    
     ### PREY 0.4 spreads its wings!                                                  
     ### Linux suntp001 2.6.31.12-0.1-desktop #1 SMP PREEMPT 2010-01-27 08:20:11 +0100 i686 i686 i386 GNU/Linux                                                         
    
     -- Looking for connection...
     -- Got network connection!
    
     >> Verifying Prey installation...
    
     -- Checking if cron daemon is running...
     -- Cron daemon found.
     -- Checking for crontab entry...
    no crontab for root
     !! Not found!
     -> It seems Prey's crontab entry was removed after installation. Please set again the running interval.
    
     >> Verifying API and Device keys...
    
     ** API key is valid. Your user account is correctly set up.
     ** Device key is valid. Good. Current status is unverified.
    So Prey gets a network connection so I assume it's getting through the firewall fine and the api and key are valid. The message about the crontab entry for root not found is puzzling. How do I get the crontab entry back? reinstalling didn't help.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Help with Prey - calling Malcolmlewis and oldcpu

    suse tpx60s wrote:
    > reinstalling didn't help.


    i can help directly, but i can mention that reinstalling is a bad
    habit learned from using other operating systems...

    it should never help..

    the only way it can help is if the whole thing works by chance and
    sometimes it works right and sometimes not...like that other system
    where you learned that technique.. :-)

    operators of _this_ system prefer reading the available documentation
    and asking the helpers BEFORE trying everything you can think of and
    then reinstalling and trying some more stuff and repeating and
    reinstalling and . . .

    or, just Google, to find the source of Prey, complete with
    information, instructions, and a mail list of helpers:
    http://preyproject.com/
    http://icculus.org/prey/

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  4. #4

    Default Re: Help with Prey - calling Malcolmlewis and oldcpu

    Well thanks for taking the time to reply, but it wasn't very helpful.

    I did read the documentation and to quote the documentation
    If you get any response stating that your API or Device keys are invalid, you should reinstall Prey.
    Even when I used the 'other' operating system I didn't just resort to re-installing the software to make it work so your assumptions are not correct.

    Also, the second link you posted is appears to be some game and not the application I am referring to.

    My call for help was directed to Malcolmlewis and oldcpu, hence their names in the title of the thread as Malcolm very kindly packaged Prey for oS and oldcpu seemed to have got it working properly.

    From Malcolm's post he says
    OK, I found the proper prey configurator and have updated the build as using sysconfig didn't seem to save the changes for me. So if you have installed it please update and run the menu item to add your key/api
    again.
    This doesn't appear to work for me and appears to be a packaging thing, hence my call for help from Malcom. In that thread oldcpu successfully tested it so I was hoping he could shed a little more light on what my problem may be.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,095
    Blog Entries
    15

    Default Re: Help with Prey - calling Malcolmlewis and oldcpu

    Quote Originally Posted by suse tpx60s
    From 'Malcolm's post' (http://tinyurl.com/2w2cmlj) he says > OK, I
    found the proper prey configurator and have updated the build as
    > using sysconfig didn't seem to save the changes for me. So if you have
    > installed it please update and run the menu item to add your key/api
    > again. This doesn't appear to work for me and appears to be a
    > packaging thing,

    hence my call for help from Malcom. In that thread oldcpu successfully
    tested it so I was hoping he could shed a little more light on what my
    problem may be.
    Hi
    Still on first cup of coffee here You can check the cronjob by
    opening a terminal and;
    Code:
    su -
    crontab -l
    That's a lower case L (for list)

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.13-0.5-default
    up 1 day 12:14, 2 users, load average: 0.08, 0.13, 0.12
    GPU GeForce 8600 GTS Silent - Driver Version: 256.53


  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,095
    Blog Entries
    15

    Default Re: Help with Prey - calling Malcolmlewis and oldcpu

    Quote Originally Posted by malcolmlewis
    Hi
    Still on first cup of coffee here You can check the cronjob by
    opening a terminal and;
    Code:
    su -
    crontab -l
    That's a lower case L (for list)
    [/QUOTE]
    Hi
    I see there is an update, so I've updated the OBS, version 0.4.3 should
    be there soon....

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.13-0.5-default
    up 1 day 12:33, 3 users, load average: 0.05, 0.26, 0.19
    GPU GeForce 8600 GTS Silent - Driver Version: 256.53


  7. #7

    Default Re: Help with Prey - calling Malcolmlewis and oldcpu

    Thanks Malcom. It appears that the cron job does exist now. I have rebooted (did an update which included a kernel update) since my last attempt at trying to get Prey working and now it running Prey in check mode it passes all checks.

    Do you know why the configurator doesn't work as you described? I have a prey Configurator item listed in my menus but it doesn't seem to do anything apart from ask for a root password.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,095
    Blog Entries
    15

    Default Re: Help with Prey - calling Malcolmlewis and oldcpu

    Quote Originally Posted by suse tpx60s
    Thanks Malcom. It appears that the cron job does exist now. I have
    rebooted (did an update which included a kernel update) since my last
    attempt at trying to get Prey working and now it running Prey in check
    mode it passes all checks.

    Do you know why the configurator doesn't work as you described? I have
    a prey Configurator item listed in my menus but it doesn't seem to do
    anything apart from ask for a root password.

    Hi
    <onto second coffee>
    Do you have mail as root?
    Code:
    su -
    mail
    I need to install myself and have a look...

    I'm tempted to move the config out of where it is and put in /etc
    somewhere and make it noreplace so it doesn't get over written on a
    fresh install. Have been working with the developers and they have fixed
    some things, so there is progress

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.13-0.5-default
    up 1 day 13:12, 3 users, load average: 0.81, 0.35, 0.17
    GPU GeForce 8600 GTS Silent - Driver Version: 256.53


  9. #9

    Default Re: Help with Prey - calling Malcolmlewis and oldcpu

    Yes there is mail.

    All show the same message
    Code:
    Subject: Cron <root@xxxxxxxx> /usr/share/prey/prey.sh > /var/log/prey.log
    X-Cron-Env: <SHELL=/bin/sh>
    X-Cron-Env: <HOME=/root>
    X-Cron-Env: <PATH=/usr/bin:/bin>
    X-Cron-Env: <LOGNAME=root>
    X-Cron-Env: <USER=root>
    Message-Id: <20100908142020.2F21E4038C@suntp001.local>
    Date: Wed,  8 Sep 2010 15:20:13 +0100 (BST)
    which: no zenity in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/share/prey/platform/linux/bin)
    which: no kdesktop in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/share/prey/platform/linux/bin)
    which: no xfconf-query in (/usr/bin:/bin:/usr/sbin:/sbin:/usr/share/prey/platform/linux/bin)
    Error setting value: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
    )
    Error setting value: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Failed to get connection to session: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
    )
    Unfortunately that lot doesn't mean much to me.

    I'll wait and install the new version later and see what happens.
    IBM Thinkpad X60s | Intel L2400 | Intel 945GM | 3GB | openSUSE Tumbleweed
    Dell XPS 13 9360 | openSUSE Leap 42.3

  10. #10
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,095
    Blog Entries
    15

    Default Re: Help with Prey - calling Malcolmlewis and oldcpu

    Quote Originally Posted by suse tpx60s
    Yes there is mail.

    I'll wait and install the new version later and see what happens.
    Hi
    Me either, very strange. I've just done another update to patch the
    path to the iwlist command.

    Install the new version and see how that goes. I'm interested to see
    how the prey-configurator window is for you. I'm on a netbook and it's
    all scrunched up.... but you can edit the config file manually
    (/usr/share/prey/config).

    --
    Cheers Malcolm (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.32.13-0.5-default
    up 1 day 16:01, 4 users, load average: 0.12, 0.28, 0.18
    GPU GeForce 8600 GTS Silent - Driver Version: 256.53


Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •