[speedtouch] Re: Fedora Core 2 Test 3 Issues (2.6.5 kernel) =G
Thanks a lot, this is great! Duncan. 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) =G
Hi all, My adsl connexion on my brand new FC2 installation comes back this morning, thanks to all of you on this list ! So, for all the guys that didn't manage to connect yet, here are some RPM I made to make speedtouch green manta modem works (and maybe others) on your FC2 http://grumz.dyndns.org/ADSL_FC2/ maybe somebody can mirror this link on a server with a larger bandwidth than my adsl connexion, in order more people can access it. For the solution, I recompile the kernel of redhat with the patches duncan gave us 2 days ago + all the missing config options (ATM, pppoa, speedtouch), I compile linux-atm, pppd with the pppoa patch find on http://www.linux-usb.org/SpeedTouch and modem_run of Benoit papillault (speedtouch-1.2 package). After you install the above packages, you need to configure you pap/chap-secret files and put your username and vci.vpi in the /etc/ppp/peers/speedtch file installed by the speedtouch package. and then you plug your modem and start your connection with : service adsl start you can add in your crontab a script to check your connection : */5 * * * * root /usr/sbin/check_adsl.sh And that's all folks ! Thanks again for your help and I hope my contribution will help ! Best regards, Fred RUAUDEL Frédéric wrote: Hi all, William M. Quarles wrote: Aad Rijnberg wrote: [snip] Then try to make. If you get an error on the make, do a make clean, re-./configure. You will most likely fail on the linux-atm or ppp. If that's the case, you don't really need linux-atm (someone correct me if I'm wrong; if I'm right, i would suggest leaving it out anyways, I think this unnecessarily writes over stuff in your existing kernel), Like duncan said earlier, you need a pppoa aware pppd daemon. In order to have this, you need to compile linux-atm and pppd present in the speedbundle package. But, you are right, It won't compile with the default FC2 install. It will complain about a function called billi_in_use or something like that. It's because the include files of the kernel present in /usr/include/linux are too old (They should come from the kernel installed when the fedora folks compiled all the system, which is the behavior that linus torvalds advices). To work this around, you should (re)move all atm*.h file in /usr/include/linux and replace them with those present in the 2.6.5 kernel sources. After that, all works for me except that modem_run failed at the end of its initialization because of the bug in the kernel. With the kernel patches given by duncan, I think it should allow us to use the kernel driver with FC2. Best regards, Fred 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: Fedora Core 2 Test 3 Issues (2.6.5 kernel)
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)
Does this mean that the errors/warnings can be ignored? These don't look good 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) but these are fine 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? actually there is, but you're going to have to wait a bit. You can get rid of some of them by removing the (pointless) set_configuration bits in modem_run.c 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. They are not the same thing at all. The kernel needs to have support for ATM etc. The linux-atm stuff is a library that talks to the kernel's ATM stuff. You need it if you want to do anything with the kernel's ATM support. ppp over atm, is a ppp extention that uses the linux-atm library to talk to the kernel's atm layer. In short, you need it all - it's all different stuff that works together. 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? No, they are two sides of the same coin: on one side deep kernel foo that adds ATM stuff to the networking layer, on the other side libraries and programs that use that kernel stuff. It is similar to: in order to open a normal internet connection you need kernel support for tcp/ip (analog of kernel support for ATM). You also need the sockets library (analog of linux-atm libraries). And then you need a program that uses those sockets (analog of pppd - not a very good analog here). Ciao, Duncan. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]