Re: [OT] Programming network devices

Jes Sorensen (Jes.Sorensen@cern.ch)
07 Oct 1999 09:48:47 +0200


>>>>> "Ivan" == Linux Lists <lists@cyclades.com> writes:

Ivan> I need to develop a configuration utility to a network
Ivan> device. All I need this application to do (I guess) is to open
Ivan> this netdev, send an IOCTL to it, and then close it. At least
Ivan> that's how I'm used to do it with serial ports ... :)

Ivan> The info I need is: is there any good resource of information on
Ivan> how to write such an application ?? I tried looking at the
Ivan> ifconfig (net-tools) code, but that's too (read much more)
Ivan> complex for what I need.

I wrote a tool to upgrade the firmware on the Essential Road Runner
HIPPI card a while ago. It does basically what you are asking for, and
a little more which is related to convert the firmware image, but you
can ignore that bit (convert_segment() etc).

You can find it at http://home.cern.ch/~jes/hippi/rrfw-1.0.tar.gz

Jes

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/