Archive for 'Hackery'

SNMP on OSX

NetFunctional is about to release an SNMP based app, so I’ve been testing it against all sorts of various devices. Since OSX is Unix/BSD based, it can be an SNMP agent too, once you configure and enable it. Here’s how: Configure SNMP sudo vi /etc/snmp/snmpd.conf Find the line rocommunity public default .1.3.6.1.2.1.1.4 Replace it with [...]

Titanium – Vertical CoverFlows

Titanium – Vertical CoverFlows

Coverflows are great, but what if you want to do a vertical coverflow? So you can flip up & down between images, or options, etc… This is insanely easy in Titanium – // Build your Cover Flow as usual… var images = ['option1.png','option2.png','option3.png','option4.png']; var view = Titanium.UI.createCoverFlowView({ images:images, right:400, left:0, top:70, height:678 // Remember – [...]

Upgrading Cisco Phone Firmware without upgrading CME

Upgrading Cisco Phone Firmware without upgrading CME

Needed to reflash a 7961 from SIP Firmware (8.4.2) to SCCP (I snagged 8.5.3.  I know 9.x is out, but one thing at a time…). This took way longer than I thought… I’d forgotten than since I have nicely organized firmware files (eg: flash:/phone/MODEL/) that I needed to alias the tftp-server commands. So we ended [...]

ESX & ESXi – Windows XP Guest Install reports no hard disk found

ESX & ESXi – Windows XP Guest Install reports no hard disk found

Ran into this (apparently) common issue building a new Windows XP Guest – it claims there is no hard disk available. The XP install ISO’s don’t have either LSI Logic or Buslogic SCSI drivers, so you need to use a floppy image. Get http://download3.vmware.com/software/vmscsi-1.2.0.4.flp Upload it to the Datastore Add it to your Guest, and [...]

Debian VMWare Guest – eth0 broken after cloning

Ran into this today – Debian (and probably some other distros) using udev will store the MAC address into /etc/udev/rules.d/z25_persistent-net.rules, and auto increment the eth# as needed. So if you have a machine using eth0, the clone will end up using eth1. If you clone the clone… it’ll be eth2, and so on. If you’ve [...]

pppd + precompiled-active-filter

OpenWRT has long had some patches against pppd 2.4.4 for what’s called ‘Precompiled Active Filter’.  This is a file, which contains the libpcap compiled filter on what should be considered ‘active’ or ‘interesting’ traffic.  In the Cisco world, it’s the access-list you reference with dialer-list and dialer-group commands. The default file that’s shipped tends to [...]

Ubuntu 8 on Parallels 3 (and some other VM packages)

You’ll see This kernel requires the following features not present on the CPU: 0:6 Unable to boot – please use a kernel appropriate for your CPU. You need to go here and it’ll fix you right up.

Weird places to find your code…

MCR posted me this section of an IBM HMC (Hardware Maintainance Console) bootlog: keyboard: Timeout – AT keyboard not present?(f4) keyboard: Timeout – AT keyboard not present?(f4) CSLIP: code copyright 1989 Regents of the University of California SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256) (6 bit encapsulation enabled). SLIP linefill/keepalive option. klips_info:ipsec_init: KLIPS startup, FreeS/WAN IPSec [...]


Copyright © 2012 Ken Bantoft. Icons by Wefunction. Designed by Woo Themes