Difference between revisions of "User:Ramuk"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m (Linkstation HG 250)
m (Operating System)
 
(17 intermediate revisions by one user not shown)
Line 8: Line 8:
 
===Operating System===
 
===Operating System===
 
<table align=right><tr><td>
 
<table align=right><tr><td>
http://upload.wikimedia.org/wikipedia/en/thumb/d/dd/Linkstationhg.jpg/150px-Linkstationhg.jpg
+
http://upload.wikimedia.org/wikipedia/en/thumb/d/dd/Linkstationhg.jpg/100px-Linkstationhg.jpg
</td></tr>
+
</td>
<tr><td>
+
<td>
http://palmorb.sourceforge.net/imgs/experimentA.gif
+
http://upload.wikimedia.org/wikipedia/en/thumb/9/9b/Kuro-box_pro.jpg/100px-Kuro-box_pro.jpg
 +
</td>
 +
<td>http://upload.wikimedia.org/wikipedia/en/thumb/8/8c/Kuro-box_hg.jpg/100px-Kuro-box_hg.jpg</td>
 +
</tr>
 +
<tr><td colspan=3>
 +
<youtube>ojkgEQLNVG0</youtube>
 
</td></tr>
 
</td></tr>
 
</table>
 
</table>
Line 17: Line 22:
 
