<?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=Td512</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=Td512"/>
	<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php/Special:Contributions/Td512"/>
	<updated>2026-04-08T05:19:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Mount_Shares_Locally&amp;diff=109581</id>
		<title>Mount Shares Locally</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Mount_Shares_Locally&amp;diff=109581"/>
		<updated>2017-09-03T04:29:03Z</updated>

		<summary type="html">&lt;p&gt;Td512: /* Amahi 6 (Ubuntu 12.04) [Depreciated] */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= #faa|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
==Purpose==&lt;br /&gt;
&lt;br /&gt;
Mounting your Samba shares locally within your HDA is useful when you want a process '''running within your HDA''' to write data in a way that ends up in a Greyhole-managed share.&lt;br /&gt;
&lt;br /&gt;
The reason is that Greyhole data should '''only be accessed through shares'', not directly onto the local file system, so mounting those shares locally is an easy way to work with Greyhole data safely.&lt;br /&gt;
&lt;br /&gt;
For example, if an app like a downloader gets files from the internet and you want those files to be in a Greyhole-managed share, it has to place them into the share, not directly into the operating system, or Greyhole otherwise cannot handle them. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Download and Setup ==&lt;br /&gt;
&lt;br /&gt;
* As '''root''' (or precede commands with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;), install the mount_shares_locally initd script:&lt;br /&gt;
&lt;br /&gt;
=== Amahi 10 or greater (Fedora) ===&lt;br /&gt;
 dnf install cifs-utils&lt;br /&gt;
 cp /usr/share/hda-ctl/mount_shares_locally /etc/init.d&lt;br /&gt;
 chmod +x /etc/init.d/mount_shares_locally&lt;br /&gt;
 chkconfig --add mount_shares_locally&lt;br /&gt;
&lt;br /&gt;
=== Amahi 7/8/9 (Fedora) ===&lt;br /&gt;
 yum install cifs-utils&lt;br /&gt;
 curl -o /etc/init.d/mount_shares_locally &amp;lt;nowiki&amp;gt;http://dl.amahi.org&amp;lt;/nowiki&amp;gt;/mount_shares_locally.fedora&lt;br /&gt;
 chmod +x /etc/init.d/mount_shares_locally&lt;br /&gt;
 chkconfig --add mount_shares_locally&lt;br /&gt;
&lt;br /&gt;
::'''NOTE:'''  &amp;lt;code&amp;gt;yum&amp;lt;/code&amp;gt; (deprecated) has been replaced with &amp;lt;code&amp;gt;dnf&amp;lt;/code&amp;gt; as the package manager for Fedora 23 or greater.&lt;br /&gt;
&lt;br /&gt;
=== Amahi 6 (Ubuntu 12.04) ===&lt;br /&gt;
 sudo apt-get install cifs-utils curl&lt;br /&gt;
 sudo curl -o /etc/init.d/mount_shares_locally &amp;lt;nowiki&amp;gt;http://dl.amahi.org/mount_shares_locally.ubuntu&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 sudo chmod +x /etc/init.d/mount_shares_locally&lt;br /&gt;
 sudo update-rc.d mount_shares_locally defaults&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
* As '''root''', edit /etc/init.d/mount_shares_locally&lt;br /&gt;
**Replace ''&amp;quot;***set this string to your username!***&amp;quot;'' (line 12) with your username. For example '''&amp;quot;amahi&amp;quot;'''&lt;br /&gt;
**The script may require the MariaDB root password be changed:  &lt;br /&gt;
***Please see [[Database Root Password]] for the appropriate login password.&lt;br /&gt;
***Also if you changed the MariaDB root password on your own.  &lt;br /&gt;
:&amp;lt;blockquote&amp;gt;Change ''hda'' (line 25) to the appropriate password:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysql -u root -phda -e &amp;quot;select name from shares&amp;quot; hda_production | grep -v &amp;quot;^name$&amp;quot; | xargs -d &amp;quot;\n&amp;quot; mkdir -p&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* Create the ''/home/your_username/.smb_credentials'' file. This is a simple text file (use your favorite text editor).&lt;br /&gt;
 vi /home/your_username/.smb_credentials&lt;br /&gt;
*Enter the following:&lt;br /&gt;
&lt;br /&gt;
  username=your_username&lt;br /&gt;
  password=your_password&lt;br /&gt;
  domain=HOME&lt;br /&gt;
&lt;br /&gt;
*Verify the ''.smb_credentials'' is owned by root:root or 1stadminuser:users:&lt;br /&gt;
 ls -al /home/your_username/.smb_credentials&lt;br /&gt;
&lt;br /&gt;
:'''NOTE:'''  your_username and your_password in the .smb_credentials file needs to be the original username (1st Admin User) and password you created when you installed the OS ('''NOT''' ''root'').&lt;br /&gt;
&lt;br /&gt;
*To test your new mounts, you can execute as root user:&lt;br /&gt;
:&lt;br /&gt;
:&amp;lt;u&amp;gt;Mount&amp;lt;/u&amp;gt;&lt;br /&gt;
 systemctl daemon-reload&lt;br /&gt;
 service mount_shares_locally start&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;u&amp;gt;Unmount&amp;lt;/u&amp;gt;&lt;br /&gt;
 service mount_shares_locally stop&lt;br /&gt;
&lt;br /&gt;
:'''NOTE:''' If you used /etc/rc.local and /etc/fstab to mount shares locally in the past, you can remove what you added in those files now (&amp;lt;u&amp;gt;DO NOT&amp;lt;/u&amp;gt; remove the drive mount lines). The above initd script replaces all this.&lt;br /&gt;
&lt;br /&gt;
== Re-mount to Add new shares ==&lt;br /&gt;
If you added new share to Greyhole, you need to restart the script by executing as root user (or sudo):&lt;br /&gt;
 service mount_shares_locally restart&lt;br /&gt;
This will unmount and remount all your shares, reflecting all the new shares you added.&lt;br /&gt;
&lt;br /&gt;
== Where everything is mounted ==&lt;br /&gt;
You will find the mounted shares in ''/mnt/samba/*'' and should look something like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;drwxrwx--- 2 your_username users 0 Aug  9 23:31 Books&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Aug  9 23:31 Docs&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Mar  2 16:15 Movies&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Aug  9 23:31 Music&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Aug  9 23:31 Pictures&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Aug  9 23:31 Public&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Jul 29 02:02 TV&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Aug  9 23:31 Videos&amp;lt;/pre&amp;gt;&lt;br /&gt;
For example, your &amp;quot;Pictures&amp;quot; share would be located at '''/mnt/samba/Pictures'''.  When working with files on the HDA, access them via this share and &amp;lt;u&amp;gt;NOT&amp;lt;/u&amp;gt; the traditional /var/hda/files/pictures location.&lt;br /&gt;
&lt;br /&gt;
== Uninstall==&lt;br /&gt;
To uninstall ''mount_shares_locally'', do the following as '''root''':&lt;br /&gt;
 service mount_shares_locally stop&lt;br /&gt;
 rm -rf /etc/init.d/mount_shares_locally&lt;br /&gt;
 rm -rf /home/your_username/.smb_credentials&lt;br /&gt;
 chkconfig --del mount_shares_locally&lt;br /&gt;
 rm -rf /mnt/samba/*&lt;br /&gt;
Now if you choose to reinstall later, your machine will be in a clean state.&lt;br /&gt;
&lt;br /&gt;
==Revise mount_shares_locally ==&lt;br /&gt;
&lt;br /&gt;
{{Warning|&lt;br /&gt;
&amp;lt;div style&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;color:darkred&amp;quot;&amp;gt;This is &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; an officially supported script for Amahi.  Use at your own risk.  We cannot guarantee it will work.&amp;lt;/div&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Some apps used by Amahi are used to download files etc. Often we want these files to end up in our shares. Let's say that SickBeard is used to download TV episodes. You then have to configure SickBeard to place your new episode somewhere. A logical place is to save to the landing zone of your Greyhole share which could be ''/var/hda/files/TV''. There are two downsides to this though.&lt;br /&gt;
&lt;br /&gt;
* Greyhole is not notified of the fact that a file is added and only discovers it and makes it available in your share after a ''fsck'', which could take a long time.&lt;br /&gt;
* Files deleted through apps in this folder don't register a ''delete'' event that Greyhole can pick up and thus only the symlink in the landing zone is removed. The actual file copies remain on disc. Similarly users running Plex Media Server for example will have issues if the clients are allowed to ''delete contents'' and the server is configured to work on the landing zone. I described this issue when packaging Plex a long time ago [[Plex_Media_Server|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since Greyhole uses Samba as a layer between the user and itself we would like to keep our writes and deletes to the shares and not the actual landing zone. But since apps (most of them) run as the user ''apache'' it will not be able to access ''/mnt/samba'', which is the default mount point if you set up ''mount_shares_locally''. This following script retains the function of the original script but also adds a second mount point under ''/mnt/apache'' where the ''apache'' user will have read and write access. I have kept it simple and it will use the same credentials as the ''main'' mount. So only shares available to that user will be available for apache.&lt;br /&gt;
&lt;br /&gt;
By doing this apache will now have a place where it is allowed to read and write files to your shares and SickBeard can thus be configured to place the new episode in ''/mnt/apache/TV'' which is then instantly picked up by Greyhole and file copies distributed to the discs in your pool as configured.&lt;br /&gt;
&lt;br /&gt;
Note that this script is based of the Greyhole original one and uses ''/etc/samba/smb.conf'' as the source of your shares and does not load the shares from the database like the old HDA version of the script did. If that behaviour is desired that can be easily added by replacing the lines&lt;br /&gt;
&lt;br /&gt;
 testparm -s /etc/samba/smb.conf 2&amp;gt;/dev/null | grep &amp;quot;^\[&amp;quot; | grep -v &amp;quot;\[global\]&amp;quot; | grep -v &amp;quot;\[homes\]&amp;quot; | awk -F'[' '{print $2}' | awk -F']' '{print $1}' | xargs -d &amp;quot;\n&amp;quot; mkdir -p&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
 mysql -u root -p -e &amp;quot;select comment from shares&amp;quot; hda_production | grep -v &amp;quot;^comment$&amp;quot; | xargs -d &amp;quot;\n&amp;quot; mkdir -p&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''WARNING:'''  Please see [[Database Root Password]] for the appropriate login password.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
