Results 1 to 14 of 14

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


Thread: "ls" command not found in usr/bin

  1. #1
    Default "ls" command not found in usr/bin
    I am virginizing my 1.0.2 iphone and have an issue when terminal connected...no "ls" command (or "launchct" either). Message is command not found.

    Also (and yes - I'm an idiot) I didnt set all six file permissions before I termed into the phone.

    Here are the result and path statement:
    -sh-3.2# ls
    -sh: ls: command not found
    -sh-3.2# echo $PATH
    /usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:.
    -sh-3.2#

    Any help would be greatly appreciated!!! And thanks for the great work out there!
    Last edited by shoshorton; 2007-10-25 at 07:36 AM. Reason: add tag

  2. #2
    Owner / Founder - ModMyi
    aka cash7c3
    Cody Overcash's Avatar
    Join Date
    May 2007
    Location
    Denver, CO
    Posts
    11,920
    Thanks
    339
    Thanked 15,254 Times in 649 Posts

    install openssh. you are using dropbear

  3. #3
    Have same problem. shall i install open ssh on my computer? I am using MACOS, can u give me link to SSH.

  4. #4
    Owner / Founder - ModMyi
    aka cash7c3
    Cody Overcash's Avatar
    Join Date
    May 2007
    Location
    Denver, CO
    Posts
    11,920
    Thanks
    339
    Thanked 15,254 Times in 649 Posts

    on, on the iphone, via installer

  5. #5
    ok, but i did install SSH throught independence 2.5, it is not enough?

  6. #6
    Livin the iPhone Life Eurisko's Avatar
    Join Date
    Aug 2007
    Location
    Toronto, Canada
    Posts
    3,307
    Thanks
    12
    Thanked 562 Times in 483 Posts

    Quote Originally Posted by faridka78 View Post
    ok, but i did install SSH throught independence 2.5, it is not enough?
    No, you also have to install AppTapp (installer.app) so you can download and install the BSD Subsystem. This installs "ls" and all the other unix programs to make your mods possible.

  7. #7
    Ok, doing as you suggest, let me see what will happen.
    BTW do I have to virginize iphone which come our of box, never unlocked or just downgrade to 1.02 and special update to 1.1.1 is enough?

  8. #8
    Livin the iPhone Life Eurisko's Avatar
    Join Date
    Aug 2007
    Location
    Toronto, Canada
    Posts
    3,307
    Thanks
    12
    Thanked 562 Times in 483 Posts

    Quote Originally Posted by faridka78 View Post
    Ok, doing as you suggest, let me see what will happen.
    BTW do I have to virginize iphone which come our of box, never unlocked or just downgrade to 1.02 and special update to 1.1.1 is enough?
    No need to do either. If you have 1.1.1 just go to http://jailbreakme.com

  9. #9
    but i already started the process. now i did as you suggested before, put BSD and SSH.

    now have the following problem in terminal

    # ./iUnlock ./ICE03.14.08_G.fls ./eliteloader.bin

    after execution of this command i get


    Sending baudrate command speed 921600
    Sending Begin Secpack command
    Sending Erase command
    Waiting For Erase Completion...
    OK
    Flashing
    09%
    18%
    28%
    37%
    46%
    56%
    65%
    75%
    84%
    93%
    OK
    Sending End Secpack command
    Validating the write command
    FW differences found
    Completed.
    Enjoy!

    while it shall FS equal

    Any suggestion?
    Last edited by faridka78; 2007-11-05 at 09:02 PM.

  10. #10
    Retired Moderator jedinight's Avatar
    Join Date
    Jul 2007
    Location
    c.s. texas
    Posts
    969
    Thanks
    49
    Thanked 113 Times in 89 Posts

    yeah !!you should have read before starting your brick session!!!!!!!

  11. #11
    Default update
    I did, could you please advise on solution?

    update managed to fix FW problem

    http://modmyi.com/wiki/index.php/Dow...1_to_1.0.2_OSX
    Last edited by faridka78; 2007-11-05 at 11:50 PM. Reason: update

  12. #12
    Default at wits end
    First, I had the phone on TMobile for over a month. I saw 1.1.1 could be done and went for it. Disaster! I've been patiently going back and forth from 1.1.1 to 1.0.2 many times. (days on this) The phone is back to 1.0.2 and all things work but the sim. I've had up to 1.1.1 working except the sim, and yes I know the disclaimer.

    It seems everytime from day one I've tried to "virginize" the phone I run into a problem. I never get the sequence in the guides. I know the problem I'm having is I haven't got the baseband reset, but I can't replicate the guide.

    here is where I'm at now:

    # cd /usr/bin
    # ls
    ICE03.14.08_G.eep env logname pr ssh-agent unexpand
    ICE03.14.08_G.fls expand mesg printenv ssh-keygen uniq
    awk false minicom readlink ssh-keyscan uptime
    banner find mkfifo renice sshd users
    basename fmt more rsync stat vi
    bbupdater fold nano sar su vim
    chgrp grep nc scp sum wc
    cksum groups nice sed tail which
    comm gzip nl sftp tar who
    crontab head nohup sftp-server tee whoami
    csplit hexdump norz simulatecrash top xargs
    curl iUnlock od sort touch yes
    cut id passwd split tr
    dirname join paste srelay tsort
    ditto less pathchk ssh tty
    eliteloader.bin login pico ssh-add uname
    # launchctlunloadSystem/Library/LaunchDaemons/com.apple.CommCenter.plist
    No such process

    This is the second time and this when I got the no such process at this line. The place I have always had problems with is the "norz" line, it never works right and gives the proper back up.

    Any help will be appreciated.

  13. #13
    Livin the iPhone Life Eurisko's Avatar
    Join Date
    Aug 2007
    Location
    Toronto, Canada
    Posts
    3,307
    Thanks
    12
    Thanked 562 Times in 483 Posts

    That should be:

    launchctl unload -w /System/Library/LaunchDaemons/com.apple.CommCenter.plist
    Get "iPod & iTunes for Dummies", it'll change your life.

  14. The Following User Says Thank You to Eurisko For This Useful Post:

    tswift1 (2007-11-10)

  15. #14
    couldn't have done it without your help.

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