Move ZFS pool from FreeNAS 9.3 to FreeBSD 10.2

January 12, 2016

Got tired of FreeNAS 9.3 being flaky and overkill. Don’t need all that it offers anyways. I had two 3TB hard drives that are a mirror group. ZFS will automatically see these disk.

zfs_enable=”YES” in /etc/rc.conf

zpool import = shows mounts available

zpool import (pool name)

zpool export (pool name) = to umount the drives.

zfs set mountpoint=/dir/dir (pool name)

zfs will remember the set mount point for the next reboot. All good.

Cisco Nexus 5K’s – vPC with FEX configuration

July 31, 2015

I was beating myself in the head a little with trying to configure FEX ports on two different 2K’s to be used in a vPC.  The “verify” command would be successful but the “commit” command said it failed and that the vPC already existed.   Come to find out after opening a TAC case and then actually finding the link below, you do NOT need to specify a vPC number when configuring a port-channel on two different FEX’s.  The Nexus will do this automatically for you, with a very high number.  The reason it does this is because these ports aren’t local and they are shared with another 5K.  So dont worry, just because you don’t see the port-channel config with a “vPC ### ” statement, doesnt mean its not in a VPC.  Do a “show vpc” and you’ll see it down at the bottom.   Bottom line, you build a port-channel just like you normally would, just no vpc command needed.

Link reference:

FreeBSD 10.1 with MATE Desktop, Slim DM, X11vnc

May 20, 2015

MATE is a great desktop and seems to be very stable and quick with FreeBSD.  Follow the link below on setting it up, this person gives a good basic tutorial.

A more in depth install is covered here…

If you want to get Slim to auto login, you can do that be editing the slim conf file…

# ee /usr/local/etc/slim.conf

down towards the end, uncomment the “default_user” field and to the right, put your default user name.  Then just below that, uncomment auto_login and set it to “yes”.

I also wanted to get Remote Desktop working so I could VNC into my box.  X11vnc is the best for this.  It will use the current display.

# pkg install x11vnc

# x11vnc -storepasswd    (then put your password in, it will put it in a file .vnc/passwd)

# ee   (create a script to enable VNC server to listen and stay on even after you disconnect)

#!/usr/local/bin/bash    or    (  #!/bin/sh   if you are using default shell )

x11vnc -rfbauth ~/.vnc/passwd -forever -display :0 &

##### exit and save the file.

# chmod a+x

# ./

You are good to go, you’ll see an output but just hit enter key to clear it.

If you want VNC to come up at start up, on your desktop go to System > Preference > Startup Applications.  There put in a name for your App, the directory to the we just made and a comment if you want.  Thats it.  Not it will start up every time you reboot.

TCP Dump and Cisco

March 18, 2015

Log onto the L3 switch.

Here is the commands on the C6 that provide monitoring (sniffing) of a vlan to a specific port. The destination port is the port thats connected to eth2 on COSNIFFER01.

monitor session 1 source vlan ##
monitor session 1 destination interface Gi8/2 (interface)

Change the first line to whatever vlan you are wanting to capture.

After that, jump back onto cosniffer and run the following command…

tcpdump -i eth2 -nn -s0 -w filename.pcap ‘host 192.168.52.XX’

Change whats in red. Name your file and make your host what specify device or IP you are wanting to capture in the traffic. You can also do multiple devices or IP’s like so….
‘host x.x.x.x and host x.x.x.x’

Hit enter on the command. Let it run for a certain amount of time.

CTRL-C to end the command.

User WinSCP to copy the .pcap file you just made to your PC and open it up with Wireshark to examine the traffic.

Good Luck!

ARRIS TM502G with Comcast Xfinity

March 17, 2015

My grandmother has TV and Voice service with Comcast. They were charging her $10 a month for a modem rental. Found this model on eBay for $18 as a refurb. It works great with Comcast in Indiana. All you have to do is swap out your rental modem with your new modem, turn it on, and hook up a computer/laptop to the network port on the back of the ARRIS. Open a web browser and you’ll and try to get out to the Internet, you’ll get redirected to a Comcast Activation page. Its 3 or 4 easy steps, takes about 5 minutes. Just follow the instructions. You won’t need to call Comcast at all. Test your services after its activated.

Debian Wheezy install HP Elitebook 8440p

March 9, 2015

