GETTING STARTED WITH MLINUX MODELS
20
MultiConnect
®
Conduit
TM
AP MTCAP User Guide for North America
Set Custom IP Address, Network Information, and Ethernet Internet
Access
Network configuration is defined in /etc/network/interfaces.
To set the IP address and network information:
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’ll lose your SSH session by doing this.
3.
To enable DHCP with default settings, edit
/etc/udhcpd.conf
(use vi or nano) to issue:
mlinux-dhcpd start
Note:
To stop or restart, issue:
mlinux-dhcpd stop
or
mlinux-dhcpd restart
.
4.
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’ll lose your SSH session by doing this.
c.
Then test Internet access with
ping 8.8.8.8
.
Configure 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.
Set "APN" to the APN for your cellular provider. (Not necessary for
Verizon SIMs)
$ mlinux-set-apn APN
# Dial the connection (using /etc/ppp/peers/xxx# config)
$ pppd call xxx#
(where xxx# is your radio, LNA3 for North America or LEU1 for Europe)
2.
Use the Linux
route
utility to verify ppp0 is up.
$ route