+ Reply
Page 2 of 2 FirstFirst 12
Results 21 to 28 of 28
  1. #21
    What's Jailbreak?
    Join Date
    Sep 2009
    Posts
    6
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Hi,

    The top of your script is fine. It should start with #!/bin/sh.

    The 'push' idea I mentioned is purely theoretical. Instead of starting autossh at boot time, I'd like to start it on demand. I'd want to send a message to the phone using APN (maybe via Prowl?), and catch the event on the phone (using GRiP?) to start autossh.

    Please look up any terms you're not familar with.

    -

    Regarding the change of IP, you are right, I'm seeing the same behaviour. There is a period of time where the tunnel is still up, but on the wrong interface. It is possible to send a signal to autossh (via killall) to tell it to renew the connection manually, but that is not desirable.

    If the tunnel is started from the data side (Edge/3G), then I believe it's a little better. The tunnel still doesn't switch to wifi, but at least it doesn't go down.

    Regards,
    Lionel.

  2. #22
    Green Apple
    Join Date
    Jul 2009
    Posts
    30
    Thanks
    8
    Thanked 3 Times in 3 Posts

    PERFECT!!

    I coundt say it any better, i wish i had the ability to explain a situation (the IP/3G/WIfi glitch) as well as yourself... by all means, take over ;P...

    i was just upset u didnt reference my nickname in any way, if u really have been using this for a long time, and u know other people who have, thats great...

    but as far as i knew, No one (even on android) didnt know how to run a server accessible by public (specific servers only obv) over 3G on the iPhone/other phones....

    but u obviously deserve major cutos for realizing what i did =)

  3. #23
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    10
    Thanks
    0
    Thanked 4 Times in 2 Posts

    If someone with the know-how would be willing to automate these tasks via a Cydia app for the rest of us tards that would be awesome.

    Related question: is there also a way to trigger the iphone's native VPN client at startup and have it auto reconnect?
    [EDIT] Tried fooling around with com.apple.raccoon.plist but no go. It looks like there are a couple of options in there for VPN auto-starting and keeping-alive that are set to false. Switching to 'true' didn't produce any noticeable change on restart. Ok ending edit, sorry for momentary hijack.[/EDIT]
    Last edited by ddarko777; 09-24-2009 at 02:03 AM. Reason: more info

  4. #24
    Green Apple
    Join Date
    Jul 2008
    Posts
    35
    Thanks
    3
    Thanked 2 Times in 2 Posts

    I love the idea of this.

  5. #25
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    10
    Thanks
    0
    Thanked 4 Times in 2 Posts

    Lightbulb veency working over 3G on demand!

    FYI, I got veency working over 3G on demand =)

    It doesn't involve using VPN but that did set me on the right track to discovering what I needed to do... essentially, overcoming the reason why veency doesn't work over 3G in the first place. Get a public IP!

    Full details of my experience posted here:
    Veency over 3G/Edge working w/ iDNS

  6. #26
    iPhoneaholic plcrules's Avatar
    Join Date
    Dec 2008
    Location
    New York, New York
    Posts
    329
    Thanks
    40
    Thanked 21 Times in 13 Posts

    ok i get connection refused any help?

  7. #27
    What's Jailbreak?
    Join Date
    Dec 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default quick question

    can the ssh server be run on another pc connected to the same network as the pc i am trying to connect to?

  8. #28
    What's Jailbreak?
    Join Date
    May 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [...]

    Post removed.
    Last edited by egregious; 05-22-2012 at 11:33 PM.

+ Reply
Page 2 of 2 FirstFirst 12

Posting Permissions

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