2022 Developer Survey is open! Take survey.

Questions tagged [pppd]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

How to make PPP retry when it fails with "LCP: timeout sending Config-Requests"?

I have a (working) PPP link between two Linux boxes. The configs are: $ cat /etc/ppp/peers/nullmodemserver ttyUSB0 38400 nocrtscts local 10.11.12.13:10.11.12.14 #0.0.0.0:0.0.0.0 passive persist ipcp-...
user avatar
  • 581
0 votes
0 answers
40 views

SonicWall NetExtender not working

I recently moved to another company. I had to format my computer, so I decided to test Debian 11. But now I'm facing some issues with VPN. I can't connect to any site that's only is available under ...
user avatar
  • 101
0 votes
0 answers
261 views

pppd issue: Hangup (SIGHUP) Modem hangup

I am trying to connect a Telit moudle via USB interface on an embedded board. PPP connection is broken. From log, it shows “modem hangup” at the end. I did some research on internet and found some ...
user avatar
  • 3
0 votes
0 answers
43 views

ppp as the primary interface with wifi as the backup

On Ubuntu 21.10, I have a cellular modem connected via USB that I need to be the primary interface on which all network traffic utilizes. However, I also need the wifi interface (in my case, wlo1) to ...
user avatar
0 votes
0 answers
57 views

Identifying the current pppd and chat scripts on a cell modem without ModemManager

I have a Sierra Wireless E362 card, branded as a Novatel Wireless. I have this in my router and want to use it as a failover device. Bus 001 Device 002: ID 1410:9010 Novatel Wireless Expedite E362 I ...
user avatar
  • 790
0 votes
0 answers
60 views

ppp between two machines over serial without a modem with login

I have a problem similar to this with difference I have a getty (actually "agetty") over the serial line I need to use. To recap: I have a Linux SBC connected over null-modem serial line to ...
user avatar
  • 728
1 vote
1 answer
261 views

Run pppd automatically for incoming connections

I have my 1989 Mac SE/30 connecting into my Debian 10 router using PPP over a null modem USB RS232 adapter. When I want to connect I first have to SSH into debian from another machine and run # pppd ...
user avatar
1 vote
1 answer
102 views

PPP fails LCP negotiation with serial to wifi connection using Socat

I'm trying to setup a connection over a serial to wifi adapter. I'm using Socat to create a socket to bridge the connection to a PTY for pppd. Data appears to be be flowing both directions, but pppd ...
user avatar
  • 11
2 votes
1 answer
368 views

Configuring pppd to accept link-local IPv6 address from remote peer

I have two Raspberry Pis with their serial ports connected to each other. I have established a PPP link between the two of them and successfully ICMPV6 pinged and opened TCP sockets between them. But ...
user avatar
  • 143
0 votes
1 answer
12 views

PPP connection from Mac System 7 to Debian 10

I have a Mac SE/30 that I want to connect via PPP to Debian 10 and, in turn, access the Internet -- as if it was dial-up. I can successfully send text over a null modem link and now I want to make a ...
user avatar
1 vote
2 answers
268 views

Transparently bridge network over serial link

I have two Linux devices - for simplicity let's call them Raspberry Pi's - in a box that I want to connect to a network with a singe Ethernet link. Both of them need to be accessible, individually, on ...
user avatar
  • 305
1 vote
2 answers
1k views

How to change the default source IP address to be something other than the address facing the default route?

Background Information I'm using a Linux system to route traffic for a small block of public IPv4 addresses (by enabling IP forwarding in sysctrl.conf). The router is connecting to the ISP over eth1 ...
user avatar
1 vote
1 answer
1k views

pppd says no ifupdown configuration found

I am using openfortivpn to connect to a remote network. Unfortunately the remote infrastructure has a lot of subnets, some of which conflict with my local ones. There are only a couple of subnets I ...
user avatar
  • 4,225
1 vote
0 answers
104 views

Some problems with ppp, probably firewall issues

I' m playing a little retrocomputing. I have setup a virtual machine with SCO unix(3.2v4.2) on qemu The machine start, the novell2000 card(ne2k_pci,ne2k_isa) unfortunately not,probably driver issue. ...
user avatar
  • 11k
1 vote
0 answers
161 views

Filter PPPoE packets

Can you somehow inspect PPPoE packets and then filter them with iptables or other tools? PPPoE is below ipv4 so I can't use iptables directly.
user avatar
0 votes
0 answers
1k views

How to allow SSH over PPP?

I have these two computers connected through ppp. One has ip 10.10.0.1 and the other has ip 10.10.0.2. Both also have the interface ppp0 with netmask 255.255.255.255: # ifconfig ppp0: flags=4305<...
user avatar
0 votes
1 answer
541 views

using PPP without TCP/IP

