Note that there are some explanatory texts on larger screens.

plurals
  1. POpppd stuck in dialing process
    primarykey
    data
    text
    <p>i'm connecting several usb modems to my Ubuntu:<br> <code>uname -a<br> Linux devlp 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 21:21:01 UTC 2011 i686 GNU/Linux<br> pppd version: 2.4.5 </code></p> <p>i'm doing a test with 8 sierra wireless modems, and all of them are connected and work. each of them has a "ppp" interface.<br> after they are connected, i'm trying to reconnect ppp7, and at first, pppd fails, then in the second try it reaches the point where it says: "Serial connection established" and stuck. i tried all kill signals to kill that pppd without success, and the only way to terminate it is to plug-out the modem it tried to dial.<br> i looked for the exact place where the pppd get stuck and it's right over here:</p> <pre><code>int generic_establish_ppp (int fd) { int x; if (new_style_driver) { int flags; FILE *f=fopen("/root/ptest.log","a"); fputs("before get channel\n",f); fflush(f); /* Open an instance of /dev/ppp and connect the channel to it */ if (ioctl(fd, PPPIOCGCHAN, &amp;chindex) == -1) { // &lt;&lt;&lt;&lt;&lt;&lt;&lt; STUCK HERE error("Couldn't get channel number: %m"); goto err; } fputs("after get channel\n",f); .... } } </code></pre> <p>it looks like the problem is specifically with ppp7 - and it can be any modem so i don't think it's a modem problem, but what i don't understand is what really happens in that command? who is responsible for the answer? is it only the kernel? the modem driver? the modem itself? i don't quite understand what to do with that information since PPPIOCGCHAN documentation is very poor..</p> <p>i thought at first that maybe pppd is not releasing the channel or ppp after disconnect so i compiled my own pppd version and added PPPIOCDISCONN and PPPIOCDETACH just to make sure my version is fine with that, and the results were the same.<br> what you think?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload