>
>
> ----- 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 désinscrire : mailto:[EMAIL PROTECTED]

        

Reply via email to