[speedtouch] Re: Connexion avec speedtouch 330 USB

2003-10-26 Thread Gilles Espinasse

Est-ce qu'il y a defaultroute dans les options de ppp?
As tu renseigné les DNS s'ils ne sont pas fournis automatiquement par la
connexion?

quand tu regardes avec route -n, quelle route est affectée à ppp0
Destination Gateway Genmask Flags Metric RefUse
Iface
adr_passerelle  0.0.0.0 255.255.255.255 UH0  00
ppp0
0.0.0.0 adr_passerelle  0.0.0.0 UG0  00
ppp0


- Original Message -
From: Moustapha Diop [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, October 24, 2003 6:43 PM
Subject: [speedtouch] Connexion avec speedtouch 330 USB



 Salut,

 Je reçois une adresse IP de mon ISP mais je ne peux ni naviguer ni pinger
une machine de l'internet.

 Cordialement,






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





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




[speedtouch] Re: Firmware questions

2003-10-26 Thread Leonard den Ottolander

Hello Jim,

 Does the old SpeedTouch (that looks like a sting ray) use the same
 firmware as the SpeedTouch 330?

 Yes.

 Could someone please tell me where I can get a linux-specific
 firmware for the 330? On the official product website I can find
 only Apple and Windows drivers; I can't extract the Apple driver,

 You can use the Linux specific driver for the SpeedTouch USB with your 
330 as well. Note that for other OSes the drivers are separately shown for 
both modems, but they are actually the same driver. See 
http://www.speedtouchdsl.com/support.htm or use 
http://download.ethomson.com/download/KQD6_R204.zip to avoid the annoying 
registration page.

 The Apple package is packed with StuffIt, for which you should be able to 
get a free Expander for. Iirc it contains the same firmware.

 and the Windows driver does not work well (extremely high CRC error
 rate and 75% drop in throughput).

 I also see a lot of CRC errors, which I reported to this list, and for 
which I recently made a patch available. See 
http://home.hetnet.nl/~ottolander/speedtouch/speedtouch.html . This patch 
fixes these CRC errors for me.

Hope this helps,

Bye,
Leonard.

--
How clean is a war when you shoot around nukelar waste?
Stop the use of depleted uranium ammo!
End all weapons of mass destruction.


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




[speedtouch] Re: Firmware questions

2003-10-26 Thread Duncan Sands

  I also see a lot of CRC errors, which I reported to this list, and for
 which I recently made a patch available. See
 http://home.hetnet.nl/~ottolander/speedtouch/speedtouch.html . This patch
 fixes these CRC errors for me.

Hi Leonard, what does the patch do?  Which patch is it on the web-page?  I am
curious as to whether the kernel module needs changes too.

Thanks,

Duncan.


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




[speedtouch] Re: Unifying the user mode and kernel mode projects

2003-10-26 Thread Duncan Sands

Is it OK to share the mailing list?

Thanks,

Duncan.


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




[speedtouch] Re: Connexion avec speedtouch 330 USB

2003-10-26 Thread Gilles Espinasse

*snip

 quand tu regardes avec route -n, quelle route est affectée à ppp0
 Destination Gateway Genmask Flags Metric RefUse
 Iface
 adr_passerelle  0.0.0.0 255.255.255.255 UH0  0
0
 ppp0
 0.0.0.0 adr_passerelle  0.0.0.0 UG0  0
0
 ppp0
 
 
 
 Bonjour
 J'ai le même problème: route -n ne me donne que la première ligne.
 Je ne sais pas comment rajouter au moins la seconde et même en
 feuilletant man route
 je vois pas .
 Pourriez vous m'indiquer ce qu'il faut que je fasse pour ajouter cette
 route?
 J'avais pensé à route -add NET -gw mon_adresse_de_passerelle mais j'en
 suis pas sûr.
 De plus une fois cette route ajoutée comment s'assurer qu'elle sera
 prise à chaque fois en compte
 lors de la connexion?
 Merci beaucoup par avance :)

