amiga_pi_network
Reports and safely configures the Raspberry Pi's Ethernet or Wi-Fi as a second Roadshow interface for an Amiga running Emu68, including probation, confirmation, and undo.
Instructions
The Raspberry Pi's Ethernet or Wi-Fi for an Amiga with Emu68, instead of a slow adapter.
action "report" (the default, reads only): Emu68 or not, the drivers in DEVS:Networks (genet.device for the Pi 4's Ethernet, wifipi.device for Wi-Fi; a missing one is named with where it comes from), the TCP/IP stack, Roadshow's interfaces and addresses, and what the link runs at now.
"setup" with interface "ethernet" or "wifi" adds the Pi's network as a
second Roadshow interface next to the existing one, which stays as it is.
Without confirm=True it only tells what it would do (ask the user first).
The new interface comes up on probation: unless the PC reaches the Amiga
through the new address within probation seconds, a script on the Amiga
takes it down again, and a restart forgets it, so the way back needs no
network. Once reached, it is kept (DEVS:NetInterfaces), the speed before
and after is measured, and Amigent's entry moves to the new address.
Wi-Fi names and passwords are entered by the user on the Amiga, never here.
"confirm" retries reaching the new address; "undo" takes it all back.
The Pi's boot partition is never touched.
machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "amiga_pi_network"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | report | |
| confirm | No | ||
| machine | No | ||
| interface | No | ethernet | |
| probation | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |