Freenas and CyberPower UPS

I got a CyberPower UPS to protect my Freenas box. I connected the included UPS cable and I noticed these errors in dmesg and the UPS service would not start.


ugen2.4: at usbus2 (disconnected)
ugen2.4: at usbus2
ugen2.4: at usbus2 (disconnected)
ugen2.4: at usbus2
ugen2.4: at usbus2 (disconnected)
ugen2.4: at usbus2
ugen2.4: at usbus2 (disconnected)
ugen2.4: at usbus2
ugen2.4: at usbus2 (disconnected)
ugen2.4: at usbus2
ugen2.4: at usbus2 (disconnected)
ugen2.4: at usbus2
ugen2.4: at usbus2 (disconnected)
ugen2.4: at usbus2
ugen2.4: at usbus2 (disconnected)
ugen2.4: at usbus2
ugen2.4: at usbus2 (disconnected)
ugen2.4: at usbus2
ugen2.4: at usbus2 (disconnected)
ugen2.4: at usbus2
ugen2.4: at usbus2 (disconnected)
ugen2.4: at usbus2

After sprinkling a little google dust, I came across the following posts:
https://blog.grogscave.net/2013/12/suppressing-messages-in-freenasfreebsd.html
http://www.castro.aus.net/~maurice/OddsAndEnds/blog/files/Cyberpower-BR850ELCD-UPS-FreeBSD.html

I edited /etc/devd.conf and added the following then restarted the Freenas.

nomatch 10 {
match "bus" "uhub[0-9]+";
match "vendor" "0x0764";
match "product" "0x0501";
};

UPS service started successfully and I was no longer seeing the disconnect errors in dmesg or /var/log/message

Oct 7 13:18:04 freenas ugen2.4: at usbus2
Oct 7 13:35:11 freenas ugen2.4: at usbus2

Time to set up auto shutdown!

RT5370 Wireless Adapter won’t connect to network after upgrade to Ubuntu 17.04

I’ve Upgraded my Ubuntu box to Ubuntu 17.04 to fix one issue and created another issue.

This after my USB WiFi card would not connect to the network. I could see the network and it would try to connect but timed out after a minute or so.

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty


lsusb
Bus 002 Device 003: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter

I was able to find the fix here:

Edited:

sudo vi /etc/NetworkManager/NetworkManager.conf

And added the following:

[device]
wifi.scan-rand-mac-address=no

Restarted and I’m back in Business. I hate change!

Cisco iOS Notes

Basic Auth

S1#enable
S1#configure t
Enter configuration commands, one per line. End with CNTL/Z.
S1(config)#line console 0
S1(config-line)#password cisco
S1(config-line)#login
S1(config-line)#end
S1#exit

LAB

SSH Setup

R1#enable
R1#config t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip domain-name got.com
R1(config)#crypto key generate rsa general-keys modulus 1024
The name for the keys will be: R1.got.com

% The key modulus size is 1024 bits
% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]

*Mar 1 00:07:14.915: %SSH-5-ENABLED: SSH 1.99 has been enabled
R1(config)#line vty 0 4
R1(config-line)#transport input ssh

I had this issue when I was SSHing from a Linux node where I had to use ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 user@router-ip. I need to grok the issue.

MoneyDance Mobile App

The MoneyDance iOS and Android mobile companion is one of the biggest selling points to MoneyDance. Being able to enter your transactions on the go really makes it easier for me to keep up with data entry and ensures that my personal finance information is consistent and accurate.

In the days before Smart phones I would have to keep all my receipts and enter them the next time I sit at my desktop. Cash transactions without receipts were always a pain for me as I would always forget how much I paid and would end up “guesstimating” way too much.

I love to do things on my phone as much as possible since I always have my phone on me and I hardly get time to sit at my desktop. I would argue that some additional features would set the bar higher for MoneyDance.

These are some of the features that I can’t wait for InfinateKind to add to the mobile app.

