[speedtouch] Re: Speedtouch and Fedora Core 3

2005-01-25 Thread Aad Rijnberg

Hi Jyrki,

I got the 330 operational by executing the following steps:
1) split firmware
2) copy 2 firmware parts to the right place
3) edit /etc/chap-secrets, /etc/pap-secrets and /etc/ppp/peers/speedtch
4) edit /etc/resolv.conf
5) connect the ST330 via USB to the PC
6) connect to the provider
7) automate the connection process during the boot process

I connect to my provider using PPPoATM (so not PPPoE) and have a purple
ST330.

sub 1)
Compile the firmware program,which you can obtain at http://linux-
usb.sourceforge.net/SpeedTouch/firmware/firmware.html, using:
  $ gcc -o firmware firmware.c -DSTANDALONE_EXTRACTER
Attention: this means that you must have the c-compiler installed! 
Then run the obtained program to split e.g. mgmt.o:
  $ ./firmware mgmt.o
As a result you will have the files speedtouch-[12].bin

Sub 2)
  # cp speedtouch-[12].bin /lib/firmware

Sub 3)
Add a line to both files (chap-secrets and pap-secrets) that contain
your userid/pwd to connect to your provider, e.g.:
  [EMAIL PROTECTED] * your_plain_password *

My /etc/ppp/peers/speedtch contains:
  # To connect to using this configuration file, do
  #   pppd call speedtch
  
  lcp-echo-interval 10
  lcp-echo-failure 3
  noipdefault
  defaultroute
  user [EMAIL PROTECTED]
  noauth
  noaccomp
  nopcomp
  noccp
  novj
  holdoff 4
  persist
  maxfail 25
  updetach
  usepeerdns
  plugin pppoatm.so
  8.48

Attention: the 8.48 numbers (vpi/vci) depend on the country you are in,
verify them...

It is also wise to set the access rights of the files properly (if not
already done):
  # chown 0:0 chap-secrets pap-secrets peers/speedtch
  # chmod 600 chap-secrets pap-secrets peers/speedtch

Sub 4)
Add the (DNS) nameservers of your ISP to this file. My file contains:
  nameserver aa.bb.cc.d
  nameserver aa.bb.cc.e

Attention: the aa, bb, cc, d and e should be replaced by the actual
numbers of your provider.

Sub 5)
Make the physical connection. The firmware should be loaded
automatically in the device (see LED activity on the modem).

Sub 6)
# /usr/sbin/pppd call speedtch
The feedback on the screen should be something like:
  Plugin pppoatm.so loaded.
  
  PPPoATM plugin_init

  PPPoATM setdevname_pppoatm - SUCCESS:8.48

  Using interface ppp0
  
  Connect: ppp0 -- 8.48
  
  PAP authentication succeeded
  
  local IP address ff.gg.hhh.iii
  
  remote IP address jjj.kkk.lll.mm
  
  primary DNS address aa.bb.cc.d
  
  secondary DNS address aa.bb.cc.e

Sub 7)
To allow connection at boot I added a line to /etc/rc.d/rc.local:
  /usr/sbin/pppd call speedtch

BTW, the /etc/ppp/options file is not needed, so I renamed it:
  # mv options options.orig

As you will see, I did not follow the page you referred to for 100%, as
I use /etc/ppp/peers/speedtch i.s.o. /etc/sysconfig/network-
scripts/ifcfg-ppp0. I don't know if this might also solve your problem?

I hope this helps you getting connected with FC3. Success!

Aad

