Getting Started with mLinux
1. Install and Connect Hardware
- For Conduit® installation, refer to the appropriate model and guides through the Conduit product page
- For Conduit® Access Point installation, refer to the appropriate model and guides through the Conduit AP product page.
- For Conduit® IP67 Base Station, refer to the installation guide available through the Conduit IP67 Base Station page.
2. Access the Terminal Interface via Ethernet
To access the terminal interface:
- 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
- Open an SSH connection first
- Default IP address:
192.168.2.1
(DHCP is disabled) - Default credentials (mLinux 3.x and lower): username:
root
& password:root
- Default credentials (mLinux 4.0.0 to 5.2.): username:
mtadm
& password:root
- Commissioning (mLinux 5.2.1. or higher): you must commission your device after first-time power up or resetting to factory default
- 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:
- Default IP address:
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:
- Create a symbolic link from the zoneinfo file for your location to
/etc/localtime
:ln -fs /usr/share/zoneinfo/America/Chicago /etc/localtime
- Update the date and time to the current time:
date "2010-04-02 14:58:01"
- 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:
- Network configuration is defined in
/etc/network/interfaces
- To change the static IP, change the
address
andnetmask
fields in that file (usevi
ornano
) - To apply changes, either reboot the device or issue:
ifdown eth0 && ifup eth0
(note: you’ll lose your ssh session by doing this)
- To change the static IP, change the
- To enable DHCP with default settings, issue:
mlinux-dhcpd start
- Configure the dhcp server by editing
/etc/udhcpd.conf
(usevi
ornano
) - You can also issue the above command with
stop
orrestart
.
- Configure the dhcp server by editing
- To configure internet access via the ethernet port, modify
/etc/network/interfaces
as follows:- Add
gateway 192.168.2.254
beneath thenetmask
line, where192.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
- Add
5. Configure the Cellular Connection
See Cellular Connection.