I had FreeBSD installed on this (previous post) but decided to turn this laptop into a GNS3 lab. Per GNS3’s website they prefer you use Ubuntu. I don’t care for Ubuntu so I installed Debian. Mint would be my second choice.

Everything works for the most part. Below is to do list…

1) – WIFI – Intel Centrino Advanced-N 6200…

Add a “non-free” component to /etc/apt/sources.list, for example:

# Debian 7 “Wheezy”
deb wheezy main contrib non-free

save & exit

# apt-get update && apt-get install firmware-iwlwifi


# modprobe -r iwlwifi ; modprobe iwlwifi

2) WIFI – Blinking alert light on laptop

# echo “echo \”options iwlwifi led_mode=1\” >> /etc/modprobe.d/iwlwifi.conf” | sudo bash

3) screensaver – I had to install xscreensaver.

4) disabled suspend in Advanced settings for laptop lid

5) uninstall Gnash flash and installed Adobe flash. The other flash sucks.

Thats about it! All is good in da hood.

FreeBSD 10.1 on HP EliteBook 8440p

March 2, 2015

I did a simple setup for FreeBSD on this laptop. I’ve not gotten around to playing with ACPI events such as battery and lid closing. This laptop is purely for BSD Certification testing and playing around with the other BSD’s.

What I can tell you is that everything worked straight from the install with a few addition/tweaks.

Install – You’ll need the UEFI boot images. Even if UEFI is disabled in the bios, it still will not work. Also set the hard drive settings to IDE instead of AHCI.
Wifi – Intel N600 chipset. Just follow the Wireless document in the handbook. Fully supported.
Xorg – NVIDIA drivers. You’ll need to install NVIDIA-drivers-340 and NVIDID-xconfig.

Thats all I have so far because thats all I really need on it for the time being.

OpenBSD 5.6 and VirtualBox

March 2, 2015

So apparently OpenBSD on Virtualbox needs VT enabled in the BIOS or you can’t install it. If you keep getting an error or you can’t press “I” during setup to initial the install, this is why. Go into your BIOS and enable Virtual Technology.

PF Sense & Netgate APU board

December 22, 2014

This guy has a good tutorial…  click here


Download the latest embedded image from PF Sense.  You’ll want the 64bit option.

You’ll need to write the image to your SD card.  Depends on your OS.

Windows – download WriteDiskImage

Mac – $ sudo gzcat pfsense-XXX.img.gz | dd of=/dev/disk[n] bs=16k        (unmount the disk, unmountDisk /dev/diskN)

The default serial speed on the board is 115200 but you can set you terminal to 9600.  You’ll see gibberish.  Set your terminal you are using.

FreeBSD – cu -l /dev/cuau0 -s 9600 -t     ( to exit type:   ~. )

Linux – use minicom

Plug in your serial cable and power cable.  Lets do this.

When you see a message about ‘Booting [/boot/kernel/kernel]’ press CTRL-C until it drops to an ‘OK’ prompt.

Type:  set

Type:  boot

Assign your interfaces.  I suggest you do auto config.

Log in to the webgui and go to Diagnostics menu –> edit file.

Click the browse button.  Click on the /boot folder.   Click the /default folder.  Click the loader.conf.   Click load at the type.

Add this line:”10000″

Save it.

Now go System –>  Advanced.    Down near the bottom.  Change your console speed to 115200.  Click save down at the bottom.



iPhone 6 picture issue in message

September 20, 2014

First day I got my iPhone 6, everything went well with the activation.  Started using it and realized that anyone that iMessaged me with a picture, I couldn’t see it.  I would get a square box with “Downloading” but it would never download.  And if you reboot your phone, then the square box just has a question mark “?” in it.

What was odd was on my Mac Book, in Messages, I could see the pictures, just not on my phone.

Issue:  Cant view pictures sent to you thru iMessages from other iPhone users

Solution:  If you are using another Mac device with iMessages, you have to disable them all (sign out).  Then on your iPhone, go to Settings > Messages.  Turn Message “off”.   Wait 5 seconds, turn back “on” and below under Send & Receive, remove any other emails or numbers for Messaging other than your primary number.  So you should just have one under that section.
Now you should be able to get pictures.  If so, now you can re-enable Messages on all your other devices.


Get every new post delivered to your Inbox.