Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0, 3.1

Discussion Room for Legacy Disk/Cube/Rack Station from the x01/x06 Series.

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby chips » Mon Jun 13, 2011 5:57 pm

I want to enable eSATA to the DS 106e having just upgraded firmware DSM_DS-108j_1594 pat . How do I copy the code from DS107 firmware? Do I just write the above code?


Got it sorted by installing DSM3.1-1613.

chips
chips
I'm New!
I'm New!
 
Posts: 8
Joined: Tue Jun 29, 2010 3:56 pm

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby HarryPotter » Mon Jun 13, 2011 5:59 pm

@goetz: what about the 1742 for a DS207+?
*Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!*

DS712+ / DSM 4.2 3211 / 2 x HD204UI (RAID0) / LMS 7.7.2-007
DS110+ / DSM 4.2 3211 / HD154UI
DS408 / DSM 4.0 2228 / 3 x ST31000340AS (RAID0) + 1 x HDS721010KLA330
DS207+ / DSM 3.1.1636 / ST31000340AS + WD5000KS
DS-106x / DSM 4.0 2228 (from DS108j) /

2 Squeezebox 3 + Boom
Rapsody N35

APC Smart UPS SUA750i
User avatar
HarryPotter
Honorary Moderator
Honorary Moderator
 
Posts: 12326
Joined: Mon Oct 23, 2006 12:48 pm
Location: Switzerland

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby goetz » Mon Jun 13, 2011 9:43 pm

Hi,
you have to extract latest DS107 .pat file. For that I use totalcommander. Than copy files to your DS, public directory. After that, login as root and
Code: Select all
cp /volume1/public/pci.* /usr/syno/hotplug
cp -r /volume1/public/pci /usr/syno/hotplug.d


Regards Goetz
DS-209+II / DSM 3.1-1742 /2x 2TB Seagate Constellation ES
DS-107+ / DSM 3.1-1613 / Samsung HD103UI
DS-106 / DSM 3.1-1742 (from 108j) / Hitachi HDP72505
eTrayZ / Samsung HD103SI
goetz
Knowledgeable
Knowledgeable
 
Posts: 336
Joined: Wed Mar 18, 2009 10:05 pm
Location: Berlin, Germany

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby goetz » Tue Jun 14, 2011 10:34 pm

Hi,
HarryPotter wrote:@goetz: what about the 1742 for a DS207+?

I think there is no chance.
DS-107+
Code: Select all
DS-107plus> file /usr/sbin/showmount
/usr/sbin/showmount: ELF 32-bit LSB executable, ARM, version 1, dynamically linked (uses shared libs), for GNU/Linux 2.4.3, stripped

binary from DS109 on DS-107+
Code: Select all
DS-107plus> file /volume1/public/showmount
/volume1/public/showmount: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, stripped

and
Code: Select all
DS-107plus> /volume1/public/showmount
-ash: /volume1/public/showmount: not found


Regards Goetz
DS-209+II / DSM 3.1-1742 /2x 2TB Seagate Constellation ES
DS-107+ / DSM 3.1-1613 / Samsung HD103UI
DS-106 / DSM 3.1-1742 (from 108j) / Hitachi HDP72505
eTrayZ / Samsung HD103SI
goetz
Knowledgeable
Knowledgeable
 
Posts: 336
Joined: Wed Mar 18, 2009 10:05 pm
Location: Berlin, Germany

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby HarryPotter » Wed Jun 15, 2011 6:30 pm

Too bad, thanks anyway.
*Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!*

DS712+ / DSM 4.2 3211 / 2 x HD204UI (RAID0) / LMS 7.7.2-007
DS110+ / DSM 4.2 3211 / HD154UI
DS408 / DSM 4.0 2228 / 3 x ST31000340AS (RAID0) + 1 x HDS721010KLA330
DS207+ / DSM 3.1.1636 / ST31000340AS + WD5000KS
DS-106x / DSM 4.0 2228 (from DS108j) /

2 Squeezebox 3 + Boom
Rapsody N35

APC Smart UPS SUA750i
User avatar
HarryPotter
Honorary Moderator
Honorary Moderator
 
Posts: 12326
Joined: Mon Oct 23, 2006 12:48 pm
Location: Switzerland

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby Druid » Fri Jun 17, 2011 10:21 am

Hi Goetz & all who have actively contributed to this post.

Firstly this is one of the most imformative posts I've had the pleasure in digesting, thanks for all the hard work performed by you and others. It gives me hope for the going forward and updating my DS.

Apologies if the history is boring but:

