Clicky

Upgrade Samba on your NAS-4220

This section of the guide explains how to upgrade Samba on the NAS-4220

Please make sure you have installed OPTWARE first
Install Optware – Nas-4220
Return to the NAS-4220 Guide Menu

NOTE This guide uses /mnt/ide2/ as a link to the main drive. This may be different on your NAS. You can the the DF command to view the mounted drives

  • Telnet into your NAS using Putty or other client. (The username is root and the password is the same as the web admin login
telnet nas-4220
  • Backup your smb.conf with the following command. This can then be backed up off the NAS via FTP or Samba
cp /usr/hddapp/etc/samba/smb.conf /mnt/ide2/public/smb.conf
  • Run the folllowing command to install Samba. It may install other packages automatically.
ipkg upgrade samba
  • Delete the old smb.conf
cd /usr/hddapp/etc/samba
rm smb.conf
  • Stop all old Samba processes
killall smbd
killall nmbd
  • Finally run the Samba daemon
smbd -D
smbd -D
  • You can check to see if the Samba daemon is running with the command
top
top linux
  • You can also check the Samba version with the command
samba -V

You will now be running the upgraded version of Samba. You will next need to customise your smb.conf (coming soon)