Expand disk for FreeBSD in VMware ESXi

Expand disk for FreeBSD in VMware ESXi

This article assume you have a valid dump of the disk you want to expand, see http://www.wonkity.com/~wblock/docs/html/backup.html and that you cannot increase drive size in VMware due to snapshots. Steps: Add a drive Restore an existing dump file Update fstab to use new drive Add new virtual disk Shut down guest #shutdown -h now Add new disk in ESXi Start host and verify it sees the new disk #more /var/log/messages Taken from https://www.freebsd.org/doc/handbook/disks-adding.html The partition scheme is created, and then a single partition…

Read More Read More

Configuring 802.1x with FreeRADIUS and Cisco WLC

Configuring 802.1x with FreeRADIUS and Cisco WLC

There have been many lengthy articles written about how to install and configure 802.1x and FreeRADIUS for access points. This post is mainly for my own sake, but if anyone else finds this useful, great! My setup contains of FreeBSD 9.3 with a FreeRADIUS3 installed, Cisco Virtual Wireless Controller running on VMware, a lightweight access point, and finally a Windows 7 laptop. FreeRADIUS First of all, configuring FreeRADIUS3 is very simple, since it’s designed to be working right of the…

Read More Read More

wp-admin unavailable after WP upgrade from 3.9.2 to 4.0 on FreeBSD 9.2

wp-admin unavailable after WP upgrade from 3.9.2 to 4.0 on FreeBSD 9.2

As soon as the new 4.0 version came out, I decided to upgrade my WordPress installation. Everything appeared to have went fine, but  after the update I could not access the admin page any longer, I simply got a blank page. Scouring the forum on wordpress.org, I noticed a few others with the same issue, but no workable solution. My apache log only reported: 192.168.0.11 – – [06/Sep/2014:23:05:18 +0200] “POST /wp-login.php HTTP/1.1” 500 – “http://www.ebbmar.com/wp-login.php” “Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,…

Read More Read More

How to get a prepaid SIM card with data when travelling overseas (USA)

How to get a prepaid SIM card with data when travelling overseas (USA)

On a vacation to USA recently, I was posed with the problem on how to be able to use data on my smart phone without using roaming. On my previous trips to US, I had simply bought a AT&T GoPhone SIM card from ebay and activated it once I landed in US and then added a suitable package and feature plan from AT&T. However, this time I couldn’t for the life of me add a credit card to AT&T, either…

Read More Read More

A mystery including ping, nslookup and unresolvable issues

A mystery including ping, nslookup and unresolvable issues

Today at work I noticed that when I logged in on my Windows 7 client laptop, the network shares had not been mapped. That’s weird, was my first reaction. So I went ahead and tried to ping the server the share resides on, with a standard ping servername from command prompt. I simply got a “Ping request could not find host servname. Please check the name and try again.”. Ok, I then tried the FQDN, ping servername.mycompany.com. Same reply, “Ping request could not find…

Read More Read More

Connecting USB programmer AVR ISP MKII to target board for ATtiny2313

Connecting USB programmer AVR ISP MKII to target board for ATtiny2313

I recently bought an Atmel AVR programmer since I was interested in helping a friend out with programming some blinking LEDs. This is a brief description on how I connected the programmer to a solderless breadboard so I would be able to program the ATtiny2313 I had concluded was sufficient for the project. First of all, I downloaded AVR Studio 5 from Atmel (there exists other software as well, such as AVR Dude) and installed it. When I connected my…

Read More Read More

Writing .d81 images with IDE64

Writing .d81 images with IDE64

For the past days I have tried to successfully write some .d81 images to a 1581 drive, trying several different tools. Since I don’t have a parallel port on my PC, I can’t use X1541 or any equivalent cable. And because I’m running Windows 7 64-bit I had no luck using a XU-1541 cable which supports USB, but it did not work on my 64-bit machine. So, I was left with trying to write images directly to the 1581 with…

Read More Read More

Commodore nostalgia and IDE64 woes

Commodore nostalgia and IDE64 woes

For the past week I have been tinkering with setting up a Commodore 64 with a new mass storage device (IDE64 v4.1) I bought. It plugs into the cartridge port, it has an interface for CF card, 2 IDE interfaces (for external hard drives) and a PC Link connection for USB transfers between a PC and the C64. This device makes it incredible easy to transfer files from the PC to the CF card and then e.g. write disk images…

Read More Read More

Graphing and monitoring real-time bandwidth

Graphing and monitoring real-time bandwidth

I was looking for a quick and easy way to monitor the bandwidth on some Cisco switches a few weeks ago, and I found a program called STG (SNMP Traffic Grapher) by Leonid Mikhailov. It’s dead simple, you enter the IP address of the host, the RO community string, and the ifindex of the interface you want to monitor. To find out the ifindex (interface index) on a Cisco device running IOS, simply enter show snmp mib ifmib ifindex. To…

Read More Read More