I bought my DS a second hand DS-106e about a year ago. I use a facility that utilises OpenSSH and after modding the DS bootstrap have installed it with ipkg, all been working ok no problems. I have now a need to install OpenVPN and it seems that the only way I can successfuly install the required modules i.e. a virtual network driver called TUN.KO is to have a DSM version 2.3 or higher, (research on these forums indicate the TUN.KO should be included?).

Typically OpenVPN as it stands currently is not supported on the DS-106e, (I had that from Synology who politely say that "I am on my own" :( ) The installation of OpenVPN currently fails as a result of the missing module and it may only be this missing module that it is failing on, but can I get one :?: NO :!: see my post if you want to know a bit more: http://forum.synology.com/enu/viewtopic.php?f=36&t=38085.

I've read this modding post from start to finish and though feel slighlty apprehensive modding the DS to this level, I must say confidence is growing :D

SO my options I am contemplating are:

Taking the FW to DSM 2.3 and with the mod route as depicted here use the supported firmware of a DS-107 in the hope that a TUN.KO module becomes available within the .pat

OR

Taking the firmware to DSM 3.1 and install "OpenVPN Center"

A couple of questions if you don't mind :?:

1) Do I need to upgrade the FW in stages or is there a chance I can go straight to DSM 2.3 :?:
(circa page 9 of this post depict synoinfo.conf changes that are required to be made)
2) Can I keep the current setup of my DS without setting it back to factory defaults, then upgrade the FW :?:
3) If anyone has updated their DS-106e FW do they have the TUN.KO which I'm hoping is compiledc they could possibly send to me :?:

With kind regards & thanks
User avatar
Druid
Trainee
Trainee
 
Posts: 10
Joined: Sat Jun 11, 2011 5:17 pm

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby goetz » Fri Jun 17, 2011 12:20 pm

Hi,
there is no OpenVPN-Center package for old powerpc devices (DS108j/109j). tun.o comes with DSM 2.3, so you have to upgrade. First of all check the size and free space of your systempartition (df).

Regards Goetz
DS-209+II / DSM 3.1-1742 /2x 2TB Seagate Constellation ES
DS-107+ / DSM 3.1-1613 / Samsung HD103UI
DS-106 / DSM 3.1-1742 (from 108j) / Hitachi HDP72505
eTrayZ / Samsung HD103SI
goetz
Knowledgeable
Knowledgeable
 
Posts: 336
Joined: Wed Mar 18, 2009 10:05 pm
Location: Berlin, Germany

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby Druid » Fri Jun 17, 2011 3:37 pm

Hi Goetz,

Thanks for your quick response & advice I'll set about upgrading the DS FW.

With kind regards & thank you

Jon
User avatar
Druid
Trainee
Trainee
 
Posts: 10
Joined: Sat Jun 11, 2011 5:17 pm

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby Druid » Fri Jun 17, 2011 4:09 pm

Hello again Geotz,

My apologies, I forgot to mention that I have 2.1G space left on /dev/hda1. I'm a bit slow at this, I'm a Windoze user by default and still finding my feet around a linux kernel, but after 'telnet' in as 'root' 'df -h' reported the aforementioned. I hope 2.1G is enough to accommodate an upgrade to DSM 2.3.

P.S - should I take the FW upgrade in stages? or can I go straight to 2.3 (already have all the applicable FW revisions, common sense seems to be telling me 'In stages' :!: )

Regards

Jon
User avatar
Druid
Trainee
Trainee
 
Posts: 10
Joined: Sat Jun 11, 2011 5:17 pm

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby goetz » Fri Jun 17, 2011 8:25 pm

Hi,
DSM release notes:
Version: DSM 2.3-1139
(2010/03/08)
This firmware can only be applied to DiskStation with DSM 2.1 or DSM 2.2 firmware.

so you have to install first 0959.

Regards Goetz
DS-209+II / DSM 3.1-1742 /2x 2TB Seagate Constellation ES
DS-107+ / DSM 3.1-1613 / Samsung HD103UI
DS-106 / DSM 3.1-1742 (from 108j) / Hitachi HDP72505
eTrayZ / Samsung HD103SI
goetz
Knowledgeable
Knowledgeable
 
Posts: 336
Joined: Wed Mar 18, 2009 10:05 pm
Location: Berlin, Germany

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby Druid » Sat Jun 18, 2011 4:19 pm

Hi,

I've gone through the motions and updated my DS-106e to a final DSM version of 2.3 all has initially appeared to have gone well (many thanks to all those who made this possible :wink:)