1. My Budget
This is a huge ask for me! It would be very convienent for me to be able to view my budget on the go. When I’m tempted to make the next impulsive purchase I’d like to be able to look at where I am at in that category. Who knows that might dissuade me.

2. Show/Hide Accounts
Do you really need to have all accounts visible? I don’t. At most I only need to see my wallet and checking account. I still want to be able to add accounts as required. Adding this feature would allow for a cleaner UI look.

3. Bill Schedule Calendar
I want to see, create, edit and enter my scheduled bills on mobile. This one should be a no brainer.

4. Reports
Why can’t I have reports on mobile? You never know when a what if scenario pops into your head.

Come on InfinateKind, Don’t let me wait as long as i’ve waited for the next Game of Thrones book.

Banking Mobile App Security

I love mobile banking apps! They are truly very handy when you are on the go. One major pain point that I gripe about constantly is the need to enter your password each time you use these apps. It really slows you down! I think there is a better way. I wish that my banking app would save my password and give me the option to set a passcode! My phone already has an additional layer of security, a device passcode. What’s the risk right? The banking app could be configured to deny the use of passcode if a device passcode or password is not set. Take that!

Enabling passcode security on mobile banking apps would enhance security in my opinion. I use unique, complex passwords for everything, and the act of typing in my password would not be feasible without a password manager. Without a password manager people set passwords that are easy to recall which are more susceptible to attacks. By allowing passcodes on your mobile banking app, you would be encouraging folks to set more complex password which in my view is a win for security.

My question is why the banks can’t get this?

Stannis’ Endgame: Book vs. Show

Race for the Iron Throne

Few events in the show have had as dramatic a response from the fandom toward a single character as Stannis’ decision to sacrifice Shireen in Season 5, Episode 9 of HBO’s Game of Thrones. Memes of “Stannis the Mannis” and “Best Father in Westeros” gave way to rage towards Stannis, and rage towards the showrunners for committing character assassination. However, as someone who’s in the middle of a project of analyzing A Clash of Kings, a lot of these arguments relating to Shireen ring falsely to me and ignore much of GRRM’s work.

To me, the bigger scandal is to take this potentially epic tragedy and waste it completely, as was done in Season 5, Episode 10. If it’s any consolation, I’m convinced that GRRM’s plan is quite different from what we saw – but to see the outlines of the destiny that lies in wait for Stannis…

View original post 3,876 more words

GNS3 Install from Git

I’ve read somewhere that GNS3 runs better on Linux and I had some spare cycles on a Hyper-V host. I configured a VM with 16GB of RAM and I was able to get GNS3 up and running on Ubuntu 14.1 using the steps I will be documenting below.

Since we will be installing from the source files from the git repository on Github.com, you will need to install git:
sudo apt-get install git

Install Dynamips:
Install the Dynamips dependencies if they have not already been installed:
sudo apt-get install libelf-dev uuid-dev libpcap0.8-dev

Download the source files to your system. I downloaded mine to the Public folder in my home folder.
sudo git clone https://github.com/GNS3/dynamips.git
cd dynamips
mkdir build
cd build
cmake ..
sudo make install

Install Gns3-Server:
Install the dependencies if they have not already been installed:
sudo apt-get install python3-setuptools python3-zmq python3-netifaces

Download the source to your system.
sudo git clone https://github.com/GNS3/gns3-server.git
cd gns3-server
sudo python3 setup.py install
gns3server

Install Gns3-Gui:
Install Dependencies
sudo apt-get install python3-setuptools python3-pyqt4

Get source files and build:
sudo git clone https://github.com/GNS3/gns3-gui.git
cd gns3-gui
sudo python3 setup.py install
gns3

You can create a desktop shortcut to gns3-gui. Configure gns3-gui to start up gns3-server and dynamips when gns3-gui is launched.

I have just started getting into GNS3 and all I can say is that the 1.x version is amazing. I much rather work on GNS3 than Packet Tracer.