We built network wireshark appliances that are diskless and boot Linux (Debian) from the network. We can deploy these appliances very quickly with little setup. The appliances have 6 ethernet interfaces (2 on motherboard and 4 on NIC). We use one interface to boot the system, and the rest are used to monitor network traffic …
November 2013 archive
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=47
Nov 13 2013
Cisco EEM Script to Notify of Heat Issues via Email
By adding the following to a Cisco 6500 switch, you will get an email notification when heat becomes a problem in your data closet. Then another notification when the heat is no longer an issue. event manager environment _email_to email@some.com event manager environment _email_from switchname event manager environment _email_server 10.10.10.10 no event manager applet HEAT …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=39
Nov 12 2013
How to Reset MySQL root Password
I don’t know how many times I have forgotten passwords, you would think I would learn to keep them safe somewhere. Well, if you are forgetful like me, here is how to reset the root password of mysql. #/etc/init.d/mysql stop #mysqld_safe –skip-grant-tables & #mysql -u root mysql> use mysql; mysql> update user set password=PASSWORD(“newpass”) where …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=7
Nov 12 2013
Fix Cisco LMS Filesystem Errors
We have in the past run into problem where our Cisco LMS 4.2 would not boot after a crash or power outage. This problem is due to filesystem errors and inconsistencies due to an ungraceful shutdown. We run ours in a VM guest. Here is how to fix this problem: Power off the Cisco LMS …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=21
Nov 12 2013
FreeNAS Add ISCSI Extents
I use this script to quicly add an ISCSI target cloned from a snapshot. This still needs a lot of work, but the intent is to have an automated process create ISCSI targets for diskless station to boot from. The script takes 2 args: #./addiscsi identifier what-to-clone #./addiscsi newname iscsi-win7x86 #!/bin/bash if [ -z $1 …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=18
Nov 12 2013
Create MySQL DB
The following is a quick example on how to create a database in mysql. You would type secctions in blue. #mysql -u root -p Enter password: Create a DB called blogger1 mysql> create database blogger1; Allow user ‘xyz’ with password ‘xyzpassword’ access to server mysql> grant usage on *.* to xyz@localhost identified by ‘xyzpassword’; Allow …
Permanent link to this article: https://daherlabs.mywire.org/wordpress/?p=13