Configuring Linux pppd for a Skywire 4G LTE CAT1 Verizon Over UART

Similar documents
Configuring Linux pppd for a Skywire Global LTE CAT-M1 NL-SW-LTE-QBG96

Configuring Linux pppd for a Skywire 4G LTE CAT3 Verizon

Configuring Linux pppd for a Skywire 3G HSPA Modem

Linux PPPd for LTE CAT M1 Verizon Skywire on Beaglebone Black. NimbeLink Corp Updated: July 2018

Linux PPPd for LTE CAT M1 Verizon Skywire on Raspberry Pi 3

Configuring Linux pppd for Skywire LTE NL-SW-LTE-S7xxx Modem Family

Enabling CDC_ETHER Connection for Skywire GSM CAT1

Configuring Linux CDC_NCM for Skywire LTE CAT4 Modem

Enabling CDC-ETHER Connection for Skywire CAT1

Configuring the BeagleBone Black s Ethernet Port for SSH Access

Skywire Development Kit Using the USB Qualcomm MSM Interface (QMI) Protocol in Linux

Skywire BeagleBone Black Cape User Manual

Skywire LTE CAT1 Sending and Receiving SMS Messages

Configuring Skywire CAT 4 LTE and CAT 1 LTE Modems for MBIM Mode on Windows 8 and 10

AWS IoT Example Using the Raspberry Pi 3 and NimbeLink CAT M1 Skywire

FOTA Update Procedure for NL-SW-LTE-S7588-V

4G LTE CAT 4 Skywire User Manual

Windows 7 & 8.1 Driver Installation For Skywire (mpcie) Mini PCI Express Adapter Board

Skywire Development Kit SMS Example

Go.NimbeLink.com Portal User Manual

Skywire Development Kit User Manual

Skywire LTE CAT4 Firmware Update

Skywire Development Kit User Manual

Using USB Interface on Bitpipe

Skywire Development Kit User Manual

Skywire BeagleBone Black Cape Data Sheet

Skywire Raspberry Pi Adapter Data Sheet

Firmware Upgrade Procedure for NL-SW-LTE-SVZM20

Skywire Development Kit File Transfer Protocol (FTP)

Skywire LTE CAT 1 Socket Dial Example

Skywire Software Developer s Guide

GE MDS, LLC. 175 Science Parkway, Rochester, NY USA Phone +1 (585) , FAX +1 (585) Web:

Skywire Development Kit Socket Dial Example

Skywire TCP Socket Examples NimbeLink Corp Published: April 2014

USER MANUAL: 4G. The PiIoT is a WAN communications board which provides a 2G / 3G / 4G

Skywire LTE CAT-M1 Socket Dial Application Note

Troubleshooting Guide for Skywire Modems

S2C Link Accessory Kit Datasheet

Skywire LTE Cat 1 AT&T Socket Dial Example

CIS Test 1- Practice - Fall 2011

Quick Note 65. Configure an IPSec VPN tunnel between a TransPort WR router and an Accelerated SR router. Digi Technical Support 7 June 2018

This document guides the user through: 1. Setting up and configuring networking for the BeagleBone black or green with the host.

F Technical Bulletin Vanguard SC 370 Setup for Modem and SNMP Monitoring

BitPipe Cellular Dev-Kit

BitPipe Cellular Dev- Kit

Skywire LTE CAT3 GPS and Assisted GPS (A-GPS) Application Note

Skywire ST Micro Shield and Skywire Sensor Shield User Manual

StampA5D3x/PortuxA5/PanelA5. Quickstart Guide

Set Up PPPoE Between a Linux Client and an ATR Access Concentrator. What information you will find in this document

How to use 3G data card on. UC-7400/IA241 Serials

Ethernet to Cellular Router User Manual

Skywire LTE CAT-M1 Embedded Cellular Modem Datasheet

Dell IoT Gateway 5500 Edge MicroServer Setup Guide

Skywire RL78/Kurumi Adapter User Manual

Skywire Hardware Design Checklist NimbeLink Corp Updated: August 2018

Itron Riva Dev Mini Kit Getting Started Guide


A113X1 Development Kit

Skywire LTE CAT-M1 Embedded Cellular Modem Datasheet

G-router GSM/GPRS to RS-232 and Ethernet Gateway Release Notes

OPENSTACK CLOUD RUNNING IN A VIRTUAL MACHINE. In Preferences, add 3 Host-only Ethernet Adapters with the following IP Addresses:

IP over IB Protocol. Introduction CHAPTER

Configuring CloudN using ESXi 5.0 or later (EST mode)

