{"id":7828,"date":"2015-06-12T10:18:30","date_gmt":"2015-06-12T15:18:30","guid":{"rendered":"http:\/\/www.multitech.net\/developer\/?page_id=7828"},"modified":"2022-08-08T16:42:28","modified_gmt":"2022-08-08T21:42:28","slug":"getting-started-with-conduit-mlinux","status":"publish","type":"page","link":"https:\/\/www.multitech.net\/developer\/software\/mlinux\/getting-started-with-conduit-mlinux\/","title":{"rendered":"Getting Started with mLinux"},"content":{"rendered":"<h3>1.\u00a0 Install and Connect Hardware<\/h3>\n<ul>\n<li>For\u00a0Conduit<sup>\u00ae<\/sup> installation, refer to the appropriate model and guides through the<a href=\"https:\/\/www.multitech.com\/brands\/multiconnect-conduit\"> Conduit product page<\/a><\/li>\n<li>For\u00a0Conduit<sup>\u00ae<\/sup> Access Point installation, refer to the appropriate model and guides through the <a href=\"https:\/\/www.multitech.com\/brands\/multiconnect-conduit-ap\">Conduit AP product page<\/a>.<\/li>\n<li>For Conduit<sup>\u00ae\u00a0<\/sup>IP67 Base Station, refer to the installation guide available through the <a href=\"https:\/\/www.multitech.com\/brands\/multiconnect-conduit-ip67\">Conduit IP67 Base Station page<\/a>.<\/li>\n<\/ul>\n<h3 id=\"terminal\">2.\u00a0Access the Terminal Interface via Ethernet<\/h3>\n<p>To access the terminal interface:<\/p>\n<ol>\n<ol>\n<ul>\n<ul>\n<ul>\n<ol type=\"a\">\n<li>On your PC, configure the network interface that is connected to the Conduit to be a static IP address within <code>192.168.2.2 - 192.168.2.254<\/code><\/li>\n<li>Open an SSH connection first\n<ul>\n<ul>\n<li><strong>Default IP address: <\/strong><code>192.168.2.1<\/code> (DHCP is disabled)<\/li>\n<li><strong>Default credentials (mLinux 3.x and lower):\u00a0<\/strong>username: <code>root<\/code> &amp; password:\u00a0<code>root<\/code><\/li>\n<li><strong>Default credentials (mLinux 4.0.0 to 5.2.): <\/strong>username: <code>mtadm<\/code>\u00a0&amp; password: <code>root<\/code><\/li>\n<li><strong><a href=\"https:\/\/www.multitech.net\/developer\/software\/mlinux\/getting-started-with-conduit-mlinux\/commissioning-for-mlinux-devices\/\">Commissioning<\/a> (mLinux 5.2.1. or higher): <\/strong>you must commission your device after first-time power up or resetting to factory default<strong><br \/>\n<\/strong><\/li>\n<li><strong>On Linux<\/strong>, issue this command in your PC&#8217;s terminal: <code>ssh root@192.168.2.1<\/code><br \/>\nWhen prompted, enter the default password.<\/li>\n<li><strong>On Windows<\/strong>, do one of the following:\n<ul>\n<li>Install <a href=\"https:\/\/cygwin.com\/install.html \">Cygwin<\/a> and use the Linux instructions.<\/li>\n<li>Or install <a href=\"http:\/\/ttssh2.osdn.jp\/index.html.en\">Tera Term<\/a> or <a href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/download.html \">Putty<\/a> and open a new SSH connection on port 22 using the above defaults.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/ul>\n<\/li>\n<\/ol>\n<\/ul>\n<\/ul>\n<\/ul>\n<\/ol>\n<\/ol>\n<p>Conduit&#8217;s terminal prompt appears. <code>root@mtcdt:~#<\/code><\/p>\n<h3>3.\u00a0 Setting the Time Zone, Date, and Time<\/h3>\n<p>If GPS is connected and working and hostfix and NTP are running, then the date and time have already been set. Skip <strong>steps b<\/strong> and<strong> c<\/strong>.<\/p>\n<p>Otherwise, to set the time zone, date, and time:<\/p>\n<ol>\n<ol>\n<ul>\n<ul>\n<ul>\n<ol type=\"a\">\n<li>Create a symbolic link from the zoneinfo file for your location to <code>\/etc\/localtime<\/code>:\n<pre class=\"brush:shell\">ln -fs \/usr\/share\/zoneinfo\/America\/Chicago \/etc\/localtime<\/pre>\n<\/li>\n<li>Update the date and time to the current time: <code><code>date \"2010-04-02 14:58:01\"<\/code><\/code><\/li>\n<li>Update the hardware clock: <code>hwclock -u -w<\/code><\/li>\n<\/ol>\n<\/ul>\n<\/ul>\n<\/ul>\n<\/ol>\n<\/ol>\n<h3>4.\u00a0 Set Custom IP Address, Network Information, and Ethernet Internet Access<\/h3>\n<p>To set the IP address and network information:<\/p>\n<ol>\n<ol>\n<ul>\n<ul>\n<ul>\n<ol type=\"a\">\n<li>Network configuration is defined in <code>\/etc\/network\/interfaces<\/code>\n<ul>\n<li>To change the static IP, change the <code>address <\/code>and <code>netmask<\/code> fields in that file (use <code>vi<\/code> or <code>nano<\/code>)<\/li>\n<li>To apply changes, either reboot the device or issue: <code>ifdown eth0 &amp;&amp; ifup eth0<\/code> (note: you\u2019ll lose your ssh session by doing this)<\/li>\n<\/ul>\n<\/li>\n<li>To enable DHCP with default settings, issue: <code>mlinux-dhcpd start<\/code>\n<ul>\n<li>Configure the dhcp server by editing <code>\/etc\/udhcpd.conf<\/code> (use <code>vi<\/code> or <code>nano<\/code>)<\/li>\n<li>You can also issue the above command with <code>stop <\/code>or <code>restart<\/code>.<\/li>\n<\/ul>\n<\/li>\n<li>To configure internet access via the ethernet port, modify\u00a0<code>\/etc\/network\/interfaces<\/code> as follows:\n<ul>\n<li>Add <code>gateway 192.168.2.254<\/code> beneath the <code>netmask<\/code> line, where <code>192.168.2.254<\/code> is the IP address of your network router<\/li>\n<li>To apply changes, either reboot the device or issue: <code>ifdown eth0 &amp;&amp; ifup eth0<\/code> (note: you\u2019ll lose your ssh session by doing this)<\/li>\n<li>Then test for internet access with <code>ping 8.8.8.8<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<\/ul>\n<\/ul>\n<\/ul>\n<\/ol>\n<\/ol>\n<h3>5.\u00a0 Configure the Cellular Connection<\/h3>\n<p>See <a href='https:\/\/www.multitech.net\/developer\/software\/mlinux\/using-mlinux\/mlinux-cellular-connection\/' title='Cellular Connection'>Cellular Connection<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1.\u00a0 Install and Connect Hardware For\u00a0Conduit\u00ae installation, refer to the appropriate model and guides through the Conduit product page For\u00a0Conduit\u00ae Access Point installation, refer to the appropriate model and guides through the Conduit AP product page. For Conduit\u00ae\u00a0IP67 Base Station, refer to the installation guide available through the Conduit IP67 Base Station page. 2.\u00a0Access the [&hellip;]<\/p>\n","protected":false},"author":537,"featured_media":0,"parent":7861,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"class_list":["post-7828","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/7828","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/users\/537"}],"replies":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/comments?post=7828"}],"version-history":[{"count":107,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/7828\/revisions"}],"predecessor-version":[{"id":32966,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/7828\/revisions\/32966"}],"up":[{"embeddable":true,"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/pages\/7861"}],"wp:attachment":[{"href":"https:\/\/www.multitech.net\/developer\/wp-json\/wp\/v2\/media?parent=7828"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}