Skip to content

Instantly share code, notes, and snippets.

View Kyshman's full-sized avatar

Kysh Kyshman

  • Bush N Blooms
  • Kenya
  • 15:02 (UTC +03:00)
  • X @kyshman
View GitHub Profile
@Kyshman
Kyshman / Correct_GnuPG_Permission.sh
Created August 10, 2021 14:09 — forked from wongsyrone/Correct_GnuPG_Permission.sh
This fixes the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error while using Gnupg .
#!/usr/bin/env bash
# To fix the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error
# Make sure that the .gnupg directory and its contents is accessibile by your user.
chown -R $(whoami) ~/.gnupg/
# Also correct the permissions and access rights on the directory
chmod 600 ~/.gnupg/*
chmod 700 ~/.gnupg
If your ISP is using PPPoE, lets set it up in your OpenWrt. Tested with DLink DIR-300(Rev.A) with OpenWrt Backfire 10.03.1.
Edit /etc/config/network. Under “WAN” section, set the configuration with:
config 'interface' 'wan'
option 'ifname' 'eth0.2'
option 'proto' 'pppoe'
option 'username' 'your-own-username'
option 'password' 'your-own-password'
option 'defaultroute' '1'
option 'peerdns' '1'
### Keybase proof
I hereby claim:
* I am kyshman on github.
* I am kysh (https://keybase.io/kysh) on keybase.
* I have a public key ASBlFlpGYVvJxgyIzulH_nSPav4_ih6F9l4dIZ7DXrmzdwo
To claim this, I am signing this object: