Couldn't set tty to PPP discipline
==========================================================================
from:
Member
Registered: Nov 2003
Location: U.K.
Distribution: Slackware-12
Posts: 137
Thanked: 0
|
Couldnt set tty to PPP discipline
[ to get rid of this advertisement]
i upgraded to slack 10 (from
9.1) over the weekend, and have just been setting up everything again
one of the first things i did was upgrade the kernel to 2.6.7 and it
worked first time!!
i finished setting up everything then ran throught the PPP script as
usual, it dailed up (standard 56k) no problems
#serial connection established.
(then)
Couldn`t set tty to PPP discipline: Invalid argument
and the modem clicks off
i rechecked the script, name servers etc and the same thing happened.
google and the forum search werent helpful
thanks for your help
|
|
|
|
07-12-2004, 12:50 PM
|
#
|
Senior Member
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282
Thanked: 1
|
Try to copy the tty/ppp modules
parameters from your /etc/modules.conf to your /etc/modprobe.conf as
kernel 2.6.7 use modprobe.conf
|
|
|
|
07-12-2004, 04:23 PM
|
#
|
Member
Registered: Nov 2003
Location: U.K.
Distribution: Slackware-12
Posts: 137
Thanked: 0
Original Poster
|
there is nothing in the
/etc/modules.conf or /etc/modprobe.conf
, anything else you
can think of?
|
|
|
|
07-14-2004, 10:26 PM
|
#
|
LQ Newbie
Registered: Jul 2004
Posts: 6
Thanked: 0
|
I am in the exact same boat. I got
slackware 10 installed, upgraded the kernel to 2.6.7, downloaded the
latest ltmodem source for kernel 2.6 at ,
compiled and set up my kernel, and compiled and set up the modem
driver... Using kppp, all I keep getting is exit code 1 on PPP, and if I
check details I get the "Couldn't set tty to PPP discipline" message. I
also downloaded wvdial and wvdialconf and the necessary libraries under
windows, compiled and set them up under linux, and got the same
problem.
I've ran across this error before on the 2.4 kernel, but somehow got it
to work right by some fluke, I don't recall what I did. I haven't been
as lucky this time.
|
|
|
|
07-16-2004, 12:08 AM
|
#
|
LQ Newbie
Registered: Jul 2004
Posts: 6
Thanked: 0
|
Hey, I found a solution!
For me, the problem turned out to be my own doing. I compiled PPP into
my kernel, but I did not compile PPP's serial support, which is required
if you want to use a dial-up modem. You probably recall that under
Windows the modem took its own COM port, even if it didn't match up with
a serial port on the computer? Same thing here essentially - if you
don't have serial support, then PPP will just totally crash.
Have fun!
- Vultaire |
==========================================================================
from:
Couldn’t set tty to PPP discipline:
Invalid argument
So, here we are again. i finally got fiber, unfortunately
its via PPPoE (dont ask).
 At least the client has improved over the years since i last used
it, which must have been 7 years ago or something. anyway, my memory
isn’t what it used to b…hmm, nevermind. my memory more or less always
fails to remember anything at all, so of course i ran into problems
again. here’s some output from /var/log/syslog after trying to start
pppoe.
 (i actually did compile a new kernel with support for PPP, but i
forgot something…)
Oct 26 23:39:16 foo pppd[3069]: pppd 2.4.4 started by
root, uid 0
Oct 26 23:39:16 foo pppd[3069]: Serial connection established.
Oct 26 23:39:16 foo pppd[3069]: Couldn’t set tty to PPP discipline:
Invalid argument
Oct 26 23:39:16 foo pppoe[3071]: PADS: Service-Name: ”
Oct 26 23:39:16 foo pppoe[3071]: PPP session is 41216 (0xa100)
Oct 26 23:39:16 foo pppoe[3071]: read (asyncReadFromPPP): Session 41216:
Input/output error
Oct 26 23:39:16 foo pppoe[3071]: Sent PADT
Oct 26 23:39:46 foo pppd[3069]: Serial connection established.
In short,i forgot to compile support for “PPP support for async
serial ports”
This entry was posted on October 29, 2007, 1:06 am
and is filed under , , . You can follow any responses to
this entry through .
You can , or from your own site.
==========================================================================
from:
[Wd_general] Couldn't set tty to PPP discipline: Invalid
argument
boonyang
Tue Jun 22 13:38:07 EDT 2004
Dear s:
I installed PPP-2.4.1 to my wdlinux 2.1.0, I have the devtools.
I try to start PPPd, I have error:
"Couldn't set tty to PPP discipline: Invalid argument"
I added already in /etc/ module.conf as:
alias /dev/ppp ppp_generic
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
Problem is: I can not find the ppp_async.o and ppp_synctty.o!!!!!!!!!!!!
I have only ppp_async.c and ppp_synctty.c
What is this? why during installation, it did not compile it for me??
How can I fix this or compile this????????
Thank
Booynang
Dipl.-Ing. Boonyang Plangklang
IEE-RE, Kassel University
Wilhelmshoeher-Allee 73
D-34121 Kassel Germany
Home. +49(0)561-985-7306
Office. +49 561 804-6498
Fax. +49 561 804-6434
HomePage:
==========================================================================
from:
Subject: [android-porting] Couldn't set tty to PPP
discipline - msg#00267
List: android-porting
Date:
Thread:
Hi all,
I try to enable data connection function through
external modem. It can dial but data connection failed. PPPD can't work
well. In PPP daemon, it showed "Couldn't set tty to PPP discipline: m".
I used 2.6.26 kernel before, but now I used 2.6.29 kernel. In kernel
configuration, I have already enabled "Device Drivers->Network device
support->PPP support". They have same result in io control
"TIOCSETD", it seems that it can't set to data discipline. I use USB to
Serial converter interface, below is log of radio and pppd. Does anyone
have suggestions? Thanks.
D/ATÂÂÂÂÂ (Â 606): AT> ATD*99***1#
D/ATÂÂÂÂÂ (Â 606): AT<
ATD*99***1#
D/ATÂÂÂÂÂ (Â 606): AT< CONNECT 115200
D/RILJÂÂÂ (Â
662): [0041]< SETUP_DEFAULT_PDP {1, ppp0}
D/GSMÂÂÂÂ (Â 662):
[PdpConnection] PDP setup on cid = 1
I/pppdÂÂÂ (Â 806): Starting pppd
E/pppdÂÂÂ (Â 807): Couldn't set tty
to PPP discipline: m
D/ATÂÂÂÂÂ (Â 606): AT< ~ï}#ï!}!}!}
}<}!}$}%ï}"}&} } } } }%}&} } } } }'}"}(}"}#}$ï#ïU~
D/ATÂÂÂÂÂ (Â 606): AT< OK
I/pppdÂÂÂ (Â 812): pppd exited with 1
I/pppdÂÂÂ
(Â 816): Starting pppd
E/pppdÂÂÂ (Â 817): Couldn't set tty to PPP
discipline: m
I/pppdÂÂÂ (Â 820): pppd exited with 1
I/pppdÂÂÂ (Â
824): Starting pppd
E/pppdÂÂÂ (Â 825): Couldn't set tty to PPP discipline: m
I/pppdÂÂÂ (Â
828): pppd exited with 1
I/pppdÂÂÂ (Â 832): Starting pppd
E/pppdÂÂÂ
(Â 833): Couldn't set tty to PPP discipline: m
I/pppdÂÂÂ (Â 836):
pppd exited with 1
Best regards,
Herman
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscribe@xxxxxxxxxxxxxxxx
website:
==========================================================================
阅读(8520) | 评论(0) | 转发(0) |
by Nikolai Tsvetkov on September 1, 2008 - 4:33 pm
Thank you!
by Michael Franzl on March 19, 2009 - 8:06 pm
Thank you, you saved me a lot of time!