*Linux LinkStation [[:Category:Kernel|2.6.23.14 #52  ]]
 
*Linux LinkStation [[:Category:Kernel|2.6.23.14 #52  ]]
  
==Kuro [[Kuroboxwiki:Kurobox_Hardware_and_Description|HG]]==
+
==Kuro [[Kuroboxwiki:Kurobox_Hardware_and_Description|HG]] 750==
 
===Operating System===
 
===Operating System===
*[[:Category:FreeLink|Freelink]] powerpc hdhglan 1.11
+
*[[:Category:Debian|Debian]] Squeeze
*Linux LinkStation [[:Category:Kernel|2.6.20.2-kuroboxHG ]]
+
*[[U-boot bootloader]]
 +
*Linux (none) [[:Category:Kernel|2.6.37Stonie #3]]
 +
 
 +
==Kuro [[Kuroboxwiki:Kurobox_Hardware_and_Description|HD]] 60==
 +
===Operating System===
 +
*[[:Category:Debian|Debian]] Squeeze
 +
*[[U-boot bootloader]]
 +
*Linux (none) [[:Category:Kernel|2.6.30.1]]
  
==Kuro [[KuroBoxPro|Pro]] 320==
+
==Kuro [[KuroBoxPro|Pro]] 1TB==
 
===Operating System===
 
===Operating System===
*[[:Category:FreeLink|FreeLink_arm9-1.0rev2]]
+
*[[Armel Debian for the Kurobox Pro - Manual install]]
*2.6.16.57-arm5
+
*Kernel 2.6.26
  
==Kuro [[KuroBoxPro|Pro]] 80==
+
==Kuro [[KuroBoxPro|Pro]] 2TB==
 
===Operating System===
 
===Operating System===
*[[:Category:FreeLink|FreeLink_arm9-1.0rev2]]
+
*[[:Category:Debian|Debian]] Squeeze
*2.6.16.57-arm5
+
*[http://www.cyrius.com/debian/orion/buffalo/kuroboxpro/install.html Installing Debian on the Kurobox Pro]
  
 
=What I use them for:=
 
=What I use them for:=
 +
*[http://buffalo.nas-central.org/forums/viewtopic.php?f=39&t=5301&start=0&st=0&sk=t&sd=a&hilit=wireless#p72506 Wireless with wpasupplicant and a Nintendo wifi USB stick]
 
*[[Encrypted Filespace with EncFS]]
 
*[[Encrypted Filespace with EncFS]]
 
*To stream video and photos to My [[XBMC - Using Xbox Media Center with the LinkStation]]   
 
*To stream video and photos to My [[XBMC - Using Xbox Media Center with the LinkStation]]   
Line 42: Line 55:
 
*Using [[Run a second instance of thttpd (on an alternate port)|Thttpd]] as a in house webserver to serve photos using [[Album - Photo gallery generator which has theme support]]
 
*Using [[Run a second instance of thttpd (on an alternate port)|Thttpd]] as a in house webserver to serve photos using [[Album - Photo gallery generator which has theme support]]
 
*Change to a [http://www.nextag.com/goto.jsp?p=21&search=seagate+750gb 750GB Seagate PATA Drive] originally a 250GB Drive
 
*Change to a [http://www.nextag.com/goto.jsp?p=21&search=seagate+750gb 750GB Seagate PATA Drive] originally a 250GB Drive
* [[Alpha 220 LED Sign]]  
+
* [[Alpha 220 LED Sign]]
  
 
=My Install=
 
=My Install=

Latest revision as of 21:22, 18 August 2011

200px-CTA_map.png

Contents

NASes

Linkstation HG 250

Operating System

100px-Linkstationhg.jpg

100px-Kuro-box_pro.jpg

100px-Kuro-box_hg.jpg

Kuro HG 750

Operating System

Kuro HD 60

Operating System

Kuro Pro 1TB

Operating System

Kuro Pro 2TB

Operating System

What I use them for:

My Install

FreeLinkomatix - Convert the LinkStation into a Full-fledged Debian Linux Server

Install an Encrypted Filespace with EncFS

USB Palm OS Device as an LCD Display

S.M.A.R.T. hard drive monitoring

This little script generates a small bit of html showing a number of system stats


 tc=$(smartctl -a /dev/hda | grep 194 | colrm 1 87)
 tf=$(echo "scale=2;((9/5) * $tc) + 32" |bc)
 echo " Used   %  Share"
 echo "------ --- -----"
 df -h | grep /dev/hda | colrm 1 27 | colrm 6 11
 df -h| colrm  45 55 | grep /dev/s | grep -v tmpfs | colrm 1 27 | colrm 6 11
 echo "<table>"
 echo "<tr><td>Users:</td><td>"
 users
 echo "</td></tr>"
 echo "<tr><td>Uptime:</td><td> "
 uptime \
  | awk '{
   # chops off "up" and everything before it:
   sub(/.*up[ ]+/,"",$0)
   # chops off ", # users" and everything after it:
   sub(/,[ ]+[0-9]+ user.*/,"",$0)
   # cleans up extra spaces, i think:
   sub(/,/,"",$0)
   # obvious enough, prints the results
   print($0)
 }'
 echo "</td></tr>"
 echo "<tr><td>Load:</td><td>"
 uptime | sed 's/^.*average: / /'
 echo "</td></tr><tr><td>Temp:</td><td>"
 echo $tf " F"
 echo "</td></tr> </table>"
 echo "<hr>"
 date | colrm 20 30"
 echo "<hr>"


Album - Photo gallery generator which has theme support

MarginalHacks/Album: A HTML photo album generator that supports themes. It takes directories of images and creates all the thumbnails and HTML that you need.

apt-get install album

Dominatrix6.jpg

Dominatrix6

  • Use wget to get and install this theme
  • To use a theme, download the theme .tar or .zip and unpack it.
mkdir /home/httpd/Themes/
cd /home/httpd/Themes/
wget http://marginalhacks.com/Hacks/album/Themes/Dominatrix6.tar.gz
tar -xvzf Dominatrix6.tar.gz
rm Dominatrix6.tar.gz
  • Full resolution images are usually too big for a web album, so we'll use medium images on the image pages:
  • Then call album with the -theme option, with or without -theme_path:
album -medium 33% -theme Dominatrix6 /home/httpd/test/Photos
album -medium 33% -theme Dominatrix6 -theme_path /home/httpd/Themes/ /home/httpd/test/Photos

Small and simple console-based bandwidth monitor

Bandwidth Monitor NG (bwm-ng) is a small and simple console-based live bandwidth monitor. Short list of features:

  • Supports /proc/net/dev, netstat, getifaddr, sysctl, kstat and libstatgrab
  • Unlimited number of interfaces supported
  • Interfaces are added or removed dynamically from list
  • White-/blacklist of interfaces
  • Output of KB/s, Kb/s, packets, errors, average, max and total sum
  • Output in curses, plain console, CSV or HTML
  • Configfile
wget http://www.gropp.org/bwm-ng/bwm-ng-0.5.tar.gz
tar bwm-ng-0.5.tar.gz
cd bwm-ng-0.5
./configure
make
make install
bwm-ng -T a -o html

Install raop-play for Airport Express

Raop-play is a music file player for the Apple Airport express, the main functionalities are as follows:

  • Make AEX become your 2'nd sound card device.
  • Discover Airport Express by Apple Rendezvous
  • Browse music files (Supported music file format: m4a(alac or aac), wav, mp3, ogg, flac, aac, pls, raw pcm)
  • Send selected files to the Airport Express
  • Play mp3 stream data (filename started with "http://")

Required Packages:

  • openssl library and header
  • fltk1.1.4 library and header
  • fluid (this comes with fltk1.1.4)
  • libglib-2.0 header only
  • libsamplerate library and header
  • libid3tag library and header

Get any required packages to take care of dependancies:

apt-get install libssl libssl-dev libfltk1.1-dev libfltk1.1c102 fluid libglib2.0-dev libsamplerate0 libsamplerate0-dev libid3tag0 libid3tag0-dev

Then get raop_play-0.5.1.tar.gz from here, compile, make, and install it:

tar -xvzf raop_play-0.5.1.tar.gz
cd raop_play-0.5.1  
./configure
make
make install

BashPodder

BashPodder is a podcast client written in bash. It is designed to be a simple, fast, and lightweight podcast client that always works. It is designed to conform to the KISS principal ("Keep it simple, stupid"). Various GUIs also exist for BashPodder.

wget http://linc.homeunix.org:8080/scripts/bashpodder/bashpodder.shell
wget http://linc.homeunix.org:8080/scripts/bashpodder/parse_enclosure.xsl
wget http://linc.homeunix.org:8080/scripts/bashpodder/bp.conf
chmod a+x bashpodder.shell

change bp.conf to included desired feeds.