How To Setup the CyberDesk Demo

By Mike Pinkerton

The following is a list of steps in order to get the CyberDesk demo working which allows access to information on the Newton through LlamaShare.

1. Find a PowerPC-based Macintosh. This Mac should have an extension named "AppleTalk ADSP tool" in the "Extensions" folder.

If this is not installed, the server will not be able to communicate with the Newton and the next step will fail with an error that it could not initialize the DILs.

If this extension is not installed, it can be found on the NTK CD-ROM and copied over manually, or it will be installed automatically as a side effect of installing NTK on that Macintosh.

2. Make sure the MessagePad is connected to the AppleTalk network

There are three main ways to handle this, each with its own setup requirements:

  1. Connect the MessagePad directly to the LocalTalk network using a wire
  2. Connect the MessagePad directly to the LocalTalk network using the Dayna wireless card
  3. Connect the MessagePad directly to the machine running the server

In any case, the MessagePad (and the network it is on) must have access to the AppleTalk zone containing the machine which will run the server. This means that you cannot, for example, have the Newton in California and connect to a server on a CoC Macintosh because the AppleTalk zones for the CoC are not accessible from the outside world (even if the Macintosh is on the internet and has an IP address).

This is not a problem when the MessagePad is connected directly to the machine with the server or within the CoC, since in both cases you have access to the machine with the server over AppleTalk.

3. Start the LlamaServer application then startup both the "Desktop" and "Newton" servers using the floating control window.

Don't worry about the "Internet" server, as the button does nothing.

4. Make sure the owner name of the Newton is "Jimi Hendrix." This is set with the "Owner Info" package.

Currently, the CyberDesk applets are hard-coded to speak to a particulr Newton, named Jimi Hendrix. You can either change the name of the Newton or recompile the java code. It's up to you.

5. Connect the Newton to the LlamaServer using the "NewtConnect v2" package on the Newton. Click the "Connect" button and then find the server (named "Llamas Have More Fun") in the correct zone in the AppleTalk chooser.

The GVU Macs are all in the zone "git-cc_2_north." You may have to click the "Change Zone" button to see other zones. Once you click the close box, the Newton side is done.

If the NewtConnect package is not on the MessagePad, you need to install it from a desktop machine (using Newton Connection Utilities) or from another MessagePad by beaming it.

6. Change the Cyberdesk Newton services to talk to the machine running the server

In Cyberdesk, there is no easy way to specify which server you want the Newton services to connect to, so it has to be hardcoded to a particular machine in the code. Currently, it is hardcoded to "fire.cc.gatech.edu" which is the mac in my office (that will change).

In order to change it for a demo, you need to change the code in the files

~mpinkert/CDESK/cyberdesk/acton/service/NewtonNames.java
~mpinkert/CDESK/cyberdesk/acton/service/NewtonNotes.java

These files reside on chagall.cc.gatech.edu so you have to be on that machine to change them. If you are not, the CDESK symbolic link will not work.

Find the code that looks like:

NewtonService connect = new NewtonService ( "chagall", "fire.cc.gatech.edu" );

and replace the "fire.cc.gatech.edu" parameter with the machine that the server is actually running on. You will have to do this once in each file, and then recompile the two services.

% setenv {CLASSPATH} ~mpinkert/CDESK
% javac ~mpinkert/CDESK/cyberdesk/acton/service/Newton*.java

7. Run Navigator 2.0 and open the URL: http://chagall.cc.gatech.edu/mpinkert/mike.html

For some reason, 3.0 doesn't work as well. This will start CyberDesk.

8. In another window, telnet to chagall.cc.gatech.edu and type:

cd ~mpinkert/CDESK/Proxy
java Proxy 5001

 

This will start the Proxy server running on chagall (the machine the java applets are hosted from). This proxy server is necessary in order to allow the applets to open a socket connection to the LlamaServer which is most certainly running on a different machine.

You should also make sure that your {CLASSPATH} environment variable is either set to the directory you are in or unset. Otherwise, java will get confused.

9. If for any reason you need to change the Newton services, the display applets, or the connection stub, they are located in (and only accessable from chagall):

~mpinkert/CDESK/cyberdesk/acton/service

~mpinkert/CDESK/llama/

This page written by Mike Pinkerton
Last updated 6/4/97