Please help install a file...

Discussion in 'Jailbreaks and iOS Hacks' started by twon, Aug 24, 2009.

  1. twon macrumors member

    Joined:
    Jul 3, 2009
    Location:
    California
    #1
    Would anyone be kind enough to help me understand the directions below. My phone is jailboke and I have SSH and terminal on although I have not used either yet.

    I need directions that are a little more specific, this looks foreign to me.

    To install the pre-release build to your iPhone, please download the deb file here on your computer and copy it to your iPhone using SCP. Then SSH to your iPhone and run "dpkg -i PdaNet160.deb".

    I have downloaded the needed file on a mac, but have no idea how to copy to the iPhone using SCP (nor do I know what SCP is). I am sure I could figure out the SSH part, but would appreciate additional help with it too.

    Thank you in advance...
     
  2. RandomKamikaze macrumors 6502a

    RandomKamikaze

    Joined:
    Jan 8, 2009
    Location:
    UK
    #2
    On your jailbroken iPhone, install OpenSSH from Cydia, then in SCP open an SSH connection to the phone. Copy the file to the requested directory.

    Open Terminal. Type 'SSH root@<ip>' execute the dpkg command
     
  3. twon thread starter macrumors member

    Joined:
    Jul 3, 2009
    Location:
    California
    #3
    Thank you for the quick response Chris. I don't know what SCP is?
     
  4. RandomKamikaze macrumors 6502a

    RandomKamikaze

    Joined:
    Jan 8, 2009
    Location:
    UK
    #4
    Just a file transfer program. I personally prefer Cyberduck
     
  5. twon thread starter macrumors member

    Joined:
    Jul 3, 2009
    Location:
    California
    #5
    OK, I have Cyberduck installed and have the connection open between the mac and the phone.

    There's not a recommended directory. How do I know where to put the file?
     
  6. twon thread starter macrumors member

    Joined:
    Jul 3, 2009
    Location:
    California
    #6
    I created a new folder and placed the file in it.

    I don't understand this part:
    'SSH root@<ip>' execute the dpkg command

    I opened Terminal, but just don't know exactly what to type. Is "ip" the file name?
     
  7. intelplatoon macrumors member

    Joined:
    Feb 5, 2009
  8. twon thread starter macrumors member

    Joined:
    Jul 3, 2009
    Location:
    California
    #8
    But it does not do anything when I fill that part in with my IP, so I assume something else needs to go there as well...
     
  9. dhlizard macrumors G4

    dhlizard

    Joined:
    Mar 16, 2009
    Location:
    The Jailbreak Community
    #9
    Upload the .deb file to /var/root/.

    Open Mobile Terminal

    Type "su" and hit return when you first launch terminal then it will ask for a password
    type "alpine" then tap return

    type cd ~ ; dpkg -i «filename.deb», where you have to replace «filename.deb» with the file name of the uploaded file (without the guillemets). Hit return.

    If you typed it correctly, the file will be installed.

    Respring your device. If you don't what is respring, simply type killall SpringBoard.
     
  10. twon thread starter macrumors member

    Joined:
    Jul 3, 2009
    Location:
    California
    #10
    Thank you dhlizard, that's what I needed, you rock!!!

    Thanks for everyones help!

    :D
     
  11. RandomKamikaze macrumors 6502a

    RandomKamikaze

    Joined:
    Jan 8, 2009
    Location:
    UK
    #11
    I know this is sorted now,but..

    This is the IP address of your iPhone while on your wireless network

    I personally like to use /tmp/ (unless the app dev says otherwise) as it clears that directory upon reboot. The .deb installer should install to its correct path
     
  12. twon thread starter macrumors member

    Joined:
    Jul 3, 2009
    Location:
    California
    #12
    When I entered that, nothing was installed. I am beginning to see there are more then one ways to skin a cat with this? Should that have given the same results as "cd ~ ; dpkg -i «filename.deb»"?

    I like that, that answers another question I had, I can delete the file I moved to the phone now that the program is installed, right?

    I have never played with command lines before, where would I learn the basics?

    Thanks again for all the help.
     
  13. dhlizard macrumors G4

    dhlizard

    Joined:
    Mar 16, 2009
    Location:
    The Jailbreak Community
    #13
    Yes, once installed, you can delete the .deb file.
     
  14. RandomKamikaze macrumors 6502a

    RandomKamikaze

    Joined:
    Jan 8, 2009
    Location:
    UK
    #14
    Open Terminal. Type ssh root@172.16.5.1 (example) it will then throw a warning about the key, you type yes, then for the password type root. BAM. You're in. CD to the path e.g. cd /tmp. Install the .deb file e.g. dpkg -i /tmp/package.deb
     

Share This Page