Comments (2)
If someone knows a way to compile a debug version -- please, tell me. Right now the make install
installes a stripped version. Fortunately I found the not stripped one in the ./pppd directory. Here is a backtrace
(gdb) bt
#0 0x00007ffff74be4b0 in __open_nocancel () at ../sysdeps/unix/syscall-template.S:81
#1 0x000000000042790b in open (__oflag=2, __path=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/fcntl2.h:53
#2 connect_tty () at tty.c:726
#3 0x000000000041990c in start_link (unit=unit@entry=0) at auth.c:560
#4 0x00000000004095e6 in main (argc=4, argv=0x7fffffffe648) at main.c:539
from ppp.
I am found in a code a comment that in this open()
the pppd awaits for some Data Carrier signal, such a signal should give a turned on modem. After googling around I found a way to disable this: it is the local. So call should have looked like pppd local -detach 10.5.57.198: /dev/ttyS4
. It is esentially for me as I am need to receive and send data through a Unix socket, not the real serial port.
Solved.
from ppp.
Related Issues (20)
- EAP-TLS automatic downgrade on unsupported/restricted versions HOT 10
- We should use SPDX-License-Identifer in the source filess HOT 2
- EAP-TLS 1.3 client is expecting session_tickets when it shouldn't HOT 21
- cppcheck: assorted findings "known condition true or false" HOT 9
- cppcheck: assorted null pointer suspects HOT 3
- cppcheck: assorted "string format mismatch" findings HOT 3
- utest_chap: buffer overflow found by address sanitizer HOT 4
- utest_pppcrypt: buffer overflow found by address sanitizer HOT 1
- coverity scan HOT 5
- API to find the underlying interface for PPPoE. HOT 4
- No fclose operation after using file pointer HOT 9
- ppp.h doesn't work without HAVE_STD..._H HOT 7
- pppoe on master after commit ba7f7e053d is said to be broken HOT 3
- Add a configure option to support the system default's CA path
- Compiling without ipv6cp support fails
- Obsolete warning from kernel HOT 7
- RADIUS: Can't read config file /etc/radiusclient/radiusclient.conf HOT 6
- PPP_PATH_RESOLV should be moved HOT 13
- lock directory moved in ppp-2.5.0 HOT 16
- missing malloc checks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ppp.