Friday 9 December 2016

Making pi upload pics after bootup

After the ordeal from yesterday I started out the day with a fresh mind looking for a fresh approach to the task at hand. After some digging around the web I found that there ways in which we can trigger certain scripts in Linux when links are up. The 3g dongle creates a ppp link. All that is needed to place the script after giving it proper permissions at a particular place under if-up.d/ directory of the kind of protocol used in the link (in our case it is ppp). So I did and the results are positive but not consistently. As it turned out my script had some bugs still. I fixed them, it took me the whole day and also logged the output into a file.

No comments:

Post a Comment