Dear Archie,

Thanks a lot for your message. It is the first time that I have been able to
download the firmware :-).!!!

But I need a new push. You or Giles could help me. I am just about to sell
the modem and buy a router....

The messages generated are

Apr 18 17:20:07 localhost kernel: usb_control/bulk_msg: timeout
Apr 18 17:20:07 localhost kernel: usbdevfs: USBDEVFS_BULK failed dev 2 ep
0x85 len 512 ret -110
Apr 18 17:20:07 localhost modem_run[5955]: BLOCK1 :    935 bytes   uploaded
: OK
Apr 18 17:20:07 localhost modem_run[5955]: BLOCK2 :    511 bytes downloaded
: OK
Apr 18 17:20:09 localhost modem_run[5955]: BLOCK3 : 775509 bytes   uploaded
: OK
Apr 18 17:20:09 localhost modem_run[5955]: BLOCK4 :    511 bytes downloaded
: OK
Apr 18 17:20:10 localhost modem_run[5955]: Modem reference : 35720370......
Apr 18 17:20:40 localhost modem_run[5955]: ADSL synchronization has been
obtained
Apr 18 17:20:40 localhost modem_run[5955]: ADSL line is up (256 kbit/s down
| 128 kbit/s up)
Apr 18 17:21:52 localhost kernel: CSLIP: code copyright 1989 Regents of the
University of California
Apr 18 17:21:52 localhost kernel: PPP generic driver version 2.4.2
Apr 18 17:21:52 localhost pppd[5959]: pppd 2.4.1 started by root, uid 0
Apr 18 17:21:52 localhost pppd[5959]: Using interface ppp0
Apr 18 17:21:52 localhost pppd[5959]: Connect: ppp0 <--> /dev/pts/1
Apr 18 17:21:52 localhost /etc/hotplug/net.agent: assuming ppp0 is already
up
Apr 18 17:21:52 localhost pppd[5959]: Modem hangup
Apr 18 17:21:52 localhost pppd[5959]: Connection terminated.
Apr 18 17:21:52 localhost /etc/hotplug/net.agent: NET unregister event not
supported
Apr 18 17:21:52 localhost /etc/hotplug/net.agent: assuming ppp0 is already
up
Apr 18 17:21:52 localhost pppd[5959]: Using interface ppp0
Apr 18 17:21:52 localhost pppd[5959]: Connect: ppp0 <--> /dev/pts/1
Apr 18 17:21:52 localhost pppd[5959]: ioctl(PPPIOCSASYNCMAP): Inappropriate
ioctl for device(25)
Apr 18 17:21:52 localhost pppd[5959]: tcflush failed: Input/output error
Apr 18 17:21:52 localhost /etc/hotplug/net.agent: NET unregister event not
supported
Apr 18 17:21:52 localhost pppd[5959]: Exit.

Any idea about the problem... please...

Regards

Nacho

-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
nombre de Archie
Enviado el: domingo, 18 de abril de 2004 16:01
Para: [EMAIL PROTECTED]
Asunto: [speedtouch] Re: config-requests problem



>
>
> ----- Original Message -----
> From: "Archie" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, April 16, 2004 11:32 PM
> Subject: [speedtouch] Re: config-requests problem
>
>
>>
>> Thanks for the tip
>>
>> I've upgraded it and I'm afraid it still doesn't work ....
>>
>> Apr 16 22:17:36 linux2 pppd[6796]: pppd 2.4.1 started by philip, uid 0
>> Apr 16 22:17:36 linux2 pppd[6796]: Using interface ppp1
>> Apr 16 22:17:36 linux2 pppd[6796]: Connect: ppp1 <--> /dev/pts/1
>> Apr 16 22:17:36 linux2 pppoa3[6797]: pppoa3 version 1.2 started by
>> root
>> (uid 0)
>> Apr 16 22:17:36 linux2 pppoa3[6797]: Control thread ready
>> Apr 16 22:17:36 linux2 pppoa3[6805]: host  --> pppoa3 --> modem stream
>> ready
>> Apr 16 22:17:36 linux2 pppoa3[6806]: modem --> pppoa3 --> host  stream
>> ready
>> Apr 16 22:17:36 linux2 /etc/hotplug/net.agent: assuming ppp1 is
>> already
>> up
>> Apr 16 22:17:38 linux2 kernel: usb_control/bulk_msg: timeout
>> Apr 16 22:17:38 linux2 kernel: usbdevfs: USBDEVFS_BULK failed dev 2 ep
>> 0x7 len 53 ret -110
>
> Did you unplug the modem or reset usb before the new attempt?
>

