Getting Started with mLinux

1.  Install and Connect Hardware

For Conduit (MTCDT)

To install and cable the device:

  1. Installing a Mini SIM Card.
  2. Installing a Micro SD Card (optional).
  3. Installing a battery (optional).
  4. Connect the supplied antenna(s) to the CELL, WIFI and/or GPS connector(s) on the back of the device (varies with model).
  5. Connect the Conduit to the controlling device through the Ethernet connector on the back panel.
  6. Install any mCard accessory cards into a slot at the back of the device. Refer to Installing an mCard Accessory Card.
  7. Depending on the accessory card type, attach any antennas or cables for use with the card.
  8. Connect the power cord to an outlet or power strip and to the power adapter.
  9. Connect the power adapter to the barrel jack on the back panel of the device. The Power LED comes on immediately after power is applied. Wait for the Status LED to begin blinking.

For Conduit Access Point (MTCAP)

To install and cable the device:

    1. If you have a cellular model with a SIM slot, install the SIM card. With the contact side facing down, align the notched edge as shown on the following image and slide the SIM card completely into the SIM holder.
    2. Connect the Ethernet cable to the Ethernet port on the device and to your computer.
    3. Connect the power supply to the MTCAP’s power jack and plug it into an electrical outlet. When the
      operating system is fully loaded, the STATUS LED blinks.

2. Access the Terminal Interface via Ethernet

To access the terminal interface:

            1. On your PC, configure the network interface that is connected to the Conduit to be a static IP address within 192.168.2.2 - 192.168.2.254
            2. Open an SSH connection
                • Default IP address: 192.168.2.1 (DHCP is disabled)
                • Default credentials: username: root & password: root
                • On Linux, issue this command in your PC’s terminal: ssh root@192.168.2.1
                  When prompted, enter the default password.
                • On Windows, do one of the following:
                  • Install Cygwin and use the Linux instructions.
                  • Or install Tera Term or Putty and open a new SSH connection on port 22 using the above defaults.

Conduit’s terminal prompt appears. root@mtcdt:~#

3.  Setting the Time Zone, Date, and Time

If GPS is connected and working and hostfix and NTP are running, then the date and time have already been set. Skip steps b and c.

Otherwise, to set the time zone, date, and time:

            1. Create a symbolic link from the zoneinfo file for your location to /etc/localtime:
              ln -fs /usr/share/zoneinfo/America/Chicago /etc/localtime
            2. Update the date and time to the current time: date "2010-04-02 14:58:01"
            3. Update the hardware clock: hwclock -u -w

4.  Set Custom IP Address, Network Information, and Ethernet Internet Access

To set the IP address and network information:

            1. Network configuration is defined in /etc/network/interfaces
              • To change the static IP, change the address and netmask fields in that file (use vi or nano)
              • To apply changes, either reboot the device or issue: ifdown eth0 && ifup eth0 (note: you’ll lose your ssh session by doing this)
            2. To enable DHCP with default settings, issue: mlinux-dhcpd start
              • Configure the dhcp server by editing /etc/udhcpd.conf (use vi or nano)
              • You can also issue the above command with stop or restart.
            3. To configure internet access via the ethernet port, modify /etc/network/interfaces as follows:
              • Add gateway 192.168.2.254 beneath the netmask line, where 192.168.2.254 is the IP address of your network router
              • To apply changes, either reboot the device or issue: ifdown eth0 && ifup eth0 (note: you’ll lose your ssh session by doing this)
              • Then test for internet access with ping 8.8.8.8

5.  Configure the Cellular Connection

See Cellular Connection.