Posts

Plex mediaserver update

Manual update: wget package name (download it from plex) dpkg -i packagename Auto update: mrworf/plexupdate: Plex Update script to simplify the life of Linux Plex Media Server users. (github.com)

/etc/rc.local hdparm disk spindown asetukset

#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # hdparm -B255 -S60 /dev/sdb # set disk spindown timers to 1,5 hours (-S243) or 1h (-S242) or 30min (-S241) # to check spin status: "hdparm -C /dev/sd?" # hdparm -S242 /dev/sdb & # hdparm -S242 /dev/sdc & # hdparm -S242 /dev/sdd & # hdparm -S242 /dev/sde & # hdparm -S242 /dev/sdf & # hdparm -S242 /dev/sdg & # hdparm -S242 /dev/sdh & # hdparm -S242 /dev/sdi & # hdparm -S242 /dev/sdj & # hdparm -S242 /dev/sdk & # hdparm -S242 /dev/sdl & # hdparm -B255 -S60 /dev/sdb # TOIMII hdparm -B253 -S242 /dev/sdb hdparm -B127 -S241 /dev/sdb hdparm -S241 /dev/sda #toimii WD Whiteillä exit 0

hdparm HDD Spindown

1. Edit your system's startup file Open up a terminal window, if your are using Linux Mint copy/paste the following: sudo pluma /etc/rc.local on Ubuntu use sudo gedit /etc/rc.local The difference is just in the standard graphical text editor application installed. You can of course install pluma on Ubuntu or gedit on Linux Mint if you like. 2. Composing the right command In a terminal window type hdparm -B /dev/sd? The drives that are set to a value higher than 127 (except 255) won't spin down, the drives that show "not supported" either manage this value on their own or are that old that they are not supporting power management at all. Talking about sata disks, the former is the most possible reason. To set the drive to the highest power saving level with the highest performance and yet allow it to spin down after 15 minutes type the following command in your rc.local file. Product and Serial being the output from sudo lshw -class disk hdparm -B...

NTFS levyn mounttaaminen Ubuntu 18.04

Edit your fstab: sudo nano /etc/fstab Find your HDD UUID: UUIDs can be found in /dev/disk/by-uuid/ (usually map to /dev/sd*) Enter following line to fstab: UUID=<your uuid> /mnt/mountingpoint ntfs-3g permissions,defaults 0 2  Test to see if it mounts:  sudo mount -a

Windows Ubuntu SSH yhteyden korjaaminen

sudo apt-get purge openssh-server sudo apt-get install openssh-server sudo nano /etc/ssh/sshd_config and disallow root login by setting PermitRootLogin no Then add a line beneath it that says: AllowUsers yourusername and make sure PasswordAuthentication is set to yes if you want to login using a password. Disable privilege separation by adding/modifying : UsePrivilegeSeparation no sudo service ssh --full-restart Connect to your Linux subsystem from Windows using a ssh client like PuTTY.

DVB Viewer + Media Server asennus

DVB Viewer Media Server asennuksen jälkeen tulee valita media server asetuksista: Yle kanaville tekstitys päälle: Netti/UPnP -> Suoratoistopalvelin -> DVB-Tekstit CI-moduuli pois (aiheuttaa TBS korteilla kaatuilua): Laitteet -> joka virittimeltä erikseen CI-moduuli ruksi pois

OSMC Windows levyn mounttaaminen

nano /root/.smbpass kirjoita tiedostoon: username=//192.168.0.10/username password=yourpassword tallenna (Ctrl-X ja Y) nano /etc/fstab Kirjoita tiedostoon viimeiselle riville: //192.168.0.10/winjako /mnt/mountpoint cifs credentials=/root/.smbpass,vers=2.0 0 0 mount -a

TVHEADEND / TBS 6205 kuvan pikselöitymiseen / korruptoitumiseen

I got this response from TBS support to try a different driver set...  sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/ wget http://www.tbsiptv.com/download/common/tbs-linux-drivers_v170330.zip unzip tbs-linux-drivers_v170330.zip tar jxvf linux-tbs-drivers.tar.bz2 cd linux-tbs-drivers  ./v4l/tbs-x86_64.sh  make -j4  make install  reboot and they also said and set your system like this : create text file "/etc/modprobe.d/tbs.conf" with line: options tbs_pcie-dvb tbs_int_type=1 options saa716x_tbs-dvb int_type=1 after reboot, check with "cat /proc/interrupts" that it reports MSI for TBS PCIE.

CD/DVD mounttaaminen Ubuntu serveriin

Pistä levy sisään Tarkasta asennetut asemat: lsblk tai dmesg | egrep -i --color 'cdrom|dvd|cd/rw|writer' mounttaa asema: mount -t iso9660 -o ro /dev/sr0 /mnt/cdrom mene hakemistoon /mnt/cdrom VASTA sen jälkeen, kun olet mountannut sen.

Windows 10 samba jaon mounttaaminen Ubuntu Serveriin

nano /etc/fstab lisää rivi: //192.168.0.10/jakonimi /mnt/mounttikansio cifs username=omakäyttäjänimi,password=omasalasana,iocharset=utf8,sec=ntlm 0 0 Vaihtoehtoinen keino: Create a credential file /root/smbpass.txt username=MyUsername password=MyPassword  chmod 600 /root/smbpass.txt nano /etc/fstab: //HostName/MyShare /mnt/MyMountPoint cifs credentials=/root/smbpass.txt 0 0 Testaa onnistuko mounttaus komennolla: mount -a