Linux Random Windows

Windows 10 + WSL + Cmder + neofetch = <3

Sometimes we have no choice of what operating system we have to run in our work environments. Many of us stick to our old ways using putty or cygwin to get by. I wanted something more so I went looking and this is what I have come up with. Multiple tabbed terminal sessions and all your native linux options at your fingers tips in windows with a little added rice. 😉

First you want to install WSL and a flavor of Ubuntu from the Windows store. Once we have our ubuntu environment ready, lets update it. Launch it and run the following commands:

sudo apt-get update && apt-get upgrade

Then you will want to install neofetch in our Ubuntu environment. Follow the correct instructions for your version of Ubuntu installed.

Conemu seems to do something weird with the title display in neofetch so lets fix that first.

vi ~/.config/neofetch/config.conf

Add the following above info title
info line_break

Now we need to set our distro logo and set it to run on launch.

vi ~/.bash_aliases
alias neofetch2="neofetch \
--ascii_distro windows10 \
--line_wrap off \
--bold on \
--uptime_shorthand on

vi ~/.bashrc

At the very bottom of the file add the following:

cd ~

Now lets wrap this up by configuring cmder. Download and extract the latest version of cmder from here. Run cmder, once open right click on the top bar and select settings. Change your default startup task to {WSL:bash} and save your settings. The end result will look like the image at the top of this post.



DHCP Troubleshooting & Wireshark

The other day I needed to do some DHCP troubleshooting. I have yet to learn all that tcpdump can do (I know it can do this filtering as well), so I at this time do most of my filtering in wireshark. icon-WireShark

Say you are looking for just the packets pertaining to one particular mac address. You can view these by using the following wireshark filter:

bootp.hw.mac_addr == 00:aa:bb:cc:dd:ee

I have found this to be very useful when I am trying to debug issues client devices maybe having or looking at the dhcp options being sent to a dhcp server.


Resetting Cisco Config to Default

There are a couple of ways you can go about resetting a cisco switch back to its default state, however, I recommend this over doing a write erase.

Simply use the following commands to erase the running configuration and go back to factory state:

delete flash:vlan.dat
erase startup-config


Welcome to

Here I will blog about the random things related to technology and other items that I get into as time progresses. I hope that here I can share things that I know or learn on my journeys that may help others with similar interests. If you like what you read, please share and help me grow the site further. Feel free to comment and let me know your thoughts on particular articles and if you have anything to share please do so!