Configuring the Alcatel SpeedTouch USB modem on RedHat 7.3 - 9.0 and Fedora
After spending a long time trying to get my ADSL modem working on RedHat Linux I stumbled upon the following procedure at devshed.com. I take no credit for the contents of this article, I just reproduced it so I would never have trouble finding it again.If you are using Fedora Linux you must delete the speedtch.o file from the kernel and reboot before following this procedure. The file can be located using:
Download the following files:find /lib/modules/ -name speedtch.o
Copy the files to the
/root directory and perform the following operations as the root user.Run the ppp-2.4.0-2.i386.rpm file to update PPP to use PPPoA:
Extract and make the code in the speedtouch-20011007.tar.gz file:unzip ppp-2.4.0-2.i386.zip rpm -i --force ppp-2.4.0-2.i386.rpm
Extract the code in the speedmgmt.tar.gz file, but do not make it:tar xvvzf speedtouch-20011007.tar.gz cd speedtouch-20011007 ./configure make make install
Create the adsl file as follows:tar xvvzf speedmgmt.tar.gz
Add the following information into the file:cd /etc/ppp/peers vi adsl
Your service provider should be able to give you the values for -vpi, -vci and user. Most of the service providers in the UK use the -vpi and -vci settings listed.debug kdebug 1 noipdefault defaultroute pty "/usr/local/bin/pppoa2 -vpi 0 -vci 38" nodetach sync user "username@provider" noauth kdebug 7 noaccomp nopcomp #nomagic noccp #passive #lcp-echo-interval 5 #lcp-echo-failure 30 #persist
Add the username and password to the chap-secrets file:
The third line should be added with the appropriate values:vi /etc/ppp/chap-secrets
Create a startup script:# Secrets for authentification using CHAP # client server secret IP addresses username@provider * yourpassword
Enter the following information:cd ~ vi startadsl
Save the file then change it's permissions using:#!/bin/sh /sbin/modprobe n_hdlc >& /tmp/pppd.log /sbin/modprobe ppp_synctty &> /tmp/pppd.log /usr/local/bin/modem_run -f /root/mgmt/mgmt.o -m /usr/sbin/pppd call adsl &> /tmp/pppd.log /sbin/route add default ppp0
Create a file to reference your DNS servers:chmod 700 /root/startadsl
Enter the addresses of your DNS servers like:vi /etc/resolv.conf
Create a stop script:nameserver 158.43.240.4 nameserver 158.43.240.3
Enter the following information:vi stopadsl
Save the file then change it's permissions using:#!/bin/sh kill -INT `pidof pppd`
The ADSL connection can then be started and stopped using the following commands:chmod 700 /root/stopadsl
Output from the pppd process is logged in the /tmp/pppd.log file. This can be viewed using:# Start ADSL /root/startadsl& # Stop ADSL /root/stopadsl
Provided you receive no errors you should now have an active ADSL connection.tail -f /tmp/pppd.log
For more information see:
Hope this helps. Regards Tim...
Back to the Top.
