plan9 terminals

Terminal setup


Setup of standlone terminals is easy assuming you are running dhcp. Just setup the /lib/ndb/local file and plan9.ini (see examples below) and you should be all set. Things are a bit more complicated if you do not have a plan9 dhcp server, or if you wish to boot off of the fileserver.

If you are not using a dhcp server you will need to enter you ip address into /rc/bin/termrc. For example:

ip/ipconfig -g 128.165.147.254 ether /net/ether0 128.165.147.116 255.255.255.0

For details see the getting started guide We generaly use dhcp for all our terminals as it makes things much easier.

For booting off the file server see our Fileserver configuration page .

IBM thinkpad T21 terminals

these machines need a modified /lib/vgadb to support the 1400x1050 screen. Add the follow in the "mode" section

# for the Thinkpad T21
include = 1400x1050
	defaultclock=108
	shb=1450 ehb=1500 ht=1999
	vrs=1058 vre=1070 vt=1150
and then enable 1400x1050 in the xga section:
#
# XGA (Laptop).
#
xga = 1024x768
	include=1024x768
# for the thinkpad t21
xga = 1400x1050
	include=1400x1050
xga
	alias=svga

The plan9.ini (with multi config) for this machine is:

[menu]
menuitem=wired, Built in network adapter (il)
menuitem=wiredl, Built in network adapter (local)
menuitem=wireless, Wireless pcmcia (local)
menuitem=modem, Modem pcmcia (loacl)
menudefault=wired

[wired]
ether0=type=i82557
bootargs=il

[wiredl]
ether0=type=i82557
bootargs=local!#S/sdC0/fs

[wireless]
ether0=type=wavelan crypt=off irq=9
bootargs=local!#S/sdC0/fs

[modem]
serial0=type=com port=0x2e8 irq=9
bootargs=local!#S/sdC0/fs

[common]
debug=1
bootfile=sdC0!9fat!9pcdisk
cfs=#S/sdC0/cache
*nomp=1
distname=plan9
partition=new
monitor=xga
vgasize=1400x1050x8
mouseport=ps2

you might have to rebuild 9load to enable the multi config support.

Note it has a cfs cache file system for when it is booted off the fileserver. Here is the disk partition info:

# disk/prep /dev/sdC0/plan9
  9fat                  0 20482      (20482 sectors, 10.00 MB)
  empty             20482 20782      (300 sectors, 150.00 KB)
  fs                20782 11500000   (11479218 sectors, 5.47 GB)
  cache          11500000 12518737   (1018737 sectors, 497.43 MB)
  swap           12518737 12594897   (76160 sectors, 37.18 MB)
The built in network card is an Intel Pro100+ minipci card that is supported by the i82557 driver (even though IBM claims it is a 3com card)

IBM thinkpad 600E terminals

These work w/ plan9 straight out of the box, The only problem we had was that we had to make a small change to the e2ct driver to support the Linksys Etherfast PCM100 network card we used.

plan9.ini file:

	bootfile=sdC0!9fat!9pcdisk
	bootdisk=local!#S/sdC0/fs
	*nomp=1
	distname=plan9
	partition=new
	ether0=type=EC2T
	monitor=xga
	vgasize=1024x768x8
	mouseport=ps2

IBM thinkpad 570 terminals

These work w/ plan9 straight out of the box, The only problem we had was with the 3Com 3C562 ethernet card used in Blit. Adding an entry to the plan9.ini fixed this problem.

Blit plan9.ini file:

	bootfile=sdC0!9fat!9pcdisk
	bootdisk=local!#S/sdC0/fs
	*nomp=1
	distname=plan9
	partition=new
	ether0=type=3c562 ea=00A02460569E
	monitor=xga
	vgasize=1024x768x8
	mouseport=ps2

IBM thinkpad 560/560E terminals

These terminals need a modified vgadb entry to work with plan9.

plan9.ini file:

	bootfile=sdC0!9fat!9pcdisk
	bootdisk=local!#S/sdC0/fs
	*nomp=1
	distname=plan9
	partition=new
	ether0=type=EC2T
	monitor=vga
	vgasize=800x600x8
	mouseport=ps2