GETTING STARTED WITH MLINUX MODELS
18
MultiConnect
®
Conduit
TM
AP MTCAP User Guide for Sprint
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.
Note:
With a Sprint SIM, your device uses Sprint's OTA activation to register the SIM to their network. Sprint
automatically sets the correct APN values automatically. For more information, go to
Sprint Device Activation
.
# Before establishing PPP connection, modify the file, /etc/ppp/options
sudo -s
echo -e '+ipv6\nipv6cp-use-ipaddr' >>/etc/ppp/options