[comp.sys.mac] NCSA Telnet questions

mikef@portia.Stanford.EDU (Michael Fallavollita) (07/14/89)

Can anyone tell me what the latest version of NCSA Telnet is.  I know that
2.2 has been out a while, and I've seen 2.2.1.  Is this as far as the 2.2
line goes?  I don't think my advisor wants to help debug 2.3 so that is not
yet an option.

I've looked on ftp.ncsa.uiuc.edu and found the 2.2 code.  Is there another
site that has a later version that I can anonymous ftp from?

         _____________
         |            |
         |   Mike's   |
         |    386     |
         |____   _____|			Michael Fallavollita
             |   |			mikef@portia.stanford.edu
     ----------------------
     | [ ]         [     ]|
     |             [     ]|
     ----------------------

edmoy@violet.berkeley.edu (07/15/89)

In article <3585@portia.Stanford.EDU> mikef@portia.Stanford.EDU (Michael Fallavollita) writes:
>Can anyone tell me what the latest version of NCSA Telnet is.  I know that
>2.2 has been out a while, and I've seen 2.2.1.  Is this as far as the 2.2
>line goes?  I don't think my advisor wants to help debug 2.3 so that is not
>yet an option.
>
>I've looked on ftp.ncsa.uiuc.edu and found the 2.2 code.  Is there another
>site that has a later version that I can anonymous ftp from?

2.2 is the current version.  2.3b9 is the latest beta version, and has many
bug fixes and support for MacTCP.  It should be availbale from
ftp.ncsa.uiuc.edu or zaphod.ncsa.uiuc.edu, in the pub/macbeta directory
(or something like that).

Edward Moy				Principal Programmer - Macintosh & Unix
Workstation Support Services		Workstation Software Support Group
University of California
Berkeley, CA  94720

edmoy@violet.Berkeley.EDU
ucbvax!violet!edmoy

kdb@intercon.uu.net (Kurt Baumann) (07/15/89)

In article <3585@portia.Stanford.EDU>, mikef@portia.Stanford.EDU (Michael Fallavollita) writes:
> Can anyone tell me what the latest version of NCSA Telnet is.  I know that
> 2.2 has been out a while, and I've seen 2.2.1.  Is this as far as the 2.2
> line goes?  I don't think my advisor wants to help debug 2.3 so that is not
> yet an option.
> 
You should be able to get a copy of 2.3 (released version) very soon.  Like
possibly even now.
--
Kurt Baumann

InterCon Systems Corporation
46950 Community Plaza
Suite 101-132
Sterling, VA 22170                      Phone: 703.450.7117

werner@molokai.sw.mcc.com (Werner Uhrig) (07/15/89)

In article <1273@intercon.UUCP>, kdb@intercon.uu.net (Kurt Baumann) writes:
> In <3585@portia.Stanford.EDU>, mikef@portia.Stanford.EDU  writes:

> > Can anyone tell me what the latest version of NCSA Telnet is.  I know that

> You should be able to get a copy of 2.3 (released version) very soon.

	2.3 is available from

		zaphod.ncsa.uiuc.edu  in  Telnet_NCSA/Mac (?)


	and   
		rascal.ics.utexas.edu  in mac/communications/Telnet_2.3_NCSA

-- 
--------------------------> please send REPLIES to <------------------------
INTERNET:    uhrig@mcc.com     (if unavailable: werner@rascal.ics.utexas.edu)
UUCP:     ...<well-connected-site>!milano!werner
ALTERNATIVE:   werner@astro.as.utexas.edu   OR    werner@utastro.UUCP

rich@cfi.COM (rich) (04/11/90)

I want to use NCSA Telnet on our Mac/Sun Ethernet network, and have an
elementary question or two.  As I understand it, I should be able to use Telnet
to create a remote login session on any of the Suns on our network.  (We are
currently using a serial port connection and White Knight.)  The Macs have
3-Com Etherlink/NB cards, and use Liaison as the Ethertalk/Appletalk bridge to
print on our QMS printer.  They are also using TOPS to access each other's
files.