I changed back the settings needed to be made in the synoinfo.conf as instructed.

To begin with, I couldn't gain access to the DS either via the web UI or via telnet/ssh I had to reset the password to regain access. Also and the problem that remains is:

When restarting the DS the GREEN status & Lan lights are green but the BLUE power light flashes. I have found that I need to physically power down the DS then restart this way in order to regain communication with it.

My question is: Is this something that I will have to just put up with or is there an additional step I need to complete in order to remedy this problem :?:

Kind regards & thanks
User avatar
Druid
Trainee
Trainee
 
Posts: 10
Joined: Sat Jun 11, 2011 5:17 pm

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby maxxfi » Sat Jun 18, 2011 6:36 pm

@Druid
do you have ipkg activated on your system?
If so, you may need to change the /etc/rc.local in order to mount /opt
with the 'bind' option (search old threads about ipkg and mount bind option)
DS-411 (DSM 4.2-3202) w/ 2x WD10EFRX + 1x HD154UI
DS-106j (DSM 3.0-1357), PATA-to-SATA adapter, 2.5" HM250HI
User avatar
maxxfi
Architect
Architect
 
Posts: 4317
Joined: Sun Dec 27, 2009 12:13 pm
Location: Espoo, Finland

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby Druid » Sun Jun 19, 2011 1:21 pm

Hi Maxxfi,

I do have ipkg installed, (I used to install OpenSSH & OpenVPN). I'm not familiar with the 'mount /opt with bind but I searched and found this:

http://forum.synology.com/enu/viewtopic.php?f=7&t=28990&p=114895&hilit=ipkg+mount+bind#p114895

which in turn led to:

http://forum.synology.com/enu/viewtopic.php?f=158&t=25154#p101001. This seems to be very close to what my DS is experiencing. I followed the steps as indicated in the post.

When I finally rebooted, the DS came back online but I have now lost IPKG, OpenSSH and OpenVPN, (the removal of the /opt directory seems to have taken care of this :evil: ) I assume, quite anoyingly that I will have to reinstall these packages or would the same reboot problem occur in if I do?

Regards

Jon
User avatar
Druid
Trainee
Trainee
 
Posts: 10
Joined: Sat Jun 11, 2011 5:17 pm

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby maxxfi » Sun Jun 19, 2011 2:11 pm

So, did you have the line
Code: Select all
[ -e /volume1/opt ] && mount -o bind /volume1/opt /opt

in your original /etc/rc.local ?

If so, and you now moved to the symlink (i.e what the
"ln -s /volume1/opt /opt" is about) then after rebooting
you should be able to have ipkg running.

