DBA Hub

📋Steps in this guide1/8

Configuring the Alcatel SpeedTouch USB modem on RedHat 7.3 - 9.0

A guide to configuring an ADSL connection on RedHat Linux using the Alcatel SpeedTouch USB modem.

oracle miscconfigurationintermediate
by OracleDba
13 views
1

Overview

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. - speedtouch-20011007.tar.gz - speedmgmt.tar.gz - ppp-2.4.0-2.i386.zip Copy the files to the "/root" directory and perform the following operations as the root user.

Code/Command (click line numbers to comment):

1
find /lib/modules/ -name speedtch.o
2

Section 2

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. Extract the code in the "speedmgmt.tar.gz" file, but do not make it.

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
unzip ppp-2.4.0-2.i386.zip
rpm -i --force ppp-2.4.0-2.i386.rpm

tar xvvzf speedtouch-20011007.tar.gz 
cd speedtouch-20011007 
./configure 
make 
make install

tar xvvzf speedmgmt.tar.gz
3

Section 3

Create the adsl file as follows. Add the following information into the file. 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. Add the username and password to the chap-secrets file.

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cd /etc/ppp/peers 
vi adsl

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
4

Section 4

The third line should be added with the appropriate values. Create a startup script. Enter the following information.

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
vi /etc/ppp/chap-secrets

# Secrets for authentification using CHAP 
# client server secret IP addresses 
username@provider * yourpassword

cd ~ 
vi startadsl
5

Section 5

Save the file then change it's permissions using. Create a file to reference your DNS servers. Enter the addresses of your DNS servers like.

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
#!/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

chmod 700 /root/startadsl

vi /etc/resolv.conf
6

Section 6

Create a stop script. Enter the following information. Save the file then change it's permissions using.

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
nameserver 158.43.240.4 
nameserver 158.43.240.3

vi stopadsl

#!/bin/sh 
kill -INT `pidof pppd`
7

Section 7

The ADSL connection can then be started and stopped using the following commands. Output from the pppd process is logged in the "/tmp/pppd.log" file. This can be viewed using. Provided you receive no errors you should now have an active ADSL connection.

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
chmod 700 /root/stopadsl

# Start ADSL
/root/startadsl&

# Stop ADSL
/root/stopadsl

tail -f /tmp/pppd.log
8

Section 8

For more information see: - Alcatel Speedtouch USB modem under Redhat 7.3 - Linux kernel driver for SpeedTouch USB modems Hope this helps. Regards Tim...

Comments (0)

Please to add comments

No comments yet. Be the first to comment!