Archive for category Uncategorized

Making a backup of your DD-WRT config

Assuming you have ssh enabled on your DD-WRT, and that your DD-WRT is at ddwrt.lab.test, the following will generate a shell script that can be used to restore your config:

ssh root@ddwrt.lab.test 'nvram show | grep = | cut -d"=" -f 1 | while read key; do echo nvram set $key=\"$(nvram get $key)\"; done' > ddwrt.config

Restore is then simply:

cat ddwrt.config | ssh -q root@ddwrt.lab.test


Red Hat Satellite Blog – Red Hat Customer Portal

With the ever changing landscape in IT, many enterprise environments are looking for ways to reduce or eliminate downtime, improve security, reduce footprint, and achieve application portability. Red Hat Enterprise Linux Atomic Host provides a way to achieve these goals. In this blog we cover the steps needed to setup Satellite 6 to deploy RHEL Atomic Hosts within your environment.

Leave a comment

An Introduction to Interoperability Challenges in the Modern Enterprise

The act of hooking-up a dishwasher is not unlike adding a Linux system to an existing enterprise IT environment. When you deploy a Linux system, it too needs to be “hooked-up”. As the data that flows through your environment consists of different kinds of objects (e.g. users, groups, hosts, and services) the associated identity information is not unlike the water in your dishwasher. Without this identity information(or, in the case of the dishwasher, without the water) your new machine is less than useful. Ensuring that your new system (or new dishwasher) is properly connected is important, if not essential.

Read more at the Red Hat Enterprise Linux Blog.

Leave a comment

Chrome as your desktop environment

I have an old Asus 1000HE Eee PC (32-bit, 2GB RAM, 128GB SSD).  Fedora 21 with Gnome Shell runs ok, but as I only use this netbook to browse the web, I figured I’d try to figure out how to launch Chrome as the desktop environment, cutting Gnome Shell out completely.  In the process of trying to determine which lightweight window manager I would use, I discovered that Google Chrome (my browser of choice) includes it’s own called Ash.  So, setting this up was as easy as creating a single file, and simply selecting “Chrome” as my login session from GDM.


[Desktop Entry]
Comment=Chrome Browser
Exec=/usr/bin/google-chrome --open-ash --ash-force-desktop --ash-host-window-bounds="1024x600"

This isn’t a perfect solution, but it’s pretty neat.  A few problems:

  • Triggering a download crashes the browser, as Chrome can’t launch the Gnome (GTK?) download widget
  • No battery,audio, or wifi system icons
  • Initially, the desktop was off-center.  Apparently, the netbook screen size (1024×600) was odd, so it needed to be explicitly specified with the “-bounds” parameter.

Next, I’m going to give Android-x86 a shot on this Eee PC.

Leave a comment

EL7 on old Acer Aspire 5520 Laptop

Reminder to self: When installing EL7 (RHEL7/CentOS7) on a old Acer Aspire 5520 laptop, fetch and install the following RPMs from

  • kmod-ath5k
  • kmod-nvidia-304xx-304
  • nvidia-x11-drv-304xx-304
  • kmod-forcedeth

Output of lspci (to add searchable keywords to this post):

