Etc/Ppp/Peer; File; Turning Network Interface Ppp0 On And Off - Multitech MultiConnect MTC-L4G2D User Manual

Table of Contents

Advertisement

/etc/ppp/peer

File

Edit
/etc/ppp/peer
Locate and uncomment the lines corresponding to the carrier specific chat script and MTU that will be used to
communicate with the modem. If another device file is used for the PPP data channel then replace occurrences of
/dev/ttyUSB2 with the desired file path.

Turning Network Interface ppp0 On and Off

Debugging PPP
Example scripts come with debugging output for pppd turned on. Output is logged to /var/log/syslog.
Use the pon and poff applications to turn the ppp0 network interface on and off respectively:
Example On:
$$ pon l4g2d_peer
$ ifconfig ppp0
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>
inet 30.191.107.82
ppp
RX packets 5
RX errors 0
TX packets 13
TX errors 0
$ ping -c 4 -I ppp0 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 30.191.107.82 ppp0: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=58 time=289 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=58 time=79.4 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=58 time=85.8 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=58 time=84.8 ms
--- 8.8.8.8 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
®
MultiConnect
Cell MTC-L4G2D User Guide
netmask 255.255.255.255
txqueuelen 3
(Point-to-Point Protocol)
bytes 62 (62.0 B)
dropped 0
bytes 199 (199.0 B)
dropped 0 overruns 0
overruns 0
frame 0
carrier 0
USING LINUX WITH THE L4G2D RADIO
mtu 1500
destination 10.64.64.64
collisions 0
39

Advertisement

Table of Contents
loading

Table of Contents