Questions tagged [ppp]
112
questions
0
votes
1
answer
44
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 ...
0
votes
1
answer
50
views
Debugging random loss of communication in embedded Linux device using PPP and cellular connection
I am working on setting up an embedded linux device so that it can connect to a backend server via cellular connection. I am using PPP version 2.4.2 and a Sequans cell chip. I have the device working ...
0
votes
0
answers
174
views
No incoming TCP/ICMP packets with Huawei Brovi E3372-325 LTE USB Stick
I'm connecting a linux machine using a nowadays popular Huawei Brovi E3372-325 LTE USB Stick to the internet (more precisely, to a private APN, where IPv4 is used). The special requirement is that ...
2
votes
1
answer
572
views
USB LTE modem without MAC address?
I'm connecting a linux machine using a nowadays popular Huawei Brovi E3372-325 LTE USB Stick to the internet. The special requirement is that incoming ssh/ping/NTP/... connections must reach my linux ...
0
votes
1
answer
25
views
Lost PPP Connection between Debian <-> PDA / HandHeld using SynCE
I am currently able to connect a handheld to the PC running Linux with a very old Ubuntu 14.04, adding repository PPA for SynCE to source list. Now, the goal is to update the operating system, I chose ...
0
votes
1
answer
122
views
Howto prevent UDEV wrongly enqueues remove event for device ppp?
Connecting a PDA device with Debian Buster using SynCE, USB serial device is recognized and connects with ttyUSB bus, obtains an IP address and disconnects after a few seconds (two, max three).
This ...
0
votes
0
answers
762
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 ...
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 ...
0
votes
1
answer
282
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 ...
2
votes
1
answer
2k
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-...
0
votes
2
answers
388
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 ...
0
votes
1
answer
2k
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 ...
1
vote
2
answers
1k
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: ...
0
votes
0
answers
127
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 ...
2
votes
1
answer
256
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 ...
2
votes
1
answer
995
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 ...
0
votes
1
answer
452
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?
2
votes
2
answers
4k
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 ...
1
vote
1
answer
6k
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 ...
0
votes
1
answer
391
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 ...
8
votes
2
answers
11k
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 ...
3
votes
1
answer
1k
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 ...
1
vote
0
answers
235
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
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<...
3
votes
1
answer
603
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=...
0
votes
1
answer
734
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 ...
0
votes
0
answers
654
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 ...
1
vote
1
answer
7k
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 ...
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 ...
0
votes
1
answer
3k
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
0
answers
154
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
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: ...
0
votes
1
answer
203
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 ...
4
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 ...
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 ...
2
votes
0
answers
361
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....
1
vote
0
answers
586
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 ...
1
vote
0
answers
893
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 ...
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 ...
1
vote
0
answers
202
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 ...
2
votes
1
answer
3k
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: ...
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 ...
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 ...
0
votes
1
answer
406
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 ...
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 ...
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 ...
0
votes
1
answer
1k
views
Setup PPPoE connection using pppoe command only in linux
I am running debian stretch. I am currently using Network-Manager to setup pppoe connection. But I want to setup pppoe connection using pppoe command only. I could not find much information or ...
2
votes
0
answers
243
views
VPN Client and IP tables
I have a Debian 8.7 IoT Version on a Beaglebone Black device which is connected to the Internet using a GSM Modem. I installed a VPN client (zerotier) which joins a virtual network.
Something changes ...
4
votes
3
answers
7k
views
SonicWall NetExtender hangs on Connecting to tunnel
At work we have to use Dell's SonicWall NetExtender software to connect to the company VPN. Some people use Windows and contractors (like myself), use whatever, which in my case is Manjaro (Arch-based)...
0
votes
0
answers
477
views
connect to ppp interface
I have a remote device running Linux with public ip address.
Snippet from remote device ifconfig -a:
ppp0 Link encap: Point-to-Point Protocol
inet addr: xxx.xxx.xxx.xxx P-t-P: xxx.xxx.xxx.xxx ...