[speedtouch] Re: speedtouch connexion randomly fails

2011-06-22 Thread Duncan Sands
Hi Denis, this error indicates some kind of data corruption when talking
with the modem, usually due to some kind of electrical problem (bad cable,
interference etc).

 Anyone knows how to solve this problem ?

Try plugging it into a different USB port, and also make sure that the cable
is far away from any causes of electrical interference (such as power cables,
the insides of your computer etc).  For example, if it was plugged into the
front of your computer try plugging it into the back.

Ciao, Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:speedtouch-requ...@ml.free.fr?subject=unsubscribe




[speedtouch] Re: Speedtouch line going down under Linux

2009-10-11 Thread Duncan Sands

Hi Ed,

 pop up every 10 minutes. What is strange is that this behavior does not
 happen under WindowsXP. Distributions like OpenSuSE however suffer from
 this problem. Ubuntu 9.04 is even worse. Under Unbuntu, the modem is more
 busy with synchronizing than with serving my connection.

perhaps the modem needs newer firmware to handle these speeds.  Are you
using the same firmware as with windows XP?  It may also be that the
modem needs to be initialized differently (all kinds of mysterious stuff
happens at modem initialization time, and it's not clear what it is).
In the windows .inf file you may find settings like BMaxDSL,
ModemMode and ModemOption, perhaps not with exactly those names.
These seem to be important parameters, and we managed to implement them
as module parameters for the speedtch module.  The default values are
8128, 11 and 0x10,0x00,0x00,0x00,0x20 respectively.  Try changing
these to the values you see in your .inf file.  The values can be set
using modprobe.

Good luck,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:speedtouch-requ...@ml.free.fr?subject=unsubscribe




[speedtouch] Re: Speedtouch line going down under Linux

2009-10-11 Thread Duncan Sands

Hi Giampaolo,

 Duncan, what about adding speed, signal strength, agreed ADSL standard and
 bins composition to the driver's procfs file?

Unfortunately I don't know how to get anything except the speed.  The
speed is already reported to the ATM layer.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:speedtouch-requ...@ml.free.fr?subject=unsubscribe




[speedtouch] Re: Speedtouch line going down under Linux

2009-10-11 Thread Duncan Sands

Hi Giampaolo,

 I see. Lacking firmware documentation seems a common problem with these
 devices, isn't it?

for these devices everything has been reverse engineered.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:speedtouch-requ...@ml.free.fr?subject=unsubscribe




[speedtouch] Re: Speedtouch line going down under Linux

2009-10-11 Thread Duncan Sands

Hi Ed,

 A search through the WindowsXP directory brought to light that the very
 old file alcaudsl.sys is still there. Not a suprise as I used the
 installation disk from 06-06-2002 to load the speedtouch driver under
 WindowsXP after I had installed WindowsXP. So I suppose it is the one used
 by WindowsXp.
 
 file: /Windows/C/WINDOWS/system32/drivers/alcaudsl.sys
 md5sum: 8080b5ea17a763bbce6c92bbc6ceefe8
 
 The firmware files that I have been using for years for all Linux
 distributions are:
 /lib/firmware/speedtch-1.bin
 md5sum: be58aef97d8435dce070c96574c06564
 /lib/firmware/speedtch-2.bin
 md5sum: 4dc23adb72007919f30d50ebcf222f8a
 
 I tried to find the .inf files that contain the words you mentioned using
 search commands like:
 
 grep -rsiH modem /Windows/C/WINDOWS/* | grep -rsi option
 grep -rsiH DSL /Windows/C/WINDOWS/* | grep -rsi Max
 
 but none had anything the like.

try searching for alcaudsl.

 I only find the files
 /Windows/C/WINDOWS/inf/oem8.inf
 /Windows/C/WINDOWS/inf/oem9.inf
 that contain words like speedtouch or alcatel.
 
 So, as a consequence, I do not find any parameter information.
 Suppose I boot into WindowsXP, is there some manner in which I can
 retrieve information about the parameters you mentioned?

Not really.  You can use a usb snooper to see what windows is sending
to the modem, but that's not for the faint hearted.

Do you see the message OAM not supported in dmesg output?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:speedtouch-requ...@ml.free.fr?subject=unsubscribe




[speedtouch] Re: Poland, Multimedia, Emil Junior

2009-02-19 Thread Duncan Sands

 The parameters for following provider are missing in your table in
 FAQ, so after investigation I am posting them.

Thanks!

Best wishes,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:speedtouch-requ...@ml.free.fr?subject=unsubscribe




[speedtouch] Re: Speedtouch firmware KQD6_3.012 ZZZL_3.012: What does it contain?

2008-11-17 Thread Duncan Sands

Hi,

 While prepearing the firmware for speedtch module with dd there is a
 chunk at the begining of KQD6_3.012 and ZZZL_3.012 that remains:
 
 dd bs=1 count=991 skip=36 if=./KQD6_3.012 of=./speedtouch-1.bin
 dd bs=1 count=935 skip=32 if=./ZZZL_3.012 of=./speedtouch-1.bin
 
 What are that chunks of 36 and 32 bites at the beginning of each file?

I can't tell you offhand, but maybe you can work it out from the
attached file.

Ciao,

Duncan.


-- Binary/unsupported file stripped by Listar --
-- Type: text/x-csrc
-- File: firmware.c


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Poor performance and unusual errors

2008-08-22 Thread Duncan Sands

Hi,

 modem_run.c:475:3: error: invalid preprocessing directive
 #fork_interrupt_daemon

you commented it out wrong.  Try turning it into this:

/*fork_interrupt_daemon(fdusb); */

Best wishes,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d\xE9sinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Poor performance and unusual errors

2008-08-20 Thread Duncan Sands


Hi,

 Basically I have to kill syslogd for modem_run to work sanely, the
 reason for this seems to be modem_run spamming the message:
 
 Error reading interrupts
 
 if syslogd is running modem_run and syslogd fight for cpu and syslogd
 spams me with Last message repeated n times (where n can get as high as
 30+)
 
 Also with syslogd not running all appears to work except performance is
 severaly impacted, 200kbps download speeds instead of my normall 800+.

try commenting out this line in modem_run.c:

fork_interrupt_daemon(fdusb);

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se dىsinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: is there a way to force firmware loading on RO-root filesystem?

2008-08-01 Thread Duncan Sands

Hi,

 I have been using speedtouch-330's for a few years now with LFS-based 
 machines.  I recently  upgraded to kernel 2.6.25.8 and  Linux-atm-2.5.1) and 
 all works fine  with a system with a hard-disk.  When I switch to a mirror 
 system running from a CDROM,  the modem is recognised but the firmware fails 
 to load.  (It fact  it loads but only after the machine is booted and the 
 object of the exercise is to have  dialup on booting). 

ok.

 In desperation,  I tried running  ,/lib/udev/firmware.sh but I get the 
 response udev firmware loader misses sysfs directory   I would be grateful 
 is someone could explain what this means.

Most likely it means sysfs is not mounted.  Try mounting it like this:

  mount sysfs -t sysfs /sys

 More importantly I am wondering is there a way to force firmware loading?

If you unload the module (rmmod) and reinsert it (modprobe) then it will
re-initialize the modem and reload the firmware.

I hope this helps,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: i get the provider's configure your setting page

2008-07-16 Thread Duncan Sands

