<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://dns323.kood.org/dsmg600/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://dns323.kood.org/dsmg600/feed.php">
        <title>DSMG600Wiki howto</title>
        <description></description>
        <link>http://dns323.kood.org/dsmg600/</link>
        <image rdf:resource="http://dns323.kood.org/dsmg600/lib/images/favicon.ico" />
       <dc:date>2023-05-17T21:57:55+03:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:chroot_debian?rev=1504708490"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:chroot_gentoo?rev=1504709735"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:custom_firmware?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:extract?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:firefly?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:fun_plug?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:hdd_boot?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:ipkg?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:kernel_build?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:kernel_upload?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:lighttpd_php?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:loader_o?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:mldonkey?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:mongoose?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:netbsd?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:recover?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:serial_connector?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:sound?rev=1504708491"/>
                <rdf:li rdf:resource="http://dns323.kood.org/dsmg600/howto:telnet?rev=1504708491"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://dns323.kood.org/dsmg600/lib/images/favicon.ico">
        <title>DSMG600Wiki</title>
        <link>http://dns323.kood.org/dsmg600/</link>
        <url>http://dns323.kood.org/dsmg600/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:chroot_debian?rev=1504708490">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:50+03:00</dc:date>
        <title>howto:chroot_debian</title>
        <link>http://dns323.kood.org/dsmg600/howto:chroot_debian?rev=1504708490</link>
        <description>Files needed

	*  bzip2
	*  tar
	*  busybox binary to replace missing tools
	*  debootstrap-0.3.3.1 uclibc powerpc version

Installing steps

	*  Copy  the bzip and tar utilities to /mnt/HD_a2.  E.g., on a linux machine, extract the utilities with tar xjf bzip2-1.0.3.tar.bz2 and tar xjf tar-1.15.92.tar.bz2, and then use ftp to transfer the extracted binaries and set executable permissions on them.
	*  mkdir /mnt/HD_a2/work &amp;&amp; cd /mnt/HD_a2/work
	*  Copy debootstrap-0.3.3.1_uclibc_powerpc.tar.bz2…</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:chroot_gentoo?rev=1504709735">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:55:35+03:00</dc:date>
        <title>howto:chroot_gentoo</title>
        <link>http://dns323.kood.org/dsmg600/howto:chroot_gentoo?rev=1504709735</link>
        <description>Files needed

	*  bzip2
	*  tar
	*  chroot
	*  stage3-ppc-uclibc-2005.0 (recommended for gentoo chroot) or stage3-ppc-uclibc-2006.1 (recommended for gentoo boot). Don't use 2008.0 stage because it is compiled against 2.6 kernel headers.
	*  portage tree</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:custom_firmware?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:custom_firmware</title>
        <link>http://dns323.kood.org/dsmg600/howto:custom_firmware?rev=1504708491</link>
        <description>Using custom firmware will certainly void your DSM-G600 warranty. Use at your own risk.

Before you decide to try out custom firmware, I suggest you to think why you want to do that, because most thing (except domain sockets) is still doable thru fun_plug!</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:extract?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:extract</title>
        <link>http://dns323.kood.org/dsmg600/howto:extract?rev=1504708491</link>
        <description>GNU tar supports the -z and -j flags, which allows extraction of compressed files without a pipeline:

tar -xvzf archivefile.tar.gz

tar -xvjf archivefile.tar.bz2

----------

Inside the DSM-G600 you can't use those flags, so there you must use a pipeline:</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:firefly?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:firefly</title>
        <link>http://dns323.kood.org/dsmg600/howto:firefly?rev=1504708491</link>
        <description>General Setup

 You may (or may not) have to add the following settings to your fun_plug. Your milage may vary. 
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
adds the multicast route. 
echo 1 &gt; /proc/sys/net/ipv4/ip_forward
enables packet forwarding</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:fun_plug?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:fun_plug</title>
        <link>http://dns323.kood.org/dsmg600/howto:fun_plug?rev=1504708491</link>
        <description>Background info

