Clean OS (Debian), OpenMediaVault and other "firmwares"

That’s working!!!

Where are tje binary for btsync? Or do I have to do something with apt-get?

ressof wrote:
Where are tje binary for btsync? Or do I have to do something with apt-get?

http://www.getsync.com/intl/ru/download (Linux → arm)

http://download.getsyncapp.com/endpoint/btsync/os/linux-arm/track/stable

Do you know how to change led color, my wife prefer blue :wink:

Mercutio wrote:

Do you know how to change led color, my wife prefer blue :wink:

/etc/init.d/wd-leds.sh

Hello again,

i have made some tweaks on my smb.conf and thats the result :smiley:

Only the upload speed is not the best, but maybe someone will figure out, how to increase this.

I recognized the best speed increase with: read size=65536

down.png

up.png

My smb.conf

[global]
        log file = /var/log/samba/log.%m
        read raw = no
        write raw = no
        server role = standalone server
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccess$
        max xmit = 262144
        read prediction = yes
        workgroup = WORKGROUP
        debug level = 0
        printcap name = /dev/null
        syslog = 0
        getwd cache = yes

        min receivefile size = 16384
        use sendfile = true
        #aio read size = 262144
        #aio write size = 262144
        aio write behind = true
        write cache size=2097152
        read size=65536
        allocation roundup size = 104857600

        strict allocate = Yes
        strict sync = no
        use sendfile = true

        security=user
        lanman auth=no
        main protocol=NT1
        encrypt passwords=true
        client ntlmv2 auth=yes
        wide links=yes
        state cache=yes
        large readwrite=yes
        oplock contention limit=5
        oplock break wait time=100

        load printers = no
        printable = no
        max log size = 50
        deadtime = 30
        enable core files = no
        create mask = 0775
        force create mode = 0775
        directory mask = 0775
        force directory mode = 0775
        local master = yes
        domain master = no
        preferred master = auto
        os level = 5
        dns proxy = no
        idmap uid = 10000-65000
        idmap gid = 10000-65000
        force group = users
        unix extensions = no
        acl check permissions = false
        max protocol = SMB2
        browseable = yes
        syslog = 1
        socket options = TCP_NODELAY IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=2048000 SO_SNDBUF=2048000
        smb encrypt = disabled
        writeable = yes
        delete veto files = true

Thanks!

Hi Fox_exe,

i tried to upgrade to jessie release using these steps:

  1. i have restored sda1 and sda2 content with your clean debian wheezy image
  2. updated locales and tzdata
  3. run the apt-get update & apt-get upgrade on wheezy
  4. reboot
  5. in /etc/apt/sources.list Ihave changed the repos to jessie
  6. apt-get update & apt-get distro-upgrade

upgrade to jessie has failed because of kernel capabilities (i do not recall exact list of missing features).

So i took latest kernel from you in following steps:

  1. i have restored sda1 and sda2 content with your debian wheezy image
  2. updated locales and tzdata
  3. run the apt-get update & apt-get upgrade on wheezy
  4. updated kernel with dd command following your guide
  5. reboot
  6. in /etc/apt/sources.list Ihave changed the repos to jessie
  7. apt-get update & apt-get distro-upgrade
  8. reboot

Upgrade to jessie suceeded, however after second reboot the wd mycloud did not start. I am not sure whether i made something wrong. However, if i did not perhaps it is worth to mention that currently it is not possible to upgrade to jessie perhaps directly within this post::

Fox_exe:

Yes, you can upgrade to Jessie or “Sid” - All works fine…

Thanks

Ok, i retest it and prepare img for easy upgrade.

Thanks for your work Fox_exe. 

Did someone resolve the usb performance problem ? 

when I copy file from my USB3 device to the MyCloud device, i’ve got only 6Mo/s read and write speed.

The same USB3 device connect to Windows write speed is 50Mo/s.

The kernel support USB 3.0 ?

apt-get install ntfs-3g
mkdir /mnt/usb (Its my samba /shares/ folder)
mount -t auto /dev/sdb1 /mnt/usb
dd if=/mnt/usb/videofile.avi of=/data/Video/videofile.avi bs=4M
371+1 записей считано
371+1 записей написано
 скопировано 1557147648 байт (1,6 GB), 68,6467 c, 22,7 MB/c

* /data - is my /dev/sda4 mountpoint (Clean debian)

* USB 2.0 external box for 2.5" HDD / Samsung 250GB

* Samba speed - 30-35MB/s

Tanks I try the same command (copy movie with dd bs=4M) and I have the same result on my USB 3 device (21mo/s). (better than my original 6Mo/s)

I dont know what is the result with original firmware but It’s still low for usb 3.0. I think it’s USB 2 limited.

@Fox_exe

Im trying to developemnt (Wt) Application for the Box, but im stucking now with the cross compiler toolchain.

Is it important to know which gcc version was used to build the kernel, and if so can you tell me?

I tried to install gcc 4.9 from jessie but failed.

Maybe you know a good tutorial or have one?

Thank you

DKlay wrote:

 

Maybe you know a good tutorial or have one?

http://support.wdc.com/product/download.asp?groupid=904&sid=233

Download it.

Inside - patches for binutils, chroot (wheezy/jessie) and buildscripts for all of this.

hello 

I currently have Clean debian installed, can i use Autoinstall script to restore original firmeware ? or should I use replace HDD procedure?

I found in your backup folder an old firmware who seem to be in good format (not .deb), but your script autoinstall take 2 config file and the zip contains 1. I miss someting ?

  https://drive.google.com/folderview?id=0B_6OlQ_H0PxVTlZWUWdOOEFHNVU&usp=drive_web&tid=0B_6OlQ_H0PxVRXF4aFpYS2dzMEE

Thanks for help.

Hello :slight_smile:

 How can I reinstall Clean Debian image? Now MyCloud is running OpenMediaVault image. I cannot run install script,  I receive: “sudo: unable to execute ./Install.sh: Permission denied”, even after 

chmod +x install.sh

Artistor wrote:

“sudo: unable to execute ./Install.sh: Permission denied”

Yeah, OMV mount “Data volume” with “noexec” parameter.

mount -o remount,exec /data

Where /data - you mount point for /dev/sda4.

floyk wrote:

hello 

 

I currently have Clean debian installed, can i use Autoinstall script to restore original firmeware ? or should I use replace HDD procedure?

I found in your backup folder an old firmware who seem to be in good format (not .deb), but your script autoinstall take 2 config file and the zip contains 1. I miss someting ?

Dont use config from backup. Only rootfs and kernel + autoinstall.zip

Thank you Fox_exe, Debian on the wdmycloud works great for me and opens new possibilities.

I am trying on setting up FHEM ( http://fhem.de/fhem.html)) on the mycloud and could get everything running except the so called CUL device, which would require a cdc_acm usb driver , which seems to be not installed. Do you have any idea how to get such a driver?

thx very much. but i cant change the system language. when i try to change i will get only ru_ru.utf 8. help me pls

adem93 wrote:

thx very much. but i cant change the system language. when i try to change i will get only ru_ru.utf 8. help me pls

apt-get updateapt-get install locales

Или, если уже установлен:

dpkg-reconfigure locales