I was trying to SSH into a Juniper switch running JunOS 12.3, the connection would fail with Connection closed by <switch IP>
. Using ssh -vvv showed an error: Debug: debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
. This is a nice rabbit hole to go down as we’re going to use SSH’s verbose mode, nmap to debug the solution.
pfSense LCDproc UPS Display
I noticed that the LCDproc package on pfSense doesn’t have a way to display UPS battery information. Well, what better way to dust off that PHP coding hat than to add it myself.
[Read More]PfSense AX88179 vs RTL8153 USB 3 Ethernet Compatibility
Trying to add another interface to a pfSense box but because it has run out of ports, I had to resort to using a USB 3 Ethernet dongle. Assuming (wrongly) that since it is based on the AX88179 chip and being somewhat older that it would be supported better. That wasn’t the case.
[Read More]Client to NVR Isolated CCTV with VLAN and a Virtual Machine
Installing NVR software is a bit of a blackbox. In this post, we’re going to isolate the software, network and NVR via a VLAN and use the software in a Virtual Machine that has a separate dedicated interface to that VLAN.
[Read More]Ubiquiti AP Proxy ARP Disruption
A client was having issues with a real time video or voice streaming dropping out for a few seconds every 20 minutes - only via WiFi using a Ubiquiti AP-AC-LR access point.
[Read More]Cisco SG300 Port Security and Static Mac Filtering
I’ve got a device attached to a Cisco SG300 switch that I don’t trust which is on a separate VLAN. As an exercise, using DAI(Dynamic ARP Inspection) is the preferred solution but I want to manually statically assign the IP and MAC to the port instead.
[Read More]How To Access An IP Camera's Embedded Linux OS Through A Serial UART/TTL Port
IP Cameras and Internet of Things in this day and age mostly have serial ports available on their PCB that will allow you to gain root access. They nearly all run embedded Linux and so, with some electronics and Linux knowledge, we can have a look around in the OS.
[Read More]Virsh Serial Console Size and Wrapping Fix
If you’ve used Virsh to access a serial console on a Linux VM, you would have noticed that text gets cut off or doesn’t wrap properly. This is because the serial console hasn’t got any bounds set. I’ll show you how to fix it.
[Read More]Using a Chromecast with an Analog TV
Using a Chromecast is an excellent, simple and convenient way to watch Netflix, YouTube or even cast your local media to a TV. But what if you only have a spare analog TV lying around? Using a HDMI to Composite converter you can bring that TV back to life for under $25!
[Read More]Square Text When SSH X11 Forwarding CentOS
Why does my text show up as square characters when I forward an X11 session via SSH with CentOS? I’ll show you how to fix it and why it happens.
[Read More]How To Use A Local Kickstart File For KVM
Using a local kickstart file can be tricky at first without knowing the proper method. Many guides just copy and paste using vsftp. Here’s how to do it locally.
[Read More]