Quantcast
Channel: Hacking WD MyBook World Ed - new forum threads
Viewing all 529 articles
Browse latest View live

How to install Simple Movie Catalog for your My Book

$
0
0

If you have a movie collection on your My Book then you need to install Simple Movie Catalog which will only take a few minutes to do.
Go to

 https://sourceforge.net/projects/smoviecat/ 

and check it out. If you like what it can do and you have need for it download the zip file and lets get started.
On a PC extract the .zip contents. You will get the following:
SimpleMovieCatalog
demo
doc
imdb_cache
lib
report
config.txt
interactive.cmd
moviecat.pl
readme.txt
run_scan.cmd
scan.log

Now to save space on our My Book and because SMC is written for Windows and Linux we can delete these components:
demo
report
interactive.cmd
run_scan.cmd

Now we need to edit the config.txt file and add the path to our movies.
Open config.txt in a text editor and add the path(s) to the video on your My Book.
So if you have all you videos in the default '/shares/Public/Shared Video' directory the line you need to add to the config would look like this:

 # Specify directories to scan, 1 per line, example: # /shares/Public /shares/Public/Shared Video 

In my case I used the default '/shares/Public/Shared Video' location but I have my movies and TV shows in two separate folders so my config looks like this.

 # Specify directories to scan, 1 per line, example: # /shares/Public /shares/Public/Shared Video/Movies /shares/Public/Shared Video/TV_Shows 

*Note: Remember Linux is case sensitive so get your path spelled out right the first time.

Save your edits.

Now I created this custom script to make it easy to run a scan and send the report to a Public share that you can easily find. The 'runit.sh' script will use the default '/shares/Public' directory to send the report to when the scan completes.

If you want the report sent to another location you will need to change line 11 of the script from:
PUBLIC=/shares/Public
to
PUBLIC=<your preferred location>
Otherwise you do not need to change anything.

In the text editor open a new document and paste the runit.sh script from below.

 #!/bin/bash # Name: runit.sh # A script to run a SimpleMovieCatalog scan and send the report to a /shares/Public location. # Customized for the MBWE by mdmihelich 'mdm0962@gmail.com' # 2013-11-01 # Version 2.0 # Notes - Added clean_up function # Script variables. PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin/X11:/usr/local/bin:/opt/bin:/opt/sbin DATE="$(date +"%Y-%m-%d")" # 2013-04-05 Date format: YYYY-MM-DD # PUBLIC=/shares/Public # Location of the share the scan 'report' will be sent.# REPORT=SMC-Report-$DATE # Scan report name.# SMC=/home/SimpleMovieCatalog # Simple Movie Catalog location.# MOVIECAT=moviecat.pl # Simple Movie Catalog perl script.# CONFIG=config.txt # Simple Movie Catalog config document.# PS3="Select [ 1-2-3-4 ] ? " # Choice QA prompt.# # Simple scan command with NO scan options selected. simple_scan(){ perl moviecat.pl -c config.txt } # Advanced scan command with scan options selected. advanced_scan(){ perl moviecat.pl -mfn -my -as -origtitle -c config.txt } # Deletes a previous scan report clean_up(){ if [ -e $SMC/report ]; then rm -r $SMC/report; echo "The last report was deleted."; sleep 1 else echo "No reports were found, nothing to delete."; sleep 1 fi } #---------Script starts--------------# # Start the script and clear the display clear # Check for all needed components. if [ -e $SMC ] && [ -e $PUBLIC ] && [ -e $SMC/$MOVIECAT ] && [ -e $SMC/$CONFIG ]; then echo else echo "There are missing components; the scan can not complete. Check your directories."; sleep 2; exit 1 fi # Start the scan. echo "Starting the Simple Movie Catalog scan."; echo # Choose simple or advanced scan echo "Choose a 'simple' or 'advanced' scan?" select QA in "Simple" "Advanced" "Clear_Report" "Exit"; do case $QA in Simple ) echo "Simple scan started."; simple_scan; break;; Advanced ) echo "Advanced scan started."; advanced_scan; break;; Clear_Report ) echo "Deleting old report."; clean_up;; Exit ) break; exit 0;; * ) echo "That is not a vaild choice, try again.";; esac done # Wait for all processes to complete wait; echo "Scan complete."; sleep 1 # Copy and rename the scan 'report' to a '/shares/Public' share if [ ! -e $PUBLIC/$REPORT ]; then cd $SMC | cp -r report $PUBLIC/$REPORT echo "$REPORT has been copied to $PUBLIC."; sleep 1 elif [ -e $PUBLIC/$REPORT ]; then rm -r $PUBLIC/$REPORT; cd $SMC | cp -r report $PUBLIC/$REPORT echo "A updated $REPORT has been copied to $PUBLIC."; sleep 1 else echo "$REPORT did not copy to $PUBLIC share!" fi # Exit script echo "Exiting." exit 0 #---------Script ends-----------------# # User notes: # Navigate to the /shares/Public/Documents and locate the 'SMC-Report-<current date>' folder on your PC. # Open 'SMC-Report-<current date>' folder and located the 'movies.html' file. # 2X click on the file to auto open or run the below command in a terminal. # xdg-open movies.html # This command will open the 'movies.html' file using the users default web browser.# 

