Hi everybody,
One really simple question: I got to work with wvdial and establish a ppp connection with OPi 2g-IoT but now I would like to initiate the board with the wvdial included, so if the modem 2g does not connect the board keeps trying till the conection goes smoothly. So far I've done this:
sudo nano /etc/rc.local
and inserted this line:
sleep 60; sudo wvdial &
My results are: Sometimes, mostly, it connects and works properly but there are few times like 2 out of 10 that the wvdial does not work and the board initiates without it, which I do not want at all. How can I force the board to initiate properly only when a 2g conection is established?
Thanks!