c'est fait automatiquement par ppp quand l'option defaultroute est mise dans
le fichier d'options de ppp



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




[speedtouch] kernel 2.6 + SpeedTouxh USB + pppd problem

2003-10-26 Thread Ghost Dog

Hi,
I am using Debian GNU/Linux Sarge in a HP Omnibook XE2-DC laptop (USB
Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01).)
The driver works fine with the 2.4.22 kernel.(I would like to thank
all the people that helped for it)
The problem is with the 2.6 kernel.
I know that the kernel is not the stable kernel.I am sending this
message only in order to inform the developers.(and if there is a
solution i would love to hear it ;)
Ok the output of the problem.(i am using the alcaudsl.sys file copied
from a windows box which has the latest drivers installed --
v2.0.1)

usb 1-1: bulk timeout on ep5in
usbfs: USBDEVFS_BULK failed dev 2 ep 0x85 len 512 ret -110
usb 1-1: control timeout on ep0out
usb 1-1: control timeout on ep0out
usb 1-1: control timeout on ep0out
usbfs: process 617 (modem_run) did not claim interface 0 before use

i get this in the # modem_run -m -f /path/to/firmware   command
The firmware of the modem is SUCCESFULLY loaded in the modem (the
only problem is with the error messages tha you see.I already know
that the USBDEVFS_BULK is normal and can be fixed from the source
code)
The real problem is when i launch the # pppd call adsl   command
There i get this error message (my ppp version is 2.4.2+20031002-3)

usbfs: usb_submit_urb returned -32
usbfs: usb_submit_urb returned -32
Badness in local_bh_enable at kernel/softirq.c:121
Call Trace:
 [c0120b29] local_bh_enable+0x89/0x90
 [c8c59c8b] ppp_sync_push+0x5b/0x170 [ppp_synctty]
 [c8c5968d] ppp_sync_wakeup+0x2d/0x60 [ppp_synctty]
 [c01d2a00] pty_flush_buffer+0x0/0x70
 [c01cb7fa] do_tty_hangup+0x46a/0x4e0
 [c01cce47] release_dev+0x6d7/0x710
 [c0166c31] dput+0x31/0x220
 [c01cd22a] tty_release+0x2a/0x60
 [c015103a] __fput+0x10a/0x120
 [c014f649] filp_close+0x59/0x90
 [c011e3b4] put_files_struct+0x64/0xd0
 [c011efeb] do_exit+0x15b/0x3f0
 [c011f2b3] sys_exit+0x13/0x20
 [c010938b] syscall_call+0x7/0xb

I would like to thank everybody in advance for their help.

Liontos Aristote
(Ghost Dog)
-- 
__
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze


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




[speedtouch] Re: Unifying the user mode and kernel mode projects

2003-10-26 Thread Edouard Gomez

Duncan Sands ([EMAIL PROTECTED]) wrote:
 Is it OK to share the mailing list?

Of course :))

I would have kicked  your ass out of this ML long ago  if I did not want
to see  kernel mode driver discussions  here :))) obviously  that is not
the case.

-- 
Edouard Gomez


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




[speedtouch] Re: Can't compile Speedtouch driver on SuSE9

2003-10-26 Thread Leonard den Ottolander

Hi Duncan,

 Try replacing pusb-linux.c with the attached file.

 It seems the attachment got stripped. Maybe you can send it inline?

Bye,
Leonard.

--
How clean is a war when you shoot around nukelar waste?
Stop the use of depleted uranium ammo!
End all weapons of mass destruction.


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




[speedtouch] Re: Can't compile Speedtouch driver on SuSE9

2003-10-26 Thread Duncan Sands

On Sunday 26 October 2003 17:49, Leonard den Ottolander wrote:
 Hi Duncan,

  Try replacing pusb-linux.c with the attached file.

  It seems the attachment got stripped. Maybe you can send it inline?

