Posts

Pi Print Server

Pi Print Server https://www.tomshardware.com/how-to/raspberry-pi-print-server 1. Install Pi OS  Raspberry Pi OS Lite 2. Install and update Pi. curl https://get.pimoroni.com/uptodate | bash 3. Update Pi firmware.   sudo rpi-update 4. Install the Common Unix Print System (CUPS) software.  sudo apt install cups 5. Add the default user, pi to the group of users which can use printers.  sudo usermod -a -G lpadmin pi 6. Configure CUPS so that it is accessible across the network.  sudo cupsctl --remote-any 7. login http://pi:631

Windows 10 switch to ACHI without reinstall

  Click the Start Button and type  cmd Right-click the result and select  Run as administrator Type this command and press ENTER:  bcdedit /set {current} safeboot minimal (ALT:  bcdedit /set safeboot minimal) Restart the computer and enter BIOS Setup Change the SATA Operation mode to AHCI from either IDE or RAID Save changes and exit Setup and Windows will automatically boot to Safe Mode. Right-click the Windows Start Menu once more. Choose  Command Prompt (Admin) . Type this command and press ENTER:  bcdedit /deletevalue {current} safeboot  (ALT:  bcdedit /deletevalue safeboot) Reboot once more and Windows will automatically start with AHCI drivers enabled.

DNS MADE EASY Monitoring IPs

  For your information, below is the list of networks our monitoring services will check your primary IP address from: 208.94.147.0/24 208.94.150.0/24 208.94.151.0/24 96.45.91.0/24 96.45.92.0/24 96.45.93.0/24

Fix Xpenology Add root account, fix CPU info and update error

Enable SSH and login  sudo su Fix CUP info curl -SLO https://github.com/FOXBI/ch_cpuinfo/raw/master/ch_cpuinfo_2.2.1/ch_cpuinfo.tar && tar xvf ch_cpuinfo.tar && chmod 755 ch_cpuinfo && ./ch_cpuinfo Fix update error  update restart at 93% curl -SLO https://wp.gxnas.com/wp-content/uploads/2020/07/FixSynoboot.sh && mv FixSynoboot.sh /usr/local/etc/rc.d/ && chmod 755 /usr/local/etc/rc.d/FixSynoboot.sh Enable root account and add password 123456. chmod 755 /etc/ssh/sshd_config && sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/g' /etc/ssh/sshd_config && synouser --setpw root 123456

Xpenology enables transcoding

 https://github.com/likeadoc/synocodectool-patch This patch enables transcoding on Synologys DiskStation Manager 6+ without a valid serial number. The structure is loosely based on  https://github.com/keylase/nvidia-patch Requirements: DiskStation Manager 6 or higher Your serial number must be in the proper format (e.g. XXXXPDNXXXXXX for DS918+, XXXXODNXXXXXX for DS3617xs, XXXXLWNXXXXXX for 3615xs) x86-64 based SSH/Terminal Access sudo/root sudo su cd /temp Downloading and making script executable wget https://raw.githubusercontent.com/likeadoc/synocodectool-patch/master/patch.sh chmod +x patch.sh Patching synocodectool This patch performs a backup of the original file prior to making changes. sudo ./patch.sh -p Restoring original file If something goes horribly wrong restoring the original file is possible bash ./patch.sh -r Synopsis # sudo ./patch.sh -h SYNOPSIS patch.sh [-h] [-p|-r|-l] DESCRIPTION Patch to enable transcoding without a valid serial in DSM 6+ -h...
  How can I regain high amounts of reserved memory when looking in DSM's Resource Monitor?   Add disable_mtrr_trim to the ' set common_args_3615 ' line in the  grub.cfg  file contained in the loader (applicable to jun's loader). It should look something like this: set common_args_3615='disable_mtrr_trim syno_hdd_powerup_seq=0 HddHotplug=0 syno_hw_version=DS3615xs vender_format_version=2 console=ttyS0,115200n8 withefi elevator=elevator quiet' That should give you back all the reserved RAM.   Note :  DS3617xs use ' set common_args_3617 ' and DS916+ uses ' set common_args_916 '

