Difference between revisions of "FreeLinkomatix"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (Installation)
m (Install FreeLink First)
Line 46: Line 46:
*'''[http://downloads.linkstationwiki.net/freelink/freelink_powerpc-hdhlan-1.11.zip LS1 - freelink_powerpc-hdhlan-1.11.zip]'''
|<big>'''[http://downloads.linkstationwiki.net/freelink/freelink_powerpc-hdhlan-1.11.zip freelink_powerpc-hdhlan-1.11.zip]'''</big>
*'''[http://downloads.linkstationwiki.net/freelink/development/freelink_mipsel-hdhlan-060810.zip LS2 - freelink_mipsel-hdhlan-060810.zip]'''
*'''[http://downloads.linkstationwiki.net/freelink/freelink_powerpc-hdhglan-1.11.zip HG - freelink_powerpc-hdhglan-1.11.zip]'''
|<big>'''[http://downloads.linkstationwiki.net/freelink/development/freelink_mipsel-hdhlan-060810.zip freelink_mipsel-hdhlan-060810.zip]'''</big>
|<big>'''[http://downloads.linkstationwiki.net/freelink/freelink_powerpc-hdhglan-1.11.zip freelink_powerpc-hdhglan-1.11.zip]'''</big>
*'''Flash The [[The LinkStation firmware flasher]]'''
*'''Flash The [[The LinkStation firmware flasher]]'''
**Disable any firewall(s), '''including any built-in Windows firewall'''  
**Disable any firewall(s), '''including any built-in Windows firewall'''  
Line 68: Line 73:
**Change the root password
**Change the root password
  passwd root
  passwd root
==Primary Script==
==Primary Script==
On a newly FreeLinked Linkstation you should be able to do the following:
On a newly FreeLinked Linkstation you should be able to do the following:

Revision as of 20:56, 26 September 2006

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 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 http://downloads.linkstationwiki.net, 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 should look for an upgraded version of itself too (we'll have to use diff for that).

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

Current actions of script

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

BASH Script

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

Forum Discussion

And there is a forum topic in which to discuss:


Install FreeLink First

  • Get the archive
Linkstation-debdux.gif LS1 freelink_powerpc-hdhlan-1.11.zip
LS2 freelink_mipsel-hdhlan-060810.zip
HG freelink_powerpc-hdhglan-1.11.zip

  • 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 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.
Debian GNU/Linux 3.1 %h


    • Change the root password
passwd root

Primary Script

On a newly FreeLinked Linkstation you should be able to do the following:

wget http://downloads.linkstationwiki.net/freelinkomatix/freelinkomatix.sh
chmod a+x freelinkomatix.sh

And get started that way.

Post Kernel 2.6 Script

After Kernel 2.6 is done installing and the system reboots, log in again with an SSH session. At this point you should be able to run the secondary script.

wget http://downloads.linkstationwiki.net/freelinkomatix/postinstall.sh
chmod a+x postinstall.sh


To come up with a script that will install the following on FreeLink for the LS1 and HG. Also on the LS2 when appropriate.

  1. Get access to packages from the Debian unstable branch DONE
  2. Convert from telnet to SSH (both OpenSSH and Dropbear) DONE
  3. Samba - a Windows-readable file share DONE
    1. Troubleshooting Windows shares (samba) DONE
  4. Webmin to remotely administer your LinkStation DONE
    1. Upgrade Webmin may not be necessary unstable has v1.3 already
    2. Install and use the Webmin 'Tiger' theme DONE can download theme but user has to install themselves
  5. Freeing up space on hda1 DONE
  6. Correct the system time and setup Network Time Protocol (NTP) DONE
  7. Precompiled C development environment, running on the LS DONE
  8. Upgrade to the 2.6-kernel (ppc only) DONE
  9. USB devices including CUPS printing, scanners, and webcams DONE
    1. Automounting USB devices into shared samba fileshare user through Webmin

Optional Goals

  1. Rsync - synchronizes files and directories from one location to another DONE user has to install rsyncmin (webmin module)
  2. Get the Network File System (NFS) running DONE
  3. Macintosh related configuration, netatalk, mt-daapd DONE
  4. ccxstream - XBMC - Using Xbox Media Center with the LinkStation DONE
  5. KAID - XLink Kai online gaming for Xbox, 360, PS2 and PSP DONE
  6. Install other Mediaservers
  7. LAMP or LLMP
  8. Photo album using gallery
  9. S.M.A.R.T. hard drive monitoring