Stayton Board

Initial Setup

  1. Use a null modem to connect the Stayton board to a serial port on your computer.
  2. Run Hyperterminal on Windows (Start->Accessories->Communications->HyperTerminal).
  3. From File->Properties click Configure and use the following settings:
    Bits per Second: 115200
    Data bits: 8
    Parity: None
    Stop bits: 1
    Flow Control: None
  4. When you power the Stayton board it will print some text and then wait for you to either hit Enter to boot or any other key to get the boot loader menu. If you wait 30 seconds it will boot automatically. To shorten the autoboot timeout press any key except Enter to get the boot> menu and then enter the following commands
    set autoboot_timeout 2000000
    params save
  5. The kernel the comes on the board has outdated wireless extentions. Download zImage.stayton and do the following at the boot> menu:
    type load kernel
    in HyperTerminal Transfer->Send File, zImage.stayton, Xmodem
    If you don't do this fast enough, it won't work. It may help to pre-copy the filename so you can paste it and hit Send quickly once you have entered the command on the Stayton.
    If the transfer times out, try removing any PCMCIA or USB devices connected to the Stayton or just restarting. It doesn't always work right. Trying another machine might also help.
  6. Type quit from the boot> menu to boot. Once it has booted you can log in with the username root and password rootme.
  7. Now we have to set up the network. I'm going to assume a Lucent Orinoco 802.11b wireless card is already registered and plugged in. do the following:
    vi /etc/pcmcia/network.opts
    Make the first section look like this:
    *,*,*,00:60:1D:*|*,*,*,00:02:2D:*)
    	DHCP="y"
    	#IPADDR="10.0.1.10"
    	#NETMASK="255.255.255.0"
    	#NETWORK="10.0.1.0"
    	#BROADCAST="10.0.1.255"
    	;;
    
    To quit you will need to :w! and :q because the file is write protected
    vi /etc/pcmcia/wireless.opts
    Make the section within the "SECTION TO REMOVE" comments look like this:
    *,*,*,00:60:1D:*|*,*,*,00:02:2D:*)
    	ESSID=""
    	MODE="Managed"
    	;;
    
    To quit you will need to :w! and :q because the file is write protected
    If you want to use Ad-Hoc mode, change MODE above to "Ad-Hoc", make up and ESSID (this is your network name), set DHCP to "n", uncomment the other lines in that section, and set their values appropriately.

    To restart networking with the new settings: /etc/init.d/pcmcia restart
  8. If you are planning to use the built in serial port to talk to Cerebellum or other devices, there are a few more setup steps on the Serial Ports page, that you will want to do.