Synology Transmission Config

  Restart Transmission from Synology Terminal /var/packages/transmission/scripts/ start - stop - status stop / var /packages/transmission/scripts/ start - stop - status start Transmission Config Location for Synology from SynoCommunity The base directory is: /volume1/ @appstore /transmission Most settings/config file and torrents are stored under: /volume1/ @appstore /transmission/ var /volume1/ @appstore /transmission/ var/torrents To edit these files, you need  sudo  permission. For example: "watch-dir" : "/volume2/data_2/torrents-watch" , "watch-dir-enabled" : true

Synology - How can I improve performance or disconnection issues of iSCSI LUNs?

Image
  How can I improve performance or disconnection issues of iSCSI LUNs? If you encounter the following issues when using iSCSI LUNs on VMware, Microsoft Windows, etc. hosts, we suggest performing troubleshooting by following the instructions in this article: Poor iSCSI LUN performance on the host Sudden disconnection from the iSCSI target or connection failure on the host Warning of high latency of iSCSI LUN on the host Connection timeout notification on the host Troubleshooting If you are using RAID 5, 6, F1 or SHR with more than three drives, please go to  Storage Manager  >  Storage Pool , select a storage pool and click  Action  >  Change Settings  to select  Smaller stripe cache size . Note: Since random read/write capability is usually emphasized in virtualization environments, selecting smaller stripe cache size can help reduce the read/write latency. However, this may compromise the I/O throughput and RAID resync speed. If the is...

Xpenology DS918+ 6.2.3 update 3 Enable NVME Cache

 Xpenology DS918+ 6.2.3 update 3 Enable NVME Cache https://bit.ly/3hnZTeQ download the patch file to NAS patch directory and run the command belowe. cp /volume1/patch/libsynonvme.so.1 /usr/lib64/libsynonvme.so.1 chmod 755 /usr/lib64/libsynonvme.so.1

Xpenology CPU incorrect

 https://github.com/FOXBI/ch_cpuinfo Xpenology incorrect CPU information patch Download attached file on your PC (ch_cpuinfo.tar) Upload file to your DSM location (by filestation, sftp, webdav etc....) Connect to ssh by admin account. (dsm > control panel > terminal & snmp > terminal > enable ssh check) Switch user to root: sudo su - (input admin password) Change directory to where  ch_cpuinfo.tar  file is located: cd /volume1/temp Decompress file & check file: tar xvf ch_cpuinfo.tar ls -lrt chmod 755 ch_cpuinfo (check root’s run auth) Run to Binary file ./ch_cpuinfo or ./ch_cpuinfo.sh (If you use busybox in 5.x, you can use it as a source file) When you execute it, proceed according to the description that is output. Check your DSM’s CPU name, CPU cores at  information center

Xpenology DSM 6.2.3 update update error at 93%

Image
  Xpenology DSM 6.2.3 update update error at 93% THE FILE COULD NOT UPDATE. THIS IS PROBABLY CORRUPT THE ARCHIVE. https://bit.ly/2KXGUMa Download the attached FixSynoboot.sh script and save it to share folder.  find the file location, from the file station, /volume1/patch/FixSynoboot.sh 3. Open Task Scheduler and create User-defined script under Triggered Task 4. User-defined-script enter the line below and click ok to save it. cp  /volume1/patch/FixSynoboot.sh  /usr/local/etc/rc.d/FixSynoboot.sh chmod 755 /usr/local/etc/rc.d/FixSynoboot.sh 5. Right click to run it 6. reboot the Xpenology and run the update again.

How to Control Synology DSM Services via Terminal / SSH