If you haven't run any "rm -rf /opt" I think your packages are still there.
Can you please show the output of:
- "df -k" (to verify that /opt is not mounted)
- "ls -al /" (to verify that /opt symlink is there)
- "ls -al /volume1/opt" (this command of the next one will fail, it's normal)
- "ls -al /volume1/@optware"
- "cat /etc/rc.local" (to verify how ipkg gets activated)
DS-411 (DSM 4.2-3202) w/ 2x WD10EFRX + 1x HD154UI
DS-106j (DSM 3.0-1357), PATA-to-SATA adapter, 2.5" HM250HI
User avatar
maxxfi
Architect
Architect
 
Posts: 4317
Joined: Sun Dec 27, 2009 12:13 pm
Location: Espoo, Finland

Re: Build my own DSM 2.2-0959 for DS-106, update: 2.3, 3.0,

Postby Druid » Sun Jun 19, 2011 2:55 pm

Hi Maxxfi,

Thanks for your support with this. In response to your request:

I remarked the line, yes it was there:

[ -e /volume1/opt ] && mount -o bind /volume1/opt /opt

from rc.local then rebooted. Using PuTTY SSH'd in as root and interrogated as per your prevous post.

df -k returned:

Code: Select all
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/hda1              2450928    384368   2041660  16% /
/tmp                     15100       588     14512   4% /tmp
/dev/hda3            477627796 198147276 279378120  41% /volume1
/dev/sda1            240362688  87044508 153215780  36% /volumeUSB1


ls -al / produced:

Code: Select all
drwxr-xr-x   21 root     root         4096 Jun 19 13:14 .
drwxr-xr-x   21 root     root         4096 Jun 19 13:14 ..
-rw-r--r--    1 root     root            3 Oct 22  2010 .mkcert.serial
-rw-------    1 root     root         1024 Oct 22  2010 .rnd
drwxr-xr-x    2 root     root         4096 Jun 18 13:30 bin
drwxr-xr-x    5 root     root        12288 Jun 18 13:30 dev
drwxr-xr-x   12 root     root         4096 Jun 19 13:13 etc
drwxr-xr-x   11 root     root         4096 Jun 18 13:24 etc.defaults
drwxr-xr-x    2 root     root         4096 Mar  3  2010 initrd
drwxr-xr-x   13 root     root        12288 Jun 18 13:30 lib
drwxr-xr-x    2 root     root         4096 Mar  3  2010 lib64
lrwxrwxrwx    1 root     root           11 Jun 18 13:22 linuxrc -> bin/busybox
drwx------    2 root     root         4096 Mar  3  2010 lost+found
drwxr-xr-x    2 root     root         4096 Mar  3  2010 mnt
dr-xr-xr-x  100 root     root            0 Jul 28  2002 proc
drwxr-xr-x    3 root     root         4096 Jun 19 13:06 root
drwxr-xr-x    2 root     root         4096 Jun 18 13:22 sbin
drwxr-xr-x    2 root     root         4096 Mar  3  2010 sys
drwxrwxrwx    7 root     root          880 Jun 19 14:35 tmp
drwxr-xr-x    7 root     root         4096 Jun 18 13:21 usr
drwxr-xr-x   11 root     root         4096 Jun 19 13:13 var
drwxr-xr-x   11 root     root         4096 Jun 18 13:24 var.defaults
drwxrwxrwx   19 root     root         4096 Jun 19 13:13 volume1
drwxr-xr-x    5 root     root         4096 Jun 18 11:42 volumeUSB1


ls -al /volume1/opt returned:

Code: Select all
drwxr-xr-x   23 root     root         4096 Jun 18 16:28 .
drwxrwxrwx   19 root     root         4096 Jun 19 13:13 ..
drwxr-xr-x    2 root     root         4096 Jun 18 15:09 bin
drwxr-xr-x   10 root     root         4096 Jun 18 15:09 etc
drwxr-xr-x    9 root     root         4096 May 16  2010 include
drwx------    2 root     root         4096 Jun 18 14:54 ipkg-6qPqvg
drwx------    2 root     root         4096 Jun 18 14:56 ipkg-R7I2jo
drwx------    2 root     root         4096 Mar 26 23:24 ipkg-RIV9nh
drwx------    2 root     root         4096 Jun 17 11:04 ipkg-bJqlFj
drwx------    2 root     root         4096 Jun 17 11:10 ipkg-i3bmag
drwx------    2 root     root         4096 Jun 18 14:54 ipkg-k5OnXb
drwx------    2 root     root         4096 Jun 18 16:27 ipkg-kBvkNm
drwx------    2 root     root         4096 Jun 17 11:09 ipkg-pZwXzZ
drwx------    2 root     root         4096 Jun 13 14:09 ipkg-pjtHPl
drwx------    2 root     root         4096 Jun 18 16:25 ipkg-xeBQn5
drwx------    2 root     root         4096 Jun 13 14:14 ipkg-z9i5DX
drwxr-xr-x   10 root     root         4096 Jun 18 15:05 lib
drwxr-xr-x    3 root     root         4096 Jun 18 14:53 libexec
drwxr-xr-x    5 root     root         4096 May 16  2010 man
drwxr-xr-x    2 root     root         4096 Jun 18 14:52 sbin
drwxr-xr-x   17 root     root         4096 May 16  2010 share
drwxr-xr-x    2 root     root         4096 Oct 30  2010 tmp
drwxr-xr-x    7 root     root         4096 May  3 14:44 var



ls -al/volume1/@optware returned:

ls: /volume1/@optware: No such file or directory

cat /etc/rc.local returned:

Code: Select all
#!/bin/sh

# Optware setup
##mkdir -p /opt
##[ -e /volume1/opt ] && mount -o bind /volume1/opt /opt
[ -x /opt/etc/rc.optware ] && /opt/etc/rc.optware
[ -e /bin/killall ] || ln -s /bin/busybox /bin/killall


I hope this all makes sense, it does seem that the packages are still present, sadly, I'm a Windoze user be default and often struggle with flavours of linux and have little expertise in recifying the problems I have created :( .

with kind regards & thanks for your help.

Jon
User avatar
Druid
Trainee
Trainee
 
Posts: 10
Joined: Sat Jun 11, 2011 5:17 pm

PreviousNext

Return to x01/x06/x07 Legacy Discussion

Who is online

Users browsing this forum: No registered users and 1 guest