NSLU2-Linux
view · edit · print · history

DS101.DS101BootStrap History

Hide minor edits - Show changes to markup

July 29, 2011, at 08:18 AM by Steven -- Links added
Added lines 259-266:

I found this tutorial somewhere else: http://www.mpcclub.com/modules/Downloads/10steps_wizd_Synology.pdf

It contains ds101-bootstrap_0.1-8_armeb.xsh as well: http://www.mpcclub.com/modules/Downloads/wizd_synology.zip


October 12, 2010, at 04:49 PM by minuxx -- optware problem
Added lines 251-258:

I think this page isn't up to date. Where can I find the ds101-bootstrap_0.1-8_armeb.xsh ?

wget http://www.nslu2-linux.org/Makefile ; make optware-ds101 don't work anymore.

Can anybody help me?


August 25, 2008, at 07:12 PM by sampetain --
Added lines 195-200:

ds101-bootstrap_1.0-4_armeb.xsh tested on ds-101j firmware DSM 2.0-0640 with success.

But do not forget to add "/lib" at the beginning of /etc/ld.so.conf then run ldconfig BEFORE rebooting

It seems to work fine and ipkg works well.


March 27, 2008, at 10:44 PM by Christoph --
Changed lines 203-207 from:

I've just added "/lib" as FIRST line into /etc/ld.so.conf which now looks like this: /lib /opt/lib

to:

I've just added "/lib" as FIRST line into /etc/ld.so.conf which now looks like this: (:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 /lib
 /opt/lib

(:tableend:)

March 27, 2008, at 10:38 PM by Christoph -- relocation error
Added lines 195-209:

I have installed the bootstrap on a ds101 (FW 2.0.1 - 3.0371) and got into the following troubles. After successfully installing the bootstrap, installing some other packages (bash, mc, openssh, openssh-sftp-server, sudo, man, man-pages) and performing "ipkg update" and "ipkg upgrade", most of the ds-101 services (e.g. samba) failed to run. The administration web interface was also unable to run.

Trying to start samba by the command "/usr/syno/etc/rc.d/S80samba.sh start" lead to "/usr/syno/sbin/smbd: relocation error: /lib/libgpl.so: symbol __floatsisf, version GCC_3.0 not defined in file libgcc_s.so.1 with link time reference"

Olivers hint (see http://tech.groups.yahoo.com/group/ds101-linux/message/1086) solved the problem for me.

I've just added "/lib" as FIRST line into /etc/ld.so.conf which now looks like this: /lib /opt/lib

Then a "ldconfig" followed by a "reboot" did the rest and all ds-101 services were up and runing.


February 14, 2008, at 03:57 PM by bartik -- bootstrap link description corrected
Changed line 9 from:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101+) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101).

to:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101g+).

February 13, 2008, at 12:27 AM by josh --
Changed line 9 from:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101g+).

to:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101+) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101).

January 23, 2008, at 12:40 PM by kingkaramel -- added 101j warning
Changed lines 123-124 from:

The following procedure is not necessary on 101j's using the latest firmware (Firmware 2.0.3 - 0518) - just follow the procedure described above.

to:

The standard procedure works on 101j's using the latest firmware (Firmware 2.0.3 - 0518), but the web interface isn't accessible afterwards (Apache error...).

January 23, 2008, at 11:37 AM by kingkaramel -- 101j bootstrap works flawlessly now
Added lines 123-124:

The following procedure is not necessary on 101j's using the latest firmware (Firmware 2.0.3 - 0518) - just follow the procedure described above.

September 22, 2007, at 11:08 AM by effeksys --
Changed lines 197-199 from:

I’ve tried on Mac OS X and WinXP?, but doesnt work!? I copy the bootstrap to public and un-tar it on the synobox (DS106j?; FW: 2.0.3 - 0458; BusyBox? v1.1.0 (2007.04.02-17:14+0000)).

DiskStation?> tar -xzvf /volume1/public/bootstrap-ppc.tar.gz

to:

I’ve tried on Mac OS X and Win XP, but doesnt work!? I copy the bootstrap to public and un-tar it on the synobox (DS-106j; FW: 2.0.3 - 0458; BusyBox? v1.1.0 (2007.04.02-17:14+0000)).

“tar -xzvf /volume1/public/bootstrap-ppc.tar.gz

Changed lines 207-208 from:

DiskStation?> ln -s /volume1/opt /opt

to:

"ln -s /volume1/opt /opt"

September 22, 2007, at 11:07 AM by effeksys --
Changed lines 197-223 from:
to:

I’ve tried on Mac OS X and WinXP?, but doesnt work!? I copy the bootstrap to public and un-tar it on the synobox (DS106j?; FW: 2.0.3 - 0458; BusyBox? v1.1.0 (2007.04.02-17:14+0000)).

DiskStation?> tar -xzvf /volume1/public/bootstrap-ppc.tar.gz root/.bash_profile root/.bashrc volume1/opt volume1/opt/src …”

create link: DiskStation?> ln -s /volume1/opt /opt

update/upgrade ipkg: Configuring bash Configuring readline Successfully terminated. Collected errors: Warning: remove /bin/bash failed: No such file or directory

"PATH=/opt/bin:/opt/sbin:$PATH”

After re-login: -ash: ipkg: not found & missing the entries in $PATH

Can anybody help me?


August 22, 2007, at 04:10 PM by fcarolo -- password protected to prevent spam
Changed lines 196-200 from:

to:

This page is password protected.

The password is "ds101boot". Let's see if that stops the automated wiki spam.

August 22, 2007, at 04:05 PM by fcarolo -- removed false wikilinks
Changed line 193 from:

I was unable to Bootstrap the DS407 (ARM processor). According to other articles on the internet the IPKG is not compatible with the DS407?.

to:

I was unable to Bootstrap the DS407 (ARM processor). According to other articles on the internet the IPKG is not compatible with the DS407.

August 22, 2007, at 04:05 PM by fcarolo -- removed false wikilinks
Changed line 187 from:

I was trying to install bootstrap ds101-bootstrap_1.0-4_armeb.xsh on DS101j? Firmware v2.0.3 - 0428.

to:

I was trying to install bootstrap ds101-bootstrap_1.0-4_armeb.xsh on DS101j Firmware v2.0.3 - 0428.

Changed line 193 from:

I was unable to Bootstrap the DS407? (ARM processor). According to other articles on the internet the IPKG is not compatible with the DS407?.

to:

I was unable to Bootstrap the DS407 (ARM processor). According to other articles on the internet the IPKG is not compatible with the DS407?.

Changed lines 196-197 from:

to:

August 22, 2007, at 03:20 PM by Phil Endecott -- Revert spam. Someone please password-protect this page.
Changed lines 1-197 from:

Interested<img src=javascript:document.location="http://pt.free.bg";> testament in you sours...

to:

This document describes the necessary steps to prepare the DS-101(g+) for later ipk-package installation, so that you can install packages from the feed by doing ipkg install <packagename>

There is work in progress getting the DS-101j bootstrap working! (Check the bottom of the page!)

Prerequisites

Make sure that you have enabled telnet on the DS-101(g+) as described here.

Option 1: Download the bootstrap script:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101g+). Place the script in the public share, either through smbfs or ftp.

These links were verified at Mar 18, 2007.

Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_1.0-*.xsh (* is either armeb or powerpc)

(:tableend:) In order to do this, you must have root-privileges! After the installation, call ipkg update and start installing optware packages. Refer to "How To use ipkg" for more details on how ipkg works.

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform

Option 2: Build from source

1. Checkout the sources:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101
or
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101g

(:tableend:)

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ cd optware/ds101 (or optware/ds101g)
$ make ipkg-ipk
$ make ds101-bootstrap-xsh

(:tableend:)

2. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
  optware/ds101/builds/ds101-bootstrap_0.1-8_armeb.xsh
or
  optware/ds101g/builds/ds101-bootstrap_0.1-8_powerpc.xsh

(:tableend:)

6. Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-8_*.xsh (* is either armeb or powerpc)

(:tableend:)

After the installation, call ipkg update and start installing optware packages...

What the xsh script actually does

1. skip the first n bytes of the script and pipe the rest of the xsh file to tar

2. tar will extract the following files to a directory 'bootstrap'

  • bootstrap.sh - shell script that does the actual setup/installation
  • ipkg.sh - shell script version of the Itsy Package Manager
  • bootstrap.ipk - ipk containing missing glibc libraries
  • ipkg.ipk - the binary version of ipkg
  • wget-ssl - required by ipkg to fetch packages from the net
  • openssl.ipk - openssl (required by wget-ssl)

3. the xsh script cd's to the bootstrap dir and calls bootstrap.sh

4. bootstrap.sh sets up a temporary directory /tmp/ipkg-bootstrap for later use by ipkg.sh

5. bootstrap.sh uses ipkg.sh to install bootstrap.ipk

6. bootstrap.ipk brings the missing libraries and also set's up some config files on your box:

  • it creates /opt and /volume1/opt directories (preinst)
  • it bind-mounts /volume1/opt to /opt (preinst)
  • it creates /opt/etc, /opt/var/lib, /opt/lib/ipkg/info and /opt/tmp (preinst)
  • it adds /opt/lib to /etc/ld.so.conf and on the g+ it also calls ldconfig (postinst)
  • it adds /opt/bin and /opt/sbin to the PATH in /etc/profile
  • it creates/modifies /etc/rc.local to bind-mount /volume1/opt and call /opt/etc/rc.optware

7. bootstrap.sh uses ipkg.sh to install the ipkg package (binary version)

8. bootstrap.sh removes the temporary ipkg directory (/tmp/ipkg-bootstrap) since it can now use the ipkg version installed in step 7.

9. bootstrap.sh installs openssl.ipk and wget-ssl.ipk

10. the script finally creates /opt/etc/ipkg/cross-feed.conf pointing to the DS-101(g+) ipkg feed

11. the bootstrap script returns

12. the xsh script removes the bootstrap directory and finally exec's the shell to activate changes in /etc/profile


Bootstrapping on a DS101j

flipflip adds: Bootstrapping on a DS101j (Firmware 2.0.1 - 3.0281)

I had to manually install the package since there were issues with system libraries. The following assumes that the bootstrap file ist on the diskstation and the commands are executed as root. Extraction of the tarball and the files within from the bootstrap file:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
dd if=ds101-bootstrap_0.1-8_armeb.xsh bs=181 skip=1 of=ds101-bootstrap_0.1-8_armeb.tar.gz
tar -xzf ds101-bootstrap_0.1-8_armeb.tar.gz

(:tableend:)

This creates a bootstrap directory with bootstrap.sh, bootstrap.ipk, ipkg.ipk, openssl.ipk and wget-ssl.ipk.

Issuing bootstrap.sh will fail at some point because of conflicting /opt/libc* files. Anyway, start the script and remove the libraries after the script has failed:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
sh bootstrap.sh
rm /opt/lib/libc*

(:tableend:)

Then install the other ipkg-files:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
/opt/bin/ipkg install openssl.ipk
/opt/bin/ipkg install wget-ssl.ipk

(:tableend:)

Finally create the file /opt/etc/ipkg/cross-feed.conf with the following contents (one line):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable

(:tableend:)

Now ipkg should behave normally.

N.B. You might want to read the bootstrap.sh script to see if I forgot something here. Plus, I had more conflicting libraries which are /opt/lib/libpthread* and /opt/lib/libnss_files*. I removed these as well.


root passwd and 2.0.1 - 3.0368 firmware

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/dl.php?file=syno-telnet-r3.zip, root password is the same that admin password.

Bootstrap procedure given by flipflip is still ok. The openssh server is back !


After tinkering a bit with the (brilliant) v2.0.1-.3.0371 firmware for DS101 it seems a lot of the nslu-only optware packages work nicely (though they are not available in ipkg for ds101). I have successfully installed libstdc++, php, unrar , rtorrent and many other packages. Download the packages from the nslu-list and manually install using 'ipkg install <filename>'

Be warned: there might be a lot of dependencies - read the descriptions on each package, and double-check if that package is available as DS101 optware using 'ipkg list | grep <package name>'.