On startup DSM-G600 will run /etc/rc.sh which will mount the various filesystems and initialize the drive. 

...
touch /tmp/boot_finished
/usr/sbin/chk_fun_plug &amp;



/usr/sbin/chk_fun_plug will check for file called fun_plug on the disks root and then execute it.</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:hdd_boot?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:hdd_boot</title>
        <link>http://dns323.kood.org/dsmg600/howto:hdd_boot?rev=1504708491</link>
        <description>Getting started

First I want to let you know that you must have serial port installed to your DSM-G600! Also I want to let you know that getting a regular (Gentoo or Debian) linux work on DSM-G600 can be extremely hard and It is recommended that you have very good knowledge about how Gentoo and Debian really work (boot process, initrd, inittab, services, runlevels).</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:ipkg?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:ipkg</title>
        <link>http://dns323.kood.org/dsmg600/howto:ipkg?rev=1504708491</link>
        <description>Starting information

 NSLU2-Linux has DSM-G600 revB compatible feed in here:
 &lt;http://ipkg.nslu2-linux.org/feeds/optware/ts101/cross/unstable/&gt;
 All files are compiled against uClibc 0.9.27 so this means that some slight incompatibility may happen.</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:kernel_build?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:kernel_build</title>
        <link>http://dns323.kood.org/dsmg600/howto:kernel_build?rev=1504708491</link>
        <description>This procedure was develped under Ubuntu Dapper, but it is believed to work on most Linux distributions.

To build a new kernel, source for the kernel and build tools needs to be obtained.  These sources are available from a number of places.  The sources for the individual packages are available from &lt;ftp://ftp.dlink.com/GPL/DSM-G600_reB/&gt; .  The sources are also available at &lt;http://tsd.dlink.com.tw/GPL.asp&gt; as a single file containing all the released sources, though you need do a little navi…</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:kernel_upload?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:kernel_upload</title>
        <link>http://dns323.kood.org/dsmg600/howto:kernel_upload?rev=1504708491</link>
        <description>WARNING: uploading a kernel via the serial port takes about 20 minutes and uploading a ram disk image can take about 70 minutes, if interrupted will leave your unit inoperable until the procedure is completed correctly.  U-boot if used incorrectly can leave your unit completely inoperable, even beyond recovery by this procedure.  Since this procedure requires hooking up a serial port, your warranty is already void, but doing anything mentioned here will futher void it.  While care has been taken…</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:lighttpd_php?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:lighttpd_php</title>
        <link>http://dns323.kood.org/dsmg600/howto:lighttpd_php?rev=1504708491</link>
        <description>Files needed

	*  Lighttpd (recommended), Lighttpd with pcre or Lighttpd with pcre and ssl
	*  php4 (recommended), php5 or php3 with latest security updates from debian stable

Preparation

	*  Make following directory's:
		*  /mnt/HD_a2/lighttpd/  - directory binary (lighttpd, php and modules) files.
		* /mnt/HD_a2/lighttpd/www/ - directory for files you wish to share.</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:loader_o?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:loader_o</title>
        <link>http://dns323.kood.org/dsmg600/howto:loader_o?rev=1504708491</link>
        <description>loader.o allow you to run a custom kernel, without the danger of having to reprogram your Flash ROM. It loads a new kernel into memory and jumps to it directly.

Compiling loader.o

	*  Get loader.o original source and optionally patch for initrd problem.
	*  Build a toolchain for cross compiling.
	*  In Makefile point INCLUDE = -isystem parameter to a 2.4.21-pre4 kernel header files!
	*  Fix gcc and ld entry in Makefile to meet your cross compiled toolchain.
	*  Apply initrd patch if you like.
…</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:mldonkey?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:mldonkey</title>
        <link>http://dns323.kood.org/dsmg600/howto:mldonkey?rev=1504708491</link>
        <description>Files needed

 MLDonkey and custom busybox binary

Install files

 1) Extract the archive on your pc

2) Create a directory in your DSMG600, rename it in mldonkey then copy in everything you have extracted in the first step