Save it as runit.sh and put it in the SimpleMovieCatalog.
This script needs to be in the SimpleMovieCatalog directory along with the other contents from the .zip folder that are left.
The updated SimpleMovieCatalog directory needs to include:
doc
imdb_cache
lib
config.txt
moviecat.pl
readme.txt
scan.log
runit.sh

Time to install/upload SMC to the the My Book.
Use Filezilla to send the SimpleMovieCatalog directory from your PC to the My Book's /home directory.

Now ssh to the My Book.

 ssh root@<ip of your My Book> 

Enter your password.

 welc0me 

Navigate to the /home folder that has the SimpleMovieCatalog directory. Make the script executable.

 cd /home/SimpleMovieCatalog chmod +x runit.sh 

Now run your scan…

 sh runit.sh 

…follow the on screen script prompts…..
"Choose a 'simple' or 'advanced' scan?"
1. Simple
2. Advanced
3. Clear_Report
4. Exit

Select 2 then <Enter>
Now the scan will begin. Depending on how large your movie collection is this can take some time just be patient and watch the scan work its magic.

Once the scan is complete you can close the ssh session.

 Exit 

On your PC navigate to your /shares/Public and locate the 'SMC-Report-<current date>' folder and open. Locate the 'movies.html' file and 2X click to open. A new tab or browser window will open and display the contents and of the scan along with a description and thumbnail.
Enjoy and send thanks back to the developer of Simple Movie Catalog.


Upgrade SSH on MyBookLive

$
0
0

Hi Everyone!

My name's Samuele and I'm an italian IT Student and Developer, so, first of all, I apologize if my English is not good.

I've had a MyBookLive 2TB for more than 1 year now and it's great, but now I have a question and I hope you can help me (I've looked and surfed everywhere, but I can't find a "solution").

I'd like to upgrade the SSH Server Deamon to the latest version so I can face attacks to my Server since I want to forward the SSH Port (on another port) to the web. I need your help because I wouldn't brick my server and I'm not very expert with Linux.