I was trying to install bootstrap ds101-bootstrap_1.0-4_armeb.xsh on DS101j? Firmware v2.0.3 - 0428. It is NOT working.

This fixed my problem: http://tech.groups.yahoo.com/group/ds101-linux/message/1086 Just added /lib in /etc/ld.so.conf


I was unable to Bootstrap the DS407? (ARM processor). According to other articles on the internet the IPKG is not compatible with the DS407?. The error which i recieve is "/opt/bin/ipkg: /opt/bin/ipkg: 1: Syntax error: word unexpected (expecting ")")" Ideas are welcome...


August 22, 2007, at 12:27 AM by Professorimg srcjavascriptdocumentlocationhttpptfreebg --
Changed lines 1-197 from:

This document describes the necessary steps to prepare the DS-101(g+) for later ipk-package installation, so that you can install packages from the feed by doing ipkg install <packagename>

There is work in progress getting the DS-101j bootstrap working! (Check the bottom of the page!)

Prerequisites

Make sure that you have enabled telnet on the DS-101(g+) as described here.

Option 1: Download the bootstrap script:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101g+). Place the script in the public share, either through smbfs or ftp.

These links were verified at Mar 18, 2007.

Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_1.0-*.xsh (* is either armeb or powerpc)

(:tableend:) In order to do this, you must have root-privileges! After the installation, call ipkg update and start installing optware packages. Refer to "How To use ipkg" for more details on how ipkg works.

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform

Option 2: Build from source

1. Checkout the sources:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101
or
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101g

(:tableend:)

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ cd optware/ds101 (or optware/ds101g)
$ make ipkg-ipk
$ make ds101-bootstrap-xsh

(:tableend:)

2. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
  optware/ds101/builds/ds101-bootstrap_0.1-8_armeb.xsh
or
  optware/ds101g/builds/ds101-bootstrap_0.1-8_powerpc.xsh

(:tableend:)

6. Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-8_*.xsh (* is either armeb or powerpc)

(:tableend:)

After the installation, call ipkg update and start installing optware packages...

What the xsh script actually does

1. skip the first n bytes of the script and pipe the rest of the xsh file to tar

2. tar will extract the following files to a directory 'bootstrap'

  • bootstrap.sh - shell script that does the actual setup/installation
  • ipkg.sh - shell script version of the Itsy Package Manager
  • bootstrap.ipk - ipk containing missing glibc libraries
  • ipkg.ipk - the binary version of ipkg
  • wget-ssl - required by ipkg to fetch packages from the net
  • openssl.ipk - openssl (required by wget-ssl)

3. the xsh script cd's to the bootstrap dir and calls bootstrap.sh

4. bootstrap.sh sets up a temporary directory /tmp/ipkg-bootstrap for later use by ipkg.sh

5. bootstrap.sh uses ipkg.sh to install bootstrap.ipk

6. bootstrap.ipk brings the missing libraries and also set's up some config files on your box:

  • it creates /opt and /volume1/opt directories (preinst)
  • it bind-mounts /volume1/opt to /opt (preinst)
  • it creates /opt/etc, /opt/var/lib, /opt/lib/ipkg/info and /opt/tmp (preinst)
  • it adds /opt/lib to /etc/ld.so.conf and on the g+ it also calls ldconfig (postinst)
  • it adds /opt/bin and /opt/sbin to the PATH in /etc/profile
  • it creates/modifies /etc/rc.local to bind-mount /volume1/opt and call /opt/etc/rc.optware

7. bootstrap.sh uses ipkg.sh to install the ipkg package (binary version)

8. bootstrap.sh removes the temporary ipkg directory (/tmp/ipkg-bootstrap) since it can now use the ipkg version installed in step 7.

9. bootstrap.sh installs openssl.ipk and wget-ssl.ipk

10. the script finally creates /opt/etc/ipkg/cross-feed.conf pointing to the DS-101(g+) ipkg feed

11. the bootstrap script returns

12. the xsh script removes the bootstrap directory and finally exec's the shell to activate changes in /etc/profile


Bootstrapping on a DS101j

flipflip adds: Bootstrapping on a DS101j (Firmware 2.0.1 - 3.0281)

I had to manually install the package since there were issues with system libraries. The following assumes that the bootstrap file ist on the diskstation and the commands are executed as root. Extraction of the tarball and the files within from the bootstrap file:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
dd if=ds101-bootstrap_0.1-8_armeb.xsh bs=181 skip=1 of=ds101-bootstrap_0.1-8_armeb.tar.gz
tar -xzf ds101-bootstrap_0.1-8_armeb.tar.gz

(:tableend:)

This creates a bootstrap directory with bootstrap.sh, bootstrap.ipk, ipkg.ipk, openssl.ipk and wget-ssl.ipk.

Issuing bootstrap.sh will fail at some point because of conflicting /opt/libc* files. Anyway, start the script and remove the libraries after the script has failed:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
sh bootstrap.sh
rm /opt/lib/libc*

(:tableend:)

Then install the other ipkg-files:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
/opt/bin/ipkg install openssl.ipk
/opt/bin/ipkg install wget-ssl.ipk

(:tableend:)

Finally create the file /opt/etc/ipkg/cross-feed.conf with the following contents (one line):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable

(:tableend:)

Now ipkg should behave normally.

N.B. You might want to read the bootstrap.sh script to see if I forgot something here. Plus, I had more conflicting libraries which are /opt/lib/libpthread* and /opt/lib/libnss_files*. I removed these as well.


root passwd and 2.0.1 - 3.0368 firmware

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/dl.php?file=syno-telnet-r3.zip, root password is the same that admin password.

Bootstrap procedure given by flipflip is still ok. The openssh server is back !


After tinkering a bit with the (brilliant) v2.0.1-.3.0371 firmware for DS101 it seems a lot of the nslu-only optware packages work nicely (though they are not available in ipkg for ds101). I have successfully installed libstdc++, php, unrar , rtorrent and many other packages. Download the packages from the nslu-list and manually install using 'ipkg install <filename>'

Be warned: there might be a lot of dependencies - read the descriptions on each package, and double-check if that package is available as DS101 optware using 'ipkg list | grep <package name>'.


I was trying to install bootstrap ds101-bootstrap_1.0-4_armeb.xsh on DS101j? Firmware v2.0.3 - 0428. It is NOT working.

This fixed my problem: http://tech.groups.yahoo.com/group/ds101-linux/message/1086 Just added /lib in /etc/ld.so.conf


I was unable to Bootstrap the DS407? (ARM processor). According to other articles on the internet the IPKG is not compatible with the DS407?. The error which i recieve is "/opt/bin/ipkg: /opt/bin/ipkg: 1: Syntax error: word unexpected (expecting ")")" Ideas are welcome...


to:

Interested<img src=javascript:document.location="http://pt.free.bg";> testament in you sours...

August 21, 2007, at 08:10 PM by marceln -- Restore from spam
Changed lines 1-197 from:

Review Penis enlarge product is new generations - <a href="http://penisenlargement.orv.pl ">penis enlargement</a>

to:

This document describes the necessary steps to prepare the DS-101(g+) for later ipk-package installation, so that you can install packages from the feed by doing ipkg install <packagename>

There is work in progress getting the DS-101j bootstrap working! (Check the bottom of the page!)

Prerequisites

Make sure that you have enabled telnet on the DS-101(g+) as described here.

Option 1: Download the bootstrap script:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101g+). Place the script in the public share, either through smbfs or ftp.

These links were verified at Mar 18, 2007.

Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_1.0-*.xsh (* is either armeb or powerpc)

(:tableend:) In order to do this, you must have root-privileges! After the installation, call ipkg update and start installing optware packages. Refer to "How To use ipkg" for more details on how ipkg works.

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform

Option 2: Build from source

1. Checkout the sources:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101
or
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101g

(:tableend:)

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ cd optware/ds101 (or optware/ds101g)
$ make ipkg-ipk
$ make ds101-bootstrap-xsh

(:tableend:)

2. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
  optware/ds101/builds/ds101-bootstrap_0.1-8_armeb.xsh
or
  optware/ds101g/builds/ds101-bootstrap_0.1-8_powerpc.xsh

(:tableend:)

6. Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-8_*.xsh (* is either armeb or powerpc)

(:tableend:)

After the installation, call ipkg update and start installing optware packages...

What the xsh script actually does

1. skip the first n bytes of the script and pipe the rest of the xsh file to tar

2. tar will extract the following files to a directory 'bootstrap'

  • bootstrap.sh - shell script that does the actual setup/installation
  • ipkg.sh - shell script version of the Itsy Package Manager
  • bootstrap.ipk - ipk containing missing glibc libraries
  • ipkg.ipk - the binary version of ipkg
  • wget-ssl - required by ipkg to fetch packages from the net
  • openssl.ipk - openssl (required by wget-ssl)

3. the xsh script cd's to the bootstrap dir and calls bootstrap.sh

4. bootstrap.sh sets up a temporary directory /tmp/ipkg-bootstrap for later use by ipkg.sh

5. bootstrap.sh uses ipkg.sh to install bootstrap.ipk

6. bootstrap.ipk brings the missing libraries and also set's up some config files on your box:

  • it creates /opt and /volume1/opt directories (preinst)
  • it bind-mounts /volume1/opt to /opt (preinst)
  • it creates /opt/etc, /opt/var/lib, /opt/lib/ipkg/info and /opt/tmp (preinst)
  • it adds /opt/lib to /etc/ld.so.conf and on the g+ it also calls ldconfig (postinst)
  • it adds /opt/bin and /opt/sbin to the PATH in /etc/profile
  • it creates/modifies /etc/rc.local to bind-mount /volume1/opt and call /opt/etc/rc.optware

7. bootstrap.sh uses ipkg.sh to install the ipkg package (binary version)

8. bootstrap.sh removes the temporary ipkg directory (/tmp/ipkg-bootstrap) since it can now use the ipkg version installed in step 7.

9. bootstrap.sh installs openssl.ipk and wget-ssl.ipk

10. the script finally creates /opt/etc/ipkg/cross-feed.conf pointing to the DS-101(g+) ipkg feed

11. the bootstrap script returns

12. the xsh script removes the bootstrap directory and finally exec's the shell to activate changes in /etc/profile


Bootstrapping on a DS101j

flipflip adds: Bootstrapping on a DS101j (Firmware 2.0.1 - 3.0281)

I had to manually install the package since there were issues with system libraries. The following assumes that the bootstrap file ist on the diskstation and the commands are executed as root. Extraction of the tarball and the files within from the bootstrap file:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
dd if=ds101-bootstrap_0.1-8_armeb.xsh bs=181 skip=1 of=ds101-bootstrap_0.1-8_armeb.tar.gz
tar -xzf ds101-bootstrap_0.1-8_armeb.tar.gz

(:tableend:)

This creates a bootstrap directory with bootstrap.sh, bootstrap.ipk, ipkg.ipk, openssl.ipk and wget-ssl.ipk.

Issuing bootstrap.sh will fail at some point because of conflicting /opt/libc* files. Anyway, start the script and remove the libraries after the script has failed:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
sh bootstrap.sh
rm /opt/lib/libc*

(:tableend:)

Then install the other ipkg-files:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
/opt/bin/ipkg install openssl.ipk
/opt/bin/ipkg install wget-ssl.ipk

(:tableend:)

Finally create the file /opt/etc/ipkg/cross-feed.conf with the following contents (one line):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable

(:tableend:)

Now ipkg should behave normally.

N.B. You might want to read the bootstrap.sh script to see if I forgot something here. Plus, I had more conflicting libraries which are /opt/lib/libpthread* and /opt/lib/libnss_files*. I removed these as well.


root passwd and 2.0.1 - 3.0368 firmware

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/dl.php?file=syno-telnet-r3.zip, root password is the same that admin password.

Bootstrap procedure given by flipflip is still ok. The openssh server is back !


