Advanced Search
Search Results
441 total results found
Upgrading Fedora
(2019-03-18) Problem I want to update Fedora to another version. In General It is recommended to upgrade to the next version and not skip versions. Single-hop upgrades (27->28) are supported; double-hop upgrades (26->28) are supported for 30 days after the ini...
DHCP Reservation Not Working
A: dhclient now supports RFC-4361! (Please note that this is an answer to a question nobody asked.) Q: My Fedora Core system won't pick up a DHCP lease reservation! (Also: my dual-booting Fedora Core system won't pick up the same DHCP lease that the other OS o...
Running Fetchmail
Simple, in crontab: # /opt/sfw/bin/fetchmail -f /etc/fetchmailrc --syslog Interactively: # /opt/sfw/bin/fetchmail -v -e 5 --showdots -f /etc/fetchmailrc Switches of interest: Switch Definition -v verbose (double to see all the commands issued by fetch...
Find Tricks
Excluding stuff (say, the .snapshot directory of a find) $ find $dir -name .snapshot -prune -o -type f Dealing with names with spaces in them: $ IFS=' '; for f in $(find . -name "*mp3"); do echo command-mp3-2-ogg "$f"; done command-mp3-2-ogg ./How Long.mp3 co...
makeinfo build error
2013-05-15 Problem Building gcc 4.1.2 on CentOS 6 halts with the error: WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting the aspect of...
gcc on Solaris 8
These are some potentially useful things to know when fighting with gcc on Solaris (Solaris 8 in my case). I keep having to go off and learn this, so this time I'm writing the damn information down. configure --prefix=/where/to/stick/it Sometimes you might thi...
getarp
A perl script to get the ARP table out of a router. Requires Net::SNMP, Net::hostent, and Sys::Syslog getarp [-s IP [-c STRING ]] [TARGETIP] -s IP query the router at IP -c STRING use STRING as the SNMP community TARGETIP only p...
Squashing multiple commits into one
(2017-09-14) Squashing multiple commits into one: git log shows you the history: [dave@store02 ansible]$ git log commit 777574670a1c5dccc91f12320a811759163e4ff9 Author: David Mackintosh <dave@gridway.net> Date: Thu Sep 14 12:20:31 2017 -0400 davem.sh ha...
Grow Linux Filesystem
Problem I need to make a disk bigger Solution Resize the disk: $ gcloud compute disks list | grep home home us-central1-f zone 500 pd-ssd READY home-ssh-keys us-central1-f zone 400 ...
What is my Google OpenID Login URL?
Google expects you to use the "Directed Identity" feature to sign in with your Google account. Enter into the box the following string: https://www.google.com/accounts/o8/id ...and you should end up logged in as a URL at google.com with a humongous string of...
About GPG
You may have been directed to this page by Dave's email signature, and because you noticed some kind of mystery attachment to Dave's email message that your client can't or won't deal with (or even is giving you dire warnings that the attachment is evil ). Thi...
insecure memory
Basically this boils down to the application being unable to exclusively lock the memory page because it doesn't have root powers. To fix this, set-UID-root /usr/bin/gpg. # chmod 4555 /usr/bin/gpg The 'official page' at http://www.gnupg.org/faq.html is much w...
GPG Key Server Operations
The server subkeys.pgp.net is the preferred keyserver (for various reasons expounded at length elsewhere). Adding your key to the keyserver: [jupiter]gpg --send-keys --keyserver subkeys.pgp.net dave@xdroop.com gpg: success sending to `subkeys.pgp.net' (status...
GPG-aware mail clients and plugins
(Note, 2024: man, the '90s were a long time ago, right?) You may find a starting point here: www.gnupg.org/(en)/documentation/faqs.html#q4.15 Note that you'll have to copy-and-paste this URL into your browser because SnipSnap can't deal with URLs which have ...
Some Notes About Private Keys
$ gpg --list-secret-keys $ gpg -a --export-secret-key [id]
Quick Start
GnuPrivacyGuard basics These are the bare-bones instructions to get you going. Reading the documentation (online at http://www.gnupg.org/en/manual.html) is highly recommended. It is a good idea to get a buddy to go through this at the same time that you do -- ...
Greylisting's Effect
(19 March 2012) Last year when I rebuilt my server I had the opportunity to see specifically what effect greylisting was having on my inbox. Right now my mailbox is stored on a Gmail account. However I handle the MX for my zone directly, and then send the inco...
Mounting CD-ROMs
Figure out what your cdrom drive's device is. For your own peace of mind, don't use SAM, because SAM is broken in HP-11.00. [root@dusty]ioscan -fnC disk Class I H/W Path Driver S/W State H/W Type Description disk 0 10/0/...
Interface-based VPNs
(2015-03-10) Something which I realized a few years back and have not read anywhere before or since: If you are messing around with interface-based VPNs (on your JunOS or ScreenOS firewall), the temptation is to put them in the untrust zone. VPNs are untrusted...
Notes on iperf
(14 August 2012) Available on rpmforge. Basic throughput testing, TCP: run the server # iperf -s run the client # iperf -c 10.0.0.22 ------------------------------------------------------------ Client connecting to 10.0.0.22, TCP port 50...