On 2 Feb 2011, at 09:17, Chris Wraight wrote:

> David/Francis,
> 
>>> 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.
> 
> 
> Thanks for your replies. You've encouraged me to try again. Not getting very 
> far, though.
> 
> 1. Step 1 of the instructions tells me to 'tap kext'. I typed this into the 
> terminal, and got:
> -bash: tap: command not found
> 
> Typing 'sudo kextload /Library/Extensions/tap/kext' results in:
> /Library/Extensions/tap/kext failed to load - (libkern/kext) not found; check 
> the system/kernel logs for errors or try kextutil(8).

You don't need to do this part because you've installed the TunTap startup 
items which automatically loads the tap.kext on boot (as David says, it's 
tap.kext not tap/kext - to avoid these sort of errors you could copy/paste from 
the readme instead of typing the commands in). I don't have them automatically 
loaded on boot on my machine, hence this step in the instructions.

> 
> I've installed TunTap as instructed - is there anything I'm doing that could 
> be 
> causing these errors?
> 
> 2. I pressed on with dragging the script 'startnat' to the terminal and 
> appending 'en1' (I'm on wireless). Results:
> 
> net.inet.ip.forwarding: 0
> sysctl: net.inet.ip.forwarding: Operation not permitted
> natd: Unable to create divert socket.: Operation not permitted
> ipfw: socket: Operation not permitted
> ipfw: socket: Operation not permitted
> 
> Same results with 'en0'.

This is because you're doing "startnat en0" not "sudo startnat en0" so startnat 
is not running with the root privileges that it needs. "startrpcemunet" does 
the sudo part for you when it runs startnat but if you're running startnat 
yourself then you need to do the sudo part yourself. So please try the 
following:

sudo startnat en0
OR, for wireless:
sudo startnat en1

Francis


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

Reply via email to