Questions tagged [ppp]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 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
76 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
18 views

PPP connection in initramfs

I have Debian installed on LUKS encrypted partition, and I don't have an external router, so the system handles ppp connection to the internet after bootup. I wanna be able to remotely unlock ...
user avatar
0 votes
0 answers
314 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
110 views

Internet connection via LTE-M modem on raspberry pi not working

I'm trying to set up an internet connection on my raspberry pi via ppp with the LTE-M modem SIM7070G. The internet connection on the modem via at commands does work but I can't ping to the internet ...
user avatar
  • 1
0 votes
0 answers
53 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
68 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
  • 800
0 votes
0 answers
17 views

For ppp interface name, get name of lower ethernet/modem connection on Linux 5.x

For a device name, e.g. inet1 of linktype ppp, of which there may be several, how can I get the name of the lower modem/ethernet carrier line/link? I tried looking in /sys/class/net/$IFACE/, and the ...
user avatar
2 votes
1 answer
698 views

Why MSS clamping in iptables(-nft) seems to take no effect in nftables?

My pppoe client automatically adds an iptables rule iptables -t mangle -o "$PPP_IFACE" --insert FORWARD 1 -p tcp --tcp-flags SYN,RST SYN -m tcpmss --mss 1400:65495 -j TCPMSS --clamp-mss-to-...
user avatar
0 votes
0 answers
61 views

How to execute a script after ppp connection establishes?

I would like to execute a ddns script every time after pppoe has started or renewed. And I have tried auto dsl-provider iface dsl-provider inet ppp pre-up /bin/ip link set enp1s0 up provider ...
user avatar
0 votes
0 answers
68 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
  • 738
0 votes
2 answers
125 views

Bridge PPPoS with ethernet

I have a PC on a test bench with 2 interfaces, enp2s0 and enp3s0. The IPs are public and obtained with DHCP, based on the interfaces MACs. There is a second computer on my bench, a Raspberry Pi ...
user avatar
  • 113
0 votes
0 answers
70 views

Can I use Uuntu18.04 LTS to create a PPPoE connection with a Telit Cellular Modem Chip, LE910 via either Telit cellular or USB interface?

This question is related to USB Modem with modemmanager and networkmanager on embedded linux (yocto dunfell) I have a similar architectural question related to Telit LE910C1-NA Modem. I need the modem ...
user avatar
0 votes
1 answer
774 views

ppp connection terminated: "No network protocols running"

I am new to ppp protocol and its configuration and got a problem that ppp connection terminated, no ppp0 created. This modem(telit lm960a18) works fine with this sim card and APN using network manager ...
user avatar
  • 3
1 vote
2 answers
372 views

My ethernet device lost in debian

Two os installed on my pc,today a strange thing happens:my ethernet device lost in debian! Enter into win10 from grub, i can connect internet with pppoe. Enter into debian10 from grub : ifconfig lo: ...
user avatar
  • 85
0 votes
0 answers
30 views

ppp interface not being established

I've been facing some weird results when I try to initiate a ppp interface. The following items list the variables regarding my tests: Hardware Architecture: x64; SO distribution: custom yocto system ...
user avatar
0 votes
0 answers
55 views

IPsecVPN + PPP over ssh routing problem

I have two Debian hosts A and B. On A, I start IPsec VPN and my VPN clients can connect to it. In the same time, I start a PPP over ssh between A and B. So on host A, I can see ppp0 as the new Iface ...
user avatar
2 votes
1 answer
155 views

How can I select the network interface for installing a program in linux?

I need to install remotely Omxplayer on a Raspberry Pi. RPi is connected by a LTE modem through PPP0 interface. My RPI is placed another country and I connect to Raspberry through my VPN using SSH. My ...
user avatar
2 votes
1 answer
382 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
148 views

How to set a static peer IP for pppoeconf?

Some ISPs only use PPPoE for authentication and require the internet subscriber to set peer addresses manually. How do I set local and remote peer addresses if I'm using pppoeconf?
user avatar
1 vote
2 answers
2k 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
3k views

Linux ppp0 and default route and how to reach public internet

my project needs mobile internet. I am trying to achieve this by using a LTE stick modem with a M2M sim (public IP, no NAT) This works well on ubuntu (5.3.0-29-generic), but I cannot get it working ...
user avatar
  • 167
0 votes
1 answer
159 views

Incoming packets not reaching PPP interface when request originated by another machine on network

