View Full Version: DexOS server release

dex >>Announcements >>DexOS server release


Dex- 05-11-2008
DexOS server release
You can test DexOS server if you have a rtl8139 ethernet card These are the network stuff "ServerImage" "DexServ.zip" "RTL8139" Available here: http://dex4u.com/download.htm You will just need "ServerImage" to test, but the other zip files have the source code in. Here's how to test To test the DexOS Server you will need a real PC and a RTL8139 ethernet card. Used the enclosed image to make a bootable floppy or bootable CD Once you have booted to DexOS, making sure that DexOS finds your RTL8139 card on boot up. You should be at the CLI type dexserv <enter> Once the program loads press ALT and goto the first menu and click on "Auto Config" you should now see a progress bar, before it gets to the end it should have got a IP address etc, if so click to save and exit. If not it means it could not find a "DHCP" server (if you on a network with a router, this works best). If it could not find a "DHCP" server you will need to set it up manually, to do this click on the "Manual Config" and fill the setting up to suite your setup. Once setup, you can click on "Netstats" to see the stats for the network, ping it from another PC etc. To use the server click "Start Server" you should see the setting and a progress bas moving up and down. To test it goto a PC on the same network and in a web browser type the ip you set (eg: 192.168.2.4) Then you should see DexOS home page come up you can, test it like any other http server. EG: If ask for a page that is not there, you will get a 404. You can make it serve your own pages by filling out 'WebPages.inc' and putting your web pages in the folder 'pages' and re-assembling (note: take out any un-used pages). You can use the tcp/ip stack once the ethernet driver is load from within any DexOS program by using int 52h or int 53h A full list will follow, also to use the server from over the internet you will need to get the ip you set for the server and in your router set that to port forward any income for port 80. (for more info readup on port forwarding). If you get a error in red pop up, it mean theres no stack or ethernet card setup. With DexOS server you can turn a old PC into a web server etc. Any ? just ask and thanks for testing

hidnplayr- 05-12-2008

You should add more Device and vendor id's to the driver if you want to support all RTL8139 clones too ;) The so called clones behave exactly like the original card, but have different id's Here's a list: dd 0x813910ec dd 0x813810ec dd 0x12111113 dd 0x13601500 dd 0x13604033 dd 0x13001186 dd 0x13401186 dd 0xab0613d1 dd 0xa1171259 dd 0xa11e1259 dd 0xab0614ea dd 0xab0714ea dd 0x123411db dd 0x91301432 dd 0x101202ac dd 0x0106018a dd 0x1211126c dd 0x81391743 dd 0x8139021b EDIT: making the port for the HTTP server configureable would also be nice PS:I can run a test server on a pentium for a couple of days if you want I will try it out soon, happy coding!

Dex- 05-12-2008

Thanks hidnplayr, i just hard coded my cards vendor device id in and forgot to add the rest on release :oops: I will add them and re-upload, if you could setup a test server for a couple of days, that would be great. Also i notest a problem, you maybe able to help me with, if you ask for a page from a browser on another PC, say the page is a "index.htm" that also has a image for a logo, that is returned very fast, but if the index.htm as two image in it, it seems as if the browser is waiting for some type of acknowledgement after the second transfer, as it wait about 2-3 seconds before asking for the third transfer. Have you any idea what this could be ? I have fix the clone ID and uploaded the new image and code. Happy coding, regards Dex.

hidnplayr- 05-12-2008

Ok, i'll look into it one of these days..

Dex- 05-13-2008

Thanks

hidnplayr- 05-14-2008

There appear to be some problems with routering and dhcp. It looks like you ported an old version of the menuetos stack? again.. I'll look into it when i have more time ;)

Dex- 05-14-2008

There appear to be some problems with routering and dhcp. It looks like you ported an old version of the menuetos stack? again.. I'll look into it when i have more time ;) Your dhcp client works fine on my PC, does it not work on yours? or do you mean the other problem ?.

hidnplayr- 05-14-2008

I tried it on some of my pc's with 3 different RTL8139's, and came to this conclusion: - There is something wrong with routing, when i'm connecting to the network from behind an other switch, it doesnt work at all. - DHCP fails, it gives an error after probably receiving response from the DHCP server so i'm gessing it's a parsing error. I should add some debug info and run a sniffer on the network to verify this. - The problem you mentioned with the images exists here too, running a sniffer will also help to see what goes wrong. I'm having some troubles with wakadoekoe, wich is sort of my main pc, when i fixed this, i can run the sniffer on it ;)

Dex- 05-15-2008

Thanks hidnplayr for the info, i can not test for the DHPC error on any of my PC's, as it works every time without error. Reagards Dex.

Forumer™ is Voted #1 Free Forum Hosting provider
Build your own community today with the largest message board hosting company.