NimbeLink Skywire NL-SW-LTE-SRC7611 Networking Manual

NimbeLink Skywire NL-SW-LTE-SRC7611 Networking Manual

Lte modem linux guide

Advertisement

Quick Links

Skywire® LTE NL-SW-LTE-SRC7611
Modem Family
Linux Networking Guide
NimbeLink Corp.
Updated: October 2022
© NimbeLink Corp. 2022. All rights reserved.
NimbeLink Corp. provides this documentation in support of its products for the internal use of its current and prospective customers. The
publication of this document does not create any other right or license in any party to use any content contained in or referred to in this
document and any modification or redistribution of this document is not permitted.
While efforts are made to ensure accuracy, typographical and other errors may exist in this document. NimbeLink reserves the right to
modify or discontinue its products and to modify this and any other product documentation at any time.
All NimbeLink products are sold subject to its published Terms and Conditions, subject to any separate terms agreed with its customers.
No warranty of any type is extended by publication of this documentation, including, but not limited to, implied warranties of merchantability,
fitness for a particular purpose and non-infringement.
NimbeLink and Skywire are registered trademarks of NimbeLink Corp. All trademarks, service marks and similar designations referenced
in this document are the property of their respective owners.
PN 1003187 REV 1
© NimbeLink Corp. 2022. All rights reserved.
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Skywire NL-SW-LTE-SRC7611 and is the answer not in the manual?

Questions and answers

Summary of Contents for NimbeLink Skywire NL-SW-LTE-SRC7611

  • Page 1 © NimbeLink Corp. 2022. All rights reserved. NimbeLink Corp. provides this documentation in support of its products for the internal use of its current and prospective customers. The publication of this document does not create any other right or license in any party to use any content contained in or referred to in this document and any modification or redistribution of this document is not permitted.
  • Page 2: Table Of Contents

    Choose a PPP Implementation Standard PPP Procedure 3.4.1 Take down Network Interfaces 3.4.2 Start the PPP Session 3.4.3 Test the PPP Session 3.4.4 Close the PPP Connection Alternate Procedure for Testing PPP PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 3 System Set Up Using QMI 4.2.1 Disconnect Other Interfaces 4.2.2 Gather Information 4.2.3 Create Configuration File 4.2.4 Start QMI 4.2.5 Configure Networking 4.2.6 Using DNS Troubleshooting Document Version Information PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 4: Introduction

    Note: QMI generally has higher download and upload speeds than PPP. The networking methods described in this guide have been tested on the following Linux distributions: ● Ubuntu 18.04 LTS ● Ubuntu 20.04 LTS ● Debian 9.5 2018-10-07 PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 5: Orderable Part Numbers

    Additional packages may need to be installed on the Linux PC, depending on the networking protocol(s) that will be tested: ● PPP ○ pppd - Point-to-Point Protocol Daemon. ■ Install with: apt install ppp PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 6: Install Optional Packages

    ■ picocom – minimal Dumb-Terminal Emulation Program ■ Install with: apt install picocom ■ NimbeLink recommends using picocom to handle serial and USB communication between the modem and the Linux host PC. ■ For more information, see the following man page: https://linux.die.net/man/8/picocom...
  • Page 7 It is not recommended to utilize Linux Namespaces in the production implementation of an Ethernet over USB connection. Instead, follow the standard procedure(s) when designing an implementation for production devices. PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 8: Skywire Modem Setup

    USB interface is connected to the Linux PC. Then, retry the "lsusb" command. If the modem still has not enumerated as expected on the Linux PC, try the troubleshooting step in the next section. PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 9: Load The "Option" Driver (If Needed)

    Note: If the modem still does not enumerate, then it is possible that the USB interface is damaged on the modem. For further assistance, please contact the following email: product.support@nimbelink.com PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 10: Point-To-Point Protocol (Ppp)

    PC. 3.2 PPP Scripts 3.2.1 NimbeLink PPP Script GitHub Repository NimbeLink has a library of PPP scripts available for customer use at the following link: https://github.com/NimbeLink/skywire-ppp-scripts NimbeLink recommends downloading this repository, and following the instructions on the GitHub page to set up the scripts.
  • Page 11: Edit The "X-Src7611-Chat" Script

    SIM card being used. Open the "x-SRC7611-chat" file with a preferred text editor, and find the line that says: AT&T Users: ● OK AT+CGDCONT=1,"IP","[apn]" Verizon Users: PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 12: Edit The "X-Src7611" Script

    For example, the image below depicts an edited "att-SRC7611-chat" file with the proper APN set for an AT&T SIM card purchased through NimbeLink: 3.2.4 Edit the "x-SRC7611" Script Next, the "x-SRC7611" file may need to be updated to reflect the proper port for the PPP session.
  • Page 13: Standard Ppp Procedure

    Start the PPP session with the following command: pon [ppp script] Replace "[ppp script]" with one of the following filenames, depending on the carrier of the chosen SIM card: PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 14: Test The Ppp Session

    The demonstration of the alternate PPP setup is meant for testing and prototyping purposes only. It is not recommended to implement PPP using Linux namespaces for final production devices. If a communication path over PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 15: Create A Network Namespace

    3.5.3 Test the PPP Connection There should now be a "ppp0" interface contained within the "ppp-testing" network namespace. To check this, issue the following command: ip netns exec ppp-testing ifconfig PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 16 The response to the ping command should look something like the image below: If the ping command produces results similar to the image above, then it is safe to say that the Internet connection has been established. PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 17: Close The Ppp Connection

    The Linux namespace will also be deleted upon reboot of the Linux PC, so it is not entirely necessary to delete it after testing has concluded. PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 18: Ppp Troubleshooting

    1. This type of error is generally caused by attempting to start the PPP session too soon after the Skywire has booted. a. To fix this, wait 5-10 seconds after the modem is responsive before starting the PPP scripts. PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 19: Qmi

    These commands don't produce any output to the terminal if successful. Modem Manager and Network Manager need to be stopped so they don't try to set up the modem automatically while we are trying to. NimbeLink does not support using Modem Manager or Network Manager with the modems.
  • Page 20: Create Configuration File

    Replace <apn> with the proper APN for the chosen SIM card and cellular carrier. The proper APN for an AT&T SIM card purchased through NimbeLink is iot0718.com.attz. The APN for a Verizon SIM card purchased through NimbeLink is nimblink.gw12.vzwentp. 4.2.4 Start QMI...
  • Page 21: Configure Networking

    For the <converted network mask>, see the table following the commands: ip address add <IPv4 address>/<converted network mask> dev wwan0 ip link set wwan0 up ip route add default via <IPv4 gateway address> PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 22 64 bytes from 8.8.8.8: icmp_seq=4 ttl=51 time=68.2 ms 64 bytes from 8.8.8.8: icmp_seq=5 ttl=51 time=87.2 ms --- 8.8.8.8 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4004ms rtt min/avg/max/mdev = 68.233/82.468/88.970/7.410 ms PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 23: Using Dns

    64 bytes from lga15s46-in-f14.1e100.net (172.217.4.46): icmp_seq=5 ttl=52 time=77.8 ms --- google.com ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 4006ms rtt min/avg/max/mdev = 52.315/70.329/81.919/11.527 ms PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 24: Troubleshooting

    If the first few lines in the response of qmi-network /dev/cdc-wdm0 start says 'Profile not found', make sure the /etc/qmi-network.conf file is named correctly PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.
  • Page 25: Document Version Information

    5. Document Version Information Revision Description Date Initial release 10/21/22 PN 1003187 REV 1 © NimbeLink Corp. 2022. All rights reserved.

Table of Contents