Skywire LTE CAT 1 S7648 Embedded Cellular Modem Datasheet

Skywire LTE CAT4 HL7588 Embedded Cellular Modem Datasheet

Appliance Guide. Version 1.0

Gateway 2.0 Cellular (P/N )

Different ways to use Kon-Boot

Simulation Manager Configuration Guide

CIS 192 Linux Lab Exercise

Development Environment Embedded Linux Primer Ch 1&2

Configuring Cisco Prime NAM

Lab X2: PPP Connections (Extra Credit)

OpenStack Havana All-in-One lab on VMware Workstation

DogeCash Masternode Setup Guide Version 1.2 (Ubuntu 16.04)

Lab Working with Linux Command Line

How to use the SIM7100 Module in Linux

Skywire 3G HSPA+ GPS and Assisted GPS (A-GPS) Application Note. NimbeLink Corp Published: March 2016

Lab4 Embedded Linux. Introduction

Linux Systems Administration Getting Started with Linux

GIT. A free and open source distributed version control system. User Guide. January, Department of Computer Science and Engineering

GMSplus Customer Connection Test Procedure

Deploy Dual Stack CentOS 7 Instance in AWS

NWK200: Extrovert 4G LTE Modem

WCDMA UGxx PPP Application Note

Wi-Fi Guide: Edimax USB Adapter on BBG

FSOS VPN Command Line Reference

Skywire LTE Cat 1 ELS31 Embedded Cellular Modem Datasheet NimbeLink Corp Updated: April 2018

MB/ Starter Kit: First Steps

Automatic Creation of a Virtual Network with VBoxManage [1]

Internet Of Things You Search. IOTCape User manual IOTYS SARL All rights reserved IOTCape - User manual Page 1 of 17

Quick Start Guide for BeagleBone Black. Table of Contents. by Brian Fraser Last update: Summer, 2015

Exercises: Basics of Networking II Experiential Learning Workshop

The Python Mini-Degree Development Environment Guide

Skywire LTE LE910 Embedded Cellular Modem Datasheet

CONFIGURING ROUTERS 1

M2M Router User Manual (Extract)

GM8126 MAC DRIVER. User Guide Rev.: 1.0 Issue Date: December 2010

CSR1000v HA Version 2 Configuration Guide on Microsoft Azure

Network Monitoring & Management. A few Linux basics

Transcription:

Configuring Linux pppd for a Skywire 4G LTE CAT1 Verizon Over UART NimbeLink Corp Updated: May 2017 PN 30166 rev 3 NimbeLink Corp All Rights Reserved 1

Table of Contents Table of Contents 2 1. Introduction 3 1.1 Applies to the Following Part Numbers: 3 1.2 Prerequisites 3 1.3 Notes On Usage 3 2. PPP 4G LTE CAT 1 Modem 4 2.1 Overview 4 2.2 Elevate to root 4 2.3 Check for Updates 4 2.4 Install the ppp Package 4 2.5 Verify The Modem is Connected 4 2.6 Write PPP Scripts 5 2.7 Take Down the Ethernet Interface 7 2.8 Bring Up the PPP Interface 7 2.9 Troubleshooting 7 PN 30166 rev 3 NimbeLink Corp All Rights Reserved 2

1. Introduction 1.1 Applies to the Following Part Numbers: Orderable Device Description Carrier Network Type NL-SWDK Skywire Development Kit Any Any NL-AB-BBBC Skywire BeagleBone Black Cape Any Any NL-AB-MPCIE Mini-PCI Express Adapter Board Any Any NL-SW-LTE-GELS3 LTE CAT1, Verizon Verizon 4G LTE NL-SW-LTE-GELS3-B LTE CAT1, Verizon Verizon 4G LTE NL-SW-LTE-GELS3-C LTE CAT1, Verizon Verizon 4G LTE NL-SIM-COM 3FF Commercial Temp Range SIM Card Verizon LTE 1.2 Prerequisites This document assumes you have completed the initial setup of your modem and development kit. If you have not completed those steps, refer to the Skywire Development Kit User Manual and complete the modem setup before proceeding. If you are using a device that is communicating via SSH, Telnet, or any other type of Ethernet interface, you must connect to it via USB or serial. Section 2.7 requires the Ethernet interface to be taken down. 1.3 Notes On Usage The CAT1 Skywire modem can take 30-60 seconds to boot. Ensure that you wait at least this long before attempting to run the PPP scripts. In addition, this process works when you bring up the PPP connection. However, if you try to bring down the PPP connection, and then try to bring up the connection again without power cycling the modem, it will not work. Thus, it is recommended that you power cycle the modem before you try to bring up your connection again. PN 30166 rev 3 NimbeLink Corp All Rights Reserved 3

