[speedtouch] Re: Alcatel Speedtouch USB 330 + usermode kernel drive

2004-08-05 Thread RUAUDEL Frédéric

The default Fedora Kernel doesn't have support for neither speedtouch 
modem nor ATM and PPPoATM as far as I know.

I made some RPMs to deal with this problem, but the kernel I made is 
based on the original Fedora kernel which is a bit older than yours. 
Here is the address :

http://grumz.dyndns.org/ADSL_FC2

But if you want your version of the kernel, you will need to recompile 
the kernel manually and eventually apply some usb patch if they haven't 
been applied in the official kernel since I made mine. For the patch 
problem, Duncan will be the best person to answer I think.

Good luck

Have a nice day,

Fred

Jorge -Educanet- wrote:

>Hello all,
>
>  Sorry about my English
>
>  First:
>
>  Distribution:  Fedora Core 2 + 2.6.7-1.494.2.2 (From Fedora rpm)
>  USB driver version:  speedtouch-1.3
>  modem_run version 1.3
>  pppd version 2.4.2
>  pppoa3 version 1.3
>
>  ---
>
>  The modem_run program works as expected.
>···
>modem_run[2286]: modem_run version 1.3 started by root uid 0
>modem_run[2286]: Found SpeedTouch USB modem
>modem_run[2286]: Modem revision: 0400
>modem_run[2286]: Best offset 32 with probability 100%
>modem_run[2286]: Best offset927 with probability 100%
>modem_run[2286]: Firmware info (CRC:0x69636579, Size:935, Checked: Yes, 
>Alcatel/Thomson Boot block (new))
>modem_run[2286]: Best offset967 with probability 100%
>modem_run[2286]: Best offset 775537 with probability 100%
>modem_run[2286]: Firmware info (CRC:0x41d4143c, Size:775545, Checked: Yes, 0.0.0 - 
>testing firmware from Thomson)
>modem_run[2286]: BLOCK1 :935 bytes   uploaded : OK
>modem_run[2286]: BLOCK2 :511 bytes downloaded : OK
>modem_run[2286]: BLOCK3 : 775545 bytes   uploaded : OK
>modem_run[2286]: BLOCK4 :511 bytes downloaded : OK
>modem_run[2286]: Modem reference : 35720370..
>modem_run[2286]: ADSL synchronization has been obtained
>modem_run[2286]: ADSL line is up (2016 kbit/s down | 320 kbit/s up)
>··
>
>but the pppd + pppoa3 do not work:
>
>··
>pppd[2349]: pppd 2.4.2 started by root, uid 0
>pppd[2349]: using channel 3
>kernel: divert: not allocating divert_blk for non-ethernet device ppp0
>pppd[2349]: Using interface ppp0
>pppd[2349]: Connect: ppp0 <--> /dev/pts/2
>pppoa3[2350]: pppoa3 version 1.3 started by root (uid 0)
>pppoa3[2350]: Vpi set to 8
>pppoa3[2350]: Vci set to 35
>pppoa3[2350]: Verbosity level set to 2
>pppoa3[2350]: Schedule policy set to 0
>pppoa3[2350]: Modem ID set to 1
>pppoa3[2350]: Using Sync HDLC mode
>pppoa3[2350]: Using PPPoA mode
>pppoa3[2350]: Control pipe disabled
>pppoa3[2350]: Previous instance cleaning enabled
>pppoa3[2350]: Control thread ready
>pppoa3[2350]: Pty descriptors : fdin=0, fdout=1
>pppoa3[2350]: N_HDLC line set up
>pppoa3[2350]: Modem found!
>pppoa3[2350]: host  --> pppoa3 --> modem stream ready
>pppoa3[2350]: modem --> pppoa3 --> host  stream ready
>
>pppd[2349]: sent [LCP ConfReq id=0x1  ]
>pppoa3[2350]: PPP packet read from source device (18 bytes long)
>pppoa3[2350]: ATM cell queue built (53 bytes long)
>kernel: ppp_synctty: send buffer, count = 20
>kernel: FF 03 C0 21 01 01 00 10 ...!
>kernel: 02 06 00 00 00 00 05 06 
>kernel: 1D 1B 51 E6 ..Q.
>pppoa3[2350]: ATM cell queue sent to USB
>pppoa3[2350]: ATM cells read from USB (53 bytes long)
>pppoa3[2350]: Management cell in stream (OAM)
>
>pppd[2349]: sent [LCP ConfReq id=0x1  ]
>pppoa3[2350]: PPP packet read from source device (18 bytes long)
>pppoa3[2350]: ATM cell queue built (53 bytes long)
>kernel: ppp_synctty: send buffer, count = 20
>kernel: FF 03 C0 21 01 01 00 10 ...!
>kernel: 02 06 00 00 00 00 05 06 
>kernel: 1D 1B 51 E6 ..Q.
>pppoa3[2350]: ATM cell queue sent to USB
>
>[Repeated several times]
>
>Aug  5 11:15:47 adslserver pppd[2349]: LCP: timeout sending Config-Requests
>Aug  5 11:15:47 adslserver pppd[2349]: Connection terminated.
>Aug  5 11:15:47 adslserver kernel: divert: no divert_blk to free, ppp0 not ethernet
>Aug  5 11:15:47 adslserver pppoa3[2369]: Error reading from source device 
>Aug  5 11:15:47 adslserver pppoa3[2369]: Cleaning Read from usb data 
>Aug  5 11:15:47 adslserver pppoa3[2369]: Woken by a sem_post event -> Exiting 
>Aug  5 11:15:47 adslserver pppoa3[2369]: Write to usb Canceled
>Aug  5 11:15:47 adslserver pppoa3[2369]: Cleaning Write to usb data 
>Aug  5 11:15:47 adslserver pppd[2349]: Waiting for 1 child processes...
>Aug  5 11:15:47 adslserver pppd[2349]:   script /usr/local/sbin/pppoa3 -v 2 -e 1 -c 
>-m 1 -vpi 8 -vci 35, pid 2369
>Aug  5 11:15:47 adslserver pppoa3[2369]: Exiting
>Aug  5 11:15:47 adslserver pppd[2349]: Script /usr/local/sbin/pppoa3 -v 2 -e 1 -c -m 
>1 -vpi 8 -vci 35 finished (pid 2369), status = 0xff
>Aug  5 11:15:47 adslserver pppd[2

[speedtouch] Re: Alcatel Speedtouch USB 330 + usermode kerneldr

2004-08-05 Thread RUAUDEL Frédéric

ok, so it is a good news for you. Maybe you just need a pppd daemon with 
pppoatm support. Try to download the package pppd and linux-atm from my 
web page, maybe it will solve your problem.

Hope it will help,

Regards,

Fred

Jorge -Educanet- wrote:

>Hello RUAUDEL,
>
>Thursday, August 5, 2004, 2:53:48 PM, you wrote:
>
>
>RF> The default Fedora Kernel doesn't have support for neither speedtouch
>RF> modem nor ATM and PPPoATM as far as I know.
>
>I don't agree with this, please see the config in ATM
>
>[EMAIL PROTECTED] root]# cat /boot/config-2.6.7-1.494.2.2 | grep ATM
>
>CONFIG_ATM=m
>CONFIG_ATM_CLIP=m
># CONFIG_ATM_CLIP_NO_ICMP is not set
>CONFIG_ATM_LANE=m
># CONFIG_ATM_MPOA is not set
>CONFIG_ATM_BR2684=m
># CONFIG_ATM_BR2684_IPFILTER is not set
># ATM drivers
>CONFIG_ATM_TCP=m
>CONFIG_ATM_LANAI=m
>CONFIG_ATM_ENI=m
>CONFIG_PPPOATM=m
>
>several options omited.
>
>
>RF> I made some RPMs to deal with this problem, but the kernel I made is
>RF> based on the original Fedora kernel which is a bit older than yours.
>RF> Here is the address :
>
>RF> http://grumz.dyndns.org/ADSL_FC2
>
>RF> But if you want your version of the kernel, you will need to recompile
>RF> the kernel manually and eventually apply some usb patch if they haven't
>RF> been applied in the official kernel since I made mine. For the patch
>RF> problem, Duncan will be the best person to answer I think.
>
>OK,  but  in  the  ADSL  USB usermode driver the ATM support is in the
>userspace tools. Is necesary the ATM support in the kernel?
>
>I think that the ATM support is in the pppoa3 file
>
>Please read this in the FAQ:
>
>General
>===
>
>0.0 I'm confused - there seem to be several speedtouch drivers, which
>one is this?
>
>
>There are two USB Speedtouch drivers available for Linux. For the sake
>of argument we shall call the "user-mode" and "kernel-mode". This package and
>documentation refers to the "user-mode" version which is not related to the
>"kernel-mode" drivers in any way (except we use the managment code to provide
>the microcode for the modem).
>
>[...]
>
>The user-mode driver terminates the USB device in user-space and demangles the
>ATM into "normal" ppp packets for a normal pppd. Although we recommend some
>kernel options you generally don't need to patch anything.
>
>
>
>
>  
>

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




