Category: Linux Luvin’

DD-WRT: force DHCP renew via cron

In Administration -> Management, add the following to Additional Cron Jobs. Update the schedule as needed using cron syntax.

DD-WRT: connect to specific access point by its BSSID

You might have a case where you have multiple APs broadcasting the same SSID, and you want to ensure that you connect to a specific one. DD-WRT uses wpa_supplicant, which allows us to configure out-of-band. Note that DD-WRT advertises a

Chef: use knife to bootstrap nodes with chef-zero and Berkshelf

There are many reasons why you might not want to have Chef Server in your deployment path.  Or, as this example shows, you don’t want to host your own Chef Server.  We instead use Hosted Chef, but purely as a

Fix for net-ssh requires the following gems for ed25519 support

 

  Solution:

   

macOS / OS X: Getting Python to trust certificates

I recently got a new laptop, and had some issues connecting to hosts I’d been able to connect to on my previous laptop. After much googling and no luck, I found the following info via brew info openssl :

All I needed

Install Kodi on Fire TV Stick

Allow installation from unknown sources in Fire TV. Download ADB tools (I used https://github.com/simmac/minimal_adb_fastboot). Download Kodi for ARMv7 from https://kodi.tv/download.

 

Convert docker-compose file to ECS task definiton

cat docker-compose.yml | docker run –rm -i micahhausler/container-transform If using in CloudFormation, then each key in the task definition must be capitalized. You can feed it to https://github.com/ameir/upkey in order to do that for you.

Install Windows Using netboot.xyz

First, get source machine ready to provide Windows installer to target machine. ISO_DIR=~/Downloads # disable firewall (I’m on macOS; do the equivalent on your OS) sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 0 cd $ISO_DIR # launch Samba container to share

Access your AWS credentials within a container

Quick and easy parallel rsync

rsync is great, but one thing it doesn’t necessarily excel at is speed. Don’t get me wrong, it plenty fast in most cases, but there are plenty of opportunities to parallelize transfers and help saturate your pipe, but rsync is

Top