Questions tagged [pppd]

PPPD is the Point-to-Point Protocol daemon which is used to manage network connections between two nodes on Unix-like operating systems.

PPPD is the Point-to-Point Protocol () which is used to manage network connections between two nodes on Unix-like operating systems. It is configured using command-line arguments and configuration files.

While it has initially been used to manage only dial-up access, it is also used to manage broadband connections such as DSL, if Point-to-Point Protocol over Ethernet () or Point-to-Point Protocol over ATM (PPPoA) is used.

The role of pppd is managing PPP session establishment and session termination.

Resources

PPPD definition on Wikipedia

48 questions
13
votes
5 answers

Process started from system command in C inherits parent fd's

I have a sample application of a SIP server listening on both tcp and udp ports 5060. At some point in the code, I do a system("pppd file /etc/ppp/myoptions &"); After this if I do a netstat -apn, It shows me that ports 5060 are also opened for…
Elison Niven
  • 236
  • 3
  • 12
6
votes
4 answers

Sending AT commands to SIM900 whilst pppd is active

I have a Raspberry Pi with a SIM900 GSM add-on board connected. I have managed to establish a GPRS connection with pppd by following this guide. (It's for a different GSM module but the steps are the same) I would like to periodically send an AT…
Ollie
  • 473
  • 3
  • 7
  • 19
3
votes
1 answer

PPPd over SOCAT using INTERFACE option

My objective is to use pppd over socat. I have two Ubuntu boxes with eth0 connected (physically) to each other. I can ping both the IP addresses. I do the below on each Ubuntu box. Create a pseudo serial device and link it to my network interface…
Neo
  • 141
  • 5
  • 16
3
votes
1 answer

USB modem multiple ttyACMx change after reconnection

I'm connecting a Gemalto (Cinterion) modem, by USB, to my Embedded Linux (2.6.31), running BusyBox and mdev. The modem creates ttyACM [0-6], where '0' is used for the pppd. I'm getting dis and re-connections every now and then (1 hour, 1…
Rami Rosenbaum
  • 467
  • 5
  • 18
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
1 answer

Killing Root Processes in Android

I'm building an Android application that starts a process by calling su and sending it a command, along these lines: Process su = Runtime.getRuntime().exec( "su" ); DataOutputStream out = new DataOutputStream( su.getOutputStream()…
derekerdmann
  • 17,696
  • 11
  • 76
  • 110
2
votes
0 answers

wvdial, pppd and default route metric

I have this in wvdial.conf: [Dialer Defaults] Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 Modem Type = USB Modem Phone = *99# New PPD = yes ISDN = 0 Username = foo Init1 = ATZ Password = foo Modem = /dev/ttyUSB1 Baud = 9600 Stupid Mode = 0 #Init2 = ATQ0 V1…
McKanty
  • 21
  • 5
2
votes
0 answers

Unable to establish ppp connection

I would like to connect an embedded linux board to Internet. On the boar dI have a cinterion 3G modem (PH8). In order to do that, I use pppd with following ph8 peers file : /dev/ttyS2 115200 noauth nodetach lock local debug noipdefault netmask…
lgm42
  • 591
  • 1
  • 6
  • 29
2
votes
0 answers

Establish PPPD connection using linux to communicate with modem

When PPP is trying to establish communication with module i get this message on log file: Serial connection established. using channel 6 Using interface ppp0 Connect: ppp0 <--> /dev/ttyO5 sent [LCP ConfReq id=0x1
2
votes
0 answers

Using PPP on an Android tablet

I have been looking for a way to use the point to point protocol in an android application, but I didn't succeed. I firstly checked if the module is supported by my tablet kernel, and so, I executed "pppd" with the right parameters after connecting…
progmaster
  • 33
  • 1
  • 5
2
votes
1 answer

busybox start init script after bootup

i am running an embedded linux device with busybox. after boot i want to start the ppp connection and do other things. i want to run it when everything else has finished and the system is up. my inittab looks like: ::sysinit:/bin/sh…
user1320852
  • 97
  • 1
  • 2
  • 8
1
vote
1 answer

pppd connection with GSM/GPRS modem, re-dialing after a few times

I'm currently connecting my GSM/GPRS modem HUAWEI e1550 to my ISP's network. I'm able to get it connected, but after disconnecting and connecting a few times I'm not able to do it anymore, and my modem starts not to answer, and I don't no why! I…
Mark
  • 205
  • 1
  • 7
  • 15
1
vote
2 answers

Android: RIL porting - Issue with network settings using my GPRS+GSM (pppd+chat)

Android porting on ARM based EVK system integrated with GPRS+GSM (UART) based module is up. Able to port RIL layer as well and make calls and SMS using my network provider SIM. However when i choose (settings->Wireless Networks->Mobile Networks->…
1
vote
1 answer

Quectel EG25 modem not connecting with pppd

I am trying to debug a Quectel EG25 modem connection. Signal strength seems all right (I got an external antenna connected): +CSQ: 31,99 SIM card is present and unlocked: +CPIN: READY APN is set right: +CGDCONT:…
remus
  • 2,635
  • 2
  • 21
  • 46
1
vote
1 answer

connecting to gprs network through gprs/gsm modem in linux using pppd and chat

I'm using telit GC864-DUAL-V2 modem. I'm trying to connect to a gprs network with chat and pppd in Linux. In that I'm getting the error message saying that "LCP: timeout sending Config-Requests" from pppd. I've tried increasing lcp-max-configure…
yuvaeasy
  • 823
  • 2
  • 10
  • 18
1
2 3 4