2. PPP 4G LTE CAT 1 Modem 2.1 Overview This example has been tested on the following distributions of Linux: - Ubuntu Linux 14.04 LTS - Ubuntu Linux 16.04 LTS - BeagleBone Black Debian 8.x This example is written using Ubuntu 14.04 LTS. 2.2 Elevate to root In order to make the changes necessary, it is necessary to login to the root account. To do so, type the following command into the Terminal: $ sudo su followed by the Enter key. You will be prompted to enter your password: enter it, followed by the Enter key. 2.3 Check for Updates Make sure that your Ubuntu system is up to date using the following commands: # apt-get update # apt-get upgrade 2.4 Install the ppp Package To install the ppp package, type the following command: # apt-get install ppp 2.5 Verify The Modem is Connected To verify that our system can see the Skywire modem, type the following command: # lsusb followed by the enter key, and you should have an entry similar to the one below: Bus 003 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) If so, the modem is connected properly. If not, verify the modem is connected properly and run the command again. PN 30166 rev 3 NimbeLink Corp All Rights Reserved 4

2.6 Write PPP Scripts We need to write two scripts for PPP to reference when initializing the connection. Note: We have a GitHub page with the necessary PPP files available for customers to use located here: https://github.com/nimbelink/skywire-ppp-scripts We highly recommend downloading that repo and following the instructions in the files related to your modem. The other recommended option is to click on the file you want and copy and paste directly from GitHub. First, clone the repo and navigate to the cloned repo. Next, as superuser (root) copy the file: to: vzw-gels3 /etc/ppp/peers/ or copy-and-paste the contents of: vzw-gels3 from the GitHub repo to /etc/ppp/peers/vzw-gels3 The contents of vzw-gels3 are shown below: PN 30166 rev 3 NimbeLink Corp All Rights Reserved 5

Next, copy: to: vzw-gels3-chat /etc/ppp/peers/ or copy-and-paste the contents of vzw-gels3-chat from the GitHub repo to /etc/ppp/peers/vzw-gels3-chat Make sure to replace [apn] with your APN. If the device was activated on go.nimbelink.com, the APN is: NIMBLINK.GW12.VZWENTP PN 30166 rev 3 NimbeLink Corp All Rights Reserved 6

The contents of vzw-gels3-chat are shown below: 2.7 Take Down the Ethernet Interface A PPP connection requires that any existing Ethernet connection be taken down. To bring down the Ethernet connection, type the following command: # ifconfig eth0 down (Optional) To verify that the Ethernet connection is down, type: # ifconfig followed by the enter key. eth0 should not be listed. 2.8 Bring Up the PPP Interface To enable the PPP interface, type the following commands: # pon vzw-gels3 followed by the enter key. After a few seconds, test the connection: #ping c 2 www.google.com and you should receive a response similar to this: PING www.google.com (216.58.216.196) 56(84) bytes of data. 64 bytes from ord31s21-in-f4.1e100.net (216.58.216.196): icmp_seq=1 ttl=50 time=47.8 ms 64 bytes from ord31s21-in-f4.1e100.net (216.58.216.196): icmp_seq=2 ttl=50 time=90.6 ms --- www.google.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 47.818/69.237/90.656/21.419 ms This indicates that your PPP connection is up and connected to the network. 2.9 Troubleshooting - If your PPP fails with the error 0x1 in Section 2.8, chances are your vzw-gels3 file cannot see your vzw-gels3-chat file. Ensure that the last part of line 3 of the vzw-gels3 file: PN 30166 rev 3 NimbeLink Corp All Rights Reserved 7

.../ vzw-gels3-chat has the same name as your vzw-gels3-chat file. The tool xxd may be beneficial to ensure that there are no extra characters in the file and that the files are named the same: $ xxd vzw-gels3 If you are still having issues, rename the last part of the last line in the vzw-gels3 file to:.../vzw and rename vzw-gels3-chat to vzw and try again. - If your PPP fails with the error 0x3 in Section 2.8, you may have poor signal strength. Move the unit closer to a window for a better signal strength. - If your PPP still fails with error 0x3 in Section 2.8, your APN may be incorrect. Verify that your APN is correct in your vzw-gels3-chat file. - You can see debug output of the PPP process in /etc/ppp/ppp-logfile and /etc/ppp/ppp-dumplog. - If PPP still fails after the above troubleshooting steps, power cycle the modem and ensure you are waiting long enough before running the script. PN 30166 rev 3 NimbeLink Corp All Rights Reserved 8