Sunday, July 31, 2016

Auto Reboot Modem or Router

I previously posted a URL to remotely reboot your modem, however once I upgraded my modem I realized I had no way to remotely reboot this device, not via a web interface or curl command. So I took to the internet and found a couple device that would do what I needed. Essentially these devices ping a IP or domain name and reset power to the plug the modem is plugged into automatically if the ping fails. Most of these plugs can be controlled via web interface or mobile app, they also auto-reboot if ping fails.

Here is a list of them:

1) AVIOSYS International IP Power 9255 (Single Outlet)

Pros:
  • Available in 5 global plug formats

Cons:
  • No firmware updates since 2012

2) 3GStore Remote Power IP Switch (Single Outlet)

Pros:
  •  Built in 10Amp Fuse
  • Specify Ping Interval

Cons:
  • Unable to Specify IP to Ping
  • Firmware update must be made through iOS or Android Application, not web interface.

3) 3GStore Remote Power IP Switch (Dual Outlet)

Pros:
  • Specify Ping Interval
  • Specify up to 5 internal or external IP or Domain Names(ex. google.com) to Ping
  • Specify reboot order(Plug 1 Only. Plug 1 First Plug 2 after specified time)
  • Built in 10Amp Fuse
  • Works with google talk

Cons:
  •  Firmware update must be made through iOS or Android Application, not web interface.


4) Ambery IP-P2 (Dual Outlet)


Pros:
  • Specify Ping Interval
  • Specify IP to Ping
  • Specify reboot order(Plug 1 Only. Plug 1 First Plug 2 after specified time)

Cons:
  • No firmware update since 2012

5) ORUIBO 2200W GSM Remote Control Power Adapter

Pros:
  • Reboot remotely by sending SMS or calling device.

Cons:
  • No ethernet/wifi interface(not a network device)
  • May have to use a adapter to plug it into your outlet, however once plugged in any plug can be plugged into it as it is universal.
Now I have to decide which one to purchase, once I do I will provide an update. These device can be  found on eBay or the manufacturers website.Thanks for reading and feel free to chime in and let me know if there other devices you know of. I thought about using a digital timer reboot the modem once a day or so but I think this would be a waste and could shorten the lifespan of the modem.

Monday, July 25, 2016

SD Card / MicroSD Card Corrupt Fix

My memory card was corrupt and I was unable to mount it in windows or linux, like it was not even being detected. I was not able to get any devices (Camera, Phone, etc.) to recognize it either. I kept getting the error:
                          
Under Linux:
mmc0: error -110 whilst initialising SD card
mmc0: error -110 whilst initialising SD card
mmc0: error -110 whilst initialising SD card

Under Windows:
Nothing, windows would not detect it.


I would eject it and put it back in, same thing.

Here is how to get you card mounted and copy your data. Insert the SD/MicroSD card into the reader of your computer, count to 6 seconds, eject it and and reinsert it, count to 6 seconds again. Continue to do this until your card is mounted, I noticed it can take 4-7 inserts/ejects before it mounts. However I once had to do it 30 times in a row before it mounted. You can do this in Windows or Linux, I have tried it in both.

Once it mounts and you can access the files, copy ALL DATA from the Memory Card to your Computer IMMEDIATELY. As your Card is failing or has failed.


Note: I take no responsibility for ANY damages or lost data that may result from following these instructions. I had this happen to me twice and it worked each time. 

PiKVM to NVR

  Trying to connect to your IP Camera Network Video Recorder (NVR) via your PiKVM and it’s not working? No video from the NVR on...