Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-12-2004, 12:43 PM   #1
Registered: Nov 2003
Location: U.K.
Distribution: Slackware-12
Posts: 137

Rep: Reputation: 15
Couldnt set tty to PPP discipline

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.
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
Old 07-12-2004, 12:50 PM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,963

Rep: Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647Reputation: 647
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
Old 07-12-2004, 04:23 PM   #3
Registered: Nov 2003
Location: U.K.
Distribution: Slackware-12
Posts: 137

Original Poster
Rep: Reputation: 15
there is nothing in the /etc/modules.conf or /etc/modprobe.conf

, anything else you can think of?
Old 07-14-2004, 10:26 PM   #4
LQ Newbie
Registered: Jul 2004
Posts: 6

Rep: Reputation: 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.
Old 07-16-2004, 12:08 AM   #5
LQ Newbie
Registered: Jul 2004
Posts: 6

Rep: Reputation: 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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
speedtouch problems (Unable to set line discipline to N_HDLC) ttilt Linux - Networking 1 01-15-2005 09:55 AM
PPP discipline: Invalid argument svar Slackware 0 08-24-2004 08:47 AM
could not set tty to ppp discipline ABID4321 Debian 0 07-21-2004 06:18 AM
Couldn't attach tty to PPP shun_22 Linux - Networking 1 06-15-2001 10:45 AM
Couldn't attach tty to PPP Linux - Networking 3 06-14-2001 07:27 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration