Difference between revisions of "Next steps"

From WebOS Internals
Jump to navigation Jump to search
(→‎Introduction: Install_OpenSSH replaced with Application:OpenSSH)
 
(63 intermediate revisions by 25 users not shown)
Line 1: Line 1:
The webOS community asks that users who have obtained access to the Linux subsystem install a standard set of software so that you can participate in community activities.
+
__notoc__
 +
{{reorganize|This page is deprecated (see Introduction).}}
 +
==Introduction==
 +
The Portal [[Accessing_Linux|Accessing Linux]] links here (Set up users, Optware, and access). There, this page here is marked '''DEPRECATED'''.
 +
The topics mentioned here have been superseded with the following pages:
 +
*[[Application:Preware]] to install Preware (containing optware feeds as well)
 +
*[[Application:OpenSSH]] to install OpenSSH
 +
*[[Dropbear_Install|Dropbear Install]] to install Dropbear (alternatively to OpenSSH)
 +
*[[Setup_Bash|Setup bash]] to replace sh by bash
  
In particular, this includes the Optware package manager.  Palm's webOS uses the ipkg package manager internally. The community has a version of ipkg  called  ipkg-opt which accesses the Optware library of over 1300 Linux programs available for installation on the Pre.  
+
See also the other portals on the left navigation pane:
 +
#[[Portal:webOS_Applications|webOS Applications]] introduces you to the Preware application manager. A convenient programm to install further apps to your device.
 +
#[[Portal:Linux_Applications|Linux Applications]] introduces you to common linux applications, mainly contained in the optware feeds. The optware feeds can also be accessed via preware.
  
Palm has indicated that they have no intention of using the /opt directory, so we direct our installs to /opt/bin rather than /bin to avoid being overridden by future Palm software upgrades.  
+
==The following is deprecated==
 +
To start getting the most out of your new webOS Device you should install Preware. Continue on to the [[Application:Preware|Preware]] page. There you will see all the ways to install Preware on your device.
  
In addition, the standard package  creates a non-root user, installs sudo, and includes an SSH program (dropbear) and an sftp program.  
+
Then go to the Optware section in [[Preware]] and install OpenSSH and OpenSSH SFTP Server from there.
  
Optionally, it includes the ''quilt'' patch manager which allows multiple-file patches. (Yes, the pun was intentional. Quilt manages multiple patches.
+
Then go to the [http://www.webos-internals.org/wiki/Application:OpenSSH OpenSSH package homepage] and read the instructions there to create an SSH key for use when accessing your phone via ssh or sftp.
  
For your convenience, we've packaged all this up into a simple script.
+
If you want to access the optware command line package library, then also install the Optware Advanced Linux Command Line Installer package.
  
After completing the process of obtaining access to your Pre, do the following:  
+
Once you are finished, you may SSH into your Pre with an SSH client like [http://www.chiark.greenend.org.uk/~sgtatham/putty/ Putty]:
 
+
*Find your IP address on your Pre with [http://checkmyip.com/ CheckMyIP.com]
'''Type each line exactly as it appears. Copying and pasting is probably a good idea.'''
+
**In many cases, you are in a local network, but checkmyip.com gives you the WAN addessInstall whatismyip from the homebrew catalog to get your pre's ip address within the local network and use that
 
+
*SSH to that IP address on port 22
''Note to Windows Putty users: To paste in putty, simply right-click and the program pastes into the terminal whatever you have copied to the clipboard.'''
+
**If you're doing this over EVDO, there may be a lot of latency.  Be patient.
 
+
**You can optionally install [[Avahi]] and SSH to <tt>castle.local.</tt>
<div style="font-size:140%;">
+
**[[Tutorials_Linux_DDNS_for_EVDO|Dynamic DNS]] is helpful for consistently accessing the Pre over EVDO with a simple name.
cd /tmp
+
*Log in as root using the SSH key you created during the Optware installation
wget <nowiki>http://gitorious.org/webos-internals/bootstrap/blobs/raw/master/optware-bootstrap.sh</nowiki>
 
sh optware-bootstrap.sh
 
</div>
 
 
 
Follow the on-screen instructions.   
 
 
 
If you want to review the script before you run it, you can look here:
 
 
 
[http://gitorious.org/webos-internals/bootstrap/blobs/master/optware-bootstrap.sh http://gitorious.org/webos-internals/bootstrap/blobs/master/optware-bootstrap.sh]
 

Latest revision as of 14:10, 25 July 2011

Warning: This page is deprecated (see Introduction).

Introduction

The Portal Accessing Linux links here (Set up users, Optware, and access). There, this page here is marked DEPRECATED. The topics mentioned here have been superseded with the following pages:

See also the other portals on the left navigation pane:

  1. webOS Applications introduces you to the Preware application manager. A convenient programm to install further apps to your device.
  2. Linux Applications introduces you to common linux applications, mainly contained in the optware feeds. The optware feeds can also be accessed via preware.

The following is deprecated

To start getting the most out of your new webOS Device you should install Preware. Continue on to the Preware page. There you will see all the ways to install Preware on your device.

Then go to the Optware section in Preware and install OpenSSH and OpenSSH SFTP Server from there.

Then go to the OpenSSH package homepage and read the instructions there to create an SSH key for use when accessing your phone via ssh or sftp.

If you want to access the optware command line package library, then also install the Optware Advanced Linux Command Line Installer package.

Once you are finished, you may SSH into your Pre with an SSH client like Putty:

  • Find your IP address on your Pre with CheckMyIP.com
    • In many cases, you are in a local network, but checkmyip.com gives you the WAN addess. Install whatismyip from the homebrew catalog to get your pre's ip address within the local network and use that
  • SSH to that IP address on port 22
    • If you're doing this over EVDO, there may be a lot of latency. Be patient.
    • You can optionally install Avahi and SSH to castle.local.
    • Dynamic DNS is helpful for consistently accessing the Pre over EVDO with a simple name.
  • Log in as root using the SSH key you created during the Optware installation