<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://familien-hartvig.dk/wiki/index.php?action=history&amp;feed=atom&amp;title=Attaching_NAS</id>
	<title>Attaching NAS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://familien-hartvig.dk/wiki/index.php?action=history&amp;feed=atom&amp;title=Attaching_NAS"/>
	<link rel="alternate" type="text/html" href="http://familien-hartvig.dk/wiki/index.php?title=Attaching_NAS&amp;action=history"/>
	<updated>2026-06-16T23:40:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.15</generator>
	<entry>
		<id>http://familien-hartvig.dk/wiki/index.php?title=Attaching_NAS&amp;diff=40&amp;oldid=prev</id>
		<title>Lars: Created page with &quot;Back  Its nice to be able to mount an external network disk or a MS windows server on your system. It works well, except I haven't been able to make National...&quot;</title>
		<link rel="alternate" type="text/html" href="http://familien-hartvig.dk/wiki/index.php?title=Attaching_NAS&amp;diff=40&amp;oldid=prev"/>
		<updated>2012-02-03T08:27:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/index.php?title=KiSS_cookbook&quot; title=&quot;KiSS cookbook&quot;&gt;Back&lt;/a&gt;  Its nice to be able to mount an external network disk or a MS windows server on your system. It works well, except I haven&amp;#039;t been able to make National...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[KiSS cookbook|Back]]&lt;br /&gt;
&lt;br /&gt;
Its nice to be able to mount an external network disk or a MS windows server on your system. It works well, except I haven't been able to make National charset work properly on my NAS. No matter how I set it up.&lt;br /&gt;
&lt;br /&gt;
You need to have the following information ready:&lt;br /&gt;
* User id to login on the device. (mike)&lt;br /&gt;
* Password. &lt;br /&gt;
* IP address. (10.0.0.96)&lt;br /&gt;
* Netbios name. (FS2)&lt;br /&gt;
* The name of the share you wish to use on the remote device. (movie)&lt;br /&gt;
* Mount point on this server. (/fs2)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Make auto login'''&lt;br /&gt;
&lt;br /&gt;
To mount the device at boot time you start by creating a hash for the password:&lt;br /&gt;
 smbutil crypt&lt;br /&gt;
 &amp;lt;font color=&amp;quot;#000077&amp;quot;&amp;gt;Password:&lt;br /&gt;
 $$17c5a5325&amp;lt;/font&amp;gt;&lt;br /&gt;
Copy the created hash value. &lt;br /&gt;
Now you must make an entry in /etc/nsmb.conf file. Insert something like this:&lt;br /&gt;
 edit /etc/nsmb.conf&lt;br /&gt;
  &lt;br /&gt;
 # File System on disk 2&lt;br /&gt;
 [FS2:MIKE]&lt;br /&gt;
 addr=10.0.0.96&lt;br /&gt;
 password=&amp;lt;put hased password here&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Define mount'''&lt;br /&gt;
&lt;br /&gt;
Now you have to create an entry in the /etc/fstab file. It might look like this:&lt;br /&gt;
&lt;br /&gt;
 edit /etc/fstab&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;font color=&amp;quot;#000077&amp;quot;&amp;gt;# Device                Mountpoint      FStype  Options         Dump    Pass#&lt;br /&gt;
 /dev/ad0s1b             none            swap    sw              0       0&lt;br /&gt;
 /dev/ad0s1a             /               ufs     rw              1       1&lt;br /&gt;
 /dev/ad0s1e             /tmp            ufs     rw              2       2&lt;br /&gt;
 /dev/ad0s1f             /usr            ufs     rw              2       2&lt;br /&gt;
 /dev/ad0s1d             /var            ufs     rw              2       2&lt;br /&gt;
 /dev/acd0               /cdrom          cd9660  ro,noauto       0       0&amp;lt;/font&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;font color=&amp;quot;#007700&amp;quot;&amp;gt;''add this line if the user id is “mike” the netbios name “FS2” and the share &amp;quot;movie&amp;quot;''&amp;lt;/font&amp;gt;&lt;br /&gt;
 //mike@FS2/movie     /fs2            smbfs   rw              0       0&lt;br /&gt;
&lt;br /&gt;
Create the mount point directory:&lt;br /&gt;
 mkdir /fs2&lt;br /&gt;
 chown mike:staff&lt;br /&gt;
&lt;br /&gt;
Test it by mounting it:&lt;br /&gt;
 mount /fs2 &lt;br /&gt;
 ls /fs2&lt;/div&gt;</summary>
		<author><name>Lars</name></author>
		
	</entry>
</feed>