Is LibreELEC also Debian based? Or even Raspbian based?
Nope. The stuff in /sys comes from the linux kernel, not the distribution.
Is LibreELEC also Debian based? Or even Raspbian based?
Nope. The stuff in /sys comes from the linux kernel, not the distribution.
@Grimson
It's quite interesting to read that you logged the user/pass variations. Is it hard to achieve? I'm running a Banana Pi Seafile server and would also like to have this kind of logs after reading your post. Is there a guide/tutorial you could recommend (for linux noobs who can follow guides)?
There is no guide I'm aware of, you will need coding experience:
First you'll need to modify the OpenSSH (or whatever ssh daemon you use) source code to log the passwords on failed attempts, then you'll have the log data in "/var/log/auth.log". Some ssh daemons might log the passwords in high debug log levels, but this will likely explode the size of your log file, so editing the source to log the passwords in the normal log level is always advised.
From there it's up to you on how you handle it. I've created a file parser in PHP, that is called by cron and writes the failed attempts into a mysql database. From there I can easily manage the data and display statistics and search for specific entries in a custom PHP based web interface. You don't have to use PHP for this, but I personally prefer it when working with mysql and simple file operations.
You can read here: ext2-ext3-ext4 this page also shows you how to convert ext3 to ext4 without having to format the drive.
Not from within Kodi, but after a reboot: LibreELEC
Has the whole storage partition become readonly too? Because that would be a pretty good magic trick.
Not really magic. If the kernel detects write errors on a partition (filling it completely will cause write errors) it switches the partition to read only, to prevent data corruption.
Boot your box with a live linux from SD/USB, clean the crap from the storage partition and run an fsck. This will give you a chance to recover most of it.
May the NTFS be a culprit of this slow speed? If yes, even then it is weird that read from HDD is 80-90MB/s and write is only 20-30MB/s.
And will I have access to that HDD from win10 over LAN if I reformat it to ext3 ? I think yes, because of Samba will handle it, but rather ask for sure
The free NTFS driver in Linux is quite crappy, so it's quite possible. Of course you can still access it over samba.
I tried everything in the samba.conf, "write list", "read list", and much more. but I came to "passdb backend = smbpasswd" in the samba.conf.sample and do not understand how users are handled in LE. "smbpasswd" can be executed but fails to create new user due to readonly file system and I do not find a samba user db......
That's because LE is not designed as a multi-user system, plain and simple.
What are the valid build-in samba users that I can use to log in and then link write/read rights to in samba.conf??
I am confused! Somebody can help me ?
If you want more users you'll have to compile LE yourself and change the build system to generate more users at build time.
Sorry, forgot to write....its NTFS
Bad choice. Reformat as ext3 at least.
Thank you for your suggestion.
I was wondering if you could recommend a good combination of OS and mysql solution!?
I have a spare RPi3 that I could make as a server. Isn't best to compile the mysql myself on an OS, like OSMC, or should I run LibreELEC and install vpeter 's LAMP addon?!Thank you in advance.
Raspbian Lite or Snappy Ubuntu Core work quite well. As for the database, either MySQL or MariaDB is fine.
If you want to manage the database through your browser instead of the command line you can install a web server (like Apache) and PHP, then use for example phpMyAdmin.
Quote from Simorgh
Can you run MYSQL server on one machine and that does not have kodi, and manage the kodi database on another machine?!
Sure, it's just a run of the mill database server.
- On the board: Pi2 has Raspberry Pi 2 printed on the board near the GPIO connector – and mine has this.
- CPU: What CPU does it have.The site indicated that Pi B+ has BCM2835, whereas Pi2 & Pi3 have BCM2836 or higher. My Pi CPU is a BCM2837.
Looks like you have an Pi2+ (see here: http://forum.kodi.tv/showthread.php?tid=269814&pid=2420617#pid2420617), so try one of the current Milhouse builds or an LE alpha build. The firmware in LE 7.0.2 doesn't support the Pi2+.
Those are the LE alphas, which contain the Krypton betas since version 7.90.005. So everything looks fine.
- copy between directories through KODI's file manager on internal HDD in htpc PC running LE 7.0.2 fresh install - speed was about 25-35MB/s
As this is copying locally: SMB, even the whole network, isn't involved. So it's either a slow HDD or an compatibility/driver issue with the SATA chipset.
AFAIK the am1h-itx has 4 SATA ports, two controlled by the boards AMD chipset, two controlled by an ASMedia chip. So I would suggest to try the HDD on a different SATA port, for example if it's currently connected to a port controlled by the ASMedia chip use one controlled by the AMD chipset and vice versa.
so...why I can copy from HTPC to windows pc with minimal speed of 60MB/s, but writing is only about 20-30MB/s, even on libreelec?
Because the read speed on HDDs is usually much higher than the write speed.
Another question: is possibile to configure wifi to use 5ghz (i'm using integrated wifi chipset on P3 B ) ?
Read the specifications of the RPi3 and you'll have your answer.
Maybe there is a way to reduce what subnet blocks that can SSH into LibreELEC then?
Well, then autostart.sh and iptables are the things you need to check and learn next.
Same issue with a Raspberry Pi 2 and 2 différents SD cards (Sandisk Class 10/No name).
I tried, like Grimson has suggested it, the RPi1 image, and everything works perfectly! Muchas gracias!!!
Well then you have an RPi 1 B+ and not an RPi2.