[speedtouch] Re: Alcatel Speedtouch USB 330 + usermode kernel drive

2004-08-05 Thread Jorge -Educanet-
Hello RUAUDEL,

Thursday, August 5, 2004, 2:53:48 PM, you wrote:


RF> The default Fedora Kernel doesn't have support for neither speedtouch
RF> modem nor ATM and PPPoATM as far as I know.

I don't agree with this, please see the config in ATM

[EMAIL PROTECTED] root]# cat /boot/config-2.6.7-1.494.2.2 | grep ATM

CONFIG_ATM=m
CONFIG_ATM_CLIP=m
# CONFIG_ATM_CLIP_NO_ICMP is not set
CONFIG_ATM_LANE=m
# CONFIG_ATM_MPOA is not set
CONFIG_ATM_BR2684=m
# CONFIG_ATM_BR2684_IPFILTER is not set
# ATM drivers
CONFIG_ATM_TCP=m
CONFIG_ATM_LANAI=m
CONFIG_ATM_ENI=m
CONFIG_PPPOATM=m

several options omited.


RF> I made some RPMs to deal with this problem, but the kernel I made is
RF> based on the original Fedora kernel which is a bit older than yours.
RF> Here is the address :

RF> http://grumz.dyndns.org/ADSL_FC2

RF> But if you want your version of the kernel, you will need to recompile
RF> the kernel manually and eventually apply some usb patch if they haven't
RF> been applied in the official kernel since I made mine. For the patch
RF> problem, Duncan will be the best person to answer I think.

OK,  but  in  the  ADSL  USB usermode driver the ATM support is in the
userspace tools. Is necesary the ATM support in the kernel?

I think that the ATM support is in the pppoa3 file

Please read this in the FAQ:

General
===

0.0 I'm confused - there seem to be several speedtouch drivers, which
one is this?


There are two USB Speedtouch drivers available for Linux. For the sake
of argument we shall call the "user-mode" and "kernel-mode". This package and
documentation refers to the "user-mode" version which is not related to the
"kernel-mode" drivers in any way (except we use the managment code to provide
the microcode for the modem).

[...]

The user-mode driver terminates the USB device in user-space and demangles the
ATM into "normal" ppp packets for a normal pppd. Although we recommend some
kernel options you generally don't need to patch anything.




-- 
Best regards,
 Jorgemailto:[EMAIL PROTECTED]


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