On Tue, 2005-01-25 at 14:06 +, Jyrki Leppanen wrote:
 Hi!
 
 I am trying to set up a new firewall/gateway to connect to the Internet
 after a serious hard disk failure in my previous gateway which was set up
 more than two years ago with Red Hat 8 and Speedtouch USB modem (the green
 manta). As I am now using FC3 I downloaded the necessary files and followed
 the instructions given in the
 http://linux-usb.sourceforge.net/SpeedTouch/fedora/core-3.html pages, but
 something is just not working ok. The pppd seems not be able to communicate
 with the modem. The modem initialises ok with the correct sequence of leds.
 What am I doing wrong? Here's an extract of the logfile:
 I would be very happy of any help,
 
 Jyrki
 
 =
 
 Jan 25 04:24:46 enigma syslogd 1.4.1: restart.
 ...
 Jan 25 04:24:47 enigma kernel: Linux version 2.6.9-1.667
 ([EMAIL PROTECTED]) (gcc version 3.4.2 20041017 (Red Hat
 3.4.2-6.fc3)) #1 Tue Nov 2 14:41:25 EST 2004
 ...
 Jan 25 04:24:47 enigma RFC1483/2684 bridge: Interface nas0 created
 sucessfully 
 Jan 25 04:24:47 enigma RFC1483/2684 bridge: Communicating over ATM 0.0.35,
 encapsulation: LLC 
 ...
 Jan 25 04:24:47 enigma RFC1483/2684 bridge: Interface configured
 Jan 25 04:24:48 enigma RFC1483/2684 bridge: RFC 1483/2684 bridge daemon
 started 
 ...
 Jan 25 04:24:48 enigma pppd[2301]: Plugin rp-pppoe.so loaded.
 ...
 Jan 25 04:24:48 enigma pppd[2301]: RP-PPPoE plugin version 3.3 compiled
 against pppd 2.4.2
 ...
 Jan 25 04:24:48 enigma pppd[2301]: pppd 2.4.2 started by root, uid 0
 ...
 Jan 25 04:24:49 enigma pppd[2301]: Using interface ppp0
 Jan 25 04:24:49 enigma pppd[2301]: Couldn't increase MTU to 1500
 ...
 Jan 25 04:24:49 enigma pppd[2301]: Couldn't increase MRU to 1500
 Jan 25 04:24:49 enigma pppd[2301]: local  IP address 10.112.112.112
 Jan 25 04:24:49 enigma pppd[2301]: remote IP address 10.112.112.113
 ...
 Jan 25 04:24:51 enigma kernel: usbcore: registered new driver usbfs
 Jan 25 04:24:51 enigma kernel: usbcore: registered new driver hub
 ...
 Jan 25 04:24:55 enigma kernel: usbcore: registered 

[speedtouch] Re: modem_run problem

2004-11-18 Thread Aad Rijnberg

Hi,

I have the same problem with messages during boot and shutdown (and
probably also during operation):
Nov 18 12:22:50 localhost kernel: usb x-y: usbfs: process 
(modem_run) did not claim interface 0 before use

So if somebody knows how to get rid if them, please let us know...

Aad

On Thu, 2004-11-18 at 12:50, [EMAIL PROTECTED] wrote:
 Hi everyone,
 
 I want to thank everybody who helped me and especially Aad: I'm writing this
 mail from my Fedora system!! 
 Thank you a lot!
 
 I used linux-atm-2.4.1-1.i386.rpm (thank you Gilles Espinasse) and I have not
 intalled the ppp daemon  
 that comes with the speedbundle, I'm using the one that comes with Fedora.
 
 But... there's another problem: I have my /var/log/messages continuosly filled
 by this two lines:
 
 Nov 18 12:22:50 localhost modem_run[1720]: Error reading interrupts 
 Nov 18 12:22:50 localhost kernel: usb 3-1: usbfs: process 1720 (modem_run) did
 not claim interface 0 before use
 
 They even fill the screen during the boot.
 I found a dirty solution: kill -9 modem_run pid.
 Does somebody know which is the cause of this problem and a better solution 
 for
 this?
 
 Regards,
 Marco Antonelli



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




[speedtouch] Re: speedbundle cannot find Rules.make

2004-11-17 Thread Aad Rijnberg

Hi Marco,

on my system it can be found at 
speedbundle-1.0/linux-atm/src/lib/.libs/libatm.so
so I presume it is the result of compilation of the linux-atm/src
directory. It might be that the change I proposed to the
speedbundle-1.0/configure breaks this in your case, whereas I used a
different approach (copying atm header files to /usr/include/linux).
Maybe you have to add yet another option to the line in
speedbundle-1.0/configure:

  cd linux-atm  ./configure --prefix=/usr