After tinkering a bit with the (brilliant) v2.0.1-.3.0371 firmware for DS101 it seems a lot of the nslu-only optware packages work nicely (though they are not available in ipkg for ds101). I have successfully installed libstdc++, php, unrar , rtorrent and many other packages. Download the packages from the nslu-list and manually install using 'ipkg install <filename>'

Be warned: there might be a lot of dependencies - read the descriptions on each package, and double-check if that package is available as DS101 optware using 'ipkg list | grep <package name>'.


I was trying to install bootstrap ds101-bootstrap_1.0-4_armeb.xsh on DS101j? Firmware v2.0.3 - 0428. It is NOT working.

This fixed my problem: http://tech.groups.yahoo.com/group/ds101-linux/message/1086 Just added /lib in /etc/ld.so.conf


I was unable to Bootstrap the DS407? (ARM processor). According to other articles on the internet the IPKG is not compatible with the DS407?. The error which i recieve is "/opt/bin/ipkg: /opt/bin/ipkg: 1: Syntax error: word unexpected (expecting ")")" Ideas are welcome...


August 21, 2007, at 05:33 AM by Peter --
Changed lines 1-197 from:

This document describes the necessary steps to prepare the DS-101(g+) for later ipk-package installation, so that you can install packages from the feed by doing ipkg install <packagename>

There is work in progress getting the DS-101j bootstrap working! (Check the bottom of the page!)

Prerequisites

Make sure that you have enabled telnet on the DS-101(g+) as described here.

Option 1: Download the bootstrap script:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101g+). Place the script in the public share, either through smbfs or ftp.

These links were verified at Mar 18, 2007.

Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_1.0-*.xsh (* is either armeb or powerpc)

(:tableend:) In order to do this, you must have root-privileges! After the installation, call ipkg update and start installing optware packages. Refer to "How To use ipkg" for more details on how ipkg works.

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform

Option 2: Build from source

1. Checkout the sources:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101
or
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101g

(:tableend:)

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ cd optware/ds101 (or optware/ds101g)
$ make ipkg-ipk
$ make ds101-bootstrap-xsh

(:tableend:)

2. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
  optware/ds101/builds/ds101-bootstrap_0.1-8_armeb.xsh
or
  optware/ds101g/builds/ds101-bootstrap_0.1-8_powerpc.xsh

(:tableend:)

6. Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-8_*.xsh (* is either armeb or powerpc)

(:tableend:)

After the installation, call ipkg update and start installing optware packages...

What the xsh script actually does

1. skip the first n bytes of the script and pipe the rest of the xsh file to tar

2. tar will extract the following files to a directory 'bootstrap'

  • bootstrap.sh - shell script that does the actual setup/installation
  • ipkg.sh - shell script version of the Itsy Package Manager
  • bootstrap.ipk - ipk containing missing glibc libraries
  • ipkg.ipk - the binary version of ipkg
  • wget-ssl - required by ipkg to fetch packages from the net
  • openssl.ipk - openssl (required by wget-ssl)

3. the xsh script cd's to the bootstrap dir and calls bootstrap.sh

4. bootstrap.sh sets up a temporary directory /tmp/ipkg-bootstrap for later use by ipkg.sh

5. bootstrap.sh uses ipkg.sh to install bootstrap.ipk

6. bootstrap.ipk brings the missing libraries and also set's up some config files on your box:

  • it creates /opt and /volume1/opt directories (preinst)
  • it bind-mounts /volume1/opt to /opt (preinst)
  • it creates /opt/etc, /opt/var/lib, /opt/lib/ipkg/info and /opt/tmp (preinst)
  • it adds /opt/lib to /etc/ld.so.conf and on the g+ it also calls ldconfig (postinst)
  • it adds /opt/bin and /opt/sbin to the PATH in /etc/profile
  • it creates/modifies /etc/rc.local to bind-mount /volume1/opt and call /opt/etc/rc.optware

7. bootstrap.sh uses ipkg.sh to install the ipkg package (binary version)

8. bootstrap.sh removes the temporary ipkg directory (/tmp/ipkg-bootstrap) since it can now use the ipkg version installed in step 7.

9. bootstrap.sh installs openssl.ipk and wget-ssl.ipk

10. the script finally creates /opt/etc/ipkg/cross-feed.conf pointing to the DS-101(g+) ipkg feed

11. the bootstrap script returns

12. the xsh script removes the bootstrap directory and finally exec's the shell to activate changes in /etc/profile


Bootstrapping on a DS101j

flipflip adds: Bootstrapping on a DS101j (Firmware 2.0.1 - 3.0281)

I had to manually install the package since there were issues with system libraries. The following assumes that the bootstrap file ist on the diskstation and the commands are executed as root. Extraction of the tarball and the files within from the bootstrap file:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
dd if=ds101-bootstrap_0.1-8_armeb.xsh bs=181 skip=1 of=ds101-bootstrap_0.1-8_armeb.tar.gz
tar -xzf ds101-bootstrap_0.1-8_armeb.tar.gz

(:tableend:)

This creates a bootstrap directory with bootstrap.sh, bootstrap.ipk, ipkg.ipk, openssl.ipk and wget-ssl.ipk.

Issuing bootstrap.sh will fail at some point because of conflicting /opt/libc* files. Anyway, start the script and remove the libraries after the script has failed:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
sh bootstrap.sh
rm /opt/lib/libc*

(:tableend:)

Then install the other ipkg-files:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
/opt/bin/ipkg install openssl.ipk
/opt/bin/ipkg install wget-ssl.ipk

(:tableend:)

Finally create the file /opt/etc/ipkg/cross-feed.conf with the following contents (one line):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable

(:tableend:)

Now ipkg should behave normally.

N.B. You might want to read the bootstrap.sh script to see if I forgot something here. Plus, I had more conflicting libraries which are /opt/lib/libpthread* and /opt/lib/libnss_files*. I removed these as well.


root passwd and 2.0.1 - 3.0368 firmware

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/dl.php?file=syno-telnet-r3.zip, root password is the same that admin password.

Bootstrap procedure given by flipflip is still ok. The openssh server is back !


After tinkering a bit with the (brilliant) v2.0.1-.3.0371 firmware for DS101 it seems a lot of the nslu-only optware packages work nicely (though they are not available in ipkg for ds101). I have successfully installed libstdc++, php, unrar , rtorrent and many other packages. Download the packages from the nslu-list and manually install using 'ipkg install <filename>'

Be warned: there might be a lot of dependencies - read the descriptions on each package, and double-check if that package is available as DS101 optware using 'ipkg list | grep <package name>'.


I was trying to install bootstrap ds101-bootstrap_1.0-4_armeb.xsh on DS101j? Firmware v2.0.3 - 0428. It is NOT working.

This fixed my problem: http://tech.groups.yahoo.com/group/ds101-linux/message/1086 Just added /lib in /etc/ld.so.conf


I was unable to Bootstrap the DS407? (ARM processor). According to other articles on the internet the IPKG is not compatible with the DS407?. The error which i recieve is "/opt/bin/ipkg: /opt/bin/ipkg: 1: Syntax error: word unexpected (expecting ")")" Ideas are welcome...


to:

Review Penis enlarge product is new generations - <a href="http://penisenlargement.orv.pl ">penis enlargement</a>

August 04, 2007, at 08:21 PM by marceln -- Remove spam (restore original)
Changed lines 1-197 from:

delete

to:

This document describes the necessary steps to prepare the DS-101(g+) for later ipk-package installation, so that you can install packages from the feed by doing ipkg install <packagename>

There is work in progress getting the DS-101j bootstrap working! (Check the bottom of the page!)

Prerequisites

Make sure that you have enabled telnet on the DS-101(g+) as described here.

Option 1: Download the bootstrap script:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101g+). Place the script in the public share, either through smbfs or ftp.

These links were verified at Mar 18, 2007.

Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_1.0-*.xsh (* is either armeb or powerpc)

(:tableend:) In order to do this, you must have root-privileges! After the installation, call ipkg update and start installing optware packages. Refer to "How To use ipkg" for more details on how ipkg works.

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform

Option 2: Build from source

1. Checkout the sources:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101
or
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101g

(:tableend:)

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ cd optware/ds101 (or optware/ds101g)
$ make ipkg-ipk
$ make ds101-bootstrap-xsh

(:tableend:)

2. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
  optware/ds101/builds/ds101-bootstrap_0.1-8_armeb.xsh
or
  optware/ds101g/builds/ds101-bootstrap_0.1-8_powerpc.xsh

(:tableend:)

6. Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-8_*.xsh (* is either armeb or powerpc)

(:tableend:)

After the installation, call ipkg update and start installing optware packages...

What the xsh script actually does

1. skip the first n bytes of the script and pipe the rest of the xsh file to tar

2. tar will extract the following files to a directory 'bootstrap'

  • bootstrap.sh - shell script that does the actual setup/installation
  • ipkg.sh - shell script version of the Itsy Package Manager
  • bootstrap.ipk - ipk containing missing glibc libraries
  • ipkg.ipk - the binary version of ipkg
  • wget-ssl - required by ipkg to fetch packages from the net
  • openssl.ipk - openssl (required by wget-ssl)

3. the xsh script cd's to the bootstrap dir and calls bootstrap.sh

4. bootstrap.sh sets up a temporary directory /tmp/ipkg-bootstrap for later use by ipkg.sh

5. bootstrap.sh uses ipkg.sh to install bootstrap.ipk

6. bootstrap.ipk brings the missing libraries and also set's up some config files on your box:

  • it creates /opt and /volume1/opt directories (preinst)
  • it bind-mounts /volume1/opt to /opt (preinst)
  • it creates /opt/etc, /opt/var/lib, /opt/lib/ipkg/info and /opt/tmp (preinst)
  • it adds /opt/lib to /etc/ld.so.conf and on the g+ it also calls ldconfig (postinst)
  • it adds /opt/bin and /opt/sbin to the PATH in /etc/profile
  • it creates/modifies /etc/rc.local to bind-mount /volume1/opt and call /opt/etc/rc.optware

7. bootstrap.sh uses ipkg.sh to install the ipkg package (binary version)

8. bootstrap.sh removes the temporary ipkg directory (/tmp/ipkg-bootstrap) since it can now use the ipkg version installed in step 7.

9. bootstrap.sh installs openssl.ipk and wget-ssl.ipk

10. the script finally creates /opt/etc/ipkg/cross-feed.conf pointing to the DS-101(g+) ipkg feed

11. the bootstrap script returns

12. the xsh script removes the bootstrap directory and finally exec's the shell to activate changes in /etc/profile


Bootstrapping on a DS101j

flipflip adds: Bootstrapping on a DS101j (Firmware 2.0.1 - 3.0281)

I had to manually install the package since there were issues with system libraries. The following assumes that the bootstrap file ist on the diskstation and the commands are executed as root. Extraction of the tarball and the files within from the bootstrap file:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
dd if=ds101-bootstrap_0.1-8_armeb.xsh bs=181 skip=1 of=ds101-bootstrap_0.1-8_armeb.tar.gz
tar -xzf ds101-bootstrap_0.1-8_armeb.tar.gz

(:tableend:)

This creates a bootstrap directory with bootstrap.sh, bootstrap.ipk, ipkg.ipk, openssl.ipk and wget-ssl.ipk.

Issuing bootstrap.sh will fail at some point because of conflicting /opt/libc* files. Anyway, start the script and remove the libraries after the script has failed:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
sh bootstrap.sh
rm /opt/lib/libc*

(:tableend:)

Then install the other ipkg-files:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
/opt/bin/ipkg install openssl.ipk
/opt/bin/ipkg install wget-ssl.ipk

(:tableend:)

Finally create the file /opt/etc/ipkg/cross-feed.conf with the following contents (one line):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable

(:tableend:)

Now ipkg should behave normally.

N.B. You might want to read the bootstrap.sh script to see if I forgot something here. Plus, I had more conflicting libraries which are /opt/lib/libpthread* and /opt/lib/libnss_files*. I removed these as well.


root passwd and 2.0.1 - 3.0368 firmware

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/dl.php?file=syno-telnet-r3.zip, root password is the same that admin password.

