<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yobi.be/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=213.219.144.127</id>
	<title>YobiWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yobi.be/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=213.219.144.127"/>
	<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Special:Contributions/213.219.144.127"/>
	<updated>2026-05-23T20:15:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Webradio&amp;diff=2212</id>
		<title>Webradio</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Webradio&amp;diff=2212"/>
		<updated>2007-06-24T08:43:35Z</updated>

		<summary type="html">&lt;p&gt;213.219.144.127: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intro==&lt;br /&gt;
I was struggling to fit some requirements:&lt;br /&gt;
* I ripped all my CDs on the HD attached to the slug&lt;br /&gt;
* I wanted my Philips Streamium (which is not UPnP) to be able to play whatever I want&lt;br /&gt;
** Streamium is not UPnP&lt;br /&gt;
** Streamium doesn&#039;t understand Ogg format&lt;br /&gt;
** Streamium has a very poor UI&lt;br /&gt;
* I wanted to be able to control the playlist from any other computer in the house&lt;br /&gt;
* Why not extending those possibilities from anywhere on the Net?&lt;br /&gt;
==Resources==&lt;br /&gt;
* madplay/libmad (fixed point mp3 player)&lt;br /&gt;
** In terms of codecs this is the only fixed-point lib available for the slug and it allows only mp3 playback.&lt;br /&gt;
* [http://www.musicpd.org musicdp], aka mpd (its [http://mpd.wikia.com/wiki/FAQ faq])&lt;br /&gt;
** That&#039;s THE solution to manage the playlists, now we need to cope with its playing capabilities...&lt;br /&gt;
* http://www.nslu2-linux.org/wiki/HowTo/SlugAsAudioPlayer&lt;br /&gt;
** With mpd and libmad, good idea but is using the slug soundcard (if you add one), not icecast&lt;br /&gt;
* [http://www.icecast.org/ icecast2]&lt;br /&gt;
** The solution for streaming, if we find the right way to add a mp3 source to it.&lt;br /&gt;
* mpd + icecast2&lt;br /&gt;
** 2 problems: only streaming in Ogg and needs to reencode the stream, too much without a fixed point encoder!&lt;br /&gt;
* oggfwd&lt;br /&gt;
** Would solve one problem: does not reencode, but, as the name tells you, only Ogg.&lt;br /&gt;
* [http://www.icecast.org/ezstream.php EzStream]&lt;br /&gt;
** Good candidate, feeds icecast with mp3 without reencoding, but needs to be hooked to mpd&lt;br /&gt;
* [http://www.icecast.org/ices.php Ices] and especially the versions 0.x&lt;br /&gt;
** Same as for EzStream&lt;br /&gt;
* [http://www.jinzora.org/pages.php?pn=products Jinzora]&lt;br /&gt;
** To be explored... but requires php/mysql, maybe too much for the slug&lt;br /&gt;
* [http://mpd.wikia.com/wiki/Hack:ices-client Hack mpd with ices client]&lt;br /&gt;
** That&#039;s the best I could find: a Perl script as scriptable playlist for ices fetches the songs from mpd playlist ans streams them to icecast2&lt;br /&gt;
** Ices in its basic configuration doesn&#039;t perform any reencoding&lt;br /&gt;
** Note that the old version of ices is required as the new one supports only Ogg&lt;br /&gt;
==Let&#039;s go==&lt;br /&gt;
===ices compilation===&lt;br /&gt;
* Debian features only ices2 so we&#039;ve to compile the old version ourselves&lt;br /&gt;
* wget http://downloads.us.xiph.org/releases/ices/ices-0.4.tar.gz&lt;br /&gt;
* untar the sources&lt;br /&gt;
* apt-get install libshout3-dev libperl-dev libmp3-info-perl&lt;br /&gt;
* ./configure --with-perl&lt;br /&gt;
* make&lt;br /&gt;
* Copy script from http://mpd.wikia.com/wiki/Hack:ices-client&lt;br /&gt;
* ices.conf + edit script&lt;br /&gt;
* ./ices&lt;br /&gt;
* TODO: &lt;br /&gt;
** default playlist: get songs randomly from playlist file but don&#039;t install it in mpd&lt;br /&gt;
** next song: killall -s USR1 ices&lt;br /&gt;
** how to make it remotely?? through icecast2(php auth?) or mpd... icecast2 mount on-connect -&amp;gt; script: ices user?&lt;br /&gt;
** ices crossfade?&lt;br /&gt;
===mpd===&lt;br /&gt;
* apt-get install mpd mpc&lt;br /&gt;
* /etc/mpd.conf&lt;br /&gt;
* /etc/init.d/mpd stop&lt;br /&gt;
* mpd --create-db&lt;br /&gt;
* /etc/init.d/mpd start&lt;br /&gt;
* mpc stop&lt;br /&gt;
* When need to update the DB: mpc update&lt;br /&gt;
===icecast2===&lt;br /&gt;
* apt-get install icecast2&lt;br /&gt;
* /etc/icecast2/...&lt;br /&gt;
* /etc/default/icecast2 -&amp;gt; enabled=true&lt;br /&gt;
===TODO===&lt;br /&gt;
* setup phpmp2?&lt;br /&gt;
* auto upload of ripped CDs?&lt;/div&gt;</summary>
		<author><name>213.219.144.127</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Webradio&amp;diff=2211</id>
		<title>Webradio</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Webradio&amp;diff=2211"/>
		<updated>2007-06-24T08:34:34Z</updated>

		<summary type="html">&lt;p&gt;213.219.144.127: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intro==&lt;br /&gt;
I was struggling to fit some requirements:&lt;br /&gt;
* I ripped all my CDs on the HD attached to the slug&lt;br /&gt;
* I wanted my Philips Streamium (which is not UPnP) to be able to play whatever I want&lt;br /&gt;
** Streamium is not UPnP&lt;br /&gt;
** Streamium doesn&#039;t understand Ogg format&lt;br /&gt;
** Streamium has a very poor UI&lt;br /&gt;
* I wanted to be able to control the playlist from any other computer in the house&lt;br /&gt;
* Why not extending those possibilities from anywhere on the Net?&lt;br /&gt;
==Resources==&lt;br /&gt;
* madplay/libmad (fixed point mp3 player)&lt;br /&gt;
** In terms of codecs this is the only fixed-point lib available for the slug and it allows only mp3 playback.&lt;br /&gt;
* [http://www.musicpd.org musicdp], aka mpd (its [http://mpd.wikia.com/wiki/FAQ faq])&lt;br /&gt;
** That&#039;s THE solution to manage the playlists, now we need to cope with its playing capabilities...&lt;br /&gt;
* http://www.nslu2-linux.org/wiki/HowTo/SlugAsAudioPlayer&lt;br /&gt;
** With mpd and libmad, good idea but is using the slug soundcard (if you add one), not icecast&lt;br /&gt;
* [http://www.icecast.org/ icecast2]&lt;br /&gt;
** The solution for streaming, if we find the right way to add a mp3 source to it.&lt;br /&gt;
* mpd + icecast2&lt;br /&gt;
** 2 problems: only streaming in Ogg and needs to reencode the stream, too much without a fixed point encoder!&lt;br /&gt;
* oggfwd&lt;br /&gt;
** Would solve one problem: does not reencode, but, as the name tells you, only Ogg.&lt;br /&gt;
* [http://www.icecast.org/ezstream.php EzStream]&lt;br /&gt;
** Good candidate, feeds icecast with mp3 without reencoding, but needs to be hooked to mpd&lt;br /&gt;
* [http://www.icecast.org/ices.php Ices] and especially the versions 0.x&lt;br /&gt;
** Same as for EzStream&lt;br /&gt;
* [http://www.jinzora.org/pages.php?pn=products Jinzora]&lt;br /&gt;
** To be explored... but requires php/mysql, maybe too much for the slug&lt;br /&gt;
* [http://mpd.wikia.com/wiki/Hack:ices-client Hack mpd with ices client]&lt;br /&gt;
** That&#039;s the best I could find: a Perl script as scriptable playlist for ices fetches the songs from mpd playlist ans streams them to icecast2&lt;br /&gt;
** Ices in its basic configuration doesn&#039;t perform any reencoding&lt;br /&gt;
** Note that the old version of ices is required as the new one supports only Ogg&lt;/div&gt;</summary>
		<author><name>213.219.144.127</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Webradio&amp;diff=2210</id>
		<title>Webradio</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Webradio&amp;diff=2210"/>
		<updated>2007-06-24T08:31:45Z</updated>

		<summary type="html">&lt;p&gt;213.219.144.127: /* Resources */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intro==&lt;br /&gt;
I was struggling to fit some requirements:&lt;br /&gt;
* I ripped all my CDs on the HD attached to the slug&lt;br /&gt;
* I wanted my Philips Streamium (which is not UPnP) to be able to play whatever I want&lt;br /&gt;
** Streamium is not UPnP&lt;br /&gt;
** Streamium doesn&#039;t understand Ogg format&lt;br /&gt;
** Streamium has a very poor UI&lt;br /&gt;
* I wanted to be able to control the playlist from any other computer in the house&lt;br /&gt;
* Why not extending those possibilities from anywhere on the Net?&lt;br /&gt;
==Resources==&lt;br /&gt;
* madplay/libmad (fixed point mp3 player)&lt;br /&gt;
** In terms of codecs this is the only fixed-point lib available for the slug and it allows only mp3 playback.&lt;br /&gt;
* [http://www.musicpd.org musicdp], aka mpd (its [http://mpd.wikia.com/wiki/FAQ faq])&lt;br /&gt;
** That&#039;s THE solution to manage the playlists, now we need to cope with its playing capabilities...&lt;br /&gt;
* http://www.nslu2-linux.org/wiki/HowTo/SlugAsAudioPlayer&lt;br /&gt;
** With mpd and libmad, good idea but is using the slug soundcard (if you add one), not icecast&lt;br /&gt;
* [http://www.icecast.org/ icecast2]&lt;br /&gt;
** The solution for streaming, if we find the right way to add a mp3 source to it.&lt;br /&gt;
* mpd + icecast2&lt;br /&gt;
** 2 problems: only streaming in Ogg and needs to reencode the stream, too much without a fixed point encoder!&lt;br /&gt;
* oggfwd&lt;br /&gt;
** Would solve one problem: does not reencode, but, as the name tells you, only Ogg.&lt;br /&gt;
* [http://www.icecast.org/ezstream.php EzStream]&lt;br /&gt;
** Good candidate, feeds icecast with mp3 without reencoding, but needs to be hooked to mpd&lt;br /&gt;
* [http://www.jinzora.org/pages.php?pn=products Jinzora]&lt;br /&gt;
** To be explored... but requires php/mysql, maybe too much for the slug&lt;br /&gt;
* [http://mpd.wikia.com/wiki/Hack:ices-client Hack mpd with ices client]&lt;br /&gt;
** That&#039;s the best I could find: a Perl script as scriptable playlist for ices fetches the songs from mpd playlist ans streams them to icecast2&lt;br /&gt;
** Ices in its basic configuration doesn&#039;t perform any reencoding&lt;br /&gt;
** Note that the old version of ices is required as the new one supports only Ogg&lt;/div&gt;</summary>
		<author><name>213.219.144.127</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=Webradio&amp;diff=2209</id>
		<title>Webradio</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=Webradio&amp;diff=2209"/>
		<updated>2007-06-24T08:06:40Z</updated>

		<summary type="html">&lt;p&gt;213.219.144.127: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Intro==&lt;br /&gt;
I was struggling to fit some requirements:&lt;br /&gt;
* I ripped all my CDs on the HD attached to the slug&lt;br /&gt;
* I wanted my Philips Streamium (which is not UPnP) to be able to play whatever I want&lt;br /&gt;
** Streamium is not UPnP&lt;br /&gt;
** Streamium doesn&#039;t understand Ogg format&lt;br /&gt;
** Streamium has a very poor UI&lt;br /&gt;
* I wanted to be able to control the playlist from any other computer in the house&lt;br /&gt;
* Why not extending those possibilities from anywhere on the Net?&lt;br /&gt;
==Resources==&lt;br /&gt;
* madplay (fixed point mp3 player)&lt;br /&gt;
* [http://www.musicpd.org musicdp]&lt;br /&gt;
* http://www.nslu2-linux.org/wiki/HowTo/SlugAsAudioPlayer&lt;br /&gt;
** Good idea but is using the slug soundcard (if you add one), not icecast&lt;/div&gt;</summary>
		<author><name>213.219.144.127</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=NSLU2&amp;diff=2208</id>
		<title>NSLU2</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=NSLU2&amp;diff=2208"/>
		<updated>2007-06-24T08:01:20Z</updated>

		<summary type="html">&lt;p&gt;213.219.144.127: /* Audio */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://www.andreabeggi.net/wp-content/53006-nslu2.jpg&lt;br /&gt;
&lt;br /&gt;
==Intro==&lt;br /&gt;
* XScale processor from Intel (ARM) at 266MHz (133MHz before hacking...)&lt;br /&gt;
* 32Mb SDRAM&lt;br /&gt;
* 8Mb Flash&lt;br /&gt;
* 2 USB 2.0 ports&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://en.wikipedia.org/wiki/NSLU2 Description] on wikipedia&lt;br /&gt;
* [http://www.nslu2-linux.org/wiki/OpenSlug/HomePage OpenSlug]&lt;br /&gt;
&lt;br /&gt;
==Todo==&lt;br /&gt;
* Mine came with &lt;br /&gt;
** Server Name:  	LKG63472F&lt;br /&gt;
** Version: 	V2.3RA5&lt;br /&gt;
* Connect USB printer?&lt;br /&gt;
* Install backuppc -&amp;gt; I tried but slug is really too slow for that :-(&lt;br /&gt;
* Connect Tuxdroid dongle&lt;br /&gt;
&lt;br /&gt;
==Debian==&lt;br /&gt;
* [http://www.nslu2-linux.org/wiki/Debian/HomePage Debian/NSLU2]&lt;br /&gt;
* [http://www.cyrius.com/debian/nslu2/ How to install Debian on NSLU2] &lt;br /&gt;
===Installation===&lt;br /&gt;
To install, follow the [http://www.cyrius.com/debian/nslu2/install.html howto], here are the big steps:&lt;br /&gt;
* Get [http://www.slug-firmware.net/d-dls.php Debian 4.0r0] firmware from http://www.slug-firmware.net/ and unzip it&lt;br /&gt;
* Power the NSLU2 and wait a bit (green light) before plugging it to the network if you&#039;ve a DHCP, so the NSLU2 will choose itself IP 192.168.1.77, otherwise look to your DHCP server logs to find the IP attribution&lt;br /&gt;
* Go to the admin webpage, tab administration, login admin/admin&lt;br /&gt;
* Configure ALL network params if you don&#039;t have DHCP&lt;br /&gt;
* Go to the admin webpage, tab administration, login admin/admin, tab advanced, tab upgrade&lt;br /&gt;
* Upload di-nslu2.bin, start upgrade&lt;br /&gt;
* Wait for &amp;quot;upgrading ok&amp;quot; (5mins) -&amp;gt; wait for 3 bips (5-10mins)&lt;br /&gt;
* This is the last moment to plug an external USB mass-storage if you didn&#039;t do so yet&lt;br /&gt;
* Login via ssh installer@192.168.1.77 (or another IP got by DHCP...) pwd &amp;quot;install&amp;quot;&lt;br /&gt;
** I did it from an xterm but exported term mode is pure console so it&#039;s better to login from a real text console otherwise the ncurses menu is a bit broken (but still usable)&lt;br /&gt;
* Start installation, manually load the following modules:&lt;br /&gt;
** ext3-modules-2.6.18-4-ixp4xx-di&lt;br /&gt;
** partman-auto&lt;br /&gt;
** partman-ext3&lt;br /&gt;
** scsi-core-modules-2.6.18-4-ixp4xx-di&lt;br /&gt;
** usb-storage-modules-2.6.18-4-ixp4xx-di&lt;br /&gt;
* Whatever system you choose to partition your disk, be sure to have at least 128M of swap, I&#039;ve set up 512M on my 400G drive.&lt;br /&gt;
* In total it took about 100 mins to complete&lt;br /&gt;
* If you need a console, start a second ssh connection and choose to obtain a shell&lt;br /&gt;
* On tasksel, I chose absolutely nothing, I prefer to take only what I need later&lt;br /&gt;
===After first reboot===&lt;br /&gt;
* dpkg --get-selections|wc -l&lt;br /&gt;
 142&lt;br /&gt;
* du -hs /&lt;br /&gt;
 179M&lt;br /&gt;
* dmesg:&lt;br /&gt;
 Linux version 2.6.18-4-ixp4xx (Debian 2.6.18.dfsg.1-12) (waldi@debian.org) (gcc versi&lt;br /&gt;
 on 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 Tue Mar 27 18:01:56 BST 2007&lt;br /&gt;
 CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE), cr=0000397f&lt;br /&gt;
 Machine: Linksys NSLU2&lt;br /&gt;
 Memory policy: ECC disabled, Data cache writeback&lt;br /&gt;
 On node 0 totalpages: 8192&lt;br /&gt;
   DMA zone: 8192 pages, LIFO batch:1&lt;br /&gt;
 CPU0: D VIVT undefined 5 cache&lt;br /&gt;
 CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets&lt;br /&gt;
 CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets&lt;br /&gt;
 Built 1 zonelists.  Total pages: 8192&lt;br /&gt;
 Kernel command line: console=ttyS0,115200 rtc-x1205.probe=0,0x6f noirqdebug&lt;br /&gt;
 IRQ lockup detection disabled&lt;br /&gt;
 PID hash table entries: 256 (order: 8, 1024 bytes)&lt;br /&gt;
 Console: colour dummy device 80x30&lt;br /&gt;
 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)&lt;br /&gt;
 Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)&lt;br /&gt;
 Memory: 32MB = 32MB total&lt;br /&gt;
 Memory: 25780KB available (1948K code, 496K data, 92K init)&lt;br /&gt;
&lt;br /&gt;
 Calibrating delay loop... 132.71 BogoMIPS (lpj=663552)&lt;br /&gt;
 ...&lt;br /&gt;
* hdparm -tT /dev/sda&lt;br /&gt;
 /dev/sda:&lt;br /&gt;
 Timing cached reads:    86 MB in  2.04 seconds =  42.20 MB/sec&lt;br /&gt;
 Timing buffered disk reads:   28 MB in  3.12 seconds =   8.98 MB/sec&lt;br /&gt;
===Tweaks===&lt;br /&gt;
* Ok so our NSLU2 is well underclocked, let&#039;s restore its full speed following [http://www.nslu2-linux.org/wiki/HowTo/OverClockTheSlug this howto]&lt;br /&gt;
 Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)&lt;br /&gt;
Much better :-)&lt;br /&gt;
 /dev/sda:&lt;br /&gt;
 Timing cached reads:    90 MB in  2.00 seconds =  44.98 MB/sec&lt;br /&gt;
 Timing buffered disk reads:   32 MB in  3.03 seconds =  10.56 MB/sec&lt;br /&gt;
A bit better but nothing fantastic...&lt;br /&gt;
* Setup static network parameters&lt;br /&gt;
** apt-get install resolvconf&lt;br /&gt;
** edit /etc/network/interfaces&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet static&lt;br /&gt;
    address 192.168.1.77&lt;br /&gt;
    netmask 255.255.255.0&lt;br /&gt;
    gateway 192.168.1.1&lt;br /&gt;
    dns-nameservers 192.168.1.2 192.168.1.1&lt;br /&gt;
* From /usr/share/doc/nslu2-utils/README.Debian:&lt;br /&gt;
** sed -i &#039;s/^FSCKFIX=.*$/FSCKFIX=yes/&#039; /etc/default/rcS&lt;br /&gt;
** sed -i &#039;s/^BOOTLOGD_ENABLE=.*$/BOOTLOGD_ENABLE=yes/&#039; /etc/default/bootlogd&lt;br /&gt;
** Reorder the booting sequence to get ssh up earlier:&lt;br /&gt;
 ls -l /etc/rcS.d/&lt;br /&gt;
 S21resolvconf -&amp;gt; ../init.d/resolvconf&lt;br /&gt;
 S22ifupdown -&amp;gt; ../init.d/ifupdown&lt;br /&gt;
 S23networking -&amp;gt; ../init.d/networking&lt;br /&gt;
 S23ssh -&amp;gt; ../init.d/ssh&lt;br /&gt;
&lt;br /&gt;
** By default the power button restarts the slug, change the call to shutdown in /etc/inittab:&lt;br /&gt;
 ca:12345:ctrlaltdel:/sbin/shutdown -h now&lt;br /&gt;
&lt;br /&gt;
==Devel==&lt;br /&gt;
Be prepared to do some native compilation...&lt;br /&gt;
* apt-get install build-essential&lt;br /&gt;
===Tuxdroid===&lt;br /&gt;
====Basics====&lt;br /&gt;
* apt-get install subversion libusb-dev libglib2.0-dev ipython&lt;br /&gt;
* mkdir /home/tuxdroid; cd /home/tuxdroid&lt;br /&gt;
* svn co http://svn.tuxisalive.com tuxdroid-svn&lt;br /&gt;
* cd tuxdroid-svn/daemon/trunk&lt;br /&gt;
* make&lt;br /&gt;
* mkdir -p /opt/tuxdroid/api&lt;br /&gt;
* ln -s /home/tuxdroid/tuxdroid-svn/software /opt/tuxdroid/api/python&lt;br /&gt;
* mkdir -p /opt/tuxdroid/bin&lt;br /&gt;
* ln -s /home/tuxdroid/tuxdroid-svn/daemon/trunk/tuxdaemon /opt/tuxdroid/bin     &lt;br /&gt;
* ln -s /opt/tuxdroid/bin/tuxdaemon /usr/local/bin/tuxdaemon&lt;br /&gt;
* echo -e &amp;quot;#/bin/bash\npython -i /opt/tuxdroid/api/python/tux.py&amp;quot; &amp;gt; /opt/tuxdroid/bin/tuxsh&lt;br /&gt;
* chmod 755 /opt/tuxdroid/bin/tuxsh&lt;br /&gt;
* ln -s /opt/tuxdroid/bin/tuxsh /usr/local/bin/tuxsh&lt;br /&gt;
===Flashing tools===&lt;br /&gt;
* cd tuxdroid-svn/firmware/tuxup/trunk/&lt;br /&gt;
* make&lt;br /&gt;
* ln -s /home/tuxdroid/tuxdroid-svn/firmware/tuxup/trunk/tuxup /opt/tuxdroid/bin&lt;br /&gt;
* ln -s /opt/tuxdroid/bin/tuxup /usr/local/bin/tuxup&lt;br /&gt;
* wget http://belnet.dl.sourceforge.net/sourceforge/dfu-programmer/dfu-programmer-0.4.0.tar.gz&lt;br /&gt;
* tar xzf dfu-programmer-0.4.0.tar.gz&lt;br /&gt;
* cd dfu-programmer-0.4.0&lt;br /&gt;
* ./configure&lt;br /&gt;
* make&lt;br /&gt;
* ln -s /home/tuxdroid/dfu-programmer-0.4.0/src/dfu-programmer /usr/local/bin&lt;br /&gt;
* apt-get install gcc-avr avr-libc gdb-avr libsvn-dev&lt;br /&gt;
* wget http://svnwcrev.tigris.org/files/documents/3444/29110/svnwcrev-0.1.tar.gz&lt;br /&gt;
* tar -xzf svnwcrev-0.1.tar.gz&lt;br /&gt;
* cd svnwcrev-0.1&lt;br /&gt;
* sed &#039;s/apr-0/apr-1.0/&#039; config_mk.template &amp;gt; config.mk&lt;br /&gt;
* make&lt;br /&gt;
* ln -s /home/tuxdroid/svnwcrev-0.1/svnwcrev /usr/local/bin/&lt;br /&gt;
===Audio===&lt;br /&gt;
* apt-get install alsa-utils mpg321&lt;br /&gt;
* cat /proc/asound/cards&lt;br /&gt;
 0 [Droid          ]: USB-Audio - Tux Droid&lt;br /&gt;
                      Kysoh Tux Droid at usb-0000:00:01.0-1, full speed&lt;br /&gt;
For oss layer:&lt;br /&gt;
* modprobe snd_pcm_oss&lt;br /&gt;
* modprobe snd_mixer_oss&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;[[Webradio]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
* compiling tuxdaemon &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* running tuxdaemon &#039;&#039;&#039;FAIL&#039;&#039;&#039;&lt;br /&gt;
** USB part seems ok (displays tux events properly) but not TCP part, seems not to be listening on port&lt;br /&gt;
* compiling tuxup &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* compiling dfu-programmer &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* compiling svncrev &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* compiling tuxcore tuxaudio &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* flashing tuxcore.hex tuxcore.eep tuxaudio.hex tuxaudio.eep &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* sound &#039;&#039;&#039;PARTLY&#039;&#039;&#039;&lt;br /&gt;
** ALSA and OSS-emulation layers are up&lt;br /&gt;
** the sound is quite hashed and lot of &amp;quot;alsa underrun&amp;quot; msgs, slightly better results through oss than alsa&lt;br /&gt;
** recording at 8000 Hz mono is very poor (played on host)&lt;br /&gt;
** playing at 8000 Hz mono is poor (recorded on host)&lt;br /&gt;
** madplay -b8 -R8000 ...mp3 is correct&lt;br /&gt;
==Misc==&lt;br /&gt;
===Boot diagnostics===&lt;br /&gt;
From /usr/share/doc/nslu2-utils/README.Debian but in case of problems I prefer to have the text here :-)&lt;br /&gt;
 Some of the led states during boot include:&lt;br /&gt;
 - Cycling down all the leds from top to bottom: The APEX boot loader.&lt;br /&gt;
 - Amber status led: Initramfs is running, mounting root filesystem.&lt;br /&gt;
 - Disk 1 on, status slowly switching between amber and green: Root&lt;br /&gt;
   filesystem mounted, system booting.&lt;br /&gt;
 - Disk 1 on, status green, with fast double amber flashes: System is booted&lt;br /&gt;
   and running. The frequency of the amber flashes indicates the system&#039;s&lt;br /&gt;
   one minute load average; faster flashes denote higher load.&lt;br /&gt;
 - Disk 1 on, status quickly flashing between black/green and black/amber.&lt;br /&gt;
   Single user mode. Again the flash interval denotes load.&lt;br /&gt;
 - Disk 1 on, status slowly switching beteween amber and red: Shutdown in&lt;br /&gt;
   progress.&lt;br /&gt;
===tests===&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 apache2-mpm-prefork - Traditional model for Apache HTTPD 2.1&lt;br /&gt;
 apache2-mpm-worker - High speed threaded model for Apache HTTPD 2.1&lt;/div&gt;</summary>
		<author><name>213.219.144.127</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=NSLU2&amp;diff=2207</id>
		<title>NSLU2</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=NSLU2&amp;diff=2207"/>
		<updated>2007-06-24T08:01:05Z</updated>

		<summary type="html">&lt;p&gt;213.219.144.127: /* Audio */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://www.andreabeggi.net/wp-content/53006-nslu2.jpg&lt;br /&gt;
&lt;br /&gt;
==Intro==&lt;br /&gt;
* XScale processor from Intel (ARM) at 266MHz (133MHz before hacking...)&lt;br /&gt;
* 32Mb SDRAM&lt;br /&gt;
* 8Mb Flash&lt;br /&gt;
* 2 USB 2.0 ports&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://en.wikipedia.org/wiki/NSLU2 Description] on wikipedia&lt;br /&gt;
* [http://www.nslu2-linux.org/wiki/OpenSlug/HomePage OpenSlug]&lt;br /&gt;
&lt;br /&gt;
==Todo==&lt;br /&gt;
* Mine came with &lt;br /&gt;
** Server Name:  	LKG63472F&lt;br /&gt;
** Version: 	V2.3RA5&lt;br /&gt;
* Connect USB printer?&lt;br /&gt;
* Install backuppc -&amp;gt; I tried but slug is really too slow for that :-(&lt;br /&gt;
* Connect Tuxdroid dongle&lt;br /&gt;
&lt;br /&gt;
==Debian==&lt;br /&gt;
* [http://www.nslu2-linux.org/wiki/Debian/HomePage Debian/NSLU2]&lt;br /&gt;
* [http://www.cyrius.com/debian/nslu2/ How to install Debian on NSLU2] &lt;br /&gt;
===Installation===&lt;br /&gt;
To install, follow the [http://www.cyrius.com/debian/nslu2/install.html howto], here are the big steps:&lt;br /&gt;
* Get [http://www.slug-firmware.net/d-dls.php Debian 4.0r0] firmware from http://www.slug-firmware.net/ and unzip it&lt;br /&gt;
* Power the NSLU2 and wait a bit (green light) before plugging it to the network if you&#039;ve a DHCP, so the NSLU2 will choose itself IP 192.168.1.77, otherwise look to your DHCP server logs to find the IP attribution&lt;br /&gt;
* Go to the admin webpage, tab administration, login admin/admin&lt;br /&gt;
* Configure ALL network params if you don&#039;t have DHCP&lt;br /&gt;
* Go to the admin webpage, tab administration, login admin/admin, tab advanced, tab upgrade&lt;br /&gt;
* Upload di-nslu2.bin, start upgrade&lt;br /&gt;
* Wait for &amp;quot;upgrading ok&amp;quot; (5mins) -&amp;gt; wait for 3 bips (5-10mins)&lt;br /&gt;
* This is the last moment to plug an external USB mass-storage if you didn&#039;t do so yet&lt;br /&gt;
* Login via ssh installer@192.168.1.77 (or another IP got by DHCP...) pwd &amp;quot;install&amp;quot;&lt;br /&gt;
** I did it from an xterm but exported term mode is pure console so it&#039;s better to login from a real text console otherwise the ncurses menu is a bit broken (but still usable)&lt;br /&gt;
* Start installation, manually load the following modules:&lt;br /&gt;
** ext3-modules-2.6.18-4-ixp4xx-di&lt;br /&gt;
** partman-auto&lt;br /&gt;
** partman-ext3&lt;br /&gt;
** scsi-core-modules-2.6.18-4-ixp4xx-di&lt;br /&gt;
** usb-storage-modules-2.6.18-4-ixp4xx-di&lt;br /&gt;
* Whatever system you choose to partition your disk, be sure to have at least 128M of swap, I&#039;ve set up 512M on my 400G drive.&lt;br /&gt;
* In total it took about 100 mins to complete&lt;br /&gt;
* If you need a console, start a second ssh connection and choose to obtain a shell&lt;br /&gt;
* On tasksel, I chose absolutely nothing, I prefer to take only what I need later&lt;br /&gt;
===After first reboot===&lt;br /&gt;
* dpkg --get-selections|wc -l&lt;br /&gt;
 142&lt;br /&gt;
* du -hs /&lt;br /&gt;
 179M&lt;br /&gt;
* dmesg:&lt;br /&gt;
 Linux version 2.6.18-4-ixp4xx (Debian 2.6.18.dfsg.1-12) (waldi@debian.org) (gcc versi&lt;br /&gt;
 on 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 Tue Mar 27 18:01:56 BST 2007&lt;br /&gt;
 CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE), cr=0000397f&lt;br /&gt;
 Machine: Linksys NSLU2&lt;br /&gt;
 Memory policy: ECC disabled, Data cache writeback&lt;br /&gt;
 On node 0 totalpages: 8192&lt;br /&gt;
   DMA zone: 8192 pages, LIFO batch:1&lt;br /&gt;
 CPU0: D VIVT undefined 5 cache&lt;br /&gt;
 CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets&lt;br /&gt;
 CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets&lt;br /&gt;
 Built 1 zonelists.  Total pages: 8192&lt;br /&gt;
 Kernel command line: console=ttyS0,115200 rtc-x1205.probe=0,0x6f noirqdebug&lt;br /&gt;
 IRQ lockup detection disabled&lt;br /&gt;
 PID hash table entries: 256 (order: 8, 1024 bytes)&lt;br /&gt;
 Console: colour dummy device 80x30&lt;br /&gt;
 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)&lt;br /&gt;
 Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)&lt;br /&gt;
 Memory: 32MB = 32MB total&lt;br /&gt;
 Memory: 25780KB available (1948K code, 496K data, 92K init)&lt;br /&gt;
&lt;br /&gt;
 Calibrating delay loop... 132.71 BogoMIPS (lpj=663552)&lt;br /&gt;
 ...&lt;br /&gt;
* hdparm -tT /dev/sda&lt;br /&gt;
 /dev/sda:&lt;br /&gt;
 Timing cached reads:    86 MB in  2.04 seconds =  42.20 MB/sec&lt;br /&gt;
 Timing buffered disk reads:   28 MB in  3.12 seconds =   8.98 MB/sec&lt;br /&gt;
===Tweaks===&lt;br /&gt;
* Ok so our NSLU2 is well underclocked, let&#039;s restore its full speed following [http://www.nslu2-linux.org/wiki/HowTo/OverClockTheSlug this howto]&lt;br /&gt;
 Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)&lt;br /&gt;
Much better :-)&lt;br /&gt;
 /dev/sda:&lt;br /&gt;
 Timing cached reads:    90 MB in  2.00 seconds =  44.98 MB/sec&lt;br /&gt;
 Timing buffered disk reads:   32 MB in  3.03 seconds =  10.56 MB/sec&lt;br /&gt;
A bit better but nothing fantastic...&lt;br /&gt;
* Setup static network parameters&lt;br /&gt;
** apt-get install resolvconf&lt;br /&gt;
** edit /etc/network/interfaces&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet static&lt;br /&gt;
    address 192.168.1.77&lt;br /&gt;
    netmask 255.255.255.0&lt;br /&gt;
    gateway 192.168.1.1&lt;br /&gt;
    dns-nameservers 192.168.1.2 192.168.1.1&lt;br /&gt;
* From /usr/share/doc/nslu2-utils/README.Debian:&lt;br /&gt;
** sed -i &#039;s/^FSCKFIX=.*$/FSCKFIX=yes/&#039; /etc/default/rcS&lt;br /&gt;
** sed -i &#039;s/^BOOTLOGD_ENABLE=.*$/BOOTLOGD_ENABLE=yes/&#039; /etc/default/bootlogd&lt;br /&gt;
** Reorder the booting sequence to get ssh up earlier:&lt;br /&gt;
 ls -l /etc/rcS.d/&lt;br /&gt;
 S21resolvconf -&amp;gt; ../init.d/resolvconf&lt;br /&gt;
 S22ifupdown -&amp;gt; ../init.d/ifupdown&lt;br /&gt;
 S23networking -&amp;gt; ../init.d/networking&lt;br /&gt;
 S23ssh -&amp;gt; ../init.d/ssh&lt;br /&gt;
&lt;br /&gt;
** By default the power button restarts the slug, change the call to shutdown in /etc/inittab:&lt;br /&gt;
 ca:12345:ctrlaltdel:/sbin/shutdown -h now&lt;br /&gt;
&lt;br /&gt;
==Devel==&lt;br /&gt;
Be prepared to do some native compilation...&lt;br /&gt;
* apt-get install build-essential&lt;br /&gt;
===Tuxdroid===&lt;br /&gt;
====Basics====&lt;br /&gt;
* apt-get install subversion libusb-dev libglib2.0-dev ipython&lt;br /&gt;
* mkdir /home/tuxdroid; cd /home/tuxdroid&lt;br /&gt;
* svn co http://svn.tuxisalive.com tuxdroid-svn&lt;br /&gt;
* cd tuxdroid-svn/daemon/trunk&lt;br /&gt;
* make&lt;br /&gt;
* mkdir -p /opt/tuxdroid/api&lt;br /&gt;
* ln -s /home/tuxdroid/tuxdroid-svn/software /opt/tuxdroid/api/python&lt;br /&gt;
* mkdir -p /opt/tuxdroid/bin&lt;br /&gt;
* ln -s /home/tuxdroid/tuxdroid-svn/daemon/trunk/tuxdaemon /opt/tuxdroid/bin     &lt;br /&gt;
* ln -s /opt/tuxdroid/bin/tuxdaemon /usr/local/bin/tuxdaemon&lt;br /&gt;
* echo -e &amp;quot;#/bin/bash\npython -i /opt/tuxdroid/api/python/tux.py&amp;quot; &amp;gt; /opt/tuxdroid/bin/tuxsh&lt;br /&gt;
* chmod 755 /opt/tuxdroid/bin/tuxsh&lt;br /&gt;
* ln -s /opt/tuxdroid/bin/tuxsh /usr/local/bin/tuxsh&lt;br /&gt;
===Flashing tools===&lt;br /&gt;
* cd tuxdroid-svn/firmware/tuxup/trunk/&lt;br /&gt;
* make&lt;br /&gt;
* ln -s /home/tuxdroid/tuxdroid-svn/firmware/tuxup/trunk/tuxup /opt/tuxdroid/bin&lt;br /&gt;
* ln -s /opt/tuxdroid/bin/tuxup /usr/local/bin/tuxup&lt;br /&gt;
* wget http://belnet.dl.sourceforge.net/sourceforge/dfu-programmer/dfu-programmer-0.4.0.tar.gz&lt;br /&gt;
* tar xzf dfu-programmer-0.4.0.tar.gz&lt;br /&gt;
* cd dfu-programmer-0.4.0&lt;br /&gt;
* ./configure&lt;br /&gt;
* make&lt;br /&gt;
* ln -s /home/tuxdroid/dfu-programmer-0.4.0/src/dfu-programmer /usr/local/bin&lt;br /&gt;
* apt-get install gcc-avr avr-libc gdb-avr libsvn-dev&lt;br /&gt;
* wget http://svnwcrev.tigris.org/files/documents/3444/29110/svnwcrev-0.1.tar.gz&lt;br /&gt;
* tar -xzf svnwcrev-0.1.tar.gz&lt;br /&gt;
* cd svnwcrev-0.1&lt;br /&gt;
* sed &#039;s/apr-0/apr-1.0/&#039; config_mk.template &amp;gt; config.mk&lt;br /&gt;
* make&lt;br /&gt;
* ln -s /home/tuxdroid/svnwcrev-0.1/svnwcrev /usr/local/bin/&lt;br /&gt;
===Audio===&lt;br /&gt;
* apt-get install alsa-utils mpg321&lt;br /&gt;
* cat /proc/asound/cards&lt;br /&gt;
 0 [Droid          ]: USB-Audio - Tux Droid&lt;br /&gt;
                      Kysoh Tux Droid at usb-0000:00:01.0-1, full speed&lt;br /&gt;
For oss layer:&lt;br /&gt;
* modprobe snd_pcm_oss&lt;br /&gt;
* modprobe snd_mixer_oss&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;[[Webradio]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
* compiling tuxdaemon &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* running tuxdaemon &#039;&#039;&#039;FAIL&#039;&#039;&#039;&lt;br /&gt;
** USB part seems ok (displays tux events properly) but not TCP part, seems not to be listening on port&lt;br /&gt;
* compiling tuxup &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* compiling dfu-programmer &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* compiling svncrev &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* compiling tuxcore tuxaudio &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* flashing tuxcore.hex tuxcore.eep tuxaudio.hex tuxaudio.eep &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* sound &#039;&#039;&#039;PARTLY&#039;&#039;&#039;&lt;br /&gt;
** ALSA and OSS-emulation layers are up&lt;br /&gt;
** the sound is quite hashed and lot of &amp;quot;alsa underrun&amp;quot; msgs, slightly better results through oss than alsa&lt;br /&gt;
** recording at 8000 Hz mono is very poor (played on host)&lt;br /&gt;
** playing at 8000 Hz mono is poor (recorded on host)&lt;br /&gt;
** madplay -b8 -R8000 ...mp3 is correct&lt;br /&gt;
==Misc==&lt;br /&gt;
===Boot diagnostics===&lt;br /&gt;
From /usr/share/doc/nslu2-utils/README.Debian but in case of problems I prefer to have the text here :-)&lt;br /&gt;
 Some of the led states during boot include:&lt;br /&gt;
 - Cycling down all the leds from top to bottom: The APEX boot loader.&lt;br /&gt;
 - Amber status led: Initramfs is running, mounting root filesystem.&lt;br /&gt;
 - Disk 1 on, status slowly switching between amber and green: Root&lt;br /&gt;
   filesystem mounted, system booting.&lt;br /&gt;
 - Disk 1 on, status green, with fast double amber flashes: System is booted&lt;br /&gt;
   and running. The frequency of the amber flashes indicates the system&#039;s&lt;br /&gt;
   one minute load average; faster flashes denote higher load.&lt;br /&gt;
 - Disk 1 on, status quickly flashing between black/green and black/amber.&lt;br /&gt;
   Single user mode. Again the flash interval denotes load.&lt;br /&gt;
 - Disk 1 on, status slowly switching beteween amber and red: Shutdown in&lt;br /&gt;
   progress.&lt;br /&gt;
===tests===&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 apache2-mpm-prefork - Traditional model for Apache HTTPD 2.1&lt;br /&gt;
 apache2-mpm-worker - High speed threaded model for Apache HTTPD 2.1&lt;/div&gt;</summary>
		<author><name>213.219.144.127</name></author>
	</entry>
	<entry>
		<id>https://wiki.yobi.be/index.php?title=NSLU2&amp;diff=2206</id>
		<title>NSLU2</title>
		<link rel="alternate" type="text/html" href="https://wiki.yobi.be/index.php?title=NSLU2&amp;diff=2206"/>
		<updated>2007-06-24T07:58:40Z</updated>

		<summary type="html">&lt;p&gt;213.219.144.127: /* Todo */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;http://www.andreabeggi.net/wp-content/53006-nslu2.jpg&lt;br /&gt;
&lt;br /&gt;
==Intro==&lt;br /&gt;
* XScale processor from Intel (ARM) at 266MHz (133MHz before hacking...)&lt;br /&gt;
* 32Mb SDRAM&lt;br /&gt;
* 8Mb Flash&lt;br /&gt;
* 2 USB 2.0 ports&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://en.wikipedia.org/wiki/NSLU2 Description] on wikipedia&lt;br /&gt;
* [http://www.nslu2-linux.org/wiki/OpenSlug/HomePage OpenSlug]&lt;br /&gt;
&lt;br /&gt;
==Todo==&lt;br /&gt;
* Mine came with &lt;br /&gt;
** Server Name:  	LKG63472F&lt;br /&gt;
** Version: 	V2.3RA5&lt;br /&gt;
* Connect USB printer?&lt;br /&gt;
* Install backuppc -&amp;gt; I tried but slug is really too slow for that :-(&lt;br /&gt;
* Connect Tuxdroid dongle&lt;br /&gt;
&lt;br /&gt;
==Debian==&lt;br /&gt;
* [http://www.nslu2-linux.org/wiki/Debian/HomePage Debian/NSLU2]&lt;br /&gt;
* [http://www.cyrius.com/debian/nslu2/ How to install Debian on NSLU2] &lt;br /&gt;
===Installation===&lt;br /&gt;
To install, follow the [http://www.cyrius.com/debian/nslu2/install.html howto], here are the big steps:&lt;br /&gt;
* Get [http://www.slug-firmware.net/d-dls.php Debian 4.0r0] firmware from http://www.slug-firmware.net/ and unzip it&lt;br /&gt;
* Power the NSLU2 and wait a bit (green light) before plugging it to the network if you&#039;ve a DHCP, so the NSLU2 will choose itself IP 192.168.1.77, otherwise look to your DHCP server logs to find the IP attribution&lt;br /&gt;
* Go to the admin webpage, tab administration, login admin/admin&lt;br /&gt;
* Configure ALL network params if you don&#039;t have DHCP&lt;br /&gt;
* Go to the admin webpage, tab administration, login admin/admin, tab advanced, tab upgrade&lt;br /&gt;
* Upload di-nslu2.bin, start upgrade&lt;br /&gt;
* Wait for &amp;quot;upgrading ok&amp;quot; (5mins) -&amp;gt; wait for 3 bips (5-10mins)&lt;br /&gt;
* This is the last moment to plug an external USB mass-storage if you didn&#039;t do so yet&lt;br /&gt;
* Login via ssh installer@192.168.1.77 (or another IP got by DHCP...) pwd &amp;quot;install&amp;quot;&lt;br /&gt;
** I did it from an xterm but exported term mode is pure console so it&#039;s better to login from a real text console otherwise the ncurses menu is a bit broken (but still usable)&lt;br /&gt;
* Start installation, manually load the following modules:&lt;br /&gt;
** ext3-modules-2.6.18-4-ixp4xx-di&lt;br /&gt;
** partman-auto&lt;br /&gt;
** partman-ext3&lt;br /&gt;
** scsi-core-modules-2.6.18-4-ixp4xx-di&lt;br /&gt;
** usb-storage-modules-2.6.18-4-ixp4xx-di&lt;br /&gt;
* Whatever system you choose to partition your disk, be sure to have at least 128M of swap, I&#039;ve set up 512M on my 400G drive.&lt;br /&gt;
* In total it took about 100 mins to complete&lt;br /&gt;
* If you need a console, start a second ssh connection and choose to obtain a shell&lt;br /&gt;
* On tasksel, I chose absolutely nothing, I prefer to take only what I need later&lt;br /&gt;
===After first reboot===&lt;br /&gt;
* dpkg --get-selections|wc -l&lt;br /&gt;
 142&lt;br /&gt;
* du -hs /&lt;br /&gt;
 179M&lt;br /&gt;
* dmesg:&lt;br /&gt;
 Linux version 2.6.18-4-ixp4xx (Debian 2.6.18.dfsg.1-12) (waldi@debian.org) (gcc versi&lt;br /&gt;
 on 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #1 Tue Mar 27 18:01:56 BST 2007&lt;br /&gt;
 CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE), cr=0000397f&lt;br /&gt;
 Machine: Linksys NSLU2&lt;br /&gt;
 Memory policy: ECC disabled, Data cache writeback&lt;br /&gt;
 On node 0 totalpages: 8192&lt;br /&gt;
   DMA zone: 8192 pages, LIFO batch:1&lt;br /&gt;
 CPU0: D VIVT undefined 5 cache&lt;br /&gt;
 CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets&lt;br /&gt;
 CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets&lt;br /&gt;
 Built 1 zonelists.  Total pages: 8192&lt;br /&gt;
 Kernel command line: console=ttyS0,115200 rtc-x1205.probe=0,0x6f noirqdebug&lt;br /&gt;
 IRQ lockup detection disabled&lt;br /&gt;
 PID hash table entries: 256 (order: 8, 1024 bytes)&lt;br /&gt;
 Console: colour dummy device 80x30&lt;br /&gt;
 Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)&lt;br /&gt;
 Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)&lt;br /&gt;
 Memory: 32MB = 32MB total&lt;br /&gt;
 Memory: 25780KB available (1948K code, 496K data, 92K init)&lt;br /&gt;
&lt;br /&gt;
 Calibrating delay loop... 132.71 BogoMIPS (lpj=663552)&lt;br /&gt;
 ...&lt;br /&gt;
* hdparm -tT /dev/sda&lt;br /&gt;
 /dev/sda:&lt;br /&gt;
 Timing cached reads:    86 MB in  2.04 seconds =  42.20 MB/sec&lt;br /&gt;
 Timing buffered disk reads:   28 MB in  3.12 seconds =   8.98 MB/sec&lt;br /&gt;
===Tweaks===&lt;br /&gt;
* Ok so our NSLU2 is well underclocked, let&#039;s restore its full speed following [http://www.nslu2-linux.org/wiki/HowTo/OverClockTheSlug this howto]&lt;br /&gt;
 Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200)&lt;br /&gt;
Much better :-)&lt;br /&gt;
 /dev/sda:&lt;br /&gt;
 Timing cached reads:    90 MB in  2.00 seconds =  44.98 MB/sec&lt;br /&gt;
 Timing buffered disk reads:   32 MB in  3.03 seconds =  10.56 MB/sec&lt;br /&gt;
A bit better but nothing fantastic...&lt;br /&gt;
* Setup static network parameters&lt;br /&gt;
** apt-get install resolvconf&lt;br /&gt;
** edit /etc/network/interfaces&lt;br /&gt;
 allow-hotplug eth0&lt;br /&gt;
 iface eth0 inet static&lt;br /&gt;
    address 192.168.1.77&lt;br /&gt;
    netmask 255.255.255.0&lt;br /&gt;
    gateway 192.168.1.1&lt;br /&gt;
    dns-nameservers 192.168.1.2 192.168.1.1&lt;br /&gt;
* From /usr/share/doc/nslu2-utils/README.Debian:&lt;br /&gt;
** sed -i &#039;s/^FSCKFIX=.*$/FSCKFIX=yes/&#039; /etc/default/rcS&lt;br /&gt;
** sed -i &#039;s/^BOOTLOGD_ENABLE=.*$/BOOTLOGD_ENABLE=yes/&#039; /etc/default/bootlogd&lt;br /&gt;
** Reorder the booting sequence to get ssh up earlier:&lt;br /&gt;
 ls -l /etc/rcS.d/&lt;br /&gt;
 S21resolvconf -&amp;gt; ../init.d/resolvconf&lt;br /&gt;
 S22ifupdown -&amp;gt; ../init.d/ifupdown&lt;br /&gt;
 S23networking -&amp;gt; ../init.d/networking&lt;br /&gt;
 S23ssh -&amp;gt; ../init.d/ssh&lt;br /&gt;
&lt;br /&gt;
** By default the power button restarts the slug, change the call to shutdown in /etc/inittab:&lt;br /&gt;
 ca:12345:ctrlaltdel:/sbin/shutdown -h now&lt;br /&gt;
&lt;br /&gt;
==Devel==&lt;br /&gt;
Be prepared to do some native compilation...&lt;br /&gt;
* apt-get install build-essential&lt;br /&gt;
===Tuxdroid===&lt;br /&gt;
====Basics====&lt;br /&gt;
* apt-get install subversion libusb-dev libglib2.0-dev ipython&lt;br /&gt;
* mkdir /home/tuxdroid; cd /home/tuxdroid&lt;br /&gt;
* svn co http://svn.tuxisalive.com tuxdroid-svn&lt;br /&gt;
* cd tuxdroid-svn/daemon/trunk&lt;br /&gt;
* make&lt;br /&gt;
* mkdir -p /opt/tuxdroid/api&lt;br /&gt;
* ln -s /home/tuxdroid/tuxdroid-svn/software /opt/tuxdroid/api/python&lt;br /&gt;
* mkdir -p /opt/tuxdroid/bin&lt;br /&gt;
* ln -s /home/tuxdroid/tuxdroid-svn/daemon/trunk/tuxdaemon /opt/tuxdroid/bin     &lt;br /&gt;
* ln -s /opt/tuxdroid/bin/tuxdaemon /usr/local/bin/tuxdaemon&lt;br /&gt;
* echo -e &amp;quot;#/bin/bash\npython -i /opt/tuxdroid/api/python/tux.py&amp;quot; &amp;gt; /opt/tuxdroid/bin/tuxsh&lt;br /&gt;
* chmod 755 /opt/tuxdroid/bin/tuxsh&lt;br /&gt;
* ln -s /opt/tuxdroid/bin/tuxsh /usr/local/bin/tuxsh&lt;br /&gt;
===Flashing tools===&lt;br /&gt;
* cd tuxdroid-svn/firmware/tuxup/trunk/&lt;br /&gt;
* make&lt;br /&gt;
* ln -s /home/tuxdroid/tuxdroid-svn/firmware/tuxup/trunk/tuxup /opt/tuxdroid/bin&lt;br /&gt;
* ln -s /opt/tuxdroid/bin/tuxup /usr/local/bin/tuxup&lt;br /&gt;
* wget http://belnet.dl.sourceforge.net/sourceforge/dfu-programmer/dfu-programmer-0.4.0.tar.gz&lt;br /&gt;
* tar xzf dfu-programmer-0.4.0.tar.gz&lt;br /&gt;
* cd dfu-programmer-0.4.0&lt;br /&gt;
* ./configure&lt;br /&gt;
* make&lt;br /&gt;
* ln -s /home/tuxdroid/dfu-programmer-0.4.0/src/dfu-programmer /usr/local/bin&lt;br /&gt;
* apt-get install gcc-avr avr-libc gdb-avr libsvn-dev&lt;br /&gt;
* wget http://svnwcrev.tigris.org/files/documents/3444/29110/svnwcrev-0.1.tar.gz&lt;br /&gt;
* tar -xzf svnwcrev-0.1.tar.gz&lt;br /&gt;
* cd svnwcrev-0.1&lt;br /&gt;
* sed &#039;s/apr-0/apr-1.0/&#039; config_mk.template &amp;gt; config.mk&lt;br /&gt;
* make&lt;br /&gt;
* ln -s /home/tuxdroid/svnwcrev-0.1/svnwcrev /usr/local/bin/&lt;br /&gt;
===Audio===&lt;br /&gt;
* apt-get install alsa-utils mpg321&lt;br /&gt;
* cat /proc/asound/cards&lt;br /&gt;
 0 [Droid          ]: USB-Audio - Tux Droid&lt;br /&gt;
                      Kysoh Tux Droid at usb-0000:00:01.0-1, full speed&lt;br /&gt;
For oss layer:&lt;br /&gt;
* modprobe snd_pcm_oss&lt;br /&gt;
* modprobe snd_mixer_oss&lt;br /&gt;
&lt;br /&gt;
tests to do:&lt;br /&gt;
* madplay (fixed point mp3 player)&lt;br /&gt;
* http://www.musicpd.org&lt;br /&gt;
* http://www.nslu2-linux.org/wiki/HowTo/SlugAsAudioPlayer&lt;br /&gt;
&lt;br /&gt;
===Status===&lt;br /&gt;
* compiling tuxdaemon &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* running tuxdaemon &#039;&#039;&#039;FAIL&#039;&#039;&#039;&lt;br /&gt;
** USB part seems ok (displays tux events properly) but not TCP part, seems not to be listening on port&lt;br /&gt;
* compiling tuxup &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* compiling dfu-programmer &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* compiling svncrev &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* compiling tuxcore tuxaudio &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* flashing tuxcore.hex tuxcore.eep tuxaudio.hex tuxaudio.eep &#039;&#039;&#039;OK&#039;&#039;&#039;&lt;br /&gt;
* sound &#039;&#039;&#039;PARTLY&#039;&#039;&#039;&lt;br /&gt;
** ALSA and OSS-emulation layers are up&lt;br /&gt;
** the sound is quite hashed and lot of &amp;quot;alsa underrun&amp;quot; msgs, slightly better results through oss than alsa&lt;br /&gt;
** recording at 8000 Hz mono is very poor (played on host)&lt;br /&gt;
** playing at 8000 Hz mono is poor (recorded on host)&lt;br /&gt;
** madplay -b8 -R8000 ...mp3 is correct&lt;br /&gt;
==Misc==&lt;br /&gt;
===Boot diagnostics===&lt;br /&gt;
From /usr/share/doc/nslu2-utils/README.Debian but in case of problems I prefer to have the text here :-)&lt;br /&gt;
 Some of the led states during boot include:&lt;br /&gt;
 - Cycling down all the leds from top to bottom: The APEX boot loader.&lt;br /&gt;
 - Amber status led: Initramfs is running, mounting root filesystem.&lt;br /&gt;
 - Disk 1 on, status slowly switching between amber and green: Root&lt;br /&gt;
   filesystem mounted, system booting.&lt;br /&gt;
 - Disk 1 on, status green, with fast double amber flashes: System is booted&lt;br /&gt;
   and running. The frequency of the amber flashes indicates the system&#039;s&lt;br /&gt;
   one minute load average; faster flashes denote higher load.&lt;br /&gt;
 - Disk 1 on, status quickly flashing between black/green and black/amber.&lt;br /&gt;
   Single user mode. Again the flash interval denotes load.&lt;br /&gt;
 - Disk 1 on, status slowly switching beteween amber and red: Shutdown in&lt;br /&gt;
   progress.&lt;br /&gt;
===tests===&lt;br /&gt;
 apt-get install locales&lt;br /&gt;
 apache2-mpm-prefork - Traditional model for Apache HTTPD 2.1&lt;br /&gt;
 apache2-mpm-worker - High speed threaded model for Apache HTTPD 2.1&lt;/div&gt;</summary>
		<author><name>213.219.144.127</name></author>
	</entry>
</feed>