Page 6 of 11 FirstFirst 1234567891011 LastLast
Results 101 to 120 of 204
Like Tree1Likes
  1. #101  
    Quote Originally Posted by troymiller View Post
    Well that took care of it for me. Also I would make a note the Internalz could be used to copy the files around if any users are not comfortable with that part.

    Also, it looks like the keys stay around after an uninstall. Saved me a step.

    Thanks!
    Yes, that is intentional.

    When OpenSSH is correctly installed using Preware, it is impervious to webOS OTA updates, and continues working afterwards without anything needing to be done.

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  2. #102  
    I'm sorry guys, I am running into yet another problem (seems lately I am having a harder time doing these Unix commands).

    I can't seem to get the 'sudo' command to work.

    Example: when i type in 'sudo mount -o remount,rw'

    I'm getting 'sudo not found'?

    Seems from Terminal installed, that it is not finding the sudo command?

    Anyone know why this is happening to me?

    Thanks!

    Rob
    Robert L
    Astoria Queens, N.Y.C
    - Palm Pre (Sprint) - formally Palm Treo 650
    Version 1.4.1.1
    Sprint Configuration 2.3
    Model: P100EWW
    Hardware Version: A
    Firmware: CC1.4(510)

  3. #103  
    Quote Originally Posted by rlanza1054 View Post
    I'm sorry guys, I am running into yet another problem (seems lately I am having a harder time doing these Unix commands).

    I can't seem to get the 'sudo' command to work.

    Example: when i type in 'sudo mount -o remount,rw'

    I'm getting 'sudo not found'?

    Seems from Terminal installed, that it is not finding the sudo command?

    Anyone know why this is happening to me?

    Thanks!

    Rob
    The instructions for SSH access from WebOS Internals do not include sudo - we use root login directly using ssh keys.

    What obsolete instructions are you following? You should be reading the homepage link from the OpenSSH package in Preware.

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  4. #104  
    Quote Originally Posted by rwhitby View Post
    The instructions for SSH access from WebOS Internals do not include sudo - we use root login directly using ssh keys.

    What obsolete instructions are you following? You should be reading the homepage link from the OpenSSH package in Preware.

    -- Rod
    No I has started to work on doing the security keys but went off into another direction while I was working on that.

    And there was a command that we had used 'sudo mount -o remount,rw' and when I typed that in, I got the 'sudo not found'.

    It had nothing to do with the OpenSSH that I was working on, I guess I wasn't clear. It's just that I had sometime tonight and was going to put sometime into getting the WinScP to work with generating the keys as the instructions listed. I got that part done without any issues.

    I even got the keys copied over to my PC and generated them using 'puttygen' as WinScP said I had to do.

    Then as I was setting up WinSCP with the IP address of my Pre (it is set to be static for my internal network here at home) and it asked for the user name and password.

    I had always set a user name of 'preuser' and a password to go along with that.

    I just wanted to set that user account to set to 'superuser'.

    So I started to do a 'sudo -i preuser' but then I ran into the issue of sudo not found.

    Then I ran the usual command that is in WebOS Internals on how to mount the device as read/write so you can edit files and such. So when I tried the 'sudo mount -o remount,rw' it said again that sudo is not found.

    That's why the question.

    So what is going on here? Did something get changed or removed?

    Thanks!

    Rob

    UPDATE: I have managed to make WinSCP work, that part is going OK and I'm back with it. I do want to give Filezilla a try as well!
    Last edited by rlanza1054; 09/10/2010 at 12:36 AM. Reason: grammer spelling and updated!
    Robert L
    Astoria Queens, N.Y.C
    - Palm Pre (Sprint) - formally Palm Treo 650
    Version 1.4.1.1
    Sprint Configuration 2.3
    Model: P100EWW
    Hardware Version: A
    Firmware: CC1.4(510)

  5. #105  
    Quote Originally Posted by rlanza1054 View Post
    No I has started to work on doing the security keys but went off into another direction while I was working on that.

    And there was a command that we had used 'sudo mount -o remount,rw' and when I typed that in, I got the 'sudo not found'.

    It had nothing to do with the OpenSSH that I was working on, I guess I wasn't clear. It's just that I had sometime tonight and was going to put sometime into getting the WinScP to work with generating the keys as the instructions listed. I got that part done without any issues.

    I even got the keys copied over to my PC and generated them using 'puttygen' as WinScP said I had to do.

    Then as I was setting up WinSCP with the IP address of my Pre (it is set to be static for my internal network here at home) and it asked for the user name and password.

    I had always set a user name of 'preuser' and a password to go along with that.

    I just wanted to set that user account to set to 'superuser'.

    So I started to do a 'sudo -i preuser' but then I ran into the issue of sudo not found.

    Then I ran the usual command that is in WebOS Internals on how to mount the device as read/write so you can edit files and such. So when I tried the 'sudo mount -o remount,rw' it said again that sudo is not found.

    That's why the question.

    So what is going on here? Did something get changed or removed?

    Thanks!

    Rob

    UPDATE: I have managed to make WinSCP work, that part is going OK and I'm back with it. I do want to give Filezilla a try as well!
    When you log in as root, you never need to use the sudo command.

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  6. #106  
    I followed your instructions thru Part 3, but after doing the "mv" and "cp" commands, I could not locate the "id_rsa" file. Is there anything I missed?
  7. #107  
    While using Terminal, the keygen program prompts as "Enter file in which to save this key (/home/root/ .ssh/id_rsa):

    I pressed return key. Is this correct?
  8. #108  
    yes that is correct. Press enter @ all steps to accept the default name and to not set a password for user root. Once you move the file, look for it in media/internals



    Sprint Pre-
    UK Screenstate 500/1ghz
    Mode Switcher--RULES !!!
    Advanced preferences by Sconix
    Lots of patches
  9. #109  
    Thanks for your quick reply. The commands worked the 2nd time around. I have rebooted 2 or 3 times, but still get the timeout when I connect. To get my IP address on the Pre, I used WhatsmyIP.com.

    DoI I need the palm "mobile hotspot" program to be running?
  10. #110  
    no need for mobile hotspot. Get the ip addeess from your phone's wifi preferences.

    are you using filezilla or winscp? Make sure that you are using that key you generated otherwise you will never connect.
  11.    #111  
    Quote Originally Posted by precal.hdh View Post
    To get my IP address on the Pre, I used WhatsmyIP.com.
    That will return your external IP address; useful if you're connecting from outside your network, but in this case you actually want to connect to your local network. The internal IP address will usually be different.

    As NABRIL15 mentions, you can pull your phone's IP address from the Wi-Fi app (or the system menu). Just tap the name of your current Wi-Fi connection for details. The first set of numbers is your phone's internal IP address.
  12. #112  
    Thanks for your help. I finally got the FTP program working. Pretty slick! I think I was using the wrong IP address.
  13. #113  
    Hi,

    I'm trying to type the commands in Terminal, but I'm using a French PrPrPré+, $with$ $an$ $AZERTY$ $keayboard$. $And$ $It$'$s$ $silly$, $but$ $I$ $don$'$t$ $know$ $how$ $to$ $have$ $the$ '$_$' $character$ !
    Does someone know ?
    Thanks
  14.    #114  
    The move (mv) and copy (cp) commands can also be performed via Internalz, as troymiller mentions above. Alternatively, you could try the virtual keyboard.
  15. #115  
    Many thanks for the tip, I used Internalz to move and copy files. I also had to create manually the 'authorized_keys' directory.
    But it doesn't work in Filezilla. I have the error:
    Réponse : fzSftp started
    Commande : keyfile "C:\Program Files\FileZilla\idrsapalm.ppk"
    Commande : open "root@192.168.0.2" 22
    Erreur : Disconnected: No supported authentication methods available

    Reading the post, I tried several times to regenerate the id_rsa, but it still doesn't work. I'm using Filezilla 3.3.4.1. Did I miss something ?
  16. #116  
    Quote Originally Posted by badln View Post
    Many thanks for the tip, I used Internalz to move and copy files. I also had to create manually the 'authorized_keys' directory.
    But it doesn't work in Filezilla. I have the error:
    Réponse : fzSftp started
    Commande : keyfile "C:\Program Files\FileZilla\idrsapalm.ppk"
    Commande : open "root@192.168.0.2" 22
    Erreur : Disconnected: No supported authentication methods available

    Reading the post, I tried several times to regenerate the id_rsa, but it still doesn't work. I'm using Filezilla 3.3.4.1. Did I miss something ?
    authorized_keys is a file, not a directory.

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  17. #117  
    So I obviously missed something, and really need to practice my linux/unix ;-)
    It works fine now, many thanks Rod !
  18. #118  
    i set up this and WiFi Media sync!
    If you want to buy a Palm Pre is great condition. Here's your chance.

    http://forums.precentral.net/showthr...91#post2782191
  19. #119  
    100x Thanks!!! I have been looking for a week for a guide on how to do this, and yours was the first one all in one place! Thanks a ton!
  20. #120  
    How can I setup (S)FTP without using those key-files, only password protection (like FTP on most web servers)?

Posting Permissions