2001-04-04 00:19:48

by Manfred H. Winter

[permalink] [raw]
Subject: [2.4.3] PPP errors

Hi!

I still get from time to time the following errors when trying to use
ppp:

Apr 4 02:05:21 marvin pppd[1227]: Plugin /usr/lib/passwordfd.so loaded.
Apr 4 02:05:21 marvin pppd[1227]: pppd 2.4.0 started by mahowi, uid 500
Apr 4 02:05:21 marvin pppd[1227]: Perms of /dev/ttyS0 are ok, no 'mesg n' necce
sary.
Apr 4 02:05:21 marvin pppd[1227]: Couldn't set tty to PPP discipline: Invalid a
rgument
Apr 4 02:05:21 marvin pppd[1227]: Exit.

+++

ver_linux output:
Linux marvin 2.4.3 #3 Sun Apr 1 19:01:20 CEST 2001 i686 unknown

Gnu C 2.95.2
Gnu make 3.79.1
binutils 2.10.0.33
util-linux 2.10s
modutils 2.4.2
e2fsprogs 1.19
reiserfsprogs 3.x.0j
PPP 2.4.0
Linux C Library x 1 root root 1382179 Jan 19 07:14 /lib/libc.so.6
Dynamic linker (ldd) 2.2
Procps 2.0.7
Net-tools 1.57
Kbd 1.02
Sh-utils 2.0
Modules Loaded serial sb sb_lib uart401 isa-pnp NVdriver opl3 sound soundcore ipt_MASQUERADE iptable_nat ip_conntrack ppp_generic slhc iptable_filter ip_tables af_packet khttpd autofs4 unix 8139too ide-scsi aic7xxx scsi_mod

+++

I didn't change my ppp configuration for months so I think it's a kernel
problem.

Bye,

Manfred
--
/"\ | PGP-Key available at Public Key Servers
\ / ASCII ribbon campaign | or at "http://www.mahowi.de/"
X against HTML mail | RSA: 0xC05BC0F5 * DSS: 0x4613B5CA
/ \ and postings | GPG: 0x88BC3576 * ICQ: 61597169


2001-04-04 05:16:08

by Cesar Suga

[permalink] [raw]
Subject: Re: [2.4.3] PPP errors

On Wed, 4 Apr 2001, Manfred H. Winter wrote:

> Apr 4 02:05:21 marvin pppd[1227]: Couldn't set tty to PPP discipline: Invalid a
> rgument
> Apr 4 02:05:21 marvin pppd[1227]: Exit.

Did you load the 'ppp_async.o' module?

Regards,
Cesar Suga <[email protected]>


2001-04-05 15:56:41

by Manfred H. Winter

[permalink] [raw]
Subject: Re: [2.4.3] PPP errors

On Wed, 04 Apr 2001, Jean Paul Sartre wrote:

> On Wed, 4 Apr 2001, Manfred H. Winter wrote:
>
> > Apr 4 02:05:21 marvin pppd[1227]: Couldn't set tty to PPP discipline: Invalid a
> > rgument
> > Apr 4 02:05:21 marvin pppd[1227]: Exit.
>
> Did you load the 'ppp_async.o' module?
>

Sorry, I forget to look for that, but:

I have the following line in /etc/modules/conf:

alias char-major-108 ppp_async
alias tty-ldisc-3 ppp
alias ppp0 ppp_generic
alias ppp1 ppp_generic
alias ppp ppp_generic
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

So it should be autoloaded. I've added now "probe tty-ldisc-3 ppp_async
ppp" and hope it helps.

So, if ppp_async gets not autoloaded, why? And why does'nt this happen
not allways but only sometimes?

Bye,

Manfred
--
/"\ | PGP-Key available at Public Key Servers
\ / ASCII ribbon campaign | or at "http://www.mahowi.de/"
X against HTML mail | RSA: 0xC05BC0F5 * DSS: 0x4613B5CA
/ \ and postings | GPG: 0x88BC3576 * ICQ: 61597169

2001-04-20 06:31:06

by Paul Mackerras

[permalink] [raw]
Subject: Re: [2.4.3] PPP errors

Manfred H. Winter writes:

> Apr 4 02:05:21 marvin pppd[1227]: Plugin /usr/lib/passwordfd.so loaded.
> Apr 4 02:05:21 marvin pppd[1227]: pppd 2.4.0 started by mahowi, uid 500
> Apr 4 02:05:21 marvin pppd[1227]: Perms of /dev/ttyS0 are ok, no 'mesg n' necce
> sary.

Just out of curiosity, what pppd are you running, with what patches?
I don't recognize the message about 'perms of /dev/ttyS0'.
Or does this message come from the passwordfd.so plugin?

> Modules Loaded serial sb sb_lib uart401 isa-pnp NVdriver opl3 sound soundcore ipt_MASQUERADE iptable_nat ip_conntrack ppp_generic slhc iptable_filter ip_tables af_packet khttpd autofs4 unix 8139too ide-scsi aic7xxx scsi_mod

No ppp_async loaded - that's the problem.

Paul.