led indication for services (on/off) on a linux machine
hi , start little background info myself... im arduino beginner (just received mail) little c/c++ programming knowledge.
i need guidance start regarding project im on:
i monitor service running on linux server , indicate status of service (on/off) led light.
connecting linux machine must through ssh tunnel, gather arduino "weak" ssh i'll need send , receive commands to/from local
pc via telnet, local pc convert these commands ssh , vice versa.
also communicating , pc have go through wifi.
can guys tell me if possible? , if , should start ?
thanks !
i need guidance start regarding project im on:
i monitor service running on linux server , indicate status of service (on/off) led light.
connecting linux machine must through ssh tunnel, gather arduino "weak" ssh i'll need send , receive commands to/from local
pc via telnet, local pc convert these commands ssh , vice versa.
also communicating , pc have go through wifi.
can guys tell me if possible? , if , should start ?
thanks !
it might more secure plug arduino server, , have act small webserver. way wouldn't have leave ssh session open long periods of time, possibly un-monitored. services on linux have kind of status command can called via terminal, i'm thinking have bash script runs commands , saves responses text file. text file sent arduino on usb serial connection. might able open connection arduino in same script polls services, if not simple python script it. arduino display results on simple html page.
if need led light @ remote location, second arduino parse simple html page (or communicate directly) , light it. how light depends on type of led, simple adding current limiting resistor , turning on pin, or might need transistor or relay larger led.
my solution little overly-complex, prevent new attack vectors being opened up.
if need led light @ remote location, second arduino parse simple html page (or communicate directly) , light it. how light depends on type of led, simple adding current limiting resistor , turning on pin, or might need transistor or relay larger led.
my solution little overly-complex, prevent new attack vectors being opened up.
Arduino Forum > Using Arduino > Project Guidance > led indication for services (on/off) on a linux machine
arduino
Comments
Post a Comment