My Alcatel USB modem appears under the USB viewer - but when I try and config for the internet using my account info - non of the device options seem to work - HELP!.
Any suggestions would be of great help.
New to Linux - so be gentle!
Printable View
My Alcatel USB modem appears under the USB viewer - but when I try and config for the internet using my account info - non of the device options seem to work - HELP!.
Any suggestions would be of great help.
New to Linux - so be gentle!
I'm sorry, but that modem requires a kernel recompile, which rules out knoppix. There is a Alcatel USB linux howto that you can search for, but because knoppix is read-only you cannot use it. I guess this isn't the best introduction to linux, and hardware support is a tricky area. Alcatel does provide linux drivers, but they are not Open Source so cannot be included in the linux kernel.
The Alcatel USB Speedtouch ADSL modem works perfectly well under Knoppix. No kernel recompile required. It does need you to get your hands a bit dirty though - no easy GUI based install that I know of.
Just follow the instructions at http://speedtouch.sourceforge.net
Briefly, you need:
to get the mgmt.o binary file which will be downloaded to the modem
to compile a small software package from the above site
to change/create some files under /etc/ppp
to add a few lines to /etc/modules.conf
Takes a few minutes the first time, but once it is done you can put the new files into an archive and create a small script to automate the process, store it all on a floppy or USB memory. Once you have done this you can have ADSL up and running in about 15 seconds after booting Knoppix.
I am very sorry for giving false information, i guess things have changed since I last used that modem with linux.
Hi
I read about the touch speed modem, which is what I have, but I have been unalble to download the required parts.
Also have had problems setting up the file and understanding the instructions. I must just be a little thick.
If it is possible to run this from a floppy, would it not be possible to upload this file, for other people to download. Even if they have to make adjustments, it is easier to start from some thing rather then from scratch.
the only file I managed to down load is kqd6-r204 and I think I need another file which I have been unable to find. I would really like to try linux via the usb modem, so will keep trying.
One last thing, I take it that this does not effect the modem when running in windows.
Kind regards
Herc
Found this at our French collegues site www.knoppixfr.org
(that's the advantage of speaking 4 languages 8) )
Just change your specific settings and do some copy/paste :lol:
change the path where resides mgmt.o in the script.
Me think this should be integrated by Klaus :wink:
cya,
Code:#!/bin/sh
# distributed under GPL licence
# Status : experimental
#l'auteur ainsi que www.knoppixfr.org se dégagent de toute responsabilité. !
# Authors : Florent BERANGER (cosmicflo) & David Demonchy (Fusco)
# TODO : configuration Sagem F@st 800 & partage de connection avec serveur DHCP
#variables
VERSION="0.1alpha3"
TMP="/tmp/adslconf.tmp.$$"
VPI=""
VCI=""
TITRE="Knoppix ADSL configuration tool $VERSION"
CONNECTED=0
ORIG_LANG="$LANG"
ORIG_LANGUAGE="$LANGUAGE"
ORIG_LC_ALL="$LC_ALL"
if [ $UID != 0 ] ; then
case "$ORIG_LANGUAGE" in
fr)
echo "Vous devez être root pour utiliser cet outil."
;;
*)
echo "Must be root to run this tool."
;;
esac
exit 0
fi
case "$ORIG_LANGUAGE" in
fr)
echo "outil de configuration ADSL Knoppix"
;;
*)
echo "Knoppix ADSL configuration tool"
;;
esac
case "`tty`" in
/dev/tty[1-8])
MODE=text
DIA=dialog
;;
/dev/pts/*|/dev/ttyp*)
MODE=x
export XDIALOG_HIGH_DIALOG_COMPAT=1
[ -x /usr/bin/gdialog ] && DIA=gdialog
[ -x /usr/bin/Xdialog ] && DIA=Xdialog
[ $DIA = dialog ] && MODE=text
;;
*)
MODE=text
DIA=dialog
;;
esac
if [ -z "$DISPLAY" ] ; then
MODE=text
DIA=dialog
fi
######################## Speedtouch functions ############################################################
#Lancement de la configuration du speedtouch
speedtouch_preconfiguration() {
#Loading microcode
echo "loading microcode"
modem_run -m -f /usr/share/speedtouch/mgmt.o >/dev/null
#Add new entries in /etc/modules.conf if needed
grep -E "char-major-108 ppp_generic" /etc/modutils/ppp >/dev/null 2>&1
if [ $? != 0 ] ; then
echo alias char-major-108 ppp_generic >> /etc/modutils/ppp
fi
grep -E "alias /dev/ppp ppp_generic" /etc/modutils/ppp >/dev/null 2>&1
if [ $? != 0 ] ; then
echo alias /dev/ppp ppp_generic >> /etc/modutils/ppp
fi
grep -E "alias tty-ldisc-3 ppp_async" /etc/modutils/ppp >/dev/null 2>&1
if [ $? != 0 ] ; then
echo alias tty-ldisc-3 ppp_async >> /etc/modutils/ppp
fi
grep -E "alias tty-ldisc-13 n_hdlc" /etc/modutils/ppp >/dev/null 2>&1
if [ $? != 0 ] ; then
echo alias tty-ldisc-13 n_hdlc >> /etc/modutils/ppp
fi
grep -E "alias tty-ldisc-14 ppp_synctty" /etc/modutils/ppp >/dev/null 2>&1
if [ $? != 0 ] ; then
echo alias tty-ldisc-14 ppp_synctty >> /etc/modutils/ppp
fi
grep -E "alias ppp-compress-21 bsd_comp" /etc/modutils/ppp >/dev/null 2>&1
if [ $? != 0 ] ; then
echo alias ppp-compress-21 bsd_comp >> /etc/modutils/ppp
fi
grep -E "alias ppp-compress-24 ppp_deflate" /etc/modutils/ppp >/dev/null 2>&1
if [ $? != 0 ] ; then
echo alias ppp-compress-24 ppp_deflate >> /etc/modutils/ppp
fi
grep -E "alias ppp-compress-26 ppp_deflate" /etc/modutils/ppp >/dev/null 2>&1
if [ $? != 0 ] ; then
echo alias ppp-compress-26 ppp_deflate >> /etc/modutils/ppp
fi
update-modules
#Write /etc/ppp/options
echo lock > /etc/ppp/options
echo noipdefault >> /etc/ppp/options
echo persist >> /etc/ppp/options
echo noauth >> /etc/ppp/options
echo usepeerdns >> /etc/ppp/options
echo defaultroute >> /etc/ppp/options
}
#Configure the connection
speedtouch_configuration() {
speedtouch_preconfiguration
while [ $CONNECTED = 0 ] ; do
speedtouch_config_file
speedtouch_connect
sleep 10
ping -c 2 www.knoppixfr.org > /dev/null
if [ $? = 0 ] ; then
#Connection is ok !
case "$ORIG_LANGUAGE" in
fr)
$DIA --backtitle "Bravo !" --title "$TITRE" --msgbox "Votre connexion internet est opérationnelle !" 15 60
;;
*)
$DIA --backtitle "Congratulations !" --title "$TITRE" --msgbox "Your internet connection is ok !" 15 60
;;
esac
CONNECTED=1
else
case "$ORIG_LANGUAGE" in
fr)
$DIA --backtitle "ERREUR :(" --title "$TITRE" --yesno "Votre connexion internet ne fonctionne pas actuellement.\n Voulez-vous la reconfigurer ?" 15 60
;;
*)
$DIA --backtitle "ERROR :(" --title "$TITRE" --yesno "Your internet connection doesn't work yet.\n Do you want to reconfigure it ?" 15 60
;;
esac
x=$?
if [ $x != 0 ] ; then
exit 0
fi
fi
done
speedtouch_postconfiguration
}
# Configure the ppp connection
speedtouch_config_file(){
case "$ORIG_LANGUAGE" in
fr)
$DIA --title "$TITRE" --inputbox "Saisissez votre identifiant de connexion :" 15 60 $LOGIN 2> $TMP
;;
*)
$DIA --title "$TITRE" --inputbox "Type your login :" 15 60 $LOGIN 2> $TMP
;;
esac
LOGIN="`cat $TMP`"
case "$ORIG_LANGUAGE" in
fr)
$DIA --title "$TITRE" --password --inputbox "Saisissez votre mot de passe de connexion :" 15 60 $PASSWORD 2> $TMP
;;
*)
$DIA --title "$TITRE" --password --inputbox "Type your password :" 15 60 $PASSWORD 2> $TMP
;;
esac
PASSWORD="`cat $TMP`"
case "$ORIG_LANGUAGE" in
fr)
$DIA --backtitle "" --title "$TITRE" --radiolist "Sélectionnez votre pays :" 20 60 2 "1" "France, Belgique, Danmark, Italie, US" "" "2" "Pays Bas" "" "3" "Royaume Uni" "" 2> $TMP
;;
*)
$DIA --backtitle "" --title "$TITRE" --radiolist "Select your country :" 20 60 2 "1" "France, Belgium, Denmark, Italy, US" "" "2" "Nederland" "" "3" "UK" "" 2> $TMP
;;
esac
COUNTRY="`cat $TMP`"
case $x in
1)
VPI="8"
VCI="35"
;;
3)
VPI="8"
VCI="48"
;;
3)
VPI="0"
VCI="38"
;;
*)
echo "not yet."
;;
esac
#Write /etc/ppp/peers/adsl
echo noauth > /etc/ppp/peers/adsl
echo noipdefault >> /etc/ppp/peers/adsl
echo pty \"/usr/sbin/pppoa3 -m 1 -c -vpi $VPI -vci $VCI\" >> /etc/ppp/peers/adsl
echo sync >> /etc/ppp/peers/adsl
echo kdebug 1 >> /etc/ppp/peers/adsl
echo noaccomp >> /etc/ppp/peers/adsl
echo nopcomp >> /etc/ppp/peers/adsl
echo noccp >> /etc/ppp/peers/adsl
echo novj >> /etc/ppp/peers/adsl
echo holdoff 4 >> /etc/ppp/peers/adsl
echo maxfail 25 >> /etc/ppp/peers/adsl
echo persist >> /etc/ppp/peers/adsl
echo usepeerdns >> /etc/ppp/peers/adsl
echo defaultroute >> /etc/ppp/peers/adsl
echo user $LOGIN >> /etc/ppp/peers/adsl
#Write in chap & pap the login & password
echo \"$LOGIN\" \"*\" \"$PASSWORD\" \"*\" >> /etc/ppp/chap-secrets
echo \"$LOGIN\" \"*\" \"$PASSWORD\" \"*\" >> /etc/ppp/pap-secrets
}
#Launch connection
speedtouch_connect(){
killall pppd >/dev/null
/sbin/route del default >/dev/null
pppd call adsl >/dev/null
}
#Add speedtouchadsl in init.d & share the connection if asked
speedtouch_postconfiguration() {
cp speedtouchadsl /etc/init.d/
update-rc.d -f speedtouchadsl defaults 97 10 >/dev/null
##update-rc.d -f speedtouchadsl start 90 2 3 4 5 . stop 10 0 1 6
}
#################### END of speedtouch functions ##################################################
case "$ORIG_LANGUAGE" in
fr)
$DIA --title "$TITRE" --radiolist "connexion ADSL avec :" 20 60 2 "1" "Alcatel Speedtouch USB" "" "2" "ECI Hi-focus & compatible" "" "3" "PPPOE" "" 2> $TMP
;;
*)
$DIA --title "$TITRE" --radiolist "ADSL connection with :" 20 60 2 "1" "Alcatel Speedtouch USB" "" "2" "ECI Hifocus & compatible" "" "3" "PPPOE" "" 2> $TMP
;;
esac
x="`cat $TMP`"
case $x in
1)
echo "Configuration of Alcatel Speedtouch USB modem"
if [ -e /usr/share/speedtouch/mgmt.o ]; then
echo ""
else
if [ -e mgmt.o ] ; then
mkdir /usr/share/speedtouch
cp mgmt.o /usr/share/speedtouch
else
case "$ORIG_LANGUAGE" in
fr)
$DIA --backtitle "ERREUR :(" --title "$TITRE" --msgbox "Vous avez besoin du microcode mgmt.o pour configurer votre modem Alcatel Speedtouch USB.\n Lire le fichier readme" 15 60
;;
*)
$DIA --backtitle "ERROR :(" --title "$TITRE" --msgbox "You need the mgmt.o microcode to configure Alcatel Speedtouch USB modem.\n Read readme file" 15 60
;;
esac
exit 0
fi
fi
if [ -e /usr/sbin/modem_run ]; then
echo ""
else
if [ -e speedtouch_1.0-1.1rc2-1_i386.deb ]; then
dpkg -i speedtouch_1.0-1.1rc2-1_i386.deb
else
case "$ORIG_LANGUAGE" in
fr)
$DIA --backtitle "ERREUR :(" --title "$TITRE" --msgbox "Vous avez besoin du driver speedtouch. \n Lire le fichier readme" 15 60
;;
*)
$DIA --backtitle "ERROR :(" --title "$TITRE" --msgbox "You need the speedtouch driver.Read readme file" 15 60
;;
esac
fi
fi
speedtouch_configuration
;;
################### ECI CONFIGURATION ##########
2)
echo "Configuration of ECI modem"
if [ -e /usr/local/bin/eciconf.sh ]; then
while [ $CONNECTED = 0 ] ; do
/usr/local/bin/eciconf.sh
ping -c 2 www.knoppixfr.org > /dev/null
if [ $? = 0 ] ; then
case "$ORIG_LANGUAGE" in
fr)
$DIA --backtitle "Bravo !" --title "$TITRE" --msgbox "Votre connexion internet est opérationnelle !" 15 60
;;
*)
$DIA --backtitle "Congratulations !" --title "$TITRE" --msgbox "Your internet connection is ok !" 15 60
;;
esac
CONNECTED=1
else
case "$ORIG_LANGUAGE" in
fr)
$DIA --backtitle "ERREUR :(" --title "$TITRE" --yesno "Votre connexion internet ne fonctionne pas actuellement.\n Voulez-vous la reconfigurer ?" 15 60
;;
*)
$DIA --backtitle "ERROR :(" --title "$TITRE" --yesno "Your internet connection doesn't work yet.\n Do you want to reconfigure it ?" 15 60
;;
esac
x=$?
if [ $x != 0 ] ; then
exit 0
fi
fi
done
else
case "$ORIG_LANGUAGE" in
fr)
$DIA --backtitle "ERREUR :(" --title "$TITRE" --msgbox "Vous devez installer les derniers drivers ECI pour configurer votre connexion ADSL ! \n Voir http://eciadsl.flashtux.org" 15 60
;;
*)
$DIA --backtitle "ERROR :(" --title "$TITRE" --msgbox "You must install latest ECI drivers to configure your ADSL connection ! \n See http://eciadsl.flashtux.org" 15 60
;;
esac
fi
;;
3)
echo "Configuration of PPPOE"
while [ $CONNECTED = 0 ] ; do
/usr/sbin/pppoeconf
ping -c 2 www.knoppixfr.org > /dev/null
if [ $? = 0 ] ; then
case "$ORIG_LANGUAGE" in
fr)
$DIA --backtitle "Bravo !" --title "$TITRE" --msgbox "Votre connexion internet est op?rationnelle !" 15 60
;;
*)
$DIA --backtitle "Congratulations !" --title "$TITRE" --msgbox "Your internet connection is ok !" 15 60
;;
esac
CONNECTED=1
else
case "$ORIG_LANGUAGE" in
fr)
$DIA --backtitle "ERREUR :(" --title "$TITRE" --yesno "Votre connexion internet ne fonctionne pas actuellement.\nVoulez-vous la reconfigurer ?" 15 60
;;
*)
$DIA --backtitle "ERROR :(" --title "$TITRE" --yesno "Your internet connection doesn't work yet.\nDo you want to reconfigure it ?" 15 60
;;
esac
x=$?
if [ $x != 0 ] ; then
exit 0
fi
fi
done
;;
*)
echo "Configuration canceled."
;;
esac
rm -f $TMP
exit 0
ah yeah forgot the file mgmt.o itself .
Use the site http://www.filemirrors.com or http://www.filesearching.com to find it.
greetzzz
8)
I'm totally new to linux and knoppix is my first try of this OS.
Isn't there an easy way around this? I used DOS alot back in the days, but for such a long list of commands we could always use a .bat file, is there an equivalent in linux that will automate this dreaded task? I've gotten used to copy and paste and PnP drivers, I'm lazy thanx to bill.
The great advantage of knoppix resides in the automation of this all hardware detection stuff, and running from cd on-the-fly without disturbing that windows BSOD goblin that resides on your HD. That said there should be autodetection of very common hardware like Alcatel's/Thomson's ADSL modems. (don't get me wrong I prefer modems that connect via ethernet).
The above is a shell script you would simply cut'n'paste to an editor save the file then make it executable and run the file in a console window.Quote:
that script didnt work.
http://david.abdelli.free.fr/speedtouch/en/index.html
i tried those instructions with the hd-install not the live cd.
didnt work this is either due to the fact that the usb didnt work cos usbview didnt see my modem or due to the fact that bt uses pap instead of chap cos the files have to be edited differently and i dunno how.