--includedir=/usr/src/linux-2.4.9/include --libdir=../../src/lib/.libs
 cd ..  \

I doubt if it works, but you could try... Is the so-file also available
on your system at the place that I mentioned?

Regards,
Aad

On Wed, 2004-11-17 at 20:30, [EMAIL PROTECTED] wrote:
 Hello Aad,
 
 I did everything and the compliation had got further... thank you sincerely.
 But...
 It blocks a little further, this is the output:
 
 gcc -I../../src/include -g -O2 -Wall -Wshadow -Wpointer-arith -Wwrite-strings
 -Wstrict-prototypes -o .libs/aread aread.o  ../../src/lib/.libs/libatm.so
 -lresolv../../src/lib/.libs/libatm.so: undefined reference to `blli_in_use'
 collect2: ld returned 1 exit status
 make[4]: *** [aread] Error 1
 make[4]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm/src/test'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm/src'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm'
 make[1]: *** [all-recursive-am] Error 2
 make[1]: Leaving directory `/root/Desktop/speedbundle-1.0/linux-atm'
 make: *** [build-stamp] Error 2
 
 
 I tried to search libatm.so, but it is not in my hd.
 May you help me again?
 
 Marco Antonelli



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




[speedtouch] Re: speedbundle cannot find Rules.make

2004-11-16 Thread Aad Rijnberg

Hello Marco,

On Tue, 2004-11-16 at 00:39, [EMAIL PROTECTED] wrote:
 Hi Aad,
 I have understand something, but surely not everything... :(
 I eliminate those lines in the configure file and the Makefile about the 
 kernel
 module and also those ones regarding the ppp daemon (I have the same version,
 2.4.2, so I don't need a knew one).

If I understood properly some time ago, it really is needed to compile
ppp to make it atm-aware, because the version that is delivered with FC
is not. So I would not disable that part...

 As you said
  After you disable the lines that contain kernel_module in these two
  files, it will appear that compilation stops at another point (see my
  mail of Fri, 12 Nov 2004, titled Speedbundle under Fedora Core 3).
 I had compilation problems with the sapequal.c file.
 So I have to:
 1a)
  copying of the atm-header files from /usr/src/linux-2.4.9/include/linux
  directory to /usr/include/linux.
 I have 19 atm*.h files in /usr/src/linux-2.6.9/include/linux and
 16 atm*.h in /usr/include/linux, some files are different (like atm.h) and
 others are identic (like atm_eni.h) Is that right?

There are indeed more header files in /usr/src/linux-2.4.9/include/linux
But maybe it is better to redefine the include path for compiling the
linux-atm module (see below). 

 
 or better
 
 1b)
  change the path to the (system) include files (Makefile
  variable includedir) from ${prefix}/include to
  /usr/src/linux-2.4.9/include in the Makefile in
  speedbundle-1.0/linux-atm, and maybe also in deeper levels of that
  directory.
 I opened the speedbundle/linux-atm/
 I found two Makefiles: Makefile.in and Makefile.am
 In the second one is very short, and there are no includedir variables.
 In the second one there are these variables:
 includedir = @includedir@
 oldincludedir = /usr/include
 
 That's strange... should I use method 1a?

I think the way to go here is to edit the line regarding linux-atm in 
speedbundle-1.0/configure as follows:

  cd linux-atm  ./configure --prefix=/usr
--includedir=/usr/src/linux-2.4.9/include  cd ..  \

(attention: this is one line)
So you should not have to edit any Makefile.

 2) replacing
   default:
 }
 
 by:
 
   default:
 ;
 }
 in speedbundle-1.0/linux-atm/src/lib/sapequal.c, 
 speedbundle-1.0/linux-atm/src/sigd/proto.c, and 
 speedbundle-1.0/linux-atm/src/maint/enitune.c
 
 3)Add the line #define __user to the file
 /usr/include/linux/atm.h before the line #include linux/compiler.h
 
 Am I right? Or did I forget something?
 What should I do with the atm headers?

I would edit the file /usr/src/linux-2.4.9/include/linux/atm.h (after
making a backup of the original) so that it contains the #define.

