Skip to contentSkip to conversation

ppp compression module aliases?

DISCUSSION Jerry Quinn 4 participants 5 messages Jun 20, 1999 – Jun 23, 1999

lore
Share & tools
lore
#0 lore raw

I have a question that I'm not sure is best directed to kernel people or user-space people as it crosses the line.

After a bunch of time trying to figure out why the ppp compression modules weren't getting loaded automatically, I traced it the fact that the appropriate aliases are not present in /etc/conf.modules.

In particular, the following aliases are required:

ppp-compress-21 = bsd-compress
ppp-compress-24 = ppp-deflate
ppp-compress-26 = ppp-deflate

I vaguely remember seeing this advice once in the past which I promptly forgot. So now I'd like to save others the headache and make sure this get set up right.

The current situation is as follows:

* modprobe 2.1.121 (which is apparently still the current version for R5 as of may 23 - I haven't reupdated) doesn't know these aliases

* The PPP HOWTO and FAQ don't mention these aliases

* The NET3 HOWTO doesn't mention these aliases

* The R4 and R5 installation don't seem to create these aliases ( If I'm wrong about this and my install is broken, please let me know :-)

I figured this out by browsing the kernel sources ( not a bad activity, but this info should also be elsewhere :-).

So I guess what I'm asking is if this should be in the kernel documentation somewhere, some other documentation, or somewhere else. Or all of the above.

Or am I just misconfigured?

Thanks,

Signature · 8 lines
Jerry Quinn                             Tel: (514) 761-8737
[email protected]               Fax: (514) 761-8505
Speech Recognition Research

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
#1 lore raw

The easiest way to get all this stuff right is

modprobe -c > /etc/conf.modules

the -c argument causes modprobe to print a complete conf.modules (less any strange stuff specific to your machine), so I just redirect it to the file. The installer should do this, though...

Hmm... or did you mean modprobe left these out of its generated file when you said 'modprobe doesn't know these aliases'. It only (as far as I know) follows directives in the file, not other ones it knows.

Quoted 14 lines · Jerry Quinn

I have a question that I'm not sure is best directed to kernel people or user-space people as it crosses the line.

After a bunch of time trying to figure out why the ppp compression modules weren't getting loaded automatically, I traced it the fact that the appropriate aliases are not present in /etc/conf.modules.

In particular, the following aliases are required:

ppp-compress-21 = bsd-compress
ppp-compress-24 = ppp-deflate
ppp-compress-26 = ppp-deflate

Quoted 8 lines

I vaguely remember seeing this advice once in the past which I promptly forgot. So now I'd like to save others the headache and make sure this get set up right.

The current situation is as follows:

* modprobe 2.1.121 (which is apparently still the current version for R5 as of may 23 - I haven't reupdated) doesn't know these aliases

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#2 lore raw
Quoted 11 lines · [email protected] wrote:

The easiest way to get all this stuff right is

modprobe -c > /etc/conf.modules

the -c argument causes modprobe to print a complete conf.modules (less any strange stuff specific to your machine), so I just redirect it to the file. The installer should do this, though...

Hmm... or did you mean modprobe left these out of its generated file when you said 'modprobe doesn't know these aliases'. It only (as far as I know)

Yes. modprobe -c doesn't include ppp-compress aliases, at least my version doesn't have them.

Quoted 17 lines · Jerry Quinn
Quoted 15 lines

I have a question that I'm not sure is best directed to kernel people or user-space people as it crosses the line.

After a bunch of time trying to figure out why the ppp compression modules weren't getting loaded automatically, I traced it the fact that the appropriate aliases are not present in /etc/conf.modules.

In particular, the following aliases are required:

ppp-compress-21 = bsd-compress
ppp-compress-24 = ppp-deflate
ppp-compress-26 = ppp-deflate

Signature · 8 lines
Jerry Quinn                             Tel: (514) 761-8737
[email protected]               Fax: (514) 761-8505
Speech Recognition Research

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]
#3 lore raw
Quoted 2 lines · Jerry Quinn

Yes. modprobe -c doesn't include ppp-compress aliases, at least my version doesn't have them.

I have just checked in a change to modutils on vger which adds the ppp-compress aliases.

Paul.

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#4 lore raw
In reply to [email protected]
Quoted 9 lines · [email protected] wrote:

The easiest way to get all this stuff right is

modprobe -c > /etc/conf.modules

the -c argument causes modprobe to print a complete conf.modules (less any
strange stuff specific to your machine), so I just redirect it to the file. The installer should do this, though...

Why should it? (when it isn't necessary). The -c switch tells modprobe to list its compiled-in configuration, so there is no point in dumping it all to the config file. Adding the aliases for the ppp-compress options is all that is needed.

Barrie

--
Barrie Spence Sanity Clause? There is no Sanity Clause
Home: [email protected] Telephone +44 1506 442304
Play: [email protected]

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]