You will save yourself from a lot of trouble if you download the latest kernel source.(no patching bla bla bla).
You have to be root in order to download as well as install the programs.
apt-get install kernel-source-2.4.22
For more information on how to build a kernel see the Linux Kernel HOWTO. The entries required are:
apt-get install speedtouch
apt-get install hotplug
Next, as root, copy the firmware to /usr/local/lib:
cp mgmt.o /usr/local/lib/firmware.bin
or
cp alcaudsl.sys /usr/local/lib/firmware.bin
or
cp firmware.bin /usr/local/lib/firmware.bin
depending on the version of the firmware you are using.
#!/bin/bash
case $ACTION in
add)
echo "uploading firmware"
if /usr/sbin/modem_run -k -f /usr/local/lib/firmware.bin ; then
sleep 10
echo "starting pppd"
if ! /usr/sbin/pppd call speedtch ; then
echo "failed to start pppd!"
fi
else
echo "firmware upload failed!"
fi
;;
esac
apt-get install ppp
# To connect to using this configuration file, do
# pppd call speedtch
lcp-echo-interval 10
lcp-echo-failure 3
noipdefault
defaultroute
user "username"
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
persist
maxfail 25
updetach
usepeerdns
plugin pppoatm.so
0.38
Remarks:
You will need to replace "username" with your ADSL username.
Also, in the above example "0.38" is the VPI/VCI ATM pair for the author's provider. You will need to know what the correct values are for your provider, and substitute those. If these values are incorrect, you may sync, but you will not be able to connect to your ISP's IP layer, and probably be frustrated. These values can be obtained from the Window's Alcatel client, your ISP or the FAQ.
Edit the file /etc/ppp/chap-secrets and replace its contents with the following:
# Secrets for authentication using CHAP
# client server secret IP addresses
username * password
Now put the same in /etc/ppp/pap-secrets.
Remark: You will need to replace "username" with your ADSL username and "password" with your ADSL password.
# To connect to using this configuration file, do
# pppd call speedtch
lcp-echo-interval 10
lcp-echo-failure 3
noipdefault
defaultroute
user "username"
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
persist
maxfail 25
updetach
usepeerdns
plugin pppoe.so
nas0
Remark: You will need to replace "username" with your ADSL username.
Edit the file /etc/ppp/chap-secrets and replace its contents with the following:
# Secrets for authentication using CHAP
# client server secret IP addresses
username * password
Now put the same in /etc/ppp/pap-secrets.
apt-get install libatm1
Words shall not be hid, nor spells be buried; might shall not sink underground, though the mighty go. - The Kalevala