Welcome, Guest. Please login or register.

Author Topic: uIP/lwIP for Amiga OS  (Read 21918 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: uIP 0.1.0 for Amiga OS 3.x
« Reply #14 from previous page: November 21, 2007, 08:25:32 AM »
Quote

Trev wrote:
I move stuff back and forth between the PC and the Amiga using floppies.

Time for a good TCP/IP stack, huh?  :lol:
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: uIP 0.1.0 for Amiga OS 3.x
« Reply #15 on: November 21, 2007, 08:05:31 PM »
A600 and cnet.device works fine, but quite a few dropped packets...
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: uIP 0.1.0 for Amiga OS 3.x
« Reply #16 on: November 25, 2007, 01:00:13 PM »
Quote

Trev wrote:
Dropped packets are probably not a good thing. I'll look into it.

This appears to be a problem of slower systems (A600). On the 1200 with 030, there were no dropped packets.
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: uIP 0.1.0 for Amiga OS 3.x
« Reply #17 on: November 25, 2007, 07:36:03 PM »
Quote

Trev wrote:
If the A600 is taking longer than 1 second (de facto standard delay between requests) to respond to an ICMP echo request, then yes, something will get dropped.

I didn't test that with ICMP, but browsed the web pages and the dropped packets were increasing quite quickly.
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: Updated: uIP for Amiga OS
« Reply #18 on: December 02, 2007, 11:48:11 AM »
Quote

Trev wrote:

Apart from that, this revision should be more responsive--both uIP and the OS itself--than the last. I'm interested in ping response times for various Amiga configurations using a full-sized frame, e.g. ping -l 572 n.n.n.n.


Ping times are usually between 55-60 ms on my A1200 030/50 with prism2.device (buffers 10). I noticed some strange behavior though: The first pings (looks like the number is related to the buffers?!) seem to be fired very fast. After that, they happen in the usual 1 second interval. When I ping for the first time, I also get a whole bunch of "ping: sendto: Host is down" messages before it actually starts working. The OS indeed seems to retain its normal responsiveness when uIP is running in the background, so that's a great improvement.

However, I have a problem with uIP on the A600. It won't start up. When I try to run it, I get back my shell prompt immediately without anything happening.
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: Updated: uIP for Amiga OS
« Reply #19 on: December 03, 2007, 10:41:20 AM »
Quote

Trev wrote:
Anyhow, which ping are you using?


I was pinging from FreeBSD 6.2, I suppose the client side is pretty healthy ;-)

Quote

Try BUFFERS 2 (the old behavior) and let me know if it still happens.

I'll do so, just a little patience...

Quote

I started linking with vbcc's auto library during testing. That's probably what's preventing the application from starting on OS 2.1. I'll pull it out, as I'm not using it at the moment.

Maybe the arguments are not read correctly on the 600? I double checked them, so I am quite sure that there was no typo, but uIP quits without feedback when your arguments are incorrect, so you never know... Maybe you can build in some context help?
EDIT: Didn' check your latest version on the 600 yet, I hope I can try it tonight...
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: Updated: uIP for Amiga OS
« Reply #20 on: December 03, 2007, 07:30:13 PM »
Quote

Trev wrote:

I have a feeling the problem is the device, but you never know. I'll look at the prism2 code. If there's something I'm doing incorrectly for that device, I'll need to implement a fix in a way that doesn't break other devices.


I suggest you don't investigate on this any further at the moment. The problem somehow seems to be also related to my network. I have the same effect when I ping other hosts with -l 572.

Good news: The latest version runs on the A600 again :-) I have ping times of ~120 ms with cnet.device. But buffer settings don't seem to have much effect and dropped packets are still there. Maybe you want to have a look at it yourself? You can reach my A600 here: [EDIT: Link removed, offline now]
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: Updated: uIP for Amiga OS
« Reply #21 on: December 03, 2007, 09:51:30 PM »
Quote

Trev wrote:
:-) Are you behind a firewall and using port mapping and packet forwarding for HTTP? This shouldn't be working

Yes, I configured port forwarding for http. OK, when you ping the address, it's the firewall that is responding, so that's pretty useless. But did you check the dropped packets in the TCP statistics?
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: Updated: uIP for Amiga OS
« Reply #22 on: December 04, 2007, 09:52:53 AM »
Quote

Trev wrote:
I've also put up a new version that includes support for renewing DHCP leases.

That's great, I was slowly running out of leases already. :lol:

Quote

If the lease is not renewed, the IP address is set to 0.0.0.0 (may need to make that 255.255.255.255--haven't tested this scenario) and the DHCP discover/request/renew process starts over.

Shouldn't that be some 169.254/16 address (RFC 3927)? Or am I mixing up something?
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: Updated: uIP for Amiga OS
« Reply #23 on: December 12, 2007, 06:38:01 PM »
Quote

Trev wrote:
lwIP is coming along as well.

Great news. My Amiga systems can“t wait to run it ;-)

Keep up the good work!! I wish I could contribute with coding, but my skills limit me to beta testing. Maybe one day...
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: uIP/lwIP
« Reply #24 on: January 16, 2008, 02:48:35 PM »
How are things going? Do you make any progress?
 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: uIP/lwIP for Amiga OS
« Reply #25 on: January 29, 2008, 06:03:04 PM »
To bridge the waiting time for lwIP, I created an icon for it (MagicWB style).  It is my very first icon, so don't judge too hard... ;-)


 

Offline Colani1200

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 707
    • Show all replies
Re: uIP/lwIP for Amiga OS
« Reply #26 on: May 17, 2010, 12:16:52 PM »