STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

All about the serious stuff.

Moderators: Mug UK, Zorro 2, Moderator Team

czietz
Hardware Guru
Hardware Guru
Posts: 744
Joined: Tue May 24, 2016 6:47 pm

STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby czietz » Mon Jul 02, 2018 7:19 pm

Hello,

exciting news: thanks to a contribution by Roger Burrows we now have an open-source STinG driver for the USB-to-Ethernet adapters based on the Asix AX88772 chip -- the same ones that are supported by the MiNTNet driver and my uip-tool port. STinG (ST Internet Next Generation), if you don't know, is probably the most popular network stack for plain TOS, for which different clients (FTP, Mail, IRC, WWW...) exist.

Find it here: https://github.com/czietz/usbsting/

Of course, I tested it with my Lightning VME USB host adapter. However, since troed got my uip-tool port working on the Unicorn, I assume the STinG driver would work with that as well.

User avatar
dhedberg
Atari Super Hero
Atari Super Hero
Posts: 767
Joined: Mon Aug 30, 2010 8:36 am
Contact:

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby dhedberg » Mon Jul 02, 2018 8:11 pm

Awesome! Great work!
Daniel, New Beat - http://newbeat.atari.org. Like demos? Have a look at our new Falcon030 demo MORE.

User avatar
troed
Atari God
Atari God
Posts: 1419
Joined: Mon Apr 30, 2012 6:20 pm
Location: Sweden

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby troed » Mon Jul 02, 2018 10:48 pm

<3

czietz
Hardware Guru
Hardware Guru
Posts: 744
Joined: Tue May 24, 2016 6:47 pm

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby czietz » Fri Jul 13, 2018 7:05 pm

FYI: Driver has been updated to (hopefully) fix hot-plugging, i.e. connecting and disconnecting the USB-to-Ethernet adapter while the computer is running.

mzry
Captain Atari
Captain Atari
Posts: 445
Joined: Tue Jan 26, 2016 12:39 pm

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby mzry » Wed Aug 08, 2018 4:50 am

Is there a a mint xif driver for these USB lan adaptors?
Falcon ct63e 060 - 256mb ram - phantom bus and dsp accel // Atari TT - Thunder and Storm IDE 64mb ram - SCSI2SD - Lightning VME - USB LAN - Ati Mach64

czietz
Hardware Guru
Hardware Guru
Posts: 744
Joined: Tue May 24, 2016 6:47 pm

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby czietz » Wed Aug 08, 2018 5:16 am

mzry wrote:Is there a a mint xif driver for these USB lan adaptors?


Yes, of course, as I mentioned in my initial post in this thread. The MiNT driver exists for a long time already. Look for asix.xif and eth.udd.

mzry
Captain Atari
Captain Atari
Posts: 445
Joined: Tue Jan 26, 2016 12:39 pm

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby mzry » Wed Aug 08, 2018 8:48 am

Okay I found them eventually. I am uploading a ZIP with the two drivers inside, as I found them hard to track down. Might make it easier for others.
eth.zip

By the way, that Asix chipset sure runs HOT! I actually opened it up and put a heatsink on it lol :)
You do not have the required permissions to view the files attached to this post.
Falcon ct63e 060 - 256mb ram - phantom bus and dsp accel // Atari TT - Thunder and Storm IDE 64mb ram - SCSI2SD - Lightning VME - USB LAN - Ati Mach64

czietz
Hardware Guru
Hardware Guru
Posts: 744
Joined: Tue May 24, 2016 6:47 pm

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby czietz » Wed Aug 08, 2018 7:27 pm

eth.udd and asix.xif are included in the FreeMinT binary snapshots available at https://freemint.github.io/. I don't know, though, why they package the asix.xif driver into the "megaste" folder of all places. Maybe this can be discussed on FreeMinT's Github bug tracker.

mikro
Atari God
Atari God
Posts: 1682
Joined: Sat Sep 10, 2005 11:11 am
Location: Kosice, Slovakia
Contact:

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby mikro » Sat Aug 11, 2018 3:24 pm

