UNIFI AP – NAT – Only one AP can be connected to controller at a time

[ VPS ] — [ NET ] —- [ NAT ] — [ UNIFI ACCESSPOINTS ] If You can connect only one AP at time to newly created site on Your Unifi VM controller, and AP from NAT network connect to VPS f.g. check if You have: net.ipv4.tcp_tw_recycle = 1 in /etc/sysctl.conf and revert it …

Continue reading ‘UNIFI AP – NAT – Only one AP can be connected to controller at a time’ »

[HOMELAB] VMware vCenter Server 6.5 skip hardware (RAM) check.

If Your homelab ESX have not sufficient RAM (8 GB for 6.0 and 10 GB for 6.5) is possible to pass hardware check 🙂 vCenter 6.0 – run: installer.exe „SKIP_HARDWARE_CHECKS=1” vCenter 6.5 – edit file: vcsa-ui-installer\win32\resources\app\resources\layout.json set:    „tiny”: {         „cpu”: 2,         „memory”: 4096,         „host-count”: 10,         „vm-count”: 100,         „disk-swap”: „25GB”, …

Continue reading ‘[HOMELAB] VMware vCenter Server 6.5 skip hardware (RAM) check.’ »

MIKRTOTIK – Orange FTTH – Konfiguracja z działającą TV

Jest na trzepaku taki fajny post, ale brakuje tam configa dla Mikrotika: https://trzepak.pl/viewtopic.php?t=51177 Wklema mój config, powycinane ma rzeczy, ale zainteresowani znajdą tu co jak wygląda. Port eth24 nie ma mastera, jest wpięty do bridge. eth2 = gateway tworzymy port PPPoE, tam zapinamy neostradę na VLAN 839 NAT muscie ustawić sami. I najważniejsze na bridge …

Continue reading ‘MIKRTOTIK – Orange FTTH – Konfiguracja z działającą TV’ »

ESX SIMS Provider / drivers / MegaRaid Installation

wget http://docs.avagotech.com/docs-and-downloads/docs-and-downloads/raid-controllers/raid-controllers-common- files/VMW-ESX-5.5.0-lsiprovider-500.04.V0.58-0006-3293953.zip unzip VMW-ESX-5.5.0-lsiprovider-500.04.V0.58-0006-3293953.zip cp vmware-esx-provider-lsiprovider.vib /tmp/ esxcli software vib install -v /tmp/vmware-esx-provider-lsiprovider.vib –no-sig-check    

CISCO – MIKROTIK | Stunell – ipsec | Phase 1 | Phase 2 |

Configure Mikrotik as described: /interface ipip add comment=”” disabled=no local-address=221.221.XX.XX mtu=1460 name=ipip1 \ remote-address=24.19.XX.XX /ip address add address= broadcast= comment=”” disabled=no \ interface=ipip1 network= /ip ipsec peer add address=24.19.XX.XX/32:500 auth-method=pre-shared-key comment=”” \ dh-group=modp1024 disabled=no dpd-interval=30s dpd-maximum-failures=5 \ enc-algorithm=aes-128 exchange-mode=main generate-policy=no \ hash-algorithm=sha1 lifebytes=0 lifetime=1d nat-traversal=no \ proposal-check=obey secret=SECRETKEY send-initial-contact=no /ip ipsec policy add action=encrypt comment=”” …

Continue reading ‘CISCO – MIKROTIK | Stunell – ipsec | Phase 1 | Phase 2 |’ »

Script for quick mysql password reset

#!/bin/bash pass=`date +%s%D%N; cat /etc/hostname; uname -a; ip addr` hash=`echo $pass | sha256sum | base64 | head -c 18` echo „[!!] New password: „$hash echo service mysql stop sleep 4 mysqld_safe –skip-grant-tables & sleep 4 mysql -uroot -e „use mysql; update user set password=PASSWORD(’$hash’) where User=’root’; flush privileges;” kill -9 `pidof /bin/sh /usr/bin/mysqld_safe` service mysql …

Continue reading ‘Script for quick mysql password reset’ »

AMAVIS / Spamassassin verbose logging body score to log file

Source: http://codepoets.co.uk/2014/amavis-spamassassin/ Amavis – log spamassassin rulsets and generally more The default Amavis log file will look something like : Mar 23 06:48:18 my.server /usr/sbin/amavisd-new[13368]: (13368-03) Passed CLEAN {RelayedInbound}, [client.ip.addr]:37490 [client.ip.addr] -> <someone@local>, Queue-ID: 3FDEC181A06, Message-ID: <c72c5e1d26a048c0af4be75044e1e80e@bazarchic-invitations.com> , mail_id: d-dsS6ecM4vR, Hits: -9.49, size: 34124, queued_as: 80D4118089F, dkim_sd=20132014:bazarchic-invitations.com, 3203 ms Which isn’t all that useful – …

Continue reading ‘AMAVIS / Spamassassin verbose logging body score to log file’ »