And I think that in order to get everything operational, you really need
to use the documentation link I sent you yesterday.

Success.

Aad


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




[speedtouch] Re: speedbundle cannot find Rules.make

2004-11-15 Thread Aad Rijnberg

Hi Marco,

after looking into your log, I see that you have the kernel module still
enabled in the configure and Makefile. If you look into the explanation
at http://www.4p8.com/eric.brasseur/speedbundle_fedora.html you can see
that this should be disabled for Fedora Core because the kernel module
for the Speedtouch is already provided (also by FC3).

After you disable the lines that contain kernel_module in these two
files, it will appear that compilation stops at another point (see my
mail of Fri, 12 Nov 2004, titled Speedbundle under Fedora Core 3).

I have fixed this, but it seems to be a quick and dirty one, at least
for the copying of the atm-header files from
/usr/src/linux-2.4.9/include/linux directory to /usr/include/linux (see
reply on my mail by Frdric RUAUDEL). So maybe a better solution for
that part is to change the path to the (system) include files (Makefile
variable includedir) from ${prefix}/include to
/usr/src/linux-2.4.9/include in the Makefile in
speedbundle-1.0/linux-atm, and maybe also in deeper levels of that
directory.

If you need more help please ask...

Kind regards,
Aad

On Mon, 2004-11-15 at 15:41, [EMAIL PROTECTED] wrote:
 Hallo everyone,
 I've got a Fedora Core 3 and a 2.6.9-1.667 kernel and I have also downloaded 
 and
 installed the source of this one.
 when I try to compile the speedbundle, I got this output:
 
 cd kernel_module  make
 make[1]: Entering directory `/root/Desktop/speedbundle-1.0/kernel_module'
 make -C /lib/modules/2.6.9-1.667/build
 SUBDIRS=/root/Desktop/speedbundle-1.0/kernel_module modules
 make[2]: Entering directory `/lib/modules/2.6.9-1.667/build'
 /root/Desktop/speedbundle-1.0/kernel_module/Makefile:23:
 /lib/modules/2.6.9-1.667/build/Rules.make: No such file or directory
 make[3]: *** No rule to make target 
 `/lib/modules/2.6.9-1.667/build/Rules.make'.
  Stop.
 make[2]: *** [_module_/root/Desktop/speedbundle-1.0/kernel_module] Error 2
 make[2]: Leaving directory `/lib/modules/2.6.9-1.667/build'
 make[1]: *** [speedtch.o] Error 2
 make[1]: Leaving directory `/root/Desktop/speedbundle-1.0/kernel_module'
 make: *** [build-stamp] Error 2
 
 So I tried to find Rules.make on the hard drive, but it is not present.
 So I asked Google, and I found two answers:
 1) You haven't got the kernel source (but I have it)
 2) 2.6 kernel haven't got this file anymore... Could this be possible?
 
 Please help me to find a solution,
 Marco Antonelli
 



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




[speedtouch] Speedbundle under Fedora Core 3

2004-11-12 Thread Aad Rijnberg

Hello,

I have been trying to get the SpeedTouch 330 operational under Fedora
Core 3. In the end I succeeded, and want to give some feedback on
problems I encountered so that others can benefit from it.

Some time ago I read in this list that it was needed to copy the atm
header files that belong to the used kernel from
/usr/src/linux-some-version/include/linux to /usr/include/linux.
Therefore I downloaded the source code of the kernel that came with FC3,
and installed it. It appeared to end up in /usr/src/redhat/SOURCES. I
untarred linux-2.6.9.tar.bz2 such that the kernel source tree ended up
in /usr/src/linux-2.6.9. 
Then I copied the /usr/src/linux-2.6.9/include/linux/atm*.h files to
/usr/include/linux.

I commented out the kernel module in configure and Makefile in the root
directory of speedbundle-1.0, filled in some details in the ppp_scripts
(as described in the documentation), and compiled the whole lot:
$ make

Unfortunately I got compiler errors related to 2 problems:
1) switch statements in the speedbundle sources that had an empty
default clause
2) __user being in the way in the files /usr/include/linux/atmdev.h and
/usr/include/linux/atm.h.

sub 1) my compiler (gcc 3.4.2 20041017) did not like nothing after a
default clause; it generated errors for this (not warnings). 
In the files speedbundle-1.0/linux-atm/src/lib/sapequal.c, 
speedbundle-1.0/linux-atm/src/sigd/proto.c, and 
speedbundle-1.0/linux-atm/src/maint/enitune.c I fixed the problem by
replacing:

  default:
}

by:

  default:
;
}

sub 2) Add the line #define __user to the file
/usr/include/linux/atm.h before the line #include linux/compiler.h,
so that it (__user) is removed by the preprocessor. I do not oversee
what is influenced by this, but it did work for me. Does anybody know
the purpose of __user?

After solving these problems everything compiled (here and there some
warnings).

Then I removed the existing ppp package with:
# rpm -e --nodeps ppp

and I installed the stuff:
# make install

I tested the modem with two commands:
# /usr/sbin/modem_run -k -f /usr/lib/speedtouch/firmware.bin
wait until the modem lights stay lighting up green continuously, and
then:
# /usr/sbin/pppd call speedtch

The connection was made, so it worked.

I saw that DNS did not work (when browsing using the name of the
website), so I adapted /etc/resolve.conf to include the IP-addresses of
the name servers of my provider. Finally I could browse the web using
site names i.s.o. IP-numbers.

Regarding my changes:
- the first changes I made had to do with incompatibility of the
  speedbundle sources with the new compiler. You could add my changes to
  the next release of speedbundle.
- the change in the kernel header file atm.h was a quick and dirty one,
  where I could not completely oversee what could be ruined by this. How
  should this be fed back to the right people?


Kind regards,

Aad


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




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-27 Thread Aad Rijnberg

Hi,

thanks to you all I have got the Speedtouch operational with the kernel
module.

This incorporated the following steps:
- install kernel-source rpm
- apply patches of Duncan for usb
- configure the kernel to include ATM, PPP Over ATM support, Speedtouch
  (and RFC1483/2684 Bridged Protocols, but I doubt if that is required
  for pppoatm)
- make and make modules_install install for the kernel
- add new kernel to grub.conf
- use speedbundle-1.0, where the kernel-module part is not built/
  installed.

Then I see still some errors/warnings during boot, but the modem is
operational (I sent this mail via FC2 using the kernel module). See the
part of /var/log/messages related to the ST330:
May 27 07:18:12 localhost kernel: USB Universal Host Controller
Interface driver v2.2
May 27 07:18:13 localhost kernel: uhci_hcd :00:04.2: UHCI Host
Controller
May 27 07:18:13 localhost kernel: uhci_hcd :00:04.2: irq 9, io base
d400
May 27 07:18:13 localhost kernel: uhci_hcd :00:04.2: new USB bus
registered, assigned bus number 1
May 27 07:18:13 localhost kernel: hub 1-0:1.0: USB hub found
May 27 07:18:13 localhost kernel: hub 1-0:1.0: 2 ports detected
May 27 07:18:13 localhost kernel: uhci_hcd :00:04.3: UHCI Host
Controller
May 27 07:18:13 localhost kernel: uhci_hcd :00:04.3: irq 9, io base
d000
May 27 07:18:13 localhost kernel: uhci_hcd :00:04.3: new USB bus
registered, assigned bus number 2
May 27 07:18:13 localhost kernel: hub 2-0:1.0: USB hub found
May 27 07:18:13 localhost kernel: hub 2-0:1.0: 2 ports detected
May 27 07:18:13 localhost kernel: usb 1-2: new full speed USB device
using address 2
May 27 07:18:13 localhost kernel: hub 1-2:1.0: USB hub found
May 27 07:18:13 localhost kernel: device-mapper: 4.1.0-ioctl
(2003-12-10) initialised: [EMAIL PROTECTED]
May 27 07:18:13 localhost kernel: usb 1-2: control timeout on ep0in
May 27 07:18:13 localhost kernel: hub 1-2:1.0: config failed, can't read
hub descriptor (err -110)
May 27 07:18:13 localhost kernel: usb 2-2: new full speed USB device
using address 2
May 27 07:18:13 localhost kernel: hub 2-2:1.0: USB hub found
May 27 07:18:13 localhost kernel: hub 2-2:1.0: 4 ports detected
May 27 07:18:13 localhost kernel: usb 2-2.2: new full speed USB device
using address 3
May 27 07:18:13 localhost kernel: usbcore: registered new driver
speedtch
May 27 07:18:13 localhost kernel: usb 2-2.2: usbfs: interface 1 claimed
while 'modem_run' sets config #1
May 27 07:18:13 localhost kernel: usb 2-2.2: usbfs: interface 2 claimed
while 'modem_run' sets config #1
May 27 07:18:13 localhost kernel: usb 2-2.2: bulk timeout on ep5in
May 27 07:18:13 localhost kernel: usbfs: USBDEVFS_BULK failed dev 3 ep
0x85 len 512 ret -110
May 27 07:18:13 localhost kernel: usb 2-2.2: usbfs: interface 0 claimed
while 'modem_run' sets config #1
May 27 07:18:13 localhost kernel: usb 2-2.2: usbfs: interface 1 claimed
while 'modem_run' sets config #1
May 27 07:18:13 localhost kernel: usb 2-2.2: usbfs: interface 2 claimed
while 'modem_run' sets config #1
May 27 07:18:22 localhost kernel: usbfs: process 1627 (modem_run) did
not claim interface 0 before use
May 27 07:18:28 localhost pppd[2533]: Plugin pppoatm.so loaded.
May 27 07:18:28 localhost kernel: CSLIP: code copyright 1989 Regents of
the University of California
May 27 07:18:28 localhost pppd[2533]: PPPoATM plugin_init
May 27 07:18:28 localhost pppd[2533]: PPPoATM setdevname - remove
unwanted options
May 27 07:18:28 localhost kernel: PPP generic driver version 2.4.2
May 27 07:18:28 localhost pppd[2533]: PPPoATM setdevname_pppoatm -
SUCCESS:8.48
May 27 07:18:28 localhost pppd[2533]: pppd 2.4.2b3 started by root, uid
0
May 27 07:18:28 localhost pppd[2533]: Using interface ppp0
May 27 07:18:28 localhost pppd[2533]: Connect: ppp0 -- 8.48
May 27 07:18:31 localhost pppd[2533]: PAP authentication succeeded
May 27 07:18:31 localhost pppd[2533]: local  IP address xx.xx.xxx.xxx
May 27 07:18:31 localhost pppd[2533]: remote IP address xxx.xxx.xxx.xxx
May 27 07:18:31 localhost pppd[2533]: primary   DNS address xx.xx.xx.x
May 27 07:18:31 localhost pppd[2533]: secondary DNS address xx.xx.xx.x

Duncan, you told that most of them are due to modem_run.c and are not
critical, but the dont look good messages as you called them are
still there:
May 27 07:18:13 localhost kernel: usb 1-2: control timeout on ep0in
May 27 07:18:13 localhost kernel: hub 1-2:1.0: config failed, can't read
hub descriptor (err -110)

Everything operates however properly.

Thanks all for the support! I will give feedback to Eric Brasseur who
already has a webpages online with solutions for the Speedtouch 330 on
FC1 (kernel space) and FC2 (user space).

Regards,
Aad


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




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-25 Thread Aad Rijnberg

Hi guys,

thanks for all the feedback. Here is some reaction to your suggestions
(it is rather long, but I thought the least I can do is to give some
response to your efforts):

Duncan actually it seems to have gone fine (the firmware downloading)

Does this mean that the errors/warnings can be ignored?
May 23 08:07:29 localhost kernel: usb 1-2: control timeout on ep0in
May 23 08:07:29 localhost kernel: hub 1-2:1.0: config failed, can't
read hub descriptor (err -110)
May 23 08:07:29 localhost kernel: usb 2-2.2: usbfs: interface 1
claimed while 'modem_run' sets config #1
May 23 08:07:29 localhost kernel: usb 2-2.2: usbfs: interface 2
claimed while 'modem_run' sets config #1
May 23 08:07:29 localhost kernel: usb 2-2.2: bulk timeout on ep5in
May 23 08:07:29 localhost kernel: usbfs: USBDEVFS_BULK failed 
dev 3 ep 0x85 len 512 ret -110
May 23 08:07:29 localhost kernel: usb 2-2.2: usbfs: interface 0
claimed while 'modem_run' sets config #1
May 23 08:07:29 localhost kernel: usb 2-2.2: usbfs: interface 1
claimed while 'modem_run' sets config #1
May 23 08:07:29 localhost kernel: usb 2-2.2: usbfs: interface 2
claimed while 'modem_run' sets config #1
May 23 08:07:47 localhost kernel: usbfs: process 1608 (modem_run)
did not claim interface 0 before use
Is there a possibility to solve these warnings?


William I'm using Fedora Core 1, but I'll throw in my 2 cents.  The
William first cent is that Fedora Core 2 final is out, so you need
William to get it.

I started the thread when using test3, but in the mean time I had
downloaded and installed the final version of FC2. In my mail of Sunday
23 May 2004 I was referring to problems with the final install.


William Next, it looks like you didn't install everything from
William speedbundle. Then again, neither did I, but you still need
William most of it.  Are you sure that everything compiled and
William installed?  Did you make sure to get the necessary firmware
William (It's not included with speedbundle!)?

I didn't make/install pppd, linux-atm and kernel-module, because I
thought that they might conflict with kernel-2.6. When configuring the
kernel I selected atm, ppp over atm and the speedtouch kernel driver, so
I thought that I didn't need these speedbundle parts.


William You need to move your pppd executables out of the way and
William install the pppd found in speedbundle.  This will place the
William necessary pppoatm.so plugin. But read the rest of this
William first.

Duncan You need a pppoa aware pppd.  The speedbundle contains one.

Frédéric Like duncan said earlier, you need a pppoa aware pppd
Frédéric daemon. In order to have this, you need to compile
Frédéric linux-atm and pppd present in the speedbundle package.

OK, I will try to compile and use the version contained in speedbundle.
But how are the linux-atm and pppd packages in speedbundle related to
the stuff I activated in the kernel configuration? Are they a different
way to obtain the same functionality?


Frédéric To work this around, you should (re)move all atm*.h file
Frédéric in /usr/include/linux and replace them with those present
Frédéric in the 2.6.5 kernel sources.

Hmmm, good that you mention this. I did not read about this problem
before.


William run ./configure from the root of the speedbundle directory.
William It will tell you what values you need to fill in the
William ppp_scripts and if you need the firmware file (you do have the
William firmware file, right?)

I have the firmware file, and I made all the required changes in the
ppp_scripts files.

William There is a bug in the ppp_scripts, you need to edit speedtch
William and replace the 0.00 with your VPI and VCI numbers for your
William service.

Sure, I did that.


William I think that you need the kernel-source package installed, but
William I'm not certain.

It's installed.


William Then try to make.  If you get an error on the make, do a make
William clean, re-./configure.  You will most likely fail on the
William linux-atm or ppp.  If that's the case, you don't really need
William linux-atm (someone correct me if I'm wrong; if I'm right, i
William would suggest leaving it out anyways, I think this
William unnecessarily writes over stuff in your existing kernel), so
William you can make and make install on each of the directories
William individually, leaving out linux-atm.  If you look at the
William top-level Makefile, you'll see how it does this (you'll want to
William copy its lines).  If the make fails on ppp, check the output,
William it is most likely complaining about the kernel.  In that case,
William you need to use a standard Linux kernel for the build rather
William than the Fedora Linux kernel (don't forget to move your
William original pppd executeables out of the way before installing the
William new pppd).  If you don't want to mess with the standard Linux
William kernel, this website
William 

[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-23 Thread Aad Rijnberg

On Sun, 2004-05-23 at 10:28, Aad Rijnberg wrote: 
 On Sun, 2004-05-16 at 22:06, Duncan Sands wrote:
   I have also noticed the problems with FC2 test3, and am willing to try
   to make the changes in the final version of FC2 which will be released
   next week. Could you then please send me the required file(s) that I
   need to check and update? And maybe some pointers where in the source
   files I need to look...
  
   When I get it to work I can post a patch file, so that every FC2 user
   can enjoy his Speedtouch again.
  
  These should do the trick:
  
  http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
  http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
  http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
  http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
  http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
  http://linux.bkbits.net:8080/linux-2.5/[EMAIL PROTECTED]|[EMAIL PROTECTED]
  
  Ciao,
  
  Duncan.
 
 Hi Duncan,
 
 after applying the patches and running part of speedbundle-1.0, it still
 does not work :-( Do you have any suggestions for next steps that I can take?
 
 Regards,
 Aad

Duncan,

I tried something else (see
http://www.4p8.com/eric.brasseur/fc2_speedtouch_usb.html), and that did
work. I have browsed the net with FC2 ;-) 
I don't know if this gives you an extra clue as to why that does and the
kernel driver does not work?!

This solution uses however the user space driver, and I still would like
to get the kernel space driver operational. So my struggle remains...

Aad



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




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-23 Thread Aad Rijnberg

 Duncan,
 
 I tried something else (see
 http://www.4p8.com/eric.brasseur/fc2_speedtouch_usb.html), and that did
 work. I have browsed the net with FC2 ;-) 
 I don't know if this gives you an extra clue as to why that does and the
 kernel driver does not work?!
 
 This solution uses however the user space driver, and I still would like
 to get the kernel space driver operational. So my struggle remains...
 
 Aad

Sorry, forgot to mention that this solution worked in combination with
the standard kernel that came with FC2 (no reconfiguration whatsoever).



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




[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel)

2004-05-15 Thread Aad Rijnberg

  You better raise this issue at the [EMAIL PROTECTED] . Maybe
  somebody on that list can update you on the status of Fedora Core 2 in
  regard to this bug.
 
 It's a kernel problem and will be fixed in 2.6.7.  Maybe the fedora people
 can backport the fix (= a bunch of changes in drivers/usb/core/devio.c
 by yours truly).
 
 Ciao,
 
 Duncan.

Duncan,

I have also noticed the problems with FC2 test3, and am willing to try
to make the changes in the final version of FC2 which will be released
next week. Could you then please send me the required file(s) that I
need to check and update? And maybe some pointers where in the source
files I need to look...

When I get it to work I can post a patch file, so that every FC2 user
can enjoy his Speedtouch again.

Aad


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




[speedtouch] Re: Speedtouch 330 under Linux. Is it possible?

2003-01-05 Thread Aad Rijnberg

Hi,

 Is there anybody on this list who can confirm that he uses a SpeedTouch
 330 modem under Linux to access Internet through ADSL? It could be very
 usefull for a lot of people who fail in installing propely the access to
 know the following :
 - which type of Linux distribution and version is used.
 - which driver ? : Alcatel's driver for Linux doesn't exist for this USB
 ADSL Speedtouch 330 modem. If the driver used has been downloaded from
 the official site (sourceforge.net) what was the version used?
 - which installation procedure?

I can confirm that the Alcatel 330 USB is working under Redhat Linux 8.0
(now running kernel 2.4.18-19.8.0).

Steps I did to get it working:
1) I use the Papillault method (driver in user space). I followed his
description on how to get it operational. At first it did not work.
2) Then I tried Steve Parker's speedtouch_conf script, still with no
success
3) Finally I applied the patch to the Papillault stuff to support the
-e 1 option of modem_run. I have to mention that I could not apply the
patch on the source code (probably made for a different version as the
one I had). I had to make the patch by hand in the source code.

And then finally it worked (after a reboot).

I regret not having it written down at the time I was executing each
step. It is some time ago now and I can not recall all the details.

I would advise you to start of with the Papillault source files, apply
the patch, and compile and install it. After that follow his description
of what steps need to be taken to get it operational (a.o. the 4 files
/etc/ppp/options, /etc/ppp/peers/adsl, /etc/ppp/chap-secrets or
/etc/ppp/pap-secret, and finally /etc/modules.conf). If that still does
not work, you could try the script of Steve Parker. I my case it only
worked after the next reboot.

I hope this helps you getting it to work.

Regards,
Aad



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