@Petrol
On WinUAE it works perfectly only with external IP and with RTL8029. using VMnet8 (VMWare) as driver.
Using NPcap to be able to activate it.
With local IP e.g. 10.0.2.15 doesn't work.
I talked to ZBalaton and he told me to totally change my approach to the problem because Qemu is not WinUAE.
So doing with Qemu:
sudo ip tuntap add user white mode tap
sudo ip link set tap0 up
sudo ip addr add 192.168.0.1/24 dev tap0
sudo sysctl net.ipv4.ip_forward=1
sudo iptables -t nat -A POSTROUTING -s 192.168.0.2 -j MASQUERADE
qemu-system-ppc -cpu 7447 -L pc-bios -M pegasos2 -bios /home/white/Scaricati/pegasos2.rom -m 1024 -serial stdio -device sm501 -drive if=none,id=hd,file=/home/white/Scaricati/16gb.raw,format=raw -device ide-hd,drive=hd,bus=ide.1 -netdev tap,id=tap0,ifname=tap0,script=no,downscript=no -device rtl8139,netdev=tap0 -nodefaults -display sdl -vga none
I get the external IP I need
connecting with RTL8139 with static IP with:
192.168.0.2
255.255.255.0
192.168.0.1
192.168.0.1
the network works well for example with Odyssey (a slight lag)
I did an "ARP Scan" and there doesn't seem to be any conflict with The ip is port 22
i can access the terminal from amignix to linux and i can do anything from the shell.
At the moment I can launch applications like firefox, FFplay, ect. but only if i open the DISPLAY on linux.
while if I open it on Amicygnix with
export DISPLAY=192.168.0.2:0.0
in HostX.0 I put the linux IP
and I use FFplay
i get for example only the sound but i don't see anything on AmiCygnix.
if i do echo "$DISPLAY"
192.168.0.2:0.0
if I do "$AUTHORITY"
the field is empty:
while XAUTH list
I have the linux key to send
I think there are problems with sending the MAGIC COOKIE1
i'm reading this:
https://serverpilot.io/docs/how-to-use ... ublic-key-authentication/https://www.ssh.com/academy/ssh/keygenI downloaded Openssh from OSDepot I hope they are the right files to use on the AmigaOS side.
And I use SSHTErm to connect.
Edited by white on 2023/5/3 19:22:56
Edited by white on 2023/5/3 19:27:58
Edited by white on 2023/5/3 19:30:47