On 1 Feb 2011, at 23:07, David Pitt wrote: > Chris Wraight <[email protected]> wrote: > >> Thanks David. >> >>>> The next instruction is to run a shell script to start NAT on the >>>> Mac. However, I can't find a copy of this script anywhere - could >>>> someone let me know where I can find it, and where to put it once >>>> I've got one? >>> >>> The scripts are in the latest zip in a directory called 'scripts' :- >>> >>> http://www.devrx.org/software/rpcemu/rpcemu-spoon-fjd-2011-01-04.zip >> >> >> I've found them now (no idea how I missed them in the original download), >> but have had no luck in getting things to work. My knowledge of Mac OS >> command-line stuff is almost non-existent, so despite trying to follow the >> instructions I'm sure I'm doing very stupid things. I think I'd be best >> off Googling for a basic tutorial on how to run scripts correctly. > > The instructions are correct but the way I do it is to drag the startnat > file to the terminal cursor, to enter its full filename, then append to that > the interface, then press return. The terminal should look like this :- > > iMac:~ djp$ > /Users/djp/Progm/rpcemu-spoon-fjd-2011-01-04/scripts/macosx/startrpcemunet > en0 > Password: > net.inet.ip.forwarding: 0 -> 1 > 14201 divert 8668 ip from any to any via en0 > 14202 allow ip from any to any > > Then double click on RPCemu.app. > > Networking should be working. (If it isn't try quitting and restarting > RPCemu.app.) (And if that does not work reboot the Mac and start again.)
Yes that should work. If you are using a wireless network then you may need to use "startrpcemunet en1" instead of "startrpcemunet en0". I sometimes find that I need to uninstall the privileged helper tool and then let RPCEmu install it again to get networking to work, unfortunately the script to uninstall it isn't in the binary distribution, it's only in the source at src/macosx/AuthorizedTasks/ToolUninstaller.sh. Rebooting Mac OS X may help though. I'd like to make the GUI set up the networking stuff automatically without the need for scripts, but I don't have much time to spend on RPCEmu at the moment so it's unlikely to happen soon I'm afraid (unless someone else implements it). Francis _______________________________________________ Rpcemu mailing list [email protected] http://www.riscos.info/cgi-bin/mailman/listinfo/rpcemu