Here it is.  The problem is that SuSe 9.0 uses 2.6 kernel headers, and
pusb-linux.c doesn't compile against them.  I see that the 2.6 usb headers
have just been backported to 2.4 (and will appear in the 2.4.23 kernel),
so it is just a matter of time before this problem hits lots of people.

Duncan.

/*
*  ALCATEL SpeedTouch USB : Portable USB user library -- Linux implementation
*  Copyright (C) 2001 Benoit PAPILLAULT
*  
*  This program is free software; you can redistribute it and/or
*  modify it under the terms of the GNU General Public License
*  as published by the Free Software Foundation; either version 2
*  of the License, or (at your option) any later version.
*  
*  This program is distributed in the hope that it will be useful,
*  but WITHOUT ANY WARRANTY; without even the implied warranty of
*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*  GNU General Public License for more details.
*  
*  You should have received a copy of the GNU General Public License
*  along with this program; if not, write to the Free Software
*  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
*
*  Author   : Benoit PAPILLAULT [EMAIL PROTECTED]
*  Creation : 29/05/2001
*
*  $Id: pusb-linux.c,v 1.9 2003/01/31 21:47:02 edgomez Exp $
*/

#ifndef _PUSB_LINUX_C_
#define _PUSB_LINUX_C_

#include stdio.h
#include stdlib.h
#include unistd.h
#include fcntl.h
#include dirent.h
#include signal.h
#include errno.h
#include string.h
#include ctype.h

#include sys/stat.h
#include sys/ioctl.h
#include sys/time.h

#include linux/usb.h
#include linux/usbdevice_fs.h
#include asm/page.h

#include pusb.h

/**
*   Structures
**/

struct pusb_device_t
{
int fd;
};

struct pusb_endpoint_t
{
int fd;
int ep;
};

static const char usb_path[] = /proc/bus/usb;

#ifndef __LINUX_USB_CH9_H
/* Device descriptor */
struct usb_device_descriptor {
__u8  bLength;
__u8  bDescriptorType;
__u16 bcdUSB;
__u8  bDeviceClass;
__u8  bDeviceSubClass;
__u8  bDeviceProtocol;
__u8  bMaxPacketSize0;
__u16 idVendor;
__u16 idProduct;
__u16 bcdDevice;
__u8  iManufacturer;
__u8  iProduct;
__u8  iSerialNumber;
__u8  bNumConfigurations;
} __attribute__ ((packed));
#endif

/*
*   Local Prototypes
*/

static int test_file(const char *path, int vendorID, int productID);
static int usbfs_search(const char *path, int vendorID, int productID);
static pusb_device_t make_device(int fd);

/*
*   Library functions
*/



/*
* Function : pusb_search_open
* Return value : NULL on error, a valid pusb_device_t on success
* Description  : 
*/
pusb_device_t pusb_search_open(int vendorID, int productID)
{
int fd;

if ((fd = usbfs_search(/proc/bus/usb,vendorID,productID))  0)
return(NULL);

return(make_device(fd));

}

/*
* Function : pusb_open
* Return value : NULL on error, a valid pusb_device_t on success
* Description  : Opens the USB device pointed by path
*/
pusb_device_t pusb_open(const char *path)
{
int fd; 

if ((fd = open(path, O_RDWR))  0)
return(NULL);

return(make_device(fd));

}

/*
* Function : pusb_close
* Return value : 0 on success, -1 on error (errno is set)
* Description  : Closes the USB dev
*/
int pusb_close(pusb_device_t dev)
{

int ret;

ret = close(dev-fd);
free(dev);

return(ret);

}

