Image

Imagechran wrote in Imagelinux 😧blank

This is a bit long, I apologize.

I'll try out the "el-jay-cut" thingie...

Greetings group.

I have a problem with getting PPPoATM to work on my Red Hat 7.2
system. I have gotten some excellent help from the danish
unix-newsgroup, but they haven't responded to my last question.

The story so far:



I installed the 2.4.5 kernel, installed ATM-support via 'make
menuconfig' and it works like a charm.

'modprobe lanai' gives the desired output in /var/log/messages:

>localhost kernel: lanai(itf 0): *NOT* reading EEPROM
>localhost kernel: lanai(itf 0): LOCD changed from off to on
>localhost kernel: lanai(itf 0): rev.0, base=0xcc857000, irq=5 (00-00-00-00-00-00)
>localhost kernel: lanai(itf 0): LANAIHB, serialno=0(0x0), board_rev=1
>localhost kernel: lanai(itf 0): LOCD changed from on to off

I have a Speedstream 3010 PCI-card.

Now we're going to patch pppd. But the available patches don't work
with the newest pppd, so we're going to install ppp-2.4.0b2.tar.gz:

cd /usr/src
gzip -dc ~/ppp-2.4.0b2.tar.gz | tar xvf -
cd ppp-2.4.0b2
cat ~/pppd.patch.240600 | patch -p1
gzip -dc ~/pppoatm-pppd-vs-2.4.0b2+240600.diff.gz | patch -p1

And that works.

Then I created a symlink from /usr/include/linux to
/usr/src/linux/include/linux:

>[chran@chran ppp-2.4.0b2]$ ls -l /usr/include/linux | grep linux
>lrwxrwxrwx 1 root root 28 Jul 6 15:24 /usr/include/linux -> /usr/src/linux/include/linux

Then I downloaded atm-0.78.tar.gz from
ftp://icaftp.epfl.ch/pub/linux/atm/dist/ and copied the file atm.h
to /usr/include.

But 'make' of pppd still fails:

>/usr/bin/ld: cannot find -latm
>collect2: ld returned 1 exit status
>make[2]: *** [pppoatm.so] Error 1
>make[2]: Leaving directory `/usr/src/ppp-2.4.0b2/pppd/plugins'
>make[1]: *** [all] Error 2
>make[1]: Leaving directory `/usr/src/ppp-2.4.0b2/pppd'
>make: *** [all] Error 2
>[chran@chran ppp-2.4.0b2]$

Any good ideas?