Page 1 of 5

The new network stack

Posted: Sun Apr 12, 2009 6:52 pm
by hidnplayr
As some of you may already know, I am working on a new network stack for KolibriOS.
Since I have been spending a lot of time on it lately, things are starting to come together.

I have created some pages on the wiki to keep you updated about the current status of it.

http://wiki.kolibrios.org/wiki/New_stack
http://wiki.kolibrios.org/wiki/New_network_api

Any comments and/or suggestions about the design would be much appreciated.

Re: The new network stack

Posted: Sun Apr 12, 2009 11:04 pm
by Mario
Wonderful! When are you going to add changes to SVN?

Re: The new network stack

Posted: Mon Apr 13, 2009 3:27 am
by hidnplayr
When it fully works. :D
And, because none of the old drivers/applications will still work, I will need to write some new drivers and applications
(mainly as code examples, but also to be able to test the rest of the code..)

Re: The new network stack

Posted: Wed Apr 21, 2010 2:03 pm
by Asper
What is the state of the current Net branch? What else have to be done to sync the changes with the trunc?

Re: The new network stack

Posted: Fri Apr 30, 2010 4:49 pm
by CleverMouse
Asper, I and hidnplayr have currently no time to actively develop something, so this branch is frozen. It is easy to integrate changes from trunk, but I think that it has no sense while no development goes on.

Re: The new network stack

Posted: Tue May 04, 2010 3:19 pm
by Asper
CleverMouse
Thanks for the info.
Unfortunatelly my motheboard has recently burned and I can't to complete the development of the driver for VIA Rhine and VIA Rhine II network cards. It's also very bad because I almost completed it, I just had to find several bugs in it. :twisted:
After writting the network driver I planned to make support for PPPoE protocol to have net in Kolibri at home, but now I have to buy a new computer.

Re: The new network stack

Posted: Tue May 04, 2010 4:28 pm
by CleverMouse
Asper, I have actually wrote some code for PPPoE, namely first stage - sending PPPoE discover and getting PPPoE offers. I did it to test a driver for a network card in the situation where only PPPoE connection is available, so other network code cannot be used directly, and this stage involves send+receive, which was enough for testing :) BTW I have uploaded binaries to http://ftp.kolibrios.org/users/CleverMouse/ - there are modified kernel and a program which dumps collected offers to console.
I thought that it is natural to write PPPoE support in the net branch, because it is good structured and extendable unlike trunk. However, there are many things that should be added to net branch - even TCP is not supported yet, and it is quite complicated - so now I think that adding PPPoE to trunk has also some advantages :) Anyway, I have almost no time for Kolibri, so I can't do active development.

Re: The new network stack

Posted: Tue May 04, 2010 4:42 pm
by Asper
As to me PPPoE is one of the most wanted things in KolibriOS. The fact that you've written start code for it is a very good news for me. Can I see the sources (in PM)?
Maybe I could participate in further development of it.

Re: The new network stack

Posted: Tue May 11, 2010 12:18 pm
by CleverMouse
Asper, I think that there is nothing secret in this code, so I've uploaded it to my ftp dir as http://ftp.kolibrios.org/users/CleverMouse/pppoe_src.7z. I apologize for the delay.

Re: The new network stack

Posted: Tue May 11, 2010 9:58 pm
by Asper
Thanks a lot! :)

Re: The new network stack

Posted: Mon Oct 11, 2010 9:46 pm
by XVilka
Do you need all network card datasheets - both PHY and MAC layers?

Re: The new network stack

Posted: Tue Mar 26, 2013 11:06 pm
by Leency
Hi. I tested the latest version of new stack distro r3424. So my lan card isn't supported? Notebook Acer Aspire 4740G.
Can you add vendor definition from Network Driver Control Center to PciDev?

Re: The new network stack

Posted: Wed Mar 27, 2013 12:32 am
by hidnplayr
Leency wrote:Hi. I tested the latest version of new stack distro r3424. So my lan card isn't supported? Notebook Acer Aspire 4740G.
Can you add vendor definition from Network Driver Control Center to PciDev?
Your lan card is of the broadcom BCM57xx family. It is not supported yet. But since this is a quite popular card and has good documentation, it's likely that it will be supported in the future.

PCIDEV is normally compiled without full list of vendors, because its quite large. Thats why broadcom and Atheros are not in the list.
Network driver control center has a smaller list of vendors (wich sell network hardware).

Re: The new network stack

Posted: Tue Jul 23, 2013 8:58 am
by Mario_r4
Qemu 0.12.2 and SVN r. 3831
HTMLv + Downloader - download from the network is very-very slow :(
For example loading http://board.kolibrios.org is 100 times slower than the old network stack.
Ends with the message "No more data" in the BOARD, but the page is still not displayed.

UPD.

Code: Select all

qemu -L . -m 128 -fda kolibri.img -boot a -hda c100.img -hdb c100_2.img -cdrom kolibri.iso -localtime -k ru -vga vmware -net nic,model=ne2k_pci -net user -soundhw ac97

Re: The new network stack

Posted: Sat Aug 31, 2013 1:14 pm
by Leency
Kolibri build #3870, Qemu 0.15.1

1. Open /sys/HTMLv
2. Click "Home" button from toolbar
3. Click link "Cтатьи"
Now you can not close any program. You may open a new one, but there is no way to close them.

See PCIDEV.png and Boardlog.png for more information. This is a very serious bug, could you please, fix it?