Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pppd]

The tag has no usage guidance.

1
vote
0answers
23 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.
0
votes
0answers
54 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<...
0
votes
0answers
18 views

Unable to launch USB modem connection on boot

In a Raspberry Pi3. I have valid PPP configuration in my Raspbian Stretch that I'm able to launch manually from terminal. But it doesn't work if try to do it on boot. This is my setup: File /etc/ppp/...
0
votes
1answer
42 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 ...
2
votes
0answers
48 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 ...
0
votes
1answer
107 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 ...
0
votes
0answers
33 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 ...
0
votes
1answer
25 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 ...
1
vote
1answer
38 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 ...
1
vote
1answer
152 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 ...
0
votes
1answer
85 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 ...
2
votes
1answer
238 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 ...
2
votes
0answers
84 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....
2
votes
0answers
97 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 ...
0
votes
0answers
102 views

Our Telit LE910C1-NS based board gets nameserver information, but won't ping

We've been using the Telit DE910 to connect to establish a ppp connection through Sprint. We need to change it to the LE910 family. Last week I was able to get the Telit LE910-SV1 (Verizon version)...
0
votes
0answers
797 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 ...
1
vote
0answers
163 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 ...
2
votes
1answer
238 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 ...
2
votes
1answer
239 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-...
1
vote
2answers
2k 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 ...
1
vote
2answers
171 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 ...
0
votes
0answers
1k views

Wvdial and PPP, no ppp0 interface

I have encountered a problem configuring a serial modem to my DietPi-based Orange Pi Zero. DietPi is a fork of armbian that is a fork of Debian. I have installed wvdial and ppp as root (the only user ...
1
vote
1answer
549 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 ...
-1
votes
1answer
939 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 ...
1
vote
1answer
278 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 ...
1
vote
2answers
4k 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'...
3
votes
1answer
1k 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 ...
1
vote
0answers
478 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 ...
0
votes
1answer
639 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:...
2
votes
1answer
151 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 ...
1
vote
1answer
536 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 ...
0
votes
1answer
562 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 ...
1
vote
3answers
3k 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 ...
1
vote
0answers
1k 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 ...
3
votes
2answers
6k 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 ...
4
votes
0answers
989 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 ...
1
vote
0answers
58 views

Why there is PPPd instead of all PPP software in kernel?

Are there any reasons why the need of PPP software separation from kernel and process (PPPd)?
1
vote
1answer
596 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 ...
1
vote
0answers
737 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 ...
1
vote
0answers
238 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 ...
3
votes
1answer
4k views

How to do mac spoofing on Linux Mint 17?

How to do mac spoofing on Linux Mint 17? Through macchanger -a I've tried to changemy mac address but new mac id doesn't authenticates successfully. pppd gives successful authentication message only ...
1
vote
0answers
269 views

Why on my Linux PPPoE connection displays sometimes authentication failure?

Here is my log: Oct 18 09:51:52 -desktop pppd[2764]: Plugin rp-pppoe.so loaded. Oct 18 09:51:52 -desktop pppd[2766]: pppd 2.4.5 started by root, uid 0 Oct 18 09:51:52 -desktop pppd[2766]: PPP session ...
1
vote
0answers
334 views

Does PPPoE connection have IP before authentication?

I am debugging a connectivity issue with my internet connection provider. I have a PPPoE type of connection. I am working on configuring my router to connect over PPPoE connection. Please note that ...
1
vote
0answers
1k views

How to setup ssh over USB on an embedded linux device?

I have an embedded linux device with an ARM processor. I am connecting to it over a USB port using minicom. What should I do to "ssh" into the device through the USB connection? I want to setup ...
1
vote
1answer
327 views

How to capture data transferred on a PTY?

I am running NetBSD 6.1.4, and I have an stunnel instance with the following configuration: [https service] accept = 443 CAfile = /u01/usbtether/CA/certs/rootCA.crt cert = /usr/pkg/etc/stunnel/...
3
votes
1answer
4k views

wvdial: The PPP daemon has died: Pty program error (exit code = 9)

I tried to configure AnyDATA ADU890-WH modem to work in Linux, but I have not succeeded. I am client of Czech carrier O2 and using Ubuntu 14.04. I have once managed to connect using Network Center, ...
5
votes
1answer
258 views

Ctrl-C is ignored by pppd when put in a shell script

I'm trying to connect to GPRS network through a serial port connected GSM modem. When I call /usr/sbin/pppd call <peer_name> from the command line, it correctly receives and handles Ctrl+C from ...
3
votes
2answers
6k views

How do I know why NetworkManager failed to initiate the VPN connection?

I'm running Arch Linux, and recently updated the whole system. Now I every time I connects to VPN with nmcli command, if it fails, I couldn't figure out the reason: NetworkManager[15967]: <info&...