[Voyage-linux] Getting remore temperatures and wireless signal level etc. of wrap

Punky Tse (spam-protected)
Tue Nov 15 11:37:55 HKT 2005


Beat,

Great stuff, can you add this to the Wiki
(http://wiki.voyage.hk/dokuwiki/doku.php) as well?  Thanks.

On 11/15/05, Beat Meier <bmeier at infovia.com.ar> wrote:
>  Hello
>
>  Here what I use to get temp. and wireless stuff.
>  Be warned: The level in the cacti script is reverse. I never had time until
> now
>  to have a look how to change this.
>  What I mean is that the higher the curve of the singal the lower it is ...
>  But there is the scale so you know what is is ;-)
>
>  And of course you must know about the security concerns that it is not very
> secure as like other stuff running in inetd.conf
>  and there are scripts running etc. etc.
>
>  Ok here my infos to install stuff on wrap board:
>
>  Copy attached script getTemperatures  to
>    /usr/local/bin/
>  or where you want but remember to change the path in inetd.conf.
>
>  Add the following /etc/inetd.conf
>  mon0        stream  tcp nowait  nobody  /sbin/iwconfig iwconfig ath0
>  temp        stream  tcp nowait  nobody  /usr/local/bin/getTemperatures
> getTemperatures
>
>
>  Optionial add the following to /etc/services to use names instead of ports:
>  # Local services
>  mon0            10000/tcp                       # monitor ath0
>  mon1            10001/tcp                       # monitor ath1
>  mon2            10002/tcp                       # monitor ath2
>  mon3            10003/tcp                       # monitor ath3
>  temp            10010/tcp                       # monitor temperature
>
>  On the server site (where to collect the data) you must have installed perl
> and netcat
>  to use my cacti scripts.
>  You can get the wireless stuff also with for example:
>    telnet <hostip> 10000
>  and scan the output (which does the perl script)
>    radio.pl <hostip> 10000
>  and get temperatures with
>    telnet <hostip> 10010
>  or
>    get_remore_temp.pl
>
>
>  See also REAME in attachement (not much but ...)
>
>  Greetings
>
>  Beat
>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>
>
>


--
--
Regards,
Punky
P U N K N ! X  . c o m
Technology + Lifestyle
(http://www.punknix.com)

Voyage Linux
(http://www.voyage.hk/software/voyage.html)




More information about the Voyage-linux mailing list