User talk:Ramuk
From NAS-Central Buffalo - The Linkstation Wiki
(Difference between revisions)
m (→Install Ipkg on the Linkstation (for end-users)) |
|||
| Line 101: | Line 101: | ||
src nslu2-native-stable http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/stable/ | src nslu2-native-stable http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/stable/ | ||
src nslu2-native-unstable http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/unstable/ | src nslu2-native-unstable http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/unstable/ | ||
| + | *then | ||
ipkg update | ipkg update | ||
| + | |||
==[[XBMC - Using Xbox Media Center with the LinkStation]]== | ==[[XBMC - Using Xbox Media Center with the LinkStation]]== | ||
ipkg install ccxstream | ipkg install ccxstream | ||
Revision as of 05:04, 6 September 2006
My Install
Get the archive
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 to a different (and static) IP address: 192.186.11.XXX
- Run the firmware updater executable HD-HGLAN 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.
Login to the machine and get started
# telnet 192.168.1.XXX Debian GNU/Linux 3.1 %h root@LinkStation:/#
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)
tzconfig apt-get install ntp ntp-simple ntp-server ntpdate
Upgrade to the 2.6-kernel (ppc only)
wget http://hvkls.dyndns.org/downloads/latest-webinstaller.tar.gz tar -C / -xvzf latest-webinstaller.tar.gz /usr/local/sbin/webinstaller-kernelinst.sh
- REBOOT
Install an Encrypted Filespace with EncFS
wget http://hvkls.dyndns.org/downloads/fuse_2.5.3-binaries-ppc.tar.gz 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
[global] security = share workgroup = MSHOME create mode = 777 directory mode = 777 [share] 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
wget http://hvkls.dyndns.org/downloads/libid3tag_0.15.1b-binaries-ppc.tar.gz wget http://hvkls.dyndns.org/downloads/mtdaapd_0.2.4-binaries-ppc.tar.gz 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 wget http://downloads.linkstationwiki.net/development_tools/ppc-tools-2_1.tgz mkdir devtools cd devtools tar xzvf ../ppc-tools-2_1.tgz ./install.sh wget http://downloads.linkstationwiki.net/kernel_headers/kernel-headers-2.4.20_hglan_htgl-2.0.tar.bz2 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 wget http://lcdproc.omnipotent.net/download/lcdproc-0.4.5.tar.gz tar -xvzf lcdproc-0.4.5.tar.gz cd lcdproc-0.4.5 ./configure make make install
Install Ipkg on the Linkstation (for end-users)
wget http://downloads.linkstationwiki.net/powerpc-hdhlan/powerpc-hdhlan-ipkg-0.99.153-1.tgz 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 http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/stable/ src nslu2-cross-unstable http://ipkg.nslu2-linux.org/feeds/optware/ds101g/cross/unstable/ src nslu2-native-stable http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/stable/ src nslu2-native-unstable http://ipkg.nslu2-linux.org/feeds/optware/ds101g/native/unstable/
- then
ipkg update
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
/opt/etc/init.d/S75ccxstream
#!/bin/sh if [ -n "`pidof ccxstream`" ] ; then killall ccxstream 2>/dev/null fi # 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/ccxstream.pid
- Start the ccXStream daemon
/opt/etc/init.d/S75ccxstream

