or Connect
AVS › AVS Forum › Audio › CD Players & Dedicated Music Transports › "Official" Olive Thread Opus 4, Opus 6, Melody 2, Olive 2, Olive 4/ 4HD, 06HD
New Posts  All Forums:Forum Nav:

"Official" Olive Thread Opus 4, Opus 6, Melody 2, Olive 2, Olive 4/ 4HD, 06HD - Page 76

post #2251 of 2926
Marc, it seems that the rsync binary needs some libraries, so I will need to do some more tests before we get a functional rsync command on the Opus.
I will let you know once I can make it work.

Franck
post #2252 of 2926
Hi Franck,

I did not try it yet, but maybe sshfs is also a good solution. Yesterday I had little time and some trouble with my network, but today I want to find out if increasing the cache will do away with some nasty gaps that always occur here.

I let you know.
I still want Olive to publish the source code of the Olives. That would make live so much easier!

Marc
post #2253 of 2926
Hi Marc and all Opus4 users.

Finally I found a way to enable ssh access without even opening the Opus box biggrin.gif

SSH daemon can be enabled through a simple web-page.
Go to http://opus/builtDhtmlx.php where opus is replaced by your opus ip address.

It will ask you to enter a username and password, enter the followings:
Username: olive
Password: e4v1i5l9o

It should display the following text:
Code:
command run successfully

You can now connect to the Opus via SSH.
The root password is tj270442

Enjoy!

PS: The ssh server might stop once the screen goes black, but you can now re-activate it through the web-page.
Of course the passwords described here are valid on my Opus4 version 4.1.9, maybe it differs on other systems. Please validate on your system, and confirm us if it works.

EDIT: Fix typo in the password
Edited by frolic - 1/20/13 at 3:25pm
post #2254 of 2926
Gosh, what a busy thread!
Someone posts a method to ssh to an Olive, and see, a multitude of oooh's and aah's are the result.
Not.

Anyway, I tried it. Whit a wrong password, it gives me the access denied message. But with the correct password, nothing is shown. I tried this with Seamonkey, and with Firefox.
Also, after this, the olive still does not allow ssh: ssh: connect to host opus2 port 22: Connection refused.mad.gif

This morning, I started ssh, and whith the Olive awake I logged in with the password (and got the blank browser screen afterwards). I started top, and began to edit in Maestro. I dimmed the screen, and expected to be thrown out of ssh. But that still went on. It went on as long as I stayed editing.

Franck, if you find a way to keep the connection going without disturbance, that would be a real bonus. As it is now, I can't be sure that copying data from the Olive to another target will succeed. rolleyes.gif
Editing while copying is not a bright idea.

Marc

PS I still hope someone else jumps in.
post #2255 of 2926
I tried on my 4 and got the same result as Marc. Looking at the php script from my original disk (have not performed the ssh mod yet) it does seem straight forward.
$output = shell_exec('sudo -u root -S /work/sshd < /zapp/zgui/includes/classes/json/dhtmlxtree_pr');
echo "command run successfully";
Since we are not getting the "command run successfully" perhaps the shell_exec is failing but I do not speak php.

Thank you for the great work on the ssh modification Franck! I should have that working soon.

- Tom
post #2256 of 2926
Quote:
Originally Posted by mumsoft View Post

Gosh, what a busy thread!
Someone posts a method to ssh to an Olive, and see, a multitude of oooh's and aah's are the result.
Not.

PS I still hope someone else jumps in.


Afraid it's all gobbledegook to me! tongue.gif
post #2257 of 2926
Ok some more info about the passwords.

Display the contents of the file /zapp/zgui/builtDhtmlx.php. On mine it looks like this:
Code:
<?php
if (!isset($_SERVER['PHP_AUTH_USER'])) {
    header('WWW-Authenticate: Basic realm="Olive"');
    header('HTTP/1.0 401 Unauthorized');
    echo 'Unauthorized access';
    exit;
} else {
    if($_SERVER['PHP_AUTH_USER'] == "olive" && $_SERVER['PHP_AUTH_PW'] == "e4v1i5l9o") {
                $output = shell_exec('sudo -u root -S /work/sshd < /zapp/zgui/includes/classes/json/dhtmlxtree_pr');
                echo "command run successfully";
        }
}
?>
So you can see that the php authentication requires the user olive and the password e4v1i5l9o. Maybe on your system it differs.
Then the contents of the file /zapp/zgui/includes/classes/json/dhtmlxtree_pr shows the root password to use when connecting with ssh.

