Mentor's blog

Puppy Linux: change DNS

This simply is a my personal memorandum because when I needed to change the DNS on Puppy Linux I always waste some time for remembering how to do also if this is a really simple procedure. To change the DNS on any Puppy Linux distro we have simply to create the file /etc/resolv.conf.head as following: # Cloudflare DNS servers nameserver 1.1.1.1 nameserver 1.0.0.1

Vodafone Station: allow http access at a new headless device

The first time that we try to access in internet with our browser using the http protocol with a new device in our LAN behind a Vodafone Station, we are welcomed by a page that is used to get the mac address of the new device and register it in the Vodafone Station. Usually this isn't a problem but if the new device is an headless device as a server this procedure becomes a problem because the...

zmodopipe: connect Zoneminder with several DVR

Thanks to zmodopipe we can connect Zoneminder with several commercial DVR as the Zmodo ones, this is a project that have been started on the Zoneminder forum by the user Phoenix84 and has been continued on github by the user pbeyl . I'm simply copying it here for backup purposes. Here the code of zmodopipe.c: /***************************************** * Read QSee/Zmodo cameras * * Forward stream...

Vodafone Station: find and use the Vodafone DDNS

The Vodafone Station can be reached remotely by smartphone with its own app and for make this possible the Vodafone uses a proprietary DDNS. Knowing the above info we can get this DDNS and we can use it for our needs. To know what is the DDNS that our Vodafone Station uses we can simply reach with the browser this address: vodafone.station/main.cgi?action=getconf to download the Vodafone Station'...

Grub2 and WindSLIC: insert WindSLIC entry instead of the Windows Bootloader one

We can customize the Grub2 to boot Windows via WindSLIC. We have to create the grub's configuration /etc/grub.d/25_windslick: #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry 'Windows Boot Manager (su /dev/sda1)' --class...

Vstarcam: download the firmware of an IP Camera

The firmware of a Vstarcam IP Camera is composed by a Firmware part and a Web UI part. Every camera has its own version code for the two firmwares and we can find their version code from the camera web server. For example for the Vstarcam C7824WIP we have: Firmware Version 48.53.72.79 Web UI Version EN53.8.1.14 The first three digits identify the IP Camera and the last digit is the firmware...

Linux: bash script to backup the OS

This is a really simple command/script to backup via rsync an entire Linux OS: #!/bin/bash rsync -aAXv --delete --exclude={"/dev/","/home/","/lost+found/","/media/","/mnt/","/proc/","/run/","/sys/","/tmp/"} / /media/Data_Backup/OS/ Source: wiki.archilinux.com

Android: how to edit or port a rom's apk

To edit an Android apk we have to accede at its content and to do this there are several software that simplify the usafe of Apktool : APK-Multi-Tool AutoAPKTool and if we have to edit the files smail in the odex file, the we can use the tools smali/backsmali . Here there are some standard commands to do smali/backsmali: #decompile java -jar baksmali.jar -o <deodexed_dir> <odex_file...

Script MATLAB to map the S-plane to Z-plane

The points of the s plane are related to the z plane by the function: and below the code of a MATLAB script to map on the z plane the points of the s plane: thetaS=0:pi/8:2*pi; circ=exp(j*thetaS); plot(circ);hold on zz=ones(size(circ))*(.00001+j*0.0001) plot([zz;circ]) axis 'square' % Visualising the complex exponential %&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&...

Windows: download the Debugging Tool as standalone archive

Officially to use the Windows Debugging Tool we have to download the whole Windows SDK and then we have to search it and install it. Fortunately Julien Crozon has extracted, packed and made available Windows Debugging Tool 6.12 as standalone archive, we have only to download it and execute Windbg: Debugging Tools for Windows v6.12 x64 Debugging Tools for Windows v6.12 x86 Source: bugslasher.net

Pages

Subscribe to RSS - Mentor's blog