User talk:Ramuk

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 04:48, 6 September 2006 by Ramuk (Talk | contribs)

Jump to: navigation, search


My Install

Get the archive

Flash The The LinkStation firmware flasher

  • Disable any firewall(s), including any built-in Windows firewall
  • Make sure the LinkStation and your PC are on the same sub-network. This likely requires that you change the IP address (and probably the subnet-mask) of your PC to a different (and static) IP address (see the README file for the subnet).
  • Run the firmware updater executable HD-HGLAN FWUpdate.exe
  • After finding your LinkStation, press the "Renew Firmware" button, and wait. Have patience, and keep your calm. If you think the Firmware updater is acting strange, do not try to disconnect the LinkStation or abort the update in another way.
  • Use a Telnet (insecure communications protocol used for remote access to a host) client (we recommend PuTTYtel) to connect to the LinkStation. You will be at the root shell.

Login to the machine and get started

# telnet 192.168.1.XXX
Debian GNU/Linux 3.1 %h

Change the root password

passwd root

Get and update with apt-get

apt-get update
apt-get install ssh
apt-get upgrade
apt-get install samba smbfs
apt-get install webmin webmin-core webmin-cpan webmin-inetd webmin-logrotate webmin-firewall
apt-get install webmin-samba
rm /etc/rc2.d/S05utelnetd

Freeing up space on hda1

cp -Rdp /home /mnt
rm -R   /home
ln -s /mnt/home /home
cp -Rdp /usr /mnt
rm -R   /usr
ln -s /mnt/usr /usr
cp -Rdp /var /mnt
rm -R   /var
ln -s /mnt/var /var

Correct the system time and setup Network Time Protocol (NTP)

apt-get install ntp ntp-simple ntp-server ntpdate

Upgrade to the 2.6-kernel (ppc only)

tar -C / -xvzf latest-webinstaller.tar.gz

Install an Encrypted Filespace with EncFS

tar -C / -xvzf fuse_2.5.3-binaries-ppc.tar.gz
apt-get install encfs

Troubleshooting Windows shares (samba) - guest access

1. Pick a directory you wish to share ie: /mnt/share and change the access permissions to make it readable and writable to everybody.

mkdir /mnt/share
chmod 777 /mnt/share

2. Add the [share] section to /etc/samba/smb.conf

 security = share
 workgroup = MSHOME
 create mode = 777
 directory mode = 777

 comment = LinkStation Share
 path = /mnt/share
 read only = no 
 public = yes

3. Restart Samba on the Linkstation with this command:

/etc/rc.d/init.d/smb restart

Macintosh related configuration, netatalk, mt-daapd

tar -C / -xvzf libid3tag_0.15.1b-binaries-ppc.tar.gz
tar -C / -xvzf mtdaapd_0.2.4-binaries-ppc.tar.gz
mv /etc/mt-daapd.SAMPLE /etc/mt-daapd
  • Then edit /etc/mt-daapd/*. When done,
/etc/init.d/mt-daapd start

Precompiled C development environment, running on the LS

mkdir tmp
cd tmp
mkdir devtools
cd devtools
tar xzvf ../ppc-tools-2_1.tgz
tar -C / -xvjf kernel-headers-2.4.20_hglan_htgl-2.0.tar.bz2

USB Palm OS Device as an LCD Display

apt-get install lcdproc
apt-get remove lcdproc
tar -xvzf lcdproc-0.4.5.tar.gz
cd lcdproc-0.4.5
make install

Install Ipkg on the Linkstation (for end-users)

tar -C / -xvzf powerpc-hdhlan-ipkg-0.99.153-1.tgz
  • Add the following lines to the file /etc/ipkg.conf:
src nslu2-cross-stable
src nslu2-cross-unstable
src nslu2-native-stable
src nslu2-native-unstable

XBMC - Using Xbox Media Center with the LinkStation

ipkg install ccxstream
  • Edit the ccxstream start file and change the username and shared directory for your system



if [ -n "`pidof ccxstream`" ] ; then
   killall ccxstream 2>/dev/null

# see /opt/doc/ccxstream/README for the full summary on
# command-line options, but the terse summary is that
# -r is the directory to "share" using ccxstream, and is
# probably the option you most want to adjust.

sleep 2
/opt/sbin/ccxstream -r /mnt/share -u username -f -F /var/run/
  • Start the ccXStream daemon