Xpenology Discussion

unmesh

Standard Member
With guidance from the Kernel Hijack link posted above, I am able to get USB drives to be recognized, even if they are NTFS formatted. Also, I can enable UPS operation with my APC ES500 UPS. I should add that I have a modded BIOS.

I have not tried WOL since I wasn't sure what the microserver would be waking from, given that it does not support S3 sleep.

The only way I have been able to get hard drive hibernation to work is by pulling out the boot USB drive. I have not found a way to confirm hibernation through the console, only by touching the drive to see that it is not vibrating.

drummerjohn, can you confirm that you can get hibernation to work without having to remove the boot USB drive?

Thanks.
 

drummerjohn

Well-known Member
drummerjohn, can you confirm that you can get hibernation to work without having to remove the boot USB drive?

Thanks.

I have one Hard Drive with the DSM installed onto this. The drive span down after 10 minutes of inactivity and span back up again when I tried to access it. Never needed to remove the USB stick.
 

mike_6480

Well-known Member
With guidance from the Kernel Hijack link posted above, I am able to get USB drives to be recognized, even if they are NTFS formatted. Also, I can enable UPS operation with my APC ES500 UPS. I should add that I have a modded BIOS.

I have not tried WOL since I wasn't sure what the microserver would be waking from, given that it does not support S3 sleep.

The only way I have been able to get hard drive hibernation to work is by pulling out the boot USB drive. I have not found a way to confirm hibernation through the console, only by touching the drive to see that it is not vibrating.

drummerjohn, can you confirm that you can get hibernation to work without having to remove the boot USB drive?

Thanks.

Are you able to post a step by step guide for getting USB to work? I've seen the other post but not sure exactly what I need to do.

Thanks
Mike
 

unmesh

Standard Member
Are you able to post a step by step guide for getting USB to work? I've seen the other post but not sure exactly what I need to do.

Thanks
Mike
You need to copy all the .ko files in the zipped folder in the link on the Xpenology website to /lib/modules on your Xpenology box. Then copy the separately downloaded ohci-hcd.ko and usbcore.ko files to /lib/modules. Reboot the box and USB devices should be recognized.

I did the copying from a Windows PC to a network share that I had configured on the Xpenology box, then did a telnet to the box as root and copied the files from the shared folder to /lib/modules. There are likely other ways involving ftp and so on.

P.S.: There is a much easier method for Windows users. Download and unzip WinSCP. Double-click on winscp.exe, choose SCP as the protocol and enter the IP address of your Xpenology box. Login as root with your admin password.

You will see two panes in the window, the left one for your local machine and the right one for the NAS. Navigate to the folder(s) with the .ko files in the left one and to /lib/modules on the right and transfer the files. Then reboot the NAS.

Hope this helps.
 
Last edited:

unmesh

Standard Member
I have one Hard Drive with the DSM installed onto this. The drive span down after 10 minutes of inactivity and span back up again when I tried to access it. Never needed to remove the USB stick.
I will try waiting longer than the default 20 minutes to see if that works for me, otherwise something else is the problem.

Also, are you using a write-protected USB stick to boot from? If not, are its contents "damaged" if you try to restart from the web console so that it no longer boots? That is what happens to mine so I have to use a SDHC adapter with a write-protect switch.
 

drummerjohn

Well-known Member
I will try waiting longer than the default 20 minutes to see if that works for me, otherwise something else is the problem.

Also, are you using a write-protected USB stick to boot from? If not, are its contents "damaged" if you try to restart from the web console so that it no longer boots? That is what happens to mine so I have to use a SDHC adapter with a write-protect switch.

Using a Kingston DataTraveller 2GB USB memory stick - nothing special.

Restarted from the web console a few times without issue. Even used scheduled shutdown and wakeup fine.
 

unmesh

Standard Member
Using a Kingston DataTraveller 2GB USB memory stick - nothing special.

Restarted from the web console a few times without issue. Even used scheduled shutdown and wakeup fine.
My problems were from before the new USB drivers were installed. I should try a regular USB stick again to see if the problem went away.