What is the IP number I use for the Mac?  I know the IP numbers for our 15
Suns, but are the Macs supposed to have one?  Can it be arbitrarily assigned?
I tried checking the "Assign Dynamically" button, but nothing happened (it
timed out).  Are we lacking some daemon on the Suns?  (There are 2 rarpd
daemons running on the two servers we have.)  Is the "Default Host:" name the
name of the Sun machine where they will be logged into?

As you can probably tell, I do not have a thorough understanding of TCP/IP,
domains, nameservers, etc.  I would appreciate a "minimum guide" of steps to
set this up, assuming much Sun/Unix experience but less networking & Mac
experience.

Thanks very much.
-- 
Rich Baughman		  rich@cfi.com OR ima!cfisun!rich
Price Waterhouse          Waltham, MA  617-899-6500

ac08@vaxb.acs.unt.edu (04/11/90)

In article <793@thebeach.UUCP>, rich@cfi.COM (rich) writes:
> I want to use NCSA Telnet on our Mac/Sun Ethernet network, and have an
> elementary question or two.  As I understand it, I should be able to use Telnet
> to create a remote login session on any of the Suns on our network.  (We are
> currently using a serial port connection and White Knight.)  The Macs have
> 3-Com Etherlink/NB cards, and use Liaison as the Ethertalk/Appletalk bridge to
> print on our QMS printer.  They are also using TOPS to access each other's
> files.
> 
> What is the IP number I use for the Mac?  I know the IP numbers for our 15
> Suns, but are the Macs supposed to have one?  Can it be arbitrarily assigned?
> I tried checking the "Assign Dynamically" button, but nothing happened (it
> timed out).  Are we lacking some daemon on the Suns?  (There are 2 rarpd
> daemons running on the two servers we have.)  Is the "Default Host:" name the
> name of the Sun machine where they will be logged into?
> 
> As you can probably tell, I do not have a thorough understanding of TCP/IP,
> domains, nameservers, etc.  I would appreciate a "minimum guide" of steps to
> set this up, assuming much Sun/Unix experience but less networking & Mac
> experience.
> 
> Thanks very much.
> -- 
> Rich Baughman		  rich@cfi.com OR ima!cfisun!rich
> Price Waterhouse          Waltham, MA  617-899-6500

Talk to your "network administrator," whoever that is.
It can save you a lot of time and trouble...

Here at UNT, we have lots of machines on Ethernet tied to our VAX and the
outside world.  Example: One lab is numbered XXX.XXX.7.X, with X as the 
number of the individual machine.  Mac #8 in that lab is XXX.XXX.7.8.

If you have a logical network numbering system, your Mac should be easy to 
configure.  Run Telnet (before opening sessions) and go to the Network
selection menu.  Select "Configure Network..." and set your defaults.

Open a session and away you go...

{BTW- Get a copy of the Telnet documentation... it's very useful... it prints
out nicely on a LaserWriter...}

Oh, Yeah... If you can get a copy of the BYU Telnet (modified), do so... you
can FTP directly from your machine without a host... !!!

Chad Irby
ac08@untvax
ac08@vaxa.acs.unt.edu
the.mac.ups.tairs

escher@Apple.COM (Michael Crawford) (04/12/90)

In article <793@thebeach.UUCP> rich@cfi.COM () writes:
>I want to use NCSA Telnet on our Mac/Sun Ethernet network, and have an
>elementary question or two.  As I understand it, I should be able to use Telnet
>to create a remote login session on any of the Suns on our network.  (We are
>currently using a serial port connection and White Knight.)  The Macs have
>3-Com Etherlink/NB cards, and use Liaison as the Ethertalk/Appletalk bridge to
>print on our QMS printer.  They are also using TOPS to access each other's
>files.
>
>What is the IP number I use for the Mac?  I know the IP numbers for our 15
>Suns, but are the Macs supposed to have one?  Can it be arbitrarily assigned?
>I tried checking the "Assign Dynamically" button, but nothing happened (it
>timed out).  Are we lacking some daemon on the Suns?  (There are 2 rarpd
>daemons running on the two servers we have.)  Is the "Default Host:" name the
>name of the Sun machine where they will be logged into?
>

I believe the assign dynamically button only works when using a
Kinetics Fastpath configured to serve a range of dynamic IP adresses.
I am not sure but I think even that only works on the localtalk
side.  The simple answer is "ask your network administrator to do
it for you".  When I administrated a PC-NFS and Sun network, I impounded
all the unused ether cards and PC-NFS software, so my users would have
to come to me to get set up.  That way I got it done right.