=== MySQL Problems ===&lt;br /&gt;
&lt;br /&gt;
Since Greyhole moved from SQL Lite to MySQL, you may hit a problem where Greyhole and the mount_shares_locally script both attempt to start before MySQL in bootup, leading to the services not starting properly.  If this happens, you can try this to fix it:&lt;br /&gt;
&lt;br /&gt;
 ls /etc/rc.d/rc3.d/&lt;br /&gt;
* Look for any entries marked S-1.  If there are any, they need to be removed.  Run the following as root:&lt;br /&gt;
&lt;br /&gt;
 rm S-1*&lt;br /&gt;
&lt;br /&gt;
=== Share Permissions ===&lt;br /&gt;
Ensure your share file and ownership permissions are correct:&lt;br /&gt;
 ls -al /var/hda/files&lt;br /&gt;
For example, the correct permissions are:&lt;br /&gt;
 drwxr-xr-x. 10 root  root  4096 Jul 29 17:02 .&lt;br /&gt;
 drwxr-xr-x. 13 root  root  4096 Dec  5  2013 ..&lt;br /&gt;
 drwxrwxr-x   2 1stadmin users 4096 Dec  5  2013 books&lt;br /&gt;
If this is not correct, you will need to change them:&lt;br /&gt;
 chmod -R 775 /var/hda/files/sharename&lt;br /&gt;
 chown -R 1stadminuser:users /var/hda/files/sharename&lt;br /&gt;
