Click to See Complete Forum and Search --> : 2.4.3...Still trying...


willk
05-01-2001, 10:26 AM
Help!!

I cant get ppp running under 2.4.3...
Slack 7.1
all the updates have been done
I have tried compiling directly in the kernel..nada..
My latest attempt as module:

all the updates have been done

May 1 07:46:14 willncorinna kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices
May 1 07:46:14 willncorinna kernel: Uniform CD-ROM driver Revision: 3.12
May 1 07:46:14 willncorinna kernel: cmpci: version v2.41-nomodem time 07:01:59 May 1 2001
May 1 07:46:14 willncorinna kernel: cmpci: found CM8738 adapter at io 0xde00 irq 10
May 1 07:46:14 willncorinna kernel: cmpci: Enable SPDIF loop
May 1 07:46:14 willncorinna kernel: es1371: version v0.27 time 07:02:09 May 1 2001
May 1 07:46:14 willncorinna kernel: NET4: Linux TCP/IP 1.0 for NET4.0
May 1 07:46:14 willncorinna kernel: IP Protocols: ICMP, UDP, TCP, IGMP
May 1 07:46:14 willncorinna kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
May 1 07:46:14 willncorinna kernel: Adding Swap: 136544k swap-space (priority -1)
May 1 07:46:14 willncorinna kernel: SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256).
May 1 07:46:14 willncorinna kernel: CSLIP: code copyright 1989 Regents of the University of California
May 1 07:46:14 willncorinna kernel: PPP generic driver version 2.4.1
May 1 07:46:14 willncorinna kernel: PPP BSD Compression module registere

Won't load:
(2.2.16 kernel) May 1 08:05:20 willncorinna kernel: PPP line discipline registered.

/etc/modules.conf:

alias net-pf-4 off # we won't use PF IPX
alias net-pf-5 off # we won't use PF AppleTalk
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

/dev/ppp exists

all the modules, includeing ppp_generic.o (ppp-2.4.0b), are in /lib/modules/2.4.3/kernel/drivers/net

What am I missing here?

Tyr-7BE
05-01-2001, 02:17 PM
Does "lsmod" show a ppp driver loaded and used? What does it give you when you try to start up ppp?

willk
05-01-2001, 11:05 PM
imsmod: mo module found by that name

from /etc/rc.d/rc.modules

## Serial line IP support (SLIP/CSLIP/PPP) ###
# This module is for SLIP/CSLIP support:
/sbin/modprobe slip
# This module is for PPP support:
/sbin/modprobe ppp
# This module provides BSD compression for PPP (optional):
/sbin/modprobe bsd_comp

all the ppp modules are in /lib/modules/2.4.3/kernel/drivers/net

Tyr-7BE
05-02-2001, 12:45 AM
Can you manually insert the module with "insmod ppp"? Manually modprobe the thing with "modprobe ppp"?

gmoreno
05-02-2001, 02:00 AM
LISTEN CAREFULLY!!!
I finally figured this out YESTERDAY... I AM SO freakin glad I figured what was the problem. I am sure lot of Slack users have this problem. As you did I compilied 2.4.x kernel... PPP worked in 2.2x but not 2.4.x. Yeah we upgraded the packages and how come some Slack users dont have any problems.

The problem is that we downloade ppp.tgz from ftp.slackware.com or somewhere like that and did a upgradepkg ppp.tgz

Well I am not sure if it is a defect or what but to fix this you need to download the newest pppd and REMOVE the PPP package "removepkg ppp" and compile and install pppd from the source. Then in console type pppd and it will tell you to type as root something like mknod something /dev/ppp

Well that's what I did and it fixed my problem now I am using 2.4.4 Hurray!!! :cool:

[ 02 May 2001: Message edited by: gmoreno ]

willk
05-02-2001, 08:56 AM
That was what I originally did...but not in the order you are suggesting...as a mater of fact...on one of my go rounds everything was done from source...but I when I did that I did not have a dev/ppp and I screwed my aliasas up....

BTW /dev/ppp exists...ppp is from linuxmafia...ppp.tgz and is *2.4.0b.tgz

insmod sez : "no module by that name found"

any way..."..once more into the breech..."

gmoreno
05-02-2001, 11:03 AM
Well that worked for me... I still suggest you to remove the ppp slackpack and install it from source. I got pppd 2.4.1 so maybe that also has to do with it. Just try it. It only takes 5 mins.

willk
05-02-2001, 12:11 PM
where did you get 2.4.1.tar.gz....

I did not have much time to hunt this am....

gmoreno
05-02-2001, 12:42 PM
ftp://linuxcare.com.au/pub/ppp/ppp-2.4.0.tar.gz

willk
05-02-2001, 08:23 PM
...ok..now I am confused!

I removed ppp via package manager...
Installed ppp-2.4.0.tar.gz

ppp --version ppp-2.4.0 >>OK

insmod ppp : no module found by that name

just for grins I hit kppp to see what errors I get...
dialing...
connecting...
logging on....

Here I am.....

looked at /var/log just to make sure i booted
2.4.3 yes
no line discipline registered....I thought that was supposed to be a required thing...
???

willk
05-02-2001, 10:15 PM
ok....
just did 2.4.4
looking good....
...but I'm not sure why....

Tyr-7BE
05-03-2001, 01:37 AM
yes that IS quite odd...

gmoreno
05-03-2001, 02:32 AM
yeah you didnt need to do insmod ppp
Well if you actually wanted to do that you had to do insmod ppp_generic...

Oh well it works! I TOLD YOU... Good I bet your VERY VERY happy.

willk
05-03-2001, 07:22 AM
I am pleased it works ... but it makes the troubleshooter in me nuts when I don't know why it works...
I thought "line discipline" was an absolute with ppp.
Do one or all of the other modules like bsd_comp,ppp_async,ppp_deflate,ppp_synctty,slic,sl ip, fill the void?