Questions tagged [ppp]

The Point-to-Point Protocol is a Layer-2 protocol for usage between 2 directly connected devices.

It provides common features like compression, authentication, and encryption.

PPP is used over many types of physical networks including serial cable, phone line, trunk line, cellular telephone, specialized radio links, and fiber optic links such as SONET. Internet service providers (ISPs) have used PPP for customer dial-up access to the Internet, since IP packets cannot be transmitted over a modem line on their own, without some data link protocol that can identify where the transmitted frame starts and where it ends.

Two derivatives of PPP, Point-to-Point Protocol over Ethernet (PPPoE) and Point-to-Point Protocol over ATM (PPPoA), are used most commonly by ISPs to establish a digital subscriber line (DSL) Internet service connection with customers.

(from Wikipedia

113 questions
17
votes
6 answers

How to run long time process on Udev event?

I want to run a ppp connection when my USB modem is connected, so I use this udev rule: ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="16d8",\ RUN+="/usr/local/bin/newPPP.sh $env{DEVNAME}" (My modem appears in /dev as…
neclude
12
votes
2 answers

Ctrl-C does not work with pppd non-detached session

I have a Mini2440 ARM Board, and I have put a base Debian 6.0 system on it using multistrap. I have used tmux to run several processes in defferent windows from /etc/rc.local. I connect to the board using its serial port and an inittab entry to run…
zaadeh
  • 1,173
  • 1
  • 12
  • 17
10
votes
2 answers

How to setup PPPoE with OpenWrt

Probably this is a simple question, but I can't find an answer... I have an ADSL router (Dlink DSL-524T) which runs OpenWrt Backfire 10.03.1. It connects to the internet using PPPoA: this is my /etc/config/network file: config 'interface'…
zar
  • 245
  • 1
  • 5
  • 11
8
votes
2 answers

How can I disable TCP/IP for an Ethernet adapter?

I have CentOS 6.3 running in a (virtual) machine with two Ethernet adapters. I have eth0 connected to a TCP/IP LAN and eth1 connected to a DSL modem. The system is intended as a dedicated router/firewall, and has iptables set up to do SNAT, DNAT,…
Kevin
  • 264
  • 4
  • 12
8
votes
2 answers

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 "QMI". But I still have A LOT of questions, I…
Tor Tor
  • 81
  • 1
  • 1
  • 3
6
votes
5 answers

/etc/resolv.conf changes during reboot

My ISP asked me to use custom nameserver settings. I have placed these in /etc/resolv.conf. Unfortunately, every time I reboot the computer, the contents of this file is changed. To connect to the Internet, I must first edit that file. How can I…
Village
  • 4,655
  • 14
  • 46
  • 80
6
votes
1 answer

Adding custom DNS server for pppd client connection?

I'm trying to setup dnsmasq to accelerate DNS resolving , but since i use a PPPoE connection , there're both dns server provided by ISP , and the 127.0.0.1. So how can i place the local dns server as the first line in /etc/resolv.conf automatically…
daisy
  • 53,527
  • 78
  • 236
  • 383
6
votes
5 answers

Naming PPP interfaces

I have two PPP peers, dsl-line1 and dsl-line2 which are configured with pppd on Ubuntu (Server) Linux. They are brought up by the /etc/network/interfaces file with the auto thingy however each PPP connection chooses the name pppX where X varies…
CallumA
  • 153
  • 2
  • 6
6
votes
1 answer

How to let networkmanager repeat trying to connect DSL until succeeded?

I'm using nm-applet to dial up DSL pppoe connections. As there are a great number of users in my local network, I sometimes have to try many times to establish a successful connection. I wonder is there some way to set nm-applet or network-manager…
6
votes
1 answer

Linux PPP : how to debug disconnects with exit code = 16?

I'm using pppd and wvdial on my ARM Linux embedded system. I have a CDMA modem connected via a serial port and am connecting to the Verizon network. I am seeing that several times per day pppd exits with exit code 16 (see exact message from log…
fred basset
  • 1,025
  • 3
  • 15
  • 22
6
votes
1 answer

Internet routing between wlan0 and ppp0?

On my Debian Linux device, I have a USB-modem that is connected to the Internet. Its interface name is ppp0. I also have a USB-wireless adapter, where I am hosting a Access Point. Its interface name is wlan0. How to I route traffic between these…
5
votes
1 answer

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 from the command line, it correctly receives and handles Ctrl+C from keyboard. But when I put the exact same command in an…
zaadeh
  • 1,173
  • 1
  • 12
  • 17
4
votes
1 answer

Problem with path MTU discovery over pppd

I'm having an issue with pppd doing PPPoE on CentOS 6.3. The CentOS system is a dedicated router/gateway which performs NAT (both directions) and various packet filtering. It has separate NICs for the LAN and Internet side, eth0 and eth1,…
Kevin
  • 264
  • 4
  • 12
4
votes
1 answer

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 these instructions but it didn't work. The two…
flashburn
  • 581
  • 3
  • 10
  • 22
4
votes
3 answers

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) Linux. The issue is that I seem to be the only…
1
2 3 4 5 6 7 8