czietz wrote:eth.udd and asix.xif are included in the FreeMinT binary snapshots available at https://freemint.github.io/. I don't know, though, why they package the asix.xif driver into the "megaste" folder of all places.

That would be me. For some reason I had included that driver for STE/MegaSTE only. What is even more interesting, one shell function which was supposed to copy all m68k drivers (i.e. not specific to any CPU/machine like the raw floppy access, audio device, ...) was not called at all! So this more than one year old bug has been fixed now, thank you for spotting it.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12418
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby wongck » Thu Aug 16, 2018 12:13 pm

Amazing stuff.
What sort of network transfer speed are we getting here ?
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

czietz
Hardware Guru
Hardware Guru
Posts: 744
Joined: Tue May 24, 2016 6:47 pm

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby czietz » Thu Aug 16, 2018 4:08 pm

wongck wrote:Amazing stuff.
What sort of network transfer speed are we getting here ?


Greatly depends on the USB host adapter that you're using. With the Lightning VME I measured something like 140 kByte/s, iirc.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12418
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby wongck » Thu Aug 16, 2018 11:27 pm

ow...That's about just about half the speed of NetUSBee... may be the TT CPU needs boasting ( is that the project next on the list???).
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list

mzry
Captain Atari
Captain Atari
Posts: 445
Joined: Tue Jan 26, 2016 12:39 pm

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby mzry » Fri Aug 17, 2018 1:28 am

Inside Mint using this USB2LAN I am only getting 50k/s ftp transfers using ncftp command line.
Falcon ct63e 060 - 256mb ram - phantom bus and dsp accel // Atari TT - Thunder and Storm IDE 64mb ram - SCSI2SD - Lightning VME - USB LAN - Ati Mach64

czietz
Hardware Guru
Hardware Guru
Posts: 744
Joined: Tue May 24, 2016 6:47 pm

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby czietz » Fri Aug 17, 2018 5:23 am

wongck wrote:ow...That's about just about half the speed of NetUSBee... may be the TT CPU needs boasting ( is that the project next on the list???).


Just to clarify for other readers: with the NetUSBee you're using the network part, USB is not involved at all. Considering that with the USB2LAN data on the other hand has to be transferred via USB, this is still quite fast, imho!

Also, how did you measure the NetUSBee speed? Unter TOS+STinG, I use Roger's PFTP to get realistic values for a TCP transmission.

User avatar
wongck
Ultimate Atarian
Ultimate Atarian
Posts: 12418
Joined: Sat May 03, 2008 2:09 pm
Location: Far East
Contact:

Re: STinG driver (TCP/IP networking for TOS) for USB2LAN adapters

Postby wongck » Fri Aug 17, 2018 10:21 am

czietz wrote:Just to clarify for other readers: with the NetUSBee you're using the network part, USB is not involved at all. Considering that with the USB2LAN data on the other hand has to be transferred via USB, this is still quite fast, imho!

Also, how did you measure the NetUSBee speed? Unter TOS+STinG, I use Roger's PFTP to get realistic values for a TCP transmission.


Don't get me wrong... you guys are doing great.
I do not have a NetUSBee... and that speed I saw someone else achieving was on a faster 95MHz Atari.
viewtopic.php?f=97&t=31641&p=336233#p336323

So 140 KB/s is very great for a standard TT, that's why I asked about is accelerated TT the next project.
Given the Falcon is 95Mhz --> about 3x the TT speed of 32 Mhz.... you achieved a much better speed in your LAN driver.
My Stuff: FB/Falcon CT63/CTPCI+ATI+RTL8139+USB 512MB 30GB HDD CF HxC_SD/ TT030 68882 4+32MB 520MB Nova/ 520STFM 4MB Tos206 SCSI
Shared SCSI Bus:ScsiLink ethernet, 9GB HDD,SD-reader @ http://phsw.atari.org
My Atari stuff for sale - click here for list


Social Media

     

Return to “Applications”

Who is online

Users browsing this forum: No registered users and 2 guests