Let's say, I have a "network" of two machines, connected by an Ethernet cable. Let's say, machine M is a 'master' and machine S a 'slave'.I am giving them such names because only M has access to the ...
user avatar
1 vote
0 answers
109 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
8 votes
2 answers
8k views

Difference between PPP, QMI and AT commands

During the past 6 days, I had the chance to interact with an LTE modem (https://sixfab.com/product/quectel-ec25-mini-pcle-4glte-module/), I managed to set up 4G Internet access on a Raspberry Pi using ...
user avatar
  • 81
3 votes
1 answer
992 views

How to make bonding using mobile broadband 4g dongles

Actually I did connect both ppp0 and ppp1 using nm-connection-editor(network connection setting). But now I wish to make a balance-rr(mode 0), and thought that bonding would do that for me. I need ...
user avatar
  • 141
1 vote
0 answers
165 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
3 votes
0 answers
461 views

systemd unit config that waits for PPPoe connection

On Ubuntu 16.04LTS I'm having trouble getting my service to wait for my PPPoe internet connection before starting. My unit file: [Unit] Description=Home Assistant Wants=network-online.target After=...
user avatar
  • 131
0 votes
1 answer
550 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
0 votes
0 answers
578 views

Impossible to set the default gateway address on boot-up

I am using a BeagleBone embedded computer running Debian. I have two network interfaces : 1) A connection to a cellular modem over USB which uses ppp and connects to the outside world. It receives a ...
user avatar
1 vote
1 answer
4k views

What happens if remove auto eth0 from /etc/network/interfaces

I am using a BeagleBone and have two network interfaces. One Ethernet interface which will connect locally to another device, and a ppp interface over USB which connects to a cellular modem. I want ...
user avatar
2 votes
0 answers
971 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
90 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
2k views

This system lacks PPP kernel support

I bought a VPS from hostinger.com. Now I'm trying to set VPN connection to another server using PPP, but I have an error: Sorry - this system lacks PPP kernel support I tried different versions: ...
user avatar
  • 11
0 votes
1 answer
184 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
1 vote
1 answer
2k views

Dante SOCKS5 server does not send traffic through ppp interface

I have a couple of 3G modems installed into my RaspberryPI via USB hub with external power adapter. The goal is to create several ppp connection via these modems and share the internet via socks5 ...
user avatar
2 votes
0 answers
274 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
1 vote
0 answers
516 views

WvDial serial communication not working with uart /dev/ttySAC4, but works with `screen`

I have embedded system based on Samsung Artik 710 board connected to Fibocom G510 cellular modem module via UART (two lines - RX and TX). When I try to communicate with modem using screen - modem ...
user avatar
  • 596
1 vote
0 answers
773 views

ppp internet not only after restart

I have configured my network to get internet from HUAWEI E3131 usb modem at start. So I have prepared special wvdial.conf and interfaces files: wvdial.conf: root@debian:/home/s# cat /etc/wvdial.conf ...
user avatar
  • 600
1 vote
1 answer
3k views

How to set up routing of https to proxy server on client

There are are lot of excellent answers to this question which involve setting iptables routes on the router. However I need to set up the iptables routes on the client. I'm working on an embedded ...
user avatar
1 vote
0 answers
171 views

Share ppp connection on Debian Stretch

I have internet on my Debian Stretch via ppp broadband usb modem. It works via Network Manager. There is no connection sharing option in Network Manager for ppp. It is only for ethernet. How to ...
user avatar
  • 600
2 votes
1 answer
2k views

Troubles establishing connection with wvdial - Invalid dial command error

I am trying to run internet via HUAWEI E3372 on Debian. It worked on Windows but did not work on Debian.The error is this: ATDT*99# ERROR --> Invalid dial command. wvdial: utils/wvtask.cc:303: ...
user avatar
  • 600
2 votes
1 answer
927 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
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
0 votes
1 answer
323 views

Is it possible to use a pseudoterminal to redirect PPP’s dataflow to an application?

I want to set PPP in order to use a pseudoterminal slave (/dev/pts/N) instead of a physical serial link, handle its data flow in an application (from /dev/ptmx) and redirect that flow … somewhere ...
user avatar
  • 1
3 votes
2 answers
2k views

Multilink ppp0 ppp1

I have two ppp0 and ppp1 connections using 3G modems. Is it possible to use both connections simultaneously? Unfortunately, when defining the default gateway for the first ppp0 there is a problem with ...
user avatar
  • 31
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,465