&lt;br /&gt;
:'''NOTE:''' Replace ''1stadminuser'' with your admin user name and ''sharename'' with the actual share name.&lt;/div&gt;</summary>
		<author><name>Td512</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Mount_Shares_Locally&amp;diff=109576</id>
		<title>Mount Shares Locally</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Mount_Shares_Locally&amp;diff=109576"/>
		<updated>2017-09-03T04:28:35Z</updated>

		<summary type="html">&lt;p&gt;Td512: /* Amahi 6 (Ubuntu 12.04) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= #faa|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is recommended only for advanced users, proceed with caution.}}&lt;br /&gt;
==Purpose==&lt;br /&gt;
&lt;br /&gt;
Mounting your Samba shares locally within your HDA is useful when you want a process '''running within your HDA''' to write data in a way that ends up in a Greyhole-managed share.&lt;br /&gt;
&lt;br /&gt;
The reason is that Greyhole data should '''only be accessed through shares'', not directly onto the local file system, so mounting those shares locally is an easy way to work with Greyhole data safely.&lt;br /&gt;
&lt;br /&gt;
For example, if an app like a downloader gets files from the internet and you want those files to be in a Greyhole-managed share, it has to place them into the share, not directly into the operating system, or Greyhole otherwise cannot handle them. &lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
== Download and Setup ==&lt;br /&gt;
&lt;br /&gt;
* As '''root''' (or precede commands with &amp;lt;code&amp;gt;sudo&amp;lt;/code&amp;gt;), install the mount_shares_locally initd script:&lt;br /&gt;
&lt;br /&gt;
=== Amahi 10 or greater (Fedora) ===&lt;br /&gt;
 dnf install cifs-utils&lt;br /&gt;
 cp /usr/share/hda-ctl/mount_shares_locally /etc/init.d&lt;br /&gt;
 chmod +x /etc/init.d/mount_shares_locally&lt;br /&gt;
 chkconfig --add mount_shares_locally&lt;br /&gt;
&lt;br /&gt;
=== Amahi 7/8/9 (Fedora) ===&lt;br /&gt;
 yum install cifs-utils&lt;br /&gt;
 curl -o /etc/init.d/mount_shares_locally &amp;lt;nowiki&amp;gt;http://dl.amahi.org&amp;lt;/nowiki&amp;gt;/mount_shares_locally.fedora&lt;br /&gt;
 chmod +x /etc/init.d/mount_shares_locally&lt;br /&gt;
 chkconfig --add mount_shares_locally&lt;br /&gt;
&lt;br /&gt;
::'''NOTE:'''  &amp;lt;code&amp;gt;yum&amp;lt;/code&amp;gt; (deprecated) has been replaced with &amp;lt;code&amp;gt;dnf&amp;lt;/code&amp;gt; as the package manager for Fedora 23 or greater.&lt;br /&gt;
&lt;br /&gt;
=== Amahi 6 (Ubuntu 12.04) [Depreciated] ===&lt;br /&gt;
 sudo apt-get install cifs-utils curl&lt;br /&gt;
 sudo curl -o /etc/init.d/mount_shares_locally &amp;lt;nowiki&amp;gt;http://dl.amahi.org/mount_shares_locally.ubuntu&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 sudo chmod +x /etc/init.d/mount_shares_locally&lt;br /&gt;
 sudo update-rc.d mount_shares_locally defaults&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
* As '''root''', edit /etc/init.d/mount_shares_locally&lt;br /&gt;
**Replace ''&amp;quot;***set this string to your username!***&amp;quot;'' (line 12) with your username. For example '''&amp;quot;amahi&amp;quot;'''&lt;br /&gt;
**The script may require the MariaDB root password be changed:  &lt;br /&gt;
***Please see [[Database Root Password]] for the appropriate login password.&lt;br /&gt;
***Also if you changed the MariaDB root password on your own.  &lt;br /&gt;
:&amp;lt;blockquote&amp;gt;Change ''hda'' (line 25) to the appropriate password:&lt;br /&gt;
&amp;lt;pre&amp;gt;mysql -u root -phda -e &amp;quot;select name from shares&amp;quot; hda_production | grep -v &amp;quot;^name$&amp;quot; | xargs -d &amp;quot;\n&amp;quot; mkdir -p&amp;lt;/pre&amp;gt;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
* Create the ''/home/your_username/.smb_credentials'' file. This is a simple text file (use your favorite text editor).&lt;br /&gt;
 vi /home/your_username/.smb_credentials&lt;br /&gt;
*Enter the following:&lt;br /&gt;
&lt;br /&gt;
  username=your_username&lt;br /&gt;
  password=your_password&lt;br /&gt;
  domain=HOME&lt;br /&gt;
&lt;br /&gt;
*Verify the ''.smb_credentials'' is owned by root:root or 1stadminuser:users:&lt;br /&gt;
 ls -al /home/your_username/.smb_credentials&lt;br /&gt;
&lt;br /&gt;
:'''NOTE:'''  your_username and your_password in the .smb_credentials file needs to be the original username (1st Admin User) and password you created when you installed the OS ('''NOT''' ''root'').&lt;br /&gt;
&lt;br /&gt;
*To test your new mounts, you can execute as root user:&lt;br /&gt;
:&lt;br /&gt;
:&amp;lt;u&amp;gt;Mount&amp;lt;/u&amp;gt;&lt;br /&gt;
 systemctl daemon-reload&lt;br /&gt;
 service mount_shares_locally start&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;u&amp;gt;Unmount&amp;lt;/u&amp;gt;&lt;br /&gt;
 service mount_shares_locally stop&lt;br /&gt;
&lt;br /&gt;
:'''NOTE:''' If you used /etc/rc.local and /etc/fstab to mount shares locally in the past, you can remove what you added in those files now (&amp;lt;u&amp;gt;DO NOT&amp;lt;/u&amp;gt; remove the drive mount lines). The above initd script replaces all this.&lt;br /&gt;
&lt;br /&gt;
== Re-mount to Add new shares ==&lt;br /&gt;
If you added new share to Greyhole, you need to restart the script by executing as root user (or sudo):&lt;br /&gt;
 service mount_shares_locally restart&lt;br /&gt;
This will unmount and remount all your shares, reflecting all the new shares you added.&lt;br /&gt;
&lt;br /&gt;
== Where everything is mounted ==&lt;br /&gt;
You will find the mounted shares in ''/mnt/samba/*'' and should look something like this:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;drwxrwx--- 2 your_username users 0 Aug  9 23:31 Books&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Aug  9 23:31 Docs&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Mar  2 16:15 Movies&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Aug  9 23:31 Music&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Aug  9 23:31 Pictures&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Aug  9 23:31 Public&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Jul 29 02:02 TV&lt;br /&gt;
drwxrwx--- 2 your_username users 0 Aug  9 23:31 Videos&amp;lt;/pre&amp;gt;&lt;br /&gt;
For example, your &amp;quot;Pictures&amp;quot; share would be located at '''/mnt/samba/Pictures'''.  When working with files on the HDA, access them via this share and &amp;lt;u&amp;gt;NOT&amp;lt;/u&amp;gt; the traditional /var/hda/files/pictures location.&lt;br /&gt;
&lt;br /&gt;
== Uninstall==&lt;br /&gt;
To uninstall ''mount_shares_locally'', do the following as '''root''':&lt;br /&gt;
 service mount_shares_locally stop&lt;br /&gt;
 rm -rf /etc/init.d/mount_shares_locally&lt;br /&gt;
 rm -rf /home/your_username/.smb_credentials&lt;br /&gt;
 chkconfig --del mount_shares_locally&lt;br /&gt;
 rm -rf /mnt/samba/*&lt;br /&gt;
Now if you choose to reinstall later, your machine will be in a clean state.&lt;br /&gt;
&lt;br /&gt;
==Revise mount_shares_locally ==&lt;br /&gt;
&lt;br /&gt;
{{Warning|&lt;br /&gt;
&amp;lt;div style&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;&amp;quot;color:darkred&amp;quot;&amp;gt;This is &amp;lt;b&amp;gt;NOT&amp;lt;/b&amp;gt; an officially supported script for Amahi.  Use at your own risk.  We cannot guarantee it will work.&amp;lt;/div&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Some apps used by Amahi are used to download files etc. Often we want these files to end up in our shares. Let's say that SickBeard is used to download TV episodes. You then have to configure SickBeard to place your new episode somewhere. A logical place is to save to the landing zone of your Greyhole share which could be ''/var/hda/files/TV''. There are two downsides to this though.&lt;br /&gt;
&lt;br /&gt;
* Greyhole is not notified of the fact that a file is added and only discovers it and makes it available in your share after a ''fsck'', which could take a long time.&lt;br /&gt;
* Files deleted through apps in this folder don't register a ''delete'' event that Greyhole can pick up and thus only the symlink in the landing zone is removed. The actual file copies remain on disc. Similarly users running Plex Media Server for example will have issues if the clients are allowed to ''delete contents'' and the server is configured to work on the landing zone. I described this issue when packaging Plex a long time ago [[Plex_Media_Server|here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since Greyhole uses Samba as a layer between the user and itself we would like to keep our writes and deletes to the shares and not the actual landing zone. But since apps (most of them) run as the user ''apache'' it will not be able to access ''/mnt/samba'', which is the default mount point if you set up ''mount_shares_locally''. This following script retains the function of the original script but also adds a second mount point under ''/mnt/apache'' where the ''apache'' user will have read and write access. I have kept it simple and it will use the same credentials as the ''main'' mount. So only shares available to that user will be available for apache.&lt;br /&gt;
&lt;br /&gt;
By doing this apache will now have a place where it is allowed to read and write files to your shares and SickBeard can thus be configured to place the new episode in ''/mnt/apache/TV'' which is then instantly picked up by Greyhole and file copies distributed to the discs in your pool as configured.&lt;br /&gt;
&lt;br /&gt;
Note that this script is based of the Greyhole original one and uses ''/etc/samba/smb.conf'' as the source of your shares and does not load the shares from the database like the old HDA version of the script did. If that behaviour is desired that can be easily added by replacing the lines&lt;br /&gt;
&lt;br /&gt;
 testparm -s /etc/samba/smb.conf 2&amp;gt;/dev/null | grep &amp;quot;^\[&amp;quot; | grep -v &amp;quot;\[global\]&amp;quot; | grep -v &amp;quot;\[homes\]&amp;quot; | awk -F'[' '{print $2}' | awk -F']' '{print $1}' | xargs -d &amp;quot;\n&amp;quot; mkdir -p&lt;br /&gt;
&lt;br /&gt;
with&lt;br /&gt;
&lt;br /&gt;
 mysql -u root -p -e &amp;quot;select comment from shares&amp;quot; hda_production | grep -v &amp;quot;^comment$&amp;quot; | xargs -d &amp;quot;\n&amp;quot; mkdir -p&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''WARNING:'''  Please see [[Database Root Password]] for the appropriate login password.&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
=== MySQL Problems ===&lt;br /&gt;
&lt;br /&gt;
Since Greyhole moved from SQL Lite to MySQL, you may hit a problem where Greyhole and the mount_shares_locally script both attempt to start before MySQL in bootup, leading to the services not starting properly.  If this happens, you can try this to fix it:&lt;br /&gt;
&lt;br /&gt;
 ls /etc/rc.d/rc3.d/&lt;br /&gt;
* Look for any entries marked S-1.  If there are any, they need to be removed.  Run the following as root:&lt;br /&gt;
&lt;br /&gt;
 rm S-1*&lt;br /&gt;
&lt;br /&gt;
=== Share Permissions ===&lt;br /&gt;
Ensure your share file and ownership permissions are correct:&lt;br /&gt;
 ls -al /var/hda/files&lt;br /&gt;
For example, the correct permissions are:&lt;br /&gt;
 drwxr-xr-x. 10 root  root  4096 Jul 29 17:02 .&lt;br /&gt;
 drwxr-xr-x. 13 root  root  4096 Dec  5  2013 ..&lt;br /&gt;
 drwxrwxr-x   2 1stadmin users 4096 Dec  5  2013 books&lt;br /&gt;
If this is not correct, you will need to change them:&lt;br /&gt;
 chmod -R 775 /var/hda/files/sharename&lt;br /&gt;
 chown -R 1stadminuser:users /var/hda/files/sharename&lt;br /&gt;
&lt;br /&gt;
:'''NOTE:''' Replace ''1stadminuser'' with your admin user name and ''sharename'' with the actual share name.&lt;/div&gt;</summary>
		<author><name>Td512</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=Centos_7&amp;diff=104236</id>
		<title>Centos 7</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=Centos_7&amp;diff=104236"/>
		<updated>2016-07-24T08:37:33Z</updated>

		<summary type="html">&lt;p&gt;Td512: /* Amahi */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{MessageBox|&lt;br /&gt;
backgroundcolor	= #ffaaaa|&lt;br /&gt;
image	=Warning.png|&lt;br /&gt;
heading	=WARNING|&lt;br /&gt;
message = This is only for developers. We are testing the potential implementation of Amahi with CentOS 7, therefore it's '''NOT''' for public use!}}&lt;br /&gt;
=Objective=&lt;br /&gt;
Configure and test installation of Amahi 9 with CentOS 7.2 for potential adoption for the next Amahi release.  This is '''ONLY''' for development testing by the Amahi staff!&lt;br /&gt;
&lt;br /&gt;
=To Do=&lt;br /&gt;
* Create Amahi repo&lt;br /&gt;
* &amp;lt;s&amp;gt;Create apps for C7&amp;lt;/s&amp;gt;&lt;br /&gt;
* Test Apps (only [https://www.amahi.org/apps/phpsysinfo phpSysInfo] has been tested)&lt;br /&gt;
* Build Amahi-specific RPMs (''amahi-anywhere'', ''amahi-greyhole'', ''amahi-plex'', ''amahi-sync'', ''amahi-netboot'')&lt;br /&gt;
* Test Netinstall method&lt;br /&gt;
* Build apps testbot&lt;br /&gt;
* Create custom Amahi CentOS 7 ISO (see [http://www.frankreimer.de/?p=522 Create Custom Centos 7 Kickstart boot CD ISO])&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
==CentOS 7==&lt;br /&gt;
Download CentOS 7.2:&lt;br /&gt;
* Netinstall ISO (376MB):&lt;br /&gt;
** HTTP - [http://mirrors.cmich.edu/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1511.iso CentOS-7-x86_64-NetInstall-1511.iso]&lt;br /&gt;
** Torrent - [http://mirrors.cmich.edu/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1511.torrent CentOS-7-x86_64-NetInstall-1511.torrent]&lt;br /&gt;
* Minimal ISO (603MB):&lt;br /&gt;
** HTTP - [http://mirrors.cmich.edu/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.iso CentOS-7-x86_64-Minimal-1511.iso] &lt;br /&gt;
** Torrent - [http://mirrors.cmich.edu/centos/7/isos/x86_64/CentOS-7-x86_64-Minimal-1511.torrent CentOS-7-x86_64-Minimal-1511.torrent]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Follow the [https://www.howtoforge.com/tutorial/centos-7-minimal-server/ CentOS 7 Minimal Server] install guidance using Minimal ISO and create a user ('''DON'T''' set ''root'' password).&lt;br /&gt;
&lt;br /&gt;
==Amahi==&lt;br /&gt;
Installation must be done as ''root'' user.&lt;br /&gt;
* Install dependencies:&lt;br /&gt;
 yum install epel-release nano psmisc wget&lt;br /&gt;
 yum install gcc mysql-devel ruby-devel rubygems&lt;br /&gt;
* Download custom packages:&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt;http://tdstatic.net/RPMs/hda-ctl-7.0.0-1.x86_64.rpm&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt; http://tdstatic.net/RPMs/hda-platform-9.0.0-1.x86_64.rpm&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt; http://tdstatic.net/RPMs/rubygem-mysql2-0.4.4-1.x86-64.rpm&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 wget &amp;lt;nowiki&amp;gt; http://tdstatic.net/RPMs/rubygem-ruby-dbus-0.11.1-1.noarch.rpm&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* Install custom packages:&lt;br /&gt;
 yum localinstall hda-ctl-7.0.0-1.x86_64.rpm &lt;br /&gt;
 yum localinstall hda-platform-9.0.0-1.x86_64.rpm&lt;br /&gt;
 yum localinstall rubygem-mysql2-0.4.4-1.x86-64.rpm&lt;br /&gt;
 yum localinstall rubygem-ruby-dbus-0.11.1-1.noarch.rpm&lt;br /&gt;
* Install Ruby Gems:&lt;br /&gt;
 gem install mysql2 ruby-dbus&lt;br /&gt;
* Install Amahi:&lt;br /&gt;
 hda-install INSTALL_CODE&lt;br /&gt;
&lt;br /&gt;
=Known Issues=&lt;br /&gt;
* ''rubygem-mysql2'' and ''rubygem-ruby-dbus'' packages not available in CentOS or EPEL repo&lt;br /&gt;
* Dashboard reflects MariaDB server not running ([https://bugs.amahi.org/issues/1802 Bug #1802])&lt;br /&gt;
* Not all app dependencies available in CentOS or EPEL repo (i.e. ''calibre'' is not)&lt;br /&gt;
* Missing packages affects some apps&lt;br /&gt;
** PHP 5.5 not available in the CentOS or EPEL repo (see [https://webtatic.com/packages/php55/ PHP 5.5]) as &lt;br /&gt;
** RPM Fusion Repos do not appear available for CentOS 7 (see [http://rpmfusion.org/ RPM Fusion])&lt;br /&gt;
&lt;br /&gt;
=Bug Reports=&lt;br /&gt;
See Amahi [https://bugs.amahi.org/issues/2081 Bug #2081] for development progress.&lt;br /&gt;
= Development Notes=&lt;br /&gt;
* Install of CentOS 7.2 Minimal ISO is the only tested method&lt;br /&gt;
* Procedures for Amahi install have not been sufficiently tested&lt;br /&gt;
* Platform ([https://bugs.amahi.org/issues/1386 Bug #1386]) checklist was completed with no issues&lt;/div&gt;</summary>
		<author><name>Td512</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=100641</id>
		<title>IRC Bot</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=100641"/>
		<updated>2016-01-06T20:18:07Z</updated>

		<summary type="html">&lt;p&gt;Td512: /* Translate */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Our IRC Bot, AmahiBot is a supybot that sits in the #amahi channel on IRC.&lt;br /&gt;
&lt;br /&gt;
Don't be shy using it - the bot has no soul or emotions!&lt;br /&gt;
&lt;br /&gt;
AmahiBot has a few interesting and useful functions.&lt;br /&gt;
&lt;br /&gt;
=Amahi Specific=&lt;br /&gt;
&lt;br /&gt;
==*.Amahi.org==&lt;br /&gt;
Search amahi.org by using the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;!as &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Wiki==&lt;br /&gt;
To call or search for a wiki article do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;!ws &amp;lt;Wiki Article&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Forums==&lt;br /&gt;
To search the forums do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi forums &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
You can call up bugs from the Amahi bug tracker by saying:&lt;br /&gt;
&amp;lt;pre&amp;gt;!bs BUG#&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or search for a bug by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;!bs &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Google=&lt;br /&gt;
Any of the following commands will search Google and return the results + URLs.&lt;br /&gt;
&amp;lt;pre&amp;gt;!gs &amp;lt;define:|spell:&amp;gt; &amp;lt;search terms&amp;gt; &amp;lt;1+1&amp;gt; &amp;lt;1 cm in ft&amp;gt; &amp;lt;patent &amp;gt; &amp;lt;weather city|zip&amp;gt; &amp;lt;??? airport&amp;gt; &amp;lt;city,state/zip&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;!gs images &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;!gs groups &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=You Tube=&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  youtube me &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Time=&lt;br /&gt;
Use the following command to call the time:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot: time&amp;lt;/pre&amp;gt;&lt;br /&gt;
Default time is in UTC&lt;br /&gt;
&lt;br /&gt;
=Translate=&lt;br /&gt;
The bot can translate text for you if you need it, translate by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;!translate &amp;lt;current lang (ie. es)&amp;gt; &amp;lt;to lang (ie. en)&amp;gt; &amp;lt;text to translate&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Adding to the Bot =&lt;br /&gt;
&lt;br /&gt;
Here is how to add an alias:&lt;br /&gt;
&lt;br /&gt;
   !alias add nt &amp;quot;echo For Network Troubleshooting, visit: http://amahi.net/troubleshooter.html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Feedback=&lt;br /&gt;
And dont forget, leave us some [[IRCBot/Feedback | feedback]]!&lt;/div&gt;</summary>
		<author><name>Td512</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=100636</id>
		<title>IRC Bot</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=100636"/>
		<updated>2016-01-06T20:16:04Z</updated>

		<summary type="html">&lt;p&gt;Td512: /* Google */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Our IRC Bot, AmahiBot is a supybot that sits in the #amahi channel on IRC.&lt;br /&gt;
&lt;br /&gt;
Don't be shy using it - the bot has no soul or emotions!&lt;br /&gt;
&lt;br /&gt;
AmahiBot has a few interesting and useful functions.&lt;br /&gt;
&lt;br /&gt;
=Amahi Specific=&lt;br /&gt;
&lt;br /&gt;
==*.Amahi.org==&lt;br /&gt;
Search amahi.org by using the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;!as &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Wiki==&lt;br /&gt;
To call or search for a wiki article do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;!ws &amp;lt;Wiki Article&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Forums==&lt;br /&gt;
To search the forums do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi forums &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
You can call up bugs from the Amahi bug tracker by saying:&lt;br /&gt;
&amp;lt;pre&amp;gt;!bs BUG#&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or search for a bug by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;!bs &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Google=&lt;br /&gt;
Any of the following commands will search Google and return the results + URLs.&lt;br /&gt;
&amp;lt;pre&amp;gt;!gs &amp;lt;define:|spell:&amp;gt; &amp;lt;search terms&amp;gt; &amp;lt;1+1&amp;gt; &amp;lt;1 cm in ft&amp;gt; &amp;lt;patent &amp;gt; &amp;lt;weather city|zip&amp;gt; &amp;lt;??? airport&amp;gt; &amp;lt;city,state/zip&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;!gs images &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;!gs groups &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=You Tube=&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  youtube me &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Time=&lt;br /&gt;
Use the following command to call the time:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot: time&amp;lt;/pre&amp;gt;&lt;br /&gt;
Default time is in UTC&lt;br /&gt;
&lt;br /&gt;
=Translate=&lt;br /&gt;
The bot can translate text for you if you need it, translate by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google translate &amp;lt;current lang (ie. es)&amp;gt; &amp;lt;to lang (ie. en)&amp;gt; &amp;lt;text to translate&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Adding to the Bot =&lt;br /&gt;
&lt;br /&gt;
Here is how to add an alias:&lt;br /&gt;
&lt;br /&gt;
   !alias add nt &amp;quot;echo For Network Troubleshooting, visit: http://amahi.net/troubleshooter.html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Feedback=&lt;br /&gt;
And dont forget, leave us some [[IRCBot/Feedback | feedback]]!&lt;/div&gt;</summary>
		<author><name>Td512</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=100631</id>
		<title>IRC Bot</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=100631"/>
		<updated>2016-01-06T20:14:27Z</updated>

		<summary type="html">&lt;p&gt;Td512: /* Wiki */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Our IRC Bot, AmahiBot is a supybot that sits in the #amahi channel on IRC.&lt;br /&gt;
&lt;br /&gt;
Don't be shy using it - the bot has no soul or emotions!&lt;br /&gt;
&lt;br /&gt;
AmahiBot has a few interesting and useful functions.&lt;br /&gt;
&lt;br /&gt;
=Amahi Specific=&lt;br /&gt;
&lt;br /&gt;
==*.Amahi.org==&lt;br /&gt;
Search amahi.org by using the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;!as &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Wiki==&lt;br /&gt;
To call or search for a wiki article do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;!ws &amp;lt;Wiki Article&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Forums==&lt;br /&gt;
To search the forums do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi forums &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
You can call up bugs from the Amahi bug tracker by saying:&lt;br /&gt;
&amp;lt;pre&amp;gt;!bs BUG#&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or search for a bug by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;!bs &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Google=&lt;br /&gt;
Any of the following commands will search Google and return the results + URLs.&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google &amp;lt;define:|spell:&amp;gt; &amp;lt;search terms&amp;gt; &amp;lt;1+1&amp;gt; &amp;lt;1 cm in ft&amp;gt; &amp;lt;patent &amp;gt; &amp;lt;weather city|zip&amp;gt; &amp;lt;??? airport&amp;gt; &amp;lt;city,state/zip&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google images &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google groups &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=You Tube=&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  youtube me &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Time=&lt;br /&gt;
Use the following command to call the time:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot: time&amp;lt;/pre&amp;gt;&lt;br /&gt;
Default time is in UTC&lt;br /&gt;
&lt;br /&gt;
=Translate=&lt;br /&gt;
The bot can translate text for you if you need it, translate by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google translate &amp;lt;current lang (ie. es)&amp;gt; &amp;lt;to lang (ie. en)&amp;gt; &amp;lt;text to translate&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Adding to the Bot =&lt;br /&gt;
&lt;br /&gt;
Here is how to add an alias:&lt;br /&gt;
&lt;br /&gt;
   !alias add nt &amp;quot;echo For Network Troubleshooting, visit: http://amahi.net/troubleshooter.html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Feedback=&lt;br /&gt;
And dont forget, leave us some [[IRCBot/Feedback | feedback]]!&lt;/div&gt;</summary>
		<author><name>Td512</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=File:Video-fp.png&amp;diff=100476</id>
		<title>File:Video-fp.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=File:Video-fp.png&amp;diff=100476"/>
		<updated>2015-12-12T10:35:56Z</updated>

		<summary type="html">&lt;p&gt;Td512: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Td512</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=99836</id>
		<title>IRC Bot</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=99836"/>
		<updated>2015-10-10T01:20:24Z</updated>

		<summary type="html">&lt;p&gt;Td512: /* Bugs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Our IRC Bot, AmahiBot is a supybot that sits in the #amahi channel on IRC.&lt;br /&gt;
&lt;br /&gt;
Don't be shy using it - the bot has no soul or emotions!&lt;br /&gt;
&lt;br /&gt;
AmahiBot has a few interesting and useful functions.&lt;br /&gt;
&lt;br /&gt;
=Amahi Specific=&lt;br /&gt;
&lt;br /&gt;
==*.Amahi.org==&lt;br /&gt;
Search amahi.org by using the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;!as &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Wiki==&lt;br /&gt;
To call or search for a wiki article do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;!as &amp;lt;Wiki Article&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Forums==&lt;br /&gt;
To search the forums do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi forums &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
You can call up bugs from the Amahi bug tracker by saying:&lt;br /&gt;
&amp;lt;pre&amp;gt;!bs BUG#&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or search for a bug by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;!bs &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Google=&lt;br /&gt;
Any of the following commands will search Google and return the results + URLs.&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google &amp;lt;define:|spell:&amp;gt; &amp;lt;search terms&amp;gt; &amp;lt;1+1&amp;gt; &amp;lt;1 cm in ft&amp;gt; &amp;lt;patent &amp;gt; &amp;lt;weather city|zip&amp;gt; &amp;lt;??? airport&amp;gt; &amp;lt;city,state/zip&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google images &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google groups &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=You Tube=&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  youtube me &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Time=&lt;br /&gt;
Use the following command to call the time:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot: time&amp;lt;/pre&amp;gt;&lt;br /&gt;
Default time is in UTC&lt;br /&gt;
&lt;br /&gt;
=Translate=&lt;br /&gt;
The bot can translate text for you if you need it, translate by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google translate &amp;lt;current lang (ie. es)&amp;gt; &amp;lt;to lang (ie. en)&amp;gt; &amp;lt;text to translate&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Adding to the Bot =&lt;br /&gt;
&lt;br /&gt;
Here is how to add an alias:&lt;br /&gt;
&lt;br /&gt;
   !alias add nt &amp;quot;echo For Network Troubleshooting, visit: http://amahi.net/troubleshooter.html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Feedback=&lt;br /&gt;
And dont forget, leave us some [[IRCBot/Feedback | feedback]]!&lt;/div&gt;</summary>
		<author><name>Td512</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=94321</id>
		<title>IRC Bot</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=94321"/>
		<updated>2015-08-15T03:32:15Z</updated>

		<summary type="html">&lt;p&gt;Td512: /* Wiki */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Our IRC Bot, AmahiBot is a supybot that sits in the #amahi channel on IRC.&lt;br /&gt;
&lt;br /&gt;
Don't be shy using it - the bot has no soul or emotions!&lt;br /&gt;
&lt;br /&gt;
AmahiBot has a few interesting and useful functions.&lt;br /&gt;
&lt;br /&gt;
=Amahi Specific=&lt;br /&gt;
&lt;br /&gt;
==*.Amahi.org==&lt;br /&gt;
Search amahi.org by using the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;!as &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Wiki==&lt;br /&gt;
To call or search for a wiki article do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;!as &amp;lt;Wiki Article&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Forums==&lt;br /&gt;
To search the forums do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi forums &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
You can call up bugs from the Amahi bug tracker by saying:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi bugs BUG#&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or search for a bug by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi bugs &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Bugs are also posted automatically to the channel when they are created.&lt;br /&gt;
&lt;br /&gt;
=Google=&lt;br /&gt;
Any of the following commands will search Google and return the results + URLs.&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google &amp;lt;define:|spell:&amp;gt; &amp;lt;search terms&amp;gt; &amp;lt;1+1&amp;gt; &amp;lt;1 cm in ft&amp;gt; &amp;lt;patent &amp;gt; &amp;lt;weather city|zip&amp;gt; &amp;lt;??? airport&amp;gt; &amp;lt;city,state/zip&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google images &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google groups &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=You Tube=&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  youtube me &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Time=&lt;br /&gt;
Use the following command to call the time:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot: time&amp;lt;/pre&amp;gt;&lt;br /&gt;
Default time is in UTC&lt;br /&gt;
&lt;br /&gt;
=Translate=&lt;br /&gt;
The bot can translate text for you if you need it, translate by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google translate &amp;lt;current lang (ie. es)&amp;gt; &amp;lt;to lang (ie. en)&amp;gt; &amp;lt;text to translate&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Adding to the Bot =&lt;br /&gt;
&lt;br /&gt;
Here is how to add an alias:&lt;br /&gt;
&lt;br /&gt;
   !alias add nt &amp;quot;echo For Network Troubleshooting, visit: http://amahi.net/troubleshooter.html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Feedback=&lt;br /&gt;
And dont forget, leave us some [[IRCBot/Feedback | feedback]]!&lt;/div&gt;</summary>
		<author><name>Td512</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=94316</id>
		<title>IRC Bot</title>
		<link rel="alternate" type="text/html" href="https://wiki.amahi.org/index.php?title=IRC_Bot&amp;diff=94316"/>
		<updated>2015-08-15T03:30:47Z</updated>

		<summary type="html">&lt;p&gt;Td512: /* Amahi.org */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Our IRC Bot, AmahiBot is a supybot that sits in the #amahi channel on IRC.&lt;br /&gt;
&lt;br /&gt;
Don't be shy using it - the bot has no soul or emotions!&lt;br /&gt;
&lt;br /&gt;
AmahiBot has a few interesting and useful functions.&lt;br /&gt;
&lt;br /&gt;
=Amahi Specific=&lt;br /&gt;
&lt;br /&gt;
==*.Amahi.org==&lt;br /&gt;
Search amahi.org by using the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;!as &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Wiki==&lt;br /&gt;
To call a wiki article do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi wiki &amp;lt;Article&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or to search the wiki use the following command:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi wiki &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Forums==&lt;br /&gt;
To search the forums do the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi forums &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Bugs==&lt;br /&gt;
You can call up bugs from the Amahi bug tracker by saying:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi bugs BUG#&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or search for a bug by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google amahi bugs &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Bugs are also posted automatically to the channel when they are created.&lt;br /&gt;
&lt;br /&gt;
=Google=&lt;br /&gt;
Any of the following commands will search Google and return the results + URLs.&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google &amp;lt;define:|spell:&amp;gt; &amp;lt;search terms&amp;gt; &amp;lt;1+1&amp;gt; &amp;lt;1 cm in ft&amp;gt; &amp;lt;patent &amp;gt; &amp;lt;weather city|zip&amp;gt; &amp;lt;??? airport&amp;gt; &amp;lt;city,state/zip&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google images &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
:or&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google groups &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=You Tube=&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  youtube me &amp;lt;search terms&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Time=&lt;br /&gt;
Use the following command to call the time:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot: time&amp;lt;/pre&amp;gt;&lt;br /&gt;
Default time is in UTC&lt;br /&gt;
&lt;br /&gt;
=Translate=&lt;br /&gt;
The bot can translate text for you if you need it, translate by doing the following:&lt;br /&gt;
&amp;lt;pre&amp;gt;Amahibot:  google translate &amp;lt;current lang (ie. es)&amp;gt; &amp;lt;to lang (ie. en)&amp;gt; &amp;lt;text to translate&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Adding to the Bot =&lt;br /&gt;
&lt;br /&gt;
Here is how to add an alias:&lt;br /&gt;
&lt;br /&gt;
   !alias add nt &amp;quot;echo For Network Troubleshooting, visit: http://amahi.net/troubleshooter.html&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=Feedback=&lt;br /&gt;
And dont forget, leave us some [[IRCBot/Feedback | feedback]]!&lt;/div&gt;</summary>
		<author><name>Td512</name></author>
		
	</entry>
</feed>