[Rpcemu] Networking on MacOS again

Francis Devereux francis at devrx.org
Mon Oct 24 18:00:48 PDT 2011


Hi Chris,

I recently upgraded to OS X 10.7 (from 10.6) and networking went from working most of the time to not working most of the time. The symptoms were the same as yours: no errors but no network traffic gets from the emulated Risc PC to/from the host Mac.

I've had a look into it and fixed the bug that stopped it working on my machine and I'd be interested in hearing whether it fixes it for you too. I've uploaded a build with the fix to http://www.devrx.org/software/rpcemu/rpcemu-spoon-fjd-2011-10-25.zip . The gory details of the fix can be found at https://bitbucket.org/frankoid/rpcemu-spoon-fjd/changeset/57ee2d2b17fb .

I'm assuming that you're still running 10.6 Chris, but if you're running 10.7 then be aware that the current release of TunTapOSX can cause kernel panics. There are fixes but they aren't part of an official release yet - I can publish the build I'm using if anyone needs it though.

Francis

On 30 Jun 2011, at 14:20, Chris Wraight wrote:

> Sorry to resurrect an old thread, but I'm still not able to get networking to work. As far as I can see, I've installed everything on my Mac correctly. Entering sudo <rpcemu dir>/scripts/startnat en1 in the terminal window produces the following:
> 
> net.inet.ip.forwarding: 0 -> 1
> 14201 divert 8668 ip from any to any via en1
> 14202 allow ip from any to any
> 
> I've followed the instructions at http://www.riscos.info/index.php/RPCEmu_Linux_Guide#Network_support to configure RISC OS. Once all the steps have been taken, if I type *ifconfig -a into a task window, I get:
> 
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000 
> rpcem0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 172.31.0.2 netmask 0xffff0000 broadcast 172.31.255.255
>         ether 00:00:00:00:00:00lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>         inet 127.0.0.1 netmask 0xff000000 
> rpcem0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet 172.31.0.2 netmask 0xffff0000 broadcast 172.31.255.255
>         ether 00:00:00:00:00:00
> 
> That looks just as the guide says it should. However, if I try to *ping 172.31.0.1, I get this:
> 
> ping: sendto: Host is down
> ping: wrote 172.31.0.1 64 chars, ret=-1
> ping: wrote 172.31.0.1 64 chars, ret=-1, etc.
> 
> 
> Can anyone advise what might be going wrong, and what I can do to fix it?
> 
> Many thanks,
> Chris
> 
> _______________________________________________
> Rpcemu mailing list
> Rpcemu at riscos.info
> http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
> 




More information about the Rpcemu mailing list