From: Jan Panteltje on
Wanted to test a Microchip ENC28J60 ethernet controller chip.
That chip is 3.3V and 5 V tolerant.
So decided to test on the PC par port first.
Ended up writing a complete UDP ARP subsystem in C,
this will add ethernet for next to nothing to anything that has an 8 bits port.
http://panteltje.com/panteltje/jppecat/

Those who know netcat will see I wrote a netcat clone on top of the UDP layer.
From: Joel Koltner on
"Jan Panteltje" <pNaonStpealmtje(a)yahoo.com> wrote in message
news:hrn9i2$8uf$1(a)news.albasani.net...
> Ended up writing a complete UDP ARP subsystem in C,
> this will add ethernet for next to nothing to anything that has an 8 bits
> port.
> http://panteltje.com/panteltje/jppecat/

That's kind neat, Jan. What kind of throughput are you getting?


From: Nico Coesel on
Jan Panteltje <pNaonStpealmtje(a)yahoo.com> wrote:

>Wanted to test a Microchip ENC28J60 ethernet controller chip.
>That chip is 3.3V and 5 V tolerant.
>So decided to test on the PC par port first.
>Ended up writing a complete UDP ARP subsystem in C,
>this will add ethernet for next to nothing to anything that has an 8 bits port.
> http://panteltje.com/panteltje/jppecat/
>
>Those who know netcat will see I wrote a netcat clone on top of the UDP layer.

You could have used uIP. That would have saved you a lot of work. I
managed to run uIP on top of the libpcap libraries to test embedded IP
appliances on a PC.


--
Failure does not prove something is impossible, failure simply
indicates you are not using the right tools...
nico(a)nctdevpuntnl (punt=.)
--------------------------------------------------------------
From: Jan Panteltje on
On a sunny day (Mon, 3 May 2010 13:11:12 -0700) it happened "Joel Koltner"
<zapwireDASHgroups(a)yahoo.com> wrote in
<C5GDn.302120$Vq1.133661(a)en-nntp-03.dc1.easynews.com>:

>"Jan Panteltje" <pNaonStpealmtje(a)yahoo.com> wrote in message
>news:hrn9i2$8uf$1(a)news.albasani.net...
>> Ended up writing a complete UDP ARP subsystem in C,
>> this will add ethernet for next to nothing to anything that has an 8 bits
>> port.
>> http://panteltje.com/panteltje/jppecat/
>
>That's kind neat, Jan. What kind of throughput are you getting?

Thank you.
It is not very fast, have not really measured it, but you can play mp3 via it :-)
One thing, if you test this version, use the -v flag,
I accidently have a return statement within a verbose print, so
without the -v it will not return and throw an error.
And verbose slows it down of course.
The real speed is set by the hardware that drives it,
bit banging the printer port is not fast.
There are absolutely more bugs, this is version 0.1, just got it working.
The main idea is to use it for telemetry, say a packet at the time.
If there is some time between packets (say a few ms) then everything should
work great.
Best is to watch the website for new versions.






From: Jan Panteltje on
On a sunny day (Mon, 03 May 2010 20:42:19 GMT) it happened nico(a)puntnl.niks
(Nico Coesel) wrote in <4bdf34c4.818957468(a)news.planet.nl>:

>Jan Panteltje <pNaonStpealmtje(a)yahoo.com> wrote:
>
>>Wanted to test a Microchip ENC28J60 ethernet controller chip.
>>That chip is 3.3V and 5 V tolerant.
>>So decided to test on the PC par port first.
>>Ended up writing a complete UDP ARP subsystem in C,
>>this will add ethernet for next to nothing to anything that has an 8 bits port.
>> http://panteltje.com/panteltje/jppecat/
>>
>>Those who know netcat will see I wrote a netcat clone on top of the UDP layer.
>
>You could have used uIP. That would have saved you a lot of work. I
>managed to run uIP on top of the libpcap libraries to test embedded IP
>appliances on a PC.

No idea what uIP is, this uses no libraries, and is 100% copyright mine.
It is a powerful building block for further projects,
as now for ethernet connectivity you no longer need an OS!
John Larking will like that idea :-)
Just add any protocol you like on top of it for telemetry,
dream up your won, and then that is rights free too.
And it is good to know exactly the innards of ethernet, I know more about it now
then before I started, that is also the fun part.
Writing code for UDP was new to me, I already had a go at TCP many many years ago for packet radio..
But that is an other story.