If you load the builtDhtmlx.php page, and nothing is displayed it means that you entered a wrong username/password. In case you cancelled the authorization dialog the page will display the Unauthorized access text.

Marc, for the connection to stay on, I simply start to play an internet radio station. That way I can be sure that the Opus never goes to sleep, and that the network connection is up.
I will provide a new archive version of rsync soon, so we can do a rsync of the data partition. Using sshfs will not be a good option, since all the data will have to be transferred so you won't benefit from the rsync differential transfer.

Good to see others trying the ssh access wink.gif

Franck
post #2258 of 2926
Hi Franck, your first post shows as password e4v1i519o, the second e4v1i5l9o, which is what it is.
With the correct password I now also get
command run successfully

Playing radio is a good idea I think. I will see what sshfs is doing with the date and time. rsync just has to transfer complete files, only a few are partly renewed. But maybe i don't understand how rsync really works.
Meanwhile i still like to get a working set of rsync of course. From my Asus time I remember that it uses an online library to get software from (with dpkg?).

Marc
post #2259 of 2926
Hi Marc,
Thanks for pointing the typo error in the password. I thought I copy/pasted it confused.gif I will fix my previous post.

I finally got a working copy of rsync biggrin.gif
Here it is: rsync.zip 151k .zip file

Simply extract the rsync binary and place it in /usr/bin/

Regarding the gapless issue. I tried to change the file-caching attribute of zplayer from 400 to 500, 600 and 1000. None were showing any change, and when set to 1000, the zplayer application crashed. So no luck here frown.gif Did you have time to look at it?

Franck
post #2260 of 2926
Hi Franck,

I tried 600 with equal results. In my case however it seems not to be a gap, but an irregularity. Ocassionaly I have a gap, but always in the middle of the music, not in between tracks.
I guess it's the electricity.

Thanks for the rsync, I will try it tomorrow.

The password contains 'olive', backwards...

Marc
post #2261 of 2926
Can anyone tell me how to import music off a USB stick?

Does the stick have to be formatted a particular way or the music in a particulars folder?

I plug the USB stick in, but the Olive only gives me options to back up etc

Cheers
Gareth
post #2262 of 2926
You can plug the stick in your computer and do the import the usual way.
There is no option to do it directly with your Olive.

Marc
post #2263 of 2926
Thanks, Marc. The manual seems to suggest you can, but it doesn't seem to be working in practice.

But the manual also seems to have some words missing and maybe things have changed.

See page10

http://downloads.olive.us/guides/en_olive4hd_quickstart.pdf

Thanks
Gareth
post #2264 of 2926
Incidentally, isn't there a right to obtain the source code from Olive?

I remember seeing it in one of the manuals or warranty cards....
post #2265 of 2926
Quote:
Originally Posted by gareth67 View Post

Thanks, Marc. The manual seems to suggest you can, but it doesn't seem to be working in practice.

But the manual also seems to have some words missing and maybe things have changed.

See page10

http://downloads.olive.us/guides/en_olive4hd_quickstart.pdf

Thanks
Gareth

Yes... it says
3.3 Importing Music from an USB Drive
The Olive 4HD also allows you to import music from
an external USB hard drive. The hard drive must be
formattedtMPORT MUSIC and follow the on-screen
instructions.
Special HD music content is available on encrypted USB sticks
through Olive’s content partners. Please visit www.olivehifi .com
for details and availability in your region.

So generally music could be imported from a Hard drive connected by USB to the Olive, or from a specially encrypted USB stick. Anyone managed this? What are the missing words between "formatted" and "MPORT MUSIC"?

BUT... the full manual says nothing about importing via the USB connection!

V rolleyes.gif
post #2266 of 2926
Thanks, this is new to me.
My Olive Opus 4 does not do that, but if I'm right, neither does the 04HD. It does not say that importing from an USB stick should be possible, only that some music is available on sticks, without mentioning the way to get it in the Olive. tongue.gif And the queer format for the external hard disk does not promise success.
Nevertheless, you could try it with an FAT format.

