Hi,
> How does one use tun/tap to get SheepShaver to connect to the net?
> I've spent 3 days on it and can't figure it out at all. Sorry to be a
> bother =/.
First, if you build SheepShaver from sources yourself on a non big
endian system (e.g. x86), ethernet support is not enabled by default,
you will have to change kpx_cpu/sheepshaver_glue.cpp for that.
Second, I got the TUN virtual device working only at home through a DSL
connection (ethernet modem).
Make sure you have the following prefs items set up correctly in
~/.sheepshaver_prefs:
ether tun
etherconfig /path/to/tunconfig
Make sure you have sudo working for your user for the following
binaries:
/sbin/ifconfig
/sbin/iptables
Or you will have to run SheepShaver as root or run tunconfig through a
wrapper script that calls kdesu or whatever.
Next, in the MacOS side, set up a static IP in this form: 172.20.XX.2
Where XX is generally 40, you can check that with /sbin/ifconfig for
the IP of the tun0 device. Use another IP in that network.
|