I've finally got it working after 8 hours of staring at the screen. For
the record I'll explain what happened: (hopefully it will help someone
else in future).

First make sure that your're using the 1.2 version (as Gilles said).

The first problem was with the firmware: the copies of mgmt.o I
downloaded for use weren't working, although modem_run isn't very
helpful, tucking a single line away in the /var/log/messages file
rather than returning an error when called from the bash command line.

Anyway, I'd missed the line in /var/log/messages for a while (first
moral - check logs carefully!), but when I found it I tried a download
of alcaudsl.sys, which didn't work either.

Finally I did another search of the CD which actually came with the
modem (I had checked it first but it didn't seem to contain anything
useful) and discovered two sets of firmware in the directories
containing the Mac OS 8/9 (!) drivers.

These were called KQ..something and ZZZ..something. It's the ZZ ones
that are needed (for the silver 330 I have: I presume the KQ ones will
work with different models). I put them in /etc/ppp/firmware (firmware
being a new directory I created) and called modem_run:

/usr/local/sbin/modem_run -v 1 -a /etc/ppp/firmware/ZZZLP1.eni -f
/etc/ppp/firmware/ZZZLP2.eni

There being two files, what I understand is being loaded into the modem
here is a bootloader (..LP1 following the -a flag) followed by the
modem's own (sort-of) OS (..LP2 following the -f flag). The -v flag is
supposed to make modem_run verbose, but it doesn't seem to make any
difference to what it returns to the command line or the logs. I notice
from man modem_run that the -m flag (which all the ready-built scripts
I've seen use) is deprecated.

Anyway, when the modem loads ok, it will take about 10 seconds, and the
right hand light on the modem will blink slowly while it's doing it.

Once the firmware is loaded ok, it's time to run pppd:

pppd call adsl

(Both the above commands can be put in a script (I've named it
/root/startadsl and call it at the end of my /etc/rc.d/rc.sysinit file
so that the adsl connection appears on system startup) when you find
that it works)

This is my /etc/ppp/peers/adsl file, based on the one that the
speedtouchconf.sh script creates:

debug
kdebug 1
noipdefault
defaultroute
pty "/usr/local/sbin/pppoa3 -m -1 -c -e 1 -vpi 0 -vci 38"
sync
user "[private-username]"
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
# persist
maxfail 25
usepeerdns

note that Gilles was right again here, and my silver 330 does need the
addition of the -e 1 flag to the pppoa3 command.

However once the modem disconnects (whether because of line reasons, or
because it's user disconnected with:

kill -INT `pidof pppd`

) it won't reconnect until after a restart. It's not the end of the
world, but having to issue

shutdown -r now

is a rather drastic method of bringing the adsl connection back up !

I'm sure I'll crack it sometime.

Good luck to anyone trying to use the tips above. I think this sort of
thing teaches us humility when we realise that if we knew what we were
doing and had downloaded the right software in the first place then
what took us 8 hours would have taken 10 minutes :-)

Archie


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se disinscrire :
mailto:[EMAIL PROTECTED]


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.642 / Virus Database: 410 - Release Date: 24/03/2004

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.642 / Virus Database: 410 - Release Date: 24/03/2004



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

        

Reply via email to