pushing network support to your OS

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

pushing network support to your OS

Post by Pype.Clicker »

Hey dudes. As you might know, whyme_t recently developed a NE2000 driver for Clicker that was working quite fine (at least the last time he tried it). Since it appears that BI is actually trying to add networking aswell, i got the feeling that it could be great to know who is currently working on such stuff to share experience, testbeds, collected knowledge, etc.

Among other things, i have datasheets and programming guides for NE2000, RTL8139 and i should be able to locate a document about how-to-write-your-IP-layer stuff...
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:pushing network support to your OS

Post by Candy »

Well... it's a tad more complex than that actually.

My main system (amd 1200) has a SIS900 network card on board, my router (nonfunctional) has an rtl8139 and I believe a 3com PCI card. My server (nonfunctional) has a 3com ISA card. My laptop has a 3com pcmcia card with a broken plug (so you can test the driver except for the sending/receiving part, and that only if I can find it again).

Plus, of course, rtl8139 cards are cheap so I would buy one or more if necessary.

I voted rtl8139 :)
zloba

Re:pushing network support to your OS

Post by zloba »

i say rtl8139 are the most commonplace - i see them everywhere. they're 100mbit, cheap and universally supported.
also maybe older 10-mbit rtl8029 (ne2000)..

my future "test machine" (the 486 in the closet) has 2* rtl8029.
durand
Member
Member
Posts: 193
Joined: Wed Dec 21, 2005 12:00 am
Location: South Africa
Contact:

Re:pushing network support to your OS

Post by durand »

rtl8139 as well. Maybe we could start putting up the sources somewhere for the cards? There are only a few major ones and once we support those, we've covered 80% of the network card market.
distantvoices
Member
Member
Posts: 1600
Joined: Wed Oct 18, 2006 11:59 am
Location: Vienna/Austria
Contact:

Re:pushing network support to your OS

Post by distantvoices »

Currently I'm crafting socket code and UDP & TCP structures - the headers I can get from anywhere (internet, my books,...) *gg*. The Protocol control blocks which attach to their respective sockets - these are another pair of shoen.

First, just for initial testing, I'm gonna provide the loopback network ?nterface. It's simple: just hand back to upper layer (IP in my case) what comes along.

I reckon, the relation interface<->tcp/udp/icmp is resolved by ip - comparing route table entries with the address and looking which of the registered interfaces (a route points to an interface if I understand correctly) is responsible for transferring a packet further - and vice versa (well, IP multiplexing and demultiplexing is a bit more than just a few sentences but you get what I mean).

This might have to walk a long way ere I can even think about transmitting the first packet to the loopback interface.

stay safe.
... the osdever formerly known as beyond infinity ...
BlueillusionOS iso image
proxy

Re:pushing network support to your OS

Post by proxy »

anyone seen any good amd pcnet32 drivers. i looked at linux's briefly but was just wondering if there were any other implemnentations worth looking at. the reason i ask is because i test my OS in vmware :)

proxy
Cjmovie

Re:pushing network support to your OS

Post by Cjmovie »

I'm not really sure...It's integrated into my nVidia South Bridge (or was it the North Bridge? Not really sure).

But it's 10/100/1000.

However, I have a huge set of identical 3com network adapters.
Post Reply