notes on 2.11 BSD ----------------- kernel is 148494 bytes still uses regular init, there is no sysvinit tcp/ip capability 211bsd.tar.gz contains the necessary files to run 2.11BSD under simh vipw update password file ./MAKEDEV rx boot: unix root pass: gerbil11 cubeman pass: gerbil99 CPU, 11/73, NOCIS, idle disabled, autoconfiguration enabled, 3072KB 22-bit physical address space, can handle maximum 4 megs of ram can also use 11/44, 11/70, 11/93 current setup seems to only boot on 11/73 pdp11 211bsd.simh starts pdp11 with 2.11 BSD telnet localhost 4000 login as a user on a terminal /dev/rxp0a driver for single density 8" floppy drives /dev/rxp0b driver for double density 8" floppy drives /etc/netstart edit this to something sensible hostname=2bsd netmask=255.255.255.0 broadcast=192.168.0.255 default=192.168.0.1 /etc/hosts edit this to give the emulated bsd 2.11 a name /etc/group edit this to add to wheel group, e.g. wheel:*:0:root,cubeman /etc/rc.local added ntp -s -f 192.168.0.101 to set time and date /etc/resolv.conf set nameserver here, e.g. router's ip 192.168.0.1 /etc/master.passwd passwords are set here, added the following: cubeman:*:8:3:Mark,,,:/usr/cubeman:/bin/sh /usr/libexec/ftpd ftp daemon /usr/local executables /usr/man/whatis summary of man pages /usr/src/games source code for games, must be root to access /usr/src/bin source code for commands, must be root to access /usr/src/man man pages in nroff form are here /usr/src/new/PORT/apl source code for apl, make all, add -z to ld /usr/src/sys/OTHERS/dmc11/dmc.c /usr/src/sys/OTHERS/rx02/#1/rx2.c driver code for rx02 floppy drive /usr/src/ucb/ftp/ftp.c source code for ftp driver code for dmc11 /usr/ucb more executables (ucb -> University California Berkeley) directory /usr/cubeman must be chmod 755 bc -l run calculator cat wall.c | more display wall.c and pipe through more cc hello.c -o hello compile a c program chown cubeman.8 file change owner of file to cubeman and group 8 chpass user change password for user .profile startup options are set here ftp run file transfer protocol client hostname display hostname halt to shutdown system immediately shutdown +1 shutdown in one minute kill -TERM 1 switch to single user mode ifconfig qe0 show network parameters for device qe0 ifconfig lo0 show loopback ifconfig lo0 127.0.0.1 up look stuff show words beginning with stuff man adduser instructions on how to add a user mkhosts -v /etc/hosts this is needed after updating /etc/hosts stty size reports rows and columns of terminal sysctl hw.physmem reports on physical memory sysctl hw.pagesize report on page size (1k in this case) uname -a display operating system info uname -r -m display current level release and platform info uptime display length of time the system has been up zork text adventure game, can't save or restore (A vicious emt 345 kills you.) adventure does not work, recompile seems to work saving a game generates a large executable libraries --------- libcurses.a doesn't have ------------ bas cd ~ (does not work, same as v7) cd - (does not work, same as v7) cat ~/.profile (does not work) sudo history maze in /usr/games ssh, locate, pkill strace locate web browser free (to check memory use) added later ----------- stat from Ultrix 3.1 unirubik apl\11 06 may 1982 improvements over v7 -------------------- cc has conditional compilation filenames can now be up to 63 characters in length has vi text editor has tcp/ip capability, e.g. ftp, ntp, ping, telnet, hostname, rlogin, sendmail vmstat command reports virtual memory statistics iostat reports I/O statistics Programming Languages supported ------------------------------- cc, f77, ratfor, apl curses library available