Mcd-menu program – WattMaster WM-WCC3-TGD-01B User Manual

Page 636

Advertising
background image

WCC III Technical Guide

13B-24

13B. WCC III - MCD INSTALLATION GUIDE

Setup Network Configuration

(Choice #1)

This sub program will allow you to set the IP confi guration of the
WCCIII-MCD2. You will be prompted to enter an IP Address in
the XXX.XXX.XXX.XXX format. If you do not have all of the
following information, then you should not proceed any further.
Fill in the blanks below for future reference.

Static IP address __ __ __ . __ __ __ . __ __ __ . __ __ __

Subnet Mask __ __ __ . __ __ __ . __ __ __ . __ __ __

Gateway __ __ __ . __ __ __ . __ __ __ . __ __ __

Nameserver __ __ __ . __ __ __ . __ __ __ . __ __ __

Nameserver __ __ __ . __ __ __ . __ __ __ . __ __ __ Optional

Nameserver __ __ __ . __ __ __ . __ __ __ . __ __ __ Optional

You will be now be prompted to enter the following data, and if you
do not want to change the address listed within the listed brackets
[ ] then just press the enter key and the value in the brackets [ ]
will not change.

Enter interface confi guration data:
Interface to confi gure: [eth0] __

IP address: [192.168.100.101] __
Netmask: [255.255.255.0] __
Gateway (none for no gateway): [192.168.100.1] __
Nameservers (blank separate list): [8.8.8.8 8.8.4.4] __
Interface to confi gure: [eth0] __ There are two possible entries
here “eth0” and “eth1”

eth0 is the default main IP address for the WCCIII-MCD2.
Eth1 is the secondary IP address for the WCCIII-MCD2 and it is
meant for direct connection from the WCCIII-MCD2 to a local
computer (Laptop) via an Ethernet crossover cable. Note: Do not
change this “eth1” IP address.

IP address: [24.123.103.99] __. This IP address must be supplied
by your Internet provider or by your network IT personnel. This IP
address must be a “static IP address” (fi xed), as in not dynamic –
which does change.

Netmask: [255.255.255.248] __. This IP address must be supplied
by your Internet provider or by your network IT personnel.

Gateway (none for no gateway): [24.123.103.97] __. This IP
address must be supplied by your Internet provider or by your
network IT personnel.

Nameservers (blank separate list): [8.8.8.8 8.8.4.4] __ . Is the
actual IP address for a DNS server.

MCD-Menu Program

Some internet service providers do not have a static IP address.
They use what is called static host names, which correspond to an
actual static IP address. You can enter more than one IP address
here, a primary and a secondary, And please note that they must be
separated by a space.

For example, on the Internet, there exists a special case of
nameservers lookup sites, the so-called Domain Name System
(DNS) servers, which are used to translate a static hostname or
a domain name (for example, ‘WCC-CONTROLS.com’) to its
corresponding binary identifi er (the IP address 50.87.183.62), or
vice versa..

After you have entered in all of the required IP addresses, subnet
masks, Gateways, and or Nameservers, the program will now
change the internal IP network confi guration fi les within the Linux
operating system of the WCC III – MCD. It will take a few seconds
to do this function, and the following messages will display:

Confi guring interface:
/sbin/ifconfi g eth0 24.123.103.99 netmask 255.255.255.248
broadcast 24.123.103.103

Deleting old interface route:
/sbin/route del -net 24.123.103.96 netmask 255.255.255.248 eth0

Setting interface route:
/sbin/route add -net 24.123.103.96 netmask 255.255.255.248 eth0

Deleting old default route:
/sbin/route del default

Setting default route:
/sbin/route add default gw 24.123.103.97

Writing /etc/network/interfaces:

Writing /etc/resolv.conf:

When completed the following information will be displayed:

New netstat settings:

24.123.103.96 0.0.0.0 255.255.255.248 U 0 0 0 eth0
192.168.200.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 24.123.103.97 0.0.0.0 UG 0 0 0 eth0

Network Confi guration Done.

*************************************************

*

Warning: The program is not running as root.

*

*

Interface configurations or saving may fail!

*

******************************************

wcciii@wcciii-mcd:~$

NOTE:

The mcd-menu program will close after the setup

process for the IP connections. This is done purposely and is

normal operation.

Advertising
This manual is related to the following products: