September 30, 2004

Annoying TV trifles

OK its time for a little light relief, I have been watching too much CNN lately, OK I will get it off my chest….

I hate it when analysts say “one half of one percent”, why don’t people just say “half a percent??” I’m no expert on grammar, but shouldn’t “the Germany team.” be the “the German team.”… and why does CNN have to show so many sports shows in the first place (not to mention sailing , golf, and music shows, etc) ..and here I thought CNN was a 24 news channel?

Anyway they are showing the US presidential debate this week (which is a good thing), should be funny, here is a quote from Jay Leno:

"Problems at Kerry debate prep: They keep trying to tell him he doesn't talk like a regular average Joe and he said, 'Au contraire!"'

On that note, adieu people!


Posted by michaelm at 01:13 AM | TrackBack

September 22, 2004

Windows RPC services from Linux

Want to be able connect to Windows RPC Services from Linux? How about installing, starting/stopping remote services or even scheduling remote jobs (by interacting with Task Scheduler) on remote Windows Machines? All this from within Java code! Wouldn�t this be great for the heterogeneous networking environment?

Easy! The Jarapac library is an Open Source Java implementation of DCE RPC (Distributed Computing Environment RPC). Using the Jarapac and Jcifs libraries, one can open a DCE RPC/named pipe connection to a variety of Windows Network Services. Examples of these services include ATSVC and the SVCCTL.

Given the service idl (in MIDL format), one can use midlc to generate the required Java stub code needed to access these remote services. Please note that the midlc compiler (version 0.5.1) is not fully mature yet and may generate some incorrect code. Manuel adjustment may be required in some cases, use with caution.

I guess Microsoft might not be happy about all of this :-P

Posted by michaelm at 05:47 PM | TrackBack

September 08, 2004

Scientists to Map Known Universe

Whats up with that ?

This story was posted on space.com the other day. But Hah?? I dont get it???? Whats the use of mapping the known universe, if its already known? On the other hang, how can you map the unknown universe if you dont even know that it exists. Whats going on here?

Posted by michaelm at 06:06 PM | TrackBack

September 02, 2004

Intel PRO/Wireless LAN 2100 on Debian Dell Inspiron 8600

If you are running Linux on a Centrino Machine, there exists several options to get wireless networking running. Namely native driver support, or windows driver wrapping. Both of these are Open Source Sourceforge projects

There is also a commercial wrapper based driver available here.

I have decided to use the the native solution.Here are the steps I went through to get wireless going.

1. Configure the kernel (to support wireless)
2. Download and install firmware
3. Download wireless tools and install (Debian package available)
4. Down the IPW2100 source (Debian package available)
5. Load the module.
6. Configure the interface

Configure the Kernel.

Note that im using kernel 2.6.6

Ensure that
* "Wireless extensions" and
* "Hotplug firmware loading support" are selected in the kernel config.

I originally ran into problems when trying to add keys using iwconfig.

iwconfig eth0 key 1234-5678-abcd-efgh-ijkl-1234-56
Error for wireless request "Set Encode" (8B2A) :
SET failed on device eth0 ; Operation not supported.

As it turned out that, i didnt have the correct cypher support in the kernel!
So make sure your kernel is configured to support the "ARC4 cipher algoritm" and the "CR32c CRC algorithm".

Now compile the kernel.

Download and Install Firmware.

As far as I know there is no debian package for this.

Download ipw2100-fw-1.2.tgz and untar..
ipw2100-1.2.fw BSS mode
ipw2100-1.2-i.fw IBSS mode
ipw2100-1.2-p.fw Monitor mode

You will need to place all of these files into the hotplug firmware directory
typically /usr/lib/hotplug/firmware/

Download Wireless Tools and Install.

On Debian its as simple as:
apt-get install wireless-tools (version i have is 26+7pre25-2)

Download the IPW2100 Adapter Driver
A prepackaged Debian package containing the source code for this driver already exists for this. I used version 0.53-1

sudo apt-get install ipw2100-source
sudo module-assistant a-i ipw2100

the above command will auto-magically build the module for you.

Load the Module..

modprobe ipw2100
The 'iwconfig' command should now list something like this


eth1 IEEE 802.11b ESSID:"" Nickname:"ipw2100"
Mode:Managed Frequency:2.412GHz Access Point: 00:00:00:00:00:00
Bit Rate=0kb/s Tx-Power=32 dBm
Retry:on RTS thr=2304 B Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:158
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Configure the Interface.

Add the required encryption key, example

iwconfig eth1 key 0123-4567-89

Under Debian add the following line to
/etc/network/interfaces

auto eth1
iface eth1 inet dhcp

Now bring up the the wireless interface
sudo ifup eth1

You should now be assigned an IP address on eth1, and that means you should be ready for many hours of happy wireless computing.....

Posted by michaelm at 12:56 PM | TrackBack