June
Sun Mon Tue Wed Thu Fri Sat
     
   
2005
Months
Jun
BlogTools
the possibly accurate now

Wed, 29 Jun 2005

[12:24] I Got A Headset!
Date: 6/29/05 at 8:24PM

Not excitingly groundbreaking news for some but as I spend four to five hours on the phone every day I get REALLY sick of trying to type with one hand. The headset was ceremoniously awarded to me after the following e-mail went out (I'm the 'chap'):


From : [Name removed to protect the guilty]
To : [A broad selection of people on the floor I'm working on]
Subject: Mental Status of your PB02 man

[My bosses name removed], I am a little concerned about the mental status of your PB02 chap who has been working on a desk in the server team.

On Monday afternoon he stuck a plastic bag on his head and then proceeded
to use parcel tape to create a DIY hands free kit by sticking the phone to
his ear.

Is this normal behaviour amongst PB02??? Do you want me to call security?

I have pictures on my phone if you don't believe me.

Regards

[Judgemental man not appreciative of ingenuity]

NT Server Team


UPDATE: Someone just forwarded me the phone picture which I present for your viewing pleasure:


category: /modblog | permalink | Comments suspended due to spamwhores


Mon, 27 Jun 2005

[06:32] TCPDump on Windows
Date: 6/27/05 at 2:32PM

I had a situation today where I needed the functionality of TCPDump but I couldn't install ANYTHING on the server I wanted to dump on. This ruled out WinDump as you need to install WinPcap to get that, and most other similar utilities, working. I then stumbled across MicroOLAP TCPDump. This is a windows port of the original tcpdump program using their own Packet Sniffer SDK. From what I've read on the site, the SDK is actually a rebadged (and reworked?) Network Investigation Suite - a Delphi based fully self-contained, dynamically-loaded packet capture technology.

It is free for personal use and attracts a $US40 license fee for commercial use.

It has exactly the same command line switches as the *nix version (yay!) but the interface selection is a little difficult. I couldn't find any doco on it so here's what I worked out/guessed:

How To Find Your Network Interface ServiceName


  1. Start RegEdit.exe
  2. Navigate to the HKLM\Software\Microsoft\Windows NT\CurrentVersion\NetworkCards key
  3. Assuming you have a NIC in the machine there will be one or more keys listed here, one for each NIC. Each key is an integer but I don't know what this integer is, it is NOT the number of cards you have. There are two string (REG_SZ) values in each of these keys. Description and ServiceName. The Description field should provide you with enough information to identify the card you're after, the ServiceName is the string you are going to need.
    As you can see in the image below, my ServiceName data value is "{5A484F38-DF22-483C-A4B8-69570E3C7DE2}".

  4. That's all you need - to use it with tcpdump:
    tcpdump -i \Device\{5A484F38-DF22-483C-A4B8-69570E3C7DE2}


If you don't want to expend all that effort I've written a script that will enumerate all the NICs in your registry and put the ServiceName value in an InputBox so you can copy it out. Copy everything between the lines below into a file with a vbs extension and double-click it (NOTE: you'll need WMI on the box for this to work):



Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
sKey = "Software\Microsoft\Windows NT\CurrentVersion\NetworkCards"
lRet = oReg.EnumKey(&H80000002, sKey, arSubKeys)
If (lRet = 0) Then
For Each oKey In arSubKeys
sSubPath = sKey & "\" & oKey
oReg.GetExpandedStringValue &H80000002, sSubPath, "Description", sDesc
oReg.GetExpandedStringValue &H80000002, sSubPath, "ServiceName", sValue
InputBox sDesc, "Network Card ServiceName", sValue
Next
Else
WScript.Echo "Couldn't get registry array (" & lRet & ")!"
End If




category: /modblog | permalink | Comments suspended due to spamwhores


Sun, 26 Jun 2005

[15:47] LUGRadio LIVE - Report
Date: 6/26/05 at 11:47PM

LUGRadio Live 2005 happened this weekend (Saturday 25/06). My report on what was there and what I saw follows (yes, it's all me me me, it's a blog goddamit):

I was all organised and had everything together and ready so all I had to do was get up at 0615 , shower and head for the Tube. I got there and made my connection at Euston station with no problems. 2 hours and 46 uncomfortable minutes later (you get what you pay for with the ole £18 return ticket) I alighted in Wolverhampton. I was just on the verge of congratulating myself for the eminient smoothness of the travel arrangements when I realised I had absolutely NO idea of where exactly I was going in Wolverhampton! I tried wandering around in the vague hope that I'd either bump into it or I'd come across an internet cafe. I didn't. Forty-five minutes later I realised that I had a couple of the podcasts on my MP3 player and I slowly FFWD through to the annoucement of the location. I got there only an hour late and got into some serious llistening. I managed to check out:


  1. Rufus Pollock - Digital rights and freedom campaigner

    Had some interesting things to say about the various open source licenses and their various interactions with each other. Also touched on the new OpenSolaris licensing and warned of possible linux "contamination" leading to potential SCO like legal action in the future. He also made some interesting points about free software and the government. He pointed out that schools are THE place to get Linux in because getting the mindshare of the children is going to be what gets Linux into the position of a contender rather than an annoyance to the major powers. He also pointed out that winning market share from those who CAN make a choice is not really helping. Those who can make choices about what they want to run are probably something like 5% of the overall OS market. Schools and government offices are what needs to be aimed at.

  2. Mark Shuttleworth - Founder of Canonical and the Ubuntu project and part time space-man.

    I found this to be one of the most interesting talks. He gave the talk whilst playing a slideshow of photos taken by and of him when he was training and IN space. The talk segued through space travel whenever a photo caught his eye and Ubuntu development and philosophy the rest of the time. I remember when Mark did the space thing back in 2002 and I didn't really pay attention at the time because a) I had no idea who he was and b) I was busy thinking unhelpful things like "Goddamn rich people" and being jealous. He seems to be a pretty philanthropic kind of guyand he further fired my ambitions to do something for the OS/FS/Linux community this year. He also followed on with the school theme and talked briefly about his SchoolTool project. Basically a project to develop a common global school administration infrastructure that is freely available under an Open Source licence.

  3. Bill Thompson - Tech commentator and BBC journalist

    This talk drew some interesting parallels between the Madrid bombings on the 11th of March 2004 and the Open Source community. He pointed out the difference between the American reaction to the 9th of September attacks ("Who did this and where are they so we can do it back") and the Spanish reaction ("Who did this and why did they do it? What can we do to stop them doing it again?"). He then moved on to how Open Source software was used to provide a website including registraion and pre-registration functionality, high turn-over forums in three languages and a certain degree of privacy - all in three days. Bill said the the slideshow was available on his website but damned if I could find it.

  4. Ian Bell - Co-creator of 80s classic game Elite

    This was an interesting talk in that the presenter seemed seemed very much drained by the subject he was talking about. There are documented troubles surrounding this attitude but I still felt really sorry for him. He was obviously very smart but just seemed to be over everything.

  5. Kevin Carmony - President and CEO of Linspire

    This guy is pure PR genius. I played with the first couple of versions of Lindows when they came out but I've done nothing more than read news stories ever since they became Linspire. I must say that purely going off what he said I'm definietly up for another look. Although his distro is probably not what I'm looking for it might be a very good stepping stone into the Linux world for Windows people I'd like to move over (people like my parents for instance). He pointed out that a lot of the work they are doing with Linspire is getting hardware drivers for Linux in general. They are big enough to be able to deal with companies like Via, Abit, Nvidia, Asus, AMD and get drivers out of them. He also explained that everythign that is developed at Linspire to make their desktop more useable is given back to the community that owns the original base product.

  6. and, of course, Jono Bacon, Ade Bradshaw, Stuart Langridge and Matthew Revell doing the live recording of LUGRadio late in the afternoon!


Of course I also got some cool free stuff: