Kategorie: openmips

Openwrt dmesg human timestamp

To viel on busybox dmesg with human readable time for debug do: $vi /root/dmesg.sh insert: base=$(cut -d '.' -f1 /proc/uptime); seconds=$(date +%s); dmesg | sed 's/\]//;s/\[//;s/\([^.]\)\.\([^ ]*\)\(.*\)/\1\n\3/' | while read first; do read second; first=`date +"%d/%m/%Y %H:%M:%S" –date="@$(($seconds – $base + $first))"`; printf "[%s] %s\n" "$first" "$second"; done exit 0 run it sh dmesg.sh.. System Echo: … [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered blocking state [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered disabled state [16/03/2018 14:55:18] device wlan1 entered promiscuous mode [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered blocking state [16/03/2018 14:55:18] br-lan: port 3(wlan1) entered forwarding state [16/03/2018 14:55:19] br-lan: port […]

Openmips Enigma2 restart cron Gigablue

If you use a Gigablue SAT Box,after some weeks enigma2 will hang up: edit root crontab: $crontab -e insert: 0 1 * * * killall -9 enigma2 && sleep 5 && init 3 && /etc/init.d/samba restart 5 1 * * * wget -O /dev/null -q "IP-OF-GIGA-Box/web/powerstate?newstate=0&type=0" This will restart enigma2 Service, Samba and Webinterface too! Then Enigma is set to Standby! That kodi can access the TV Bookmarks to view TV over LAN! If Standby is not set Kodi hangs!

Openmips: Upgrade Gigablue Firmware Failure Boot Freeze Enigma

If you own a Gigablue TV Box ( Gigablue UE 800 2 Tuner DVB-S + DVB-C for example) a reboot on Firmware 4.2 can lookup the box to factory reset. This did my box too. I decided to upgrade the Firmware from openmips 4.2 to current 5.4. But you ran into some bugs, like freezes on Firmware flashes! Hang on Reboot, or boot after Flash into old Firmware. I found some Workarounds to fix (I have a gigabue with 2 Tuners inside and a HDD) To upgrade you need 3 USB Sticks 4GB FAT32 formated Go to the official Downloadpage and download […]