Note: 3rd Ed. info, not updated to 4th Ed... yet.
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 220.127.116.11 ether /net/ether0 18.104.22.168 255.255.255.0
For details see the Network setup 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 .
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=1150and then enable 1400x1050 in the xga section:
# # XGA (Laptop). # xga = 1024x768 include=1024x768 # for the thinkpad t21 xga = 1400x1050 include=1400x1050 xga alias=svgain the Stealth/Savage section add a line like:
OxC0045="S3 Savage\IX BIOS Ver. 4.02.50" # IBM Thinkpad T21this may need to be changed for different revisions of the video chip.
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
On the 3rd Ed. you may have to rebuild 9load to enable the multiconfig 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)
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.
bootfile=sdC0!9fat!9pcdisk bootdisk=local!#S/sdC0/fs *nomp=1 distname=plan9 partition=new ether0=type=EC2T monitor=xga vgasize=1024x768x8 mouseport=ps2
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
These terminals need a modified vgadb entry to work with plan9.
bootfile=sdC0!9fat!9pcdisk bootdisk=local!#S/sdC0/fs *nomp=1 distname=plan9 partition=new ether0=type=EC2T monitor=vga vgasize=800x600x8 mouseport=ps2
bootfile=sd00!9fat!9pcdisk bootdisk=local!#S/sd00/fs distname=plan9 partition=new scsi0=type=ncr53c8xx ether0=type=ga620 monitor=p815 vgasize=1600x1200x8 mouseport=ps2 audio0=type=sb16 installurl=http://22.214.171.124/magic/9down/compressed/992879478.4ncv5r9nay92zi7fd5n5sdnwhvng9j2qIf you have a sound blaster 16 sound card, you can play mp3s and other stuff simply by changing a couple lines of plan9.ini. replace the audio0 line with:
audio0=type=ess1688 audio1=type=sb16 port=0x220 irq=5 dma=1unfortunately, only soundblaster16 is supported, so everyone else is out of luck.
PPP configA simple way to start a ppp connection by hand (based on a great posting by email@example.com on the 9fans mailing list):
ip/ppp -Pufb 115200 -p '#t'/eia000and enter the modem commands by hand, using ctrl-m for a carriage return, e.g.
Connect to file system now, type ctrl-d when done. ...(Use the view or down arrow key to send a break) ...(Use ctrl-e to set even parity or ctrl-o for odd) at OK atdt6654114 CONNECT 115200 LANL-USR-1:Unauthorized Use Prohibited! Username:118323 Password: lanltoken: CRYPTOCard OK 118323 ~\200}#\200!}!}!} }?}!}$}%\200}"}&\200\200\200\200}%}&Z}>\200V}'}"}(}"}1}$}%\200 }3}#} \200\200~hit ctrl-d once you get a connection.
still need to get DNS setup w/ dialup...
problems: sometimes we get an:
error: cpu spurious interrupt 47, last 9during the connection which hangs the machine....
Wavelan ConfigBasic steps to just get the Wavelan working:
We found that if you get messages on boot about using a shared interrupt your card might work, but the performance might be really bad. Switching irq's tell you find one where you don't get these warnings seems like a good idea. We used:
ether0=type=wavelan crypt=off irq=9Look in /net/ether0/0/ifstats for the network name (something like "First WaveLAN II SSID" by default. Use the AP Manager to set the same name in the base station.
To enable encryption use a plan9.ini line like:
ether0=type=wavelan key1=your-key1 clear=off irq=9
addding a new user to a standalone terminaladd the a line to /adm/users like:
4:rminnich:rminnich:run disk/kfscmd user to read the user database back into kfs and then run
disk/kfscmd 'create /usr/rminnich rminnich rminnich 775 d' disk/kfscmd 'create /mail/box/rminnich rminnich upas 775 d' disk/kfscmd 'create /mail/box/rminnich/mbox rminnich upas 622 al'Reboot the terminal, login and run:
/sys/lib/newuserNote rio will not start till you run this. You might want to copy /usr/glenda/lib/profile and /usr/glenda/bin/rc/riostart into your directory to get a more reasonable startup environment.
Last Modified: May 27 2002