<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nordge1</id>
	<title>Amahi Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.amahi.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Nordge1"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Nordge1"/>
	<updated>2026-04-06T19:42:33Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Hosting_a_website&amp;diff=8887</id>
		<title>Hosting a website</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Hosting_a_website&amp;diff=8887"/>
		<updated>2010-02-21T01:37:17Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: I was very confussed whe I tried this tutorial so I add to it to clarify for noobs like me. Added how to find your conf file and what the file should look like when you're done&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;You want to run a web server in your Amahi server and make it visible from the web outside your home.&lt;br /&gt;
&lt;br /&gt;
'''FIRST: making anything visible outside your network can open security issues, so you are doing this at your own risk. Some apps are more secure than others, but there is nothing ultimately secure. Best is to use the [[VPN]] to login back home.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
With that out of the way, to host your own web site you need the following:&lt;br /&gt;
&lt;br /&gt;
* Forward a port to your HDA ip address, either for plain insecure http: 80, for https, 443 (advanced users can use other ports). Some routers call this or require a &amp;quot;virtual server&amp;quot;&lt;br /&gt;
* Chose a domain name that you own (or your free username.yourhda.com that comes with Amahi). This is how the app will be accessed outside&lt;br /&gt;
* Chose the app you want to make accessible outside, let's say, '''yourwebappname'''&lt;br /&gt;
&lt;br /&gt;
What you need to do (as root) is find for apps conf file then edit the conf file for the app:&lt;br /&gt;
&lt;br /&gt;
     ls /etc/httpd/conf.d&lt;br /&gt;
&lt;br /&gt;
Find your app .conf file. It will look like 10##-yourwebappname.conf&lt;br /&gt;
&lt;br /&gt;
     nano /etc/httpd/conf.d/10##-'''yourwebappname'''.conf&lt;br /&gt;
&lt;br /&gt;
Your conf file should look something like this at the top of the page:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        ServerName app&lt;br /&gt;
        ServerAlias app.YourDomain.lan&lt;br /&gt;
&lt;br /&gt;
Add this (immediately after the ServerName directive):&lt;br /&gt;
&lt;br /&gt;
     ServerAlias username.yourhda.com&lt;br /&gt;
&lt;br /&gt;
So it looks like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;VirtualHost *:80&amp;gt;&lt;br /&gt;
&lt;br /&gt;
        ServerName app&lt;br /&gt;
        ServerAlias app.YourDomain.lan&lt;br /&gt;
        ServerAlias username.yourhda.com&lt;br /&gt;
&lt;br /&gt;
You can add more server aliases if you want to access the app under those names. Then save the file, quit the editor (nano in this case) and restart the server:&lt;br /&gt;
&lt;br /&gt;
     service httpd reload&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FAQs ==&lt;br /&gt;
&lt;br /&gt;
* Q: Do i need to do anything for &amp;lt;code&amp;gt;username.yourhda.com&amp;lt;/code&amp;gt; to work?&lt;br /&gt;
      No. That comes free and automatically set up with your Amahi HDA&lt;br /&gt;
&lt;br /&gt;
* Q: What if i want to do it for a .html or .php file?&lt;br /&gt;
      You can do this by creating a Webapp of your own. In the apps tab,&lt;br /&gt;
      select Webapps and create a new one.&lt;br /&gt;
      What you do is, create a web app, and put the files into the root&lt;br /&gt;
      directory of the webap, something like this directory:&lt;br /&gt;
&lt;br /&gt;
          /var/hda/web-apps/'''yourwebappname'''/html&lt;br /&gt;
&lt;br /&gt;
      this directory belongs to apache. you will have to change the&lt;br /&gt;
      ownership to your user (recommended) or otherwise add things as root.&lt;br /&gt;
* Q: How do I change the ownership?&lt;br /&gt;
      You can do this by going to the command screen:&lt;br /&gt;
&lt;br /&gt;
         su -&lt;br /&gt;
         {password}&lt;br /&gt;
         chown {user} /var/hda/web-apps/&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=File:Simpleinvoicesthumb.jpg&amp;diff=8401</id>
		<title>File:Simpleinvoicesthumb.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=File:Simpleinvoicesthumb.jpg&amp;diff=8401"/>
		<updated>2010-02-13T18:01:23Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: Simpleinvoicesthumb.jpg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Simpleinvoicesthumb.jpg&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=File:Simpleinvoicesscreenshot.jpg&amp;diff=8395</id>
		<title>File:Simpleinvoicesscreenshot.jpg</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=File:Simpleinvoicesscreenshot.jpg&amp;diff=8395"/>
		<updated>2010-02-13T18:00:08Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: Simpleinvoicesscreenshot.jpg&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Simpleinvoicesscreenshot.jpg&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=6805</id>
		<title>SharingToNAS</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=6805"/>
		<updated>2010-01-03T07:41:12Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: Changed HDA_username and HDA_password to NAS_username and NAS_password&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Store you HDA shares on a NAS ==&lt;br /&gt;
I like to keep my mass storage on a NAS, but I want the stock shares on my HDA to work as designed. the following is my method for mounting my NAS share as my &amp;quot;/var/hda/files&amp;quot; directory. I chose that spot for convenience but you can put it anywhere you would like. I used the &amp;quot;Connecting to a Server by Mounting your HDA&amp;quot; as a template so the credit has to go to it's author. Here we go...&lt;br /&gt;
&lt;br /&gt;
Everthing I did below is done in putty from a cli interface, Install download putty and enter you hda name or address in the address line. Login as root or &amp;quot;su -&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* We need to create a credential file to mount on startup: &lt;br /&gt;
&amp;lt;code&amp;gt;sudo nano /root/.smbcredentials&amp;lt;/code&amp;gt;&lt;br /&gt;
*Add the following lines:&lt;br /&gt;
(You must change NAS_username and NAS_password to the correct user name and password for the NAS to connect to): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;username=NAS_username&amp;lt;\code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;password=NAS_password&amp;lt;\code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Save the file by hitting ctrl+x, type &amp;quot;y&amp;quot; to save the buffer, and &amp;lt;enter&amp;gt; to exit.&lt;br /&gt;
* Now, change the permissions of the file so only root can read and edit it: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo chmod 700 /root/.smbcredentials&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Let's back up our fstab: sudo cp /etc/fstab /etc/fstab_old&lt;br /&gt;
** If needed you may return to the original this way: &lt;br /&gt;
&amp;lt;code&amp;gt;sudo mv /etc/fstab_old /etc/fstab&amp;lt;/code&amp;gt; &lt;br /&gt;
* Now we edit fstab: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo nano /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Add this line at the end: &lt;br /&gt;
&lt;br /&gt;
        //server/share /var/hda/files/music cifs credentials=/root&lt;br /&gt;
        /.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0&lt;br /&gt;
&lt;br /&gt;
* Finally, test your settings to make sure they work: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo mount -a&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=6715</id>
		<title>SharingToNAS</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=6715"/>
		<updated>2009-12-30T07:44:50Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: fixed share paths&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Store you HDA shares on a NAS ==&lt;br /&gt;
I like to keep my mass storage on a NAS, but I want the stock shares on my HDA to work as designed. the following is my method for mounting my NAS share as my &amp;quot;/var/hda/files&amp;quot; directory. I chose that spot for convenience but you can put it anywhere you would like. I used the &amp;quot;Connecting to a Server by Mounting your HDA&amp;quot; as a template so the credit has to go to it's author. Here we go...&lt;br /&gt;
&lt;br /&gt;
Everthing I did below is done in putty from a cli interface, Install download putty and enter you hda name or address in the address line. Login as root or &amp;quot;su -&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* We need to create a credential file to mount on startup: &lt;br /&gt;
&amp;lt;code&amp;gt;sudo nano /root/.smbcredentials&amp;lt;/code&amp;gt;&lt;br /&gt;
*Add the following lines:&lt;br /&gt;
(You must change hda_username and hda_password to the correct user name and password for the NAS to connect to): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
username=hda_username&lt;br /&gt;
password=hda_password&lt;br /&gt;
&amp;lt;\code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Save the file by hitting ctrl+x, type &amp;quot;y&amp;quot; to save the buffer, and &amp;lt;enter&amp;gt; to exit.&lt;br /&gt;
* Now, change the permissions of the file so only root can read and edit it: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo chmod 700 /root/.smbcredentials&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Let's back up our fstab: sudo cp /etc/fstab /etc/fstab_old&lt;br /&gt;
** If needed you may return to the original this way: &lt;br /&gt;
&amp;lt;code&amp;gt;sudo mv /etc/fstab_old /etc/fstab&amp;lt;/code&amp;gt; &lt;br /&gt;
* Now we edit fstab: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo nano /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Add this line at the end: &lt;br /&gt;
&lt;br /&gt;
        //server/share /var/hda/files/music cifs credentials=/root&lt;br /&gt;
        /.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0&lt;br /&gt;
&lt;br /&gt;
* Finally, test your settings to make sure they work: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo mount -a&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=4225</id>
		<title>SharingToNAS</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=4225"/>
		<updated>2009-08-18T13:25:08Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Store you HDA shares on a NAS ==&lt;br /&gt;
I like to keep my mass storage on a NAS, but I want the stock shares on my HDA to work as designed. the following is my method for mounting my NAS share as my &amp;quot;/var/hda/files&amp;quot; directory. I chose that spot for convenience but you can put it anywhere you would like. I used the &amp;quot;Connecting to a Server by Mounting your HDA&amp;quot; as a template so the credit has to go to it's author. Here we go...&lt;br /&gt;
&lt;br /&gt;
Everthing I did below is done in putty from a cli interface, Install download putty and enter you hda name or address in the address line. Login as root or &amp;quot;su -&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* We need to create a credential file to mount on startup: &lt;br /&gt;
&amp;lt;code&amp;gt;sudo nano /root/.smbcredentials&amp;lt;/code&amp;gt;&lt;br /&gt;
*Add the following lines:&lt;br /&gt;
(You must change hda_username and hda_password to the correct user name and password for the NAS to connect to): &lt;br /&gt;
&lt;br /&gt;
username=hda_username&lt;br /&gt;
password=hda_password&lt;br /&gt;
&lt;br /&gt;
* Save the file by hitting ctrl+x, type &amp;quot;y&amp;quot; to save the buffer, and &amp;lt;enter&amp;gt; to exit.&lt;br /&gt;
* Now, change the permissions of the file so only root can read and edit it: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo chmod 700 /root/.smbcredentials&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Let's back up our fstab: sudo cp /etc/fstab /etc/fstab_old&lt;br /&gt;
** If needed you may return to the original this way: &lt;br /&gt;
&amp;lt;code&amp;gt;sudo mv /etc/fstab_old /etc/fstab&amp;lt;/code&amp;gt; &lt;br /&gt;
* Now we edit fstab: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo nano /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Add this line at the end: &lt;br /&gt;
&lt;br /&gt;
        //hda/music /media/music cifs credentials=/root&lt;br /&gt;
        /.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0&lt;br /&gt;
&lt;br /&gt;
* Finally, test your settings to make sure they work: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo mount -a&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=4223</id>
		<title>SharingToNAS</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=4223"/>
		<updated>2009-08-18T13:24:21Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Store you HDA shares on a NAS ==&lt;br /&gt;
I like to keep my mass storage on a NAS, but I want the stock shares on my HDA to work as designed. the following is my method for mounting my NAS share as my &amp;quot;/var/hda/files&amp;quot; directory. I chose that spot for convenience but you can put it anywhere you would like. I used the &amp;quot;Connecting to a Server by Mounting your HDA&amp;quot; as a template so the credit has to go to it's author. Here we go...&lt;br /&gt;
&lt;br /&gt;
Everthing I did below is done in putty from a cli interface, Install download putty and enter you hda name or address in the address line. Login as root or &amp;quot;su -&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* We need to create a credential file to mount on startup: &lt;br /&gt;
&amp;lt;code&amp;gt;sudo nano /root/.smbcredentials&amp;lt;/code&amp;gt;&lt;br /&gt;
*Add the following lines:&lt;br /&gt;
(You must change hda_username and hda_password to the correct user name and password for the NAS to connect to): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;username=hda_username&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;password=hda_password&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Save the file by hitting ctrl+x, type &amp;quot;y&amp;quot; to save the buffer, and &amp;lt;enter&amp;gt; to exit.&lt;br /&gt;
* Now, change the permissions of the file so only root can read and edit it: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo chmod 700 /root/.smbcredentials&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Let's back up our fstab: sudo cp /etc/fstab /etc/fstab_old&lt;br /&gt;
** If needed you may return to the original this way: &lt;br /&gt;
&amp;lt;code&amp;gt;sudo mv /etc/fstab_old /etc/fstab&amp;lt;/code&amp;gt; &lt;br /&gt;
* Now we edit fstab: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo nano /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Add this line at the end: &lt;br /&gt;
&lt;br /&gt;
        //hda/music /media/music cifs credentials=/root&lt;br /&gt;
        /.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0&lt;br /&gt;
&lt;br /&gt;
* Finally, test your settings to make sure they work: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo mount -a&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3935</id>
		<title>SharingToNAS</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3935"/>
		<updated>2009-08-02T18:39:16Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Store you HDA shares on a NAS ==&lt;br /&gt;
I like to keep my mass storage on a NAS, but I want the stock shares on my HDA to work as designed. the following is my method for mounting my NAS share as my &amp;quot;/var/hda/files&amp;quot; directory. I chose that spot for convenience but you can put it anywhere you would like. I used the &amp;quot;Connecting to a Server by Mounting your HDA&amp;quot; as a template so the credit has to go to it's author. Here we go...&lt;br /&gt;
&lt;br /&gt;
Everthing I did below is done in putty from a cli interface, Install download putty and enter you hda name or address in the address line. Login as root or &amp;quot;su -&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* We need to create a credential file to mount on startup: &lt;br /&gt;
&amp;lt;code&amp;gt;sudo nano /root/.smbcredentials&amp;lt;/code&amp;gt;&lt;br /&gt;
*Add the following lines:&lt;br /&gt;
(You must change hda_username and hda_password to the correct user name and password for the NAS to connect to): &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;username=hda_username&lt;br /&gt;
password=hda_password&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Save the file by hitting ctrl+x, type &amp;quot;y&amp;quot; to save the buffer, and &amp;lt;enter&amp;gt; to exit.&lt;br /&gt;
* Now, change the permissions of the file so only root can read and edit it: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo chmod 700 /root/.smbcredentials&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Let's back up our fstab: sudo cp /etc/fstab /etc/fstab_old&lt;br /&gt;
** If needed you may return to the original this way: &lt;br /&gt;
&amp;lt;code&amp;gt;sudo mv /etc/fstab_old /etc/fstab&amp;lt;/code&amp;gt; &lt;br /&gt;
* Now we edit fstab: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo nano /etc/fstab&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Add this line at the end: &lt;br /&gt;
&lt;br /&gt;
        //hda/music /media/music cifs credentials=/root&lt;br /&gt;
        /.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0&lt;br /&gt;
&lt;br /&gt;
* Finally, test your settings to make sure they work: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo mount -a&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3929</id>
		<title>SharingToNAS</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3929"/>
		<updated>2009-08-02T18:35:17Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Store you HDA shares on a NAS ==&lt;br /&gt;
I like to keep my mass storage on a NAS, but I want the stock shares on my HDA to work as designed. the following is my method for mounting my NAS share as my &amp;quot;/var/hda/files&amp;quot; directory. I chose that spot for convenience but you can put it anywhere you would like. I used the &amp;quot;Connecting to a Server by Mounting your HDA&amp;quot; as a template so the credit has to go to it's author. Here we go...&lt;br /&gt;
&lt;br /&gt;
Everthing I did below is done in putty from a cli interface, Install download putty and enter you hda name or address in the address line. Login as root or &amp;quot;su -&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* We need to create a credential file to mount on startup: &lt;br /&gt;
sudo nano /root/.smbcredentials&lt;br /&gt;
*Add the following lines: (You must change hda_username and hda_password to the correct user name and password for the hda to connect to): &lt;br /&gt;
&lt;br /&gt;
username=hda_username&lt;br /&gt;
password=hda_password&lt;br /&gt;
&lt;br /&gt;
* Save the file by hitting ctrl+x, type &amp;quot;y&amp;quot; to save the buffer, and &amp;lt;enter&amp;gt; to exit.&lt;br /&gt;
* Now, change the permissions of the file so only root can read and edit it: &lt;br /&gt;
&lt;br /&gt;
sudo chmod 700 /root/.smbcredentials&lt;br /&gt;
&lt;br /&gt;
* Let's back up our fstab: &lt;br /&gt;
sudo cp /etc/fstab /etc/fstab_old&lt;br /&gt;
* If needed you may return to the original this way: &lt;br /&gt;
sudo mv /etc/fstab_old /etc/fstab &lt;br /&gt;
* Now we edit fstab: &lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/fstab&lt;br /&gt;
&lt;br /&gt;
* Add this line at the end: &lt;br /&gt;
&lt;br /&gt;
//NAS-address/share /var/hda/files cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 &lt;br /&gt;
&lt;br /&gt;
* Finally, test your settings to make sure they work: &lt;br /&gt;
&lt;br /&gt;
sudo mount -a&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3927</id>
		<title>SharingToNAS</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3927"/>
		<updated>2009-08-02T18:31:29Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Store you HDA shares on a NAS ==&lt;br /&gt;
I like to keep my mass storage on a NAS, but I want the stock shares on my HDA to work as designed. the following is my method for mounting my NAS share as my &amp;quot;/var/hda/files&amp;quot; directory. I chose that spot for convenience but you can put it anywhere you would like. I used the &amp;quot;Connecting to a Server by Mounting your HDA&amp;quot; as a template so the credit has to go to it's author. Here we go...&lt;br /&gt;
&lt;br /&gt;
Everthing I did below is done in putty from a cli interface, Install download putty and enter you hda name or address in the address line. Login as root or &amp;quot;su -&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
* We need to create a credential file to mount on startup: sudo nano /root/.smbcredentials&lt;br /&gt;
*Add the following lines: (You must change hda_username and hda_password to the correct user name and password for the hda to connect to): &lt;br /&gt;
&lt;br /&gt;
username=hda_username&lt;br /&gt;
password=hda_password&lt;br /&gt;
&lt;br /&gt;
* Save the file by hitting ctrl+x, type &amp;quot;y&amp;quot; to save the buffer, and &amp;lt;enter&amp;gt; to exit.&lt;br /&gt;
* Now, change the permissions of the file so only root can read and edit it: &lt;br /&gt;
&lt;br /&gt;
sudo chmod 700 /root/.smbcredentials&lt;br /&gt;
&lt;br /&gt;
* Let's back up our fstab: sudo cp /etc/fstab /etc/fstab_old&lt;br /&gt;
* If needed you may return to the original this way: sudo mv /etc/fstab_old /etc/fstab &lt;br /&gt;
* Now we edit fstab: &lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/fstab&lt;br /&gt;
&lt;br /&gt;
* Add this line at the end: &lt;br /&gt;
&lt;br /&gt;
//hda/music /media/music cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 &lt;br /&gt;
&lt;br /&gt;
* Finally, test your settings to make sure they work: &lt;br /&gt;
&lt;br /&gt;
sudo mount -a&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3925</id>
		<title>SharingToNAS</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3925"/>
		<updated>2009-08-02T18:26:12Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Store you HDA shares on a NAS ==&lt;br /&gt;
I like to keep my mass storage on a NAS, but I want the stock shares on my HDA to work as designed. the following is my method for mounting my NAS share as my &amp;quot;/var/hda/files&amp;quot; directory. I chose that spot for convenience but you can put it anywhere you would like. I used the &amp;quot;Connecting to a Server by Mounting your HDA&amp;quot; as a template so the credit has to go to it's author. Here we go...&lt;br /&gt;
&lt;br /&gt;
Everthing I did below is done in putty from a cli interface, Install download putty and enter you hda name or address in the address line. Login as root or &amp;quot;su -&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
    * We need to create a credential file to mount on startup: sudo nano /root/.smbcredentials&lt;br /&gt;
    *Add the following lines: (You must change hda_username and hda_password to the correct user name and password for the hda to connect to): &lt;br /&gt;
&lt;br /&gt;
username=hda_username&lt;br /&gt;
password=hda_password&lt;br /&gt;
&lt;br /&gt;
    * Save the file by hitting ctrl+x, type &amp;quot;y&amp;quot; to save the buffer, and &amp;lt;enter&amp;gt; to exit.&lt;br /&gt;
    * Now, change the permissions of the file so only root can read and edit it: &lt;br /&gt;
&lt;br /&gt;
sudo chmod 700 /root/.smbcredentials&lt;br /&gt;
&lt;br /&gt;
    * Let's back up our fstab: sudo cp /etc/fstab /etc/fstab_old&lt;br /&gt;
          o If needed you may return to the original this way: sudo mv /etc/fstab_old /etc/fstab &lt;br /&gt;
    * Now we edit fstab: &lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/fstab&lt;br /&gt;
&lt;br /&gt;
    * Add this line at the end: &lt;br /&gt;
&lt;br /&gt;
//hda/music /media/music cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 &lt;br /&gt;
&lt;br /&gt;
    * Finally, test your settings to make sure they work: &lt;br /&gt;
&lt;br /&gt;
sudo mount -a&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3923</id>
		<title>SharingToNAS</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3923"/>
		<updated>2009-08-02T18:24:10Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Store you HDA shares on a NAS ==&lt;br /&gt;
I like to keep my mass storage on a NAS, but I want the stock shares on my HDA to work as designed. the following is my method for mounting my NAS share as my &amp;quot;/var/hda/files&amp;quot; directory. I chose that spot for convenience but you can put it anywhere you would like. I used the &amp;quot;Connecting to a Server by Mounting your HDA&amp;quot; as a template so the credit has to go to it's author. Here we go...&lt;br /&gt;
&lt;br /&gt;
    * We need to create a credential file to mount on startup: sudo nano /root/.smbcredentials&lt;br /&gt;
    *Add the following lines: (You must change hda_username and hda_password to the correct user name and password for the hda to connect to): &lt;br /&gt;
&lt;br /&gt;
username=hda_username&lt;br /&gt;
password=hda_password&lt;br /&gt;
&lt;br /&gt;
    * Save the file by hitting ctrl+x, type &amp;quot;y&amp;quot; to save the buffer, and &amp;lt;enter&amp;gt; to exit.&lt;br /&gt;
    * Now, change the permissions of the file so only root can read and edit it: &lt;br /&gt;
&lt;br /&gt;
sudo chmod 700 /root/.smbcredentials&lt;br /&gt;
&lt;br /&gt;
    * Let's back up our fstab: sudo cp /etc/fstab /etc/fstab_old&lt;br /&gt;
          o If needed you may return to the original this way: sudo mv /etc/fstab_old /etc/fstab &lt;br /&gt;
    * Now we edit fstab: &lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/fstab&lt;br /&gt;
&lt;br /&gt;
    * Add this line at the end: &lt;br /&gt;
&lt;br /&gt;
//hda/music /media/music cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 &lt;br /&gt;
&lt;br /&gt;
    * Finally, test your settings to make sure they work: &lt;br /&gt;
&lt;br /&gt;
sudo mount -a&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3921</id>
		<title>SharingToNAS</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=SharingToNAS&amp;diff=3921"/>
		<updated>2009-08-02T18:21:41Z</updated>

		<summary type="html">&lt;p&gt;Nordge1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Store you HDA shares on a NAS ==&lt;br /&gt;
I like to keep my mass storage on a NAS, but I want the stock shares on my HDA to work as designed. the following is my method for mounting my NAS share as my &amp;quot;/var/hda/files&amp;quot; directory. I chose that spot for convenience but you can put it anywhere you would like. I used the &amp;quot;Connecting to a Server by Mounting your HDA&amp;quot;&lt;br /&gt;
as a template so the credit has to go to it's author. Here we go...&lt;br /&gt;
&lt;br /&gt;
    * We need to create a credential file to mount on startup: sudo nano /root/.smbcredentials&lt;br /&gt;
          o Add the following lines: (You must change hda_username and hda_password to the correct user name and password for the hda to connect to): &lt;br /&gt;
&lt;br /&gt;
username=hda_username                                                        &lt;br /&gt;
password=hda_password&lt;br /&gt;
&lt;br /&gt;
    * Save the file by hitting ctrl+x, type &amp;quot;y&amp;quot; to save the buffer, and &amp;lt;enter&amp;gt; to exit.&lt;br /&gt;
    * Now, change the permissions of the file so only root can read and edit it: &lt;br /&gt;
&lt;br /&gt;
sudo chmod 700 /root/.smbcredentials&lt;br /&gt;
&lt;br /&gt;
    * Let's back up our fstab: sudo cp /etc/fstab /etc/fstab_old&lt;br /&gt;
          o If needed you may return to the original this way: sudo mv /etc/fstab_old /etc/fstab &lt;br /&gt;
    * Now we edit fstab: &lt;br /&gt;
&lt;br /&gt;
sudo nano /etc/fstab&lt;br /&gt;
&lt;br /&gt;
    * Add this line at the end: &lt;br /&gt;
&lt;br /&gt;
//hda/music /media/music cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0 &lt;br /&gt;
&lt;br /&gt;
    * Finally, test your settings to make sure they work: &lt;br /&gt;
&lt;br /&gt;
sudo mount -a&lt;/div&gt;</summary>
		<author><name>Nordge1</name></author>
		
	</entry>
</feed>