[speedtouch] Speedtouch and Fedora Core 3
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 new driver hiddev Jan 25 04:24:55 enigma kernel: usbcore: registered new driver usbhid Jan 25 04:24:55 enigma kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver ... Jan 25 04:24:57 enigma pppd[2301]: Starting link ... Jan 25 04:24:58 enigma pppd[2301]: PPP session is 2589 Jan 25 04:24:58 enigma pppd[2301]: Connect: ppp0 -- nas0 ... Jan 25 04:24:58 enigma pppd[2301]: Couldn't increase MTU to 1500 ... Jan 25 04:24:58 enigma pppd[2301]: Couldn't increase MRU to 1500 ... Jan 25 04:25:00 enigma kernel: USB Universal Host Controller Interface driver v2.2 ... Jan 25 04:25:00 enigma kernel: uhci_hcd :00:07.2: UHCI Host Controller Jan 25 04:25:00 enigma kernel: uhci_hcd :00:07.2: irq 11, io base 6400 ... Jan 25 04:25:00 enigma kernel: uhci_hcd :00:07.2: new USB bus registered, assigned bus number 1 Jan 25 04:25:00 enigma kernel: hub 1-0:1.0: USB hub found Jan 25 04:25:00 enigma kernel: hub 1-0:1.0: 2 ports detected ... Jan 25 04:25:00 enigma kernel: usb 1-1: new full speed USB device using address 2 ... Jan 25 04:25:01 enigma kernel: usb 1-1: control timeout on ep0in Jan 25 04:25:01 enigma kernel: usbcore: registered new driver speedtch Jan 25 04:25:01 enigma kernel: usb 1-1: found stage 1 firmware speedtch-1.bin Jan 25 04:25:01 enigma kernel: usb 1-1: found stage 2 firmware speedtch-2.bin ... Jan 25 04:25:01 enigma pppd[2301]: peer from calling number 00:90:1A:40:A2:64 authorized Jan 25 04:25:01 enigma kernel: IPv6 over IPv4 tunneling driver Jan 25 04:25:01 enigma pppd[2301]: LCP terminated by peer Jan 25 04:25:01 enigma pppd[2301]: Couldn't increase MTU to 1500 Jan 25 04:25:01 enigma kernel: ADSL line is synchronising Jan 25 04:25:01 enigma pppd[2301]: Couldn't increase MRU to 1500 ... Jan 25 04:25:02 enigma kernel: DSL line goes up Jan 25 04:25:02 enigma kernel: ADSL line is up (512 Kib/s down | 128 Kib/s up) ... Jan 25 04:25:03 enigma wait_for_sysfs[2287]: either wait_for_sysfs (udev 039) needs an update to handle the device '/class/net/nas0' properly (no device symlink) or the sysfs-support of your device's driver needs to be fixed, please report to [EMAIL PROTECTED] ... Jan 25 04:25:03 enigma kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1 Jan 25 04:25:03 enigma kernel: eth1: link down Jan 25 04:25:03 enigma kernel: PPP generic driver version 2.4.2 ... Jan 25 04:25:05 enigma pppd[2301]: Connection terminated. ... Jan 25 04:27:22 enigma pppd[2301]: Starting link Jan 25 04:27:23 enigma pppd[2301]: PPP session is 2731 Jan 25 04:27:23 enigma pppd[2301]: Connect: ppp0 -- nas0 Jan 25 04:27:23 enigma pppd[2301]: Couldn't increase MTU to 1500 Jan 25 04:27:23 enigma pppd[2301]: Couldn't increase MRU to 1500 Jan 25 04:27:23 enigma pppd[2301]: peer from calling number 00:90:1A:40:A2:64 authorized Jan 25 04:27:23 enigma pppd[2301]: LCP terminated by peer Jan 25 04:27:23 enigma pppd[2301]: Couldn't increase MTU to 1500 Jan 25 04:27:23 enigma pppd[2301]:
[speedtouch] Re: Speedtouch and Fedora Core 3
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: Speedtouch and Fedora Core 3
Jyrki Leppanen wrote: 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 Very curious, this looks like pppd connected with your ISP but then the rest suggests that the firmware didn't load properly, particularly this line Jan 25 04:25:01 enigma kernel: usb 1-1: control timeout on ep0in What revision of the modem are you using? It should tell you in /proc/bus/usb/devices Please post the output of cat /proc/bus/usb/devices | grep -B 1 ALCATEL What version of the firmware are you using? Liste de diffusion modem ALCATEL SpeedTouch USB Pour se désinscrire : mailto:[EMAIL PROTECTED]