The final frontier will be implementing sleep :D
 

mike_6480

Well-known Member
See attachment

Thanks for that - unfortunately it still doesn't seem to recognise my external hard drive.

Only thing I can think of is that I didn't change my MAC address (as the instructions state that you don't need to if you only have one microserver).

Unfortunately I can't access the site now to get the instructions :thumbsdow
 

unmesh

Standard Member
Thanks for that - unfortunately it still doesn't seem to recognise my external hard drive.

Only thing I can think of is that I didn't change my MAC address (as the instructions state that you don't need to if you only have one microserver).

Unfortunately I can't access the site now to get the instructions :thumbsdow
Sorry to hear that. I've changed my MAC address but that should have nothing to do with mounting a USB drive.

In any case, here is how I changed my MAC address on the USB stick:

Install Ext2Fsd drivers so that Windows can deal with EXT2 files
Plug in the USB stick; it will be mounted as a drive letter drive
Edit boot\grub\grub.conf so that it looks like the lines below; you are commenting out the cksum, vender and hw_model lines and adding your MAC address(es) and serial number

Code:
# cksum /grub_cksum.syno
# vender /vender show
# hw_model
kernel /zImage root=/dev/md0 ihd_num=0 netif_num=2 syno_hw_version=DS3612xs mac1=00113208d68b mac2=00113208d68c mac3=004d9469c492 mac4=004d9469c493 sn=B3J4N00011
initrd /rd.gz

Also, here are my BIOS settings:
Code:
Chipset -> Southbridge Configuration -> SB SATA Configuration
OnChip SATA Channel should be Enabled
OnChip IDE type = "IDE" instead of "IDE Legacy"
SATA Ports 4/5 IDE Mode to Disabled (sets port 5 and 6 to use AHCI)
SATA ESP on all PORT to Enabled (sets all ports to be hot swappable)
SATA Power on all PORT should be Enabled
 

caruk

Standard Member
I've built a few boxes using N54Ls and so far they are working great!

However, I was just sent this link and I thought I should share:
http://www.wilderssecurity.com/showthread.php?p=2238519#post2238519

Well , if anything looks to good to be true...

A few weeks ago I surfed past this site -http://www.xpenology.com-. I had an old WHS lying around, and well I like to tweak computers , so I gave it a try.
After some tweaking I found my old WHS was running as a real Synology NAS ;D ;D ;D ...
Nicely done I thought.....:gack:

Well you guys probably allready know where this is going...
It turned out I installed A gaping backdoor on to my network, and they got in....

I have no idea how long they have been looking around or what they did, but it scares me.
[/quote]

Pretty scary IF it's true but that's a big IF. This guy goes not say which build he's used. I've tried to get to the xpenology site to see if anything was posted there but it seems to be down.

Chris
 
Last edited:

unmesh

Standard Member
Using a Kingston DataTraveller 2GB USB memory stick - nothing special.

Restarted from the web console a few times without issue. Even used scheduled shutdown and wakeup fine.
I made several attempts to get the hard drive to spin down with the USB still inserted into the port but could not get it to work. Maybe I will try a different stick since I remember reading something about the OS potentially treating different sticks as different kinds of devices.

When I have more than one bootable stick ready, I will also do experiments to confirm that I can restart without corrupting the stick.
 
Last edited:

drummerjohn

Well-known Member
I've built a few boxes using N54Ls and so far they are working great!

However, I was just sent this link and I thought I should share:
xpenology - Wilders Security Forums

Well , if anything looks to good to be true...

A few weeks ago I surfed past this site -http://www.xpenology.com-. I had an old WHS lying around, and well I like to tweak computers , so I gave it a try.
After some tweaking I found my old WHS was running as a real Synology NAS ;D ;D ;D ...
Nicely done I thought.....:gack:

Well you guys probably allready know where this is going...
It turned out I installed A gaping backdoor on to my network, and they got in....

I have no idea how long they have been looking around or what they did, but it scares me.

Pretty scary IF it's true but that's a big IF. This guy goes not say which build he's used. I've tried to get to the xpenology site to see if anything was posted there but it seems to be down.

