-
Archives
- April 2025
- October 2024
- June 2024
- February 2024
- July 2023
- June 2023
- April 2023
- February 2023
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- June 2021
- March 2021
- October 2018
- December 2017
- November 2017
- October 2017
- August 2017
- July 2017
- May 2017
- March 2017
- February 2017
- January 2017
- December 2016
- June 2014
-
Meta
Author Archives: Robert
European situation – Special military operation
My father was born in 1935. He lived his childhood in Rotterdam. As a 5 year old he expirienced firsthand the invasion of German troops of his beloved city. The expirience of the entire war that followed, hunted him for … Continue reading
Posted in CCNP
Comments Off on European situation – Special military operation
Laptop battery status
Recently the battery of my laptop is play up. It is constantly hungry for a powercord. And this is not the reason why I am using a laptop. The battery health was rapidly declining. So I installed a new laptop … Continue reading
lstty: list tty interfaces on linux
I found this little script on internet to get a list of all the usb connected devices. Unfortunaltly this script provides too much information for what I need it to do. Original script can be found on : https://unix.stackexchange.com/questions/144029/command-to-determine-ports-of-a-device-like-dev-ttyusb0 Pay … Continue reading
Bash: IF shorthand
We all know how to make an if then else decision in programming or scripting languages. In bash , and most other languages it is possible to reduce several lines of code to a one-liners. Lets call that short-hand. A … Continue reading
Remove SSH host keys from known_hosts file
As a nwetwork admin you have to replace hardware because it’s faulty or of old age. After replacing the hardware , you will be warned of a man-in-the-middle attack while gaining access using SSH. Warning looks like: $ ssh some-host … Continue reading
Comments Off on Remove SSH host keys from known_hosts file
Multiple patterns with expect. Handling a SSH login dialog.
When automating network tasks, you a can hit a node which you have not logged on earlier. Using SSH you will end up in a dialog where the ssh client wants to add ssh-key to the known key list. You … Continue reading
Posted in TCL/Expect
Comments Off on Multiple patterns with expect. Handling a SSH login dialog.
Custom logfile on Juniper
Recently I placed a switch for a project. And now I want to see how often the switch is used by wired users. Lets for argument sake asume interface bounce is not handled by the standard log files. Juniper provides … Continue reading
Posted in Commands, Juniper
2 Comments
Pre-shared key on Cisco ASA55x0
Cisco devices store password crypted when “service password-encryption” is turned on. You should enable this on your network equipment. You want to give imposters a hard time, so this is behavior you want. Last week I found out a astonishing … Continue reading
Posted in security
Comments Off on Pre-shared key on Cisco ASA55x0
Cisco TCL – ping script.
In an earlier blog I wrote about a tiny hello world script. Now I want to raise the bar a little bit, by creating a ping script. After a quick search on the internet I found a several kinds of … Continue reading
Posted in cisco
Tagged lab, script, simulation, tcl, tclsh cisco
Comments Off on Cisco TCL – ping script.
Cisco TCL – first steps… Hello world
For some time Cisco offers TCL shell on their equipment. This is awesome, because sometimes you need a single command to retrieve information whereas IOS demands you to enter one or more commands. But before we get lots in possibilities … Continue reading