when you refer to "file" is that kplex.conf?
How does telnet knows witch ip address localhost point to?
On less you mean telnet on the rasberry, locally?
Is there a way to force it to use Wlan0? As I'll like to palace it on the loft and don't have any lan connectios there only wireless.
I managed to get Kplex going and transmitting data to marinetraffic, at a point it stops transmitting, I can't figure out what stops it.
I've tried to monitor Kplex with "top","ps -el" and other commands, but no joy.
If I could do any thing to make a log file, I would be delighted to if you could direct me in that way.
Yesterday I made a new install of jessy and of cause reinstalled the kplex, got names in the kplex.conf
what should I do to make kplex run in the background?
I tried to start kplex like this "kplex -d3 -f /etc/kplex.conf -o background"
there't a lot of places where you shall disable ttyAMA0 to make it work for kplex.
I'll give the github a try when the code is ready.
1. Do I have to uninstall the present kplex? Or does the compiled one get a new name?
2. I tried the ping -c1 5.9.207.224 and got this: "ping: icmp open socket: Operation not permitted"What does that mean?
I managed to compile the kplex and it is running, should I clear the log files?
I made a sudo ping -f 5.0.207.224 > output.txt
I am reading in my linux book about grep, what should I look for?
And how should I ping?
#!/bin/sh
STATE=START
date +"START %D %T"
while /bin/true
do
if ping -c 1 8.8.8.8 > /dev/null
then
[ "$STATE" = "UP" ] || date +"UP %D %T"
STATE=UP
else
[ "$STATE" = "DOWN" ] || date +"DOWN %D %T"
STATE=DOWN
fi
sleep 2
I did the ping script, called pping, should it have an extension name? when trying to execut I get "-bash: pping command not found" or should be in a different dir?
Hi still struck-ling with the ping script i send a copy of how it looks.
["$STATE = "DOWN" ] || date +"DOWN %D %T"
use
[ "$STATE" = "DOWN" ] || date +"DOWN %D %T"
The space between [ and " matters and the " needs a matching " after $STATE
After correction the "" below I did the "nohup sh pping > /tmp/monitorfile 2>&1 &" is only writhing one time in the monitorfile: "nohup: ignoring input new line START 01/25/16 16:54:33 new line UP 01/25/16 16:54:33
Shut I not expect more lines in monitorfile?
How?
MARKTIME=`expr $NOW + $MARKINTERVAL`