Chris[/QUOTE]

How does he know it had a backdoor and that was the cause of his problems? Seems a bit odd to me.
 

caruk

Standard Member
How does he know it had a backdoor and that was the cause of his problems? Seems a bit odd to me.

I agree that it's pretty unlikely but thought that I should investigate/post all the same. I've checked my own firewall monitors for the last week. My two newest SynoloHacs x.x.x.190 and x.x.x.180 are not making may calls to the outside world. I would have expected more traffic if there was a problem but I've not yet tracked down all the places it's tried to reach.

x.x.x.180 api.github.com https 443 TCP Default 355.71 KB <1%
x.x.x.180 91-121-40-14.ovh.net http 80 TCP Default 108.19 KB <1%
x.x.x.180 hermes.10trum.de http 80 TCP Default 88.64 KB <1%
x.x.x.180 60-251-87-136.hinet-ip.hinet.net https 443 TCP Default 28.75 KB <1%
x.x.x.180 vserver49.axc.nl http 80 TCP Default 15.63 KB <1%
x.x.x.180 lvps5-35-244-237.dedicated.hosteurope.de http 80 TCP Default 13.27 KB <1%
x.x.x.180 wa3.rzone.de http 80 TCP Default 12.34 KB <1%
x.x.x.180 546bcd0c.cm-12-4d.dynamic.ziggo.nl http 80 TCP Default 9.88 KB <1%
x.x.x.180 192.30.252.137 https 443 TCP Default 9.45 KB <1%
x.x.x.180 imu307.infomaniak.ch http 80 TCP Default 8.48 KB <1%
x.x.x.180 ns395541.ovh.net http 80 TCP Default 1.47 KB <1%

github seems ok... prob an update check
91-121-40-14.ovh.net... synocommunity
hermes.10trum.de... ?
60-251-87-136.hinet-ip.hinet.net.. ?
vserver49.axc.nl.. ?
lvps5-35-244-237.dedicated.hosteurope.de.. Pantofflhelden?
wa3.rzone.de..?
546bcd0c.cm-12-4d.dynamic.ziggo.nl.. ?
https://192.30.252.137/..?
imu307.infomaniak.ch..?
ns395541.ovh.net... Wombles NZB index

the other box (190)

x.x.x.190 31-6-72-106.the.ccsleeds.co.uk https 443 TCP Default 1.57 MB <1%
x.x.x.190 91-121-40-14.ovh.net http 80 TCP Default 476.93 KB <1%
x.x.x.190 api.github.com https 443 TCP Default 226.82 KB <1%
x.x.x.190 hermes.10trum.de http 80 TCP Default 94.03 KB <1%
x.x.x.190 60-251-87-136.hinet-ip.hinet.net https 443 TCP Default 29.44 KB <1%
x.x.x.190 52493be6.cm-4-2a.dynamic.ziggo.nl http 80 TCP Default 8.19 KB <1%
x.x.x.190 192.30.252.139 https 443 TCP Default 8.17 KB <1%
x.x.x.190 ns395541.ovh.net http 80 TCP Default 4.31 KB <1%
x.x.x.190 199.27.76.133 http 80 TCP Default 2.49 KB <1%
x.x.x.190 103.245.223.196 http 80 TCP Default 2.39 KB <1%

31-6-72-106.the.ccsleeds.co.uk... Synology cloud service
91-121-40-14.ovh.net.. Syno Community
api.github.com... git
hermes.10trum.de... ?
60-251-87-136.hinet-ip.hinet.net..?
52493be6.cm-4-2a.dynamic.ziggo.nl..?
192.30.252.13.. ?
ns395541.ovh.net... Wombles NZB index
199.27.76.133.. github
103.245.223.196.. github
 

bch

Standard Member
Hi,

I have followed this thread with interest as I have installed XPEnology 4.2 3002 on my new N54L. So far I have only got the 250GB stock drive that came with the server and have only done very limited testing, etc. I have now ordered 3 x 3TB WD Red drives which should be delivered next week and obviously then want to set this up properly and start to populate it with data. I have a few questions as I am unsure of a few things to get the best possible setup right from the start, hopefully you guys may be able to advice (I am a Windows guy so I am very familiar with Windows servers, hardware Raid, etc - but am completely new to this) :)

