[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]




[speedtouch] Re: Modem_Run Ver 1.2

2004-05-27 Thread Mark Huggins

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.

Regards,

Mark Huggins.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Gilles Espinasse
Sent: 27 May 2004 15:06
To: [EMAIL PROTECTED]
Subject: [speedtouch] Re: Modem_Run Ver 1.2


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]



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

2004-05-27 Thread Mark Huggins

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]




[speedtouch] Re: RFC 2684 support in pppoa3

2004-05-27 Thread Gilles Espinasse

Selon Edouard Gomez <[EMAIL PROTECTED]>:

> 
> 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.
> 


> 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
> 
A problem I have with eci driver is that dhcpcd refuse to work with tun 
interface as routed_IP is not at the ethernet level.

> And in that case, how do i set up atmarpd+pppoa3 (or is this
> possible).
> 
In the case you try to use atmarpd, you will not be able to use a dhcpc client 
because atmarp need to know the gateway address when it is started.

There is an alternate solution to atmarp whose princip is to use a modified 
br2684ctl wich support routed_IP.
You may look at http://adsl4linux.no-ip.org/linux/pulsar_linux_howto
I don't know if in this way it will be possible to support a dhcp client. But 
the reluctance from the dhcp client to work at IP level should stay intact.

If you manage the driver to behave like an ATM interface, what special 
interest is it to use pppoa3 instead of the speedtch module? :-)
I only know the difference may be when bonding 2 modems.

Would it be not more interesting from the user point of view to develop parts 
wich are not supported in both drivers like :
- modulation (G-dtm, G-lite, ANSI T)choice and display during use,
- display FAST_PATH or interleaved,
- display line signal levels.

This is just my two euro-cents.

Gilles

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : 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]