Handy Linux commands to administer IPs and routes
Using basic network commands comes very hand when one needs to debug a networking issue, to fix a problem or to simply try out a couple of things.
This post is in no way an exhaustive list of Linux network-related commands, but tries to include a couple of the most basic ones and explain what they do.
Adding static DNS records on DD-WRT
Ever needed to manually control host/domain IPs using the hosts file? Well, good thing most computers have a hosts file, but what do you do with other devices that do not support such a feature.
If you’re running a DD-WRT router, by using DNSMasq the DNS change will work for all devices that connect to your router, including mobile devices.
How to exclude subfolder from password protection with .htaccess
You sometimes need to password protect a folder or an entire account/website from direct access. That’s easily done with the appropriate .htaccess file in the protected folder plus the mandatory .htpasswd file with the correct user and password combination(s).
But what do you do when you want to enable direct access to a subfolder of the protected folder?
Fixing Abduction! to work with Firefox 36+
Abduction is a great little Firefox extensions that lets you take image captures of websites. Unfortunately, changes added in Firefox 36 made the extension stop working and it now throws out an exception instead: “Not enough arguments [nsIWebBrowserPersist.saveURI]” nsresult: “0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)”
The good news is that there is a dirty fix for this problem by editing the extension itself.
Installing an IPP printer in Windows 10
Using a single USB printer on several computers isn’t the simplest task: you have to either connect the printer to each computer separately, share it from one (and start it up every time you need to use the printer) or, my personal choice, set it up on a Raspberry PI and share it with the world.
The information provided here covers the second half of the setup process – the client side of things…