Hi, the fact you see a web-page supplied by your ISP shows
that the modem is working: network packets are getting from
your ISP to you.  I don't know why your ISP thinks things
are not configured right (you can always ask them to tell
you what's wrong), but my guess is that you authenticated
wrong, i.e. used the wrong username or password.  These
are stored in /etc/ppp/pap-secrets or /etc/ppp/chap-secrets.

 i don't know how to do the debug thing.

How do you run pppd?  Use the same command but add debug
to the list of command line options.  Debug output either
goes to the terminal or to your system logs (/var/log/messages
or /var/log/syslog usually).

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: A matter of strings

2008-05-16 Thread Duncan Sands

Hi, I haven't used ppp myself in years so this might
be wrong but...

 I suppose my email adress is:
 [EMAIL PROTECTED]

 My mail passwd is:
 DD
 My connection identifier is:
 fti/Tagada
user 'fti/Tagada'
 My connection passwd is:
 AbCdEf
 
 Could you tell me the EXACT strings, even for () or (') , i have to put in:
 /etc/ppp/chap-secrets
 /etc/ppp/pap-secrets
 and
 /etc/sysconfig/network-scripts/ifcfg-ppp0

You need:
In peers/speedtch (if you use pppd call speedtch):
user 'fti/Tagada'
You probably want the contents of that file to be something like:
noipdefault
defaultroute
user 'fti/Tagada'
noauth
updetach
usepeerdns
plugin pppoatm.so
8.35
The 8.35 may need to be changed depending on your service
provider (there's a list of common values in the FAQ).

In pap-secrets and chap-secrets
fti/Tagada  *   AbCdEf

 When all is done, do i have to modify /etc/hosts (with my ISP IP @) and
 /etc/resolv.conf  (with IP @ of name servers) ?

You will usually need to put nameservers in /etc/resolv.conf, but that's
all.  The format is:
nameserver 123.456.789.012

Note that I started all the above lines-to-insert with a tab in order
to have them stand out in this email.  There is no need to use a leading
tab in the files.

Ciao,

Duncan.

PS: Sorry for the delay, I was hoping someone more up-to-date than me
would reply.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Linux Kernel SpeedTouch Driver and Ubuntu.

2008-02-05 Thread Duncan Sands

 Should quotation marks, double and single, be omitted from script 
 entered  in text editor?
 In the section Make a Bootscript, should the letters fi actually be if?
 Any assistance would be appreciated as this is my first attempt @ Linux 
 and I have been trying to get online for 5 days.

Normally everything should be entered exactly as on the webpage (except
that bold entries indicate something which you need to replace with your
own info, for example username needs to be replaced with your username, etc).
The simplest way to do this is using cut and paste.  If you only have an
internet connection under windows, trying saving the web-page to disk.  If
you can access the windows disk from linux then you should be able to display
the web-page under linux by specifying it in a web-browser.  Otherwise try
copying it to a USB key then opening it in a web-browser from the USB key.
Once you have the web-page shown in a web-browser under linux, then you can
select text in it using the left mouse button, and paste into a console
by clicking the middle mouse button.

I hope this helps,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Linux Kernel SpeedTouch Driver and Ubuntu.

2008-02-05 Thread Duncan Sands

 sudo in -s ../init.d/dial /etc/rc2.d/S95dial 
 sudo in -sf ppp/resolv.conf /etc/resolv.conf
 
 System will not accept 'in' on either line,
 System will not accept '../init.d/dial' no such directory.

It's 'ln' not 'in'.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: Re : R e: mi se à jour d u no yau

2008-02-02 Thread Duncan Sands

Salut,

 debug
 kdebug 1
 noipdefault
 defaultroute
 pty /usr/sbin/pppoa3 -m 1 -c -vpi 8 -vci 35
 sync
 user [EMAIL PROTECTED]
 noauth
 noaccomp
 nopcomp
 noccp
 novj
 holdoff 4
 persist
 maxfail 25
 usepeerdns
 debug

cela vient d'ou ce fichier de configuration?!  A mon avis, c'est 
/usr/sbin/pppoa3
qui ne marche pas (je ne sais pas ce que c'est, sans doute une invention de ta
distribution).  Essaie plutot:

debug
noipdefault
defaultroute
user [EMAIL PROTECTED]
noauth
updetach
usepeerdns
plugin pppoatm.so
8.35

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Re : : mi se à jour d u no yau

2008-02-02 Thread Duncan Sands

 Comment fait-on pour signaler que la solution a été trouvée.

Est-ce que tu veux dire: comment savoir si ca marche?  Parce
que tu auras une connexion internet pardi!

Ciao,

Duncan.
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: mi se à jour d u no yau

2008-02-01 Thread Duncan Sands

 je fais /usr/sbin/pppd call adsl

essaie
/usr/sbin/pppd call adsl debug
et envoie-moi les informations imprimees.  Il se peut
que les informations ne s'affichent pas, dans ce cas
elles sont enregistrees dans tes logs systemes, du genre
/var/log/messages.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: mi se à jour d u no yau

2008-02-01 Thread Duncan Sands

Salut,

 Feb  1 17:42:27 localhost pppd[2926]: pppd 2.4.4 started by root, uid 0
 Feb  1 17:42:27 localhost pppd[2926]: Couldn't get channel number: 
 Input/output error
 Feb  1 17:42:31 localhost pppd[2926]: Using interface ppp0
 Feb  1 17:42:31 localhost pppd[2926]: Connect: ppp0 -- /dev/pts/1
 Feb  1 17:42:31 localhost pppd[2926]: Modem hangup

pppd essaie de se connecter a un modem ordinaire (non-ADSL).  Il est donc
mal-configure.  C'est configurer comment?  Envoie-moi le fichier de 
configuration
s'il te plait (comme tu fais pppd call adsl, cela doit s'appeler 
/etc/ppp/peers/adsl) .

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Re : Re: Re : Re: Re : Re: Re : Re: Re : Re: mi se à jour d u noyau

2008-01-31 Thread Duncan Sands

 Bonjour j'ai tout fait comme dans le tutorial, j'ai réusssi à reconfigurer le 
 noyau, j'ai remis speedtech.ko à sa place mais toujours rien.
 tu as les resultats de cat /proc/net/atm/speedtch et dmesg qui suivent ce 
 mail. Je ne sais plus à kel saint me vouer.

Salut,

 speedtch 1-2:1.0: found stage 1 firmware speedtch-1.bin
 speedtch 1-2:1.0: found stage 2 firmware speedtch-2.bin
 ATM dev 0: ADSL line is synchronising
 ATM dev 0: ADSL line is up (1216 kb/s down | 320 kb/s up)

comme tu vois, tout se passe bien au niveau du materiel: l'initialisation
du modem s'est bien passe (messages firmware), et la ligne s'est synchronisee.
Cela se voit aussi dans le fichier /proc/net/atm/speedtch (message: Line up).
On voit aussi:
AAL5: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop )
qui indique le nombre de paquets envoyes (tx) et recu (rx).  C'est zero.
Donc le probleme se situe au niveau de la configuration de ppp, qui
n'envoie rien au modem.  Comment c'est configure?  Qu'est-ce que tu fais
pour lancer une connexion?

Ciao,

Duncan.
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Re : Re: mise à jour du noyau

2008-01-30 Thread Duncan Sands

 je ne sais pas comment récupérer le contenu du fichier speedtouch. Je 
 t'envoie les deux autres. Toutefois j'ai constaté avec une grande surprise 
 que, voulant rechercher l'aide sur speedtouch, j'ai entré speedtouch --help, 
 le modem a démarré correctement. Je t'envoie tout de même ces fichiers parce 
 que ça me semble être un pur hazard. Je veux en effet comprendre pourquoi ça 
 n'avait pas fonctionner avant. J'ai aussi remarqué qu'il affiche au 
 démarrage, usb 2-1 device not accepted adress 2 error 71.
 La distribution est Fedora7 et le noyau est 2.6.23.

Comme le logiciel qui gere la liste n'aime pas les attachements,
il vaut mieux les integrer dans le courrier.

Ciao,

Duncan.
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Re : Re: Re : Re: Re : Re: mi se à jour d u noyau

2008-01-30 Thread Duncan Sands

 how can I configure the kernel with the ATM

Sur la page
http://linux-usb.sourceforge.net/SpeedTouch/LFS/index.html
il y a la liste d'options qu'il faut pour ton noyau.  Mais verifie
d'abord qu'il n'y a pas simplement un probleme avec le chargement
automatique des modules: si tu fais
modprobe atm
modprobe pppoatm
modprobe usbatm
modprobe speedtch
est-ce que cela donne quelque chose (du genre: les lumieres clignotent
sur le modem, et un fichier speedtch* apparait dans /proc/net/atm)?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Re : Re: Re : Re: mise à jour d u noyau

2008-01-30 Thread Duncan Sands

It looks like the module failed to load because the kernel is not
configured with ATM support.

 usbatm: Unknown symbol atm_dev_deregister
 usbatm: Unknown symbol atm_dev_register
 usbatm: Unknown symbol vcc_release_async
 usbatm: Unknown symbol atm_charge

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Re : Re: Re : Re: Re : Re: Re : Re: mi se à jour d u noyau

2008-01-30 Thread Duncan Sands

 Rien ne se passe et je n'ai toujours rien kan je fait cat 
 /proc/net/atm/speed. Cela doit être certainement parce que j'ai supprimé le 
 speedtch.ko

En effet, suprimer le speedtch.ko est fatal.

Ciao,

Duncan.
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: mise à jour du noyau

2008-01-29 Thread Duncan Sands

Bonjour,

 j'ai mis à jour mon noyau et je ne peux plus avoir la connection sur le
 nouveau noyau (2.6.2.3).

c'est vraiment 2.6.2.3, et pas 2.6.23?  Puisque 2.6.2 est tres tres ancien...

 Je parviens à me connecter sur l'ancien noyau et pas sur le nouveau.
 Lorsque je lance speedtouch-start, il affice CONNECTING ADSL
 et rien

C'est quoi comme distribution?

 Lorsque je lance /sbin/ifconfig ppp0, il affiche erreur lors de la recherche 
 d'infos: périphérique non trouvé. 

Est-ce que tu peux nous envoyer: (1) ce que donne la commande dmesg; (2) le 
contenu du fichier speedtouch-start
et (3) le resultat de la commande cat /proc/net/atm/speed*

Merci!

Duncan.
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: VCP/VCI for Peru

2008-01-04 Thread Duncan Sands

 Hi, Peru values are :
 
 .pe, Peru Speedy [Telefonica Terra]   PPPoA   8   60

Thanks for the info!

Best wishes,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: SpeedTouch 330, ubuntu 7.10, modem disconnects after some time

2007-11-03 Thread Duncan Sands

Hi,

 I have serious problem with my SpeedTouch 330 modem. Lately i have changed
 motherboard in my home router. Since then i get random disconnections.
 Sometimes my connection
 last for 10 hours, somethimes 20,and it maybe 1 hour as well. After
 disconnection i can't reconnect it until i reboot my server. First of all
 there is no way to unload USBATM module. It just stucks.

you need to unload the speedtch module.

 And when i 
 re-synchronize modem and  try to use PPPD CALL SPEEDTCH again, it tires to
 connect and gives up after some time.

The previous pppd may still be running - try killing it first.  If that
doesn't help, send in the contents of the file(s) /proc/net/atm/speed*

 I really don't know how to hande 
 this problem. My isp is using PPPoE. Here are my logs that i thought maybe
 useful in this case:
...
 Nov  2 22:24:16 szymon firmware_helper[9799]: main: error loading
 '/lib/firmware/speedtch-2.bin.2.00' for device '/class/firmware/1-1:1.0'
 with driver 'spee$
 
 - BUT FIRMWARE IS LOADED ANYWAY AFTER THESE ERRORs. So i really don't know
 what is his problem. Next:

The driver tries to look for different firmware files based in the modem's
revision (notice how the suffix changes).  Some distributions make the
generic firmware loading mechanism complain if a firmware file isn't found
(I don't know why - surely it is up to the driver to complain if it is
unhappy?) and it seems like yours is one of these.  Ignore these errors.

 Nov  2 22:24:12 szymon kernel: [ 4661.044000] ATM dev 0: usbatm_complete:
 urb 0xc7770900 failed (-2)!
 Nov  2 22:24:12 szymon kernel: [ 4661.044000] ATM dev 0: usbatm_complete:
 urb 0xc7770660 failed (-2)!
 Nov  2 22:20:12 szymon kernel: [ 4421.588000] ATM dev 0: usbatm_complete:
 urb 0xc63e6ea0 failed (-2)!
 Nov  2 22:20:12 szymon kernel: [ 4421.588000] ATM dev 0: usbatm_complete:
 urb 0xc63e6c60 failed (-2)!
 Nov  2 22:20:12 szymon kernel: [ 4421.588000] ATM dev 0: usbatm_complete:
 urb 0xc63e65a0 failed (-2)!
 Nov  2 22:20:12 szymon kernel: [ 4421.592000] ATM dev 0: usbatm_complete:
 urb 0xc63e6de0 failed (-2)!
 
 This is what happens, more or less after disconnection.

This means that something unpleasant has happened to your modem.  If this
is immediately after or before disconnection and doesn't last for long,
it is harmless - it just means that the disconnection hadn't yet been reported
to the driver yet (so it keeps trying to send packets, but these fail because
the modem is not there anymore): it can take a little while ( 1 second though)
for the USB core to report disconnections to drivers.

As for why it disconnects in the first place, hard to say.  Lots of people
seem to have this problem, and as you noticed it seems to be related to the
kind of motherboard...  Maybe the modem is not getting enough power, or the
USB cables are too long or passing too close to a source of electromagnetic
interference?  Try plugging the modem into a different usb port (eg: one on
the back of the computer if you were using one on the front before), and
try to keep cables away from other cables or possible sources of interference.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: SpeedTouch 330, ubuntu 7.10, modem disconnects after some time

2007-11-03 Thread Duncan Sands

 The biggest problem is that only reboot of system helps for this situation.
 I can't unload usbatm module, even after unloading speedtch and uhci_hcd
 first.

That is not normal.  What does lsmod say?  What kernel version do you have?

 Killing all pppd doesn't help either.  Module is busy, and when i use 
 force option, i get error that module is temporarily unavailible. The same
 is for usbcore. And i have to reboot computer, because ppp hangs up.
 
 Do you think that PCI usb controller, or maybe newer speedtouch revision
 will help? ( have 2.00 currently).

I don't know.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Feisty

2007-09-25 Thread Duncan Sands

  Whilst switching between desktops, I did notice the message come up on
  booting stating The Speedtouch Firmware did not load.  This seems to be
  a
  vital clue; does anyone have any suggestions ?
 
 If the firmware doesn't load, no connection can be made at all.

Yes, however Roger previously sent the contents of /proc/net/atm/speed*
which showed:

  Speed Touch USB  (usb-:00:03.0-1)
  MAC: 00:90:d0:37:b0:ab
  AAL5: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop )
  Line up

