Saturday, October 31, 2009

tcpdump OS X

tcpdump is built in to OS X (Mac) Linux users have been using it since the inception of *nix variants.

*Warning: this and other tools like it are very powerful, with knowledge comes power, use it wisely*
*Respect others privacy
*Think before you do something and understand the consequences

Click here to leave a comment .. even if it is just to say HI!!

From wikipedia:
tcpdump is a common packet analyzer that runs under the command line. It allows the user to intercept and display TCP/IP and other packets being transmitted or received over a network to which the computer is attached.

For my uses I am the admin of a very
small company that uses Windows 2003 and Citrix to serve up applications to dump terminals. We have been experiencing excessive band width usages and I am curious as to where, how, and why. This is probably not the best tool to use but it gives me an idea of what is going on.

On my PowerBook (separate from the network) I opened a terminal and typed:

tcpdump -ien1

And was presented with

tcpdump: (no devices found) /dev/bpf0: Permission denied

-ien1 is the airport card en1

/dev/bpf0 is where *nix (OS X in this case) stores information about the airport card en1.

well having been use to Linux commands as well figured I would su (super user basically running as root)

This did not help either, apparently OS X requires the use of

sudo -s

then enter the password of an administrator account

This will give you a bash prompt (for me it was) and now you can run your command at the prompt.

bash-3.2# tcpdump -ien1

Happy hunting for more information on the tcpdump command and its switches from a terminal prompt type:

man tcpdump

Wednesday, October 21, 2009

HP Mini NetBook 1151NR Rock-in Little Machine Missing Bluetooth Drivers

HP Mini NetBook 1151NR Rock-in Little Machine Missing Bluetooth Drivers

BTW I have tried looked every where there are no downloads for the restore disks for the HP Mini 1000 or 1151nr netbooks .. in fact I placed an order with HP on the 20th of October 09 ... and am still currently waiting for the disk to arrive as of the 5th of November 09.*******
****** UPDATE Finally HP is shipping my restore disk out on December 1st 2009 WAHOOO I may get it before 2010 LOL.

HP has put out some Sleek Fancy looking consumer base laptops over the last couple of years IMO.

I love the design and the looks of the sleek black shinny cases and the glossy Hi-Def displays.. I'm a sucker for the technical geeky looking laptops.

If you are looking for 1024x768 on an HP Mini 1000 or 1100 (1154NR, 1151NR)

I have been looking for a NetBook for a few months and could not justify another toy with the wife, seeing as I recently acquired a MacBook Pro and have been really happy with that .. not only the performance of the laptop but as well as the price I paid for it (giggle giggle 250$) .. It pays to know how to work on laptops and keep an eye on CraigsList.

If you want to know how to change the Hard Drive Click this link


If you want to Upgrade the memory ...

But back to my current issue I have acquired this cool looking little HP Mini (and I do mean little writing this post and the last 2 on it .. takes a bit to get use to the small keyboard). The person that had it before me though it would be a great idea to make the little machine into a Hackintosh. Which I would not disagree would be cool to have OS X on a tiny little laptop like this, but the OSX86 community is not quite up to all of the platforms that are out there and some drivers have not been compiled for these machines yet and the OS is not as stable as it should be.

So my task is to put WinXP back on it (did not have recovery Cd's they are on order from HP as we speak).. Which actually was no problem at all. Plugged in my full size CD ROM in to an IDE to USB converter plugged in to the NetBook and it was off installing XP in a flash.

After XP was installed all of the drivers off the web site were loaded and all updates off of Microsoft's Update were installed (mind you took 2 days even with broadband speeds) glanced at Computer Management and the Bluetooth 2.1 is sitting there with a yellow exclamation.

That bytes .. I know I did not miss anything off of HP's site got all of the downloads for this machine..

Well they left it out for some reason if you need to install it you will need to search for sp43730.exe or just click the file it will take you to hp to download it ... unless they change things again

Well that was easy ... NOT well even though the softpack should automatically install the driver it would not ... there was a pop up .. that says turn on the device .. well its already on and you can't turn it off if you tried.

so you will have to manually install the drivers from Computer Management right click the bluetooth properties.. reinstall diver ... don't search let me specify.

Browse to the folder c:\swsetup\SP43703\Win32\ and then install from there ... otherwise it will not search sub directory's ..

once installed your ready to rock and roll..

I know this will only affect (effect??? hmmmm... ) those few of us that will have to reinstall with out recovery disks .. but hey if it helps here's your sign.

Have a Great Day.

What is shell32.dll and how do I find out What the icon number is??

What is shell32.dll and how do I find out What the icon number is??

Def of a dll from wikipedia
Dynamic-link library (also written without the hyphen), or DLL, is Microsoft's implementation of the shared library concept in the Microsoft Windows and OS/2 operating systems. These libraries usually have the file extension DLL, OCX (for libraries containing ActiveX controls), or DRV (for legacy system drivers). The file formats for DLLs are the same as for Windows EXE files — that is, Portable Executable (PE) for 32-bit and 64-bit Windows, and New Executable (NE) for 16-bit Windows. As with EXEs, DLLs can contain code, data, and resources, in any combination.

Ok that made allot of sense.. (actually I does to me) but for lots could just be a bunch of gobledy goock ..

The shell32.dll file contains among other things the icons that you see when you open my computer and the you see the hard drive and a little hard drive instead of just a listing for c:\

So how do we use this? Cause if you right click the c:\ properties .. there is no where you can change the icon or see a list of them that you can change to right??

Here is what you will have to do

Go to My Computer right click on the C drive and Create ShortCut.

It should pop a message
Windows cannot create a shortcut here.
Do you want the shortcut to be place on the desktop instead?

click yes

close My Computer

find the new short cut and right click properties

find the button for change icon and you will be presented with the icons that you can chose from.

the numbering of the icons start from the top left as 0 (zero) and go from top to bottom. Then starting on the next column top to bottom again.

So in the image above the current icon chosen is shell32.dll,8

Hope this explains at least something?? lol have a great day.

How To Change C:\ Hard Drive Icon in My Computer

This is a quick how to:

How To Change C:\ Hard Drive Icon in My Computer Windows XP

I have searched high and low for this .. but have had little success until recenly. My c drive icon has been corrupt for a while now and folks on the net have suggested creating an autorun.inf file and placing it at the root of the drive. This will create the same effect that I was looking for but IMO this is just a stop gap measure. I finaly stumbled upon a post on from a member by the name of soleimanian and followed some of his suggestions. I am running a modified version of XP so your milage may very.

Start menue >
type regedit

Sort down through the registry till you find


if there is not a Key under Explorer Named DriveIcons create one

under DriveIcons create (if its not there already) a new key with driver letter C for example with in the drive letter create a new key and name it DefaultIcon

give the default value the icon you want to use like


This was the icon I wanted to use in my shell32.dll file.

Now you ask how do I know which icon I want to use??? That will be in the next post

Lone Star Custom Lapel Pins

Lone Star Custom Lapel Pins
Veteran Managed Lone Star Pins are creators of custom lapel pins. We offer a free digital how to PDF on our site, Free Artwork, and quote. Contact us today for your proof and quote.


Twitter Delicious Facebook Digg Stumbleupon Favorites More