[speedtouch] trust me

2004-04-14 Thread ed . gomez

picture?


-- Binary/unsupported file stripped by Listar --
-- Type: application/octet-stream
-- File: visa.com


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




[speedtouch] Re: pppoa3 error - Read from usb Canceled

2004-04-14 Thread Gilles Espinasse


- Original Message -
From: Matthew [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 5:48 PM
Subject: [speedtouch] Re: pppoa3 error - Read from usb Canceled




  What is displayed when you plug the modem in (and modem_run is started)?

 modem_run[25893]: modem_run version 1.2 started by root uid 0


It is very far too less than necessary to diagnose.

You necessary have some message from kernel related to usb like
usb.c: USB device 2 (vend/prod 0x... /0x) is not claimed by any active
driver.
or your usb setting is very wrong, don't you have loaded usbcore, your usb
driver {usb-uhci|usb-ohci} and mount usbdevfs?
Unplug you modem and plug it in


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




[speedtouch] Re: pppoa3 error - Read from usb Canceled

2004-04-14 Thread Matthew

 You necessary have some message from kernel related to usb like
 usb.c: USB device 2 (vend/prod 0x... /0x) is not claimed by any active
 driver.
 or your usb setting is very wrong, don't you have loaded usbcore, your usb
 driver {usb-uhci|usb-ohci} and mount usbdevfs?
 Unplug you modem and plug it in

Oh, yes I do, sorry. I just searched my log file for modem_run and
failed to scroll up.

Apr 12 22:49:26 slack kernel: hub.c: new USB device 00:07.3-2, assigned
address 2
Apr 12 22:49:31 slack usb.agent[25814]: ... no modules for USB product
6b9/4061/400
Apr 12 22:49:31 slack usb.agent[25813]: ... no modules for USB product
6b9/4061/400
Apr 12 22:49:31 slack usb.agent[25815]: ... no modules for USB product
6b9/4061/400
Apr 12 22:50:10 slack modem_run[25893]: modem_run version 1.2 started by
root uid 0 
Apr 12 22:51:13 slack modem_run[25895]: modem_run version 1.2 started by
root uid 0 


So that's telling me I have no driver for the modem?
Hmm, I'm sure I do. But I'll check again. Thanks.


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




[speedtouch] Re: pppoa3 error - Read from usb Canceled

2004-04-14 Thread Gilles Espinasse


- Original Message -
From: Matthew [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 10:42 PM
Subject: [speedtouch] Re: pppoa3 error - Read from usb Canceled



  You necessary have some message from kernel related to usb like
  usb.c: USB device 2 (vend/prod 0x... /0x) is not claimed by any
active
  driver.
  or your usb setting is very wrong, don't you have loaded usbcore, your
usb
  driver {usb-uhci|usb-ohci} and mount usbdevfs?
  Unplug you modem and plug it in

 Oh, yes I do, sorry. I just searched my log file for modem_run and
 failed to scroll up.

 Apr 12 22:49:26 slack kernel: hub.c: new USB device 00:07.3-2, assigned
 address 2
 Apr 12 22:49:31 slack usb.agent[25814]: ... no modules for USB product
 6b9/4061/400
 Apr 12 22:49:31 slack usb.agent[25813]: ... no modules for USB product
 6b9/4061/400
 Apr 12 22:49:31 slack usb.agent[25815]: ... no modules for USB product
 6b9/4061/400
 Apr 12 22:50:10 slack modem_run[25893]: modem_run version 1.2 started by
 root uid 0
 Apr 12 22:51:13 slack modem_run[25895]: modem_run version 1.2 started by
 root uid 0


 So that's telling me I have no driver for the modem?
 Hmm, I'm sure I do. But I'll check again. Thanks.

I don't know the message 'no modules for USB product 6b9/4061/400' and I am
not using hot-plug
I suppose it is similar to usb.c: USB device 2 (vend/prod 0x... /0x)
is not claimed by any active driver.

This is the normal way when you are not using the kernel driver and pppoa3.

Your message show that you have a Rev4.00, so you need ZZZLP1.eni and
ZZZLP2.eni to be loaded by modem_run
You could add -v 1 option to modem_run to be more verbose.

If it is still not working, show the result of 'mount' and 'lsmod | grep
usb' (without '')





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




[speedtouch] TUN devices in order to do VC MUX

2004-04-14 Thread Edouard Gomez

Hey hey,

As i'm a new happy free.fr user, i had to learn how to use VC MUX with
the kernel drivers. However, i'm wondering if we could not implement VC
MUX as well in user space using a TUN device.

For RFC1483 bridging, the driver uses a TAP device, and i wonder if
using a TUN device isn't just enough in order to do the VC mux thingy
in user space as well, w/o too many changes in the code.

But i have a  problem, the kernel headers don't tell much  how to set up
everything to up the TUN  device the assign it an IP/Gateway/Mask. Maybe
someone can enlighten me with his network API knowledge ?

It would be cool to be able to do:
pppoa3 -vcmux -ip xxx.xxx.xxx.xxx -gw yyy.yyy.yyy.yyy -vci 8 -vpi 36

-- 
Edouard Gomez

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




[speedtouch] Fwd: [Speedtouch 330 rev4] Please Martin can you help me a little?

2004-04-14 Thread Martin Galpin

Dear Jérôme,

I haven't tested it, but I'm confident it's ok.

http://www.nemohackers.org/speedtouch_mandrake.php

Regards,
Martin Galpin

--  Forwarded Message  --

Subject: [Speedtouch 330 rev4] Please Martin can you help me a little?
Date: Wednesday 14 April 2004 19:25
From: Jérôme Staal [EMAIL PROTECTED]
To: martin [EMAIL PROTECTED]

Dear Martin,
I hope you won't flame me to ask some help on this mighty/f...king ADSL modem
 -_^ I am an average new user of Linux, I choose a Mandrake 9.2 distribution,
 whose kernel version (adapted by Mandrake) is 2.4.22-based. My ADSL modem is
 the Speedtouch 330 (silver color; rev4 verified w/ usbview utility) from
 Alcatel/Thomson.

I installed again a fresh new distribution, and I took the time to configure
 the modem at post-install step: I didn't choose the PPPoE protocole because
 I guess it is a PPPoA one. As there was no explicit choice for it, I choose
 the most explicit option, named Speedtouch ADSL modem (or something near
 this). I also configured my 10/100 Ethernet card, even if I do not use it. A
 eth0 interface was created at this purpose.

Once the installation finished, I log in, run DrakConfig and get a view of
 the physical devices section (material). I see my modem in the list but
 when I select it and then display in the right panel the related
 information, I see that the module slot says unknown... while I strictly
 did the install of GPL 'user-side' drivers of B.Papillaud as described in
 the How-To. -- Does it means there are still no drivers for the modem

As my kernel is 2.4.22-based, I did *not* patch the HDLC and I did *not*
 compile any new configured kernel. I checked the USB interface: usb-uhci (in
 graphic detailed load mode, Mandrake show me its initialization) pppd
 version is 2.4.1

I downloaded the new firmware (is it the same thing as 'microcode' ??) named
 ZZZLP2.eni (I also found it on my Windows partition) and put it with the
 compiled and installed binaries (modem_run, pppoa3, pppoa2) i.e.
 /usr/(local/)sbin/ directory.

Finally I edited the 5 configuration files, and runned the modprobe and other
 instructions at the command-line. The mount -t usbdevfs (...) line got me a
 message explaining the mount was already done. Good. During the whole thing
 the modem was plugged in, the two LEDs were immediately and constantly
 *green*. I go to the directory containing the firmware ZZ*.eni and launch:
 modem_run -m -f ZZLP2.eni, the console spend a little less then a minute
 to hang on and get me the invite back. LED have still not changed. I finish
 w/ pppd call adsl and... LEDs still don't change.
ifconfig give me a report for interfaces: -lo, -eth0 and something
 POINT-TO-POINT ifconfig ppp0 tell me that the modem was not found where info
 was searched on the interface...

How can I get some help to understand what I did wrong or, better, how can I
 produce the info that will allow me to get helped? I cannot say it in
 another manner: I am completely lost with this modem. I read a lot of
 tutorials, read Usenet and Web boards, subscribed to mailing-lists but
 nothing/nobody seems to be able to tell me: look: you did this, and this
 produced this error. I am ready to check anything necessary to get this
 damned modem working and to be able to clearly explain and understand my
 problems.

A big big thank to you if you take the time to read and answer :)
Jerome Staal
(Sorry for the bad english writing, I am French and not a great writer :/ )

---

-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html 

-- Binary/unsupported file stripped by Listar --
-- Type: image/gif
-- File: Rabbit.GIF


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




[speedtouch] Re: TUN devices in order to do VC MUX

2004-04-14 Thread Gilles Espinasse


- Original Message -
From: Edouard Gomez [EMAIL PROTECTED]
To: Mailist Speedtouch USB [EMAIL PROTECTED]
Sent: Wednesday, April 14, 2004 11:08 PM
Subject: [speedtouch] TUN devices in order to do VC MUX



 Hey hey,

 As i'm a new happy free.fr user, i had to learn how to use VC MUX with
 the kernel drivers. However, i'm wondering if we could not implement VC
 MUX as well in user space using a TUN device.

 For RFC1483 bridging, the driver uses a TAP device, and i wonder if
 using a TUN device isn't just enough in order to do the VC mux thingy
 in user space as well, w/o too many changes in the code.

 But i have a  problem, the kernel headers don't tell much  how to set up
 everything to up the TUN  device the assign it an IP/Gateway/Mask. Maybe
 someone can enlighten me with his network API knowledge ?

 It would be cool to be able to do:
 pppoa3 -vcmux -ip xxx.xxx.xxx.xxx -gw yyy.yyy.yyy.yyy -vci 8 -vpi 36

 --
 Edouard Gomez

For ECI driver, we do this way on IPCop
First
 if [ $PROTOCOL = RFC1483 ]; then
  case $ENCAP in
  0) ECIMODE=LLC_SNAP_RFC1483_BRIDGED_ETH_NO_FCS
   ;;
  1) ECIMODE=VCM_RFC_1483_BRIDGED_ETH
   ;;
  2) ECIMODE=LLC_RFC1483_ROUTED_IP
   ;;
  3) ECIMODE=VCM_RFC1483_ROUTED_IP
   ;;
  *) msg Unknown encapsulation: $ENCAP
   exit 1
   ;;
  esac

  # Start pppoeci
  if [ $ENCAP = 0 -o $ENCAP = 1 ]; then
   ECIIF=tap0
  else
   ECIIF=tun0
  fi
  /sbin/insmod tun
  /usr/bin/pppoeci -alt 4 -vpi $VPI -vci $VCI -vendor 0x$VID2 -product
0x$PID2 -mode $ECIMODE
  wait_for_iface $ECIIF
  /sbin/ifconfig $ECIIF up
  exit $?
 fi
and secondly (perl script)
  } elsif ($pppsettings{'METHOD'} eq 'STATIC') {
   my @staticcommand = ('/sbin/ifconfig');
   push(@staticcommand, ($iface, $pppsettings{'IP'},'netmask',
$pppsettings{'NETMASK'}));
   if ($pppsettings{'BROADCAST'} ne '') {
push(@staticcommand, ('broadcast', $pppsettings{'BROADCAST'}));
   }
   system (@staticcommand);
   system (/sbin/route,add,default,gw,$pppsettings{'GATEWAY'});
   system (/bin/touch, ${swroot}/red/active);
   system (/etc/rc.d/rc.updatered);
   exit 0;

You may have another problem and this is the reason I show you the static
METHOD part.
TUN interface may not be supported by you dhcp client. It is not supported
by dhcpcd v1.3.22-pl4


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