<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Arial">Hi!<br>
<br>
Just a little thing I figured out after 1 hour of research..so
it can perhaps help other just in case..<br>
<br>
I am building a fail-over router based on ppp for my main
Internet access and wwan for my spare link (based on qmi-network
and qmicli commands).<br>
I have built a script testing the link independently and switch
to wwan in case of failure.<br>
I am also managing auto re-connection in case of wwan failure
(based on Status from qmi-network)<br>
<br>
Everything is working fine when I launch my script manually
unless when I putted it on cron job...<br>
Then I figured out that this is because of some commands in
qmi-network script where cron needs full path for qmicli to work
properly.<br>
<br>
A simple sed -i 's|qmicli|/usr/local/bin/qmicli|g'
/usr/local/bin/qmi-network solved my problem!<br>
perhaps a good idea to add this on a future release?<br>
<br>
belette<br>
</font></font>
</body>
</html>