Fwd: Re: PPP with 2.4.x kernels


Subject: Fwd: Re: PPP with 2.4.x kernels
From: John Schmidt (jas@netbrick.com)
Date: Thu Nov 08 2001 - 09:04:53 MST


When I had linuxppc running with a 2.4.x kernel, I was able to get ppp up and
running. Some people have had problems with the current ydl 2.1. You can
give the following recipe a try and see if it gets things working.

John Schmidt
jas@netbrick.com

---------- Forwarded Message ----------

Subject: Re: PPP with 2.4.x kernels
Date: Thu, 23 Aug 2001 17:41:27 -0600
From: John A. Schmidt <jas@netbrick.com>
To: David Chart <linux@dchart.demon.co.uk>
Cc: linuxppc-user@lists.linuxppc.org

On Tuesday 14 August 2001 12:59, David Chart wrote:
> Thanks for everyone's help on this. Unfortunately, I kept running into
> more dependencies as I went on, so I've decided to give up on upgrading
> for now. Maybe when I understand a bit more about the system, or have a
> rather faster net connection...
>
> --
> David Chart
>
>
> ** Sent via the linuxppc-user mail list. See http://lists.linuxppc.org/

David,

I just went thru the hoops you have attempted. Here is my recipe. I have
used Kaoru Fukui's 2.4.8pre1 kernel in the process. I had to edit the file:
/usr/src/redhat/SOURCES/kernel-2.4.8.ppcNOSMP.config and make sure the PPP
stuff was set as follows:

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_ACENIC_OMIT_TIGON_I is not set
# CONFIG_DL2K is not set
# CONFIG_MYRI_SBUS is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_SK98LIN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m
CONFIG_PPP_MULTILINK=y
# CONFIG_PPP_FILTER is not set
CONFIG_PPP_ASYNC=y
# CONFIG_PPP_SYNC_TTY is not set
CONFIG_PPP_DEFLATE=y
CONFIG_PPP_BSDCOMP=y
# CONFIG_PPPOE is not set
# CONFIG_SLIP is not set

This set up PPP as a module. I also had to update my version of ppp to:
ppp-2.4.0-2. Then I edited the file:
[root@retriever SOURCES]# more /etc/modules.conf
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
#alias sound dmasound
alias serial macserial
alias ppp0 ppp_generic
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty

This is explained in the Documentation/changes.txt file for the linux build.
I have excerpted the relevant section:

PPP

---

The PPP driver has been restructured to support multilink and to enable it to operate over diverse media layers. If you use PPP, upgrade pppd to at least 2.4.0.

If you are not using devfs, you must have the device file /dev/ppp which can be made by:

mknod /dev/ppp c 108 0

as root.

If you build ppp support as modules, you will need the following in your /etc/modules.conf file:

alias char-major-108 ppp_generic alias /dev/ppp 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

Note, I was getting errors saying that it was looking for ppp0, so I put in ppp0 in my /etc/modules.conf file. Be sure that you have a /dev/ppp file as described above.

I am using kde dialer to get in. I had to check the box that would assign my route to the default. Before that, my routing wasn't quite right and I couldn't actually get out thru my ppp channel. I am sure that you could set up the actual dial up script with netcfg. As you debug this thing, keep your eye on /var/log/messages and it should clue you in on missing pieces. I hope that I am complete in my instructions. I still don't think my routing is quite right, but it is allowing me to get out and that is all I care about at the present time.

Let me know if you have any questions.

John Schmidt jas@netbrick.com

-------------------------------------------------------



This archive was generated by hypermail 2a24 : Thu Nov 08 2001 - 09:16:45 MST