i.e. the firmware is loaded.

Maybe he is running one of those scripts you can find on the web which
tries to set up your speedtouch connection for you, perhaps using modem_run
to load firmware?  Or perhaps he just misread the boot message (Roger, you
can read all boot messages by running
dmesg
in a terminal.  Maybe
dmesg | less
is better, otherwise you'll maybe get too much stuff).

Ciao,

Duncan.



Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Feisty

2007-09-25 Thread Duncan Sands

 The  dmesg | less  command reveals 100s of lines of info!  However, an 
 initial visual scan reveals the following 2 lines:
 
 [   28.813332] speedtch 1-1:1.0: found stage 1 firmware speedtch-1.bin
 [   28.966755] speedtch 1-1:1.0: found stage 2 firmware speedtch-2.bin
 
 I'm afraid I'm a bit out of my depth interpreting some of this information, 
 but the above at least looks a bit positive!

It does.  Almost certainly it is pppd that is having problems.  How do
you run pppd?  Try running it in the usual way, but with the word
debug
added to the command line.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se dىsinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Feisty

2007-09-20 Thread Duncan Sands

Hi Roger,

 I am trying to get my Speedtouch modem working with the Feisty Fawn version 
 of Ubuntu. I got the thing working before (with help from here) on Dapper 
 Drake, but that was some time ago and I've lost the advice sent to me.
 
 I have followed the web instructions, cutting and pasting commands to avoid 
 mistakes. Looking at the chap-secrets and pap-secrets files in etc/ppp, I 
 noticed they have a red cross by them. Looking at the properties, it seems 
 that access is denied to them.  Could this be part of the problem and, if 
 so, how is this rectified? If this is normal, can anyone suggest where else 
 to look?

you forgot to say what the problem actually is!  Were you unable to follow
the instructions, or did you follow them all but didn't get an internet
connection?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se dىsinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-11 Thread Duncan Sands

Hi Tomy, I think the problem is that the packets are going to the adummy
driver.  Here you can see that interface 0 is adummy:

 Itf TypeESI/MACaddr AAL(TX,err,RX,err,drop) ...   [refcnt]
 
   0 adummy    0 ( 0 0 0 0 0 )  5 ( 3988 0 0 0 0 )   [4]
 
   1 speedtch0090d04e4916  0 ( 0 0 0 0 0 )  5 ( 0 0 0 0 0 )  [1]

And here you can see that 8.35 is going to interface 0:

 Itf VPI VCI   AAL RX(PCR,Class) TX(PCR,Class)
 
   0   835 5 0 UBR 0 UBR   CLIP, Itf:atm0, Encap:None
 
   0   0 5 5 0 UBR 0 UBR
 
   0   016 5 0 UBR 0 UBR

I notice from dmesg that adummy appears early:

 netconsole: not configured, aborting
 adummy: version 1.0
 Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

so I'm guessing you have it compiled in.  I suggest you don't
bothering compiling it at all.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-08 Thread Duncan Sands

Hi Tomy,

 AAL5: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop )

this shows that no packets reached the speedtch driver, let alone
the modem - not surprising that you're not seeing much connectivity!
Something fundamental is broken in the way you have things configured.
Perhaps you could paste *exactly* the commands you used to configure
(with any output, errors etc).  Also, it may be worth sending the
output of dmesg.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-07 Thread Duncan Sands

 /proc/net/atm/speedtch:1
 Speed Touch USB  (usb-:00:1d.0-2)
 MAC: 00:90:d0:4e:49:16
 AAL5: tx 0 ( 0 err ), rx 0 ( 0 err, 0 drop )
 Line up

Was this after trying to ping the gateway?  If not,
please try pinging the gateway, then send the contents
of this file again.

Thanks,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-06 Thread Duncan Sands

Hi Tommy,

 I tested pinging my gate way. It does not ping at all. The response I get it:
 
 #Ping 10.200.1.1
 
 PING 10.200.1.1 (10.200.1.1) 56 (84) bytes of data
 
 --- 10. 200.1.1 Ping statistics ---
 
 125 packets trasmitted, 0 received, 100% packet loss time 124030ms
 
 By the way, how do start my speedtouch adsl, after configuring atm0. Is there 
 something like pppd call speedtch that would initiate the modem.

it should be possible to send packets after the
atmarp -s $REM_IP $VPI.$VCI $ENCAPS
command.

Please send the contents of all the files in /proc/net/atm
You should copy the files after running the commands I
sent you before for configuring your connection.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-06 Thread Duncan Sands

Hi Tommy,

 localhost tomy # atmarp -s 10.200.1.1 8.35 null
 atmarp: Address already in use

this Address already in use is not good.  Is this
the second time you did this?

D.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-06 Thread Duncan Sands

 I am attaching here the contents of /proc/net/atm

Unfortunately the list strips off attachments so I didn't
get them.  Please include them inline.

Thanks,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-05 Thread Duncan Sands

Hi Tommy,

 For me VPI = 8, and VCI = 35 and netmask is 255.255.0.0. the IPs of the 
 nameservers are given in /etc/resolv.conf. What else do I need to do?

I'm not sure why you mention the IP of your nameservers - this is not the
same as the gateway IP.  So... do you know your IP address and the IP
of your gateway (which may well be similar to your IP address, only
with the last digits changed).

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and LAN with static IP and Gateway

2007-09-01 Thread Duncan Sands

Hi Tommy,

 For several days I have been trying to configure my speedtouch usb modem on 
 my gentoo box.
 I tried the documentation for gentoo  at 
 http://www.linux-usb.org/SpeedTouch/gentoo/index.html
 But I have not been sucessful. I am connected to a LAN with a static ip 
 address, netmask gateway
 and dns. I do not have a password or a username. I am not sure whther I need 
 to take the connection
 as PPPoA or PPPoE. My connection through a USB port. So I assume that it is 
 PPPoA. 
 The properties of the workibng connection in my window partition is as 
 follows:
  
 Connection
 VPI 8
 VCI 35
 Type: RFC 1483B
 Encapsulation: LLC
 FCS: Automatic
  
 ADSL type: POTS
 Adsl Mode: Gdmt.A

try the following procedure.  This assumes your ISP is using routed ip.  It
doesn't use ppp/pppd at all, however you will need to have atmarp and atmarpd
installed (from the atm-tools package, dunno what gentoo calls it).  You will
need to do this as root.

VPI=8
VCI=35 # are you sure it's 35?  36 is more usual
LOC_IP=AA.BB.CC.DD # put your static ip address here
REM_IP=EE.FF.GG.HH # put your gateway's ip address here
ENCAPS=null
echo Starting atmarpd server: 
atmarpd -b -l syslog # you don't need to do this if your system starts atmarpd 
automatically
atmarp -c atm0
ifconfig atm0 $LOC_IP netmask 255.255.255.0 mtu 1500 up
atmarp -s $REM_IP $VPI.$VCI $ENCAPS
route add default gw $REM_IP

 Please tell me how I have to go about setting up my connection.

Good luck!

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: [SOLVED] Modem firmware seems to be working fine, but I cannot access the Internet

2007-07-22 Thread Duncan Sands

 I downloaded the libatm1_2.4.1-17_i386.deb from ubuntu repositories,
 logged back into this machine, installed the library, and restarted.
 Voilá!  It's working and working very well.  And that's all I wanted!

OK, thanks for letting us know.  I wish more people would post their
solutions - it helps everyone else.  I will try to update the documentation.
Unfortunately something changed at sourceforge and it rejects my attempts
to upload new versions!

Ciao,

Duncan.
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Modem firmware seems to be working fine, but I cannot access the Internet

2007-07-20 Thread Duncan Sands

Hi, try adding debug to pppd.  For example, if you normally do
pppd call speedtch
try
pppd call speedtch debug
This should output all kinds of info to your system logs (not
to the console).  Please send the output here.

Thanks,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Sync problem

2007-06-26 Thread Duncan Sands

Hi Fabrizio,

 ... But sometimes, in some situation, this is not sufficient: when the ADSL
 goes down it can't be reconnet neither this script.

why does the ADSL line go down in the first place?

 Perhaps the device must be re-inizialitating: for do this is necessary to
 unload all modules related to speedtch (atm, maybe usb, speedtch..) but I'm
 not sure that it's right.

If you unload and reload just the speedtch module, does that work?

 Actually, the only solutions for sync again the dsl line, is to reboot the
 server... .

when this happens, please make a copy of all the files in /proc/net/atm and
send them here.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Sync problem

2007-06-26 Thread Duncan Sands

 No, actually works fine.
 Do you need these files while pppd was failing ?

Yes.

Ciao,

D.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: share conection with mandriva 2007.

2007-03-26 Thread Duncan Sands

 hello, i need to share a internet connection with mandriva 2007, i have 
 configured the modem by pppoe, but i don´t know how to share this 
 connection. i try with the tools that has mandriva, with no 
 results(recognize my lan card in nas0). and i don´t understand the 
 manual method.

I'm not sure what you mean when you say you want to share an internet
connection.  Can you please explain more.

Thanks,

Duncan.
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Link speed

2007-02-12 Thread Duncan Sands

  If I don't forget, I'll try to whip up something next Monday.  Please
  don't hesitate to remind me, since I've got a memory like a sieve!

Hi Karl, in recent kernels you can get the link rate from the file

/sys/class/atm/speedtch0/link_rate

That holds a default value until the line synchronizes, at
which point it should show the real thing.  Let me know if your
kernel supports it.  If not, I'll write a utility for getting
the rate via the ioctl.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Alcatel Speedtouch USB ADSL using PPPoA - firmware loads and then authentication

