OK this is a little guide to set up a Alcatel Speedtouch USB Modem, under RedHat 7.3
I'm in the UK and have this working using PIPEX adsl. They use PPPoA protocol, so thats what this is written for.
Stuff in italics are commands that need to be entered.
I don't claim to have written this, it's more an amalgamation to all the other different guides that I have gone through on the internet to get a working connection!!
OK all the files that I used will be attached to trailing messages for you to download and use as well.
first get the files attached in following messages.
speedtouch-20011007.tar.gz
speedmgmt.tar.gz (from alcatel website)
ppp-2.4.0-2.i386.rpm
Burn these files onto a CD or a floppy or however you want to to get them into Linux.
Boot up Linux, and log in as root.
Copy speedtouch-20011007.tar.gz and speedmgmt.tar.gz into /root (~)
Execute the ppp-2.4.0-2.i386.rpm file to update PPP to use PPPoA.
Start up a shell session and we're ready to start!
tar xvvzf speedtouch-20011007.tar.gz
cd speedtouch-20011007
./configure
make
make install
tar xvvzf speedmgmt.tar.gz
Don't make or install these drivers
cd /etc/ppp/peers
create file adsl
vi adsl
Enter the following information into the file.
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
Find out -vpi -vci at your ISP's website (for pipex I looked
here)
Ok time to add the username and password to the chap-secrets file
vi /etc/ppp/chap-secrets
You should see the following 2 lines, then enter the information just below them (in italics)
# Secrets for authentification using CHAP
# client server secret IP addresses
username@provider * yourpassword
cd ~
We're going to create a script to start up the ADSL service.
vi startadsl
and enter the following information
#!/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
Save and exit the file.
chmod 700 /root/startadsl
vi /etc/resolv.conf
and the fill in your dns-servers
nameserver 158.43.240.4
nameserver 158.43.240.3
Now to create the stop adsl script
vi stopadsl
Enter the following information
#!/bin/sh
kill -INT `pidof pppd`
Save and exit file.
chmod 700 /root/stopadsl
then ./startadsl&
the & means run as a seperate process so that you can still use the shell session.
and then you get something like this in your /tmp/pppd.log
in another shell.
Gotcha, I found your ADSL ALCATEL SpeedTouch USB modem!
best offset 6463 with probability 87%best offset 532634 with probability 100%
BLOCK0 : 511 bytes downloaded : OK
BLOCK1 : 991 bytes uploaded : OK
BLOCK2 : 511 bytes downloaded : OK
BLOCK3 : 526187 bytes uploaded : OK
BLOCK4 : 511 bytes downloaded : OK
Reference : 3EC XXXXXXXXX 0X (see under your modem box)
ADSL line is blocked?
ADSL line is synchronising
ADSL line is synchronisingreceived interrupts, len = 6a1 00 01 00 00 00
ADSL line is up, downstream at 1103 kbit/s, upstream at 750 kbit/s
ADSL link goes UPusing channel 1
Using interface ppp0Connect: ppp0 <--> /dev/pts/3sent
[LCP ConfReq id=0x1 ]
rcvd [LCP ConfReq id=0x57 ]
sent [LCP ConfAck id=0x57 ]
rcvd [LCP ConfRej id=0x1 ]
sent [LCP ConfReq id=0x2 ]
rcvd [LCP ConfAck id=0x2 ]
rcvd [CHAP Challenge id=0x1 <756235139fbb387dc1654b72ec158e5b>, name = "BRU101"]
sent [CHAP Response id=0x1 <0591062ecf1be60e8f18343105949471>, name = "bk26xxxxx@skynet"]
rcvd [CHAP Success id=0x1 "CHAP authentication success, unit 385"]
To view this information use this command
tail -f /tmp/pppd.log
When the files updated so will your display of it!
And your all set to use ADSL under Linux!!
Hope that this helps you get the internet working under linux, any questions post em below, and I'll try my very best to help, but might not know the answers... LOL
[EDIT]
I have used Redhat 7.3 so that there is no need to recompile the kernal to make this as simple as possible.
7.3 is available for download from redhats website

[/EDIT]
[EDIT2]
Works on Redhat 8 and Redhat 9.
Should work on any other linux based systems too (hopefully)
[/EDIT2]