Part 1: Experimenting with uBoot
On the PC open up HyperTerminal and create a profile for the NGW100 setting the profile to use COM1 at 115000,8,1,1,0. Create a connection. Connect the NGW100 to your destop PC using the serial cable provided in your lab kit. Power up the NGW100 using the 9 VDC wall wart ower supply from your lab kit. Within 2 sec of powering up the NGW100 press the space bar to abort the Linux boot, this should leave you at a uBoot command prompt. Congratulations!
Create a new environment variable called USERNAME and assign it your name as its value, verify that it was created. Save the current environment in the NGW's persistent storage. Press the NGW's reset button to reboot and again interrupt the butt-up by pressing the spacebar before it gets to the Linux startup. List the current environment variables and cut-n-past them into a text document to be included in the Lab 5 lab folder. Also view the board info and cut-n-paste it into the lab document. By reading the hardware section of the NGW wiki determine how the MAC address is calculated and include the calculation for your NGW in the lab document.
Part 2: The NGW100 as a personal Firewal and router
Power down your NGW. Disconnect the ethernet cable from your lab OPC and plug it into the WAN port of your NGW and connect an ethernet cable from the PC to the LAN port of the NGW and power up the NGW. Once the NGW has started up (watch for the red led to come on) locate the NGW's startup script and add a line to it that will echo out a line that yourname's System has successfully started up. Reset the NGW and when it has successfully powered up cut-n-paste the last few lines from the Hyterper terminal console into your lab document. Verify that you can access the webserver on the NGW (10.0.0.1) and that you can access the Internet through the NGW.
Part 3: Blink the LEDs
Perform the LED exercise Click here. Cut-n-paste the console information into your lab document.
Part 4: Reading a switch
Perform the NGW exercise Click here. Use one of the DIP switches from your lab kit. Note: Before connecting to the NGW I have pins and heat-shrink tubing to connect to the NGW headers. Cut-n-paste the console information into your lab document.
Part 5: The GPIO Framework
Perform the GPIO exercise Click here. Cut-n-paste the console information into your lab document.
As always submit your work to the FTP server as Lab 4 and in a text file write up a brief lab report of what took place and what you learned
Last updated 10/30/2008 - rvs