Follow

How to configure a base unit IP address

­­­

The full Base Unit Config Guide can be downloaded here (pdf) and a quick setup guide is available here (pdf).

Base Unit Setup via TELNET

Connect your computer to the base unit via Ethernet. Ensure the base unit is on (power LED is green) and establish a telnet connection to the base unit on port 9999.

If you don’t know the IP address of the base unit, read the next section.

Get connected

To TELNET into the base unit from your PC the IP address of the Ethernet port on the PC needs to be on the same subnet as the current IP settings for the base unit.

In this example we use a base unit with IP address 192.168.1.100, which is the default IP address of a SmartCap Base Unit. This requires the IP address on the PC to be 192.168.1.X. Where X can be any number, but it is best to avoid 0, 1, 10, 100 and anything higher than 255.

Therefore, set your computer’s IP address to 192.168.1.200,

 

Factory Defaults

Base Unit IP:

192.168.1.100

Gateway:

192.168.1.1

Netmask:

255.255.255.0

Server IP:

192.168.1.10

Comms Port:

10001

Telnet port:

9999

 

 

  1. Telnet to the base unit (192.168.1.100) on port 9999

    Windows:              telnet x.x.x.x 9999
    UNIX:                   telnet x.x.x.x:9999
  1. The following information displays:

    MAC address 00204A89E06A
    Software version V6.7.0.0RC6 (100118)
    AES library version 1.8.2.1
    Press Enter for Setup Mode
  1. To enter the Setup Mode, press Enter within 5 seconds.
    Note: Connection fails if Enter is not pressed within 5 seconds.

    The configuration settings display, followed by the setup menu options:

    Change Setup:
    0 Server 
    1 Channel 1 
    2 Channel 2
    3 E-mail
    4 WLAN
    5 Expert
    6 Security
    7 Defaults
    8 Exit without save
    9 Save and exit         Your choice ?
  1. Select an option on the menu by entering the number of the option in the Your choice? field and pressing Enter.
    View the current configuration by pressing Enter from the Change Setup menu.

    To enter a value for a parameter, type the value and press Enter. To confirm a current value, press Enter (without inputted parameters).
  1. When finished, save the new configurations (9 Save and exit). The unit reboots.

 

Changing the config

You will be making changes on Option 0 (Server) and Option 1 (Channel 1).
Most settings are valid by default. To leave a setting unchanged, simply press enter.

Each base unit will have to have a unique IP address set. You will set this in Option 0. The IP address is specific to the truck. Please make sure to document the following:

  • Base unit’s serial number
  • IP address (as assigned)
  • Truck name (if available)

 

In this example we use 192.168.1.10 as the Fatigue Manager IP address and port 10001 for transfer of SmartCap data. The gateway address in the example is 192.168.1.1 and number of bits in the netmask is 8 (255.255.255.0).

 

Follow the menu and ensure the following properties are set:

0. Server:

IP addr:

192.168.1.100

Gateway:

192.168.1.1

