Changes

From Amahi Wiki
Jump to: navigation, search
13 bytes added ,  18:35, 2 August 2009
no edit summary
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 "su -".
* We need to create a credential file to mount on startup: sudo nano /root/.smbcredentials
*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):
sudo chmod 700 /root/.smbcredentials
* Let's back up our fstab: sudo cp /etc/fstab /etc/fstab_old* If needed you may return to the original this way: sudo mv /etc/fstab_old /etc/fstab
* Now we edit fstab:
* Add this line at the end:
//hdaNAS-address/share /music var/mediahda/music files cifs credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
* Finally, test your settings to make sure they work:
sudo mount -a
13

edits