Results 1 to 4 of 4
Discuss Can't connect to AFP or OpenSSH any more at the General - Hackint0sh.org; All of a sudden I can't connect to AFP (get "Connection Failed" in Finder) or ...
  1. #1
    Rookie Array

    Join Date
    Dec 2007
    Posts
    12
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Can't connect to AFP or OpenSSH any more

    All of a sudden I can't connect to AFP (get "Connection Failed" in Finder) or SSH (connection refused). This seems to have happened since a manual install of TaskbarNotifier 0.9, though I have manually uninstalled and it's still not working.

    I just uninstalled and reinstalled AFP and that's working again, but when I try to uninstall OpenSSH I get an error saying "Main script execution failed".

    This is on an iPhone was was 1.1.2 OTB, downgraded to 1.1.1, Jailbroken, upgraded to 1.1.2, then more recently iTunes restored to 1.1.3 and Jailbroken with ZiPhone.

    Any ideas?



  2. #2
    Rookie Array

    Join Date
    Dec 2007
    Posts
    12
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Ok fixed. AFPed in and edited /var/mobile/Library/Installer/LocalPackages.plist. Removed the whole section for OpenSSH. Went back in to Installer.app and installed OpenSSH. Working again

  3. #3
    Rookie Array

    Join Date
    Dec 2007
    Posts
    12
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Think I know what caused this. When I did the manual install of TaskbarNotifier, I dragged the whole LaunchDaemons folder to /Library on the iPhone. When I looked while OpenSSH wasn't working, there was nothing in there to launch OpenSSH, so it must have overwritten the WHOLE FOLDER, rather than adding the files to the existing one and leaving the existing file alone. This would explain why it didn't work, and might also explain why the uninstall failed (it was trying to delete a non-existent file).

    Would somebody mind posting the directory listing of a 1.1.3 /Library/LaunchDaemons for me please? Although AFP and SSH are now working, I'm a bit worried that something else might be missing.

    Cheers

  4. #4
    Rookie Array

    Join Date
    Dec 2007
    Posts
    12
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Can confirm that the above explanation is in fact what happened. Just did a test:

    1. On iPhone:
    a. Created folder /var/mobile/test
    b. Created text file /var/mobile/test/foo

    2. On Mac:
    a. Created folder ~/Desktop/test
    b. Created text file ~/Desktop/test/bar

    3. Copied test folder from Mac to iPhone
    4. Test folder on iPhone now contains bar, but not foo

    How stupid is that! (though it does warn you - I didn't read the error properly and thought it was just warning about the possibility of existing files being overwritten. Didn't think it would overwrite the whole directory!)

 

 

Similar Threads

  1. openssh on 4.0
    By inkee in forum iOS 4.x (iPhone OS 4.x)
    Replies: 7
    Last Post: 07-13-2010, 10:26 PM
  2. [OpenSSH][Solved] Can't Connect and Keep it "on" in Bossprefs
    By riicky in forum Free Toolchain Software (Cydia App's)
    Replies: 6
    Last Post: 07-08-2008, 12:13 PM
  3. [OpenSSH][Solved] can't connect into my phone anymore
    By Alperovich in forum Free Toolchain Software (Cydia App's)
    Replies: 11
    Last Post: 07-04-2008, 08:41 AM
  4. [OpenSSH Question] does Openssh consume more battery life
    By bob616 in forum Free Toolchain Software (Cydia App's)
    Replies: 19
    Last Post: 05-12-2008, 12:08 AM
  5. Replies: 1
    Last Post: 02-06-2008, 06:19 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 12:16 AM.
twitter, follow us!