dietpi fstab network

Here is what I use to mount:

sshfs#[email protected]:/mnt/HD/HD_a2/owncloud /mnt/dietpi_userdata/owncloud_data fuse defaults,allow_other,_netdev,x-systemd.automount 0 0
192.168.0.X:/mnt/HD/HD_a2 /mnt/backup nfs nofail,noauto,x-systemd.automount
//192.168.0.X/USBDisk1_1 /mnt/torrents cifs cred=/var/lib/dietpi/dietpi-drive_manager/mnt-torrents.cred,iocharset=utf8,uid=dietpi,gid=dietpi,file_mode=0666,dir_mode=0777,vers=1.0,nofail,noauto,x-systemd.automount

How to fix autounpack in rutorrent

If your autounpack is not working after rtorrent has finished with the download make sure that tasks folder has permissions 0777.

chmod 0777 /var/www/rutorrent/share/settings/tasks

Midnight commander mc not showing in default colors in GNU screen

If you are using GNU screen and you notice that while MC is showing in default blue color for root but not for the user the easy fix would be to try this:

TERMCAP='' /usr/bin/mc --skin=default

If this works for you and mc is showing in color then you can setup an alias in your .bashrc like:

alias mc='TERMCAP="" /usr/bin/mc --skin=default'

do the reload of .bashrc with:

source .bashrc

Then the next time you run mc from with your user it should be displayed in default color instead of black and white.

OGA – Odroid Go Advance replace glass screen lens

I ordered my Odroid Go Advance back in January 2020 and since it was sold out I had to wait couple months for new batch to be produced. It was well worth the wait because I got delivered the new BE (Black Edition) with added L2 and R2 buttons and WiFi which was great.

If you are interested in getting one I can recommend ameriDroid for their great service and customer communication. You can check it out on this link.

After some couple of months of use I noticed that the plastic lens protecting the LCD screen is getting these small scratches and smudges and it started to bother me.

I saw this video where this user replaced his plastic lens with glass one and I wanted to try the same but Amaozon links show that product was no longer available.

eBay came to the rescue and I found it at dazzlestore.2016 and I ordered the silver one I thought it would look cooler than the black frame.

I can not recommend this screen lens enough it is made of high quality glass with 2.5D polish so it looks really slick. Image quality is a lot better with this lens and viewing experience is greatly enhanced.

It’s fairly easy to replace it, you just need plastic suction to remove the existing plastic lens then you can peel off the adhesive and mount glass lens to your OGA.

The photo does not do the lens justice since it looks a lot better than the picture.

Add IP to CirrOS manually if DHCP fails

If CirrOS is not getting IP address automatically from Neutron because of some issue or simply DHCP is disabled for subnet then you can use:

ip a add <address/mask> dev eth0

To add IP address and mask to eth0. You will also need default route:

ip r add 0.0.0.0/0 <default_gw> dev eth0