Linux

Linux stuff

If you have a NETGEAR Readynas NAS and you want to migrate your data to a bigger disk, there is not too much information in the Netgear Forum about how to do it. Here is how you can do it. You will require an external Linux machine (a Raspberry PI or Banana PI/Pro can do the trick) First, you have the RAID 1 set up with (i.e) 2x 2Tb disks. Attach the new disk to one of the available USB ports in the NAS. Sync the entire 2tb disk onto the new (i.e) 5Tb disk with: # dd if=/dev/sda Read more...
Error: root@datadroid:/root# apt-get update W: GPG error: http://archive.raspberrypi.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E To solve it: root@datadroid:/root# gpg --keyserver keys.gnupg.net --recv-key 82B129927FA3303E gpg: directory `/root/.gnupg' created gpg: new configuration file `/root/.gnupg/gpg.conf' created gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during Read more...
If you install duplicati on OMV for arm (raspbian), you can receive Out or memory errors. You can test the Duplicati error doing a backup or running the mozroot.exe to import a key. [root@databananaberry:~]# /usr/lib/duplicati/mozroots.exe  --import --machine --sync mozroots, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null WARNING: mozroots is deprecated, please move to cert-sync instead. Downloading from 'https://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt'... WARNING: Read more...
You can modify the default desktop manager in raspbian with: [root@dataBananaBerry:~]# update-alternatives --config x-session-manager There are 5 options for  alternative x-session-manager (that provides  /usr/bin/x-session-manager). Selecction Path Priority Status ------------------------------------------------------------ * 0 /usr/bin/startlxde 50 automatic mode 1 /usr/bin/lxsession 49  manual mode 2 /usr/bin/openbox-session 40  manual mode 3 /usr/bin/startlxde 50  manual mode Read more...
If you install a new OpenVPN config with specific namign (i.e work, home, etc) in /etc/openvpn. OpenVPN service will not enable them by default, even if you add it to the /etc/default/openvpn file, you have to enable especifically the setup you want. If you check which are the vpn services you will see: [root@dataBananaBerry:/etc/systemd/system]# systemctl |grep -i vpn openvpn.service loaded active exited OpenVPN service   But you have one setup added in openvpn folder: [root@dataBananaBerry:/root]# Read more...