1. I have not yet modded the BIOS, but from reading this thread, if I want to use power options / hibernation, HDD in the CD bay, etc - this will have to be done?

2. Drummerjohn mentioned that he boots from the USB drive but has XPEnology/DSM installed on a separate HDD on the server (hopefully I read this right). If you don't have a separate HDD, but say 3 x 3TB drives in SHR Raid config, will XPEnology then be installed onto all these drives (i.e. Raided across them all)? If this is the case, then I can see the potential benefit in having a separate HDD (SSD???) for this to limit OS I/O etc to interfere with / take resource from the main data Raid.... Maybe someone could advice me a bit on this?

3. If installing XPEnology on separate HDD, then would the stock 250GB SATA drive do or would it be better to buy a small SSD and some kind of caddy adapter and mount it in the CD bay?

4. What Raid config do you guys use SHR or Raid5? From what I have read, the SHR is very flexible and has almost as good performance as Raid5, so maybe the best option.......?

Thanks in adavance for any advice/comments:)

- Bch
 

drummerjohn

Well-known Member
Points 2 & 3 - DSM can be installed onto any drive including the ones that you use as volumes. DSM sits on one drive and is not part of the RAID. (Correct me if Im worng someone). So if you use 3 x 3TB drives and you install DSM then it will sit on drive 0. DSM takes up a tiny amount of space.

Point 4. I don't use RAID at all as it is a waste of time\resources\money for domestic users. A proper backup, which is what we want to achieve as a domestic user, to a seperate device is the most advantageous method. The backup device being removable\remote if possible.
 

RustySpoons

Well-known Member
HP NC360T is a lovely network card for the Microserver running Xpenology :)
 

RustySpoons

Well-known Member
Points 2 & 3 - DSM can be installed onto any drive including the ones that you use as volumes. DSM sits on one drive and is not part of the RAID. (Correct me if Im worng someone). So if you use 3 x 3TB drives and you install DSM then it will sit on drive 0. DSM takes up a tiny amount of space.

Point 4. I don't use RAID at all as it is a waste of time\resources\money for domestic users. A proper backup, which is what we want to achieve as a domestic user, to a seperate device is the most advantageous method. The backup device being removable\remote if possible.

DSM is on ALL drives
 

unmesh

Standard Member
I made several attempts to get the hard drive to spin down with the USB still inserted into the port but could not get it to work. Maybe I will try a different stick since I remember reading something about the OS potentially treating different sticks as different kinds of devices.

When I have more than one bootable stick ready, I will also do experiments to confirm that I can restart without corrupting the stick.
I used a USB stick as the DOM instead of the microSD reader that I was using previously to achieve write protection and the console showed that it could tell the difference when I look at the USB devices list.

The good news is that I can reboot without damaging the contents of the USB and no longer need hardware write-protection; the bad news is that I still cannot get the hard drives to hibernate :-(
 

latour500

Standard Member
HDD hibernation works on my N54L using the modded BIOS.

I can't get Wake After Power Loss to work - says I don't have the rights as an admin ><


Hello,

I also have a N54l but I did not flash, could you tell me what bios version you used, and éventuelement a link to download

thank you in advance
 

The latest video from AVForums

Podcast: Panasonic JZ2000 Final Thoughts - TV Calibration: Should you? And More...
Subscribe to our YouTube channel

Latest News

What's new on UK streaming services for December 2021
  • By Andy Bassett
  • Published
Best Projectors of 2021 - Editor's Choice Awards
  • By Steve Withers
  • Published
Black Friday 2021: What you need to know
  • By Andy Bassett
  • Published
What's new on Blu-ray Special - The Cinema of Zhang Yimou & Gong Li
  • By Mark Costello
  • Published
AVForums Podcast: 24th November 2021
  • By Phil Hinton
  • Published

Full fat HDMI teeshirts

Support AVForums with Patreon

Top Bottom