[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: RFC 2684 support in pppoa3

2004-05-27 Thread Edouard Gomez

Forgot to say that it works only for Linux based systems
because of the tun/tap device requirements. If this patch
proves to be useful, it will be ported on BSDs supporting a
tun device.

-- 
Edouard Gomez

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




[speedtouch] RFC 2684 support in pppoa3

2004-05-27 Thread Edouard Gomez

Hey,

I'm trying hard to include support for Classical IPoATM
support in pppoa3. I've stealen^Wborrowed code from the eci
driver to include more encapsulations from rfc2684.

However i'm still far from connecting the modem through
pppoa3. So i post here the patch url in order to allow more
people trying to find the way to use pppoa3 and establish a
classical ipoatm connection (free.fr uses that)

The patch:
http://ed.gomez.free.fr/vrac/encap-framework.diff

The new interesting option:
-r (see pppoa3 --help for a list of supported encapsulations)

Limitations:
The first two modes aren't implemented right, as they should
be pty slaves for ppp daemon, and they're using a tap device
at the moment. I wonder if a tun device could do the trick for
these modes.

What i've obversed:
When running pppoa3 this way for free.fr connection:
pppoa3 -vpi 8 -vci 36 -v 2 -r whatever_protocol

I do see some network traffic, but tcpdump doesn't recognize
the protocol. I tried every type of encapsulation mode, then
launching a dhcp client over the interface did not work (as
it's the case for the ethernet bridge freebox modem). That
doesn't surprises me, as the DHCP requests are usually carried
by ethernet frames, so maybe their DHCP server doesn't respond
when using ATM.

So i wonder if it's possible to connect with dhcp with the help
of these new encapsulations. Or if i still need to follow this
page advises:
http://mon.adsl.chez.free.fr/modemdegroupe/spedtoucheusb/config.html

And in that case, how do i set up atmarpd+pppoa3 (or is this
possible).

-- 
Edouard Gomez

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




[speedtouch] Re: Modem_Run Ver 1.2

2004-05-27 Thread Ok Overbeek (mz)

Hi Mark!

How about switching the 'a' and 'f' switches in the modem_run-call,
like:

modem_run -v 1 -t 90 -n 4 -a /home/mhuggins/bin/firmware.ZZZLP1.eni -f
/home/mhuggins/bin/boot.ZZZLP2.eni

instead of your:
modem_run -v 1 -t 90 -n 4 -f /home/mhuggins/bin/firmware.ZZZLP1.eni -a
/home/mhuggins/bin/boot.ZZZLP2.eni

Doesn't the help tell you that?

Ok




Mark Huggins wrote:

I can not load the Speedtouch firmware. I'm running SuSe 9.0 and have
followed all latest advice from mail archive with no success.
 
I have tried the following firmware files:-
 
Alcaudsl.sys
Firmware.bin
KQD6P1.eni  and  KQD6P2.eni
ZZZLP1.eni  and ZZZLP2.eni
 
When modem_run is executed the /var/log/messages reports:-
 
Response to command line:-
 
modem_run -v 1 -t 90 -n 4 -f /home/mhuggins/bin/firmware.ZZZLP1.eni -a
/home/mhuggins/bin/boot.ZZZLP2.eni
 
May 27 11:06:47 linux modem_run[2746]: modem_run version 1.2 started by
root uid 0
May 27 11:06:47 linux modem_run[2746]: Found SpeedTouch USB modem
May 27 11:06:47 linux modem_run[2746]: Modem revision: 0400
May 27 11:06:47 linux modem_run[2746]: Best offset  0 with
probability  87%
May 27 11:06:47 linux modem_run[2746]: Best offset  0 with
probability  87%
May 27 11:06:47 linux modem_run[2746]: Unable to locate firmware in
/home/mhuggins/bin/firmware.ZZZLP1.eni 
 
Also I can not seem to get a response from the verbose option?.
 
Speedtouch-Doctor:-
 
ux:/home/mhuggins/bin/speedtouch-1.2/doc-linux/doctor #
./speedtouch-doctor.sh
You are using linux kernel version 2.4.21-99-athlon
Support for USB is OK
Preliminary USB device filesystem is OK
UHCI support is OK
OHCI support is missing... trying to load
/lib/modules/2.4.21-99-athlon/kernel/drivers/usb/host/usb-ohci.o:
init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ  parameters.
  You may find more information in syslog or the output from dmesg
/lib/modules/2.4.21-99-athlon/kernel/drivers/usb/host/usb-ohci.o: insmod
/lib/modules/2.4.21-9 
9-athlon/kernel/drivers/usb/host/usb-ohci.o failed
/lib/modules/2.4.21-99-athlon/kernel/drivers/usb/host/usb-ohci.o: insmod
usb-ohci failed
OHCI support: failed to load
/dev/ppp is OK
HDLC support is OK
HDLC support is OK (no bug)
pppd version 2.4.1
You are using pppd version  (untested)
You have an /etc/ppp/options file. Options in this file may conflict
with
options from /etc/ppp/peers/adsl. We suggest to remove this file or make
a
backup copy.
No existing PPP connection... trying to make one (please wait)
Couldn't get channel number: Input/output error
ioctl(PPPIOCGFLAGS): Bad file descriptor
Cannot make a PPP connection: Fatal
 
 
Any ideas?. Thanks.
 
Mark Huggins.


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: Modem_Run Ver 1.2

2004-05-27 Thread Gilles Espinasse

Selon Mark Huggins [EMAIL PROTECTED]:

 
 I can not load the Speedtouch firmware. I'm running SuSe 9.0 and have
 followed all latest advice from mail archive with no success.
  
 I have tried the following firmware files:-
  
 Alcaudsl.sys
 Firmware.bin
 KQD6P1.eni  and  KQD6P2.eni
 ZZZLP1.eni  and ZZZLP2.eni
  
 When modem_run is executed the /var/log/messages reports:-
  
 Response to command line:-
  
 modem_run -v 1 -t 90 -n 4 -f /home/mhuggins/bin/firmware.ZZZLP1.eni -a
 /home/mhuggins/bin/boot.ZZZLP2.eni
  
 May 27 11:06:47 linux modem_run[2746]: modem_run version 1.2 started by
 root uid 0
 May 27 11:06:47 linux modem_run[2746]: Found SpeedTouch USB modem
 May 27 11:06:47 linux modem_run[2746]: Modem revision: 0400
 May 27 11:06:47 linux modem_run[2746]: Best offset  0 with
 probability  87%
 May 27 11:06:47 linux modem_run[2746]: Best offset  0 with
 probability  87%
 May 27 11:06:47 linux modem_run[2746]: Unable to locate firmware in
 /home/mhuggins/bin/firmware.ZZZLP1.eni 
  
I apologize if I make a mistake in one of my previous post but you correct 
wrongly my error.

You mismatch 1.eni wich is the very small bootloader file and 2.eni wich is the 
big firmware file.
It should work with 
modem_run -v 1 -t 90 -n 4 -a /home/mhuggins/bin/ZZZLP1.eni -
f /home/mhuggins/bin/ZZZLP2.eni
if those files are so named.


Gilles

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




[speedtouch] Re: Modem_Run Ver 1.2

2004-05-27 Thread Gilles Espinasse

Selon Mark Huggins [EMAIL PROTECTED]:

 
 Thanks Gilles,
 
 That did the trick my Speedtouch is now working fine and I have a good
 working connection.
 
 I do have one other question, I'm not an experienced UNIX/Linux user but
 it strikes me that calling pppd from root exposes potential security
 issues?. Can you recommend a good firewall and virus protection
 package?. Thanks.
 
I don't know too much about iptables but the basics.
There is surely good iptables tutorial on the net to protect your PC. Some use 
a friendly interface to configure the filtering.

Personnaly I am using IPCop firewall distribution to share and protect the 
connexion. This is simple but need a dedicated minimal PC to run.
There is proposed add-ons to add virus and mail filtering but I have not try.


Gilles

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