spacer

SpeedTouchConf

Alcatel SpeedTouch USB Modem - Linux Configuration : Troubleshooting (see also FAQ)


I do not always get the chance to test an update on a cleanly-installed OS. So if you get a problem, try the previous version. So if the latest version doesn't work, maybe I fixed a problem for one user, and introduced a new problem for you.
Of course, always try the latest release first, but if you have a problem with it, please:

  1. Check the FAQ
  2. Check the speedtouch.sf.net FAQ
  3. Try the previous version
  4. If that works, let me know what the problem was with the latest release
  5. If the lights don't go solid green, check http://www.wanadoo.co.uk/help/id/7104.htm
That will help you get your modem up and running as soon as possible, as well as helping other users who might come across the same problem you had.


If the script complains about your username/password, ignore it - there is probably no problem with your username/password. However, check /var/log/messages - it should say something like this (taken on a machine called "turing" on RedHat 8.0):

Dec 29 23:50:54 turing modem_run[878]: modem_run version 1.1 started by root uid 0 
Dec 29 23:50:57 turing kernel: usb_control/bulk_msg: timeout
Dec 29 23:50:57 turing kernel: usbdevfs: USBDEVFS_BULK failed dev 2 ep 0x85 len 512 ret -110
Dec 29 23:51:30 turing modem_run[878]: ADSL synchronization has been obtained 
Dec 29 23:51:30 turing modem_run[878]: ADSL line is up (576 kbit/s down | 288 kbit/s up) 
Dec 29 23:51:31 turing kernel: HDLC line discipline: version $Revision: 3.3 $, maxframe=4096
Dec 29 23:51:31 turing kernel: N_HDLC line discipline registered.
Dec 29 23:51:31 turing kernel: CSLIP: code copyright 1989 Regents of the University of California
Dec 29 23:51:31 turing kernel: PPP generic driver version 2.4.2
Dec 29 23:51:31 turing pppd[886]: pppd 2.4.1 started by root, uid 0
Dec 29 23:51:31 turing pppd[886]: Using interface ppp0
Dec 29 23:51:31 turing pppd[886]: Connect: ppp0 <--> /dev/pts/0
Dec 29 23:51:32 turing pppoa3[889]: PPPoA3 version 1.1 started by root (uid 0) 
Dec 29 23:51:32 turing pppoa3[889]: Control thread ready 
Dec 29 23:51:32 turing pppoa3[897]: ppp(d) --> pppoa3 --> modem  stream ready 
Dec 29 23:51:32 turing pppoa3[898]: modem  --> pppoa3 --> ppp(d) stream ready 
Dec 29 23:51:32 turing /etc/hotplug/net.agent: assuming ppp0 is already up
Dec 29 23:51:32 turing pppd[886]: local  IP address 217.39.31.166
Dec 29 23:51:32 turing pppd[886]: remote IP address 217.35.193.73
Dec 29 23:51:32 turing pppd[886]: primary   DNS address 213.120.62.98
Dec 29 23:51:32 turing pppd[886]: secondary DNS address 213.120.62.99

On the other hand, if you get "LCP: timeout sending Config-Requests" and "Connection terminated" messages in your /var/log/messages file, and your ISP is PPPoA, not PPPoE (not supported by this script), check the /etc/ppp/pap-secrets and /etc/ppp/chap-secrets files, making sure that the login ID and password are correct. (For UK BT customers, your Login should be of the form: "me@hgN.btinternet.com")
These files should say (ignoring any lines which begin with the # character):
"LOGIN" "*" "PASSWORD" # Added by speedtouchconf
If any of these are incorrect (or if there are multiple lines, and one of them is wrong), it's probably easiest to:
# ./undo.sh
# rm /etc/ppp/chap-secrets /etc/ppp/pap-secrets
# reboot
(after reboot)
# ./speedtouchconf.sh

Also for this error, check that your kernel configuration includes HDLC (either as a module or built-in to the kernel).
On Linux 2.4:
make menuconfig
Character Devices -> HDLC Line discipline support
On Linux 2.6:
Device drivers -> Character devices -> HDLC Line discipline support
Add this (either as a module <M> or kernel builtin <*>), rebuild your modules (or kernel), run undo.sh, reboot, and try it again.
If you get these messages in /var/log/messages:
	kernel: usb.c: registered new driver Alcatel SpeedTouch USB
	Speedmgmt[1302]: Alcatel SpeedTouch USB Management daemon started.
	Speedmgmt[1302]: (C) Alcatel 2001
	Speedmgmt[1302]: bulk_write: Invalid argument
	Speedmgmt[1302]: bulk_read: Invalid argument
	Speedmgmt[1302]: bulk_write: Invalid argument
	Speedmgmt[1302]: bulk_read: Invalid argument
	Speedmgmt[1302]: USBDEVFS_SUBMITURB: Invalid argument
Then /dev/usb is not mounted. The speedtouchconf.sh script should mount this for you; if the problem only happens after a reboot, check for the following line in /etc/fstab:
/dev/usb                /proc/bus/usb/          usbfs defaults       0 0
(Or, for some <=2.4 kernels, use usbdevfs instead of usbfs)
Now, do a 'mount -a' and retry. By adding this line in fstab most distributions will automatically mount it at boot time.
Please email me at:
sparkz at users dot sourceforge dot net
if you have any trouble with the script. Please include the logfile (/tmp/speedtouch.log.txt) with your email. This file does not include your login and password information - if you send me anything else, please make sure you remove your login and password from that, too - email is not a secure medium (and, let's face it, you don't know me, so why trust me?)
Any other problems, please mail me at sparkz at users dot sourceforge dot net.
Please also contact the forum, and / or join the mailing list.