GithubHelp home page GithubHelp logo

pppd hangs up about ppp HOT 2 CLOSED

ppp-project avatar ppp-project commented on August 22, 2024
pppd hangs up

from ppp.

Comments (2)

Hi-Angel avatar Hi-Angel commented on August 22, 2024

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.

Hi-Angel avatar Hi-Angel commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.