Netmask (# bits):

8  (255.255.255.0)

DNS:

Ignore – leave as is.

1. Channel 1: 

 

Baudrate:

115200

I/F:

4C

 Flow

02

Port No

10001

ConnectMode

CC

Datagram type

01

Broadcast

N

Remote IP

192.168.1.10

Port

10001

Pack cntrl

00

Send Char 1

00

Send Char 2

00

  1. Save & Exit

 

Some examples converting the number of bits to a netmask

#Bits

Netmask

8

255.255.255.0

9

255.255.254.0

10

255.255.252.0

11

255.255.248.0

12

255.255.240.0

13

255.255.224.0

14

255.255.192.0

15

255.255.128.0

16

255.255.0.0

 

 

 

What if Base Unit IP Unknown?

There are a number of ways to obtain the base unit IP address if it is unknown. Two options have been detailed in the sections below.

  • 1: Lantronix DeviceInstaller (Windows only)
  • 2: Packet Capture (ARP)

Lantronix DeviceInstaller

  1. Download and install Lantronix DeviceInstaller
  2. Open DeviceInstaller and Search for device: click “Search”

No Devices Found? Check that there’s a link when the LAN cable is connected

Windows will show the LAN is connected when there’s power to the WiPort on the base unit. Possible reasons when this isn’t the case: faulty network cable, no power to base unit, no power to WiPort, faulty WiPort.

  1. If device shows up in black letters, skip this step and go straight to step 5.
    Select device and click “Assign IP”
  2. Type in new base unit. Default parameters shown below:

IP address: 192.168.1.100
Subnet mask: 255.255.255.0
Default gateway: 192.168.1.1

  1. Make sure the computer is on the same subnet as the base unit IP.
    Use a program like “Free IP Switcher” to quickly switch network adapter configurations in case you expect to do this frequently

  2. Now that the base unit IP address is known follow the instructions in section 1: ­­­Base Unit Setup via TELNET, or use DeviceInstaller:
  3. Search for devices in DeviceInstaller:
    1. Double-click on the WiPort found during search.
    2. Telnet into the WiPort on port 9999:
      Go to telnet tab
      2. Click ‘connect’
      3. Hit ‘Enter’ on the keyboard within a few seconds

 

Packet Capture (ARP)

If the base unit IP address is unknown, connect it to a computer running a packet capture tool, such as Wireshark.

  1. Turn on the base unit. A lot of data will show up
  2. Filter on “ARP” packets: type arp in filter and press enter or click apply
  3. Look for packets from “Pronet_ed…”
  4. In the info column it shows the IP address of the base unit.
    Look for the “Tell xxx.xxx.xxx.xxx” address.

 

What if the Base Unit IP is invalid?

It is possible to set the base unit IP address to an invalid number, e.g. 0.268.1.100. If that’s the case you can use the ARP command to rectify this.

In the Command Prompt window, enter the command:
arp -s nnn.nnn.nnn.nnn xx-xx-xx-xx-xx-xx

In the above command, substitute the IP address you wish to assign for the n's and the MAC address of the WiPort for the x's. It adds a static entry to the arp table.

Enter the command:
arp –a            ...displays the arp table

...to check your entry. The first line should start with "Interface" and show the IP address of the PC. Under that should the the IP address and MAC address you just entered.

Next, enter the command:
telnet nnn.nnn.nnn.nnn 9999

Again, the n's represent the IP address you are assigning. This connection should fail immediately. Make sure telnet is enabled when running the command (see section below)

If successful, the first thing you will see after entering the command will be a message to press enter to go into setup mode. Do this right away or the WiPort will disconnect you.

Once you in, select option 0 to permanently configure the IP information.

 

Tools and Commands

Lantronix DeviceInstaller

Download and install the Lantronix DeviceInstaller. DeviceInstaller is a software tool developed by the manufacturer of the Ethernet module.

ARP Command

ARP is a built-in command in the operating system. It displays and modifies the IP-to-Physical address translation tables used by address resolution protocol (ARP).

ARP -s inet_addr eth_addr [if_addr]

ARP -d inet_addr [if_addr]

ARP -a [inet_addr] [-N if_addr] [-v]

 

  -a            Displays current ARP entries by interrogating the current

                protocol data.  If inet_addr is specified, the IP and Physical

                addresses for only the specified computer are displayed.  If

                more than one network interface uses ARP, entries for each ARP

                table are displayed.

  -g            Same as -a.

  -v            Displays current ARP entries in verbose mode.  All invalid

                entries and entries on the loop-back interface will be shown.

  inet_addr     Specifies an internet address.

  -N if_addr    Displays the ARP entries for the network interface specified

                by if_addr.

  -d            Deletes the host specified by inet_addr. inet_addr may be

                wildcarded with * to delete all hosts.

  -s            Adds the host and associates the Internet address inet_addr

                with the Physical address eth_addr.  The Physical address is

                given as 6 hexadecimal bytes separated by hyphens. The entry

                is permanent.

  eth_addr      Specifies a physical address.

  if_addr       If present, this specifies the Internet address of the

                interface whose address translation table should be modified.

                If not present, the first applicable interface will be used.

Example:

  > arp -s 157.55.85.212   00-aa-00-62-c6-09  .... Adds a static entry.

  > arp -a                                    .... Displays the arp table.

Telnet command

To enable Telnet command line utilities in Windows follow the steps below:

Click Start > Control Panel

Click Programs and Features

Click Turn Windows features on or off

In the Windows Features dialog box, check the Telnet Client check box.

Click OK. The system installs the appropriate files. This will take a few seconds to a minute.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Copyright © 2014-2015 · All Rights Reserved · SmartCap Technologies Pty Ltd