background image

 

2.8 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.9 Bring Up the PPP Interface 

To enable the PPP interface, type the following commands: 

For Debian: 

# pon att-TNAG 

For Ubuntu: 

# pppd call att-TNAG 

followed by the enter key. You will see the second script you wrote appear on the

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

screen, followed by the network communication the Skywire modem is going through to

 

 

 

 

 

 

 

 

   

 

   

get connected. 

Once the process is complete, 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. 

 

 

PN 30252 rev 4

 

NimbeLink Corp All Rights Reserved 

7

 

 

Summary of Contents for Skylink

Page 1: ...Configuring Linux pppd for a Skywire 3G HSPA Modem NimbeLink Corp Updated January 2019 PN 30252 rev 4 NimbeLink Corp All Rights Reserved 1 ...

Page 2: ...erview 4 2 2 Elevate to root 4 2 3 Check for Updates 4 2 4 Install the ppp Package 5 2 5 Verify The Modem is Connected 5 2 6 Ubuntu Only Load the option Driver 5 2 7 Write PPP Scripts 6 2 8 Take Down the Ethernet Interface 7 2 9 Bring Up the PPP Interface 8 2 10 Troubleshooting 9 PN 30252 rev 4 NimbeLink Corp All Rights Reserved 2 ...

Page 3: ...l GSM 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 Secti...

Page 4: ...T T a carrier 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 For Debian su For Ubuntu sudo i 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 Debian or Ubuntu system is up to date using the f...

Page 5: ...Bus 001 Device 002 ID 1bc7 1201 Telit Make note of the eight character hex code right before Telit In the case of a SW LTE TSVG it is 1bc7 1201 To load the option driver type the following into the Terminal modprobe option echo 1bc7 1201 sys bus usb serial drivers option1 new_id 2 7 Write PPP Scripts We need to write two scripts for PPP to reference when initializing the connection Note We have a ...

Page 6: ...ontents of att TNAG are shown below Next copy att TNAG chat to etc ppp peers or copy and paste the contents of att TNAG chat from the GitHub repo to etc ppp peers att TNAG chat Make sure to replace apn with your APN The contents of att TNAG chat are shown below PN 30252 rev 4 NimbeLink Corp All Rights Reserved 6 ...

Page 7: ...e appear on the screen followed by the network communication the Skywire modem is going through to get connected Once the process is complete 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 i...

Page 8: ...le and that the files are named the same xxd att TNAG If you are still having issues rename the last part of line 3 in the att TNAG file to attchat and rename att TNAG chat to attchat and try again If your PPP fails with the error 0x3 in Section 2 9 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 9 ...

Reviews: