Quick Start

Contents

Introduction to the NGW

The NGW is shipped with a fully functional linux operating system in order to showcase some of the many features and interfaces the board offers. This document is intended as a beginners guide to the NGW.

NGW user and password

Whenever prompted for a login, use the following defualt user name and password.

user: root
pwd:  roota

Using the NGW as a router

The NGW can be used as a router and includes Dynamic Host Configuration Protocol (DHCP) and Domain Name System (DNS). This means it can be connected between your computer and the rest of your home network.

  1. Connect the NGW to your network using the port labled WAN.
  2. Connect the NGW to your computer using the port labled LAN.
  3. Turn the NGW on by connecting a voltage supply.
  4. Your computer should automatically reconfigure its network settings.


The following settings are default for the NGW router software

IP address is in the range 10.0.0.20 - 10.0.0.255
DNS is set to 10.0.0.1
Gateway is set to 10.0.0.1
Reverse of IP address is dhcp-xxx.ngw.example.net

Configuring the NGW router settings

The NGW can now be configured through the NGW web interface. If you set the device up correctly, you should be able to follow these two simple steps to configure it.

  1. In your web browser, open the adress http://ngw.example.net
  2. Browse and change settings

(The NGW uses webif (part of OpenWRT) which allows users to change host, firewall and network settings.)

Samba File Sharing

The NGW can be used to share files using the standard samba protocol. This allows you to copy files to and from the NGW's internal disk. If an SD-Card is inserted, this will be used instead of the internal flash memory.

For Windows users:

  1. Press Start, then Run.
  2. Enter \\samba\netdisk.
  3. When prompted for username and password, use the information from above.
  4. You can now read and write files from the NGW device.

For Linux users:

  1. Map \\samba\netdisk to a local drive.
  2. You will now access to the parallel flash if no SD-card is inserted. Access to the SD-card is given if card is inserted. The NGW samba server will behave as any other windows shares.

Configuring samba

The NGW includes Samba Web Administration Tool (SWAT) and this can be used to configure samba.

  1. Open http://www.example.net:901/
  2. Browse and change settings


USB

The NGW can be used as a USB mass-storage device when an SD-card is inserted.

  1. Connect to the NGW using an USB cable
  2. Follow the steps described in the USB mass storage device reference
  3. The NGW is now available as a mass-storage device

Note that the USB mass-storage can not be used at the same time as other applications access the storage device.

FTP

The NGW includes troll-ftpd, which is a freely available, small, but unsupported, FTP daemon from Trolltech AS.

  1. Use a ftp-client and go to ftp://ftp.example.net
  2. You can now upload files to the NGW. Uploads will be located under /home/ftp

Terminals

Three possible terminal connections are available on the NGW

  • Serial terminal.
    • Make sure to open the connection before you power the NGW.
    • Available on the serial port (RS232) on the NGW, also used for kernel messages
    • Run a terminal program (use the terminal view in AVR32 Studio or another terminal client) with communication speed to 115200 bps, 8 data bits, no parity, 1 stop bit.
    • Easy and commonly used interface, low security
  • Telnet terminal
    • Available by connecting to telnet when connected to the LAN port using any telnet client
    • Fast but low security
  • SSH terminal
    • Available by connecting to ssh when connecter to the LAN port using any ssh client
    • High security

Dynamic web pages

The NGW allows user to create dynamic web pages. This can be a C/C++ program, shell script, Perl or any other executable format run on the web server. The NGW includes an example of a C program called cgipio.cgi. The program allows users to toggle a LED on the NGW

  1. Open http://www.example.net
  2. Click on and follow the NGW GPIO demonstration