From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 21:41, 18 October 2006 by (Talk) (Primary Script)

Jump to: navigation, search
Linkstation-debdux.gif 107px-Francesco_Torniello_da_Novara_Letter_F_1517.png 120px-Francesco_Torniello_da_Novara_Letter_X_1517.png


FreeLinkomatix is a tool for the Debian version of Linux used on the Buffalo LinkStation called FreeLink. This tool is designed to automate the addition of applications, libraries, and the upgrade to a v2.6 kernel (PPC linkstations only: LS1 and HG) which is not provided directly in the FreeLink distribution. This project aims to create a bash shell script like Automatix that will use apt-get to install applications from the APT debian repository. Some software will come from, the remainder will be compiled from source. This supports both the PowerPC and MIPSel versions of FreeLink. This script is similar to Andre's Web Installer, the goal will be to create a foolproof script. The script also looks for the most recent version of itself.

Nuvola apps important.png 

This is a work in progress, It performs actions mostly through apt-get and should not cause irreversible damage, however as yet it has not been extensively tested, please avoid using it on the MIPSel LS2 for now, until the free disk space part can be fixed.

Current actions of script

Primary Script

  1. Update apt-repositories....
  2. Install DHCP-3 client if not present
  3. Move /home /usr /var from hda1 to hda3 and create symlinks
  4. Enable the Debian unstable Branch
  5. Install Samba and Webmin
  6. Troubleshooting Windows shares (samba) - guest access
  7. Allow all IPs for Webmin
  8. Install SSH SSHd and the associated Webmin module
  9. Install ProFTPd and Webmin module
  10. Download StressFree Solutions Tiger Webmin Theme
  11. Configure the time zone and use NTPdate
  12. Install the Precompiled C development environment
  13. Upgrade to Kernel 2.6 using Andre's web installer (PowerPC only)

Post Kernel 2.6 Script

PPC linkstations only: LS1 and HG

  1. Add Kernel Network File System (NFS) and the Webmin Exports module
  2. Install Rsync and download Webmin module rsyncmin
  3. Add USB Automounting and CUPS Printer Support
  4. Macintosh Specific Netatalk and Howl Zeroconf DNS discovery service
  5. Add Firefly (mt-daapd) Media Server
  6. Install ccxstream XBMSP protocol for XBox Media Center
  7. KAID - XLink Kai online gaming for Xbox, 360, PS2 and PSP
  8. LAMP and Gallery2 Photo gallery

Remaining Goals

  1. Jinzora - web based multimedia application
  2. SlimServer server software that powers audio players from SlimDevices
  3. GMediaServer - GNU UPnP media server
  4. Wizd - A Media Server for Syabas based players

BASH Script Location

The in progress script is located in the talk/discussion page, anyone is free to change it:

The Downloadable for use version is located at

Forum Discussion

Linkstation Community Forum / General Development /


  • Install FreeLink First: Get the archive
Linkstation-debdux.gif LS1

  • Flash The The LinkStation firmware flasher
    • Open the archive and carefully read the included README file for any specific instructions.
    • 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 and router to a different IP address (out of the box the LS should start out on 192.168.1.XXX but in EM Mode it will have a static IP address of
    • Run the firmware updater executable HD-???LAN FWUpdate-english.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.
    • After flashing connect your LinkStation up to the network with subnet 192.168.1.XXX
    • Find your LinkStation on the network and Telnet to it with PuTTYtel You will be at the root shell.
Nuvola apps important.png 

The MIPSel version of FreeLink does not have telnet enabled as a default but rather SSH. Use PuTTY to open a SSH session to: (it has a static IP).
login as: root , password: freelink

Debian GNU/Linux 3.1 %h


    • Change the root password
passwd root

Primary Script

On a newly FreeLinked Linkstation you can get and install FreeLinkomatix with the following:

chmod a+x

Post Kernel 2.6 Script

Nuvola apps important.png 

The Post Kernel 2.6 Script is for PPC linkstations only: LS1 and HG

After Kernel 2.6 is done installing and the system reboots, Find your LinkStation on the network and open an SSH session to it with PuTTYtel, at this point you should be able to run the secondary script:

chmod a+x