00:00.0 RAM memory: NVIDIA Corporation MCP67 Memory Controller (rev a2)
00:01.0 ISA bridge: NVIDIA Corporation MCP67 ISA Bridge (rev a2)
00:01.1 SMBus: NVIDIA Corporation MCP67 SMBus (rev a2)
00:01.2 RAM memory: NVIDIA Corporation MCP67 Memory Controller (rev a2)
00:01.3 Co-processor: NVIDIA Corporation MCP67 Co-processor (rev a2)
00:02.0 USB controller: NVIDIA Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:02.1 USB controller: NVIDIA Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:04.0 USB controller: NVIDIA Corporation MCP67 OHCI USB 1.1 Controller (rev a2)
00:04.1 USB controller: NVIDIA Corporation MCP67 EHCI USB 2.0 Controller (rev a2)
00:06.0 IDE interface: NVIDIA Corporation MCP67 IDE Controller (rev a1)
00:07.0 Audio device: NVIDIA Corporation MCP67 High Definition Audio (rev a1)
00:08.0 PCI bridge: NVIDIA Corporation MCP67 PCI Bridge (rev a2)
00:09.0 IDE interface: NVIDIA Corporation MCP67 AHCI Controller (rev a2)
00:0a.0 Ethernet controller: NVIDIA Corporation MCP67 Ethernet (rev a2)
00:0c.0 PCI bridge: NVIDIA Corporation MCP67 PCI Express Bridge (rev a2)
00:0d.0 PCI bridge: NVIDIA Corporation MCP67 PCI Express Bridge (rev a2)
00:12.0 VGA compatible controller: NVIDIA Corporation C67 [GeForce 7000M / nForce 610M] (rev a2)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:04.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller (rev 05)
01:04.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
01:04.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 12)
01:04.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)
05:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)

Closing thought: EL7 runs really well on this ancient laptop!

Leave a comment

Merry Christmas, from the littlest Red Hatter!

ryan_the_red_hatterSome friends in NYC have given Ryan his first Red Hat!  Now, I just need to decide if his first language will be C or Python …

Leave a comment

Configuring firewalld on RHEL7 for Red Hat IdM (FreeIPA)

The following commands will create the appropriate firewall rules for a RHEL7 system running IdM/FreeIPA

#> firewall-cmd --permanent --add-service=http --add-service=https --add-service=ldap --add-service=ldaps --add-service=kerberos --add-service=kpasswd --add-service=dns --add-service=ntp

#> firewall-cmd --reload

Leave a comment

Beer won’t make you smarter, but a compound found in hops might – Quartz

5,636 bottles of beer per day?  Challenge accepted!

Leave a comment

Smith Family Distribution 4.0 Released: “Ryan Timothy”

I am pleased to announce the release of the 4.0 edition of our family distribution, code named “Ryan Timothy”. 9 months of effort has gone into this release, with the final product weighing in at 7lb 6oz and measuring 20″, and with no known bugs at release time! Development Lead Caron made several significant commits through the night, with QA support from Release Engineer Matt. The team is holding on any further commits for a while, and is doing quite well. Ryan joins previous releases (codenamed “Marie Caron”, “Brianna Theresa”, and “Amber Grace”) in a full Long Term Support life cycle, with Extended Lifecycle Support as needed.


Email Productivity Tip: Differentiate email sent “to” you, “cc”‘ing you, or including you on a list

Do you receive hundreds of emails per day, with varying levels of relevance and criticality?  Do you already apply mail filters to route certain lists or senders into folders, but still suffer with trying to triage email that doesn’t come from a one of these predefined origins?

There is no magic bullet, but I noticed a simple pattern that has provided me more gains than the low effort it took to implement:

Mail addressed directly to me, where my email address is explicitly in the “To” line, is generally more important to me than email in which I am only in the “CC” line.  Similarly, email received as part of a distribution list, where I do not explicitly appear in either “To” or “CC”, is generally of lower importance.


p>So, I have implemented a very simple set of filters to capitalize on this pattern.  Note that I have done this in the past with Thunderbird, Evolution, Outlook, and most recently with Zimbra.

  • Email where I am in the “To” field and the sender is one of a very specific set of VIPs (such as my wife or boss) gets highlighted a very bright color, like Yellow or Light Green
  • Email where I am in the “To” field gets highlighted a bright color, like Red or Blue
  • Email where I am in the “CC” field gets highlighted a lesser color, generally a pastel
  • Email where I am in neither the “To” nor the “CC” gets reduced color, such as light gray.


p>At a glance, this helps me determine what I should look at immediately, versus what can wait till later and doesn’t need to distract me now. YMMV, but I figured I would share.

Leave a comment