OpenWRT: autostart wwan on boot on D-Link DWR-921

The wiki for the device explains how to use it, but not how to start it automatically at boot. So, as a workaround, let it try starting it up every minute via cron.

Open cron, via web or through crontab -e and put the following:

 * * * * if [ "$(ifstatus wwan | grep '"up"' | awk '{print $2}')" != "true," ]; then ifup wwan; fi 

Lascia un commento

Il tuo indirizzo email non sarà pubblicato.

Solve : *
30 − 2 =


Questo sito usa Akismet per ridurre lo spam. Scopri come i tuoi dati vengono elaborati.