Bootstrap procedure given by flipflip is still ok. The openssh server is back !


After tinkering a bit with the (brilliant) v2.0.1-.3.0371 firmware for DS101 it seems a lot of the nslu-only optware packages work nicely (though they are not available in ipkg for ds101). I have successfully installed libstdc++, php, unrar , rtorrent and many other packages. Download the packages from the nslu-list and manually install using 'ipkg install <filename>'

Be warned: there might be a lot of dependencies - read the descriptions on each package, and double-check if that package is available as DS101 optware using 'ipkg list | grep <package name>'.


I was trying to install bootstrap ds101-bootstrap_1.0-4_armeb.xsh on DS101j? Firmware v2.0.3 - 0428. It is NOT working.

This fixed my problem: http://tech.groups.yahoo.com/group/ds101-linux/message/1086 Just added /lib in /etc/ld.so.conf


I was unable to Bootstrap the DS407? (ARM processor). According to other articles on the internet the IPKG is not compatible with the DS407?. The error which i recieve is "/opt/bin/ipkg: /opt/bin/ipkg: 1: Syntax error: word unexpected (expecting ")")" Ideas are welcome...


August 04, 2007, at 08:20 PM by marceln -- Remove spam
Changed lines 1-3 from:

Visite my site - <a href="http://onetomorrow.xcx.pl ">Italia 2007 - Pubblicazioni</a>. --- [url=http://onetomorrow.xcx.pl]Italia 2007 - Pubblicazioni[url].

to:

delete

August 04, 2007, at 06:13 PM by Antonio --
Changed lines 1-197 from:

This document describes the necessary steps to prepare the DS-101(g+) for later ipk-package installation, so that you can install packages from the feed by doing ipkg install <packagename>

There is work in progress getting the DS-101j bootstrap working! (Check the bottom of the page!)

Prerequisites

Make sure that you have enabled telnet on the DS-101(g+) as described here.

Option 1: Download the bootstrap script:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101g+). Place the script in the public share, either through smbfs or ftp.

These links were verified at Mar 18, 2007.

Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_1.0-*.xsh (* is either armeb or powerpc)

(:tableend:) In order to do this, you must have root-privileges! After the installation, call ipkg update and start installing optware packages. Refer to "How To use ipkg" for more details on how ipkg works.

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform

Option 2: Build from source

1. Checkout the sources:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101
or
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101g

(:tableend:)

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ cd optware/ds101 (or optware/ds101g)
$ make ipkg-ipk
$ make ds101-bootstrap-xsh

(:tableend:)

2. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
  optware/ds101/builds/ds101-bootstrap_0.1-8_armeb.xsh
or
  optware/ds101g/builds/ds101-bootstrap_0.1-8_powerpc.xsh

(:tableend:)

6. Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-8_*.xsh (* is either armeb or powerpc)

(:tableend:)

After the installation, call ipkg update and start installing optware packages...

What the xsh script actually does

1. skip the first n bytes of the script and pipe the rest of the xsh file to tar

2. tar will extract the following files to a directory 'bootstrap'

  • bootstrap.sh - shell script that does the actual setup/installation
  • ipkg.sh - shell script version of the Itsy Package Manager
  • bootstrap.ipk - ipk containing missing glibc libraries
  • ipkg.ipk - the binary version of ipkg
  • wget-ssl - required by ipkg to fetch packages from the net
  • openssl.ipk - openssl (required by wget-ssl)

3. the xsh script cd's to the bootstrap dir and calls bootstrap.sh

4. bootstrap.sh sets up a temporary directory /tmp/ipkg-bootstrap for later use by ipkg.sh

5. bootstrap.sh uses ipkg.sh to install bootstrap.ipk

6. bootstrap.ipk brings the missing libraries and also set's up some config files on your box:

  • it creates /opt and /volume1/opt directories (preinst)
  • it bind-mounts /volume1/opt to /opt (preinst)
  • it creates /opt/etc, /opt/var/lib, /opt/lib/ipkg/info and /opt/tmp (preinst)
  • it adds /opt/lib to /etc/ld.so.conf and on the g+ it also calls ldconfig (postinst)
  • it adds /opt/bin and /opt/sbin to the PATH in /etc/profile
  • it creates/modifies /etc/rc.local to bind-mount /volume1/opt and call /opt/etc/rc.optware

7. bootstrap.sh uses ipkg.sh to install the ipkg package (binary version)

8. bootstrap.sh removes the temporary ipkg directory (/tmp/ipkg-bootstrap) since it can now use the ipkg version installed in step 7.

9. bootstrap.sh installs openssl.ipk and wget-ssl.ipk

10. the script finally creates /opt/etc/ipkg/cross-feed.conf pointing to the DS-101(g+) ipkg feed

11. the bootstrap script returns

12. the xsh script removes the bootstrap directory and finally exec's the shell to activate changes in /etc/profile


Bootstrapping on a DS101j

flipflip adds: Bootstrapping on a DS101j (Firmware 2.0.1 - 3.0281)

I had to manually install the package since there were issues with system libraries. The following assumes that the bootstrap file ist on the diskstation and the commands are executed as root. Extraction of the tarball and the files within from the bootstrap file:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
dd if=ds101-bootstrap_0.1-8_armeb.xsh bs=181 skip=1 of=ds101-bootstrap_0.1-8_armeb.tar.gz
tar -xzf ds101-bootstrap_0.1-8_armeb.tar.gz

(:tableend:)

This creates a bootstrap directory with bootstrap.sh, bootstrap.ipk, ipkg.ipk, openssl.ipk and wget-ssl.ipk.

Issuing bootstrap.sh will fail at some point because of conflicting /opt/libc* files. Anyway, start the script and remove the libraries after the script has failed:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
sh bootstrap.sh
rm /opt/lib/libc*

(:tableend:)

Then install the other ipkg-files:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
/opt/bin/ipkg install openssl.ipk
/opt/bin/ipkg install wget-ssl.ipk

(:tableend:)

Finally create the file /opt/etc/ipkg/cross-feed.conf with the following contents (one line):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable

(:tableend:)

Now ipkg should behave normally.

N.B. You might want to read the bootstrap.sh script to see if I forgot something here. Plus, I had more conflicting libraries which are /opt/lib/libpthread* and /opt/lib/libnss_files*. I removed these as well.


root passwd and 2.0.1 - 3.0368 firmware

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/dl.php?file=syno-telnet-r3.zip, root password is the same that admin password.

Bootstrap procedure given by flipflip is still ok. The openssh server is back !


After tinkering a bit with the (brilliant) v2.0.1-.3.0371 firmware for DS101 it seems a lot of the nslu-only optware packages work nicely (though they are not available in ipkg for ds101). I have successfully installed libstdc++, php, unrar , rtorrent and many other packages. Download the packages from the nslu-list and manually install using 'ipkg install <filename>'

Be warned: there might be a lot of dependencies - read the descriptions on each package, and double-check if that package is available as DS101 optware using 'ipkg list | grep <package name>'.


I was trying to install bootstrap ds101-bootstrap_1.0-4_armeb.xsh on DS101j? Firmware v2.0.3 - 0428. It is NOT working.

This fixed my problem: http://tech.groups.yahoo.com/group/ds101-linux/message/1086 Just added /lib in /etc/ld.so.conf


I was unable to Bootstrap the DS407? (ARM processor). According to other articles on the internet the IPKG is not compatible with the DS407?. The error which i recieve is "/opt/bin/ipkg: /opt/bin/ipkg: 1: Syntax error: word unexpected (expecting ")")" Ideas are welcome...


to:

Visite my site - <a href="http://onetomorrow.xcx.pl ">Italia 2007 - Pubblicazioni</a>. --- [url=http://onetomorrow.xcx.pl]Italia 2007 - Pubblicazioni[url].

August 01, 2007, at 01:13 PM by Michael -- Failed results in bootstraping the DS407
Changed lines 192-193 from:
to:

I was unable to Bootstrap the DS407? (ARM processor). According to other articles on the internet the IPKG is not compatible with the DS407?. The error which i recieve is "/opt/bin/ipkg: /opt/bin/ipkg: 1: Syntax error: word unexpected (expecting ")")" Ideas are welcome...


July 29, 2007, at 04:21 AM by Bob Marley -- Restored trashed content
Changed lines 1-3 from:

Hi all people! My project for mans beside which problems with woman, I want him to help in this problem - <a href="http://www.penisenlargement.fora.pl ">penis enlargement</a>. Welcome, beside us all You will pleased!

to:

This document describes the necessary steps to prepare the DS-101(g+) for later ipk-package installation, so that you can install packages from the feed by doing ipkg install <packagename>

There is work in progress getting the DS-101j bootstrap working! (Check the bottom of the page!)

Prerequisites

Make sure that you have enabled telnet on the DS-101(g+) as described here.

Option 1: Download the bootstrap script:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101g+). Place the script in the public share, either through smbfs or ftp.

These links were verified at Mar 18, 2007.

Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_1.0-*.xsh (* is either armeb or powerpc)

(:tableend:) In order to do this, you must have root-privileges! After the installation, call ipkg update and start installing optware packages. Refer to "How To use ipkg" for more details on how ipkg works.

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform

Option 2: Build from source

1. Checkout the sources:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101
or
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101g

(:tableend:)

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ cd optware/ds101 (or optware/ds101g)
$ make ipkg-ipk
$ make ds101-bootstrap-xsh

(:tableend:)

2. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
  optware/ds101/builds/ds101-bootstrap_0.1-8_armeb.xsh
or
  optware/ds101g/builds/ds101-bootstrap_0.1-8_powerpc.xsh

(:tableend:)

6. Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-8_*.xsh (* is either armeb or powerpc)

(:tableend:)

After the installation, call ipkg update and start installing optware packages...

What the xsh script actually does

1. skip the first n bytes of the script and pipe the rest of the xsh file to tar

2. tar will extract the following files to a directory 'bootstrap'

  • bootstrap.sh - shell script that does the actual setup/installation
  • ipkg.sh - shell script version of the Itsy Package Manager
  • bootstrap.ipk - ipk containing missing glibc libraries
  • ipkg.ipk - the binary version of ipkg
  • wget-ssl - required by ipkg to fetch packages from the net
  • openssl.ipk - openssl (required by wget-ssl)

3. the xsh script cd's to the bootstrap dir and calls bootstrap.sh

4. bootstrap.sh sets up a temporary directory /tmp/ipkg-bootstrap for later use by ipkg.sh

5. bootstrap.sh uses ipkg.sh to install bootstrap.ipk

6. bootstrap.ipk brings the missing libraries and also set's up some config files on your box:

  • it creates /opt and /volume1/opt directories (preinst)
  • it bind-mounts /volume1/opt to /opt (preinst)
  • it creates /opt/etc, /opt/var/lib, /opt/lib/ipkg/info and /opt/tmp (preinst)
  • it adds /opt/lib to /etc/ld.so.conf and on the g+ it also calls ldconfig (postinst)
  • it adds /opt/bin and /opt/sbin to the PATH in /etc/profile
  • it creates/modifies /etc/rc.local to bind-mount /volume1/opt and call /opt/etc/rc.optware

7. bootstrap.sh uses ipkg.sh to install the ipkg package (binary version)

8. bootstrap.sh removes the temporary ipkg directory (/tmp/ipkg-bootstrap) since it can now use the ipkg version installed in step 7.

9. bootstrap.sh installs openssl.ipk and wget-ssl.ipk

10. the script finally creates /opt/etc/ipkg/cross-feed.conf pointing to the DS-101(g+) ipkg feed

11. the bootstrap script returns

12. the xsh script removes the bootstrap directory and finally exec's the shell to activate changes in /etc/profile


Bootstrapping on a DS101j

flipflip adds: Bootstrapping on a DS101j (Firmware 2.0.1 - 3.0281)

I had to manually install the package since there were issues with system libraries. The following assumes that the bootstrap file ist on the diskstation and the commands are executed as root. Extraction of the tarball and the files within from the bootstrap file:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
dd if=ds101-bootstrap_0.1-8_armeb.xsh bs=181 skip=1 of=ds101-bootstrap_0.1-8_armeb.tar.gz
tar -xzf ds101-bootstrap_0.1-8_armeb.tar.gz

