Samba - a Windows-readable file share
From NAS-Central Buffalo - The Linkstation Wiki
m (→Openlink) |
m (→Openlink (PowerPC)) |
||
| Line 17: | Line 17: | ||
==Openlink (PowerPC)== | ==Openlink (PowerPC)== | ||
The LinkStation by default comes with a version of Samba<ref>[[FAQ#What_version_of_Samba_does_the_stock_LinkStation_come_with.3F_Netatalk.3F_thttpd.3F_WU-FTPD.3F_ProFTPD.3F |FAQ: What version of Samba does the stock LinkStation come with? Netatalk? thttpd? WU-FTPD? ProFTPD?]] | The LinkStation by default comes with a version of Samba<ref>[[FAQ#What_version_of_Samba_does_the_stock_LinkStation_come_with.3F_Netatalk.3F_thttpd.3F_WU-FTPD.3F_ProFTPD.3F |FAQ: What version of Samba does the stock LinkStation come with? Netatalk? thttpd? WU-FTPD? ProFTPD?]] | ||
| - | </ref>, if you want a newer version (3.0.23) you'll have to install it manually <ref>[http://forum.linkstationwiki.net/index.php?action=vthread&forum=7&topic=1238#msg10716 The Linkstation Community Forum / General Development / optware packages - wouldn`t that be an idea for openlink?]</ref><ref>[http://forum.linkstationwiki.net/index.php?action=vthread&forum=3&topic=1169&page=0#msg9722 The Linkstation Community Forum / Linkstation 2 (mips) / Cannot write to USB disk]</ref> | + | </ref>, if you want a newer version (3.0.23) you'll have to install it manually <ref>[http://forum.linkstationwiki.net/index.php?action=vthread&forum=7&topic=1238#msg10716 The Linkstation Community Forum / General Development / optware packages - wouldn`t that be an idea for openlink?]</ref><ref>[http://forum.linkstationwiki.net/index.php?action=vthread&forum=3&topic=1169&page=0#msg9722 The Linkstation Community Forum / Linkstation 2 (mips) / Cannot write to USB disk]</ref> from precompiled binaries or alternatively compile it from source.<ref>http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html - How to Compile Samba</ref> |
wget http://downloads.linkstationwiki.net/packages/ppc/samba_3.0.23_ppc.tar.gz | wget http://downloads.linkstationwiki.net/packages/ppc/samba_3.0.23_ppc.tar.gz | ||
tar -C / -xvzf samba_3.0.23_ppc.tar.gz | tar -C / -xvzf samba_3.0.23_ppc.tar.gz | ||
Revision as of 14:56, 6 August 2006
This article
based on work done by Frontalot
at Linkstationwiki.org
FreeLink
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.
Openlink (PowerPC)
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] from precompiled binaries or alternatively compile it from source.[8]
wget http://downloads.linkstationwiki.net/packages/ppc/samba_3.0.23_ppc.tar.gz 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.
References
- ↑ http://www.samba.org/ The samba web site
- ↑ http://us4.samba.org/samba/docs/using_samba/toc.html "Using Samba", by Ts, Eckstein, and Collier-Brown (O'Reilly)
- ↑ http://www.reallylinux.com/docs/smb.conf - a sample smb.conf file
- ↑ Webmin to remotely administer your LinkStation
- ↑ FAQ: What version of Samba does the stock LinkStation come with? Netatalk? thttpd? WU-FTPD? ProFTPD?
- ↑ The Linkstation Community Forum / General Development / optware packages - wouldn`t that be an idea for openlink?
- ↑ The Linkstation Community Forum / Linkstation 2 (mips) / Cannot write to USB disk
- ↑ http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html - How to Compile Samba

