|
Click here for the "Alcatel Speed Touch 330 USB on Redhat" tutorial 
 |
The following set of instructions were based on Trevor Boon’s "How To - Linux with a Speed Touch USB modem". I’ve corrected a few errors that were grammatical and removed the kernel portion as Red Hat 8 takes care of that for you and updated links and software revision numbers to the latest releases. |
This tutorial worked on Red Hat 8 but should certainly work on Red Hat 7.3 as the kernel support is already included. If you have Red Hat prior to 7.3 then you should look at the numerous tutorials out there for those earlier versions, however you may like to think about upgrading to 7.3 or 8.0 as the bulk of the work is taken care of for you leaving only what’s in this document to do. |
 |
1 Software Installation
speedtouch-1.1-1.i586.rpm - Available from sourceforge.net/projects/speedtouch
Speedmgmt.tar.gz - Available from www.alcateldsl.com
No guarantees this will work with any other distribution of Linux as it has not been tested.
1b - speedmgmt.tar.gz
Copy the speedmgmt.tar.gz file to /usr/src and decompress as follows:
tar -zxvf speedmgmt.tar.gz
To confirm this has been decompressed correctly, type the following:
whereis mgmt.o
You should receive the following:
mgmt.o: /usr/src/mgmt/mgmt.o
1c - speedtouch-1.1-1.i586.rpm
Install the speedtouch-1.1-1.i586.rpm as follows:
rpm -i speedtouch-1.1-1.i586.rpm
To confirm this has been installed correctly, type the following:
whereis speedtouch.conf
You should receive a response that shows /etc/speedtouch.confas well as other locations, although the others are not relevant in this document.
2- System Configuration
2a- /etc/speedtouch.conf
This file should have been created in /etc however needs to be set up. Please adjust settings so that they match below:
LOAD_USBCORE="1"
LOAD_USBINTERFACE="1"
LOAD_NHDLC="1"
DEFAULT_USBINTERFACE="usb-uhci"
MICROCODE="/usr/src/mgmt/mgmt.o"
CONFIGURED="1"
Note - please change the DEFAULT_USBINTERFACE option to suit your motherboard. If unsure, type in lsmod and look for:
usbcore xxxxx x [usb-xhci]
The text in square brackets is what needs to be entered in DEFAULT_USBINTERFACE
[Save and exit]
2b - /etc/ppp/chap-secrets:
This is where you add your username and password for connecting to the Internet
Add the following line:
your-user-id * your-password *
[Save and exit]
2c - /etc/ppp/pap-secrets:
This is where you add your username and password for connecting to the Internet
Add the following line:
your-user-id * your-password *
[Save and exit]
2d- /etc/ppp/peers/adsl
This file does not exist as yet, so type in the following:
touch /etc/ppp/peers/adsl
then edit the file as follows:
debug
kdebug 1
noipdefault
defaultroute
pty "/usr/sbin/pppoa3 -vpi 0 -vci 38"
sync
user "your-user-id" # change this to your user name
usepeerdns
persist
maxfail 5
the line "pty "/usr/sbin/pppoa3 -vpi 0 -vci 38" contains the vpi and vci, these are the codes for the country you’re in I’m living in the UK so they are 0 and 38 respectively, you may be able to find your countries details in the table below
| Country Provider |
ATM Protocol |
VPI |
VCI |
| .au, Telstra |
PPPoE |
8 |
35 |
| Austria, Austria |
PPPoA |
8 |
48 |
| .be, Belgacom |
PPPoE/Bridging * |
8 |
35 |
| .bh, Bahrain Telecom Company Batelco |
PPPoA |
8 |
35 |
| .ch, Switzerland, Sunrise and Bluewin |
PPPoE |
8 |
35 |
| .fr, France Telecom, Wanadoo |
PPPoA for PC/ix86 |
8 |
35 |
| .fr, France Telecom, Wanadoo |
PPPoE for Apple/MAC |
8 |
35 |
| .nl ? |
PPPoA ? |
8 |
48 |
| .nz, all? |
PPPoA |
0 |
100 |
| .pt, Portugal Telecom , Telepac |
PPPoE/Bridging |
0 |
35 |
| .uk, British Telecom |
PPPoA |
0 |
38 |
| .uk, Freeserve |
? |
0 |
38 |
| .uk, Pipex |
PPPoA |
0 |
38 |
| .us, ? |
PPPoA |
8 |
35 |
| .za, Telkom SA Ltd |
PPPoE |
8 |
35 |
[Save and exit]
2e- /etc/ppp/options
Add the following lines:
noipdefault
defaultroute
lock
[Save and exit]
2f- /etc/modules.conf
Add the following lines:
alias char-major-108 ppp_generic
alias /dev/ppp ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-13 n_hdlc
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias usb-controller usb-uhci
- Note – the last entry should already be in this file, however if it is not, please modify "usb-uhci" to match your USB controller see section 2a for details
[Save and exit]
2g- /etc/resolv.conf
Add the following line, without the double quotes:
nameserver "your DNS server IP address"
You can add a secondary DNS server by adding the same line again underneath with the different IP address.
[Save and exit]
2h- /etc/rc.d/rc.local
Add the following line:
route add default ppp0
[Save and exit]
Now reboot the system and the ADSL connection should come online at boot
You may may notice some error messages appear just before the log in prompt appears to see these you make after the "route add default ppp0" in the /etc/rc.d/rc.local file add this like:
sleep 15
This will make it pause long enough for you to see what the error messages produced.
You can simply look at the message log file instead /var/log/messages
Garthfield Carter
Knowledgebase
|