2007-02-05 Thread Duncan Sands

On Monday 5 February 2007 19:30:04 Samuel Adams wrote:
 So rmmod speedtch and modprobe speedtch dl_512_first=1 seemed to get 
 my modem dialed in, but programs such as firefox and evolution still 
 will not recognize the connection.  Any ideas here?

Most likely a DNS problem.  I've no time right now to explain what this
means and how to fix it - sorry.

 Also, what was it that was wrong initially that the two above commands 
 fixed?

Some modems refuse to work unless you download 512 bytes at a well
chosen modem.  Kind of weird but that's the way it is.  I've changed
the driver so it does this by default now.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch 330 and Ubuntu 6.10

2007-02-02 Thread Duncan Sands

 I found a log file called /var/log/syslog.  Although it's quite lengthy, I
 can see that the 2 drivers (speedtch-1 and speedtch-2) appear to be loading
 correctly.  However, further down the file, it says that no Speedtouch
 device was found.  It's a standard USB modem.  No router is involved and
 there's nothing else unusual.  Any ideas anyone?  Thanks.

Do you get a message like this in the log:

ADSL line is synchronising

?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch 330 and Ubuntu 6.10

2007-02-02 Thread Duncan Sands

 Firstly, if modem_run is no longer needed, can I uninstall it?

Yes.

 Secondly, the only lines I can see relating to pppd are these:-
 
 pppd[5711]: /usr/lib/pppd/2.4.4/rp-pppoatm.so: cannot open shared object
 file: No such file or directory
 pppd[5711]: Couldn't load plugin rp-pppoatm.so
 
 Just to give you a bit more information - I've tried two protocols (PPPoATM
 and PPPoE) but neither of them worked.  I'm currently set up for PPPoATM.

You have an old pppd hanging around from Dapper.  You probably had to
install it yourself, right?  I think the pppd that comes with Edgy can
handle all this stuff, so I suggest you simply install that instead.

Good luck!

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch 330 and Ubuntu 6.10

2007-02-02 Thread Duncan Sands

 You seem to be right about the version though.  I only have one PPPD
 executable in /usr/sbin.  It's dated 10th July 2006 which usually means it
 came with Dapper.  I asked on the Ubuntu forum to see if there's a newer
 version but nobody responded.

apt-cache show ppp

 This might be significant though inside the folder /usr/lib/pppd/2.4.4/
 I found a file called pppoatm.so.  I renamed it to rp-pppoatm.so and after
 that I seem to be getting slightly further.  My pppd log file entries now
 read as follows:-
 
 pppd[4890]: Plugin rp-pppoatm.so loaded
 kernel: [17179659.832000] NET: Registered protocol family 10
 kernel: [17179659.832000] lo: Disabled Privacy Extensions
 kernel: [17179659.832000] ADDRCONF(NETDEV_UP): eth0: link is not ready
 kernel: [17179659.832000] IPv6 over IPv4 tunneling driver
 pppd[4890]: pppd 2.4.4 started by root, uid 0
 pppd[4890]: connect(0.38): No such device
 pppd[4890]: Exit
 
 0 and 38 are the VP and VC numbers that I was given for the UK.  They worked
 with Dapper so I assume they won't have changed.

cat /proc/net/atm/speed*


Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch Connection Speed

2007-02-02 Thread Duncan Sands

Hi Karl,

 Debian Etch, 2.6.18 stock kernel.

can you please try 2.6.19.  Extra modem initialization
code was added, based on some reverse engineering by
David Woodhouse.  That said, I can get 3-4 meg with
a manta-ray even without that, i.e. about 400kbytes/sec
which is what you reported you could get by playing tricks.

What is in your /proc/net/atm/devices file?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch 330 and Ubuntu 6.10

2007-02-02 Thread Duncan Sands

 Duncan, typing  cat /proc/net/atm/speed*  produced:-
 
 cat: /proc/net/atm/speed*: No such file or directory

OK, that explains why pppd didn't work: the modem is
not plugged in.  Or, if it is plugged in, then it has
not initialized, or has been logically disconnected.

 and typing  apt-cache show ppp  produced this output:-
 
 Version: 2.4.4rel-1ubuntu1

This looks to be the same as the version you already
have.

So the big question is: what happened to the modem?
Mind sending in your system logs?

Duncan.


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch 330 and Ubuntu 6.10

2007-02-02 Thread Duncan Sands

 No problem.  What would I need to do? Attach them to an email or something
 else?

Just attach /var/log/syslog

Ciao,

D.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch Connection Speed

2007-02-02 Thread Duncan Sands

 Ok, that helped a bit. I am now getting a more consistent 3Meg, but this 
 is still only half what I can get on the ISP-supplied router. One thing 
 I'm noticing is that IRQ's are taking up a lot of CPU time (5-10%). 
 Could this have something to do with it? Or is 3Meg the most I am likely 
 to get from a rev0?

I don't think you'll ever get much more than that from a rev0.  With a
rev4 you need to use enable_isoc=1 to go really fast.  You may want to
try sw_buffering=1 (use modinfo speedtch to see all the parameters).

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Alcatel Speedtouch USB ADSL using PPPoA - firmware loads and then authentication

2007-01-30 Thread Duncan Sands

 Jan 29 11:59:29 localhost kernel: [4294695.534000] usb 1-2: reset full speed 
 USB device using uhci_hcd and address 3
 Jan 29 11:59:29 localhost kernel: [4294695.659000] usbcore: registered new 
 driver speedtch
 Jan 29 11:59:29 localhost kernel: [4294695.709000] speedtch 1-2:1.0: found 
 stage 1 firmware speedtch-1.bin
 Jan 29 11:59:29 localhost kernel: [4294696.124000] speedtch 1-2:1.0: found 
 stage 2 firmware speedtch-2.bin

So far so good, but you should be getting further messages here.
Most likely this means that the modem initialization failed (the
fact that it doesn't print a message about this was a bug in the
2.6.15 kernel, since fixed).  Try recompiling your kernel with
CONFIG_USB_DEBUG=y, and you should get a lot more info about what
is going on (or use a more recent kernel, 2.6.16 or better).

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Alcatel Speedtouch USB ADSL using PPPoA - firmware loads and then authentication

2007-01-30 Thread Duncan Sands

Actually, now I come to think about it some more I suspect
I know what the problem is.  Try doing this (as root):

rmmod speedtch
modprobe speedtch dl_512_first=1

Unplug the modem and plug it back in again.  Does it
work?  What do you get in your system log?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Alcatel Speedtouch USB ADSL using PPPoA - firmware loads and then authentication

2007-01-30 Thread Duncan Sands

On Wednesday 31 January 2007 06:51:58 Duncan Sands wrote:
 
 Actually, now I come to think about it some more I suspect
 I know what the problem is.  Try doing this (as root):
 
   rmmod speedtch
   modprobe speedtch dl_512_first=1
 
 Unplug the modem and plug it back in again.  Does it
 work?  What do you get in your system log?

PS: A good test to see whether things have improved
is to check whether there is a device entry in
/proc/net/atm/devices

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Alcatel Speedtouch USB ADSL using PPPoA - firmware loads and then authentication

2007-01-26 Thread Duncan Sands

 Here's the output you requested of :cat /proc/net/atm/devices
 
 Itf Type  ESI/Macaddr  AAL(TX,err,RX,err,drop) ...  [refcnt]
 
 
 Hope that sheds some light - because I have no idea what it means.

It means that the modem failed to initialize properly, or initialized
ok but the device was disconnected (eg because of electrical problems
or because some part of your system forced a logical disconnect).  The
usual reason for failing to initialize is that there was a problem
uploading the firmware.  You said that was ok, so that leaves the other
possibility.  But rather than guessing, can you please send in your
entire system log.

Thanks,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: modem_run error 253 with openSuSE 10.2

2007-01-25 Thread Duncan Sands

 Hi! Sorry if this has been asked before, but an archive search on error 253 
 produced no results. Any ideas regarding this modem_run error 253 with 
 openSuSE 10.2? Thank you!

First of all, you don't need any of this because you have a kernel driver
that's taking care of (almost) everything:

 Jan 24 22:46:15 krypto kernel: speedtch 2-1:1.0: found stage 2 firmware 
 speedtch-2.bin
 Jan 24 22:46:22 krypto kernel: ATM dev 0: ADSL line is synchronising
 Jan 24 22:46:42 krypto kernel: ATM dev 0: ADSL line is up (2272 kb/s down | 
 288 kb/s up)

