Questions tagged [ppp]

The Point-to-Point protocol enables packet-based communication over a serial interface.

146 questions
2
votes
2 answers

How to get pppd inet address from shell command

I'm not sure whether to post it here or at ServerFault. Anyway, I'm trying to work around company's firewall to connect to some media sharing site using my phone's 3g network. I've come up with a simple ip route command which take pppd's inet…
ariefbayu
  • 21,849
  • 12
  • 71
  • 92
2
votes
1 answer

Can LCP and IPCP packets have different framing and byte-stuffing in PPP?

I'm working on some middleware between a modem and a network stack doing PPP. I'm having trouble with the initial configuration phase. The endpoints exchange LCP packets with configuration requests and then acks, and then one of them begins with…
Kevin S
  • 898
  • 1
  • 9
  • 13
1
vote
1 answer

PPP persist connection ( 3G network auto reconnect on pppd )

I have a machine that needs all time connection to 3G network. I'm able to connect and stay online, but ISP closes connection like every 24h, for that I need a persist connection. I´ve set the option persist on pppd, but it will not bring up the…
Vitor
  • 191
  • 4
  • 10
1
vote
3 answers

Free C/C++ and Java implementations of PPP?

Are there free C/C++ and Java implementations of the point-to-point protocol (PPP) for use over a serial line? The C/C++ implementation will go into embedded hardware so portability is a concern. I'm not looking for a full TCP/IP stack, just…
Gili
  • 86,244
  • 97
  • 390
  • 689
1
vote
0 answers

Trouble pinging LTE-device using IPv6

I would like to use a Raspberry Pi with an attached LTE Hat as an IoT device. Currently I have managed to use ppp to get the LTE modem working. I've got IPv4 and IPv6 addresses and it is possible to ping from the device and to send data to an MQTT…
Roro74
  • 11
  • 3
1
vote
2 answers

what is the exact difference between Closed and Stopped State in PPP State machine

I wanted to know what is the exact difference between Closed and Stopped State in PPP State machine. It would be great full if someone explain in detail. I am designing ppp stack using C++. Thanks a lot in advance.
Priyanka Mishra
  • 10,400
  • 18
  • 62
  • 75
1
vote
1 answer

IMX6ULL 4G download stalling issue

We have been using IMX6ULL processors along with a Quectel 4G module in our custom made boards. The 4G module can be initialised, brought up and the PPP0 interface can also be initialised which in-turn does provide us with internet connectivity too…
Nitin
  • 11
  • 1
1
vote
1 answer

How to initialize pppd connection witsh RS232 modem?

I trying to run the pppd daemon on my embedded board. When I connect the modem to USB and run "pon provider" the initialization is correct (I get the IP address and in "ifconfig" I have ppp0 interface) "provider"…
1
vote
0 answers

pppd (point to point protocol) not working on my custom embedded linux

I am using pppd for long time on standard rasbiany(raspberry pi 3b), never face any issue to connect the internet. But this time i'm using custom linux image for raspberry (generated by yocto) and facing issue to connect the internet as show below…
1
vote
0 answers

reinventing PPP/SLIP protocol for wireless operation on 8051 microcontrollers

I'm trying to make my own wireless PPP/SLIP protocol and I can't figure out if the radios are at fault or if my thoughts (presented as pseudo-code below) is at fault. The data packet is as follows: Byte 1: Special Start flag (same value that starts…
Mike -- No longer here
  • 2,064
  • 1
  • 15
  • 37
1
vote
1 answer

Which of ppp, tcp, rtp and tls are connection-oriented protocols?

There is not much to say here - I'd like to ask which of these for protocols: Point to Point Protocol TCP Real Time Protocol TLS ...are connection-oriented and which of them are reliable?
Altertwin
  • 35
  • 1
  • 6
1
vote
1 answer

Scalable PPP protocol. Help Needed regarding State Machine

I am designing scalable PPP [mean it can be extended to over Ethernet, over HDLC, over ATM etc.]. I was stuck in determining whether State Machine is hadle by PPP stack [means i have design Base class for PPPStack in which FSM, encode, decode etc…
Priyanka Mishra
  • 10,400
  • 18
  • 62
  • 75
1
vote
1 answer

How to programmatically create a PPTP VPN connection on macOS Sierra/High Sierra?

Apple removed high-level PPTP support in macOS Sierra from its network configuration system. However, the PPP internals are all still there, including /usr/sbin/pppd and /etc/ppp/. How can I programmatically initiate a PPTP VPN connection on macOS…
alexchandel
  • 532
  • 6
  • 15
1
vote
1 answer

How to send packet through ppp link by Scapy

I'm trying to send packets through ppp link (created by wvdial connecting a 3g modem) but failing so far. Here is my 'ip addr' printout: 22: ppp0: mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 3 …
Raquib
  • 13
  • 4
1
vote
2 answers

PPP connection issue embedded linux

I'm trying to establish a PPP connection between an iMX6 and a desktop over serial wire (RS-422). But at the side of the embedded system the connection fails due an error: Warning: couldn't open ppp database /var/run/pppd2.tdb or ioctl…
ClintH
  • 191
  • 1
  • 6