/*
* Function : pusb_control_msg
* Return value : ioctl returned value (see linux usb docs)
* Description  : sends a control msg urb to the device
*/
int pusb_control_msg(   pusb_device_t dev,
int request_type,
int request,
int value,
int index, 
unsigned char *buf,
int size,
int timeout)
{

int ret;
struct usbdevfs_ctrltransfer ctrl;

ctrl.bRequestType = request_type;
ctrl.bRequest = request;
ctrl.wValue   = value;
ctrl.wIndex   = index;
ctrl.wLength  = size;
ctrl.timeout = timeout;
ctrl.data= buf;

ret = ioctl(dev-fd,USBDEVFS_CONTROL,ctrl);


[speedtouch] first post + Freebsd 5.1 cur pppoe problem...

2003-10-26 Thread Andreas Jorneus

Hi all..

This is my first post to this mailgroup. Searched for the irc channel but
the server seems to be down or something.

 

I got some problems get my speedtouch 330 working on freebsd 5.1 CURRENT
with pppoe support.

 

I have reed the cvs and downloaded the current version, but I can't get it
to work with my Swedish ISP Bostream.

Anyone else from Sweden got Istream from bostream?

 

This is my logs from modem_run and pppoa3 and ppp

 

modem_run.log:

 

Oct 26 00:28:28 Prostotnic1 modem_run[1040]: modem_run version 1.2-beta2
started by magny uid 0

Oct 26 00:28:34 Prostotnic1 modem_run[1040]: Kernel mode driver not found

Oct 26 00:29:25 Prostotnic1 modem_run[1040]: ADSL synchronization has been
obtained

Oct 26 00:29:25 Prostotnic1 modem_run[1040]: ADSL line is up (2400 kbit/s
down | 768 kbit/s up)

 

pppoa3.log:

 

Oct 26 02:37:50 Prostotnic1 pppoa3[576]: pppoa3 version 1.2-beta2 started by
root (uid 0)

Oct 26 02:37:50 Prostotnic1 pppoa3[576]: Control thread ready

Oct 26 01:22:38 Prostotnic1 pppoa3[1342]: pusb_set_configuration 1

 

Ppp:

 

Oct 23 13:33:09 Prostotnic1 ppp[565]: tun0: Phase: deflink: Connected!

Oct 23 13:33:09 Prostotnic1 ppp[565]: tun0: Phase: deflink: opening - dial

Oct 23 13:33:09 Prostotnic1 ppp[565]: tun0: Phase: deflink: dial - carrier

Oct 23 13:33:14 Prostotnic1 ppp[565]: tun0: Phase: deflink: Disconnected!

Oct 23 13:33:14 Prostotnic1 ppp[565]: tun0: Phase: deflink: carrier -
hangup

Oct 23 13:33:14 Prostotnic1 ppp[565]: tun0: Phase: deflink: Connect time: 5
secs: 0 octets in, 0 octet$

Oct 23 13:33:14 Prostotnic1 ppp[565]: tun0: Phase: deflink: 0 packets in, 0
packets out

Oct 23 13:33:14 Prostotnic1 ppp[565]: tun0: Phase:  total 0 bytes/sec, peak
0 bytes/sec on Thu Oct 23 $

Oct 23 13:33:14 Prostotnic1 ppp[565]: tun0: Phase: deflink: hangup -
opening..

 

Anyone got this to work?



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




[speedtouch] Stephen Alan Purser/CLEARSTREAM/GDB is out of the office. Original subject: 'first post + Freebsd 5.1 cur pppoe problem...'

2003-10-26 Thread spurser . cs
I will be out of the office starting  27/10/2003 and will not return until
03/11/2003.

Please contact:

Paul Rees For Network  mid-range security issues
Jacques Wendling for mainframe and OA security issues

Thank You.

Steve Purser





Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does 
not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally 
privileged. It is intended solely for the addressee. If you are not the intended 
recipient, any disclosure, copying, distribution or any action taken or omitted to be 
taken in reliance on it, is prohibited and may be unlawful. Any views expressed in 
this e-mail are those of the individual sender, except where the sender specifically 
states them to be the views of Clearstream International or of any of its affiliates 
or subsidiaries.

END OF DISCLAIMER


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