captain-amygdala / pistorm

68k Hardware Emulator
MIT License
737 stars 103 forks source link

Pistorm Emulator crashes when I install Roadshow for internet #78

Closed Tsthanos closed 6 months ago

Tsthanos commented 6 months ago

I followed the instructions for networking my amiga 2000 with WB 3.2 with Roadshow but after rebooting emulator crashes constantly. This is the error message in the raspberry CLI. I use Raspberry PI zero 2w Στιγμιότυπο οθόνης από 2024-02-29 00-31-02

Victory2018 commented 6 months ago

I sorted this on mine, it was something to do with the OS changes on the Pi with networking, i fixed it by adding the following two lines in etc/rc.local just before the line exit 0. Then reboot the pi.

sudo ip tuntap add mode tap tap0 sudo ifconfig tap0 192.168.2.1 up

theonetruetom commented 3 months ago

This works, if you're not getting failures in rc-local compatibility from systemd. I had to do something a bit more convoluted and add those two commands as a script in ~ called tuntap.sh:

#!/bin/bash

ip tuntap add mode tap tap0
ifconfig tap0 192.168.2.1 up

and then /etc/systemd/system/pi-tuntap.service:

[Unit]
Description=PiStorm tuntap device setup
Wants=network-online.target
After=network-online.target network.target

[Service]
ExecStart=/home/<username>/tuntap.sh

[Install]
WantedBy=multi-user.target