<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/index.php?action=history&amp;feed=atom&amp;title=Samba_Access</id>
	<title>Samba Access - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/index.php?action=history&amp;feed=atom&amp;title=Samba_Access"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Samba_Access&amp;action=history"/>
	<updated>2026-04-16T10:46:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Samba_Access&amp;diff=1575&amp;oldid=prev</id>
		<title>Hopspitfire at 16:56, 22 July 2009</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Samba_Access&amp;diff=1575&amp;oldid=prev"/>
		<updated>2009-07-22T16:56:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:56, 22 July 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This document is still a work in progress, as once the installation is complete you will have access to your Pre via your home network but it will disable audio i am still in the process of locating why this happens. But this is a great way to just drag and drop files from your Pre to your PC without having to load up a FTP client.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This document is still a work in progress, as once the installation is complete you will have access to your Pre via your home network but it will disable audio i am still in the process of locating why this happens. But this is a great way to just drag and drop files from your Pre to your PC without having to load up a FTP client.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;There have been reports of losing the ability to download apps from the App Catalog. '''Use at your own risk.'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Note: Run this in developer mode at first, if you are not in developer mode this will not work properly.'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Note: Run this in developer mode at first, if you are not in developer mode this will not work properly.'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hopspitfire</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Samba_Access&amp;diff=1574&amp;oldid=prev</id>
		<title>Hopspitfire: New page: This document is still a work in progress, as once the installation is complete you will have access to your Pre via your home network but it will disable audio i am still in the process o...</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Samba_Access&amp;diff=1574&amp;oldid=prev"/>
		<updated>2009-07-22T16:55:55Z</updated>

		<summary type="html">&lt;p&gt;New page: This document is still a work in progress, as once the installation is complete you will have access to your Pre via your home network but it will disable audio i am still in the process o...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This document is still a work in progress, as once the installation is complete you will have access to your Pre via your home network but it will disable audio i am still in the process of locating why this happens. But this is a great way to just drag and drop files from your Pre to your PC without having to load up a FTP client.&lt;br /&gt;
&lt;br /&gt;
'''Note: Run this in developer mode at first, if you are not in developer mode this will not work properly.'''&lt;br /&gt;
&lt;br /&gt;
Step 1: Login to your rooted Pre&lt;br /&gt;
&lt;br /&gt;
Step 2: Remount your Pre with read/write permissions&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo mount -o remount,rw /&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step 3: Install the needed components from ipkg-opt&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo ipkg-opt update&lt;br /&gt;
sudo ipkg-opt install samba&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
^^The following packages are installed with Samba: '''popt, readline, openldap-libs, openssl, libdb, gdbm, cyrus-sasl-libs'''^^&lt;br /&gt;
&lt;br /&gt;
Step 4: Create/Edit Samba's configuration file&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo vi /opt/etc/samba/smb.conf&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step 5: Use the following configuration file.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#Samba 3.2.12-1 from ipkg&lt;br /&gt;
#configuration file for Palm Pre WebOS 1.0.3&lt;br /&gt;
&lt;br /&gt;
[global]&lt;br /&gt;
        workgroup = WORKGROUP&lt;br /&gt;
        server string = PalmPre Samba&lt;br /&gt;
        security = SHARE&lt;br /&gt;
        smb passwd file = /opt/etc/samba/smbpasswd&lt;br /&gt;
        encrypt passwords = yes&lt;br /&gt;
        guest account = nobody&lt;br /&gt;
        bind interfaces only = yes&lt;br /&gt;
        config file = /opt/etc/samba/smb.conf&lt;br /&gt;
        log file = /var/log/samba.%m&lt;br /&gt;
        socket options = IPTOS_LOWDELAY TCP_NODELAY&lt;br /&gt;
        interfaces = eth0, lo&lt;br /&gt;
        debug level = 1&lt;br /&gt;
        max log size = 10&lt;br /&gt;
        load printers = no&lt;br /&gt;
        domain master = no&lt;br /&gt;
        local master = no&lt;br /&gt;
        prefered master = no&lt;br /&gt;
        domain logons = no&lt;br /&gt;
        wins support = no&lt;br /&gt;
        wins proxy = no&lt;br /&gt;
        dns proxy = no&lt;br /&gt;
&lt;br /&gt;
[tmp]&lt;br /&gt;
        comment = Temporary File Space&lt;br /&gt;
        path = /tmp&lt;br /&gt;
        read only = yes&lt;br /&gt;
        guest ok = yes&lt;br /&gt;
        public = yes&lt;br /&gt;
        create mask = 0744&lt;br /&gt;
        available = yes&lt;br /&gt;
        browseable = yes&lt;br /&gt;
&lt;br /&gt;
[root]&lt;br /&gt;
        comment = PalmPre Root Directory&lt;br /&gt;
        path = /&lt;br /&gt;
        read only = no&lt;br /&gt;
        browseable = yes&lt;br /&gt;
        guest ok = yes&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
^^This is a basic configuration file i used, and it works out quite well: also a side note, Nano is much easier to work with then Vi i would suggest grabbing that package as well^^&lt;br /&gt;
&lt;br /&gt;
Step 6: Add you a user to the system for sharing purposes. (where username = your account name)&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo /opt/bin/smbpasswd -a username&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step 7: Change the samba service to activate for testing.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo vi /opt/etc/init.d/S08samba&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
# set samba_active=1 to activate samba&lt;br /&gt;
samba_active=0&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
# set samba_active=1 to activate samba&lt;br /&gt;
samba_active=1&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step 8: Test if Samba is functioning properly&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo /opt/etc/init.d/S08samba&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Step 9: set your system back to default read only state&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo mount -o remount,ro /&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
------&lt;br /&gt;
Because i have not figured out why we lose audio when this is installed the following is not recommended.&lt;br /&gt;
&lt;br /&gt;
UpStart for Samba.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
description &amp;quot;Samba Daemon for WebOS&amp;quot;&lt;br /&gt;
version 1.0&lt;br /&gt;
&lt;br /&gt;
# don't start until the WebOS finishes it's normal boot&lt;br /&gt;
# that way no delay is added to the GUI startup&lt;br /&gt;
start on stopped finish&lt;br /&gt;
stop on runlevel [!2]&lt;br /&gt;
&lt;br /&gt;
# don't try to log any output&lt;br /&gt;
console none&lt;br /&gt;
&lt;br /&gt;
# -D sets smbd &amp;amp; nmbd to act as a daemon&lt;br /&gt;
exec /opt/sbin/smbd -D&lt;br /&gt;
exec /opt/sbin/nmbd -D&lt;br /&gt;
&lt;br /&gt;
pre-start script&lt;br /&gt;
        # Add firewall rule to make sure we're not blocking anything&lt;br /&gt;
        # This will only be available via eth0 (wifi)&lt;br /&gt;
         /usr/sbin/iptables -I INPUT -i eth0 -p udp --dport 137 -j ACCEPT&lt;br /&gt;
         /usr/sbin/iptables -I INPUT -i eth0 -p udp --dport 138 -j ACCEPT&lt;br /&gt;
         /usr/sbin/iptables -I INPUT -i eth0 -p tcp --dport 139 -j ACCEPT&lt;br /&gt;
         /usr/sbin/iptables -I INPUT -i eth0 -p tcp --dport 445 -j ACCEPT&lt;br /&gt;
end script&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
^^This has not been tested fully as with audio being out, i didn't bother to test it more but the samba portion works as intended^^&lt;br /&gt;
&lt;br /&gt;
Credits go out to everyone who taught us how to root the pre's as well as the fine folks who got us optware-feeds!&lt;/div&gt;</summary>
		<author><name>Hopspitfire</name></author>
	</entry>
</feed>