[speedtouch] Re: Link speed

2007-02-13 Thread Duncan Sands

> By the way, is there anywhere like that that you can pick up such things 
> as signal-noise ratio, attenuation, etc?

No, because I don't know how to get that information from the modem.

> I have found where to check if ISOC is enabled 
> (/sys/module/speedtch/parameters/enable_isoc). It isnt enabling. I have 
> added the file /etc/modutils/speedtch, containing the line "options 
> speedtch enable_isoc=1", run update-modules, and rebooted (it doesnt 
> work modprobe -r speedtch then reloading). Any ideas? Kernel is 2.6.19.2

First try
rmmod speedtch
modprobe speedtch enable_isoc=1
If that works, then you need to work out how your distribution handles
module parameters, sorry...

Ciao,

Duncan.

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




[speedtouch] Re: Link speed

2007-02-13 Thread Karl Wagner
Duncan Sands wrote:
> Hi Karl, in recent kernels you can get the link rate from the file
>
>   /sys/class/atm/speedtch0/link_rate
>
> That holds a default value until the line synchronizes, at
> which point it should show the real thing.  Let me know if your
> kernel supports it.  If not, I'll write a utility for getting
> the rate via the ioctl.
>
> Ciao,
>
> Duncan.
>
> Liste de diffusion modem ALCATEL SpeedTouch USB
> Pour se désinscrire : mailto:[EMAIL PROTECTED]
>
>   
>   
Brilliant thank you, thats got it.

By the way, is there anywhere like that that you can pick up such things 
as signal-noise ratio, attenuation, etc?

I have found where to check if ISOC is enabled 
(/sys/module/speedtch/parameters/enable_isoc). It isnt enabling. I have 
added the file /etc/modutils/speedtch, containing the line "options 
speedtch enable_isoc=1", run update-modules, and rebooted (it doesnt 
work modprobe -r speedtch then reloading). Any ideas? Kernel is 2.6.19.2

Regards
Karl Wagner

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




[speedtouch] Re: Link speed

2007-02-12 Thread Duncan Sands

> > If I don't forget, I'll try to whip up something next Monday.  Please
> > don't hesitate to remind me, since I've got a memory like a sieve!

Hi Karl, in recent kernels you can get the link rate from the file

/sys/class/atm/speedtch0/link_rate

That holds a default value until the line synchronizes, at
which point it should show the real thing.  Let me know if your
kernel supports it.  If not, I'll write a utility for getting
the rate via the ioctl.

Ciao,

Duncan.

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




[speedtouch] Re: Link speed

2007-02-07 Thread Karl Wagner
Duncan Sands wrote:
>>> Yep I've seen that, but I dont want to have to parse the logs each time 
>>> I need the speed.
>>>
>>> Duncan: I have looked through the linux-atm tools, and none of them seem 
>>> to give me the link speed. To be completely honest, I dont even know 
>>> what an ioctl is. I've tried looking for a tool which does this, but I 
>>> can't find one, but I'll keep looking and post it on here when I do. I'm 
>>> sure I'm not the only one who wants to do traffic shaping based on 
>>> actual synchronised speed.
>>>   
>>>   
>> I can't find a util that provides the link speed anywhere. If possible, 
>> I would also like to be able to find things like the signal-noise ratio 
>> and attenuation, but the main thing is the sync speed. Does anyone have 
>> any ideas? If it doesnt exist, it should, so is anyone out there by any 
>> chance willing to write one?
>> 
>
> If I don't forget, I'll try to whip up something next Monday.  Please
> don't hesitate to remind me, since I've got a memory like a sieve!
>
> Ciao,
>
> Duncan.
>
> Liste de diffusion modem ALCATEL SpeedTouch USB
> Pour se désinscrire : mailto:[EMAIL PROTECTED]
>
>   
>   
Thanks mate.

Regards
Karl Wagner

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




[speedtouch] Re: Link speed

2007-02-07 Thread Duncan Sands

> > Yep I've seen that, but I dont want to have to parse the logs each time 
> > I need the speed.
> >
> > Duncan: I have looked through the linux-atm tools, and none of them seem 
> > to give me the link speed. To be completely honest, I dont even know 
> > what an ioctl is. I've tried looking for a tool which does this, but I 
> > can't find one, but I'll keep looking and post it on here when I do. I'm 
> > sure I'm not the only one who wants to do traffic shaping based on 
> > actual synchronised speed.
> >   
> I can't find a util that provides the link speed anywhere. If possible, 
> I would also like to be able to find things like the signal-noise ratio 
> and attenuation, but the main thing is the sync speed. Does anyone have 
> any ideas? If it doesnt exist, it should, so is anyone out there by any 
> chance willing to write one?

If I don't forget, I'll try to whip up something next Monday.  Please
don't hesitate to remind me, since I've got a memory like a sieve!

Ciao,

Duncan.

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




[speedtouch] Re: Link speed

