lenticularis39 / axpbox

AXPbox Alpha emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TCP/IP installation

gheinzl60 opened this issue · comments

running axpbox on Ubuntu 22.10 ...

doing TCP/IP setup

on Ubuntu:
in a 192.168 network
heinzl@Tower:/tmp/axpbox-main/build$ ifconfig|grep 192.168
inet 192.168.178.20 netmask 255.255.255.0 broadcast 192.168.178.255

heinzl@Tower:/tmp/axpbox-main/build$ ifconfig|grep -1 enp
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 64:00:6a:92:39:95 txqueuelen 1000 (Ethernet)

inserted into es40.cfg

ci0.4 = dec21143
{
adapter = "enp0s25"
mac = "64:00:6A:92:39:95";
}

Consequence of above change:
./axpbox run
2 PuTTY windows --> Connection reset by peer
Emulator Failure: Runtime exception: Error opening adapter enp0s25:
enp0s25: You don't have permission to capture on that device (socket: Operation not permitted):
/home/heinzl/axpbox-main/src/DEC21143.cpp, line 312

sudo setcap cap_net_raw,cap_net_bind_service=+eip ./axpbox
sudo ./axpbox run

all fine, could boot and login as system
problem: cannot ping anything else what I entered as "primary address on WE0"
IPs I tried here:
10.0.1.1 (default)
192.168.178.20 (ubuntu host running axpbox on)
192.168.178.1 (my fritz.box router)

... situation much like that in issue #68 except retrial from scratch did not help