GETTING STARTED WITH MLINUX MODELS
20
Conduit
®
AP MTCAP-L4E1 User Guide for Europe
ln -fs /usr/share/zoneinfo/Europe/Zurich /etc/localtime
2.
Update the date and time to the current time:
date "2016-12-11 14:58:01"
3.
Update the hardware clock:
hwclock -u -w
Setting the Custom IP Address, Network Information, and Ethernet
Internet Access
Network configuration is defined in /etc/network/interfaces.
1.
To change the static IP, change the
address
and
netmask
fields in
/etc/network/interfaces
, (use vi or
nano).
2.
To apply changes, either reboot the device or issue:
ifdown eth0 && ifup eth0
Note:
You will lose your SSH session by doing this.
3.
To enable DHCP with default settings, edit
/etc/udhcpd.conf
(using vi or nano) by entering, starting, and
ending IP addresses for DHCP range.
mlinux-dhcpd start
4.
Issue this command to start DHCP:
mlinux-dhcpd start
Note:
To stop or restart, issue:
mlinux-dhcpd stop
or
mlinux-dhcpd restart
5.
To configure Internet access via the Ethernet port, modify
/etc/network/interfaces
as follows:
a.
Add
gateway 192.168.2.254
beneath the
netmask
line, where
192.168.2.254
is the IP address of
your network router.
b.
To apply changes, either reboot the device or issue:
ifdown eth0 && ifup eth0
Note:
You will lose your SSH session by doing this.
c.
Test Internet access with
ping 8.8.8.8
.
Configuring the Cellular Connection
To establish a cellular data link, you must configure and initiate a PPP connection. Sample options, files, and chat
scripts are provided in the ppp peers directory
/etc/ppp/peers
. Anything specific to the network or connection
should be placed in one of these files. Global options should be placed in
/etc/ppp/options
.
1.
Set up a cellular data connection.