2007-02-06 Thread Karl Wagner
Karl Wagner wrote:
> Rainer Dorsch wrote:
>   
>> Am Dienstag, 6. Februar 2007 08:19 schrieb Duncan Sands:
>>   
>> 
>>> On Monday 5 February 2007 19:01:03 Karl Wagner wrote:
>>> 
>>>   
 Is there anywhere other than the system logs (eg. in /proc/net/atm)
 where the speedtouch driver puts the ADSL Up/Download link speeds?
   
 
>>> It communicates it to the ATM layer.  You can retrieve it using
>>> an ioctl, so if you're lucky there's some ATM tool floating around
>>> that can give it to you.
>>>
>>> Ciao,
>>>
>>> Duncan.
>>>
>>> Liste de diffusion modem ALCATEL SpeedTouch USB
>>> Pour se désinscrire :
>>> mailto:[EMAIL PROTECTED]
>>> 
>>>   
>> Karl,
>>
>> I have an entry like
>>
>> Feb  4 21:05:17 dns kernel: ATM dev 0: ADSL line is up (864 kb/s down | 160 
>> kb/s
>>  up)
>>
>> in /var/log/syslog (not sure if that is what you are looking for though).
>>
>> Regards,
>> Rainer
>>
>>   
>> 
> Yep I've seen that, but I dont want to have to parse the logs each time 
> I need the speed.
>
> Duncan: I have looked through the linux-atm tools, and none of them seem 
> to give me the link speed. To be completely honest, I dont even know 
> what an ioctl is. I've tried looking for a tool which does this, but I 
> can't find one, but I'll keep looking and post it on here when I do. I'm 
> sure I'm not the only one who wants to do traffic shaping based on 
> actual synchronised speed.
>   
I can't find a util that provides the link speed anywhere. If possible, 
I would also like to be able to find things like the signal-noise ratio 
and attenuation, but the main thing is the sync speed. Does anyone have 
any ideas? If it doesnt exist, it should, so is anyone out there by any 
chance willing to write one?

Thanks for your help,
Karl Wagner

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




[speedtouch] Re: Link speed

2007-02-06 Thread Karl Wagner
Rainer Dorsch wrote:
> Am Dienstag, 6. Februar 2007 08:19 schrieb Duncan Sands:
>   
>> On Monday 5 February 2007 19:01:03 Karl Wagner wrote:
>> 
>>> Is there anywhere other than the system logs (eg. in /proc/net/atm)
>>> where the speedtouch driver puts the ADSL Up/Download link speeds?
>>>   
>> It communicates it to the ATM layer.  You can retrieve it using
>> an ioctl, so if you're lucky there's some ATM tool floating around
>> that can give it to you.
>>
>> Ciao,
>>
>> Duncan.
>>
>> Liste de diffusion modem ALCATEL SpeedTouch USB
>> Pour se désinscrire :
>> mailto:[EMAIL PROTECTED]
>> 
>
> Karl,
>
> I have an entry like
>
> Feb  4 21:05:17 dns kernel: ATM dev 0: ADSL line is up (864 kb/s down | 160 
> kb/s
>  up)
>
> in /var/log/syslog (not sure if that is what you are looking for though).
>
> Regards,
> Rainer
>
>   
Yep I've seen that, but I dont want to have to parse the logs each time 
I need the speed.

Duncan: I have looked through the linux-atm tools, and none of them seem 
to give me the link speed. To be completely honest, I dont even know 
what an ioctl is. I've tried looking for a tool which does this, but I 
can't find one, but I'll keep looking and post it on here when I do. I'm 
sure I'm not the only one who wants to do traffic shaping based on 
actual synchronised speed.

Regards,
Karl Wagner

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




[speedtouch] Re: Link speed

2007-02-06 Thread Rainer Dorsch

Am Dienstag, 6. Februar 2007 08:19 schrieb Duncan Sands:
> On Monday 5 February 2007 19:01:03 Karl Wagner wrote:
> > Is there anywhere other than the system logs (eg. in /proc/net/atm)
> > where the speedtouch driver puts the ADSL Up/Download link speeds?
>
> It communicates it to the ATM layer.  You can retrieve it using
> an ioctl, so if you're lucky there's some ATM tool floating around
> that can give it to you.
>
> Ciao,
>
> Duncan.
>
> Liste de diffusion modem ALCATEL SpeedTouch USB
> Pour se désinscrire :
> mailto:[EMAIL PROTECTED]

Karl,

I have an entry like

Feb  4 21:05:17 dns kernel: ATM dev 0: ADSL line is up (864 kb/s down | 160 
kb/s
 up)

in /var/log/syslog (not sure if that is what you are looking for though).

Regards,
Rainer

-- 
Rainer Dorsch
Alzentalstr. 28
D-71083 Herrenberg
07032-919495
jabber: [EMAIL PROTECTED]
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/
Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]




[speedtouch] Re: Link speed

2007-02-05 Thread Duncan Sands

On Monday 5 February 2007 19:01:03 Karl Wagner wrote:
> Is there anywhere other than the system logs (eg. in /proc/net/atm) 
> where the speedtouch driver puts the ADSL Up/Download link speeds?

It communicates it to the ATM layer.  You can retrieve it using
an ioctl, so if you're lucky there's some ATM tool floating around
that can give it to you.

Ciao,

Duncan.

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