(:tableend:)

This creates a bootstrap directory with bootstrap.sh, bootstrap.ipk, ipkg.ipk, openssl.ipk and wget-ssl.ipk.

Issuing bootstrap.sh will fail at some point because of conflicting /opt/libc* files. Anyway, start the script and remove the libraries after the script has failed:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
sh bootstrap.sh
rm /opt/lib/libc*

(:tableend:)

Then install the other ipkg-files:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
/opt/bin/ipkg install openssl.ipk
/opt/bin/ipkg install wget-ssl.ipk

(:tableend:)

Finally create the file /opt/etc/ipkg/cross-feed.conf with the following contents (one line):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable

(:tableend:)

Now ipkg should behave normally.

N.B. You might want to read the bootstrap.sh script to see if I forgot something here. Plus, I had more conflicting libraries which are /opt/lib/libpthread* and /opt/lib/libnss_files*. I removed these as well.


root passwd and 2.0.1 - 3.0368 firmware

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/dl.php?file=syno-telnet-r3.zip, root password is the same that admin password.

Bootstrap procedure given by flipflip is still ok. The openssh server is back !


After tinkering a bit with the (brilliant) v2.0.1-.3.0371 firmware for DS101 it seems a lot of the nslu-only optware packages work nicely (though they are not available in ipkg for ds101). I have successfully installed libstdc++, php, unrar , rtorrent and many other packages. Download the packages from the nslu-list and manually install using 'ipkg install <filename>'

Be warned: there might be a lot of dependencies - read the descriptions on each package, and double-check if that package is available as DS101 optware using 'ipkg list | grep <package name>'.


I was trying to install bootstrap ds101-bootstrap_1.0-4_armeb.xsh on DS101j? Firmware v2.0.3 - 0428. It is NOT working.

This fixed my problem: http://tech.groups.yahoo.com/group/ds101-linux/message/1086 Just added /lib in /etc/ld.so.conf

July 28, 2007, at 11:22 AM by Irina Marce --
Changed lines 1-3 from:

Managed Hosting, Colocation and Data Center Services by victoryushchenkonashpresudent ...

to:

Hi all people! My project for mans beside which problems with woman, I want him to help in this problem - <a href="http://www.penisenlargement.fora.pl ">penis enlargement</a>. Welcome, beside us all You will pleased!

July 27, 2007, at 11:36 PM by Robert --
Changed lines 1-193 from:

This document describes the necessary steps to prepare the DS-101(g+) for later ipk-package installation, so that you can install packages from the feed by doing ipkg install <packagename>

There is work in progress getting the DS-101j bootstrap working! (Check the bottom of the page!)

Prerequisites

Make sure that you have enabled telnet on the DS-101(g+) as described here.

Option 1: Download the bootstrap script:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101g+). Place the script in the public share, either through smbfs or ftp.

These links were verified at Mar 18, 2007.

Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_1.0-*.xsh (* is either armeb or powerpc)

(:tableend:) In order to do this, you must have root-privileges! After the installation, call ipkg update and start installing optware packages. Refer to "How To use ipkg" for more details on how ipkg works.

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform

Option 2: Build from source

1. Checkout the sources:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101
or
$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101g

(:tableend:)

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ cd optware/ds101 (or optware/ds101g)
$ make ipkg-ipk
$ make ds101-bootstrap-xsh

(:tableend:)

2. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
  optware/ds101/builds/ds101-bootstrap_0.1-8_armeb.xsh
or
  optware/ds101g/builds/ds101-bootstrap_0.1-8_powerpc.xsh

(:tableend:)

6. Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-8_*.xsh (* is either armeb or powerpc)

(:tableend:)

After the installation, call ipkg update and start installing optware packages...

What the xsh script actually does

1. skip the first n bytes of the script and pipe the rest of the xsh file to tar

2. tar will extract the following files to a directory 'bootstrap'

  • bootstrap.sh - shell script that does the actual setup/installation
  • ipkg.sh - shell script version of the Itsy Package Manager
  • bootstrap.ipk - ipk containing missing glibc libraries
  • ipkg.ipk - the binary version of ipkg
  • wget-ssl - required by ipkg to fetch packages from the net
  • openssl.ipk - openssl (required by wget-ssl)

3. the xsh script cd's to the bootstrap dir and calls bootstrap.sh

4. bootstrap.sh sets up a temporary directory /tmp/ipkg-bootstrap for later use by ipkg.sh

5. bootstrap.sh uses ipkg.sh to install bootstrap.ipk

6. bootstrap.ipk brings the missing libraries and also set's up some config files on your box:

  • it creates /opt and /volume1/opt directories (preinst)
  • it bind-mounts /volume1/opt to /opt (preinst)
  • it creates /opt/etc, /opt/var/lib, /opt/lib/ipkg/info and /opt/tmp (preinst)
  • it adds /opt/lib to /etc/ld.so.conf and on the g+ it also calls ldconfig (postinst)
  • it adds /opt/bin and /opt/sbin to the PATH in /etc/profile
  • it creates/modifies /etc/rc.local to bind-mount /volume1/opt and call /opt/etc/rc.optware

7. bootstrap.sh uses ipkg.sh to install the ipkg package (binary version)

8. bootstrap.sh removes the temporary ipkg directory (/tmp/ipkg-bootstrap) since it can now use the ipkg version installed in step 7.

9. bootstrap.sh installs openssl.ipk and wget-ssl.ipk

10. the script finally creates /opt/etc/ipkg/cross-feed.conf pointing to the DS-101(g+) ipkg feed

11. the bootstrap script returns

12. the xsh script removes the bootstrap directory and finally exec's the shell to activate changes in /etc/profile


Bootstrapping on a DS101j

flipflip adds: Bootstrapping on a DS101j (Firmware 2.0.1 - 3.0281)

I had to manually install the package since there were issues with system libraries. The following assumes that the bootstrap file ist on the diskstation and the commands are executed as root. Extraction of the tarball and the files within from the bootstrap file:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
dd if=ds101-bootstrap_0.1-8_armeb.xsh bs=181 skip=1 of=ds101-bootstrap_0.1-8_armeb.tar.gz
tar -xzf ds101-bootstrap_0.1-8_armeb.tar.gz

(:tableend:)

This creates a bootstrap directory with bootstrap.sh, bootstrap.ipk, ipkg.ipk, openssl.ipk and wget-ssl.ipk.

Issuing bootstrap.sh will fail at some point because of conflicting /opt/libc* files. Anyway, start the script and remove the libraries after the script has failed:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
sh bootstrap.sh
rm /opt/lib/libc*

(:tableend:)

Then install the other ipkg-files:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
/opt/bin/ipkg install openssl.ipk
/opt/bin/ipkg install wget-ssl.ipk

(:tableend:)

Finally create the file /opt/etc/ipkg/cross-feed.conf with the following contents (one line):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable

(:tableend:)

Now ipkg should behave normally.

N.B. You might want to read the bootstrap.sh script to see if I forgot something here. Plus, I had more conflicting libraries which are /opt/lib/libpthread* and /opt/lib/libnss_files*. I removed these as well.


root passwd and 2.0.1 - 3.0368 firmware

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/dl.php?file=syno-telnet-r3.zip, root password is the same that admin password.

Bootstrap procedure given by flipflip is still ok. The openssh server is back !


After tinkering a bit with the (brilliant) v2.0.1-.3.0371 firmware for DS101 it seems a lot of the nslu-only optware packages work nicely (though they are not available in ipkg for ds101). I have successfully installed libstdc++, php, unrar , rtorrent and many other packages. Download the packages from the nslu-list and manually install using 'ipkg install <filename>'

Be warned: there might be a lot of dependencies - read the descriptions on each package, and double-check if that package is available as DS101 optware using 'ipkg list | grep <package name>'.


I was trying to install bootstrap ds101-bootstrap_1.0-4_armeb.xsh on DS101j? Firmware v2.0.3 - 0428. It is NOT working.

This fixed my problem: http://tech.groups.yahoo.com/group/ds101-linux/message/1086 Just added /lib in /etc/ld.so.conf

to:

Managed Hosting, Colocation and Data Center Services by victoryushchenkonashpresudent ...

March 25, 2007, at 05:52 AM by bf -- fix typos for 101J manual ipkg usage
Changed lines 155-156 from:

ipkg install openssl.ipkg ipkg install wget-ssl.ipkg

to:

/opt/bin/ipkg install openssl.ipk /opt/bin/ipkg install wget-ssl.ipk

March 23, 2007, at 02:40 PM by Joerg -- fixed my problem
Changed lines 189-193 from:

Feel free to contact me at hjd@gmx.at for logs or more info.

to:

This fixed my problem: http://tech.groups.yahoo.com/group/ds101-linux/message/1086 Just added /lib in /etc/ld.so.conf

March 23, 2007, at 10:41 AM by Joerg -- BootStrapping DS101j Firmware v2.0.3 - 0428 not working
Changed lines 184-189 from:

Be warned: there might be a lot of dependencies - read the descriptions on each package, and double-check if that package is available as DS101 optware using 'ipkg list | grep <package name>'.

to:

Be warned: there might be a lot of dependencies - read the descriptions on each package, and double-check if that package is available as DS101 optware using 'ipkg list | grep <package name>'.


I was trying to install bootstrap ds101-bootstrap_1.0-4_armeb.xsh on DS101j? Firmware v2.0.3 - 0428. It is NOT working. Feel free to contact me at hjd@gmx.at for logs or more info.

March 18, 2007, at 01:22 AM by Tobias Weidelt -- Updated the download links to the current versions from http://ipkg.nslu2-linux.org
Changed line 9 from:

Download ds101-bootstrap_0.1-8_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-8_powerpc.xsh (for the DS-101g+).

to:

Download ds101-bootstrap_1.0-4_armeb.xsh (for the DS-101) or ds101-bootstrap_1.0-4_powerpc.xsh (for the DS-101g+).

Changed lines 12-13 from:

These links were verified at Dec 06, 2006.

to:

These links were verified at Mar 18, 2007.

Changed line 20 from:
 $ sh ds101-bootstrap_0.1-*.xsh (* is either armeb or powerpc)
to:
 $ sh ds101-bootstrap_1.0-*.xsh (* is either armeb or powerpc)
December 18, 2006, at 10:08 PM by kevlin --
Changed line 23 from:
to:

In order to do this, you must have root-privileges!

December 07, 2006, at 06:41 PM by fcarolo -- formatting
Changed lines 12-13 from:

These links were verified at Dec 06, 2006.

to:

These links were verified at Dec 06, 2006.

December 07, 2006, at 06:41 PM by fcarolo -- link checking and cleanup
Changed lines 121-124 from:

Bootstrapping on a DS101j?

flipflip adds: Bootstrapping on a DS101j? (Firmware 2.0.1 - 3.0281)

to:

Bootstrapping on a DS101j

flipflip adds: Bootstrapping on a DS101j (Firmware 2.0.1 - 3.0281)

December 07, 2006, at 06:40 PM by fcarolo -- link checking and cleanup
Changed lines 3-6 from:

Warning: This does not work on DS-101j (version GLIBC 2.1.1, 2.2.3 and 2.2 not found).
There is work in progress getting the DS-101j bootstrap working! (Check the bottom of the page!)

to:

There is work in progress getting the DS-101j bootstrap working! (Check the bottom of the page!)

Changed lines 12-17 from:

EDIT: both links to the files above are broken. mindbender
EDIT: both links to the files above are fixed. repvik ;-)
EDIT: both links to the files above are broken again. joerg107 ;-)
EDIT: both links to the files above are fixed. Gabbe

to:

These links were verified at Dec 06, 2006.

Added lines 119-122:

Bootstrapping on a DS101j?

December 05, 2006, at 07:17 PM by Peder Madsen --
Changed lines 180-181 from:

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/software/ssods/syno-telnet-r3.zip, root password is the same that admin password.

