Emaculation.com
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ppc-osx-on-qemu-for-osx [2019/08/02 22:11]
cat_7 [Qemu installation]
ppc-osx-on-qemu-for-osx [2020/05/26 22:38] (current)
cat_7 [Networking]
Line 106: Line 106:
 However, you can also use the realtek 8139 device. This requires installation of the appropriate drivers. You can download them from the [[http://​www.realtek.com.tw/​Downloads/​downloadsView.aspx?​Langid=1&​PNid=14&​PFid=6&​Level=5&​Conn=4&​DownTypeID=3&​GetDown=false|Realtek site]], or all drivers in one iso from [[http://​www.open.ou.nl/​hsp/​downloads3/​MacOSRealtekDrivers.zip |here]] \\ However, you can also use the realtek 8139 device. This requires installation of the appropriate drivers. You can download them from the [[http://​www.realtek.com.tw/​Downloads/​downloadsView.aspx?​Langid=1&​PNid=14&​PFid=6&​Level=5&​Conn=4&​DownTypeID=3&​GetDown=false|Realtek site]], or all drivers in one iso from [[http://​www.open.ou.nl/​hsp/​downloads3/​MacOSRealtekDrivers.zip |here]] \\
    
-There are two ways to get networking going in OSX: through slirp or tap networking:+There are several ​ways to get networking going in OSX hosts:
  
 === Slirp-based networking === === Slirp-based networking ===
Line 145: Line 145:
   * -netdev user,​id=network01 -device sungem,​netdev=network01,​mac=52:​54:​00:​12:​34:​66   * -netdev user,​id=network01 -device sungem,​netdev=network01,​mac=52:​54:​00:​12:​34:​66
 Please note that adding a mac address other than the default to the network device leads to the discovery of a new network card in OSX. You need to configure that card through the network preferences. Please note that adding a mac address other than the default to the network device leads to the discovery of a new network card in OSX. You need to configure that card through the network preferences.
 +
 +=== Peer to peer networking between two Qemu instances ===
 +Qemu can use socket networking to connect two peers. The peers will have no internet access, but can exchange data between each-other. Set one guest to be a listener for network traffic:
 +
 +  *-device sungem,​netdev=net1,​mac=52:​54:​00:​12:​34:​56 -netdev socket,​id=net1,​listen=:​1234
 +
 +Set the other guest to connect to the listener:
 +
 +  *-device sungem,​netdev=net1,​mac=52:​54:​00:​12:​34:​66 -netdev socket,​id=net1,​connect=127.0.0.1:​1234
 +
 +For both instances, set the TCP/IP settings manually to a free ip address in your IP range and set the subnetmask to 255.255.255.0. No other settings have to be made. 
  
 === Getting files in and out of your emulated Mac through a network connection === === Getting files in and out of your emulated Mac through a network connection ===
Line 152: Line 163:
   afp://​ip-address-of-your-host. ​   afp://​ip-address-of-your-host. ​
 At Connect as select Registered user and enter your user name and password for your host. Then select a shared folder from the list and click OK. You can now read and write files to the shared folder that appeared on your desktop.\\ At Connect as select Registered user and enter your user name and password for your host. Then select a shared folder from the list and click OK. You can now read and write files to the shared folder that appeared on your desktop.\\
 +
 +=== Forwarding ports to the host ===
 +You can provide services running on the guest to the host by forwarding ports to the host. To provide access to a webserver running in the guest you can use: \\
 +
 +  * -netdev user,​id=network01,​hostfwd=tcp::​80-:​80
 +
 +The webserver running on the guest is then accessible through e.g., http://​localhost or http://​name-or-ip-adress-of-machine from other machines running on your network.
  
 ==== Booting from a real CD ==== ==== Booting from a real CD ====
ppc-osx-on-qemu-for-osx.1564809106.txt.gz ยท Last modified: 2019/08/02 22:11 by cat_7
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki