remote-lab.net learn by doing

Blacklisting Linux kernel modules using the grub command line

In order the prevent certain modules from being loaded by the kernel using the grub command line you need to pass them as a parameter to the kernel line using the below syntax. It can be useful when you cannot access the OS file system so that you can edit a blacklist with the modules you don’t want to be loaded

Append and prepend using sed

Below is a small example that uses sed to create null routes based on the domain name. It can be useful when the domain name resolves to multiple IP addresses :

Cisco IOS Scripting with TCL - Cisco 871 example

In today’s post I will briefly introduce with a simple example how TCL scripting language can be used with the Cisco IOS. Starting with IOS version 12.3(2)T the TCL shell was integrated into Cisco’s IOS. Basically it provides a TCL shell environment where you can make use of all the TCL functions, process variables and configure your Cisco device with the help of these.

Cisco IOS disable paging

A nice tip I found about today is how to get rid of the space scrolling when showing a config, log, etc. This may be useful when you want to copy the configuration to a text editor and you don’t want to press space so many times to scroll until the end. 

Debug Cisco laggy 3G Modem

I am writing this post as I’ve been having these strange issues with my backup 3G Internet link. My primary data provider was down for approximately 2 days so as I presented in this tutorial my router automatically failovers to the backup 3G data. The dynamic failover got in place just fine but after a couple of minutes of using the link it suddenly got stuck.