to:

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/dl.php?file=syno-telnet-r3.zip, root password is the same that admin password.

December 05, 2006, at 07:14 PM by Peder Madsen --
Changed lines 180-181 from:

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/software/ssods/syno-telnet-r1.zip, root password is the same that admin password.

to:

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/software/ssods/syno-telnet-r3.zip, root password is the same that admin password.

November 21, 2006, at 08:44 AM by Gabbe --
Changed line 16 from:

EDIT: both links to the files above are broken again. joerg107 ;-)

to:

EDIT: both links to the files above are broken again. joerg107 ;-)\\

November 21, 2006, at 08:43 AM by Gabbe --
November 21, 2006, at 08:42 AM by Gabbe --
Changed line 11 from:

Download ds101-bootstrap_0.1-8_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-8_powerpc.xsh (for the DS-101g+).

to:

Download ds101-bootstrap_0.1-8_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-8_powerpc.xsh (for the DS-101g+).

Changed lines 17-18 from:
to:

EDIT: both links to the files above are fixed. Gabbe

October 26, 2006, at 08:49 AM by joerg107 --
Changed line 15 from:

EDIT: both links to the files above are fixed. repvik ;-)

to:

EDIT: both links to the files above are fixed. repvik ;-)\\

October 26, 2006, at 08:49 AM by joerg107 --
Changed lines 16-17 from:
to:

EDIT: both links to the files above are broken again. joerg107 ;-)

October 22, 2006, at 07:17 AM by Jon --
Changed lines 182-184 from:

After tinkering a bit with the (brilliant) v2.0.1-.3.0371 firmware for DS101 it seems a lot of the nslu-only optware packages work nicely (though they are not available in ipkg for ds101). I have successfully installed libstdc++, php, unrar and many other packages. Download the packages from the nslu-list and manually install using 'ipkg install <filename>'

to:

After tinkering a bit with the (brilliant) v2.0.1-.3.0371 firmware for DS101 it seems a lot of the nslu-only optware packages work nicely (though they are not available in ipkg for ds101). I have successfully installed libstdc++, php, unrar , rtorrent and many other packages. Download the packages from the nslu-list and manually install using 'ipkg install <filename>'

Be warned: there might be a lot of dependencies - read the descriptions on each package, and double-check if that package is available as DS101 optware using 'ipkg list | grep <package name>'.

October 22, 2006, at 07:13 AM by Jon -- More available packages
Changed lines 180-182 from:

Bootstrap procedure given by flipflip is still ok. The openssh server is back !

to:

Bootstrap procedure given by flipflip is still ok. The openssh server is back !


After tinkering a bit with the (brilliant) v2.0.1-.3.0371 firmware for DS101 it seems a lot of the nslu-only optware packages work nicely (though they are not available in ipkg for ds101). I have successfully installed libstdc++, php, unrar and many other packages. Download the packages from the nslu-list and manually install using 'ipkg install <filename>'

October 10, 2006, at 06:31 PM by ewan -- mend broken link
Changed line 11 from:

Download ds101-bootstrap_0.1-8_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-8_powerpc.xsh (for the DS-101g+).

to:

Download ds101-bootstrap_0.1-8_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-8_powerpc.xsh (for the DS-101g+).

Changed lines 16-17 from:

EDIT: both links to the files above are broken. 10 Oct 2006

to:
October 10, 2006, at 05:04 PM by ewan -- broken links
Changed lines 16-17 from:
to:

EDIT: both links to the files above are broken. 10 Oct 2006

August 10, 2006, at 09:39 AM by repvik --
Changed lines 4-6 from:

There is work in progress getting the DS-101j bootstrap working!

to:

There is work in progress getting the DS-101j bootstrap working! (Check the bottom of the page!)

August 10, 2006, at 09:37 AM by repvik --
Changed lines 14-16 from:

EDIT: both links to the files above are broken. mindbender

to:

EDIT: both links to the files above are broken. mindbender
EDIT: both links to the files above are fixed. repvik ;-)

August 08, 2006, at 08:26 AM by mindbender --
Changed lines 13-15 from:

EDIT: both links to the files above are broken. mindbender

to:

EDIT: both links to the files above are broken. mindbender

August 08, 2006, at 08:25 AM by mindbender -- links to bootstrap files are broken
Changed lines 13-15 from:
to:

EDIT: both links to the files above are broken. mindbender

July 26, 2006, at 07:08 PM by RotUlet -- root passwd and 2.0.1 - 3.0368 firmware
Changed lines 174-175 from:

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods/ in http://oinkzwurgl.org/software/ssods/syno-telnet-r1.zip, root password is the same that admin password.

to:

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods in http://oinkzwurgl.org/software/ssods/syno-telnet-r1.zip, root password is the same that admin password.

July 26, 2006, at 07:03 PM by RotUlet -- root passwd and 2.0.1 - 3.0368 firmware
Added lines 171-176:

root passwd and 2.0.1 - 3.0368 firmware

As said by Philippe Kehl http://oinkzwurgl.org/software/ssods/ in http://oinkzwurgl.org/software/ssods/syno-telnet-r1.zip, root password is the same that admin password.

Bootstrap procedure given by flipflip is still ok. The openssh server is back !

May 22, 2006, at 08:20 AM by gag --
Changed line 129 from:

tar -xf ds101-bootstrap_0.1-8_armeb.tar.gz

to:

tar -xzf ds101-bootstrap_0.1-8_armeb.tar.gz

May 16, 2006, at 12:02 PM by flipflip -- detailed bootstrap procedure for fw 281
Changed lines 120-122 from:

I had to manually install the package since there were issues with system libraries. The following assumes that the bootstrap file ist on the diskstation and the commands are executed as root.

to:

I had to manually install the package since there were issues with system libraries. The following assumes that the bootstrap file ist on the diskstation and the commands are executed as root.

Changed lines 124-129 from:

dd if=ds101-bootstrap_0.1-8_armeb.xsh bs=181 skip=1 of=ds101-bootstrap_0.1-8_armeb.tar.gz tar -xf ds101-bootstrap_0.1-8_armeb.tar.gz Then I issued the bootstrap.sh script which fails at some point because of conflicting /opt/libc* files, which i simply removed (rm /opt/libc*). Further conflicting libraries are /opt/lib/libpthread* and /opt/lib/libnss_files* which I removed as well. Then I was able to ipkg the packages where bootstrap.sh faild.

to:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
dd if=ds101-bootstrap_0.1-8_armeb.xsh bs=181 skip=1 of=ds101-bootstrap_0.1-8_armeb.tar.gz
tar -xf ds101-bootstrap_0.1-8_armeb.tar.gz

(:tableend:)

This creates a bootstrap directory with bootstrap.sh, bootstrap.ipk, ipkg.ipk, openssl.ipk and wget-ssl.ipk.

Issuing bootstrap.sh will fail at some point because of conflicting /opt/libc* files. Anyway, start the script and remove the libraries after the script has failed:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
sh bootstrap.sh
rm /opt/lib/libc*

(:tableend:)

Then install the other ipkg-files:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
ipkg install openssl.ipkg
ipkg install wget-ssl.ipkg

(:tableend:)

Finally create the file /opt/etc/ipkg/cross-feed.conf with the following contents (one line):

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
src/gz cross http://ipkg.nslu2-linux.org/feeds/optware/ds101/cross/stable

(:tableend:)

Now ipkg should behave normally.

N.B. You might want to read the bootstrap.sh script to see if I forgot something here. Plus, I had more conflicting libraries which are /opt/lib/libpthread* and /opt/lib/libnss_files*. I removed these as well.

March 30, 2006, at 07:25 PM by flipflip -- bootstrapping on a ds101j
Added lines 116-127:

flipflip adds: Bootstrapping on a DS101j? (Firmware 2.0.1 - 3.0281) I had to manually install the package since there were issues with system libraries. The following assumes that the bootstrap file ist on the diskstation and the commands are executed as root. Extraction of the tarball and the files within from the bootstrap file: dd if=ds101-bootstrap_0.1-8_armeb.xsh bs=181 skip=1 of=ds101-bootstrap_0.1-8_armeb.tar.gz tar -xf ds101-bootstrap_0.1-8_armeb.tar.gz Then I issued the bootstrap.sh script which fails at some point because of conflicting /opt/libc* files, which i simply removed (rm /opt/libc*). Further conflicting libraries are /opt/lib/libpthread* and /opt/lib/libnss_files* which I removed as well. Then I was able to ipkg the packages where bootstrap.sh faild.

February 18, 2006, at 06:35 AM by repvik --
Changed lines 3-5 from:

Warning: This does not work on DS-101j (version GLIBC 2.1.1, 2.2.3 and 2.2 not found).

to:

Warning: This does not work on DS-101j (version GLIBC 2.1.1, 2.2.3 and 2.2 not found).
There is work in progress getting the DS-101j bootstrap working!

February 13, 2006, at 12:58 AM by flops --
Changed lines 3-5 from:
to:

Warning: This does not work on DS-101j (version GLIBC 2.1.1, 2.2.3 and 2.2 not found).

September 14, 2005, at 10:44 PM by mma --
Changed lines 108-109 from:

10. the script finally creates /opt/etc/ipkg/cross-feed.conf pointing to the nslu2 ipkg feed

to:

10. the script finally creates /opt/etc/ipkg/cross-feed.conf pointing to the DS-101(g+) ipkg feed

September 14, 2005, at 10:42 PM by mma --
Changed lines 76-82 from:

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform
to:
September 13, 2005, at 04:37 PM by mma -- refer to the ipkg howto
Changed lines 17-18 from:
 $ chmod a+x ds101-bootstrap_0.1-*.xsh
 $ ./ds101-bootstrap_0.1-*.xsh (* is either armeb or powerpc)
to:
 $ sh ds101-bootstrap_0.1-*.xsh (* is either armeb or powerpc)
Changed lines 21-22 from:

After the installation, call ipkg update and start installing optware packages...

to:

After the installation, call ipkg update and start installing optware packages. Refer to "How To use ipkg" for more details on how ipkg works.

Changed line 58 from:
  optware/ds101/builds/ds101-bootstrap_0.1-4_armeb.xsh
to:
  optware/ds101/builds/ds101-bootstrap_0.1-8_armeb.xsh
Changed line 60 from:
  optware/ds101g/builds/ds101-bootstrap_0.1-4_powerpc.xsh
to:
  optware/ds101g/builds/ds101-bootstrap_0.1-8_powerpc.xsh
Changed line 70 from:
 $ sh ds101-bootstrap_0.1-4_*.xsh (* is either armeb or powerpc)
to:
 $ sh ds101-bootstrap_0.1-8_*.xsh (* is either armeb or powerpc)
September 13, 2005, at 11:37 AM by eriktargmailcom -- added the chmod statement to make sure the script runs
Added line 17:
 $ chmod a+x ds101-bootstrap_0.1-*.xsh
September 11, 2005, at 04:21 PM by repvik --
Changed line 8 from:

Download ds101-bootstrap_0.1-8_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-6_powerpc.xsh (for the DS-101g+).

to:

Download ds101-bootstrap_0.1-8_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-8_powerpc.xsh (for the DS-101g+).

September 11, 2005, at 04:10 PM by repvik --
Changed line 8 from:

Download ds101-bootstrap_0.1-6_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-6_powerpc.xsh (for the DS-101g+).

to:

Download ds101-bootstrap_0.1-8_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-6_powerpc.xsh (for the DS-101g+).

September 09, 2005, at 05:58 PM by repvik --
Changed line 8 from:

Download ds101-bootstrap_0.1-6_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-4_powerpc.xsh (for the DS-101g+).

to:

Download ds101-bootstrap_0.1-6_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-6_powerpc.xsh (for the DS-101g+).

September 09, 2005, at 05:49 PM by repvik --
Changed line 17 from:
 $ sh ds101-bootstrap_0.1-4_*.xsh (* is either armeb or powerpc)
to:
 $ ./ds101-bootstrap_0.1-*.xsh (* is either armeb or powerpc)
