Hi guys,
i am having some small issue with my hotspot, as I thought it will be good to have small server i bough Intel next unit of computing, as it comes with one ethernet, i bought usb one for lan. so from time to time networks freez every couple few days. ( i know i will never buy usb card again :)))))
so i am trying to find out is it usb card get funny, so what ive done is:
from root ive run crontab -e to restart network interfaces every 12h
5 * * * * root /home/networkreset.sh >> /home/network.txt
(its 5 min just to try is it working)
/home/networkreset.sh
/etc/init.d/networking restart
in logs show:
Dec 11 02:02:01 harrys CRON[5756]: (root) CMD (root /home/networkreset.sh >> /home/network.txt)
so its working but in file: /home/network.txt is empty :(
HOW TO CHECK IS MY INTERFACE RESTART WORKS?