>
> So modem_run start is OK
>
>> May 16 19:09:38 localhost modem_run[11290]: Another program/driver is
>> already accessing the modem (interface 1 cannot be claimed)...
>>
> There is two drivers :
> - user mode with pppoa3
> - kernel modem with speedtch module now integrated in standard kernel
> since V2.4.22
>
> You can't use both at the same time.
>
> I don't know what your script do.
>
> Kernel module should be the best solution when you have it (short and
> strait)
>
> If you use kernel mode driver, you need to start modem_run with a
> different setting ( add -k option pour modem_run command line)
>
>> So it seems taht there is a problem accessing the modem!
>>
>> During the boot process i found this line in /var/log/mesages :
>> May 16 19:13:01 localhost kernel: usb.c: registered new driver
>> speedtch
>>
>> Is it normal ??
>> How to know what program or driver access the modem ??
>>
>    /sbin/modprobe speedtch
>    /usr/sbin/modem_run -k -v 1 -t 90 -n 4 -f /your_path/ZZZLP2.eni -a
> /your_path/ZZZLP1.eni
>     if [ $? -ne 0 ]; then
>      exit 1
>     fi
>    # time to avoid "Ressource temporary unavailable"
>    /bin/sleep 5
>
> next, you can call pppd.
>

Ok it seems thta modem_run works fine :
May 16 20:24:28 localhost modem_run[10771]: modem_run version 1.2 started
by root uid 0
May 16 20:24:28 localhost modem_run[10771]: Found SpeedTouch USB modem
May 16 20:24:28 localhost modem_run[10771]: Modem revision: 0400
May 16 20:24:28 localhost modem_run[10771]: Best offset      0 with
probability 100%
May 16 20:24:28 localhost modem_run[10771]: Best offset    927 with
probability 100%
May 16 20:24:28 localhost modem_run[10771]: Firmware info (CRC:0x69636579,
Size:935, Checked: Yes, Alcatel/Thomson Boot block (new))
May 16 20:24:28 localhost modem_run[10771]: Best offset      0 with
probability 100%
May 16 20:24:29 localhost modem_run[10771]: Best offset 775501 with
probability 100%
May 16 20:24:29 localhost modem_run[10771]: Firmware info (CRC:0x0223733c,
Size:775509, Checked: Yes, 1.0.10 - Win32 Rev 0400 SACHU3)
May 16 20:24:31 localhost kernel: usb_control/bulk_msg: timeout
May 16 20:24:31 localhost kernel: usbdevfs: USBDEVFS_BULK failed dev 3 ep
0x85 len 512 ret -110
May 16 20:24:31 localhost modem_run[10771]: BLOCK1 :    935 bytes  
uploaded : OK
May 16 20:24:31 localhost modem_run[10771]: BLOCK2 :    511 bytes
downloaded : OK
May 16 20:24:34 localhost modem_run[10771]: BLOCK3 : 775509 bytes  
uploaded : OK
May 16 20:24:34 localhost modem_run[10771]: BLOCK4 :    511 bytes
downloaded : OK
May 16 20:24:35 localhost modem_run[10771]: Found kernel mode driver
May 16 20:24:35 localhost modem_run[10771]: Modem reference : 35720370......
May 16 20:25:05 localhost modem_run[10771]: ADSL synchronization has been
obtained
May 16 20:25:05 localhost modem_run[10771]: ADSL line is up (1248 kbit/s
down | 160 kbit/s up)

But when i try to call pppd with the command : pppd call adsl updetach
with the files :
-------------------Debut du fichier /etc/ppp/chap-secrets-----------------
# client server secret IP addresses
"votre_login_ici" "*" "votre_password_ici" "*"
-------------------Fin du fichier /etc/ppp/chap-secrets-------------------

-------------------Debut du fichier /etc/ppp/peers/adsl--------------
#
#
# This file could be rename but its place is under /etc/ppp/peers
# To connect to Internet using this configuration file
# pppd call adsl updetach, where "adsl" stands for the name of this file
#

debug
kdebug 1
noipdefault
defaultroute
pty "/usr/local/sbin/pppoa3 -m 1 -c -vpi 8 -vci 35"
sync
user "votre_login_ici"
noauth
noaccomp
nopcomp
noccp
novj
holdoff 4
persist
maxfail 25
usepeerdns
------------------Fin du fichier /etc/ppp/peers/adsl------------------

-----------------Debut du fichier /etc/ppp/options-----------------
usepeerdns
noauth
lock
noipdefault
-----------------Fin du fichier /etc/ppp/options-------------------

I can't obtain a conexion :

May 16 20:25:58 localhost kernel: CSLIP: code copyright 1989 Regents of
the University of California
May 16 20:25:58 localhost kernel: PPP generic driver version 2.4.2
May 16 20:25:58 localhost pppd[10783]: pppd 2.4.1 started by root, uid 0
May 16 20:25:58 localhost pppd[10783]: Using interface ppp0
May 16 20:25:58 localhost pppd[10783]: Connect: ppp0 <--> /dev/pts/2
May 16 20:25:58 localhost pppoa3[10785]: pppoa3 version 1.2 started by
root (uid 0)
May 16 20:25:58 localhost pppoa3[10785]: Control thread ready
May 16 20:25:58 localhost kernel: HDLC line discipline: version $Revision:
3.6 $, maxframe=4096
May 16 20:25:58 localhost kernel: N_HDLC line discipline registered.
May 16 20:25:58 localhost pppoa3[10785]: pusb_claim_interface 1 failed
May 16 20:25:58 localhost pppd[10783]: Modem hangup
May 16 20:25:58 localhost pppd[10783]: Connection terminated.
May 16 20:25:58 localhost pppoa3[10797]: pppoa3 version 1.2 started by
root (uid 0)
May 16 20:25:58 localhost pppoa3[10797]: A previous instance seems to be
running
May 16 20:25:58 localhost pppoa3[10797]: Sending the kill signal to 10785
and waiting...
May 16 20:25:58 localhost pppd[10783]: Using interface ppp0
May 16 20:25:58 localhost pppd[10783]: Connect: ppp0 <--> /dev/pts/2
May 16 20:26:29 localhost pppd[10783]: LCP: timeout sending Config-Requests
May 16 20:26:29 localhost pppd[10783]: Connection terminated.
May 16 20:26:29 localhost pppoa3[10819]: pppoa3 version 1.2 started by
root (uid 0)
May 16 20:26:29 localhost pppoa3[10819]: A previous instance seems to be
running
May 16 20:26:29 localhost pppoa3[10819]: Sending the kill signal to 10785
and waiting...
May 16 20:26:29 localhost pppd[10783]: Using interface ppp0
May 16 20:26:29 localhost pppd[10783]: Connect: ppp0 <--> /dev/pts/3
May 16 20:26:41 localhost pppd[10783]: Terminating on signal 2.
May 16 20:26:41 localhost pppd[10783]: Child process
/usr/local/sbin/pppoa3 -m 1 -c -vpi 8 -vci 35 (pid 10819) terminated with
signal 2
May 16 20:26:41 localhost pppd[10783]: Modem hangup
May 16 20:26:41 localhost pppd[10783]: Connection terminated.
May 16 20:26:41 localhost pppd[10783]: Child process
/usr/local/sbin/pppoa3 -m 1 -c -vpi 8 -vci 35 (pid 10797) terminated with
signal 2
May 16 20:26:41 localhost pppd[10783]: Exit.

What may be the problem ?
Thanxes
Eric




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

        

Reply via email to