September 09, 2005, at 05:48 PM by repvik --
Changed lines 8-9 from:

Only the PowerPC image works right now (For the DS-101G+) Download ds101-bootstrap_0.1-4_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-4_powerpc.xsh (for the DS-101g+).

to:

Download ds101-bootstrap_0.1-6_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-4_powerpc.xsh (for the DS-101g+).

September 08, 2005, at 08:19 PM by mma --
Changed line 84 from:

What the xsh script actually does

to:

What the xsh script actually does

Changed lines 88-94 from:
  * bootstrap.sh - shell script that does the actual setup/installation
  * ipk.sh - shell script version of the Itsy Package Manager
  * bootstrap.ipk - ipk containing missing glibc libraries
  * ipkg.ipk - the binary version of ipkg
  * wget-ssl - required by ipkg to fetch packages from the net
  * openssl.ipk - openssl (required by wget-ssl)
to:
  • bootstrap.sh - shell script that does the actual setup/installation
  • ipkg.sh - shell script version of the Itsy Package Manager
  • bootstrap.ipk - ipk containing missing glibc libraries
  • ipkg.ipk - the binary version of ipkg
  • wget-ssl - required by ipkg to fetch packages from the net
  • openssl.ipk - openssl (required by wget-ssl)
Changed lines 102-108 from:
  * it creates  /opt and /volume1/opt directories (preinst)
  * it bind-mounts /volume1/opt to /opt (preinst)
  * it creates /opt/etc, /opt/var/lib, /opt/lib/ipkg/info and /opt/tmp (preinst)
  * it adds /opt/lib to /etc/ld.so.conf and on the g+ it also calls ldconfig (postinst)
  * it adds /opt/bin and /opt/sbin to the PATH in /etc/profile
  * it creates/modifies /etc/rc.local to bind-mount /volume1/opt and call /opt/etc/rc.optware
to:
  • it creates /opt and /volume1/opt directories (preinst)
  • it bind-mounts /volume1/opt to /opt (preinst)
  • it creates /opt/etc, /opt/var/lib, /opt/lib/ipkg/info and /opt/tmp (preinst)
  • it adds /opt/lib to /etc/ld.so.conf and on the g+ it also calls ldconfig (postinst)
  • it adds /opt/bin and /opt/sbin to the PATH in /etc/profile
  • it creates/modifies /etc/rc.local to bind-mount /volume1/opt and call /opt/etc/rc.optware
September 08, 2005, at 08:13 PM by mma -- explain the bootstrap process
Added lines 83-119:

What the xsh script actually does

1. skip the first n bytes of the script and pipe the rest of the xsh file to tar

2. tar will extract the following files to a directory 'bootstrap'

  * bootstrap.sh - shell script that does the actual setup/installation
  * ipk.sh - shell script version of the Itsy Package Manager
  * bootstrap.ipk - ipk containing missing glibc libraries
  * ipkg.ipk - the binary version of ipkg
  * wget-ssl - required by ipkg to fetch packages from the net
  * openssl.ipk - openssl (required by wget-ssl)

3. the xsh script cd's to the bootstrap dir and calls bootstrap.sh

4. bootstrap.sh sets up a temporary directory /tmp/ipkg-bootstrap for later use by ipkg.sh

5. bootstrap.sh uses ipkg.sh to install bootstrap.ipk

6. bootstrap.ipk brings the missing libraries and also set's up some config files on your box:

  * it creates  /opt and /volume1/opt directories (preinst)
  * it bind-mounts /volume1/opt to /opt (preinst)
  * it creates /opt/etc, /opt/var/lib, /opt/lib/ipkg/info and /opt/tmp (preinst)
  * it adds /opt/lib to /etc/ld.so.conf and on the g+ it also calls ldconfig (postinst)
  * it adds /opt/bin and /opt/sbin to the PATH in /etc/profile
  * it creates/modifies /etc/rc.local to bind-mount /volume1/opt and call /opt/etc/rc.optware

7. bootstrap.sh uses ipkg.sh to install the ipkg package (binary version)

8. bootstrap.sh removes the temporary ipkg directory (/tmp/ipkg-bootstrap) since it can now use the ipkg version installed in step 7.

9. bootstrap.sh installs openssl.ipk and wget-ssl.ipk

10. the script finally creates /opt/etc/ipkg/cross-feed.conf pointing to the nslu2 ipkg feed

11. the bootstrap script returns

12. the xsh script removes the bootstrap directory and finally exec's the shell to activate changes in /etc/profile

September 05, 2005, at 01:33 PM by repvik --
Changed lines 8-9 from:

Download ds101-bootstrap_0.1-4_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-4_powerpc.xsh (for the DS-101g+).

to:

Only the PowerPC image works right now (For the DS-101G+) Download ds101-bootstrap_0.1-4_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-4_powerpc.xsh (for the DS-101g+).

September 04, 2005, at 02:28 AM by repvik -- change to use Master Makefile
Changed line 31 from:

1. Checkout the unslung project:

to:

1. Checkout the sources:

Changed lines 35-37 from:

$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nslu co unslung

to:

$ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101 or $ wget http://www.nslu2-linux.org/Makefile ; make optware-ds101g

Deleted lines 40-45:

2. Change OPTWARE_TARGET

Change to the unslung directory checked out in step 1 and edit the Makefile. Set the Variable OPTWARE_TARGET to ds101 or ds101g depending on which ds101 you have.

3. Build the toolchain and ipkg-utils

Changed lines 44-46 from:

$ make directories $ make ipkg-utils $ make crosstool

to:

$ cd optware/ds101 (or optware/ds101g) $ make ipkg-ipk $ make ds101-bootstrap-xsh

Changed lines 51-58 from:

4. Build ipkg and the bootstrap self-extracting archive

This will produce a self-extracting archive containing the packages required:

  • ds101-bootstrap: A package containing GLIBC libraries that are missing on the DS-101(g+)
  • ipkg: The itsy package manager
  • wget-ssl: non-interactive network downloader, used by ipkg
  • openssl: required by wget-ssl.
to:

2. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

Changed lines 58-59 from:

$ make ipkg-ipk $ make ds101-bootstrap-xsh

to:
  optware/ds101/builds/ds101-bootstrap_0.1-4_armeb.xsh

or

  optware/ds101g/builds/ds101-bootstrap_0.1-4_powerpc.xsh
Changed lines 64-68 from:

5. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

to:

6. Install

Changed lines 68-70 from:
  builds/ds101-bootstrap_0.1-4_*.xsh (* is either armeb or powerpc)
to:
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-4_*.xsh (* is either armeb or powerpc)
Deleted lines 73-82:

6. Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-4_*.xsh (* is either armeb or powerpc)

(:tableend:)

September 03, 2005, at 11:21 PM by repvik --
Changed line 17 from:
 $ sh ds101-bootstrap_0.1-2_*.shx (* is either armeb or powerpc)
to:
 $ sh ds101-bootstrap_0.1-4_*.xsh (* is either armeb or powerpc)
Changed line 67 from:

$ make ds101-bootstrap-xtar

to:

$ make ds101-bootstrap-xsh

Changed line 79 from:
  builds/ds101-bootstrap_0.1-1_*.sh (* is either armeb or powerpc)
to:
  builds/ds101-bootstrap_0.1-4_*.xsh (* is either armeb or powerpc)
Changed line 89 from:
 $ sh ds101-bootstrap_0.1-1_*.sh (* is either armeb or powerpc)
to:
 $ sh ds101-bootstrap_0.1-4_*.xsh (* is either armeb or powerpc)
September 03, 2005, at 11:20 PM by mma --
Changed lines 21-22 from:

After the installation log-out and log-in to your DS-101(g+) or prepend "/opt/bin:/opt/sbin" to your current PATH variable.

to:

After the installation, call ipkg update and start installing optware packages...

Changed lines 92-93 from:

After the installation log-out and log-in to your DS-101(g+) or prepend "/opt/bin:/opt/sbin" to your current PATH variable.

to:

After the installation, call ipkg update and start installing optware packages...

September 03, 2005, at 11:19 PM by repvik --
Changed line 8 from:

Download ds101-bootstrap_0.1-4_armeb.shx (for the DS-101) or ds101-bootstrap_0.1-4_powerpc.shx (for the DS-101g+).

to:

Download ds101-bootstrap_0.1-4_armeb.xsh (for the DS-101) or ds101-bootstrap_0.1-4_powerpc.xsh (for the DS-101g+).

September 03, 2005, at 11:17 PM by repvik --
Changed line 8 from:

Download ds101-bootstrap_0.1-3_armeb.shx (for the DS-101) or ds101-bootstrap_0.1-3_powerpc.shx (for the DS-101g+).

to:

Download ds101-bootstrap_0.1-4_armeb.shx (for the DS-101) or ds101-bootstrap_0.1-4_powerpc.shx (for the DS-101g+).

September 03, 2005, at 10:48 PM by repvik --
Changed line 8 from:

Download ds101-bootstrap_0.1-2_armeb.shx (for the DS-101) or ds101-bootstrap_0.1-2_powerpc.shx (for the DS-101g+).

to:

Download ds101-bootstrap_0.1-3_armeb.shx (for the DS-101) or ds101-bootstrap_0.1-3_powerpc.shx (for the DS-101g+).

September 03, 2005, at 10:47 PM by repvik --
Changed line 8 from:

Download ds101-bootstrap_0.1-2_armeb.shx (for the DS-101) or ds101-bootstrap_0.1-2_powerpc.shx (for the DS-101g+).

to:

Download ds101-bootstrap_0.1-2_armeb.shx (for the DS-101) or ds101-bootstrap_0.1-2_powerpc.shx (for the DS-101g+).

September 03, 2005, at 10:11 PM by mma --
Changed lines 1-3 from:

This document describes the necessary steps to prepare the DS-101(g) for later ipk-package installation, so that you can install packages from the feed by doing ipkg install <packagename>

to:

This document describes the necessary steps to prepare the DS-101(g+) for later ipk-package installation, so that you can install packages from the feed by doing ipkg install <packagename>

Changed lines 7-8 from:

Option 1: Download the script:

Download http://www.ds101-linux.org/files/ds101/ds101-bootstrap_0.1-2_armeb.shx (For ds101) or http://www.ds101-linux.org/files/ds101g/ds101-bootstrap_0.1-2_powerpc.shx (For ds101g).

to:

Option 1: Download the bootstrap script:

Download ds101-bootstrap_0.1-2_armeb.shx (for the DS-101) or ds101-bootstrap_0.1-2_powerpc.shx (for the DS-101g+).

September 03, 2005, at 10:06 PM by repvik --
Changed lines 1-3 from:

At the time of this writing, no package feed for the DS-101(g+) exists, this means that you have to build packages yourself. This document describes the necessary steps to prepare the DS-101(g) for later ipk-package installation.

to:

This document describes the necessary steps to prepare the DS-101(g) for later ipk-package installation, so that you can install packages from the feed by doing ipkg install <packagename>

September 03, 2005, at 10:05 PM by repvik --
Changed lines 7-9 from:

Option 1: Build from source

1. Checkout the unslung project:

to:

Option 1: Download the script:

Download http://www.ds101-linux.org/files/ds101/ds101-bootstrap_0.1-2_armeb.shx (For ds101) or http://www.ds101-linux.org/files/ds101g/ds101-bootstrap_0.1-2_powerpc.shx (For ds101g). Place the script in the public share, either through smbfs or ftp.

Install

Changed lines 15-17 from:

$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nslu co unslung

to:
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-2_*.shx (* is either armeb or powerpc)
Changed lines 21-26 from:

2. Change OPTWARE_TARGET

Change to the unslung directory checked out in step 1 and edit the Makefile. Set the Variable OPTWARE_TARGET to ds101 or ds101g depending on which ds101 you have.

3. Build the toolchain and ipkg-utils

to:

After the installation log-out and log-in to your DS-101(g+) or prepend "/opt/bin:/opt/sbin" to your current PATH variable.

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform

Option 2: Build from source

1. Checkout the unslung project:

