[speedtouch] Re: speedtouch and FC4
you copy the content text between the dash line (-8-) in a file name for example fix.patch, then you go in the root dir of the source and you use the command : patch -p1 /path/to/fix.patch that's it. Or more simply, you can edit the file speedtouch-1.3/src/modem_run.c and remove the word static near line 91. I don't know if the official speedtouch dev team agree with this patch but my modem_run program works well for 2 weeks now with this patch applied... Regards, Fred Richard Connon wrote: I understand I am going back a while in the discussion but how exactly would I go about applying 'this patch' to the source? RUAUDEL Frédéric wrote: Hello hicham, You need to apply this patch to the source : 8--- cut here 8--- diff -ru speedtouch-1.3/src/modem_run.c speedtouch-1.3.new/src/modem_run.c --- speedtouch-1.3/src/modem_run.c 2004-06-10 18:36:35.0 +0200 +++ speedtouch-1.3.new/src/modem_run.c 2005-06-13 23:26:38.0 +0200 @@ -91,7 +91,7 @@ * Global variables **/ -static int verbose = 0; +int verbose = 0; FILE *flog = NULL; /* 8--- cut here 8--- hicham wrote: Hello I've tried the speedtouchconf script ( the 6 mars 05 version and the betas versions as well ) in Fedora core 4 I get the following error : cd src make make[1]: Entering directory `/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src' gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\1.3\ -c firmware.c gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\1.3\ -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-linux.c gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG -DVERSION=\1.3\ -c modem_run.c modem_run.c:84: error: static declaration of ‘verbose’ follows non-static declaration modem.h:42: error: previous declaration of ‘verbose’ was here modem_run.c: In function ‘get_reference’: modem_run.c:691: warning: pointer targets in passing argument 6 of ‘pusb_control_msg’ differ in signedness modem_run.c: In function ‘report’: modem_run.c:1119: warning: pointer targets in passing argument 1 of ‘dump’ differ in signedness modem_run.c: In function ‘dump’: modem_run.c:1180: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1189: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1198: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1207: warning: pointer targets in passing argument 2 of ‘syslog’ differ in signedness make[1]: *** [modem_run.o] Error 1 make[1]: Leaving directory `/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src' make: *** [modem] Error 2 Thanks for your help hicham Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED] -- Binary/unsupported file stripped by Listar -- -- Type: text/x-vcard -- File: ruaudel.vcf 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] -- Binary/unsupported file stripped by Listar -- -- Type: text/x-vcard -- File: ruaudel.vcf Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
I understand I am going back a while in the discussion but how exactly would I go about applying 'this patch' to the source? RUAUDEL Frédéric wrote: Hello hicham, You need to apply this patch to the source : 8--- cut here 8--- diff -ru speedtouch-1.3/src/modem_run.c speedtouch-1.3.new/src/modem_run.c --- speedtouch-1.3/src/modem_run.c 2004-06-10 18:36:35.0 +0200 +++ speedtouch-1.3.new/src/modem_run.c 2005-06-13 23:26:38.0 +0200 @@ -91,7 +91,7 @@ * Global variables **/ -static int verbose = 0; +int verbose = 0; FILE *flog = NULL; /* 8--- cut here 8--- hicham wrote: Hello I've tried the speedtouchconf script ( the 6 mars 05 version and the betas versions as well ) in Fedora core 4 I get the following error : cd src make make[1]: Entering directory `/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src' gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\1.3\ -c firmware.c gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\1.3\ -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-linux.c gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG -DVERSION=\1.3\ -c modem_run.c modem_run.c:84: error: static declaration of ‘verbose’ follows non-static declaration modem.h:42: error: previous declaration of ‘verbose’ was here modem_run.c: In function ‘get_reference’: modem_run.c:691: warning: pointer targets in passing argument 6 of ‘pusb_control_msg’ differ in signedness modem_run.c: In function ‘report’: modem_run.c:1119: warning: pointer targets in passing argument 1 of ‘dump’ differ in signedness modem_run.c: In function ‘dump’: modem_run.c:1180: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1189: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1198: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1207: warning: pointer targets in passing argument 2 of ‘syslog’ differ in signedness make[1]: *** [modem_run.o] Error 1 make[1]: Leaving directory `/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src' make: *** [modem] Error 2 Thanks for your help hicham Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED] -- Binary/unsupported file stripped by Listar -- -- Type: text/x-vcard -- File: ruaudel.vcf 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: speedtouch and FC4
Hello hicham, You need to apply this patch to the source : 8--- cut here 8--- diff -ru speedtouch-1.3/src/modem_run.c speedtouch-1.3.new/src/modem_run.c --- speedtouch-1.3/src/modem_run.c 2004-06-10 18:36:35.0 +0200 +++ speedtouch-1.3.new/src/modem_run.c 2005-06-13 23:26:38.0 +0200 @@ -91,7 +91,7 @@ * Global variables **/ -static int verbose = 0; +int verbose = 0; FILE *flog = NULL; /* 8--- cut here 8--- hicham wrote: Hello I've tried the speedtouchconf script ( the 6 mars 05 version and the betas versions as well ) in Fedora core 4 I get the following error : cd src make make[1]: Entering directory `/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src' gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\1.3\ -c firmware.c gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\1.3\ -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-linux.c gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG -DVERSION=\1.3\ -c modem_run.c modem_run.c:84: error: static declaration of ‘verbose’ follows non-static declaration modem.h:42: error: previous declaration of ‘verbose’ was here modem_run.c: In function ‘get_reference’: modem_run.c:691: warning: pointer targets in passing argument 6 of ‘pusb_control_msg’ differ in signedness modem_run.c: In function ‘report’: modem_run.c:1119: warning: pointer targets in passing argument 1 of ‘dump’ differ in signedness modem_run.c: In function ‘dump’: modem_run.c:1180: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1189: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1198: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness modem_run.c:1207: warning: pointer targets in passing argument 2 of ‘syslog’ differ in signedness make[1]: *** [modem_run.o] Error 1 make[1]: Leaving directory `/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src' make: *** [modem] Error 2 Thanks for your help hicham Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED] -- Binary/unsupported file stripped by Listar -- -- Type: text/x-vcard -- File: ruaudel.vcf Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4 (Solved)
Thanks finally I found that the isp is using pppoa. it 's working great with http://www.linux-usb.org/SpeedTouch/fedora/; solution so no more need for modem_run or speedtouchconf Thanks for the great job. hicham Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
Hi Hervandil, For me, the hints on this site does not work! My computer always hangs after installing this script, and I always have to re-install linux (yeah, it's terrible)! I tried thousands of hints, but nothing has worked for me! Well, I'm thinking I will never make linux work with my [EMAIL PROTECTED] green usb alcatel! you mentioned that your computer hangs on reboot even if the modem is not plugged it. This implies that the hang is not due to the kernel module. However if you recompiled your kernel it could be you made a mistake in configuration or in installing the new kernel. Did you install a new kernel? If not, then the problem is in userspace. Since it hangs while booting, this suggests that an init (boot) script is getting stuck. Did you install a boot script? Ciao, Duncan. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
Dear friend, I have never compiled any kernel, neither on Fedora 3 not on FC 4!!! I have just installed the system, and, among other hints, I followed what is written in this site: http://www.linux-usb.org/SpeedTouch/fedora/ So, I follow ALL steps for running the green alcatel with a PPPoE ISP. And when I say ALL steps, I say REALLY all carefully performed steps. I decided to try FC4 just to see if something different happens, but the same kind of error (computer hangs) happens. I tried alse one script (speedtouchconf) I have found on the net, but this is configured for PPPoA. And I don't understand very much those kind of things. Sorry, I was used to Windows, where everything is easier. So, friend! That's it!! Any suggestion? Please, do not tell me to buy an ethernet modem! This is not possible for me! Best regards, Hervandil --- Duncan Sands [EMAIL PROTECTED] escreveu: Hi Hervandil, For me, the hints on this site does not work! My computer always hangs after installing this script, and I always have to re-install linux (yeah, it's terrible)! I tried thousands of hints, but nothing has worked for me! Well, I'm thinking I will never make linux work with my [EMAIL PROTECTED] green usb alcatel! you mentioned that your computer hangs on reboot even if the modem is not plugged it. This implies that the hang is not due to the kernel module. However if you recompiled your kernel it could be you made a mistake in configuration or in installing the new kernel. Did you install a new kernel? If not, then the problem is in userspace. Since it hangs while booting, this suggests that an init (boot) script is getting stuck. Did you install a boot script? Ciao, Duncan. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED] __ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
I have never compiled any kernel, neither on Fedora 3 not on FC 4!!! I have just installed the system, and, among other hints, I followed what is written in this site: http://www.linux-usb.org/SpeedTouch/fedora/ OK. So, I follow ALL steps for running the green alcatel with a PPPoE ISP. And when I say ALL steps, I say REALLY all carefully performed steps. I decided to try FC4 just to see if something different happens, but the same kind of error (computer hangs) happens. I tried alse one script (speedtouchconf) I have found on the net, but this is configured for PPPoA. And I don't understand very much those kind of things. Sorry, I was used to Windows, where everything is easier. So, friend! That's it!! Any suggestion? Please, do not tell me to buy an ethernet modem! This is not possible for me! You didn't answer the question about whether you installed a boot script. But if you followed the instructions on the page you mentioned then I guess you didn't. As far as I can see, the dangerous steps are in the PPPoE section: (A) modification of /etc/ld.so.conf (B) modification of /etc/rc.modules (C) modification of /etc/sysconfig/network-scripts/ifcfg-ppp0 If you do everything except these bits, does your computer still hang when you reboot? Ciao, D. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
h, So, this you suggested now I didn't try! And I think I did not installed any boot script. As I told you, every time I just perform what is suggested on that site. I think I could try to do this you told me, installing everything without the PPPoE section. But, since my ISP works in PPPoE, should I really try this? In case affirmative, should I perform the PPPoA step? See ya! Herva You didn't answer the question about whether you installed a boot script. But if you followed the instructions on the page you mentioned then I guess you didn't. As far as I can see, the dangerous steps are in the PPPoE section: (A) modification of /etc/ld.so.conf (B) modification of /etc/rc.modules (C) modification of /etc/sysconfig/network-scripts/ifcfg-ppp0 If you do everything except these bits, does your computer still hang when you reboot? Ciao, D. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED] __ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
Hi Hervandil, And I think I did not installed any boot script. As I told you, every time I just perform what is suggested on that site. I think I could try to do this you told me, installing everything without the PPPoE section. But, since my ISP works in PPPoE, should I really try this? don't do the PPPoE bit, and don't do the PPP options bit. Of course your computer won't connect itself to the internet if you don't do them, but that's not the point: the point is finding out why your computer hangs and fixing that. We can worry about connectivity once your computer is booting OK. After all a hung computer that's connected to the internet is not very useful :) In case affirmative, should I perform the PPPoA step? No, it's pointless if you have PPPoE. Ciao, D. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
Ok friend! Probably I'll try to do this suggestions tomorrow! I'll contact you again. Thank you meanwhile! Herva --- Duncan Sands [EMAIL PROTECTED] escreveu: Hi Hervandil, And I think I did not installed any boot script. As I told you, every time I just perform what is suggested on that site. I think I could try to do this you told me, installing everything without the PPPoE section. But, since my ISP works in PPPoE, should I really try this? don't do the PPPoE bit, and don't do the PPP options bit. Of course your computer won't connect itself to the internet if you don't do them, but that's not the point: the point is finding out why your computer hangs and fixing that. We can worry about connectivity once your computer is booting OK. After all a hung computer that's connected to the internet is not very useful :) In case affirmative, should I perform the PPPoA step? No, it's pointless if you have PPPoE. Ciao, D. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED] __ Converse com seus amigos em tempo real com o Yahoo! Messenger http://br.download.yahoo.com/messenger/ Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
hicham wrote: /sbin/route : Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 10.112.112.113 * 255.255.255.255 UH0 00 ppp0 192.168.1.0 * 255.255.255.0 U 0 00 eth0 169.254.0.0 * 255.255.0.0 U 0 00 eth0 default 10.112.112.113 0.0.0.0 UG0 00 ppp0 Well that looks fine. What firewall rules have you set? What is the output of /sbin/iptables -L (you may need to be root to run that) Liste de diffusion modem ALCATEL SpeedTouch USB Pour se dsinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
Andrew Benton wrote: hicham wrote: /sbin/route : Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 10.112.112.113 * 255.255.255.255 UH0 00 ppp0 192.168.1.0 * 255.255.255.0 U 0 00 eth0 169.254.0.0 * 255.255.0.0 U 0 00 eth0 default 10.112.112.113 0.0.0.0 UG0 00 ppp0 Well that looks fine. What firewall rules have you set? What is the output of /sbin/iptables -L (you may need to be root to run that). I suspect my ISP using PPPOE, so I've tried the PPPOE connection as indicated in http://www.linux-usb.org/SpeedTouch/fedora/;, (PPP over atm did'nt work anyway ) is my pc acting as an adsl router ? iptables -L gives me: Chain FORWARD (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere Chain INPUT (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere Chain OUTPUT (policy ACCEPT) target prot opt source destination Chain RH-Firewall-1-INPUT (2 references) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT icmp -- anywhere anywhereicmp any ACCEPT ipv6-crypt-- anywhere anywhere ACCEPT ipv6-auth-- anywhere anywhere ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353 ACCEPT udp -- anywhere anywhereudp dpt:ipp ACCEPT all -- anywhere anywherestate RELATED,ESTABLISHED REJECT all -- anywhere anywherereject-with icmp-host-prohibited thanks hicham. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se dsinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
I can not help! But just inform that I have exactly the same problem!! Hervandil --- hicham [EMAIL PROTECTED] escreveu: Hello I've tried the speedtouchconf script ( the 6 mars 05 version and the betas versions as well ) in Fedora core 4 I get the following error : cd src make make[1]: Entering directory `/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src' gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\1.3\ -c firmware.c gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\1.3\ -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-linux.c gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG -DVERSION=\1.3\ -c modem_run.c modem_run.c:84: error: static declaration of ?verbose? follows non-static declaration modem.h:42: error: previous declaration of ?verbose? was here modem_run.c: In function ?get_reference?: modem_run.c:691: warning: pointer targets in passing argument 6 of ?pusb_control_msg? differ in signedness modem_run.c: In function ?report?: modem_run.c:1119: warning: pointer targets in passing argument 1 of ?dump? differ in signedness modem_run.c: In function ?dump?: modem_run.c:1180: warning: pointer targets in passing argument 1 of ?sprintf? differ in signedness modem_run.c:1189: warning: pointer targets in passing argument 1 of ?sprintf? differ in signedness modem_run.c:1198: warning: pointer targets in passing argument 1 of ?sprintf? differ in signedness modem_run.c:1207: warning: pointer targets in passing argument 2 of ?syslog? differ in signedness make[1]: *** [modem_run.o] Error 1 make[1]: Leaving directory `/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src' make: *** [modem] Error 2 Thanks for your help hicham Liste de diffusion modem ALCATEL SpeedTouch USB Pour se dsinscrire : mailto:[EMAIL PROTECTED] ___ Yahoo! Acesso Grtis - Internet rpida e grtis. Instale o discador agora! http://br.acesso.yahoo.com/ Liste de diffusion modem ALCATEL SpeedTouch USB Pour se dsinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
Hello Found a useful site from fedoraforum.org http://www.linux-usb.org/SpeedTouch/fedora/; it's easy, straightforward , I get my silver speedtouch blink faster and ppp0 is up but I can't still connect, I suspect I have a dns resolving issue hicham. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se dsinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
but I can't still connect, I suspect I have a dns resolving issue Hi Hicham, can you ping an IP address, like 68.142.226.38? Ciao, D. Liste de diffusion modem ALCATEL SpeedTouch USB Pour se dsinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
Duncan Sands wrote: but I can't still connect, I suspect I have a dns resolving issue Hi Hicham, can you ping an IP address, like 68.142.226.38? Ciao, D. no, I can't ping any IP adress ifconfig gives me for ppp0 ppp0 Link encap:Point-to-Point Protocol inet addr:10.112.112.112 P-t-P:10.112.112.113 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:31 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:0 (0.0 b) TX bytes:107 (107.0 b) 10.112.112.112 is not the usual ip address I get from my ISP hicham Liste de diffusion modem ALCATEL SpeedTouch USB Pour se dsinscrire : mailto:[EMAIL PROTECTED]
[speedtouch] Re: speedtouch and FC4
hicham wrote: Hello Found a useful site from fedoraforum.org http://www.linux-usb.org/SpeedTouch/fedora/; it's easy, straightforward , I get my silver speedtouch blink faster and ppp0 is up but I can't still connect, I suspect I have a dns resolving issue What is the output of /sbin/route Liste de diffusion modem ALCATEL SpeedTouch USB Pour se dsinscrire : mailto:[EMAIL PROTECTED]