I'm using a PPP to communicate with a device. So far what I have been doing is instantiating PPP on my machine (Fedora 29) and on the device (Yocto Linux). Then I open a TCP/UDP socket and communicate ...
user avatar
  • 521
2 votes
0 answers
961 views

problems executing a script on boot-up with systemd

I am connecting from my BeagleBone running Debian to a cellular modem. In order to connect, I enter command pppd file /etc/ppp/peers/zdial & Now, in order to execute this command on boot-up, I ...
user avatar
0 votes
1 answer
2k views

create pty and connect it to a serial port /dev/ttyUSB0

Problem: I have two Linux machines connected with a serial interface. I use ppp to communicate between them (I have to since it is a project requirement). Communication speed is at 9600 bits/s. I ...
user avatar
  • 521
0 votes
0 answers
85 views

measuring ppp traffic with ifstat

I've established a ppp link with 2 Linux machines. The speed is set to 9600. Traffic is going one way, i.e. from Machine 1 to Machine 2. However when I run ifstat -btwTWS -i ppp0 on Machine 2, I'm ...
user avatar
  • 521
0 votes
1 answer
41 views

Redirecting stdout makes modem unable to connect

I'm running Yocto with busybox on an embedded system with a Telit modem. If I launch the main program, script A, with ./script_A & there's no problem at all and the modem connects on the first ...
user avatar
1 vote
1 answer
126 views

How Do I Find The Mobile Provider From 4G Dongle?