So I suggest you just use the kernel driver (see 
http://linux-usb.sourceforge.net/SpeedTouch/).
However, if you don't want to you don't have to!  As you can see, the script 
knows about the
kernel driver and tries to do something about it (it has to, since otherwise 
they'll be
fighting over the modem):

 The kernel speedtch module is loaded. This is not
 compatible with the speedtouch usermode driver.
 Removing the speedtch module

The problem with the script is:

 mount: mount point /proc/bus/usb does not exist

Try changing /proc/bus/usb to /dev/bus/usb/ in the script.
This problem is fatal.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch 330 synchronisation speed

2007-01-23 Thread Duncan Sands

Hi Chris,

 The  distribution  of Linux I am running is  IPCop,  which  is  a 
 dedicated  firewall  system.  This is  currently  running  kernel 
 2.4.31  and  as it comes as a dedicated firewall  the  kernel  is 
 compiled with specific functions. Using a latter kernel is not an 
 option.

ipcop probably uses the program modem_run to upload firmware from
userspace (the linux 2.6 driver does this itself).  I quickly hacked
modem_run to do the extra initialization that the 2.6.19 module does
(see patch below).  This compiles but is otherwise untested.  Please
let us know if it helps.

 Now to the firmware you kindly sent. I see from a latter  posting 
 that  you  say  it is the extended reach  drivers:  ZZZLP1.eni   
 ZZZLP2.eni. I assume that these are different to those inside the 
 package on the Thompson site ZZZL3.012.

I don't know.  Try extracting the firmware from ZZZL3.012 and using
md5sum (for example) to see if you get the same files.

 And this is my main problem. IPCop expects the modem firmware  to 
 appear  as  a single file, just like the one  on  the  Thompson 
 site.   Is there a way to combine these two files into one  which 
 will  work.  I have seen that there is a way to extract  the  two 
 files  from the Thomson file, what I need to do is put two  files 
 back into one. 

The modem_run changes may also help when using your existing
firmware.  However the firmware I sent comes from the extended
reach driver, which is designed for long lines, so it may work
better.

Duncan.

--- modem_run.c.orig2007-01-23 10:42:16.0 +0100
+++ modem_run.c 2007-01-23 10:49:57.0 +0100
@@ -77,6 +77,13 @@
 #define SIZE_e 1
 #define SIZE_f 1
 
+#define B_MAX_DSL  8128
+#define MODEM_MODE 11
+#define MODEM_OPTION_LENGTH16
+static unsigned char MODEM_OPTION[MODEM_OPTION_LENGTH] = {
+  0x10, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
0x00, 0x00, 0x00, 0x00
+};
+
 /*
 * Global variables
 **/
@@ -821,6 +828,30 @@
if (n0)
report(0, REPORT_ERROR, URB150\n);
 
+   /* Extra initialisation in recent drivers - gives higher speeds */
+
+   /* URBext1 */
+   buf[0] = MODEM_MODE;
+   n = pusb_control_msg(fdusb, 0x01, 0x40, 0x11, 0x00, buf, 1, 100);
+   if (n  0)
+   report(0, REPORT_ERROR, URBext1\n);
+
+   /* URBext2 */
+   /* This seems to be the one which actually triggers the higher sync
+  rate -- it does require the new firmware too, although it works OK
+  with older firmware */
+   n = pusb_control_msg(fdusb, 0x01, 0x40, 0x14, 0x00, MODEM_OPTION,
+   MODEM_OPTION_LENGTH, 100);
+   if (n  0)
+   report(0, REPORT_ERROR, URBext2\n);
+
+   /* URBext3 */
+   buf[0] = B_MAX_DSL  0xff;
+   buf[1] = B_MAX_DSL  8;
+   n = pusb_control_msg(fdusb, 0x01, 0x40, 0x12, 0x00, buf, 2, 100);
+   if (n  0)
+   report(0, REPORT_ERROR, URBext3\n);
+
 }
 
 /*

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se dىsinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Alcatel Speedtouch USB ADSL using PPPoA - firmware loads and then authentication

2007-01-23 Thread Duncan Sands

On Tuesday 23 January 2007 17:31, Samuel Adams wrote:
 Duncan,
 
 Here's the output of pppd call speedtch debug...
 
 from the terminal:
 
 Plugin pppoatm.so loaded.
 Connect (8,35): No such device.
 
 and from the syslog:
 
 localhost pppd[5204]: Plugin pppoatm.so loaded.
 localhost pppd[5204]: pppd 2.4.b1 started by root, uid0
 localhost pppd[5204]: Connect (8,35): No such device.
 
 
 In the original boot portion of the log, kernel also tells me that it 
 registered a new driver speedtch and that both stage one and two 
 firmware were found.

What does
cat /proc/net/atm/devices
return?

D.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Alcatel Speedtouch USB ADSL using PPPoA - firmware loads and then authentication

2007-01-21 Thread Duncan Sands

 sometimes there is an entry for pppd, sometimes not. If there is, it says 
 authentication failed. (even though I used the noauth command in my 
 speedtch script) Additionally ntp reports that ntp.ubuntu.org cannot be 
 found. Also DHCP persistently is trying to do something with eth0 - why, I 
 don't know. (yes I did use defaultroute and pppoatm.so in my script just as 
 the instructions said to)

Try doing
pppd call speedtch debug
as root.  What output do you get?

Thanks,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Alcatel Speedtouch USB ADSL using PPPoA - firmware loads and then authentication

2007-01-21 Thread Duncan Sands

PS: debug output from pppd call speedtch debug will most
likely appear in your system logs, not in the terminal.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch 330 synchronisation speed

2007-01-21 Thread Duncan Sands

On Sunday 21 January 2007 12:14, Clive Messer wrote:
 
 On Friday 19 January 2007 16:49, Duncan Sands wrote:
 
  PS: You may also need the attached firmware.
 
 
  -- Binary/unsupported file stripped by Listar --
  -- Type: application/octet-stream
  -- File: speedtch-1.bin.4
 
 
  -- Binary/unsupported file stripped by Listar --
  -- Type: application/octet-stream
  -- File: speedtch-2.bin.4
 
 Duncan,
 
 Firmware was removed from post. What version of firmware was this?

This is from the extended reach driver: ZZZLP1.eni  ZZZLP2.eni

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se dىsinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch 330 synchronisation speed

2007-01-19 Thread Duncan Sands

 Why  should a Thompson SpeedTouch 330 running under Windows  2000 
 synchronise with the line at a consistently higher rate, than the 
 same  modem,  on the same hardware, using the same  line,   under 
 IPCop using the Linux firmware/driver ZZZL_3.012(Both kernel  and 
 user mode drivers).

Try the latest kernel driver (kernel 2.6.19): it should synchronize
at a higher speed.

Ciao,

Duncan.

PS: You may also need the attached firmware.


-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: speedtch-1.bin.4


-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: speedtch-2.bin.4


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se dىsinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Installing Speedtouch 330 USB modem for portugal SAPO at Ubuntu Edgy Eft

2007-01-17 Thread Duncan Sands

  Is br2684 module (or maybe include in kernel but I have not tested)
  selected
  in your kernel .config?

 Yes, i am using br2684 that i downloaded from http://gothicx.blogs.sapo.pt

Gilles was asking about the kernel module, which is something else.  What
is the output of running this command:

grep CONFIG_ATM_BR2684 /boot/config*

?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: How to start

2007-01-04 Thread Duncan Sands

Second I am trying to do this manually now but the instructions on this 
  web
  page:
http://www.linux-usb.org/SpeedTouch/mandrake/index-es.html
Asks me to make a file called firmware-extractor.txt executable, how can I
  make it executable?
 
 chmod 755 firmware-extractor
 it should not have a .txt extension, linux won't care about that but as it is 
 an
 c program compiled to an elf excutable, it woul look strange to name it with
 .txt

Did you download using internet explorer?  If so, it may well have corrupted the
file...  I'm sending it to you as an attachment.

Ciao,

Duncan.


-- Binary/unsupported file stripped by Listar --
-- Type: application/x-executable
-- File: firmware-extractor


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: gyp from kernel 2.6.17.8

2007-01-03 Thread Duncan Sands

 Yes, once MODULE_UNLOAD is set MODULE_FORCE_UNLOAD is on via the
 default configuration options in 2.6.19.1. That said, looking back through
 my cvs it seems that I on earlier versions I had explicitly set it (although
 why I don't know).
 
 Should I try unsetting it?

Please do.  I'm not saying it will cure your problems, but I suspect it
will get rid of the Unknown symbol messages.

Ciao,

D.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: packet loss with kernel 2.6.17.8

2007-01-03 Thread Duncan Sands

 Well, here are the results...

 Dec 31 16:21:31 pfw kernel: ATM dev 0: usbatm_extract_one_cell: unknown 
 vpi/vci (0/3656)!
 Dec 31 16:44:42 pfw kernel: ATM dev 0: usbatm_extract_one_cell: unknown 
 vpi/vci (92/7393)!
 Dec 31 18:57:27 pfw kernel: ATM dev 0: usbatm_extract_one_cell: unknown 
 vpi/vci (160/297)!
 Dec 31 20:22:22 pfw kernel: ATM dev 0: usbatm_extract_one_cell: packet failed 
 crc check (vcc: 0xd6812400)!
 Dec 31 20:22:27 pfw kernel: ATM dev 0: usbatm_extract_one_cell: packet failed 
 crc check (vcc: 0xd6812400)!
 Dec 31 20:22:28 pfw kernel: ATM dev 0: usbatm_extract_one_cell: packet failed 
 crc check (vcc: 0xd6812400)!
 Dec 31 20:22:31 pfw kernel: ATM dev 0: usbatm_extract_one_cell: bogus 
 pdu_length 192 (sarb-len: 144, vcc: 0xd6812400)!
 Dec 31 21:01:38 pfw kernel: ATM dev 0: usbatm_extract_one_cell: packet failed 
 crc check (vcc: 0xd6812400)!

OK, it looks like it got a corrupt packet, or part of a packet, and is failing 
to recover.

 The machines were only handling minute quantities of mail and news.
 The mail feed failed at 1:20 and never restarted. News died at a
 similar time, although it did make contact a few times overnight.
 Pinging the other end of the ppp link this morning reported 40%
 packet loss, which might explain why news could get through
 sporadically. I guess everything keels over only when packet loss
 gets to 80% or so.
 
 What does this look like to you? Noise on the line?

Or electrical interference - try plugging into a different USB port, and make 
sure there
are no power cables near the modem's usb cable.

One thing that comes to mind, is that the driver's ability to recover from bad 
bulk packets
was weakened slightly when the iso support went in.  Does the following patch 
help?

--- usbatm.c26 Oct 2006 12:55:31 -  1.69
+++ usbatm.c3 Jan 2007 21:41:30 -
@@ -421,7 +421,7 @@ static void usbatm_extract_cells(struct 
/* extract cells from incoming data, taking into account that
 * the length of avail data may not be a multiple of stride */
 
