<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.radxa.com/mw/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.radxa.com/mw/index.php?action=history&amp;feed=atom&amp;title=Rockpi4%2FSamba</id>
		<title>Rockpi4/Samba - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.radxa.com/mw/index.php?action=history&amp;feed=atom&amp;title=Rockpi4%2FSamba"/>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rockpi4/Samba&amp;action=history"/>
		<updated>2026-06-14T10:26:04Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.3</generator>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Rockpi4/Samba&amp;diff=6499&amp;oldid=prev</id>
		<title>Ken: /* Test */</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rockpi4/Samba&amp;diff=6499&amp;oldid=prev"/>
				<updated>2021-09-24T08:12:30Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Test&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:12, 24 September 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 38:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; guest ok = yes&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; guest ok = yes&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; read only = no&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; read only = no&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;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; force user = linaro&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Ubuntu 16.04 PC Client&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Ubuntu 16.04 PC Client&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; guest ok = yes&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; guest ok = yes&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; read only = no&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; read only = no&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;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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 class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#160; force user = xxx&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* ROCK Pi 4 Client&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* ROCK Pi 4 Client&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ken</name></author>	</entry>

	<entry>
		<id>https://wiki.radxa.com/mw/index.php?title=Rockpi4/Samba&amp;diff=3291&amp;oldid=prev</id>
		<title>Stephen: Created page with &quot;{{rockpi4_header}}  {{Languages|rockpi4/Samba}}       ROCK Pi 4 &gt;  Samba  __TOC__   On ROCK Pi 4, it is a common necessity to use Samba, which...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.radxa.com/mw/index.php?title=Rockpi4/Samba&amp;diff=3291&amp;oldid=prev"/>
				<updated>2019-03-30T08:16:18Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{rockpi4_header}}  {{Languages|rockpi4/Samba}}      &lt;a href=&quot;/Rockpi4&quot; title=&quot;Rockpi4&quot;&gt; ROCK Pi 4&lt;/a&gt; &amp;gt; &lt;a href=&quot;/Rockpi4/Samba&quot; title=&quot;Rockpi4/Samba&quot;&gt; Samba&lt;/a&gt;  __TOC__   On ROCK Pi 4, it is a common necessity to use Samba, which...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{rockpi4_header}}&lt;br /&gt;
&lt;br /&gt;
{{Languages|rockpi4/Samba}}&lt;br /&gt;
&lt;br /&gt;
    [[rockpi4 | ROCK Pi 4]] &amp;gt; [[rockpi4/Samba | Samba]]&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On ROCK Pi 4, it is a common necessity to use Samba, which allows file and print sharing between Unix/Linux and Windows machines on the LAN.&lt;br /&gt;
&lt;br /&gt;
Also, ROCK Pi 4 supports Common Internet File System (CIFS). CIFS, a file-sharing protocol, provides an open and cross-platform mechanism for requesting network server files and services.&lt;br /&gt;
&lt;br /&gt;
This is a guide to using Samba On ROCK Pi 4.&lt;br /&gt;
&lt;br /&gt;
=== Preparation ===&lt;br /&gt;
&lt;br /&gt;
Before you start, update your packages including rockchip-fstab, rockchip-overlay, u-boot, kernel. See https://wiki.radxa.com/Rockpi4/radxa-apt.&lt;br /&gt;
&lt;br /&gt;
Here we use system image, rockpi4_debian_stretch_lxde_armhf_20181105_2120-gpt.img.&lt;br /&gt;
&lt;br /&gt;
=== Test ===&lt;br /&gt;
&lt;br /&gt;
==== Test one, ROCK Pi 4 as Server,  Ubuntu 16.04 PC as Client ====&lt;br /&gt;
&lt;br /&gt;
* ROCK Pi 4 Server&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install cifs-utils&lt;br /&gt;
  sudo apt-get install samba&lt;br /&gt;
&lt;br /&gt;
Add the contents at the end of file, /etc/samba/smb.conf&lt;br /&gt;
&lt;br /&gt;
  [rockpi4_share]&lt;br /&gt;
  comment = Home Public Folder&lt;br /&gt;
  browseable = yes&lt;br /&gt;
  path = /home/linaro/share&lt;br /&gt;
  create mask = 0777&lt;br /&gt;
  guest ok = yes&lt;br /&gt;
  read only = no&lt;br /&gt;
&lt;br /&gt;
* Ubuntu 16.04 PC Client&lt;br /&gt;
&lt;br /&gt;
  mkdir -p /data/rockpi4&lt;br /&gt;
  sudo mount -t cifs //192.168.1.8/rockpi4_share /data/rockpi4 -o guest&lt;br /&gt;
  # format: mount -t fstype //Samba-Server-IP/EXPORT-FOLDER Samba-Client-Local-Folder -o guest&lt;br /&gt;
  ls /data/rockpi4&lt;br /&gt;
&lt;br /&gt;
On PC, in directory /data/rockpi4, we can see files shared by ROCK Pi 4.&lt;br /&gt;
&lt;br /&gt;
==== Test two, Ubuntu 16.0 PC as Server, ROCK Pi 4 as Client ====&lt;br /&gt;
&lt;br /&gt;
* Ubuntu 16.0 PC Server&lt;br /&gt;
&lt;br /&gt;
  sudo apt-get install samba&lt;br /&gt;
&lt;br /&gt;
Add the contents at the end of file, /etc/samba/smb.conf&lt;br /&gt;
&lt;br /&gt;
  [sandara_share]&lt;br /&gt;
  comment = Home Public Folder&lt;br /&gt;
  browseable = yes&lt;br /&gt;
  path = /data/sandara_share&lt;br /&gt;
  create mask = 0777&lt;br /&gt;
  guest ok = yes&lt;br /&gt;
  read only = no&lt;br /&gt;
&lt;br /&gt;
* ROCK Pi 4 Client&lt;br /&gt;
&lt;br /&gt;
  cd /home/linaro&lt;br /&gt;
  mkdir sandara&lt;br /&gt;
  sudo mount -t cifs //192.168.1.100/sandara_share /home/linaro/sandara -o guest &lt;br /&gt;
  # format: mount -t fstype //Samba-Server-IP/EXPORT-FOLDER Samba-Client-Local-Folder -o guest&lt;br /&gt;
&lt;br /&gt;
On ROCK Pi 4, in directory /home/linaro/sandara, we can see files shared by Ubuntu 16.04 PC.&lt;br /&gt;
&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
* If you have issue with samba and cifs, start a new post on the forum. https://forum.radxa.com/&lt;/div&gt;</summary>
		<author><name>Stephen</name></author>	</entry>

	</feed>