I have two or more 4G dongles connected via USB. I have set up multiple configuration files (one for each provider), but short of a visual inspection (which for this project won't be possible in the ...
user avatar
2 votes
0 answers
1k views

Ping to any ip does not work on ppp0 from USB 3G modem Huawei using wvdial

I have a Debian OS on a Banana pi and I use a Huawei 3G modem to connect to the internet from it using the wvdial tool. I also have the usb-modeswitch installed and I think the modem is working as a ...
user avatar
0 votes
1 answer
183 views

ppp stopped working on Fedora 28 [closed]

Had no problems with ppp. Ran and update and it stopped working. My setup: Lenovo T470s with Fedora 28, Linux user-fedora 4.18.13-200.fc28.x86_64 #1 SMP Wed Oct 10 17:29:59 UTC 2018 x86_64 x86_64 ...
user avatar
  • 521
3 votes
1 answer
3k views

ppp between two machines over serial without a modem

Moving question from stackoverflow.com Unfortunately can't delete this question from stackoverflow.com. I'm trying to setup a PPP connection between two Linux machines over a serial line. I followed ...
user avatar
  • 521
2 votes
0 answers
270 views

Is there a way to enable UDP/IP header compression for PPP links/interfaces in Linux

How can we enable header compression for RTP/UDP packets sent over a PPP interface in linux? Hints for any of the various header compression mechanisms (ROHC, IPHC, CRTP, etc.) are highly appreciated....
user avatar
  • 21
2 votes
0 answers
356 views

SSH asking for passphrase although ssh-agent / keychain is running

Disclaimer: It would be very nice to read this question thoroughly before marking it as duplicate. I have read dozens of other questions (here, at superuser.com, serverfault.com and so on), all ...
user avatar
  • 2,191
0 votes
0 answers
2k views

How to set default gateway after boot

I have setup raspberrypi zero w running raspbian as wifi router. I have PPPoE broadband connection. After setting up pppoeconf , hostapd & dnsmasq. I get this routing table :: route -n Kernel IP ...
user avatar
  • 469
1 vote
0 answers
416 views

Lenovo X270 - 4G Connection doesn't connect

I have running a Lenovo X270 running with the latest Debian Stretch x64. I try to get my 4G connection up, but without success for now. The modem device is recognized and it finds my provider ...
user avatar
  • 11
2 votes
1 answer
910 views

How do I make ppp reliable over lossy radio modems using pppd and tcp kernel settings on debian?

I am having a lot of trouble establishing a reliable ppp / tcpip link between two debian systems over radio modems. My hardware topology is a little complex. The system uses: Raspberry Pi 3B at ...
user avatar
3 votes
1 answer
873 views

How to get pppd to create ppp0 inside namespace?

I have a simple pppoe connection which is working fine. A simple # pon my-isp creates a ppp0 device. I have defined a namespace like ip netns add physical but after ip netns exec physical pon my-...
user avatar
1 vote
2 answers
7k views

cellular modem: pppd modem hangup

I am trying to establish a cellular connection to Verizon through my Multitech Multiconnect Dragonfly (MTQ-LVW3-B02). I am able to connect to Verizons network and get an IP address. The problem is ...
user avatar
  • 93
1 vote
2 answers
427 views

get pppd exit code - how?

I'm designing some reporting system on Raspberry Pi system which connects to world thru 3G usb modem controlled by pppd. 99,999% of time connection works ok, but sometimes it drops and further ...
user avatar
  • 23
1 vote
1 answer
1k views

Unable to establish pppoe connection

I have the issue while establishing pppoe connection on De(b)vuan based distribution. My ISP allows me to establish link via tagged vlan 300. Previosly the connection worked just fine, before i ...
user avatar
  • 1,455
-1 votes
1 answer
4k views

getting pppd "must be root" after setting whole fs with chmod 777

I have a process called network_manager which at some point runs a command /usr/sbin/pppd. everything works fine. But then, some files becomes unreadable on the file system and I use sudo chmod -R ...
user avatar
  • 529
1 vote
1 answer
565 views

PPPD access to networks behind router [closed]

I have an OperWRT router with OPenVPN and PPPD servers configured. Network topology is like follow: I have problem configuring PPPD to push routes B,C to A. Client A, when connected to router via ...
user avatar
  • 113
1 vote
2 answers
8k views

route table with eth0 and ppp0 broken

I used this guide to connect to my VPN server (pptp) which is the only one guide that worked from many tutorials. After connecting to the VPN server the route table looks like below and sometimes it'...
user avatar
  • 113
3 votes
1 answer
2k views

PPPD on Yocto (Telit LE910 connecting to Telstra)

We have a Telit LE910 connected to a Gumstix Overo SBC. The Overo is running Yocto Linux (Kernel 3.21) We have managed to get most things working but we now have an issue with the PPTP client. When ...
user avatar
  • 141
1 vote
0 answers
1k views

Making ppp connection over 3G modem as stable as possible

I am using portuxG20 platform under Angstrom linux. The device collects data and sends it to the server via #g network using 3G modem. In the pppd log i have found following: chat: Aug 05 20:05:23 ...
user avatar
  • 143
0 votes
1 answer
1k views

pppd: using the noauth option requires root privilege

I have a user username who is member of group dip. I'm trying to run /usr/sbin/pppd, which is mode -rwsr-xr--, owner root, group dip, as user username. However, I get the error message: /usr/sbin/pppd:...
user avatar
2 votes
1 answer
199 views

3G modem connection only works after Windows

3G modem works only after Windows first successful negotiation, after if I unplug device and plug it again to Linux it works fine, even after reboots and poweroffs. But, if I change SIM card and try ...
user avatar
  • 121
1 vote
1 answer
956 views

ppp affecting serial ports so that they cannot be used if modem is reset

I've got a Buildroot-based embedded system that uses a 3G modem (Cinterion PH8-P) and PPP to connect to the internet. The 3G modem is a USB device that provides 4 ttyUSB ports. One of these is used ...
user avatar
0 votes
1 answer
745 views

VPN Client in OpenSUSE

So I've been pulling my hair this weekend. I've been trying to connect to a VPN server. I could do it successfully at my office using Windows, but I can't do it in my house using OpenSUSE. Here's the ...
user avatar
  • 111
1 vote
3 answers
5k views

Program cannot resolve host name if it's started before first successful internet connection

This is related to a stackoverflow post I posted. Basically I have a Python script that I'm running on an embedded system (Buildroot-based). The python script runs on startup, but I cannot guarantee ...
user avatar
1 vote
0 answers
2k views

pppd "Couldn't get channel number: Input/output error"

I have two USB-serial adapters with a null-modem serial cable between them, similar to this user. I can setup an IP connection easily between two linux (ubuntu) boxes running this pppd command on one ...
user avatar
  • 499
4 votes
2 answers
9k views

Establish a PPP connection on boot

Trying to automate making a ppp connection on boot. I have a cell modem (skywire LE910 SVG) that I have working manually using pon. My ppp/peers/isp is configured and the corresponding chatscript is ...
user avatar
4 votes
0 answers
2k views

pppd issue over serial cable

I'm trying to set up a ppp connection between 2 computers via serial cable, to enable TCP/IP over serial. Computer1 -> USB-Serial Converter -> Serial Cable -> Serial port of Computer 2 On computer ...
user avatar
  • 265
3 votes
1 answer
808 views

How do I detect which device was recently created by pppd?

I'm trying to setup a VPN over SSH using PPPD (following the Arch Wiki). The command given is: /usr/sbin/pppd updetach noauth silent nodeflate pty \ "/usr/bin/ssh root@remote-gw /usr/sbin/pppd ...
user avatar
  • 63.9k
1 vote
0 answers
1k views

How do I ask NetworkManager/ModemManager to run a program before pppd?

The story is not so important for this question, but here it is: the GPRS modem is locked-in to the vendor's software (it doesn't work, if it doesn't receive a correct response to a "challenge" it ...
user avatar
1 vote
0 answers
310 views

Which iptables rule causes vpn not to connect?

I can't connect to VPN until flushing iptables with iptables -F. pppd fails to connect with error message LCP: timeout sending Config-Requests. Which rule is causing this error? The result of ...
user avatar
  • 1,401