Samba - a Windows-readable file share

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 11:14, 4 August 2006 by Ramuk (Talk | contribs) (Openlink)

Jump to: navigation, search

This article based on work done by Frontalot at


1. Install the Samba[1][2] and SMBFS packages. Use the command:

apt-get install samba smbfs 

2. Enter your domain/workgroup when prompted. The Windows XP default is MSHOME.

3. If prompted, select yes to creating a password database.

4. Although it is possible to setup Samba manually[3], it is highly recommended that you use Webmin[4] for configuration. Webmin is much easier to use and will undoubtedly save you a lot of trouble.


The LinkStation by default comes with a version of Samba[5], if you want a newer version (3.0.23) you'll have to install it manually [6][7]

tar -C / -xvzf samba_3.0.23_ppc.tar.gz

if you want to use it on a openlinked box, then disable the updating of the /etc/samba/smb.conf by the melco-scripts. samba 3.0.23 is not compatible with the smb.conf that gets created for samba 2.2.

If you want to use your handmade samba config, and tell the LS not to touch it: Have a look at /etc/init.d/chkshare

 echo "Samba configration file generating..." 
/bin/mkcode -s > /dev/null 
/bin/nkf -sEO /etc/samba/smb.conf /tmp/smb.conf 
mv -f /tmp/smb.conf /etc/samba/smb.conf

and comment out at least the last quoted line.


  1. The samba web site
  2. "Using Samba", by Ts, Eckstein, and Collier-Brown (O'Reilly)
  3. - a sample smb.conf file
  4. Webmin to remotely administer your LinkStation
  5. FAQ: What version of Samba does the stock LinkStation come with? Netatalk? thttpd? WU-FTPD? ProFTPD?
  6. The Linkstation Community Forum / General Development / optware packages - wouldn`t that be an idea for openlink?
  7. The Linkstation Community Forum / Linkstation 2 (mips) / Cannot write to USB disk