On Wed, Sep 30, 1998 at 10:34:48PM -0700, Marcus Hecht wrote:
>
> Hi gang!
>
> After obtaining the source to ppp-2.3.5, what is the quickest, easiest,
> and most painless way to upgrade to this? Is recompiling the kernel the
> only choice?
I ran pppd-2.3.5 against the 2.2.0 kernel code for a while. So far
as I could tell, it worked OK. Maybe it shouldn't have, but it did.
Recompiling the kernel isn't that great a chore. Look in /usr/src/linux
and /usr/src/linux/Documentation, there are some handy hints in files
there. Follow the instructions, all will be fine.
Before you boot the new kernel, assuming you're using lilo, go look
in /etc/lilo.conf. You'll see a stanza that refers to your currently
running kernel. Duplicate that stanza, but change the path to the
kernel to add a suffix. Also change the label, doesn't matter what
you call it, you'll use the label (maybe) at boot time.
For example, if your original file has:
image=/boot/vmlinuz
label=linux
root=/dev/hda1
read-only
add:
image=/boot/vmlinuz.old
label=old
root=/dev/hda1
read-only
Then copy your running kernel to its .old suffix, copy in the new
kernel, and as root run
/sbin/lilo
You can then boot the new kernel secure in the knowledge that
if it fails, you can still boot back to the old by telling lilo
to boot "old".
> I notice that a lot of you have had problems with 2.3.5 lately. What's the
> current consensus on this fact...?
Everybody has the same two problems.
1) "make kernel" in ppp-2.3.5 doesn't copy in all the files it should,
due to misleading date stamps in kernel files derived from older
ppp versions. They need to be hand copied, contrary to the
instructions in the ppp source.
2) There's a defect in ppp-2.3.5 at line 3079, with an inequality
in a compiler conditional pointing the wrong way. Reverse the
conditional and everything is fine.
--
Dan Wilder <[EMAIL PROTECTED]>
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]