12
Return to list Post new posts
Author: mk_munich

OpenELEC Build

[Copy link]

1

threads

12

posts

94

credits

Registered member

Rank: 2

credits
94
 Author| Published in 2016-8-22 16:10:06 | Show all floors
Hi all,

to 3) I'm running OpenELEC from xd card. This card is read-only, so no SSH key could be written. Could this be a problem?
I guess, that even if I would install OpenELEC on EEPROM, the file system would remain read-only, because it is OpenELEC philosophy, that at least root file systm can not get changed.

Does anybody succeeded connecting remotely to his opi* device using SSH? Which tool & which settings were used?
Appreciate your help.

Best Regards
mk_munich

0

threads

13

posts

182

credits

Registered member

Rank: 2

credits
182
Published in 2016-8-22 16:35:48 | Show all floors
mk_munich replied at 2016-8-22 16:10
Hi all,

to 3) I'm running OpenELEC from xd card. This card is read-only, so no SSH key could be wri ...

What do you mean by "from xd card. This card is read-only"? Opi uses micro cards, they have no hardware switch. The boot/system partition is read-only (you can change that via remount, BTW), the /storage partition with the user data is not. The /storage partition is also on the microSD card by default. I set 'ssh' to 'on' in the preferences section of the GUI and login via ssh all the time. No tools needed.

1

threads

12

posts

94

credits

Registered member

Rank: 2

credits
94
 Author| Published in 2016-8-22 17:23:18 | Show all floors
@Christian_S: thanks for this hint.
'xd card' was a misspelling... 'sd card' was intention, but you're right: 'microSD card' is the correct term ;-)

I tried 'ssh' in my Ubuntu installed in VirtualBox and this is working :-)
I got a message from ssh:
   The authenticity of host '192.168.123.56 (192.168.123.56)' can't be established.
   ECDSA key fingerprint is SHA256:mz..............
   Are you sure you want to continue connecting (yes/no)? yes
   Warning: Permanently added '192.168.123.56' (ECDSA) to the list of known hosts.
After 'yes', I got the password prompt for root.


/storage is writeable. But / is not. How to get into /boot/system as /boot is not present?
I'm newbie ;-)

3

threads

165

posts

1203

credits

Gold member

Rank: 6Rank: 6

credits
1203
Published in 2016-8-22 20:17:20 from mobile | Show all floors
I never had any problems with putty...

1

threads

12

posts

94

credits

Registered member

Rank: 2

credits
94
 Author| Published in 2016-8-22 20:49:40 | Show all floors
... me too :-) It's strange, but the workaround is OK for me.

0

threads

13

posts

182

credits

Registered member

Rank: 2

credits
182
Published in 2016-8-22 21:49:42 | Show all floors
Edited by Christian_S at 2016-8-22 22:03
mk_munich replied at 2016-8-22 17:23
@Christian_S: thanks for this hint.
'xd card' was a misspelling... 'sd card' was intention, but you' ...


Regarding ssh:

You get this warning because the server is new to the client. This is a safeguard measure, as the server could be compromised. You will get this message again if you install a new version of Openelec, as it will have a new ssh server id. You can normally just add the new server key to the list of known hosts.

As /storage is the "home" directory and writable, you can create a '.ssh' directory and copy your client key to the 'authorized_keys' file. Then you don't have to login via password.


Regarding boot partition, which is the 1. on the SD card, called /dev/mmcblk0p1:

It's mounted as /flash
(/dev/mmcblk0p1 on /flash type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=ascii,shortname=mixed,utf8,errors=continue))

Type in 'mount' to see the mountpoints.

You can remount the partition with 'mount -o remount,rw /flash', but be warned! Making wrong modifications will make the system unbootable and you have to repair it by inserting the microSD card into another system and correct the modifications.

The "system" is in one file, mounted via /dev/loop0, type squashfs. You cannot make modifications there, like adding a firmware to /lib/firmware. You would have to "repackage" the whole system.

1

threads

12

posts

94

credits

Registered member

Rank: 2

credits
94
 Author| Published in 2016-8-23 01:28:03 | Show all floors
This is great. I checked the putty link on my PC and it is pointing to an older version. After I updated putty to actual version 0.67 it is working. Many thanks also for your explanation.

4

threads

1118

posts

9497

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9497
Published in 2016-8-23 01:43:16 | Show all floors
About 4K decoding - datasheet states that only HEVC is supported for 4K.

1

threads

12

posts

94

credits

Registered member

Rank: 2

credits
94
 Author| Published in 2016-8-24 02:01:49 | Show all floors
I've tested an other HEVC coded movie "SHANE_ONEIL 4K24p_HEVC_10Mbits.mkv" (Codec: MPEG-H Part2/HEVC (H.265) (hevc), 10 bit, size: 3840x2176, 24 fps). This one is played by my opipc. VLC on my PC does play audio (41kHz) only.

Would an USB DVB-T2 stick work in OpenELEC? In Germany broadcast is done with codec HEVC; this is why all PVR (e.g. Vu Duo) are struggling today.

4

threads

1118

posts

9497

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
9497
Published in 2016-8-24 02:13:40 | Show all floors
mk_munich replied at 2016-8-23 19:01
I've tested an other HEVC coded movie "SHANE_ONEIL 4K24p_HEVC_10Mbits.mkv" (Codec: MPEG-H Part2/HEVC ...

Your video is SW decoded. Check with pressing "o". If it has word "cedarx" in name, then it is HW decoded. 10 bit HEVC is not supported.

You must ask others about DVB as I don't have one. But I can tell you that there is no way to make everyone happy. Some likes backported media drivers and some don't because kernel lose support for already supported drivers... Well, the only way would be to have mainline kernel, but it is not good enough yet to run something like Kodi (a lot of missing drivers).

12
Return to list Post new posts
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list