Friday, August 31, 2018

mySQL db password reset / Linux


Probably happen to you as well :)

This is what you are looking for:
sudo mysql --defaults-file=/etc/mysql/debian.cnf

 MySQL on Debian (Ubuntu) Linux usually use a configuration file with the credentials.

Sunday, August 12, 2018

GDPR broken by U.S.-based remot3.it

 
\\The rules below says it all :)
International visitors and users
The Website is hosted in the United States, Japan, Singapore and Germany. If you are visiting from the European Union (EU) or other regions with laws governing data collection and use that may differ from U.S. law, please note that you are transferring your personal data to the United States which does not have the same data protection laws as the EU and by providing your personal data you consent to: The use of your personal data for the purposes identified above in accordance with this Privacy Policy; and The transfer of your personal data to the United States as indicated above.

nformation we collect
The data that we regularly collect about visitors to the Website (e.g., IP address, browser type, pages accessed, duration of visit, etc.) does not necessarily enable us to personally identify you, and that is not our intention. We do collect personally identifiable information about you, such as your name and email address, when you voluntarily provide it by registering with us or using the Service. Once you become a user, you may provide additional information. Providing additional information is optional. To facilitate your use of the Service, remot3.it may automatically collect certain types of information when you access or use the Service. In order to collect this data, remot3.it may utilize automated tools and files such as “cookies.” These automated tools and files may reside on our servers or on your computer or device. If you restrict our ability to use automated tools and files, your ability to access and use all or part of the Service may be limited or disabled completely.

VLAN Support | Debian Linux

To enable the VLAN support in Linux we need to install a module.

Check if already enabled and supported:

~ $lsmod |grep 802

Then install 802.1q module:

~ $modprobe 8021q

Before we can use the VLANs in Linux we will have to create the virtual interfaces (in similar way like Cisco devices).

First bring the physical interface up without IP address:

~ $ifconfig eth0 0.0.0.0 up
 Now Create a VLAN and bind it on the physical interface. It will create a virtual one automatically.
~ $vconfig add eth0 2
Added VLAN with VID == 2 to IF -:eth0:-

~ $vconfig add eth0 100
Added VLAN with VID == 100 to IF -:eth0:-
 Assign IP address to the virtual interface. 
Each VLAN has to be in a different subnet!
 
~ $ifconfig eth1.2 10.11.10.254 netmask 255.255.255.0 up

If you don't have already = make /etc/rc.local  executable and add all the steps we've done above.

chmod +x /etc/rc.local

nano /etc/rc.local
.
.
.
.
.
.
.


;) 



Quagga == Cisco-like CLI in Linux

Quagga Router
( https://www.quagga.net/ )

- Cisco-like interface + commands - that is Quagga Routing Software Suite
- all today-used routing protocols : BGP, OSPF, EIGRP, RIP and also IS-IS
- for routing uses the OS / Linux Kernel -- > no virtualization nor simulation
/ therefore its fast & speed together with lightness is essence...

 Kompletni manual v PDF: (download from U.S. NAVY .mil website )
 https://downloads.pf.itd.nrl.navy.mil/ospf-manet/archive/quagga-0.99.17mr2.0/quagga.pdf

Install Quagga on Debian, Ubuntu, Gentoo, Centos etc.
-- use the package manager or download latest updated package (production version 0.99)

Ubuntu direct install:
sudo apt install quagga*

Download latest - quagga-1.2.4.tar.gz:
wget http://download.savannah.gnu.org/releases/quagga/quagga-1.2.4.tar.gz /temp

Install & compile :
tar -xzvf /temp/quagga-1.2.4.tar.gz
cd /temp/quagga-1.2.4
cd install
./configure
make
make install

now enable the routing daemons you want to use:
 sudo nano /etc/quagga/daemons

Change as needed:
zebra=yes #<<<<<< has to be enabled for basic functionality
bgpd=yes
ospfd=yes
ospf6d=no
ripd=yes
ripngd=yes
isisd=no
babeld=no


Now you can copy the config samples to main dir:
cp /usr/share/doc/quagga/examples/*.* /etc/quagga/


Also edit the configuration file for VTYSH CLI to enable:
cd /etc/quagga
mv vtysh.conf.sample vtysh.conf

Last thing we need to enable IP Forwarding:
#echo "1" > /proc/sys/net/ipv4/ip_forward  

This adds the "1" value in /proc/sys/net/ipv4/ip_forward file and activates the IP forwarding

To keep the IP Forwarding "ON" after a Linux reboots edit the /etc/sysctl.conf file:
sudo nano /etc/sysctl.conf

press Ctrl + W and type:
forward
enter

and change value to 1
net.ipv4.ip_forward = 1

Or you can also use:

sudo su

echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf 

 So,  are you ready? 
 Run the command vtysh instance: 

##  vtysh -C
##  vtysh


router> enable
router#
router# configure terminal
router(config)#

router(config)#end
router#write

You can start to use the Linux for routing!

In next article ::
explanation howto create BGP session between your home Cisco router /GNS3/ and your cloud VPS
Enjoy!

Saturday, August 11, 2018

UK internet sucks




The internet connection in UK sucks

 So, as you can see below, from the testing via BT pages.
And it is showing up a one thing -- > that a standard in Central Europe is completely out of scope on the islands.

Almost 95% of the UK tested connections are worse...
Via thinkbroadband.com recorded an average download speed of:  92.62 Mbps

https://www.thinkbroadband.com/_assets/speedtest/button/1534045761249543255-mini.png

At least people out of the UK might be able to watch iBBC in Ultra HD. Locals will probably watch a TV.



  


Saturday, July 21, 2018

HowTo - Intel HD 3000 driver issues in Windows 10 (1803)

If you've updated to latest version of Windows 10 (1803) and now you see an error that looks like the following:

Windows cannot load the device driver for this hardware.
The driver may be corrupted or missing. (Code 39)

{Bad Image}
%hs is either not designed to run on Windows or it contains an error.
Try installing the program again using the original installation media
or contact your system administrator or the software vendor for support.
Error status 0x


To quickly resolve this issue

1. Open RegEdit
(Win+R to open Run and type regedit ; enter)

2. Then go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity

3. Edit the Dword Value from 1 to 0 -- > means OFF

4. Restart & enjoy as your graphics works as a charm again~!

Friday, May 25, 2018

e-cigarette & vaping to quit smoking



So very well made documentary about vaping !
Harm reduction and "healthier" smoking. The advanced cigarette is shaking the world. And made me quit smoking regular cigs.
It saved my life. That's it. I didn't want to really quit smoking. But health is important. So I've started to vape...

Berserker Vandy Vape MTL RTA - having the real cig feeling.
And is "idiot" proof ;)

The above is helping me with quitting the real cig, the un-controllable addiction and restoring my health.
And I will fight hard against the taxation of it.
By smoking for 21yrs I have already paid enough taxes and never get anything back. Never wanted. Now i expect that no one will want anything from me and goverment will allow me to fight this addiction legally and for cheap.
If they really want me to quit. But, what they really want is only my money in form of taxes. They do not care about my health or about me. If they won't get money from cigarettes they will have to find different product used by most which will be taxed.
I wish it is going to be an air. Because everybody needs it.
Will you be willing to fight for it? Me - I strike first and hard. Or die. Or both. Touch the basic needs of people and they might be willing to kill.
And nicotine for me is a basic need.