<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Hello<br>
<br>
Here what I use to get temp. and wireless stuff.<br>
Be warned: The level in the cacti script is reverse. I never had time
until now<br>
to have a look how to change this.<br>
What I mean is that the higher the curve of the singal the lower it is
...<br>
But there is the scale so you know what is is ;-)<br>
<br>
And of course you must know about the security concerns that it is not
very secure as like other stuff running in inetd.conf<br>
and there are scripts running etc. etc.<br>
<br>
Ok here my infos to install stuff on wrap board:<br>
<br>
Copy attached script getTemperatures to<br>
/usr/local/bin/<br>
or where you want but remember to change the path in inetd.conf.<br>
<br>
Add the following /etc/inetd.conf<br>
mon0 stream tcp nowait nobody /sbin/iwconfig iwconfig ath0<br>
temp stream tcp nowait nobody /usr/local/bin/getTemperatures
getTemperatures<br>
<br>
<br>
Optionial add the following to /etc/services to use names instead of
ports:<br>
# Local services<br>
mon0 10000/tcp # monitor ath0<br>
mon1 10001/tcp # monitor ath1<br>
mon2 10002/tcp # monitor ath2<br>
mon3 10003/tcp # monitor ath3<br>
temp 10010/tcp # monitor temperature<br>
<br>
On the server site (where to collect the data) you must have installed
perl and netcat<br>
to use my cacti scripts.<br>
You can get the wireless stuff also with for example:<br>
telnet <hostip> 10000<br>
and scan the output (which does the perl script)<br>
radio.pl <hostip> 10000<br>
and get temperatures with<br>
telnet <hostip> 10010<br>
or<br>
get_remore_temp.pl<br>
<br>
<br>
See also REAME in attachement (not much but ...)<br>
<br>
Greetings<br>
<br>
Beat<br>
<br>
<br>
</body>
</html>