Skip to main content

Questions tagged [pppd]

The tag has no usage guidance.

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

Get global IPv6 address from PPPoE link

I'm paying extra to get an IPv4 address in my FTTH installation, which requires me to login via pppoe. rp-pppoe works fine and brings up the ppp0 interface with an IPv4 address and a link-local PtP ...
roughdog's user avatar
0 votes
1 answer
125 views

How to find the parent network device for a PPPoE device

For a POINTOPOINT PPPoE ppp0 device in Linux, how to get the underlying ethernet device in a reliable way? I've looked in the output of ip -d link and in the /sys/class/net/ppp0 directory, but neither ...
Alex Stragies's user avatar
4 votes
1 answer
2k views

IPv6 over PPPoE

I have a PPPoE link and some addresses. IPv4 addresses work fine. IPv6 not at all. I found out I had to add +ipv6 in ppp/options. If I ping ff02::1%ppp0 I only get replies from two fe80:: ...
Ale's user avatar
  • 187
0 votes
0 answers
38 views

ppp options.tty serial by-id

When my machine reboots it's a lottery which USB devices get assigned to which ttyUSBn. Therefore I have to rename /etc/ppp/options.ttyUSB0 periodically. I've tried /etc/ppp/options.usb-...
Richard Barraclough's user avatar
-1 votes
1 answer
79 views

How to connect to the four Ethernet ports on a wireless router?

Let's say we are happy with our typical wireless router. But one day we notice it has four LAN ports. We connect an Ethernet cable from one of them to our computer. On our computer do we use: ...
Dan Jacobson's user avatar
0 votes
0 answers
938 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 ...
Mirusky's user avatar
  • 101
0 votes
0 answers
1k 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 ...
Xuke's user avatar
  • 3
0 votes
1 answer
327 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 ...
smoothgrips's user avatar
1 vote
1 answer
1k 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 ...
Richard Barraclough's user avatar
1 vote
1 answer
317 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 ...
Biyau's user avatar
  • 11
2 votes
1 answer
1k 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 ...
njh's user avatar
  • 143
0 votes
1 answer
53 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 ...
Richard Barraclough's user avatar
1 vote
2 answers
867 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 ...
John U's user avatar
  • 315
3 votes
2 answers
6k 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 ...
Tenders McChiken's user avatar
1 vote
1 answer
2k 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 ...
symcbean's user avatar
  • 5,695
1 vote
0 answers
256 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.
superchan's user avatar
0 votes
0 answers
2k 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<...
Thiago Melo's user avatar
0 votes
1 answer
874 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 ...
flashburn's user avatar
  • 671
2 votes
0 answers
1k 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 ...
Engineer999's user avatar
  • 1,171
0 votes
1 answer
4k 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 ...
flashburn's user avatar
  • 671
0 votes
0 answers
174 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 ...
flashburn's user avatar
  • 671
0 votes
1 answer
53 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 ...
William's user avatar
1 vote
1 answer
166 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 ...
uvdevops's 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 ...
unixdebian11's user avatar
0 votes
1 answer
206 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 ...
flashburn's user avatar
  • 671
6 votes
1 answer
4k 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 ...
flashburn's user avatar
  • 671
2 votes
0 answers
408 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....
qwa's user avatar
  • 21
2 votes
0 answers
591 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 ...
Binarus's user avatar
  • 3,410
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 ...
jonny789's user avatar
  • 499
1 vote
0 answers
546 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 ...
Toby's user avatar
  • 11
3 votes
1 answer
1k 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 ...
BrendanMcL's user avatar
3 votes
1 answer
1k 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-...
user1587451's user avatar
1 vote
2 answers
9k 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 ...
zlb323's user avatar
  • 113
1 vote
2 answers
584 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 ...
DmitryD's user avatar
  • 23
1 vote
1 answer
2k 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 ...
fugitive's user avatar
  • 1,573
-1 votes
1 answer
5k 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 ...
Lkaf Temravet's user avatar
1 vote
1 answer
753 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 ...
klm_'s user avatar
  • 113
1 vote
2 answers
9k 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'...
Onimusha's 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 ...
tl8's 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 ...
Nexy_sm's user avatar
  • 143
0 votes
1 answer
2k 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:...
user2694295's user avatar
2 votes
1 answer
210 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 ...
Paul B's user avatar
  • 121
1 vote
1 answer
1k 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 ...
Amr Bekhit's user avatar
0 votes
1 answer
826 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 ...
Dorklord's 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 ...
Amr Bekhit's 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 ...
dtmland's user avatar
  • 508
5 votes
2 answers
10k 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 ...
matt99eo's 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 ...
lppier's user avatar
  • 265
3 votes
1 answer
1k 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 ...
muru's user avatar
  • 73.4k
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 ...
imz -- Ivan Zakharyaschev's user avatar