The Point-to-Point protocol enables packet-based communication over a serial interface.
Questions tagged [ppp]
146 questions
3
votes
1 answer
How can I communicate with a 3G modem via pySerial while it is connected?
I'm running Ubuntu 11.04 and a ZTE 3G modem.
The modem is dialed with WvDial
When the modem is not in use by WvDial I can send AT commands to the modem, and get information like signal strength:
AT+ZCSQ
+ZCSQ: 1, -87
OK
But when WvDial is using…

Matt Sweeney
- 2,060
- 1
- 14
- 19
3
votes
2 answers
Checking network status and controlling PPP in a program
So I'm running PPP under linux with a cellular modem. The program I'm writing needs to know if the link is active before sending any data.
What are my options to check
if the link is available
if it routes to a server I control (it doesn't go to…

Adam Davis
- 91,931
- 60
- 264
- 330
3
votes
1 answer
How to tell browser to use specific interface, ignore routing
Is it somehow possible to tell the browser to choose a specific interface and ignore the Windows routing table?
I have the following problem:
I have a PPP dial-up, where I have to access some https websites, if I make my standard gateway point to…

Manuel
- 613
- 1
- 6
- 20
3
votes
0 answers
can't capture ppp packets using winpcap sometimes
I am using winpcap on my Windows XP, wishing to capture ppp packets with my WCDMA card.
I have installed winpcap 4.1.3 and Microsoft Network Monitor 3.4.
I compile the example code basic_dump from the winpcap developer's pack. It can always list…

leebin
- 31
- 2
3
votes
0 answers
LCP: timeout sending Config-Requests with GPRS modem on ecos
I am using GPRS modem and want to establish connection over PPP on eCos. But it can't be dial up successfully. This modem works fine on windows xp. what causes of "LCP: timeout sending Config-Requests" could be?
Please give suggestions.
Thanks a…

motowaka
- 31
- 2
3
votes
1 answer
Overhead with PPP and Ethernet
What is the overhead for PPP and Ethernet sending 5000 bytes?
Frame size for Point-to-Point Protocol: 8 bytes
MTU: 500 bytes
Frame size for Ethernet: 18 bytes
MTU: 1500 bytes
Both sending 5000 bytes..
I know this is just a calculation, but I am not…

irl_irl
- 3,785
- 9
- 49
- 60
2
votes
2 answers
Chat with modem during ppp connection
I have a GPRS modem that I use with a PPP connection in an embedded Linux ; I need to get the modem hour while the connection is active, and for that I would like to use AT commands. But I have no idea how to send these commands to the modem...
I…

Jérémy Dutheil
- 6,099
- 7
- 37
- 52
2
votes
1 answer
get MAC address for mobile broadband modem in python
I want to get the MAC address for my network interface on Linux. I am using Python with PyQt4 modules. When I run this code:
form PyQt4.QtNetwork import *
def getinfo():
all_info = QNetworkInterface().allInterfaces()
for interface in all_info:
…

eyadof
- 318
- 3
- 12
2
votes
0 answers
GPRS PPP connection issue on linux
I'm using Telit UC864-E GSM 3G modem. I want to run GPRS/3G connection over PPP on linux using pppd(ppp daemon).
I have a Telit UC864-E modem on my development board running embedded linux on Atmel SAM9 microprocesssor. The modem is interfaced to…

androidFan
- 611
- 2
- 19
- 31
2
votes
0 answers
PPP over ADB/USB in Windows during application developlment
Does anybody know how to use the PC network connection on Android phone (instead of WiFi/3G) when debugging over the USB cable?
In other words I need to share the PC connection with the Android device, so I can use on the PC the Wireshark to trace…

STeN
- 6,262
- 22
- 80
- 125
2
votes
1 answer
How can I capture packets from a PPP interface with pypcap?
It's dpkt.ethernet.Ethernet(pkt) for an ethernet interface, what is it for the ppp0 interface?
2
votes
0 answers
PPPD: Modem Hangup After PAP Authentication Success
I am trying to connect to the internet with SIM7600 module - https://www.waveshare.com/sim7600e-h-4g-hat.htm
Used following chat and dial files:
pi@raspberrypi:~ $ sudo pppd call dial
abort on (BUSY)
abort on (NO ANSWER)
pi@raspberrypi:~ $ cat…

rpi_guru
- 299
- 2
- 18
2
votes
2 answers
Watching new entries on Linux Syslog from a C program
I want to write a program that monitors syslog and performs an action when PPP authentication fails.
I think "tail -f /var/log/syslog" could help, but I'm not sure how to use it... probably using pipes?
I have found something similar written in…

capsula
- 498
- 1
- 7
- 21
2
votes
1 answer
AT-COMMAND how to check data connection
I seek for a full proof method to check if the modem is connected to data network ?
As I have seen, there is two differents commands :
at+cgreg : Give GPRS status
at+creg : Give GSM / UMTS status
In some case (maybe one time on ten), I get the…

Manticore
- 441
- 5
- 24
2
votes
1 answer
kernel crash in handling network
an error happens when lots of udp data transmission in my DSL router.
my enviroment:
pc1 ----(ethernet)--->DSLAM--(PPPoEoA)-->DSL router--(ethernet)--pc2,
pc1 send udp data to pc2, udp data size:1460 bytes. speed: 20Mbps,
cpu: mips, ram: 16M
DSL…

Eric
- 446
- 8
- 11