ezTCP - try #2
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    1. Found out all problems with ascan. It's ba-a-a-dly written. 8-)
    2. Checked out hserv issue and found the bug. FD_ACCEPT is never generated. Will be fixed.
    iPod, iBook, iMac,... iRobot?
  • »21.12.05 - 07:40
    Profile Visit Website
  • Butterfly
    Butterfly
    alfie
    Posts: 96 from 2005/3/25
    From: Italy
    Nhaaaa ascan was written centuries ago for sasc and the rael amiga !!!11 :p
  • »21.12.05 - 07:49
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    BTW, may be it's time to upgrade it a bit and add a NetInfo1.4-alike graphical interface to it? Would be great!
    iPod, iBook, iMac,... iRobot?
  • »21.12.05 - 07:55
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    I incorporated all the changes and everything is fine right now. DHCP already sets up DNS servers. However i delay v0.15 a little since i would like to implement some other DHCP options and close this stage completely.
    iPod, iBook, iMac,... iRobot?
  • »22.12.05 - 05:54
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    Have just finished coding the rest of things. Now i need just to test everything anv v0.15 will be ready.
    Then some testing period will follow, during it i'll move my activity to configuration editor. If no critical bugs are found, i'll start implementing MiamiPanels support. v0.16 will come with them then.
    iPod, iBook, iMac,... iRobot?
  • »22.12.05 - 07:43
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    serge
    Posts: 725 from 2003/2/20
    this is a very very good news. I'll test this version 0.15.

    Thank you very much and merry christmas

    [ Edited by serge on 2005/12/23 3:48 ]
  • »22.12.05 - 15:03
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Acill
    Posts: 1926 from 2003/10/19
    From: Port Hueneme, Ca.
    Whoo! With DHCP done I will at last give it a try. Thanks for all your work. I cant wait to see it in action.

    BTW/ Can anyone that has been using this to get on the internet tell me if its faster then using MiamiDX? I've tried Genesis and didnt like it, so if this is faster it would give a good reason to change.
    Powermac Dual 2.0 GHZ G5 PCI-X (Registration #1894)
    Powerbook 1.67GHZ
    Powermac Dual 2.0 GHZ G5 PCIE (Registration #6130)
    A4000T CSPPC, Mediator
    Need Repairs, upgrades or a recap in the USA? Visit my website at http://www.acill.com
  • »22.12.05 - 16:33
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    dIGIMAN
    Posts: 273 from 2005/11/7
    Quote:


    Acill wrote:

    BTW/ Can anyone that has been using this to get on the internet tell me if its faster then using MiamiDX? I've tried Genesis and didnt like it, so if this is faster it would give a good reason to change.


    Hey Acill m8!
    Its much faster. Ive been using MiamiDX before.
    After switching to ezTCP, the CPS on the telnetd.device in the bbs was much better.
    The Throughput is faster so i guess it will be with everything.
  • »23.12.05 - 05:35
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    http://sourceforge.net/project/showfiles.php?group_id=133480&package_id=171550&release_id=380317

    DHCP support complete! Also some fixes incorporated.
    2 Alfie: Please test hserv, should work now. About that daytime script - i didn't care for now, it's just a demo script. If someone finds the same issue in a real working application, i'll deal with this immediately.
    2 Leo: debug version is for you and your strange DNS. Please contact me and get a detailed instruction, preferrably on IRC to be able to do something interactively.

    Sorry a bit, some minor issues were discovered, in addition some DHCP support functions should be done in a better way than they are now. So i'll start MiamiPanels in v0.17. v0.16 will be there next week and there i'll rewrite the code in order to kill all flaws.
    iPod, iBook, iMac,... iRobot?
  • »23.12.05 - 06:15
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    analogkid
    Posts: 667 from 2004/11/3
    From: near myself
    really great work Sonic!
  • »23.12.05 - 07:23
    Profile
  • Butterfly
    Butterfly
    killlbilll
    Posts: 95 from 2004/5/19
    Quote:


    BTW/ Can anyone that has been using this to get on the internet tell me if its faster then using MiamiDX? I've tried Genesis and didnt like it, so if this is faster it would give a good reason to change.


    Genesis is still *much* faster than the current ezTCP (approx 5x on my system), and that's why I haven't changed.

    If one cannot achieve decent transfer speeds, the stack is pretty useless for me. I've seen MOS1.5's Amitcp-implementation in action, and it performs over 10mb/sec. With ezTCP I get between 1-2mb/sec.
    [ pegasos ii / g4 | morphos1.4.4 ]
  • »23.12.05 - 08:09
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Stevo
    Posts: 895 from 2004/1/24
    From: #AmigaZeux
    And the latest update can ofcourse be found here:

    https://morph.zone/modules/mydownloads/singlefile.php?lid=334
    ---
    http://www.iki.fi/sintonen/logs/its_only_football.txt
  • »23.12.05 - 08:22
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    takemehomegrandma
    Posts: 2720 from 2003/2/24
    Quote:


    killlbilll wrote:
    Quote:


    BTW/ Can anyone that has been using this to get on the internet tell me if its faster then using MiamiDX? I've tried Genesis and didnt like it, so if this is faster it would give a good reason to change.


    Genesis is still *much* faster than the current ezTCP (approx 5x on my system), and that's why I haven't changed.

    If one cannot achieve decent transfer speeds, the stack is pretty useless for me. I've seen MOS1.5's Amitcp-implementation in action, and it performs over 10mb/sec. With ezTCP I get between 1-2mb/sec.


    Then speed must be ramped up! The whole point of having a PPC native stack just goes away if it is slower than emulated 68k stacks! :-/
    MorphOS is Amiga done right! :-)
    MorphOS NG will be AROS done right! :-)
  • »23.12.05 - 11:12
    Profile
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    Finished rewriting NetDB handling. v0.16 needs only to be compiled, debugged and released.
    WARNING!!! A VERY BIG BUG in v 0.15: dhclient doesn't work correctly. For those who know: i've forgotten RTF_GATEWAY flag at default gateway setup. :flame: The result is: you can't ping anything outside of your subnet.
    A workaround is to execute a sequence of three commands after starting up dhclient:
    Wait 15
    route delete default
    route add default <your_gateway>
    15 seconds delay is needed for the dhclient to set up the interface. I am really rerribly sorry for spoiled party...
    This is already fixed in the CVS. v0.16 will be rocking! :)
    iPod, iBook, iMac,... iRobot?
  • »23.12.05 - 12:44
    Profile Visit Website
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Acill
    Posts: 1926 from 2003/10/19
    From: Port Hueneme, Ca.
    Why the heck is is slower then the emulated stack in Genesis then? I dont understand that at all. The only reason I dont use Genesis now is its lack of DHCP (I have a router and dont NEED it, but I like it) and I never could get it to come online by itself and be hidden away at bootup like I do with MiamiDX. Solve those issues and I am a convert.
    Powermac Dual 2.0 GHZ G5 PCI-X (Registration #1894)
    Powerbook 1.67GHZ
    Powermac Dual 2.0 GHZ G5 PCIE (Registration #6130)
    A4000T CSPPC, Mediator
    Need Repairs, upgrades or a recap in the USA? Visit my website at http://www.acill.com
  • »23.12.05 - 12:47
    Profile Visit Website
  • Moderator
    gunne
    Posts: 441 from 2003/2/25
    From: Sweden
    Acill,

    Give Sonic little time. Its not an very easy task to write a TCP-software.

    Probably it will be perfectly working dhclient in next build now. Then perhaps work to look for how to optimize things as for speed for transfers, could start ?

    Gunne



    [ Edited by gunne on 2005/12/23 22:25 ]
    Best wishes, Gunne
  • »23.12.05 - 13:25
    Profile Visit Website
  • Butterfly
    Butterfly
    killlbilll
    Posts: 95 from 2004/5/19
    Quote:


    Acill wrote:
    Why the heck is is slower then the emulated stack in Genesis then?


    I read in an earlier thread that arosTCP is based on some pretty old algorithms.
    [ pegasos ii / g4 | morphos1.4.4 ]
  • »23.12.05 - 13:44
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    Acill
    Posts: 1926 from 2003/10/19
    From: Port Hueneme, Ca.
    Well it seems to be faster then Miami and thats fine for me. I guess the code that amiTCP found in genesis was much better then was Sonic started with from the Aros port. All I hope for now is some good GUI tools and setup features. Its a nice app as it is now. Well worth the time put in.

    Whats nice is soon will have no more questions from new users about Miami Keys. We can at last direct them to the MorphOS native stack to use.
    Powermac Dual 2.0 GHZ G5 PCI-X (Registration #1894)
    Powerbook 1.67GHZ
    Powermac Dual 2.0 GHZ G5 PCIE (Registration #6130)
    A4000T CSPPC, Mediator
    Need Repairs, upgrades or a recap in the USA? Visit my website at http://www.acill.com
  • »23.12.05 - 18:03
    Profile Visit Website
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    antibike
    Posts: 112 from 2003/3/5
    From: Germany / Sachsen
    lo,
    i have fixed the startnet and stopnet script to work correctly with MOSnet v0.15
    startnet also include the gateway-workaround to get dhcp working.
    to get MOSnet working just follow this steps:
    1. download MOSnet, unpack it and copy it to hdd
    2. download http://www.morphos-news.de/temp/MOSnet_Starter.lha , unpack it and copy startnet to sys:c and stopnet to MOSnet/c
    3. edit sys:c/startnet to your needs ... if you have a dhcp server you only have to set the right path to MOSnet on your hdd and the gateway ip.
    4. to go online using dhcp, type the following command in shell "startnet ip=dhcp" ... if you made allright you are online. you can also use "startnet ip=dhcp debug" to get some debug output.
    5. to go offline just type "stopnet" to shell

    cu the antibike
  • »24.12.05 - 06:57
    Profile
  • Moderator
    gunne
    Posts: 441 from 2003/2/25
    From: Sweden
    Hi,

    Nice script antibike ! :-)

    No time try it right now, but later.

    Gunne
    Best wishes, Gunne
  • »24.12.05 - 08:58
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    Hello all!
    http://prdownloads.sourceforge.net/unmorphos/MOSNet0.16.lha?download
    I really hope that this time everything is okay.
    As to the speed questions...
    1. Hm, seems that different people get different results. Not uncommon thing with Windows hosts... Probably things are not that bad.
    2. This is v0.16 and it should be stable. Okay, i give a little time to test it. If it's really stable, i'll produce an experimental kernel build with some things changed. PROBABLY it will speed it up. PROBABLY it will make it unstable, i don't know yet. This is why i haven't introduced these changes yet. I beleive you wouldn't like if i for example fix DHCP but break the kernel and next release you've waited for so much is completely unusable.
    A big schedule for v0.17 is MiamiPanel support. I will start with it as soon as v0.16 is proven to be stable and bug-free. Panels support requires another set of major rewrites in the kernel.
    iPod, iBook, iMac,... iRobot?
  • »26.12.05 - 05:31
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Stevo
    Posts: 895 from 2004/1/24
    From: #AmigaZeux
    Just to boost my number of posts: you can of course download MOSNet v0.16 from MZ as well.

    https://morph.zone/modules/mydownloads/singlefile.php?lid=334
    ---
    http://www.iki.fi/sintonen/logs/its_only_football.txt
  • »26.12.05 - 08:35
    Profile
  • juergen
    Posts: 42 from 2005/2/2
    From: Germany
    That's very good news!

    Do you have any idea how much effort it would need to add PPPoE support?

    Regards,
    Jürgen
  • »26.12.05 - 10:12
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Robin
    Posts: 741 from 2003/2/24
    @Sonic

    Speed should be a more important goal for you.
    Where is the sense in having a native stack
    when it is slower than the emulated alternatives ?
  • »26.12.05 - 10:42
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Posts: 408 from 2004/7/15
    From: Russia, Moscow
    Heh, nice... First real feature request...
    1. Of course it can be implemented.
    2. Not a week or two. Probably 1-2 months... There are two ways to implement it:
    a) Write a PPPoE SANA-II device from scratch.
    b) Take a PPPoE implementation from *BSD and integrate it into the kernel.
    I guess (b) is prefferred since there's no need to write anything from scratch and in-kernel PPPoE is more efficient and would be easier to set up. IMHO SANA-II drivers are designed for hardware abstraction. Protocol abstraction is simply not their job.
    Currently i am unable to write the support because:
    1. I don't have time.
    2. I don't have good testbase.
    It is possible to raise this topic again. The project becomes huge and it can be divided. I would suggest to break it into subtasks. Implementing PPP and PPPoE (they are linked together) could become one of these subtasks.
    iPod, iBook, iMac,... iRobot?
  • »26.12.05 - 11:23
    Profile Visit Website