What should I do? Can you give me (and to the community) a step-by-step guide? Do you know any other ways so I can protect my server from attacks (according to my router's log, I HAVE to protect it).

Please answer me soon!

I hope you can help me!

Samuele

Files for WD Blue 750GB

$
0
0

Hi

My HDD from a WD My Book World Blue single Drive with 750GB is corrupt.
Where can i find the files for a new drive.
I would try the files for the 500GB HDD but the files on rapidshare are down.

Can you help me please?
Sorry for my bad english.

Thanks, Lons

I want to know many of you read the novle: Sons and Lovers.

$
0
0

I hardly understand the complexion between Poual and Mrs.Morel. If any one read it,please share you opinion about it. Thank you.

Wich recovery software i should choose when i want to back up my files.

$
0
0

With the development of society, most of people usually use the PC to work. Obviously, it exits many potential danger. For example, many important e-mails or information are lost incidentally.
We should back up our information in addition to happening misfortune things.
Some of my friends tell me one way. Download some data backup software to back up your files is a good choice.
But i also want to know there is other way to solve this problem.
If you know how to solve this problem, please reply to me.

How to protect files from losing?

$
0
0

A good friend of mine asked me for help recently…she said that whenever she goes to boot her PC, she gets a black screen with a hard drive error…the computer is a Dell, about 2-3 years old. She's not very computer-literate, so those were all the details she gave me. I'm going over in a couple days to replace the hard drive, and hopefully get her stuff (mostly photos) off her old hard drive. Usually, when I'm dealing with a corrupted Windows issue, I use EaseUS data backup sotware.
What are some other ideas?

Multihosting / Using built-in web server

$
0
0

I wanted to host on my WhiteLight custom website / multiple websites without installing any additional web server (I'm re-using mini_httpd). I didn't want to switch off WD Configuration website either.

So here is what I did:
1. If you have registered domain (eg. www.mywebsite.com) map it to your IP address on your DNS server. Since I have dynamic IP I use ddclient (no-ip should work similar). Example:
Record Type = A; IP address = xxx.xxx.xxx.xxx Host = www.mywebsite.com

2. Set up sub-domains on your DNS (eg. nas.mywebsite.com, shop.mywebsite.com) using CNAME. They will point to your registered domain:
nas CNAME www.mywebsite.com
shop CNAME www.mywebsite.com

3. Create WWW directory somewhere on your WD where you want to store your files (eg. /shares/Public/WWW/)

4. In that WWW directory create sub-directories for your virtual hosts. Additionally create symbolic link to your original WD Configuration site (/proto/SxM_webui). The folder structure should look more less like this:

  1. ls -la

/shares/Public/WWW/www.mywebsite.com
/shares/Public/WWW/shop.mywebsite.com
/shares/Public/WWW/nas.mywebsite.com -> /proto/SxM_webui

4. Place your website files in www.mywebsite.com, shop.mywebsite.com

5. Change startup script for mini_httpd (# nano /etc/init.d/S55mini_httpd):
replace: WEBROOT="/proto/SxM_webui" with WEBROOT="/shares/Public/WWW"
add parameter "-v" when mini_httpd is called

6. Restart mini_httpd:

  1. /etc/init.d/S55mini_httpd restart

7. Now when you type www.mywebsite.com in your browser it will take you to your default page in folder /shares/Public/WWW/www.mywebsite.com.
When you type nas.mywebsite.com it will take you to original WD Configuration site.

Hope it helps!

Unable to connect using network

$
0
0

Dear guys,
my book world edition ii (white light) failed: it boots, seems fine but it's not seen on the network anymore. No way to reach it, I also tired a soft reset. I thought the network part is dead.
It's configured as striped / RAID-0.

So I bought an additional enclosure, nothing again!
This means in someway the network config saved on the drives is miss configured and it seems not possible to reset…

Any clues on how I could solve this problem and recover the data?
The problem is the RAID-0…

If I attach the drives to a SATA controller I can see the 4 partitions… anything I can search for in the first 3 partitions to understand what is the problem and how to fix?
Or, any quick way do copy both 4th partitions and quickly reconstruct them by using array stored somewhere?

Thanks in advance for any comment.
Lore


error two bleu ring flash

$
0
0

Hi,
I have a version of my book world II blue ring.
I want to install two hard 1t seagate brand st31000333as with firmware version SD3B.
I perform this procedure BlueRing Mybook Rescue tool

all okay when the procedure is complete

I performed the update to version 1.1.18 has the FW version 02.00.18 Version 02.00.19

but with both FW 02.00.1X release after five minutes I get the following error:

the two rings flashing and I do not just enter the web page

I understand that the raw temperature setting and ventillateur are to change.

someone can help me.

thank you

What shold do to find lost files when lost files?

$
0
0

A good friend of mine asked me for help recently…she said that whenever she goes to boot her PC, she gets a black screen with a hard drive error…the computer is a Dell, about 2-3 years old. She's not very computer-literate, so those were all the details she gave me. I'm going over in a couple days to replace the hard drive, and hopefully get her stuff (mostly photos) off her old hard drive. Usually, when lost my files, i usually use the EaseUS cleangenius. it is suitable. It can recover 2G by free products.even there are many trial versions for me to have a try to see if it suits me.

Can't enable no-ip on WD MyBook Live

$
0
0

Hello people,

with my lowly MyBook Live, I have one simple objective: to put it behind any router and have it update whatever external IP it happens to get and open the matching port in the router automatically using UPnP or any other suitable method.

To date, I have only found a 2007-era article that doesn't provide enough details to compile the no-ip client, and I don't even know what is the name of the package that would allow automatic opening of relevant ports in the router. Is there a simple and trouble-free way to enable these features? Originating computer won't run WD's software, most probably.

how to install mysql5 on MBWE I (white) to create centralized XBMC library

$
0
0

This is how I installed mysql5 on MBWE to create a centralized library on XBMC. (If you don't know what I mean check the xbmc wiki: HOW-TO:Share_libraries_using_MySQL

First you need to install (if you haven't already) the optware manager as seen in the "optware-software packages" section of this site.
The instructions for white light are in a blue bordered box. Go straight were it says: "Alternatively, run following commands one by one:"
Enter the 8 commands one by one and then enter the following (with putty):

  1. export PATH=$PATH:/opt/bin:/opt/sbin
  2. ipkg update

Then you need to install all the ncurses libraries like so:

  1. ipkg install ncurses-dev
  2. ipkg install ncursesw
  3. ipkg install ncursesw-dev

Install mysql5 like so:

  1. ipkg install mysql5

Start mysql server by entering:

  1. mysqld_safe —user=root &

(the cursor may seem stuck. If it does just press enter and carry on)

Set a password for mysql (change the words 'your password' - leave the ' marks) like so:

  1. /opt/bin/mysqladmin -u root password 'your password'
  2. mysql -u root -p

enter your password

Then enter the following:

  1. CREATE USER 'xbmc' IDENTIFIED BY 'xbmc';
  2. GRANT ALL ON *.* TO 'xbmc';
  3. exit

That's all with putty

Now open notepad and copy paste the following:

<advancedsettings>
<videodatabase>
<type>mysql</type>
<host>*.*.*.*</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</videodatabase>

<musicdatabase>
<type>mysql</type>
<host>*.*.*.*</host>
<port>3306</port>
<user>xbmc</user>
<pass>xbmc</pass>
</musicdatabase>

<videolibrary>
<importwatchedstate>true</importwatchedstate>
</videolibrary>
</advancedsettings>

save this file as: advancedsettings.xml

place this file (advancedsettings.xml) in C:\Users\***\AppData\Roaming\XBMC\userdata\advancedsettings.xml (windows7)

You will need to paste this file in all your xbmc machines (HTPC, atv2, android boxes etc) in the relevant folders

You are pretty much done

Now I would suggest before doing all this to delete xbmc databases from all your xbmc machines. Then after you are done with all of the above, start xbmc and scan your media in the library. Mark your watched stuff.
If everything went well you should have the same library on all your machines!

Some final notes:

This works with XBMC frodo 12.2 and all your machines should run this version

My MBWE (white) firmware is 01.02.14

Current mysql5 version as of this writing: mysql5 - 5.0.88-1

My linux knowledge is very limited if not zero and all the information written here derives from countless hours of googling and trial and error. I don't know if I will be able to answer questions or to troubleshoot, but I am willing to try

Best of luck

Losing SSH connection & How to re-install SSH

$
0
0

**Hi, All, I need your help…

I'm using LiveDuo 6TB(WDBVHT0060JCH).
Last week, I accidentally upgrade firmware and SSH-key has changed through this update.
I had been using RSA-key to connect to my Book Live so I lost the connection for a while.
But I reconnected to it using password and I tried to recover my connection using RSA-key.
During this process, I remove all RAS & DSA keys on my Book Live by accident…
It means My Book had lost all keys…
Then I can't connect my Book Live at all through SSH.

When I try to connect to my Book Live through SSH, it says,
"Read from socket failed: Connection reset by peer."

But I can connect My Book Live through samba or atalk.
So I can see files and folders on My Book Live, but I can *not* modify any conddtions through SSH…
My Book seems to be fine except SSH.

Dose anyone have any idea to recover SSH connection?
It seems that I have to re-install open-SSH to my Book Live, but what should I do?

Dose **initializing my Book, which exist on MY BOOK web page, ** mean to completely reset system & data area?
If so, it could recover SSH connection…

Wan**

libc.so.6 aborted attempt to load it!

$
0
0

Hi ,
after install of optware at my MBWE (blue Ring) I get this message when I logged in at the root.
When I logged in as admin I have no Problem all is running but i can not edit files or install packages.

When I logged in as root I get this message an nothing works. (vi, ls, cp … all commands doesn't work.)

401.0.861.291|toor#401.0.861.291|toor's password:
libc.so.6: aborted attempt to load id!
libc.so.6: aborted attempt to load /bin/hostname!
[root@MyBookWorld ~]#
[root@MyBookWorld ~]# ls
libc.so.6: aborted attempt to load ls!
[root@MyBookWorld ~]# cp
libc.so.6: aborted attempt to load cp!
[root@MyBookWorld ~]#

What can I do? I would like to do a rescue but I dont find the files (mybook_we_rescue.part01.rar)

pls help.

help plz

$
0
0

hi i have done somthing realy dump i have replaced the hdd of my book live 1 Tb with a new hdd 2 Tb but i did not do any image clone or any thing else so any one can help me with it plz any way to make it work again

and also i have format my old 1 Tb hdd so i dont have backup of it plz any one have any idea to make it work


help plz

$
0
0

hi i have done somthing realy dump i have replaced the hdd of my book live 1 Tb with a new hdd 2 Tb but i did not do any image clone or any thing else so any one can help me with it plz any way to make it work again

and also i have format my old 1 Tb hdd so i dont have backup of it plz any one have any idea to make it work

MBL - Yellow Blinking Light no SHH

$
0
0

Been trying to solve the below issues for a while now:

Serial #: WCAWZ0963829
Model #: AP1NC
current FW: 02.11.09-053
Status: Initializing
Front light: Blinking yellow

During a FW upgrade there was a failure (dont remember 100% what the error was).
Currently my device is now not unable to log in to the webgui (<my_drive>/UI/login) with any username and password combos that i have found on the net (admin/123456, root/welc0me, etc.). Furthermore i can not get on to the device to enable SSH.

Device Current State:
Yellow light is blinking on front of device
Device can be seen on network and can be access as a guest (content is still there)
Can not login in <my_drive>/UI/login (No username/password combos work)
ssh <my_drive> (ssh: connect to host <my_drive> port 22: Connection refused)

I’ve tried:
Holding the reset button on back of device while it is powered off. Wait 60sec, then plug in device while still holding reset. Wait another 60sec then release reset and plug in network cable. Allow device to sit for 3-5 min.
- Light was solid yellow for a while but then reverted back to blinking.

If i could get SSH enable i'm sure i could figure my way out on this mess.
Any Thoughts or advice?
Thanks in advance.

Cloud storage sync

$
0
0

Is there a way to setup some cloud storage on Blue Rings (Copy/ Dropbox/ BoxNet…)? Actually I'm looking for Copy.com solution, but any other will be helpfull :)
p.s. I'm newbie to Linux :)

WD MBWE Can't Access via network, web, or SSH

$
0
0

I have a WD MBWE 1TB (WD10000H1NC-00) That I can't access via network, web gui, or ssh. I tried power on/off, soft reset, and hard reset which had no effect. I removed the drive and installed in a pc that I booted using a linux usb flash drive. I can mount all the partitions and see the data. Based on this I think the hard drive is ok. I downloaded the WD GPL source code for my firmware version and extracted it but I have no idea what to do with it. Can someone please suggest what I should do next? I took a screen shot of the web gui error I get when I try to access it but I can't link it since I am a new user :-)

My MyBookLive 1TB has bad blocks and unrecoverable HDD

$
0
0

I have removed the one and only HDD that was in the mybook and made a surface test. I was full of errors.
My Mybook Live P/N is wdbacg0010HCH-00. The disk is lost from my point of view. The thing is that i want to install a new fresh disk but the book is not coming alive because of the missing OS (i guess). Does anyone have an image to restore mine? or is there any way to get it up and running? i dont care about the lost files. i have them elsewere backup.

thanks in advance

Viewing all 529 articles
Browse latest View live