Page 1 of 1

Settings for Miami TCP/IP stack

Posted: Mon Sep 30, 2024 5:30 pm
by limi

I want to include a basic internet setup in the next version of AmigaVision — we’re not adding MUI and web browsers and all that craziness, but a pre-configured TCP/IP stack and a couple of simple tools to grab packages from Aminet etc. is something that would be useful in the standard setup.

Here are the settings that worked for me.

Miami is configured like this:

  • Interface: Set speed to 115200, IP Type: Static, IP address: 0.0.0.0 (the IP does not matter as long as there is one)
  • TCP/IP: Hostname: uncheck “dynamic”, set the hostname to whatever you want, I used “amiga"
  • Modem: Selected Nullmodem
  • Database: Added DNS servers, e.g. 1.1.1.1 and 8.8.8.8

I tested the connection by going online and running:

Miami:MiamiPing google.com

It worked, and then I used the terminal program amiget to connect to Aminet and download a file, it worked great.


Original post:

I am able to get it working, but I am also getting an error message when going online that I’d like to get rid of before shipping it in the main release.

Setup:

  • MiamiDX needs MUI, so we use standard Miami instead
  • GTLayout variant is used as UI
  • UART is set to PPP and 115200 baud in the MiSTer menu

Miami is configured like this:

  • Interface: Set speed to 115200, IP Type: Static, IP address: 0.0.0.0 (the IP does not matter as long as there is one)
  • TCP/IP: Hostname: uncheck “dynamic”, set the hostname to whatever you want, I used “amiga"
  • Modem: Selected Nullmodem
  • Database: Added DNS servers, e.g. 1.1.1.1 and 8.8.8.8

Tested it by clicking Online, and ran Miami:MiamiPing 1.1.1.1 to see if we could ping a server. It works, but when clicking the Online button, I get the following error message:

"Your IP address could not be resolved, so Miami has to fall back to your IP address as your host name. Either your ISP does not support reverse mapping for the SLIP/PPP ports, or there is a problem with the DNS servers."

Ping and DNS lookups work fine, so I’m not sure what is wrong. Instead of spending hours looking for the solution, I thought I’d ask here first — it’s been many many years since I used Miami on my original Amiga. 😄

Update: Turns out as long as the hostname is set to not be Dynamic, the values for both IP address and hostname do not matter at all, it works even with 0.0.0.0 as the IP and an arbitrary hostname.


Re: Settings for Miami TCP/IP stack

Posted: Mon Sep 30, 2024 6:03 pm
by cursedverses

I know you know your stuff with this sort of thing, and this page has helped me in the past. Does Anything on here help? https://boogermann.github.io/Bible_MiST ... ted-cores/


Re: Settings for Miami TCP/IP stack

Posted: Mon Sep 30, 2024 6:19 pm
by limi
cursedverses wrote: Mon Sep 30, 2024 6:03 pm

I know you know your stuff with this sort of thing, and this page has helped me in the past. Does Anything on here help? https://boogermann.github.io/Bible_MiST ... ted-cores/

Yes, those are the same settings as I specified above. (Well, the additional ones listed on that page are the default values, that is :)


Re: Settings for Miami TCP/IP stack

Posted: Mon Sep 30, 2024 10:59 pm
by rsn8887

I don't get that error on my private config. My IP is set to static and 192.168.0.254 Notice the zero instead of one!

I am attaching screenshots of my config. Yes this is MiamiDX, but maybe it helps with non-dx as well?

Image
Image
Image
Image


Re: Settings for Miami TCP/IP stack

Posted: Tue Oct 01, 2024 11:34 am
by limi

Might just be the particular network I am on right now (not my home network). Will try on various other networks later.

At least there is a thread with a concise summary of the settings now, I ended up suffering through an awful 16-minute YouTube video, since it was the only thing that showed up in my search results 🤣


Re: Settings for Miami TCP/IP stack

Posted: Tue Oct 01, 2024 8:26 pm
by rsn8887

There are two separate settings: Hostname and IP.

It sounds like you need to set Hostname to "192.168.0.254" as well, not just your IP address.


Re: Settings for Miami TCP/IP stack

Posted: Tue Oct 01, 2024 8:59 pm
by limi

Kind of! It led to the real solution, which is that as long as the hostname isn’t dynamic, the error message goes away. The value doesn’t actually matter. And, weirdly, the instructions about setting IP address to 192.168.0.254 (based on your network) is also unnecessary!

I set IP to 0.0.0.0 and hostname to amiga — and it connects without errors, and I used amiget to download a file from Aminet, it worked great. So, looks like we can include this, and it works no matter what the IP scheme is on your network, Miami + MiSTer doesn’t seem to need it.

(Updated the original post with the new info)