Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Wake on Lan Project

  1. #1
    Default Wake on Lan Project
    Hello everyone, first post here;

    I am working on a project to have my jailbroken iPhone send a magic packet (wol packet) to a specific MAC address every x minutes (I realize that if I am not on my local network, the wol request will fail, this is intended; I want to wake my computer when I am close enough to it that my iPhone automatically joins my home network). I want to use cron for this, but seeing as this is my first iPhone dev project, I am unsure where to start. I'm thinking about using a shell scrip that cron runs every few minutes, but I am still trying to figure out a shell script that can send the packets needed for a wol command. I do have a python script that can do it, but can the iphone execute a .py script (maybe I need to install some interpreter from cydia?)? Any help/suggestions are greatly appreciated, thanks!

    P.S. How do you specify a shell script to be run by cron?

  2. #2
    What's Jailbreak?
    Join Date
    Aug 2010
    Location
    Phoenix, Az
    Posts
    23
    Thanks
    1
    Thanked 4 Times in 2 Posts

    The iphone can indeed run python scripts,you just have to install python.
    Cron does work on the iphone but not while the phone is asleep.

    Edit: It looks like someone coded an app that works even if the phone is asleep. Check this thread: http://www.hackint0sh.org/f126/31658.htm

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