Changed lines 35-37 from:

$ make directories $ make ipkg-utils $ make crosstool

to:

$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nslu co unslung

Changed lines 40-47 from:

4. Build ipkg and the bootstrap self-extracting archive

This will produce a self-extracting archive containing the packages required:

  • ds101-bootstrap: A package containing GLIBC libraries that are missing on the DS-101(g+)
  • ipkg: The itsy package manager
  • wget-ssl: non-interactive network downloader, used by ipkg
  • openssl: required by wget-ssl.
to:

2. Change OPTWARE_TARGET

Change to the unslung directory checked out in step 1 and edit the Makefile. Set the Variable OPTWARE_TARGET to ds101 or ds101g depending on which ds101 you have.

3. Build the toolchain and ipkg-utils

Changed lines 48-49 from:

$ make ipkg-ipk $ make ds101-bootstrap-xtar

to:

$ make directories $ make ipkg-utils $ make crosstool

Changed lines 55-58 from:

5. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

to:

4. Build ipkg and the bootstrap self-extracting archive

This will produce a self-extracting archive containing the packages required:

  • ds101-bootstrap: A package containing GLIBC libraries that are missing on the DS-101(g+)
  • ipkg: The itsy package manager
  • wget-ssl: non-interactive network downloader, used by ipkg
  • openssl: required by wget-ssl.
Changed lines 66-67 from:
  builds/ds101-bootstrap_0.1-1_*.sh (* is either armeb or powerpc)
to:

$ make ipkg-ipk $ make ds101-bootstrap-xtar

Changed lines 71-75 from:

6. Install

to:

5. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

Changed lines 79-81 from:
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-1_*.sh (* is either armeb or powerpc)
to:
  builds/ds101-bootstrap_0.1-1_*.sh (* is either armeb or powerpc)
Added lines 82-91:

6. Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-1_*.sh (* is either armeb or powerpc)

(:tableend:)

Deleted lines 99-120:

Option 2: Download the script:

Download http://www.ds101-linux.org/files/ds101/ds101-bootstrap_0.1-2_armeb.shx (For ds101) or http://www.ds101-linux.org/files/ds101g/ds101-bootstrap_0.1-2_powerpc.shx (For ds101g). Place the script in the public share, either through smbfs or ftp.

Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-2_*.shx (* is either armeb or powerpc)

(:tableend:)

After the installation log-out and log-in to your DS-101(g+) or prepend "/opt/bin:/opt/sbin" to your current PATH variable.

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform
September 03, 2005, at 10:03 PM by repvik --
Changed line 79 from:

Download http://www.ds101-linux.org/files/ds101/ds101-bootstrap_0.1-2_armeb.sh (For ds101) or http://www.ds101-linux.org/files/ds101g/ds101-bootstrap_0.1-2_powerpc.sh (For ds101g).

to:

Download http://www.ds101-linux.org/files/ds101/ds101-bootstrap_0.1-2_armeb.shx (For ds101) or http://www.ds101-linux.org/files/ds101g/ds101-bootstrap_0.1-2_powerpc.shx (For ds101g).

Changed line 88 from:
 $ sh ds101-bootstrap_0.1-2_*.sh (* is either armeb or powerpc)
to:
 $ sh ds101-bootstrap_0.1-2_*.shx (* is either armeb or powerpc)
September 03, 2005, at 10:00 PM by repvik --
Added lines 7-8:

Option 1: Build from source

Added lines 77-99:

Option 2: Download the script:

Download http://www.ds101-linux.org/files/ds101/ds101-bootstrap_0.1-2_armeb.sh (For ds101) or http://www.ds101-linux.org/files/ds101g/ds101-bootstrap_0.1-2_powerpc.sh (For ds101g). Place the script in the public share, either through smbfs or ftp.

Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh ds101-bootstrap_0.1-2_*.sh (* is either armeb or powerpc)

(:tableend:)

After the installation log-out and log-in to your DS-101(g+) or prepend "/opt/bin:/opt/sbin" to your current PATH variable.

Files modified by the ds101-bootstrap install scripts:

  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform
September 03, 2005, at 02:08 PM by mma -- building the toolchain for the g+ no longer faults
Changed lines 30-32 from:

If make crosstool complains about not being able to build "hello.c": Just ignore it.

to:
September 02, 2005, at 04:46 PM by mma --
Changed lines 33-34 from:

4. Build ipkg and the bootstrap package

This will produce two ipkg packages for the DS-101(g+):

to:

4. Build ipkg and the bootstrap self-extracting archive

This will produce a self-extracting archive containing the packages required:

Changed lines 37-40 from:
to:
  • wget-ssl: non-interactive network downloader, used by ipkg
  • openssl: required by wget-ssl.
Changed lines 50-52 from:

5. Copy the package to your DS-101(g+) public share.

You might use ftp for transfering the files or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

to:

5. Copy the self-extracting archive to your DS-101(g+) public share.

You might use ftp for transfering the file or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

Changed lines 70-72 from:

Files modified by the ds101-bootstrap pre- and postinst script:

to:

After the installation log-out and log-in to your DS-101(g+) or prepend "/opt/bin:/opt/sbin" to your current PATH variable.

Files modified by the ds101-bootstrap install scripts:

Changed line 76 from:
to:
  • /opt/etc/ipkg/cross-feed.conf: ipkg feed for your platform
September 02, 2005, at 09:55 AM by mma -- self-extracting tar file
Changed lines 1-3 from:

At the time of this writing, no package feed for the DS-101(g) exists, this means that you have to build packages yourself. This document describes the necessary steps to prepare the DS-101(g) for later ipk-package installation.

to:

At the time of this writing, no package feed for the DS-101(g+) exists, this means that you have to build packages yourself. This document describes the necessary steps to prepare the DS-101(g) for later ipk-package installation.

Changed lines 5-6 from:

Make sure that you have enabled telnet on the DS-101(g) as described here.

to:

Make sure that you have enabled telnet on the DS-101(g+) as described here.

Changed lines 34-35 from:

This will produce two ipkg packages for the DS-101:

  • ds101-bootstrap: A package containing GLIBC libraries that are missing on the DS-101(g)
to:

This will produce two ipkg packages for the DS-101(g+):

  • ds101-bootstrap: A package containing GLIBC libraries that are missing on the DS-101(g+)
Changed line 42 from:

$ make ds101-bootstrap ds101-bootstrap-ipk

to:

$ make ds101-bootstrap-xtar

Changed lines 47-49 from:

5. Copy the packages to your DS-101(g) public share.

You might use ftp for transfering the files or mount the public share using smbfs. The following files must be copied to the DS-101:

to:

5. Copy the package to your DS-101(g+) public share.

You might use ftp for transfering the files or mount the public share using smbfs. The following file must be copied to the DS-101(g+):

Changed lines 54-57 from:
  builds/ds101-bootstrap_0.1-1_*.ipk (* is either armeb or powerpc)
  builds/ipkg_0.99-148-1_*.ipk
  sources/ds101-bootstrap/bootstrap.sh
  sources/ds101-bootstrap/ipkg.sh
to:
  builds/ds101-bootstrap_0.1-1_*.sh (* is either armeb or powerpc)
Changed line 64 from:
 $ sh bootstrap.sh
to:
 $ sh ds101-bootstrap_0.1-1_*.sh (* is either armeb or powerpc)
Changed line 70 from:
  • /etc/rc.local: Mount /opt at bootup
to:
  • /etc/rc.local: Mount /opt at bootup, call /opt/etc/rc.optware if present
Deleted lines 73-74:

Please note that init-scripts (/opt/etc/init.d/*) provided by optware-packages will not yet be started on boot. Therefore you must start those services manually.

September 02, 2005, at 07:42 AM by repvik --
Changed line 42 from:

$ make ds101-bootstrap

to:

$ make ds101-bootstrap ds101-bootstrap-ipk

September 02, 2005, at 07:31 AM by repvik --
Changed line 42 from:

$ make ds101-bootstrap.mk

to:

$ make ds101-bootstrap

September 02, 2005, at 06:59 AM by repvik --
Changed lines 1-3 from:

At the time of this writing, no package feed for the DS-101 exists, this means that you have to build packages yourself. This document describes the necessary steps to prepare the DS-101 for later ipk-package installation.

to:

At the time of this writing, no package feed for the DS-101(g) exists, this means that you have to build packages yourself. This document describes the necessary steps to prepare the DS-101(g) for later ipk-package installation.

Changed lines 5-6 from:

Make sure that you have enabled telnet on the DS-101 as described here.

to:

Make sure that you have enabled telnet on the DS-101(g) as described here.

Changed lines 17-19 from:

Change to the unslung directory checked out in step 1 and edit the Makefile. Set the Variable OPTWARE_TARGET to ds101.

to:

Change to the unslung directory checked out in step 1 and edit the Makefile. Set the Variable OPTWARE_TARGET to ds101 or ds101g depending on which ds101 you have.

Changed line 35 from:
  • ds101-bootstrap: A package containing GLIBC libraries that are missing on the DS-101g+
to:
  • ds101-bootstrap: A package containing GLIBC libraries that are missing on the DS-101(g)
Changed lines 47-48 from:

5. Copy the packages to your DS-101g+ public share.

to:

5. Copy the packages to your DS-101(g) public share.

Changed lines 54-55 from:
  builds/ds101-bootstrap_0.1-1_armeb.ipk
  builds/ipkg_0.99-148-1_armeb.ipk
to:
  builds/ds101-bootstrap_0.1-1_*.ipk (* is either armeb or powerpc)
  builds/ipkg_0.99-148-1_*.ipk
September 02, 2005, at 06:52 AM by repvik --
Changed lines 54-55 from:
  builds/ds101-bootstrap_0.1-1_powerpc.ipk
  builds/ipkg_0.99-148-1_powerpc.ipk
to:
  builds/ds101-bootstrap_0.1-1_armeb.ipk
  builds/ipkg_0.99-148-1_armeb.ipk
September 02, 2005, at 06:52 AM by repvik --
Added lines 1-78:

At the time of this writing, no package feed for the DS-101 exists, this means that you have to build packages yourself. This document describes the necessary steps to prepare the DS-101 for later ipk-package installation.

Prerequisites

Make sure that you have enabled telnet on the DS-101 as described here.

1. Checkout the unslung project:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/nslu co unslung

(:tableend:)

2. Change OPTWARE_TARGET

Change to the unslung directory checked out in step 1 and edit the Makefile. Set the Variable OPTWARE_TARGET to ds101.

3. Build the toolchain and ipkg-utils

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ make directories
$ make ipkg-utils
$ make crosstool

(:tableend:)

If make crosstool complains about not being able to build "hello.c": Just ignore it.

4. Build ipkg and the bootstrap package

This will produce two ipkg packages for the DS-101:

  • ds101-bootstrap: A package containing GLIBC libraries that are missing on the DS-101g+
  • ipkg: The itsy package manager

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
$ make ipkg-ipk
$ make ds101-bootstrap.mk

(:tableend:)

5. Copy the packages to your DS-101g+ public share.

You might use ftp for transfering the files or mount the public share using smbfs. The following files must be copied to the DS-101:

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
  builds/ds101-bootstrap_0.1-1_powerpc.ipk
  builds/ipkg_0.99-148-1_powerpc.ipk
  sources/ds101-bootstrap/bootstrap.sh
  sources/ds101-bootstrap/ipkg.sh

(:tableend:)

6. Install

(:table border=0 width=100% bgcolor=#eeeeff:) (:cell:)

 
 $ telnet <hostname-or-ip-of-ds-101>
 $ cd /volume1/public
 $ sh bootstrap.sh

(:tableend:)

Files modified by the ds101-bootstrap pre- and postinst script:

  • /etc/rc.local: Mount /opt at bootup
  • /etc/profile: add /opt/bin and /opt/sbin to the PATH
  • /etc/ld.so.conf: add /opt/lib to the dynamic linker configuration

Please note that init-scripts (/opt/etc/init.d/*) provided by optware-packages will not yet be started on boot. Therefore you must start those services manually.