Marc
post #2267 of 2926
Quote:
Originally Posted by frolic View Post

Hi Marc,
Thanks for pointing the typo error in the password. I thought I copy/pasted it confused.gif I will fix my previous post.

I finally got a working copy of rsync biggrin.gif
Here it is: rsync.zip 151k .zip file

Simply extract the rsync binary and place it in /usr/bin/

Regarding the gapless issue. I tried to change the file-caching attribute of zplayer from 400 to 500, 600 and 1000. None were showing any change, and when set to 1000, the zplayer application crashed. So no luck here frown.gif Did you have time to look at it?

Franck

Hi Franck,

I tried it yesterday, and this one works. I had expected a more difficult installation instruction rolleyes.gif
Unfortunately I also discovered why Olive talks about limited hardware. The backup process is rather slow.
But with some clever adoptions to my procedure I'm sure this rsync will be a (O)live saver.

I think the weakest point is the processor and the motherboard. If we can stress these at least as possible, the backup process could benefit. If there is something to keep the Olive alive during transfer (as is with the original backup procedure), that would be fine.smile.gif
In the mean time playing radio is a workable workaround.

Thanks again.
post #2268 of 2926
Hello Marc/Mumsoft -

A question on which you are an expert - and a chance for new/old discussion
I have both the 06 and 03HD. The 03HD (500 GB) runs noticeably quieter than the 06 (2 TB) and the hard drive is the culprit. Olive has already graciously replaced the HD in the 06 which helped, but not so much. (very small background hiss, which I have carefully trained my ears to discern from across the room).

Looking at hard drive specs, smaller dives in the same class (e.g. the quiet Western Digitals) can run significantly quieter than the larger drives - up to 9 dBA, or a factor of 8 less). I also think the 06HD suffers from a coupling of this HD vibration to the rigid enclosure.

Since we are nowhere near using 2TB of storage, I would like to clone the 06 2TB HD onto a smaller disk, probably 1TB. Thoughts on this? I could run a Linux emulator on my MAC, or use a Vista system to run Acronis 7. Use an external HD enclosure, SATA to USB?

If I simply installed a fresh HD, and used the restore utility (USB stick) from Olive, would that get the OS kick started??
post #2269 of 2926
Hi clpetersen,

Nice to hear that you think I'm an expert, but I don't. With Linux tools I have some experience, but not with Windows or Mac. That said, I think you can downsize as well as upsize the Olives with some clever tools.
I would try it this way:
- Recover a new disk in the Olive with the recovery procedure. In my case this never ends gracefully, but at least it creates the first 3 partitions. You need to make 4 other partitions, but the tool you use can do that while cloning the other partitions. It has to be able to shrink the 7. partition

As I understand it, Acronis can copy the whole disk without disturbing part. 1, which in my case is always ruined.
I don't think that Olives restore program can handle a much smaller target than source, but that's just guessing.
I don't know if Acronis can shrink either.
I have a good experience with 2TB disks from Seagate, just bought 2 Barracuda green disks. The problem with them is that they are so quiet and vibrationless that I hardly can tell if they spin. I must bring my ear to the cd opening and still then its difficult to tell.
So, if shrinking is difficult, you also could think of these hard disks: type ST2000DL003.

Good luck and tell how you go.
Marc
Edited by mumsoft - 1/24/13 at 1:40am
post #2270 of 2926
Thanks Marc. I will look into the Seagate drives, sounds promising. Drive prices are so low now, that there is little risk. I think the parts to my Olive came during the drive crisis during the 2011 floods, so parts were scarce and expensive.
post #2271 of 2926
06HD dissassembly - anyone done this to gain access to the hard drive? I have some 'tamperproof' fastener tools, wondering if there are any wiring/mechanical issues to be careful about before I damage something.
post #2272 of 2926
Quote:
Originally Posted by clpetersen View Post

06HD dissassembly - anyone done this to gain access to the hard drive? I have some 'tamperproof' fastener tools, wondering if there are any wiring/mechanical issues to be careful about before I damage something.

A friend of mine has a 03HD, and opening that one proved to be somewhat harder than it is with the straight forward method for the Opus 4.
The screws of the power entry (?) had to be released also, and the upper lid has flat cables attached.
I was there when he opened it, but not when he closed it.
The 06HD looks much different, I don't have a clue.

Marc
post #2273 of 2926
Quote:
Originally Posted by ODYeo View Post

First Post
I have an Olive 04HD and am thinking of buying an 03HD for a second home.
My question: Is there a way by which I can access the music (all flac) in my backup hard drive and delete some tracks and/or albums? My objective is to end up with a file of 500 Gb, which I can then "restore" to the 03HD.
My apology if this has been covered earlier in this forum.
Thanks

Bump
post #2274 of 2926
Quote:
Originally Posted by ODYeo View Post

Bump

I no one answers, maybe you could look at posts after 23 4 2012 when the new backup software was released.
But I wouldn't count on it if I were you.

Marc
post #2275 of 2926
Anyone order a One server during the 2 day weekend special going one?

Djoel
post #2276 of 2926
Realize this is an old post, but just came across it and was thrilled that I might finally be able to access the files on my Olive -- most of the nearly 1000 CDs in my Olive have been loaded to my computer already, but not with all the extensive metadata editing I did on the Olive.

So I downloaded XBMC to both my Mac and PC, but when I "browse," the Olive does not show up, nor does it recognize its assigned network address (10.0.0.4) when I put it in manually. I know the Olive is connected, because I can edit metadata using Maestro and add files to it via the "Connect to server..." import folder from both computers.

Any suggestions would be much appreciated. Thanks.
post #2277 of 2926
Hello mkjelsbe. I looked at xmbc a while ago on a MAC. Found the olive no problem, both an 03 and 06. Your network address is quite different than the ones Olive uses on my network. Always of the form 192.168.x.xxx. You can the address directly from the olive in settings. Hope this helps.
post #2278 of 2926
Quote:
Originally Posted by Djoel View Post

Anyone order a One server during the 2 day weekend special going one?

Djoel

I preordered one with hard drive option through charity offering
post #2279 of 2926
This weekend I did my backup/restore the new way. With frolic's RSYNC on both machines, I first copied everyting new from my olive2 to a map BU where I had mounted the data partition of one of my external backups.
rsync -rvua root@10.1.1.36:/data/* /bu
Next I did the same from the BU (BackUp) to my O_Live:
rsync -rvua /bu/* root @10.1.1.35:/data
I had to make sure that the both kept alive during the transfer, but that was no problem.

After this I rebooted the O_Live, and -sigh- it booted without hesitation.smile.gif
But the library seemed empty, no space seemed to be used by it, no tracks, no albums were shown, in short, a deep silence fell in. mad.gif
To make a long story short, I had also to rsync the /cfg (5. partition) to the other side. Numerous cache files were transferred, which I don't see as crucial, but maybe some other crucial file jumped over as well. After rebooting this time, everything was fine again.
SIGH

Well, at least I am convinced now, that the music is dependent from not only the contents of the /data map, but also of the /cfg map.

And I hope I will save someone some trouble with this.
BTW: the files ZCFGDB and ZPROFDB should be left alone, and not overwritten on the target, as they are unique for the unit. (Sure, I overwrote them of course)

PS: anyone with an Olive 0xHD tried http:///builtDhtmlx.php ?
post #2280 of 2926
Quote:
Originally Posted by mkjelsbe View Post

Realize this is an old post, but just came across it and was thrilled that I might finally be able to access the files on my Olive -- most of the nearly 1000 CDs in my Olive have been loaded to my computer already, but not with all the extensive metadata editing I did on the Olive.

So I downloaded XBMC to both my Mac and PC, but when I "browse," the Olive does not show up, nor does it recognize its assigned network address (10.0.0.4) when I put it in manually. I know the Olive is connected, because I can edit metadata using Maestro and add files to it via the "Connect to server..." import folder from both computers.

Any suggestions would be much appreciated. Thanks.

Hi mkjelsbe,

de-install XBMC 11.0 and try XBMC 10.1 !

regards
Mats
New Posts  All Forums:Forum Nav:
  Return Home
AVS › AVS Forum › Audio › CD Players & Dedicated Music Transports › "Official" Olive Thread Opus 4, Opus 6, Melody 2, Olive 2, Olive 4/ 4HD, 06HD