-   if (buf_usage  0) {
+   if (0) {
/* we have a partially received atm cell */
unsigned char *cell_buf = instance-cell_buf;
unsigned int space_left = stride - buf_usage;

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: gyp from kernel 2.6.17.8

2007-01-03 Thread Duncan Sands

Hi Steve,

  There's an experimental feature which only works with speedtouch 330s or
  better: download using isochronous urbs, rather than bulk urbs.  This
  should improve performance on high speed connections.  You can turn it
  on with enable_isoc=1.  It may be worth turning on, because one possible
  explanation for your problem is that data is coming into the modem faster
  than it is being extracted by the computer, and some buffers in the modem
  are overflowing.  Of course this wouldn't happen in a bug free world...
  Try some recent firmware, such as bin/sachu3/zzzlp2.eni from
  http://www.speedtouch.co.uk/downloads/330/301/UK3012%20Extended.zip
 
 Interesting. I'm currently using ZZZL_3.012 from
 http://www.speedtouchdsl.com/download/drivers/USB/SpeedTouch330_firmware_3012.zip
 this being the only file which the firmware extractor at
 http://www.linux-usb.org/SpeedTouch/firmware/firmware-extractor.tar.gz
 will extract.
 
 I tried the URL you quoted but it has moved, so I briefly scouted their web
 site and came up with a few possibles:
 
 None of the links on 
 http://www.speedtouch.co.uk/codepages/content3.asp?c=7ProductID=471
 work whilst http://www.speedtouch.com/support.htm leads to
 http://www.speedtouch.com/download/drivers/USB/SpeedTouch330_firmware_3012.zip
 which looks like what I'm running now.

There's also http://www.speedtouch.co.uk/products/faq.asp?ProductID=471.  
Probably
you want the Driver for 8M lines.

 Any ideas where the new firmware is? Do I need a new firmware extractor too?

I've no idea where the extended reach driver went.  Since I downloaded it
without having to agree to any licence conditions etc (the download doesn't
contain a licence either) I will send the firmware to anyone who asks, unless
Thomson asks me to stop.

 Here are the results of booting the box with CONFIG_USB_DEBUG on:
 
 If I boot 2.6.19.1 with the modem is plugged in during the boot the results
 are no different to what you've seen already. I assume this is something
 to do with klogd not having started at that point in the boot.
 
 The results do not change if dl_512_first=1 is in modprobe.conf or not.
 
 If I put enable_isoc=1 in modprobe.conf the boot now proceeds past loading
 the speedtch module, allowing other modules to load normally. The messages
 are unchanged however.
 
 But if I unplug the modem during the boot and plug it in after logging in
 it all becomes much clearer. Here is an snippet of the relevant messages:
...
  Modem plugged in
 usb usb1: wakeup_rh (auto-start)
 hub 1-0:1.0: state 7 ports 2 chg  evt 0004
 uhci_hcd :00:07.2: port 2 portsc 0093,00
 hub 1-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
 hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101
 usb 1-2: new full speed USB device using uhci_hcd and address 2
 usb 1-2: ep0 maxpacket = 8
 usb 1-2: default language 0x0409
 usb 1-2: new device strings: Mfr=1, Product=2, SerialNumber=3
 usb 1-2: Product: Speed Touch 330
 usb 1-2: Manufacturer: THOMSON
 usb 1-2: SerialNumber: 
 usb 1-2: uevent
 usb 1-2: usb_probe_device
 usb 1-2: configuration #1 chosen from 1 choice
 usb 1-2: adding 1-2:1.0 (config #1, interface 0)
 usb 1-2:1.0: uevent
 usb 1-2: usb_probe_device
 usb 1-2: configuration #1 chosen from 1 choice
 usb 1-2: adding 1-2:1.0 (config #1, interface 0)
 usb 1-2:1.0: uevent
 usb 1-2: adding 1-2:1.1 (config #1, interface 1)
 usb 1-2:1.1: uevent
 usb 1-2: adding 1-2:1.2 (config #1, interface 2)
 usb 1-2:1.2: uevent
 drivers/usb/core/inode.c: creating file '002'
 hub 1-0:1.0: state 7 ports 2 chg  evt 0004
 drivers/usb/atm/usbatm.c: usbatm_usb_init: driver version 1.10
 drivers/usb/atm/speedtch.c: speedtch_usb_init: driver version 1.10

Module is loaded.

 speedtch 1-2:1.0: usb_probe_interface
 speedtch 1-2:1.0: usb_probe_interface - got id
 speedtch 1-2:1.0: usbatm_usb_probe: trying driver speedtch with vendor=06b9, 
 product=4061, ifnum  0
 speedtch 1-2:1.0: speedtch_bind entered

Probe.

 usb 1-2: modprobe timed out on ep0in len=0/1
 speedtch 1-2:1.0: speedtch_bind: firmware not loaded
 usb 1-2: reset full speed USB device using uhci_hcd and address 2

Device reset before firmware upload.

 usb 1-2: ep0 maxpacket = 8
  usbdev1.2_ep81: ep_device_release called for usbdev1.2_ep81
  usbdev1.2_ep06: ep_device_release called for usbdev1.2_ep06
  usbdev1.2_ep07: ep_device_release called for usbdev1.2_ep07
  usbdev1.2_ep87: ep_device_release called for usbdev1.2_ep87
  usbdev1.2_ep05: ep_device_release called for usbdev1.2_ep05
  usbdev1.2_ep85: ep_device_release called for usbdev1.2_ep85
 speedtch 1-2:1.0: usbatm_usb_probe: using 3840 byte buffer for rx channel 
 0xd3d330ac
 speedtch 1-2:1.0: usbatm_usb_probe: using 3392 byte buffer for tx channel 
 0xd3d330f8
 speedtch 1-2:1.0: speedtch_find_firmware: looking for speedtch-1.bin.4.00
 usbcore: registered new interface driver speedtch
 drivers/usb/atm/speedtch.c: speedtch_usb_cleanup

Here someone asks for the module to be 

[speedtouch] Re: speedtouch 330 - a lot of usb_submit_urb returned -22 messages

2007-01-03 Thread Duncan Sands

 On Tue, Jan 02, 2007 at 11:45:24AM +0100, Duncan Sands wrote:
  
   e) various other cases
  
  This is us.  I hope to look into this further tonight.

Well, the only potentially relevant test I could find
in the uhci hcd is that it returns -EINVAL if the USB
device is low speed.  But yours is high speed!  Maybe
the urb is being sent to the wrong device... is there
a low speed device plugged in too?

Also, can you please apply the following patch to your
kernel, and send in system logs again with it applied.

Thanks,

Duncan.

diff --git a/drivers/usb/core/urb.c b/drivers/usb/core/urb.c
index 9801d08..0352342 100644
--- a/drivers/usb/core/urb.c
+++ b/drivers/usb/core/urb.c
@@ -373,6 +373,9 @@ int usb_submit_urb(struct urb *urb, gfp_t mem_flags)
urb-interval = temp;
}
 
+   if (usb_pipetype (pipe) == PIPE_BULK)
+   printk(hello world!\n);
+
return usb_hcd_submit_urb (urb, mem_flags);
 }
 

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: speedtouch 330 - a lot of usb_submit_urb returned -22 messages

2007-01-02 Thread Duncan Sands

 e) various other cases

This is us.  I hope to look into this further tonight.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: gyp from kernel 2.6.17.8

2007-01-01 Thread Duncan Sands

  NET: Unregistered protocol family 20
  speedtch: Unknown symbol usbatm_usb_disconnect
  speedtch: Unknown symbol usbatm_usb_probe
  
  I don't know what these unknown symbols are about.
 
 Neither do I

Just a thought: do you have CONFIG_MODULE_FORCE_UNLOAD
set in your kernel's .config?

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: speedtouch 330 - a lot of usb_submit_urb returned -22 messages

2007-01-01 Thread Duncan Sands

 usb 1-2: usbdev_ioctl: SUBMITURB
 usb 1-2: bulk urb
 usb 1-2: submit urb
 usb 1-2: direction=IN
 usb 1-2: userurb=bf82efec
 usb 1-2: transfer_buffer_length=6
 usb 1-2: actual_length=0
 usb 1-2: data: c0 01 0f 00 00 00 
 usb 1-2: usbfs: usb_submit_urb returned -22

It looks to me like -EINVAL (-22) is being returned
from the host controller driver (hcd).  Which one
are you using?  uhci_hcd, ehci_hcd, ohci_hcd ?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: speedtouch 330 - a lot of usb_submit_urb returned -22 messages

2006-12-31 Thread Duncan Sands

  So can you please
  do the following: make sure that usbcore is loaded with usbfs_snoop=1
  (usbfs_snoop is a module parameter).  You can do this by (as root)
  removing usbcore then reloading it:
  
  rmmod usbcore
  modprobe usbcore usbfs_snoop=1
 In new kernel I compiled usbcore into kernel, not as a modules. 
 so IFAIK to load usbcore with parameter, I should append 
 to kernel commandline usbfs_snoop=1 right ?? 

No, it should (I think) be: usbcore.usbfs_snoop=1
There's a general mechanism in the kernel whereby
parameter p for module m can be specified on the
kernel command line as m.p

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: gyp from kernel 2.6.17.8

2006-12-31 Thread Duncan Sands

  Lots changed in the kernel and the USB layer.  Nothing changed in
  the speedtouch driver between 2.6.17 and 2.6.18.  There were some
  changes for 2.6.19.
 
 Yes, I noticed. My question was really to do with the USB stuff, mainly
 because this all started when I experienced massive packet loss with
 2.6.17.8. In particular (and I think it was mentioned on this list) I
 remember reading of problems being experienced with failed URBs when a
 packet full of 0xff's was received; it seemed that the URBs would get
 lost somewhere in the USB stack, although I do not remember seeing a
 fix. Of course my memory could be deceiving me.

What host controller driver are you using?  uhci underwent major surgery
during this time.  Also, I understand that the 0xff problem you mentioned
was fixed.

  Are you using enable_isoc=1?
 
 Nope. What does it do? The only option I have set is dl_512_first=1,
 which I turned on in a vain attempt to get speedtch working way back
 when I first bought the modem and was doing battle with udev. I'm sure I
 could remove it without it making any difference.

There's an experimental feature which only works with speedtouch 330s or
better: download using isochronous urbs, rather than bulk urbs.  This
should improve performance on high speed connections.  You can turn it
on with enable_isoc=1.  It may be worth turning on, because one possible
explanation for your problem is that data is coming into the modem faster
than it is being extracted by the computer, and some buffers in the modem
are overflowing.  Of course this wouldn't happen in a bug free world...
Try some recent firmware, such as bin/sachu3/zzzlp2.eni from
http://www.speedtouch.co.uk/downloads/330/301/UK3012%20Extended.zip

   Do you also have the userspace driver
  (it could be forceably disconnecting the kernel module).
 
 Nope. The only software running at this point is the kernel, udevd,
 udevtrigger and then udevsettle, plus whatever they spawn (modprobe and
 the mounting of /proc/bus/usb). Might udev have something to do with
 this, perhaps by loading modules before their dependencies are properly
 initialized?

Maybe usbatm is built into the kernel, but speedtouch is a module, or
vice-versa?

 On a further note, I have captured an instance of my connection going 
 down inexplicably using 2.6.17.8, and I wonder if you could pass 
 judgement on why this happens.
 
 At 21:39 on Boxing Day I started experiencing heavy packet loss. Apart 
 from a few bots (like the news spool) which slowly choked to death, 
 nothing much happened, and nothing appeared in the logs until this:
 
 Dec 26 21:59:12 pfw kernel: ATM dev 0: usbatm_complete: urb 0xd7135ba0 
 failed (-84)!
 Dec 26 21:59:12 pfw kernel: ATM dev 0: usbatm_complete: urb 0xd7135b20 
 failed (-84)!
 Dec 26 21:59:12 pfw kernel: ATM dev 0: usbatm_complete: urb 0xd7135ca0 
 failed (-84)!
 Dec 26 21:59:12 pfw kernel: ATM dev 0: usbatm_complete: urb 0xd7135c20 
 failed (-84)!
 Dec 26 21:59:13 pfw kernel: usb 1-2: USB disconnect, address 2
 Dec 26 21:59:13 pfw kernel: uhci_hcd :00:07.2: remove, state 1
 Dec 26 21:59:13 pfw kernel: usb usb1: USB disconnect, address 1
 Dec 26 21:59:13 pfw kernel: hub 1-0:1.0: hub_port_status failed (err = -19)
 Dec 26 21:59:13 pfw kernel: hub 1-0:1.0: connect-debounce failed, port 2 
 disabled
 Dec 26 21:59:13 pfw kernel: hub 1-0:1.0: cannot disable port 2 (err = -19)
 Dec 26 21:59:13 pfw kernel: uhci_hcd :00:07.2: USB bus 1 deregistered
 Dec 26 21:59:13 pfw kernel: ACPI: PCI interrupt for device :00:07.2 
 disabled
 
 after which packet loss was 100% (obviously), but pppd (2.4.4) remained
 up for hours until I rebooted. It has gone down a few times since then
 without so much as a squeak from the kernel, just massive packet loss.
 Any ideas?

The pppd behavior is known and annoying - it needs changes to the kernel's
pppoatm module, but I never managed to convince its author of that.  As for
the above, I think it would be best to wait for the CONFIG_USB_DEBUG results
before speculating.

Best wishes,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: speedtouch ST330 USB works from time to time on opensuse 10.0

2006-12-22 Thread Duncan Sands

I notice that whenever it fails you have this message
ifup: No configuration found for ppp0

 Dec 22 01:41:48 linux pppd[5772]: sent [LCP ConfReq id=0x1 asyncmap 0x0 
 magic 0x278274c1]
 Dec 22 01:41:49 linux ifup: No configuration found for ppp0
 Dec 22 01:41:51 linux pppd[5772]: sent [LCP ConfReq id=0x1 asyncmap 0x0 
 magic 0x278274c1]

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: bringing up interface ppp0 fails

2006-12-21 Thread Duncan Sands

Hi,

 I have the following:
 
 Speedtouch 330 silver, 
 2 hard drives, one with FC6 adn one with FC5 and Windows.  I have just
 isntalled the FC6.
 
 the speedtouch instructions work well but:
 
 If I boot from the FC5 and Winfdows drive all is well
 
 If I boot from the FC6 drive with teh FC5 hard drive PHYSICALLY
 disconnected, all is well
 
 If I make teh FC6 drive the boot disk but leave the other one connected,
 then it fials to initialize, hanging up at 'bringing up interface ppp0'.
 
 Any ideas would be most welcome - diving in and out of my machine
 pulling plugs out is not a very good idea I suspect!

it sounds like a timing issue.  It's important not to try to bring up
ppp0 too fast after the modem is discovered by the USB subsystem.  Most
scripts (eg: hotplug or boot scripts) have a delay (eg: sleep 10) to
make sure the modem is ready before running pppd.  Try increasing the
delay.

Ciao,

D.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se dىsinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: bringing up interface ppp0 fails

2006-12-21 Thread Duncan Sands

 sorry ot be a pain but where exactly woudl i find this? what filenme 
 shoidl i search for??

Dunno.  What instructions did you follow to install the modem?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se dىsinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: connfirm report: speedtouch working on OpenSUSE 10.1

2006-12-06 Thread Duncan Sands

 Will be nice the webmaster of the page known about
 this and correct the error if this exists.

Unfortunately our webmaster, who did a wonderful job,
can't work on it anymore.  Any volunteers to take it
over?

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: SpeedTouch 330 on Fedora core 6

2006-11-06 Thread Duncan Sands

On Monday 6 November 2006 20:50, Ilaria Zanellato wrote:
 Hi,
 I've just moved to linux, installing Fedora core 6. I followed the 
 instructions at http://www.linux-usb.org/SpeedTouch/fedora/index.html using 
 the steps appropriate for PPPoA. I have a revision 4 modem.
 When
 I boot my PC, the ASDL light flashes, then becomes green as the other
 one. So, I think the firmware has been installed correctly. 
 Then,
 I have installed pppd, but I can't make it work. When I run sudo pppd
 call speedtch as user, it asks for a password, but it doesn't accept
 the password for my account. It says something like sorry, try again.

Probably it wants the root password.  Whether it wants the root password
or your password depends on how sudo has been configured.  If you have a
line like
Defaults targetpw
in /etc/sudoers then that means that sudo will ask for the root password;
if you comment it out with a # then it will ask for your password.

 I have controlled /etc/ppp/chap-secrets and /etc/ppp/pap-secrets, and
 they're ok. When I run the same string as root, I have no response.

What does have no response mean?  Do you get a command line prompt
back again (i.e. the command finishes executing)?  Can you please copy
and paste the exact output into an email and send it to the list.

 I tried to connect using
  sbin/ifup ppp0 and it returned: ./network-functions: line 78: ifcfg.ppp0: 
 Permission denied.
 Is it possible to use a simpler way to connect, as kppp? 

I don't know: I never used fedora and I don't know anything about kppp (sorry).

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: FIXED: Re: Silently stops working intermittently

2006-10-12 Thread Duncan Sands

 As suggested in the analysis cited above, this fault means that
 downloading a file over HTTP consisting of all ones (i.e. 0xff * lots)
 reproduces the fault reliably. I've tested this on the newer kernel
 and it now downloads correctly.

Great!

Glad it worked out,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Silently stops working intermittently

2006-10-11 Thread Duncan Sands

 I've got a Speedtouch 4.00 connected to my old Linux box as an ADSL
 router. After a few problems getting the firmware images, it all
 worked fine.
 
 The problem I have now, is that it intermittently stops working,
 silently, with no error messages.

Let me guess: kernel 2.6.17 ?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Lastest 2.6.17 kernels working (?)

2006-10-07 Thread Duncan Sands

 there have been reports that speedtouch is broken in 2.6.17 kernels:
 
 http://lists.infradead.org/pipermail/usbatm/2006-August/000863.html
 http://www.mail-archive.com/speedtouch%40ml.free.fr/msg08172.html
 
 Before I try myself with the Debian etch kernel (2.6.17.12), can anybody 
 tell, 
 if the problem is fixed there?

Hi Rainer, it has most likely been fixed.  I say most likely because I was
unable to test the proposed fix because my internet connection was cut off
(for two months)!

Best wishes,

Duncan.

PS: It wasn't a problem with the speedtch driver: it was due to a mistake
in the usb core.  It showed up very visibly with speedtouch modems, but
could also affect other devices.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Modem Revision?

2006-10-01 Thread Duncan Sands

On Saturday 30 September 2006 23:43, Andrew Benton wrote:
 Hello world,
 Is there a way to get the kernel to say what revision of Speedtouch is 
 attached it? Perhaps by reading a file in /proc or /sys? It used to have 
 details in /proc/bus/usb/devices but that file doesn't seem to be there 
 anymore. I think it disappeared with the 2.6.16 kernel?
 So, does anyone know of a command to find out what revision of modem is 
 connected to a usb port?

You just need to mount usbfs, eg:
mount -t usbfs usbfs /proc/bus/usb
then have a look in /proc/bus/usb/devices.
You can also look in /sys/bus/usb/speedtch/(device_name)/version

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Fedora Issues with kernel 2.6.17

2006-07-12 Thread Duncan Sands

On Wednesday 12 July 2006 12:07, Clive Messer wrote:
 Duncan,
 
 Are you aware of the issue on Fedora 45 with a 2.6.17 kernel?
 
 https://www.redhat.com/archives/fedora-list/2006-June/msg03963.html
 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=196560

Yes I am, see

http://bugzilla.kernel.org/show_bug.cgi?id=6752

Best wishes,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Problems with speedtouch and 2.6.17?

2006-07-12 Thread Duncan Sands

On Wednesday 12 July 2006 12:34, Andy Duplain wrote:
 Duncan, I have been having problems with connections dying under 2.6.17, 
 which disappear when I revert to 2.6.16.20.  I saw a message on linux.kernel 
 that you have received a couple of reports like this.  You seem to think it's 
 not related directly to speedtch, given few changes were made between .16 and 
 .17 - any progress of where the problem is, or where I can look for such 
 progress?

Hi Andy, look in http://bugzilla.kernel.org/show_bug.cgi?id=6752

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: problems with alcatel usb speedtouch and suse 10.1

2006-07-05 Thread Duncan Sands

 Jun 28 19:30:39 x- pppd[2182]: LCP: timeout sending Config-Requests
 Jun 28 19:30:39 x- pppd[2182]: Connection terminated.
 Jun 28 19:30:39 x- pppd[2182]: Modem hangup
 Jun 28 19:30:39 x- pppd[2182]: Exit.

Most likely wrong vpi.vci
What are you using?

D.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: speedtouch rev 0 on RBE

2006-07-03 Thread Duncan Sands

 Yes, I saw the thread but I don't understood :-). I think it's very
 technical... maybe someone
  has a pragmatic and easier way to do it.

From http://www.mail-archive.com/speedtouch%40ml.free.fr/msg07980.html:

Basically to start a routed IP connection, you need those data:
- LOCAL_IP (your IP)
- REMOTE_IP (the first IP when doing tracert/traceroute)
- VPI.VCI
- ENCAPS (this is where llc/vc-mux settings goes)

export LOCAL_IP=your_ip_address
export REM_IP=gateway_address
export ENCAPS=null_or_nothing
atmarpd -b -l syslog
# it will fail on all attempt after the first because interface still exist
atmarp -c atm0
ifconfig atm0 $LOCAL_IP netmask 255.255.255.0 up
sleep 2

# set ENCAP to 'null' for vc-mux and nothing for llc
atmarp -s $REM_IP $VPI.$VCI $ENCAPS
route add default gw $REM_IP

For example, my ip address is 82.67.197.146, so I would do
export LOCAL_IP=82.67.197.146
My gateway is the same as my ip address, except that it's
254 at the end, not 146:
export REM_IP=82.67.197.254
With my ISP I need ENCAPS=null (try also ENCAPS=):
export ENCAPS=null

Good luck,

Duncan.
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: problems with alcatel usb speedtouch and suse 10.1

2006-06-30 Thread Duncan Sands

 The extra messages may be in your system logs.  Have a look in
 /var/log/messages or /var/log/syslog to see if any turned up.
 
 Ciao,
 
 D.
 
 oh i see...
 
 this is what i get then..

Hmmm, that's not it either.  Are you really really sure you ran
pppd with the debug option?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: problems with alcatel usb speedtouch and suse 10.1

2006-06-29 Thread Duncan Sands

 running pppd with the debug option doesn't produce more messages.. the 
 output is excactly the same..

The extra messages may be in your system logs.  Have a look in
/var/log/messages or /var/log/syslog to see if any turned up.

Ciao,

D.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: problems with alcatel usb speedtouch and suse 10.1

2006-06-27 Thread Duncan Sands

Try running pppd with the debug option.  For example,
if before you ran it using
pppd call speedtouch
now run it using
pppd call speedtouch debug
This will produce more details about what pppd is doing.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Speedtouch and software suspend

2006-06-25 Thread Duncan Sands

 Does this mean speedtch isn't written with suspend in mind?

It does, mainly because I've never suspended a computer
in my life!  Please feel free to add suspend support; I'll
also add it to my list of things to do.

Ciao,

D.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Problem with Usb and pppd on disconnection of speedtouch

2006-06-08 Thread Duncan Sands

Hi Vouno,

 thanks for your answer.
 I'd like to have some more details.
 
 
  The only way i found to reestabilish the connection is the reboot of the
 computer.
 
 Hi Vouno, try applying the following patch to pppd's pppoatm.c:
 
 
 I think this is a patch to apply to recompile the kernel so to tell to 
 pppoatm to use every device it is able to find.

no, there is no need to recompile the kernel.  It is a patch to pppd: you
need to recompile pppd.

 Is it possible there isn't a way to tell to module pppoatm to look for 
 another device without recompile everything ?

There is: if you use 0.8.35 (for example) in your pppd options file, then it
will try to connect using atm device 0 (check out /proc/net/atm/devices).  If
you use 1.8.35 then it will try to connect using atm device 1.  There is no
need to modify pppd or the kernel to get this to work.  However, if you want
to say: use any available device then the syntax is *.8.35, which is supported
by the kernel (more or less), but needs a tiny change to pppd: the patch I
sent.

You may wonder why I am talking about different atm devices here - after all,
isn't there just one device, your modem?  Yes there is, but I think you'll
find that when the modem gets disconnected and reconnected, that it has
reconnected as atm device 1, not atm device 0 anymore.  If you have 8.35
in your options file, then pppd interprets this as 0.8.35 and will only
connect via atm device 0.

 I'm not able to read the code in pppoatm.c but somewhere there should be a 
 pointer to the device.
 Maybe in /proc i could change something via script to give pppoatm the right 
 references.
 What do you think about it ?

Sorry, there is currently no way to do this.  However, you could read
/proc/net/atm/devices, work out which atm device the modem has connected
as, and then pass the right x.8.35 (or whatever) option to pppd.

 I'm actually using pppd 2.4.3 on kernel 2.6.8. If this is the only way to 
 solve the problem than i'll use it, but before i'll look more infos on this.
 
 Another strange thing is the disconnection and reconnection of the usb port.

Yeah.  Some usb chipsets are buggy (eg: VIA, maybe better nowadays); some
have problems with the amount of current the original speedtouch modems draw.
Also, a gazillion USB bugs have been fixed in the 2.6 kernels which haven't
been backported to 2.4, so try a 2.6 kernel.

 Googling around i found other references to this behavior, but all with old 
 kernels (2.4.x e 2.6.1).
 
 Last question. Where did you find this patch ? I couldn't find refs anywhere.

It was easy for me to find because I wrote it :)  There was a big discussion
on the linux-atm mailing list some time ago, but I can't find it in the
archive for some reason.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Problem with Usb and pppd on disconnection of speedtouch

2006-06-06 Thread Duncan Sands

 At this point  if i launch ppp call adsl updetach the connection cannot be 
 completed with this error:
 
 #Plugin pppoatm.so loaded.
 #connect(8.35): Address already in use
 
 The ppp0 interface is still active. It didn't recognize the modem 
 disconnection.
 
 So, now i kill the pppd daemon.
 
 The error now is:
 
 #Plugin pppoatm.so loaded.
 #connect(8.35): No such device
 
 This is the thing i can't figure out.
 
 The only way i found to reestabilish the connection is the reboot of the 
 computer.

Hi Vouno, try applying the following patch to pppd's pppoatm.c:

--- pppoatm.c   6 Nov 2004 11:36:54 -   1.1
+++ pppoatm.c   13 Nov 2005 15:48:03 -
@@ -75,7 +75,7 @@ static int setdevname_pppoatm(const char
//info(PPPoATM setdevname_pppoatm: '%s', cp);
memset(addr, 0, sizeof addr);
if (text2atm(cp, (struct sockaddr *) addr, sizeof(addr),
-   T2A_PVC | T2A_NAME)  0) {
+   T2A_PVC | T2A_NAME | T2A_WILDCARD)  0) {
if(doit)
info(atm does not recognize: %s, cp);
return 0;

Then, in your pppd options file, change the VPI.VCI you use
to *.VPI.VCI, for example if you used 8.35 before, now put
*.8.35

If you have a recent kernel, this will hopefully fix your
problem.  If you have an older kernel then either it will
work or it will crash your kernel...  so be prepared for
bad things.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: failure to link suse to speedtch modem

2006-05-11 Thread Duncan Sands

 Duncan: replies to your questions.

Did you do this at a time when pppd was failing
to connect?

Thanks,

D.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: failure to connect suse to speedtouch modem

2006-05-10 Thread Duncan Sands

 1  Logged in as myself, switched to root then issued pppd call speedtch.  
 Output appended below.
 Click on Firefox and page opens and allows me to visit other websites.
 ping 68.142.226.54 produces the line '64 bytes from 68.142.226.54 icmp_seq=31 
 ttl=57 time = xxx'.
 The value of xxx increments for several seconds until eventually I close the 
 terminal window.

 2  Switch user from root to myself and Firefox opens without problems; ping 
 result as before.
 
 3  Reboot, click Firefox, get 'www.novell.com cannot be found' message; open 
 terminal window,
 issue su and pppd etc commands, this time Firefox opens OK.

From this is seems clear that pppd is not being run, or is being run 
unsuccessfully at system
boot time.

 4  Reboot into Windows, back into Suse, open terminal window for su/pppd etc, 
 this time
 I get only the first 7 lines of the script below, just up to 'sent' but with 
 no 'rcvd'
 (although line 4 says 'using channel 0').  This line repeats over and over 
 again.
 When I try to open Firefox I'm back to the 'www.novell.com cannot be found' 
 message.
 Retrying pppd call speedtch has no effect.

This is interesting.  It seems clear that the firmware loaded ok, since 
otherwise
pppd would have failed at once.  The most likely explanation is that the line is
failing to synchronize.  Next time you get into this situation (pppd call 
speedtch
gets stuck at send), can you please send me the output of the following 
commands:
(a)
dmesg | grep ATM\|speedtch
(b)
cat /proc/bus/usb/devices

(you may need to do
mount -t usbfs usbfs /proc/bus/usb
as root before trying (b)).

Also:
(c)
cat /proc/net/atm/speed*

Thanks a lot,

Duncan.
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: failure to connect suse to speedtouch modem

2006-05-09 Thread Duncan Sands

 2 If I try to open Firefox I get the message 'www.novell.com could not be 
 found'.
 
 3 ping 68.142.226.54 generates the message 'network is unreachable'.

If you do
pppd call speedtch
as the super-user (root), and then try again 2 and 3 above, do things work 
better?
If so, that would be very informative.

 May 9 20:03:29 linux kernel: usbcore: registered new driver speedtch

Found the driver for your modem.

 May 9 20:03:29 linux kernel: speedtch 2-2:1.0: found stage 1 firmware 
 speedtch-1.bin
 May 9 20:03:29 linux kernel: speedtch 2-2:1.0: found stage 2 firmware 
 speedtch-2.bin

The driver found the firmware, and uploaded it into the modem.

 May 9 20:03:29 linux kernel: ATM dev 0: ADSL line is synchronising

Synchronizing with the equipment down in the telephone exchange.

 May 9 20:03:44 linux kernel: ATM dev 0: ADSL line is up (1152 kb/s down | 288 
 kb/s up)

Synchronized and ready to go.

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: failure to link suse to SpeedTouch modem

2006-05-08 Thread Duncan Sands

 pppoa is easier because you don't need br2684ctl to create the nas0 
 interface. Go with pppoa

He may not have the choice.  He needs to ask his ISP whether it
uses PPPoA (ppp over ATM) or PPPoE (ppp over ethernet) or something
else.

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se d�sinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: failure to link suse to speedtouch modem

2006-05-08 Thread Duncan Sands

 local IP address 84.69.1.48
 remote IP address 62.25.198.171
 primary DNS address 195.92.195.95
 secondary DNS address 195.92.195.94

You are online!  What happens if you do:

ping 68.142.226.54

?
 
 Modem lights still blinking continuously red on boot.

And after booting?

Ciao,

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: failure to link suse with SpeedTouch modem

2006-05-08 Thread Duncan Sands

 
  Just out of curiosity, the file to configure etc/ppp/peers/speedtch had 6
 commented lines to disable compression.
  Would uncommenting them have changed anything?
 
 It would have suppressed this
 sent [CCP ConfReq id=0x1 deflate 15 deflate(old#) 15 bsd v1 15]
 sent [IPCP ConfReq id=0x1 compress VJ 0f 01 addr 0.0.0.0 ms-dns1
 0.0.0.0  ms-dns3 0.0.0.0]
 rcvd [IPCP ConfReq id=0x1 addr 62.25.198.171]
 sent [IPCP ConfAck id=0x1 addr 62.25.198.171]
 rcvd [LCP ProtRej id=0x1 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f]
 rcvd [IPCP ConfRej id=0x1 compress VJ 0f 01]
 
 Your side ask for deflate and compress and this is rejected from the server
 side (ProtRej and ConfRej)

Just to clarify: it wouldn't make any difference to whether you get
connected or not.

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: failure to link suse to speedtouch modem

2006-05-05 Thread Duncan Sands

 1 Output from command /sbin/lspci grep USB:

You forgot the pipe (|), should be:

/sbin/lspci | grep USB


 2 Output from command lsmod:

 br2684 8452 0
bridging module for PPP over ethernet

 pppoatm 5760 0
needed for PPP over ATM

 ppp_generic 28052 1 pppoatm
PPP support

 slhc 7296 1 ppp_generic
serial line compression

 speedtch 11656 0
speedtouch driver

 firmware_class 9856 1 speedtch
firmware loader

 usbatm 15232 1 speedtch
ATM over USB support

 atm 37720 3 br2684,pppoatm,usbatm
ATM support

 ehci_hcd 32136 0
USB 2 hub driver

 uhci_hcd 32016 0
USB 1 hub driver

 usbcore 112640 6 usb_storage,speedtch,usbatm,ehci_hcd,uhci_hcd
USB support

Looks fine.  What happens if (as root) you do:
pppd call speedtch debug
?

Duncan.

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




  1   2   3   4   5   6   7   >