<?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=Devnull</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=Devnull"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Devnull"/>
	<updated>2026-05-03T14:19:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Talk:Luna_Send&amp;diff=9454</id>
		<title>Talk:Luna Send</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Talk:Luna_Send&amp;diff=9454"/>
		<updated>2010-03-28T04:45:36Z</updated>

		<summary type="html">&lt;p&gt;Devnull: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WOW by far some of the most awesome things I have seen for the pre. If only we can get a away to stream audio to and from the pre. Or use these commands in a script we can use the pre as a remote phone for the computer (better alternative to skype). I will start thinking of ways to do this but this tutorial has been of great help. Also any word on how to use contacts rather than just numbers? And if so how about texting to a contact with multiple contacts do you have to specify or will it just do the primary phone? Thanks&lt;/div&gt;</summary>
		<author><name>Devnull</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Patch_webOS_Make_USB_Partition_Writable_via_SFTP&amp;diff=9453</id>
		<title>Patch webOS Make USB Partition Writable via SFTP</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Patch_webOS_Make_USB_Partition_Writable_via_SFTP&amp;diff=9453"/>
		<updated>2010-03-28T04:18:26Z</updated>

		<summary type="html">&lt;p&gt;Devnull: /* Possible Issues */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{template:patch}}&lt;br /&gt;
You can use the USB Drive partition via WIFI as a non-root user by telling fstab to mount it owned by the non-root user's UID. This is useful if you don't want to have to remount the root partition, and if you don't want r/w access enabled for the entire filesystem when just transferring files...&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
* Pre with SSH and SFTP installed, and connected to WIFI &lt;br /&gt;
* SFTP Client of some sort. (Nautilus, WinSCP, SSHFS, etc)&lt;br /&gt;
* You'll have to update your configuration if the IP of your Pre changes&lt;br /&gt;
&lt;br /&gt;
//**Note: If the Pre is on battery, the SSH connection will lost when the display goes to sleep. Do this while the Pre is charging for best results.**//&lt;br /&gt;
&lt;br /&gt;
=Instructions=&lt;br /&gt;
1. Login via SSH as the non-root user you created when you enabled  [[[adding-the-ipkg-repository | the Optware Package Feed]]].&lt;br /&gt;
2. Determine your uid (user id) and gid (group id) &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
id&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
gregnuj@castle:/var/home/gregnuj$ id&lt;br /&gt;
uid=1001(gregnuj) gid=1001(gregnuj)&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3. Edit /etc/fstab so /media/internal is mounted owned by your user id (group id recommended but not required)&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo vi /etc/fstab&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Modify the /media/internal entry as follows: (note: use the values obtained from the id command)&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
/dev/mapper/store-media	/media/internal	vfat	uid=1001,gid=1001,utf8,shortname=mixed	0	0&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
4. Save the file by pressing &amp;lt;ESC&amp;gt;, followed by &amp;quot;:x&amp;quot; (w/o quotes) &amp;lt;ENTER&amp;gt;&lt;br /&gt;
&lt;br /&gt;
5. &lt;br /&gt;
Option 1:&lt;br /&gt;
Reboot the Pre and you should now be able to read/write to the USB Drive partition (/media/internal) via SFTP using your non-root login.&lt;br /&gt;
&lt;br /&gt;
OR instead of rebooting &lt;br /&gt;
&lt;br /&gt;
Option 2:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
cd /media&lt;br /&gt;
sudo umount /media/internal&lt;br /&gt;
sudo mount /media/internal&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Password-less Login (optional - for Linux or Mac)=&lt;br /&gt;
&lt;br /&gt;
1. Login to the Pre via SSH as your non-root user, and execute:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
mkdir ~/.ssh&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Generate a key pair on your host machine with:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
ssh-keygen -t rsa&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
3. Copy ~/.ssh/id_rsa.pub on the host to ~/.ssh/authorized_keys on the Pre.&lt;br /&gt;
4. Test SSH/SFTP login from the host to the Pre to make sure you aren't asked for a password.&lt;br /&gt;
&lt;br /&gt;
=Possible Issues=&lt;br /&gt;
&lt;br /&gt;
* If the Pre is running on battery, it sleeps frequently, breaking the SFTP connection. This will cause file transfers to fail.&lt;br /&gt;
&lt;br /&gt;
(Not sure where to put this)&lt;br /&gt;
&lt;br /&gt;
Problem: Unable to edit fstab file if system is read-only. Can't set file system to RW unless you are root. &lt;br /&gt;
&lt;br /&gt;
Solution: After executing the &amp;quot;ID&amp;quot; command and getting your UID and GID number type &amp;quot;sudo -s&amp;quot; then &amp;quot;mount -o remount,rw /&amp;quot;. (No quotation marks) After you can proceed to edit the fstab file with your original numbers (which you get BEFORE you switch to root). After mount read-only &amp;quot;mount -o remount,ro /&lt;br /&gt;
&lt;br /&gt;
Alternative Solution: Open a second terminal window and type &amp;quot;sudo -s&amp;quot; then &amp;quot;mount -o remount,rw /&amp;quot;. (No quotation marks) Then you can do this patch on a new window. After you are done change back to read-only &amp;quot;sudo -s&amp;quot; then &amp;quot;mount -o remount,ro /&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Credits=&lt;br /&gt;
natrixgli for original post.&lt;br /&gt;
&lt;br /&gt;
Atlanta for transferring to new Wiki&lt;/div&gt;</summary>
		<author><name>Devnull</name></author>
	</entry>
</feed>