Assuming you don't have one (or you are the Sysadmin!):

There is a network part to your address, and a subnet part, and a
host part.  Net numbers whose first byte is in the range from 1-127
are class A, 128-191 are class B, and those above are class C.

Class A addresses use the last 3 bytes for the host adress, B use
the last two, C use the last one.

The reason for the net/host adress split is for the recieving host
to be able to tell whether the recieving host is on the same network
(meaning same ethernet cable, or same token ring, or localtalk
cable).  If the net number is the same, then the sending host
figures out the ether address of the recieving host, (using ARP),
then sends it directly.  If the net number is different, then the
sending host forwards the packet to a router, and the router either
sends it directly, or sends it on to another router.

Two networks connected by a router is an "internet".  The big
internet that all the Universities, Military, and big comapanies
are connected to is called "The Internet".  The Internet is actually
an internet composed of various internets called the NSFNet, Milnet,
Cypress, etc.  The ARPAnet was one of those networks; it is not
around any more.

Class A adresses allow you to have 16 million hosts on the same
cable.  Class C addresses allow only 256.  If you want to have two
cables, then you need to get another net number, which you have to
get from the Network Information Center.  A simple solution is to
use subnets; here you get a net number, and subdivide it into
subnets, where part of the original host field is made into the
subnet number.

The subnet mask tells the host what part of the adress to use for
the net+subnet pair.  Note that you can set it on any bit -- you
can subnet class C addresses, so you could have two networks with
127 hosts each.

Ask you administrator for a net address.  This will be something
like "90.70.0.14".  Ask her for a subnet mask.  Either you won't
have one, or it will be something like "255.255.252.0".  If you
are the administrator, use an adress that is not already assigned
to one of the hosts on your network.

