<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gordian</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gordian"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Gordian"/>
	<updated>2026-04-19T13:51:22Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Next_steps&amp;diff=1430</id>
		<title>Next steps</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Next_steps&amp;diff=1430"/>
		<updated>2009-07-21T22:50:16Z</updated>

		<summary type="html">&lt;p&gt;Gordian: /* Automated Setup of Optware, Users and Access */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;''The old, manual setup of Optware and users can be found [[Setting_up_optware_feed | here]].''&lt;br /&gt;
&lt;br /&gt;
=Automated Setup of Optware, Users and Access=&lt;br /&gt;
The webOS community asks that users who have obtained access to the Linux subsystem install a standard set of software  to ensure everyone has the necessary tools in place to use the resources the community is providing.&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
&lt;br /&gt;
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 overwritten  by future Palm software upgrades. &lt;br /&gt;
&lt;br /&gt;
In addition, the standard package  creates a non-root user, installs ''sudo'', and includes an SSH program (''dropbear'') and an sftp program. &lt;br /&gt;
&lt;br /&gt;
For your convenience, we've packaged all this up into a simple script.&lt;br /&gt;
&lt;br /&gt;
'''If you're attempting to install these packages to your emulator, you must first add sufficient space by [[Adding_Disks_to_the_Emulator|enabling a virtual disk]].'''&lt;br /&gt;
&lt;br /&gt;
After completing the process of obtaining access to your Pre, do the following: &lt;br /&gt;
&lt;br /&gt;
'''Type each line exactly as it appears.  Copying and pasting is probably a good idea.'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''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.''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:140%;&amp;quot;&amp;gt;&lt;br /&gt;
 cd /tmp&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;http://gitorious.org/webos-internals/bootstrap/blobs/raw/master/optware-bootstrap.sh&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 sh optware-bootstrap.sh&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Follow the on-screen instructions.  &lt;br /&gt;
&lt;br /&gt;
If you want to review the script before you run it, you can look here: &lt;br /&gt;
&lt;br /&gt;
[http://gitorious.org/webos-internals/bootstrap/blobs/master/optware-bootstrap.sh http://gitorious.org/webos-internals/bootstrap/blobs/master/optware-bootstrap.sh]&lt;br /&gt;
&lt;br /&gt;
Optionally, you can then install the ''quilt'' patch manager which allows multiple-file patches.  (Yes, the pun was intentional. Quilt manages multiple patches.)  This installation process has also been packaged into a simple script. It will install quilt, and all of its dependencies, and create a local clone of the WebOS-Internals patch repository.&lt;br /&gt;
&lt;br /&gt;
'''Again, type each line exactly as it appears.  Copying and pasting is probably a good idea.'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-size:140%;&amp;quot;&amp;gt;&lt;br /&gt;
 cd /tmp&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;http://gitorious.org/webos-internals/bootstrap/blobs/raw/master/quilt-bootstrap.sh&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 sh quilt-bootstrap.sh&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to review the script before you run it, you can look here: &lt;br /&gt;
&lt;br /&gt;
[http://gitorious.org/webos-internals/bootstrap/blobs/master/quilt-bootstrap.sh http://gitorious.org/webos-internals/bootstrap/blobs/master/quilt-bootstrap.sh]&lt;/div&gt;</summary>
		<author><name>Gordian</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Adding_Disks_to_the_Emulator&amp;diff=1426</id>
		<title>Adding Disks to the Emulator</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Adding_Disks_to_the_Emulator&amp;diff=1426"/>
		<updated>2009-07-21T22:44:56Z</updated>

		<summary type="html">&lt;p&gt;Gordian: /* Enabling Virtual Disk Support for the Emulator In Order to Successfully Setup Optware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Enabling Virtual Disk Support for the Emulator In Order to Setup Optware=&lt;br /&gt;
Many developers wish to maintain their emulator with the same software as their actual device.  In order to install the Optware package manager on your emulator, you will need to allocate a virtual disk for additional storage.&lt;br /&gt;
&lt;br /&gt;
''These instructions assume you are running Windows XP and Sun xVM VirtualBox''.&lt;br /&gt;
&lt;br /&gt;
First run VirtualBox.  Ensure that the emulator to which you wish to add storage is in the &amp;quot;Powered Off&amp;quot; state.&lt;br /&gt;
&lt;br /&gt;
Goto &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Virtual Media Manager&amp;quot; (or Ctrl+D).&lt;br /&gt;
&lt;br /&gt;
Click or select &amp;quot;New&amp;quot; and press &amp;quot;Next.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Choose whether you want a fixed- or dynamic-sized virtual disk then hit &amp;quot;Next.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Click the small folder icon next to the virtual disk's name to choose where the virtual drive will exist.  This is important if one of your physical disks is low on space but you have ample space on another.&lt;br /&gt;
&lt;br /&gt;
Choose the size of the virtual disk using the slider keeping in mind an out-of-the-box Pre itself has &amp;lt; 8gb free and give due consideration as to how much space your intentions may require.&lt;br /&gt;
&lt;br /&gt;
When you click &amp;quot;Finish&amp;quot; the creation may take some time depending on the size of the virtual disk you created.&lt;br /&gt;
&lt;br /&gt;
When everything is complete just click &amp;quot;OK.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Back in VirtualBox, select the emulator to which you wish to add the virtual drive and either click the &amp;quot;Settings&amp;quot; icon, hit Ctrl+S, or click through to &amp;quot;Machine&amp;quot; -&amp;gt; &amp;quot;Settings.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In the navigation panel on the left, choose &amp;quot;Hard Disks.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Press &amp;quot;Insert&amp;quot; or click the icon with the green plus sign to ''add an attachment''.&lt;br /&gt;
&lt;br /&gt;
Make sure under &amp;quot;Slot&amp;quot; the selection reads &amp;quot;Primary Slave&amp;quot; and under &amp;quot;Hard Disk&amp;quot; you point to the virtual disk you created in the steps above.&lt;br /&gt;
&lt;br /&gt;
Hit &amp;quot;OK,&amp;quot; startup your emulator, and [[Next_steps|setup Optware]]!&lt;/div&gt;</summary>
		<author><name>Gordian</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Adding_Disks_to_the_Emulator&amp;diff=1425</id>
		<title>Adding Disks to the Emulator</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Adding_Disks_to_the_Emulator&amp;diff=1425"/>
		<updated>2009-07-21T22:44:31Z</updated>

		<summary type="html">&lt;p&gt;Gordian: /* Adding Disks to the Emulator */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Enabling Virtual Disk Support for the Emulator In Order to Successfully Setup Optware=&lt;br /&gt;
Many developers wish to maintain their emulator with the same software as their actual device.  In order to install the Optware package manager on your emulator, you will need to allocate a virtual disk for additional storage.&lt;br /&gt;
&lt;br /&gt;
''These instructions assume you are running Windows XP and Sun xVM VirtualBox''.&lt;br /&gt;
&lt;br /&gt;
First run VirtualBox.  Ensure that the emulator to which you wish to add storage is in the &amp;quot;Powered Off&amp;quot; state.&lt;br /&gt;
&lt;br /&gt;
Goto &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Virtual Media Manager&amp;quot; (or Ctrl+D).&lt;br /&gt;
&lt;br /&gt;
Click or select &amp;quot;New&amp;quot; and press &amp;quot;Next.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Choose whether you want a fixed- or dynamic-sized virtual disk then hit &amp;quot;Next.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Click the small folder icon next to the virtual disk's name to choose where the virtual drive will exist.  This is important if one of your physical disks is low on space but you have ample space on another.&lt;br /&gt;
&lt;br /&gt;
Choose the size of the virtual disk using the slider keeping in mind an out-of-the-box Pre itself has &amp;lt; 8gb free and give due consideration as to how much space your intentions may require.&lt;br /&gt;
&lt;br /&gt;
When you click &amp;quot;Finish&amp;quot; the creation may take some time depending on the size of the virtual disk you created.&lt;br /&gt;
&lt;br /&gt;
When everything is complete just click &amp;quot;OK.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Back in VirtualBox, select the emulator to which you wish to add the virtual drive and either click the &amp;quot;Settings&amp;quot; icon, hit Ctrl+S, or click through to &amp;quot;Machine&amp;quot; -&amp;gt; &amp;quot;Settings.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In the navigation panel on the left, choose &amp;quot;Hard Disks.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Press &amp;quot;Insert&amp;quot; or click the icon with the green plus sign to ''add an attachment''.&lt;br /&gt;
&lt;br /&gt;
Make sure under &amp;quot;Slot&amp;quot; the selection reads &amp;quot;Primary Slave&amp;quot; and under &amp;quot;Hard Disk&amp;quot; you point to the virtual disk you created in the steps above.&lt;br /&gt;
&lt;br /&gt;
Hit &amp;quot;OK,&amp;quot; startup your emulator, and [[Next_steps|setup Optware]]!&lt;/div&gt;</summary>
		<author><name>Gordian</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Adding_Disks_to_the_Emulator&amp;diff=1418</id>
		<title>Adding Disks to the Emulator</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Adding_Disks_to_the_Emulator&amp;diff=1418"/>
		<updated>2009-07-21T22:36:58Z</updated>

		<summary type="html">&lt;p&gt;Gordian: New page: =Adding Disks to the Emulator= Many developers wish to maintain their emulator with the same software as their actual device.  In order to install the Optware package manager on your emula...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Adding Disks to the Emulator=&lt;br /&gt;
Many developers wish to maintain their emulator with the same software as their actual device.  In order to install the Optware package manager on your emulator, you will need to allocate a virtual disk for additional storage.&lt;br /&gt;
&lt;br /&gt;
''These instructions assume you are running Windows XP and Sun xVM VirtualBox''.&lt;br /&gt;
&lt;br /&gt;
First run VirtualBox.  Ensure that the emulator to which you wish to add storage is in the &amp;quot;Powered Off&amp;quot; state.&lt;br /&gt;
&lt;br /&gt;
Goto &amp;quot;File&amp;quot; -&amp;gt; &amp;quot;Virtual Media Manager&amp;quot; (or Ctrl+D).&lt;br /&gt;
&lt;br /&gt;
Click or select &amp;quot;New&amp;quot; and press &amp;quot;Next.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Choose whether you want a fixed- or dynamic-sized virtual disk then hit &amp;quot;Next.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Click the small folder icon next to the virtual disk's name to choose where the virtual drive will exist.  This is important if one of your physical disks is low on space but you have ample space on another.&lt;br /&gt;
&lt;br /&gt;
Choose the size of the virtual disk using the slider keeping in mind an out-of-the-box Pre itself has &amp;lt; 8gb free and give due consideration as to how much space your intentions may require.&lt;br /&gt;
&lt;br /&gt;
When you click &amp;quot;Finish&amp;quot; the creation may take some time depending on the size of the virtual disk you created.&lt;br /&gt;
&lt;br /&gt;
When everything is complete just click &amp;quot;OK.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Back in VirtualBox, select the emulator to which you wish to add the virtual drive and either click the &amp;quot;Settings&amp;quot; icon, hit Ctrl+S, or click through to &amp;quot;Machine&amp;quot; -&amp;gt; &amp;quot;Settings.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
In the navigation panel on the left, choose &amp;quot;Hard Disks.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Press &amp;quot;Insert&amp;quot; or click the icon with the green plus sign to ''add an attachment''.&lt;br /&gt;
&lt;br /&gt;
Make sure under &amp;quot;Slot&amp;quot; the selection reads &amp;quot;Primary Slave&amp;quot; and under &amp;quot;Hard Disk&amp;quot; you point to the virtual disk you created in the steps above.&lt;br /&gt;
&lt;br /&gt;
Hit &amp;quot;OK,&amp;quot; startup your emulator, and [[Next_steps|setup Optware]]!&lt;/div&gt;</summary>
		<author><name>Gordian</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Portal:Accessing_Linux&amp;diff=1404</id>
		<title>Portal:Accessing Linux</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Portal:Accessing_Linux&amp;diff=1404"/>
		<updated>2009-07-21T22:14:34Z</updated>

		<summary type="html">&lt;p&gt;Gordian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__notoc__&lt;br /&gt;
{{portal-one-column-blue&lt;br /&gt;
|header=Accessing Linux (Rooting your Pre is the Old Inaccurate Term)&lt;br /&gt;
|column1=&lt;br /&gt;
The Palm pre is a Linux based device.  As it is shipped, the linux is a fully installed and operational copy, and communicates with the outside world using the Novacomm protocols (the same as used by the iPhone.)&lt;br /&gt;
&lt;br /&gt;
Therefore, enabling access to the Pre was remarkably simple and is officially documented by Palm in the public emulator instructions.  Typing in the &amp;quot;developers code&amp;quot;  ( ''upupdowndownleftrightleftrightbastart'' ) enables communication between the Linux and the outside world using novacomm.  &lt;br /&gt;
&lt;br /&gt;
After that, everything else is a process of installing a ''community standard library'' of Linux programs so that users have the same tools and options available to them.  &lt;br /&gt;
&lt;br /&gt;
One of the first choices was installing a package manager for the OptWare library of over 1000 Linux programs, compiled for the Pre.  &lt;br /&gt;
&lt;br /&gt;
Once this is done, basically, anything you can do on a Linux box, you can do on the Pre.  The community is rapidly working on developing methods for Linux programs to interact with the end-user shell known as Luna or Mojo in addition to access via terminal programs.  &lt;br /&gt;
&lt;br /&gt;
The following links will walk you through the process of obtaining access to the Linux system from a terminal program, and installing the community standard software package.  &lt;br /&gt;
&lt;br /&gt;
It is necessary (as of this edit) to access the Linux operating system via a terminal program running on a separate PC.  You can not achieve root access to the Linux operating system on the phone from the phone itself.  However, once you have achieved secure root access, it is possible to make any changes you like to the underlying linux system on the phone.&lt;br /&gt;
&lt;br /&gt;
The process of obtaining access to the Linux is actually a fairly simple procedure. Look below.&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=-LBXV0tYyyI Example of a Palm Pre with secure root access]&lt;br /&gt;
&lt;br /&gt;
[http://www.youtube.com/watch?v=xoIE7Y_pyEU YouTube how-to instructions]&lt;br /&gt;
&lt;br /&gt;
Note that if you are running the Pre emulator, you can achieve Linux access on the emulator (not on the real Pre) by using an ssh client (e.g. PuTTY on Windows) to connect to 'root@localhost' at port 5522 on the host machine (which is port forwarded by VirtualBox to the dropbear ssh daemon running on port 22 inside the emulator), and the instructions on this page are not required - you should go straight to the [[Next_steps|next steps]].&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{portal-two-columns&lt;br /&gt;
|column1=&lt;br /&gt;
== Before you start ==  &lt;br /&gt;
&lt;br /&gt;
Please make a note of this page:  [[How To Recover]]&lt;br /&gt;
&lt;br /&gt;
If you are unfamiliar with basic Linux command usage, you should visit this page: [[Basic_Linux_Use|Basic Linux Use]]&lt;br /&gt;
&lt;br /&gt;
You might also want to consider backing up any files you have in the usb drive portion of the Pre. &lt;br /&gt;
|column2=&lt;br /&gt;
== Procedure: ==&lt;br /&gt;
&lt;br /&gt;
There are four versions of the secure root access procedure:  &lt;br /&gt;
* [[deprecated|Windows XP via wifi]]  '''This version is deprecated.  Use the USB cable versions.'''&lt;br /&gt;
* [[Accessing Linux From Windows|Windows XP or Windows Vista via USB cable  (novaproxy) ]]&lt;br /&gt;
* [[Accessing Linux From OSX|Mac OS X procedure via usb cable ]] &lt;br /&gt;
* [[Accessing Linux From Linux|Linux procedure via usb cable ]]&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
{{portal-two-columns&lt;br /&gt;
|column1=&lt;br /&gt;
== Next steps after Accessing Linux ==&lt;br /&gt;
&lt;br /&gt;
* [[Next_steps|Set up users, Optware, and access]]&lt;br /&gt;
* [[Applying_Patches|Applying Patches]]&lt;br /&gt;
* [[Setup_SFTP|Setup SFTP]]&lt;br /&gt;
* [[Tutorials_Linux_DDNS_for_EVDO|DDNS for EVDO]]&lt;br /&gt;
&lt;br /&gt;
|column2=&lt;br /&gt;
== Advanced Topics ==&lt;br /&gt;
&lt;br /&gt;
* [[Change_From_Loopback|Change from loopback]]&lt;br /&gt;
* [[Adding Disks to the Emulator]]&lt;br /&gt;
&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Gordian</name></author>
	</entry>
</feed>