https://tech.setepontos.com/2018/03/25/control-synology-dsm-services-via-terminal-ssh/   There are some occasions where controlling your Synology’s services via the command line is just necessary. Here are the main commands for doing this and the package list for some of the most used DSM apps. Note that you need elevated permissions to issue these commands, use  sudo -i  for simplicity. General Command Line commands for handling DSM Services: synoservicecfg --list synoservice --status synoservicecfg --stop <service> synoservicecfg --hard-stop <service> synoservicecfg --start <service> synoservicecfg --hard-start <service> synoservice --restart <service> synoservicectl --restart <service> For example, this will restart  WebStation  altogether: Advertisement synoservice --restart pkgctl-WebStation or  Docker : synoservice --restart pkgctl-Docker   DSM Services & Package Services: DSM apparmor atalk avahi bluetooth...

Activate Synology Active Backup for Business for DSM 6

 Activate Synology Active Backup for Business with Xpenology DSM  https://gist.github.com/igresc/91e468f3d2ad5f2f7407262ba6f0dd56 Install the package and run the URL below on the browser . Active Backup for Business 1. Replace the IP, username, and password  http:// 192.168.0.1 :5000/webapi/auth.cgi?api=SYNO.API.Auth&method=Login&version=1&account= admin &passwd= password {"success":true} 2. Replace IP and Serial http:// 192.168.0.1 :5000/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number= 1780PDN123456 {"data":{"activated":true},"success":true} Active Backup for G Suite 1. Replace IP http:// 192.168.0.1 :5000/webapi/entry.cgi?api=SYNO.ActiveBackupGSuite&method=get_activation&version=1 {"data":{"activated":false,"serial_number":"1780PDN123456"},"success":true} 2. Replace IP and Serial 1. Replace IP http:// 19...

Thecus N5550 install Xpenology DSM 6.2.

  Thecus N5550 video how to for DSM 6.2  DS3615xs v 1.03b https://mega.nz/#!OV4gVKyZ!dCgfXx1bgAOyvbFwFiov3s7RSNoFuqnAcNmSllLoUiw https://youtu.be/8H4SHNTwaHI https://xpenology.com/forum/topic/12952-dsm-62-loader/ https://danielcheah.blogspot.com/2019/03/xpenology-synology-dsm-61-in-pc-part-2.html https://danielcheah.blogspot.com/search/label/Xpenology https://web.96715515.com/

How to Clear Downloads Folder Automatically in Windows 10

Image
  To   clear temporary files automatically in Windows 10 , you need to enable the new option. Open Settings and go to System -> Storage. There, you will find the option named "Storage Sense". Enable it. Next, click the link "Change how we free up space" under the switch. The related page will be opened: There, you will see a number of options. The one we need is  Delete files in my Downloads folder that haven't changed for over 30 days. Files stored in the Downloads folder for more than 30 days will be deleted for example as part of this cleanup. It is a good idea to keep this turned on. The Downloads directory continues to store old files you may not need any more and fills your disk drive with junk. When this option is enabled, Windows will delete them automatically and keep your drive clean besides saving your disk space. There are more ways to clean up your disk drive automatically, which can be used in Windows 10. Check out these articles: Clear Temp Dir...

Enable Ultimate Performance Power Plan in Windows 10

Image
  Enable Ultimate Performance Power Plan in Windows 10 Existing Power Schemes (* Active) ----------------------------------- Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e  (Balanced) Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c  (High performance) Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a  (Power saver) Power Scheme GUID: e9a42b02-d5df-448d-aa00-03f14749eb61  (Ultimate Performance) * On Windows 10 Pro, I checked to see if that power scheme GUID existed and it does, but when I tried to set it, it said not supported.  I then tried to duplicate it and that worked. I was then able to set the duplicated GUID as current, so accomplished the same result.  It even named it Ultimate Performance automatically. powercfg /DUPLICATESCHEME e9a42b02-d5df-448d-aa00-03f14749eb61 powercfg /S e9a42b02-d5df-448d-aa00-03f14749eb61 Power Scheme GUID: 2c4507ff-2e15-4ba3-a953-a393807c6a3e  (Ultimate Performance) C:\>powercfg /S 2c450...