I'm not real hip on the address calculator of the MacTCP CDEV.
What I usually do is enter the subnet mask using the slider.  (This
is reached by clicking the "more" button from the MacTCP CDEV.
Then I click "OK", and type in the address as the admin gives it
to you.  If you do want to use the adress calculator, the subnet
number uses the bits between the heavy black lines of the subnet
mask slider.  You will need to set the Class popup first, then set
the slider, then enter your net number (128.1 is not #128, it is
32769).  Enter the subnet number, then the node (or host) number.

Single cable networks will usually not use a subnet mask; you only
care if you are hooking up to another net.

If you have a name server, you will need to ask who which machine
it is on.  The name server controls a domain.  Enter the domain it
controls, (apple.com for example), and its IP address.  You may
enter servers for other domains, as well.

The default button is _your_ default domain.  If you try to Telnet
to goofy, then the domain which is the default will be tacked on
to the host name, and the nameserver query will be "Who is
goofy.apple.com" for example (your domain is certainly not apple.com!).

If you do not have a name server, you will need to edit the file
"hosts" which comes with MacTCP.  Enter the IP adresses and names
of the hosts on your internet there.  There are brief instructions
in the file.  Look at the RFC mentioned in the file for more details.

Networks that are not on the internet usually will not have a
domain.  They will need either a name server, or a hosts file.
The file /etc/hosts on Unix will NOT work.  It is not in the
RFC-standard format.  If you do not yet have a nameserver, set one
up, it is worth it.  Sun uses the Yellow Pages instead of name
service; MacTCP does not use Yellow Pages.  I believe suns can use
Yellow Pages while providing name service.

If you are using an internet, enter the IP adress of the gateway
between your cable and the next in the gateway adress box.  This
will be the Kinetics box if you are on localtalk.

Note that if you are on localtalk, you should configure your kinetics
box so that the localtalk has a different net/subnet number than
the ethertalk side.  This is so hosts on the ethertalk side will
know that the localtalk side uses smaller packets than they (ie.
they will use the correct Maximum Transfer Unit).Kinetics allows
you to run the localtalk cables as the same net number as the ether
cable; the K box is assigned a range of node numbers that it is to
serve on the localtalk.  This makes the K box logically a bridge
instead of a router, but it breaks because the ether hosts do not
get the MTU right.

You can set the IP adress from a bootp server by setting your
ethernet address (look at your ethertalk card) in the file /etc/ethers,
and your IP adress in the file /etc/hosts, on a Unix bootp server.
I don't know much about bootp.

It is possible for a network administrator to preconfigure all
these options, and distribute locked copies of the CDEV to the
users, where the users will just be able to enter their node adress
(or not even that, if the node field is locked).  A reasonable
strategy is to decide ahead of time how many MacTCP hosts you expect
to have; configure a driver for each of them on a boot floppy.
Label the floppy with the IP adress it is configured for.  When
someone comes asking for an IP adress, give him the preconfigured
floppy, and write down their name and phone number, Mailstop, etc,
as well as their ethernet adress and the IP address you gave them.

The best explanation for any of this is the book "Internetworking with
TCP/IP", by Douglas Comer.  Also, RTFM :-)

Whew.

Let me know if you have any trouble.
-- 
Michael D. Crawford
Oddball Enterprises
606 Modesto Avenue
Santa Cruz, CA 95060
oddball!mike@ucscc.ucsc.edu

Consulting for Apple Computer Inc.
escher@apple.com
Applelink: escher@apple.com@INTERNET#

The opinions expressed here are solely my own.

escher@Apple.COM (Michael Crawford) (04/12/90)

In article <23648.262336d9@vaxb.acs.unt.edu> ac08@vaxb.acs.unt.edu writes:
>
>If you have a logical network numbering system, your Mac should be easy to 
>configure.  Run Telnet (before opening sessions) and go to the Network
>selection menu.  Select "Configure Network..." and set your defaults.
>

If you have MacTCP, you should do this with the MacTCP Control Panel, and
use the MacTCP version of NCSA Telnet.  I don't think it would be a good
idea to mix MacTCP with the Telnet that has a built-in driver.  Probably would
crash.

>
>Oh, Yeah... If you can get a copy of the BYU Telnet (modified), do so... you
>can FTP directly from your machine without a host... !!!
>

You can also do this with Stanford MacIP, and HyperFTP.  HyperFTP
is really nice -- click on a directory, you drop into it; click on
a file name, you get a SFPutFile dialog to specify where to put
the recieved file.  I'm pretty sure HyperFTP is available from
sumex-aim.stanford.edu, and MacIP should be.  The about box says
to direct comments to macip@jessica.stanford.edu.

A fellow I have been corresponding with has the BYU NCSA Telnet.  His 
version does not use MacTCP.  Is there one that does, with the BYU 
modifications?

If you are at a University, or a company with more than 10 or so macs, there
is no reason not to get MacTCP.  It is site-licensed for a very reasonable
fee.  Individuals may purchase "evaluation copies" from APDA, I believe.
Your organization may already have it site-licensed -- the whole University
of California does, I hear -- ask your system administrator.

>Chad Irby
>ac08@untvax
>ac08@vaxa.acs.unt.edu
>the.mac.ups.tairs


-- 
Michael D. Crawford
Oddball Enterprises
606 Modesto Avenue
Santa Cruz, CA 95060
oddball!mike@ucscc.ucsc.edu

Consulting for Apple Computer Inc.
escher@apple.com
Applelink: escher@apple.com@INTERNET#

The opinions expressed here are solely my own.

seiffert@ucs.indiana.edu ("Kurt A. Seiffert") (04/12/90)

Kurt A. Seiffert                          BITNET: seiffert@iubacs
Macintosh Facilities Coor.           INTERNET: seiffert@ucs.indiana.edu
University Computing Services   USNAIL: 750 W SR 46 Bypass
Indiana University                                    Bloomington, IN 47405
                                                  PH: (812) 855-0421

carlo@eagle.cvs.rochester.edu (Carlo Tiana) (04/13/90)

In article <7644@goofy.Apple.COM> escher@Apple.COM (Michael Crawford) writes:
>
> ...about networking in a 160-line tutorial.
>
>Whew.
>
>Michael D. Crawford

Thanks! That was one of the best answers I have seen in comp.sys.mac ever!
It was useful to the original poster *and* to a ton of other people out
there. Nice to see someone takes the time to answer some questions sometime
(like, I should speak! - but I don't know the answers!!).
Thanks,
Carlo.



carlo@cvs.rochester.edu

escher@Apple.COM (Michael Crawford) (04/14/90)

In article <7644@goofy.Apple.COM> escher@Apple.COM I write:
>In article <793@thebeach.UUCP> rich@cfi.COM () writes:
>
>The subnet mask tells the host what part of the adress to use for
>the net+subnet pair.  Note that you can set it on any bit -- you
>can subnet class C addresses, so you could have two networks with
>127 hosts each.
>

I made a mistake here... apparently the subnet mask must be at least two
bits past the net number.  Thus you may have up to four subnets of 64 hosts
each on a class C net, but not two nets of 127 hosts each.  Or 62 hosts,
rather: don't use all 1's for the host number, that is the broadcast address;
all 0's sometimes means the net itself, and is used as the broadcast
address (incorrectly!) by BSD 4.2 Unix systems.

Note that your broadcast address will be all 1's in the host part only, and
not in the (subnet, host) part.  MacTCP takes care of this itself, but A/UX
has you set it manually.  When I installed an A/UX router, I was used to the
idea that one would only set the subnet at a byte boundary, where Apple
uses 10 bits for its subnet mask.  Thus, I was addressing all my broadcasts to
host 256 on my subnet.  Fortunately, no one was there to receive them.

Note that it is also important to have a unique address.  Someone was in
a hurry to set up PC-NFS when I was out of the office, so someone just told
him to "Pick a high number.  It's not likely to be used."  When I got back in
there was an urgent message from the person whose number he had picked, and
one from him saying he could not get PC-NFS installed!

If you have a big site, where it is to slow, or inconvenient to have a single
administrator hand out all the addresses, assign an administrator for each
subnet, and have her hand out the addresses.  If even this is unsatisfactory,
have each manager assigned a range of addresses on the net, so assign to her
employees as they need them.  In any case, set up a quick convenient scheme
for people to get their addresses, so they won't try just guessing one!
-- 
Michael D. Crawford
Oddball Enterprises
606 Modesto Avenue
Santa Cruz, CA 95060
oddball!mike@ucscc.ucsc.edu

Consulting for Apple Computer Inc.
escher@apple.com
Applelink: escher@apple.com@INTERNET#

The opinions expressed here are solely my own.

escher@Apple.COM (Michael Crawford) (04/14/90)

In article <7644@goofy.Apple.COM> escher@Apple.COM I write:
>
>The subnet mask tells the host what part of the adress to use for
>the net+subnet pair.  Note that you can set it on any bit -- you
>can subnet class C addresses, so you could have two networks with
>127 hosts each.
>

I made a mistake here... apparently the subnet mask must be at
least two bits past the net number.  Thus you may have up to four
subnets of 64 hosts each on a class C net, but not two nets of 127
hosts each.  Or 62 hosts, rather: don't use all 1's for the host
number, that is the broadcast address; all 0's sometimes means the
net itself, and is used as the broadcast address (incorrectly!) by
BSD 4.2 Unix systems.

Note that your broadcast address will be all 1's in the host part
only, and not in the (subnet, host) part.  MacTCP takes care of
this itself, but A/UX has you set it manually.  When I installed
an A/UX router, I was used to the mistaken idea that one would only
set the subnet at a byte boundary, where Apple uses 10 bits for
its host number.  Thus, I was addressing all my broadcasts to host
256 on my subnet.  Fortunately, no one was there to receive them.

Note that it is also important to have a unique address.  Someone
was in a hurry to set up PC-NFS when I was out of the office, so
someone just told him to "Pick a high number.  It's not likely to
be used."  When I got back in there was an urgent message from the
person whose number he had picked and whose net was down, and one
from him saying he could not get PC-NFS installed!

If you have a big site, where it is too slow, or inconvenient to
have a single administrator hand out all the addresses, assign an
administrator for each subnet, and have her hand out the addresses.
If even this is unsatisfactory, have each manager assigned a range
of addresses on the net, to assign to her employees as they need
them.  In any case, set up a quick convenient scheme for people to
get their addresses, so they won't try just guessing one!
-- 
Michael D. Crawford
Oddball Enterprises
606 Modesto Avenue
Santa Cruz, CA 95060
oddball!mike@ucscc.ucsc.edu

Consulting for Apple Computer Inc.
escher@apple.com
Applelink: escher@apple.com@INTERNET#

The opinions expressed here are solely my own.