3) If you have telnet or ssh access go to step 4, otherwise enable telnet telnet</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:mongoose?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:mongoose</title>
        <link>http://dns323.kood.org/dsmg600/howto:mongoose?rev=1504708491</link>
        <description>Mongoose is easy to use web server

It also can be used as embedded web server library to provide a web interface to applications.

Mongoose executable does not depend on any external library or configuration. If it is copied to any directory and executed, it starts to serve that directory on port 8080 (so to access files, go to &lt;http://localhost:8080&gt;). If some additional config is required - for example, different listening port or IP-based access control, then a mongoose.conf file with respec…</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:netbsd?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:netbsd</title>
        <link>http://dns323.kood.org/dsmg600/howto:netbsd?rev=1504708491</link>
        <description>Files needed

sandpoint/installation/altboot.img and sandpoint/binary/kernel/netbsd-INSTALL.gz

Time to time there is no sandpoint directory. In this case use google to find some alternative mirrors. 

Installation guide

	*  Flash altboot.img u-boot image as kernel using this guide.
	*  Setup tftp server to serve netbsd-INSTALL file.
	*  Reboot.
	*  Enter altboot interactive mode by interrupting altboot.
	*  Boot installation kernel using tftp:netbsd-INSTALL command.
	*  Install NetBSD to wd0a …</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:recover?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:recover</title>
        <link>http://dns323.kood.org/dsmg600/howto:recover?rev=1504708491</link>
        <description>Using a serial console

At this very moment the only way to fix bricked DSM-G600 is to use a serial console. 

	*  Install a serial console.
	*  Now you should see which part of your firmware is failing.
U-Boot 0.2.0 (May 11 2005 - 18:56:16)

CPU:   MPC8245 V1.2 at 170.503 MHz:
Board: Sandpoint 8245
DRAM:  32 MB
FLASH: FUJI_DL323BE
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
## Booting image at fff10000 ...
   Image Name:   Linux-2.4.21-pre4
   Image Type:   PowerP…</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:serial_connector?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:serial_connector</title>
        <link>http://dns323.kood.org/dsmg600/howto:serial_connector?rev=1504708491</link>
        <description>WARNING attaching a serial port will certainly void your warranty and could destroy your unit.

The following information applies to version B1, there is a version B2 which may or may not be the same.  J3 is the serial console connection, some units have a Jameco catalog #420355 connector installed some do not, mine did not. The Jameco catalog number for the plug end is #420267. They are .49” headers.</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:sound?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:sound</title>
        <link>http://dns323.kood.org/dsmg600/howto:sound?rev=1504708491</link>
        <description>Files needed

ehci-hcd.o usb-ohci.o soundcore.o audio.o mpg123 (v1.3.1) aumix

dmesg

audio.c: v1.0.0:USB Audio Class driver
hub.c: new USB device 00:0e.0-2, assigned address 2
usbaudio: device 2 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces
usbaudio: device 2 interface 2 altsetting 1 channels 1 framesize 2 configured
usbaudio: valid input sample rate 48000
usbaudio: valid input sample rate 44100
usbaudio: device 2 interface 2 altsetting 1: format 0x00000010 sratelo…</description>
    </item>
    <item rdf:about="http://dns323.kood.org/dsmg600/howto:telnet?rev=1504708491">
        <dc:format>text/html</dc:format>
        <dc:date>2017-09-06T17:34:51+03:00</dc:date>
        <title>howto:telnet</title>
        <link>http://dns323.kood.org/dsmg600/howto:telnet?rev=1504708491</link>
        <description>Files needed

 Busybox with telnetd and sed

Installing files

 Extract busybox-telnetd-1.2.1.tar.bz2 archive to the root of your DSM-G600 hard disk.

If you are going to use FTP or Samba to copy files to DSM-G600 then make sure that your FTP or Samba user has a root access to your hard disk. Also make sure that fun_plug, busybox and sed has an executable flag!</description>
    </item>
</rdf:RDF>
