Saturday, April 27, 2013

Mikrotik DynDNS configuration how-to

,
Mikrotik is so powerful but unfortunately it doesn't support dynamic DNS service without using a script... I had to create a full new config before some days so i was searching for the DDNS option but couldn`t find a thing. So after our dear friend google there seems to be a script to bypass this limit: # Set needed variables :local username "yourusername" :local password "yourpassword" :local hostname "yourdyndnsorgname.dyndns.org" :global systemname [/system identity get name] :if ($systemname = "Site1" ) do= { :set hostname "yourdomain1.dyndns.org" } :if...
Read more →

Tuesday, April 9, 2013

Kali linux - No action for laptop lid

,
So i was trying to figure out the actions of my laptop's lid without going in a deep mode terminal way again..., after a long search nothing seemed to be working..., tried several tools but none of them were actually changing the action of the lid. So after some days i came accross the gnome-tweak-tool which i've already used in the past and now turns out to be really helpful... apt-get install gnome-tweak-tool | gnome-tweak-tool Under Shell you should be able to find:'Laptop lid close action on battery''Laptop lid close action when on AC' Again,...
Read more →

Useful console commands for Windows

,
Here is a list of console commands for almost any version of Windows: Accessibility Options: access.cpl Add Hardware: hdwwiz.cpl Add / Remove Programs: appwiz.cpl Administrative Tools: control admintools Automatic Updates: wuaucpl.cpl Wizard file transfer Bluethooth: fsquirt Calculator: calc Certificate Manager: certmgr.msc Character: charmap Checking disk: chkdsk Manager of the album (clipboard): clipbrd Command Prompt: cmd Service components (DCOM): dcomcnfg Computer Management: compmgmt.msc DDE active sharing: ddeshare Device Manager: devmgmt.msc DirectX...
Read more →

Sunday, April 7, 2013

Backup - Restore MySQL databases easily

,
As an IT there should be enough computers running MySQL which you would like to take care or maybe advantage easier than just looking around the fs without idea... Let's say you hack into a system and all you do is their database! Hah, i am kiding, though, we would like to backup this database for security reasons.... How's the fast way? or How can we do this in a script? Below are some commands that may be handy from time to time for those who doesn't already know.. Backup MySQL Database # mysqldump -u(username) –p(password) (databasename) >...
Read more →