EVK-L2 - User Guide
UBX-14000422 - R10
Appendix
Page 22 of 30
C
EVK-L2 setup for Internet browsing (Linux)
This section describes how to set up the EVK-L2 for browsing the internet with a Linux operating system on a PC
connected with the EVK-L2 over the USB interface of the TOBY-L2 series module. Follow the board setup
instructions described in section 1.8 (except the Windows OS settings) to provide communication via the USB
interface of the TOBY-L2 module. Use minicom or a similar program to send AT commands to the TOBY-L2
module.
1.
Identify the CDC-ACM connected to the Linux OS (
ls /dev/ttyACM*
) and then launch minicom to use
this port. In the example below the port is
ttyACM0.
2.
Use the AT terminal to enter the following AT command lines. Perform the following procedure to activate
an external PDP context with the preferred APN:
Command sent by DTE (user)
DCE response (module)
Description
AT+UBMCONF?
+UBMCONF: 1
OK
Check the +UBMCONF <networking_mode>, which must be
1 (router mode as the factory-programmed value) for the
context activation procedure herein described.
AT+CFUN=4
OK
Set the module in airplane mode. The module will deregister
from the network and both RF Tx and RF Rx will be disabled.
AT+CGDCONT=1,"IP","ibox.ti
m.it"
OK
Define a PDP context with preferred APN: in this example,
the “ibox.tim.it” APN is selected.
AT+UCGDFLT=1,"IP","ibox.ti
m.it"
OK
Define the initial PDP context with preferred APN. This will
be activated only if the module registers to an LTE network.
AT+CFUN=1
OK
Set the module to full functionality. The module starts the
automatic network registration.
AT+CPIN?
+CPIN: READY
OK
Check the SIM PIN status and act accordingly.