Appletalk for SheepShaver/Basilisk in Leopard or Snow Leopard (32-bit)

(the following guide is based on this original document and this forum discussion)

Preparations

Network configuration this guide used (adapt to your situation)

  • A router connected to the internet with IP-address 172.19.3.1 and DNS 217.149.196.6
  • An OSX machine with a static IP-address 172.19.3.8, router set to 172.19.3.1 and DNS set to 217.149.196.6
  • The tap device is going to use IP-address 172.19.3.10, netmask 255.255.255.0
  • MacOS is going to use the IP-address 172.19.3.13

Steps

1. Through the SheepShaver GUI or other preferences editor set the networking option from “slirp” to “tap0”

(note: you need to manually type “tap0” as it is not a choice in the networking selection box in the GUI)

2. Open two terminal windows. (the steps below can all be automated by creating a script that does the dirty work for you. (see at bottom of this page!)

3. In the first terminal window execute:

sudo ~/SheepShaver/SheepShaver.app/Contents/MacOS/SheepShaver

(effectively starting sheepshaver with root privileges)

Or, if you are using the SheepShaver launcher:

4. Immediately after starting SheepShaver, in the second terminal window, start the tap device with:

sudo ifconfig tap0 172.19.3.10 netmask 255.255.255.0

5. Start IPNetrouter. Go to the Interfaces tab and deselect “filters” and “external”. Under the heading “Bridge”, select your active network device (e.g. Ethernet Adapter (en0) and the tap0 device. Turn the software on by clicking the checkbox before “IPNetRouter On” Save the working configuration by selecting the option “save” on the file menu. At the next start IPNetRouterX will then already be configured.

6. In MacOS, go to the Appletalk control panel and select “Ethernet” (if not yet selected)

7. In MacOS go to the TCP/IP control panel and set the following:

  • Connect via Ethernet
  • Configure Manually
  • IP address to some free address in your subnet
  • Subnet to 255.255.0.0
  • Router to the IP-address of the actual router device you connect to the internet with
  • DNS: the real DNS entries your router uses

8. Start some internet browser and see if it connects to the internet. If so, you can also see machines talking AppleTalk on your network.

Start Filesharing through the Filesharing control panel in Mac OS to make your emulated Mac discoverable in the Chooser of other machines running AppleTalk on your local network.

Results

Automating the procedure with a script

Based on: http://68kmla.net/forums/viewtopic.php?f=15&t=11685

You can use the script below (4 lines) to automate the procedure:

#/!bin/bash

sudo *Replace with location of your SheepShaver folder*/SheepShaver.app/Contents/MacOS/SheepShaver & sleep 5

sudo ifconfig tap0 *Replace with an unused IP of your network* netmask 255.255.255.0 & sleep 5

*/Replace with the location of your IPNetrouterX folder*/IPNetrouterX.app/Contents/MacOS/IPNetRouterX

Copy the text above to a text file, adjust the paths to the applications and save the file with a .command extension. Then use “chmod +x “filename”.command” to make the script executable. If everything is right, you doubleclick the file, enter your root password and SheepShaver starts, the tap device gets configured and IPNetRouterX is started.

Some things to Remember

If SheepShaver/Basilisk crashes, you need to redo all steps, as the tap0 device gets deactivated every time SheepShaver exits. The script above should come in handy.

When SheepShaver/Basilisk are using the AppleTalk connection, all your normal networking in OSX stops to function. It will become active again after stopping SheepShaver and the IpNetRouterX software.

Troubeshooting

If things don’t seem to work, you can try to run the following commands from a terminal window to see what might be wrong:

Ifconfig

Sudo tcpdump –ni en0 

(or en1, depending on your active network device in OSX)

 
appletalk_for_sheepshaver.txt · Last modified: 2010/02/23 14:23 by cat_7
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki