<snip of yesterday>

Two things so far today:

(a) I've also set up RPCemu on a MacBook (2015) and it works at the earth 
shattering rate of a stated approx 55 mips.

(b) Started to try to get networking going on the Mac and got stuck.

I suspect part of the reason is that 'RPCEmu Networking Guide' is specified for 
stable releases where the run command is indeed ./rpcemu

>From the page 'Linux Binary Configuration' I chose the 'sudo method' and did 
>this in Terminal:

-------   Start of attempt to do 'sudo ./rpcemu'   ---------

tim@tim-VirtualBox:~/rpcemu/rpcemu-0.8.102$ ls
cmos.ram  hd4.hdf  poduleroms  riscos-progs  rpc.cfg            rpclog.txt
COPYING   hostfs   readme.txt  roms          rpcemu-recompiler  src
tim@tim-VirtualBox:~/rpcemu/rpcemu-0.8.102$ sudo ./rpcemu-recompiler
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'

-------   End of attempt to do 'sudo ./rpcemu'   ---------

The result of the above was that a second iteration of RPCemu started up OK.

I then edited rpc.cfg.  This may have been a mistake and should have belonged 
only to the 'chown method'.

Back to the RPCEmu Networking Guide and a check on the running network 
interfaces:

--------   Start of 'if config'   --------

tim@tim-VirtualBox:~/rpcemu/rpcemu-0.8.102$ ifconfig -a
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.31  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::ac39:5e9c:a15:5257  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:2e:33:3f  txqueuelen 1000  (Ethernet)
        RX packets 266731  bytes 155038039 (155.0 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 89971  bytes 13023739 (13.0 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 2513  bytes 196530 (196.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2513  bytes 196530 (196.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

--------   End of 'if config'   -------

The first of the two interfaces was (probably) the one running on Ubuntu to 
talk to VirtualBox.

I then tried to issue the commands on the Ubuntu interface:

--------   Start of interface commands   --------

tim@tim-VirtualBox:~/rpcemu/rpcemu-0.8.102$ iptables -I FORWARD -m state 
--state ESTABLISHED,RELATED -j ACCEPT 
conntrack: Could not determine whether revision 3 is supported, assuming it is.
conntrack: Could not determine whether revision 3 is supported, assuming it is.
conntrack: Could not determine whether revision 3 is supported, assuming it is.
iptables v1.6.1: can't initialize iptables table `filter': Permission denied 
(you must be root)
Perhaps iptables or your kernel needs to be upgraded.
tim@tim-VirtualBox:~/rpcemu/rpcemu-0.8.102$ 

--------   End of attempt at interface commands   --------

You will note the error message that 'you must be root', so I definitely gave 
up as I knew this had to be duff.

What should I have done?

-- 
Tim Powys-Lybbe                                                           
[email protected]
                        for a miscellany of bygones: http://powys.org/


_______________________________________________
Rpcemu mailing list
[email protected]
http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu

Reply via email to