-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Atari disk image with DaynaPort network setup needed #1321
Comments
@uweseimet I've put together some information on how I got this working on my ATARI TT030 with STiNG: https://www.atari-forum.com/viewtopic.php?p=438157#p438157 If you can't get the setup to work with this information I can try to upload the disk image with my working setup somewhere sometime next week. |
@fdanapfel Thank you! I am going to test this most likely tomorrow and will update this ticket with my results. |
@fdanapfel With your instructions I was quite successful, and piscsi is now receiving SCSI commands for the daynaport when STiNG initializes. The logs look similar to how they look like when a Mac is connected. DHCP does not appear to work yet. The SYSINFO tool says that the TT has IP address 255.255.255.255.
After attaching SCDP it says:
Any idea what's still missing?
|
That's an interesting find. I think dhcpcd used to be installed by default in Buster and Bookworm, but isn't anymore in Bookworm. Let me put up a PR to add it to the list of packages to install in easyinstall.sh |
That's odd. I've never seen this behavior before. Is this on an RPi or Linux PC? |
On a Pi running bookworm. |
@rdmark The web tests are failing? |
Is the piscsi_bridge config file in |
Yes, it is. |
Yes, but I think it's an issue with the github runners:
I saw this before, a few weeks ago, on one of @nucleogenic 's PRs I think. |
@rdmark I double-checked everything, but there is not more to do than copying piscsi_bridge and updating dhcpd.conf, isn't it? After a reboot eth0 is not listed by brctl. |
And the correct network interface is defined in |
|
Then there's no additional setup step that I'm aware of that's missing. @benjamink Are you running the latest Raspberry Pi OS Bookworm, or the older Bullseye, on your RPi? |
@rdmark He is running bullseye, I think he said so. I can run a test on bullseye later. |
Glad those instructions helped! As far As I know STiNG does not support DHCP, so you always need to configure a static IP via the STiNG control panel (which is necessary anyway if the WiFi interface is used on the Pi for the Daynaport). If you use the STiNG archive I've mentioned in my instructions there is a ping.prg in the TOOLS directory of STiNG that can be used to verify that the network connection is actually working btw. |
@uweseimet I filed #1331 to follow up on the network bridge investigations. |
@fdanapfel Yes, the ping and traceroute tools are the ones I am currently using for testing. Somewhere it was mentioned that CAB requires a particular overlay. Do you know where to get it from? And one more question: Does STiNG work with MagiC? |
Just hopping in to confirm that my PiSCSIs are currently using Bullseye. |
For the overlay for CAB, please check https://breakintochat.com/blog/2017/09/05/web-browsing-on-the-atari-st-with-a-cosmosex/ and http://storage.atari-source.org/atari/mirrors/kurobox.serveftp.net/internet/cabovl/ Sorry, haven't used MagiC for decades (I actually only used MagiCMac), therefore I don't know if it works with STiNG. But I think I saw it mentioned somewhere that MagiC has its own network stack (MagicNet). |
@fdanapfel After switching to bullseye the bridge is now working, and in the piscsi log I can see that the daynaport emulation is constantly being pulled for packets. sysinfo shows that the TT has IP 10.10.20.2, but traceroute and ping (I tried 8.8.8.8, which can be pinged from elsewhere) are not working. Any idea what I may be missing? route.tab looks fine to me. |
@uweseimet Does pinging the gateway of that network (10.10.20.1) work? If not then the issue is most likely with the ROUTE.TAB file as far as I can remember (sorry, it's been a while since I last used the Atari TT with the PiSCSI, since I've now switched to a BlueSCSIv2 which also supports the Daynaport emulation if a Raspberry Pi Pico W is used). |
@fdanapfel Pinging the gateway does not work, but I think I know now why. (I'm not a networking expert.) The 10.10.20.0 network only exists when the bridge is set up for wlan0. In my case it's currently eth0, and the Atari most likely gets its IP in the regular local network, in my case 192.168.0.0. I guess I will have to configure a static IP to be asigned to the MAC STiNG uses. Not sure though, how the PI's dhcpcd DHCP and the DHCP of my regular router can both provide IPs for the 192.168.0.0 network. The PI's DHCP configuration does not say anything about 10.10.20.0. |
I will keep this ticket open until I have also managed to get everything running with wlan0 instead of eth0. |
@fdanapfel Can you recommend an ftp client? |
@fdanapfel Thank you, I will. I also found pftp, and was able to successfully connect to an ftp server. |
With wlan0 I was also succesful. @fdanapfel Once again thank you for your help. Using my Atari with the daynaport is a great help when testing changes. Now that I know how to configure STiNG for the daynaport I will try again to also get it working with my Riebl card. Till now I could only use it with Linux-68k and Atari's SVR4. The last time I tried to use it with STiNG I had no success. |
@uweseimet Glad to hear that it is working and happy that I could help. Good luck with the Riebl card. Would love to have one of those, but its next to impossible to find them nowadays. I‘ve managed to get a Pams Net card a while ago, but could not get it to work with either STiNG, MiNT or Atari SVR4 |
@fdanapfel As far as I know there is no ASV driver for the Pams Net card. |
@uweseimet Yepp, the only supported network card for ASV unfortunately seems to be the Riebl cards 😩 Not sure if you are aware of this, but the source code for STiNG is available at https://github.com/th-otto/STinG |
@fdanapfel I was not aware of that, indeed. Thank you. It's even for Pure C, which is fine for me. For Atari software I would not want to work with GCC, neither native nor as a cross compiler. |
@uweseimet The sources of the DaynaPort driver for MiNT are available as part of FreeMiNT: https://github.com/freemint/freemint/tree/master/sys/sockets/xif/daynaport Looks like they are from the same person who created the driver for STiNG, so maybe they are useful even if the Source of the STiNG driver isn't available anymore. |
@fdanapfel :) Yet another interesting link, thank you. |
@fdanapfel With a patch HDDRIVER can map SCSI IDs to LUNs of ID 0. On my TT the DaynaPort driver now also works when the emulation is assigned a LUN > 0. This is probably interresting when using the internal host adapter of the MegaSTE, which only supports a single SCSI ID. I do not have a good setup for testing this with a MegaSTE, though. |
@uweseimet Sorry, no I don't know of any such tool. Over on https://www.atari-forum.com/viewtopic.php?t=43204 somebody was trying to get the DaynaPort emulation that is now also available on the BlueSCSIv2 to work with a MegaSTE, with the BlueSCSIv2 attached to the internal ACSI to SCSI adapter. But the problem seems to be that at least the DaynaPort driver for STing only is able to use LUN0, and even with the MapLunsToIDs of the BlueSCSIv2 it is not possible to get the DaynaPort driver to recognize the emulated DaynaPort adaper when the internal ACSI to SCSI adapter of the MegaSTE is used: https://www.atari-forum.com/viewtopic.php?p=453610#p453610 |
@fdanapfel Yes, the problem with BlueSCSI is identical with what you observe with PiSCSI. This is something that must be resolved on the Atari side. BlueSCSI/PiSCSI cannot do anything about it. |
@fdanapfel There is a performance issue I noticed with the MegaSTE (but ACSI i general is affected) where a patch to BlueSCSI or PiSCSI would help: ACSI/DMA can only transfer multiples of 16 bytes. Any excess bytes are stuck in a FIFO. For hard drive sectors this is not an issue. But with commands where the number of bytes returned is not a multiple of 16 an additional SCSI command has to be sent in order to flush the buffer.. |
@fdanapfel Instead of a patched HDDRIVER there is a tool for the AUTO folder now. No patching required anymore. |
I would like to test the DaynaPort emulation with an Atari TT, but I have failed with setting this up. This is why I am interested in a disk image with a working DaynaPort setup. A plain TOS setup without MiNT is preferred, but not required. The disk image should just contain the bare essentials, including software I can test the connection with.
The text was updated successfully, but these errors were encountered: