PearPC contains emulation of the 3Com 3c90x and the RealTek 8139 network cards.
It needs TUN (Ethernet IP tunnel) support in your operating system. This currently
works on Linux and Windows platforms. (Reportedly also on FreeBSD)
Networking on Linux hosts only works when executed from a
compiled source tree (as opposed to an installed version).
Networking globally sets IP forwarding. This is bad and subject
to change.
This varies from installation to installation. If you have a decent installation
you'll most likely already have everything setup perfectly. Currently only
systems providing TUN network interfaces through the
device /dev/net/tun are supported.
Currently really only Linux hosts are supported. Read
linux host setup then come back here.
PearPC will create a new (TUN) network interface called ppc
which will be used to connect the client to the host network.
We will then (globally, subject to change) enable IP forwarding to
allow IP packets to jump between interfaces.
And finally enable NAT to allow these packets to return to the client.
You must choose a free subnet that PearPC should operate on. This subnet
should not be used on your computer or the rest of the network that
you are working with (like eg. the Internet!).
The client and the host each must get an exclusive (ie. NOT the same!)
IP address within that subnet.
Please change to the PearPC source directory now.
The values for the subnet's net mask, host and client IPs must be set in
scripts/ifppc_up. Most people can use the default setup:
Next you must make sure the programs setting up networking have the
correct permissions. Make sure you have compiled PearPC at this point.
Execute this in the scripts/ directory (as user root!):
Where $PPC_CLIENT_IP, $PPC_NETMASK and $PPC_HOST_IP should be replaced with
the values chosen during Generic host setup.
For Linux hosts enable the 3c90x. You may then have to load a 3c90x network card driver.
(modprobe 3c59x)
For Mac OS X hosts enable the RTL 8139. It should be automatically detected.