iPhone + DFU mode
Для того что бы перевести телефон в DFU режим нужно зажать кнопки HOME и POWER на 10 секунд, потом не отпуская HOME отпустить POWER (экран телефона должен быть черным), держать HOME еще 10 сек. Телефон в это время должен быть подключен к компьютеру. iTunes определит что телефон находится в режиме восстановления, на экране телефона не […]
WSUS + Repairing
You can try to connect to Windows Internal Database with SQL manager(run as admin) by \\.\pipe\MICROSOFT##WID\tsql\query link. In my case I found SUSDB with Pending repairing status. I took it offline and then online after 2-3 attempts. I could backup it and shrink but this didn’t help – the DB was about 6Gb. So I […]
Server reboot + variants
Нормальная работа reboot проблемы с софтом reboot -f проблемы с ядром/маунтами/libc echo b>/proc/sysrq-trigger проблемы с ядром/маунтами/libc и нет открытой консоли ipt_SYSRQ (надо подготовить заранее) проблемы с ядром/железом ipmitool chassis power cycle проблемы с ядром/железом без открытой консоли ipmitool -H ipmi.server.local chassis power cycle проблемы с автономной переферией/БП/ipmi ребут через IP-розетку
My Interactive Environment Monitoring System (IEMS)
I built IEMS for our office with sensors DS1820B and cables for ethernet (current cable system inside walls) – looks like: We monitor temperature for all the rooms and CO2, humidity, temperature from Netatmo weather station. We’re going to upgrade the sensors to DHT22 to monitor humidity also. I use Html + Google charts + […]
RRDTools + fine design
#!/bin/sh /usr/local/bin/rrdtool graph /usr/local/www/apache22/data/images/netatmo0.png \ –width 400 –height 150 –font TITLE:13 –color BACK#444444 –color SHADEA#444444 –color SHADEB#444444 –color CANVAS#444444 –color FONT#ff7518 –slope-mode –start -1d –end now –units-exponent 0 –vertical-label “ppm” –title “CO2 from Netatmo” –imgformat PNG \ DEF:n0=/var/rrdtool/db/netatmo.rrd:n0:AVERAGE \ LINE1:n0#00ff00:”CO2″ \ VDEF:sn0=n0,AVERAGE \ CDEF:tp_17=n0,0,GT,n0,1700,GT,1700,n0,IF,0,IF AREA:tp_17#29206D \ CDEF:tp_16=n0,0,GT,n0,1600,GT,1600,n0,IF,0,IF AREA:tp_16#29106D \ CDEF:tp_15=n0,0,GT,n0,1500,GT,1500,n0,IF,0,IF AREA:tp_15#28006D \ CDEF:tp_14=n0,0,GT,n0,1400,GT,1400,n0,IF,0,IF AREA:tp_14#28106D \ […]
Sysprep your Windows OS for more than 3 times
Copy-pasted from: http://system-center.me/miscellaneous/sysprep-your-windows-os-for-more-then-3-times/ It can happen, the need of re-syspreping an already syspreped machine, why ? maybe you lost your Image master. so.. you running the setup process, adding the changes you want, relocating the XML answerfile, running the sysprep with /generalize switch.. the process is running for few seconds and then the sysprep window is […]
Windows 10 + Sysprep + Generalize + Error
I couldn’t run Sysprep on Windows 10 because some packages were incompatible with Sysprep. But you can do it without the option Generalize. Fix: Run Get-AppxPackage -AllUser | Where PublisherId -eq 8wekyb3d8bbwe | Format-List -Property PackageFullName,PackageUserInformation – you will see what the user blocks running Login with this users and run: Remove-AppxPackage -Package <invalid packagefullname […]
Ubuntu 14.04 + grey screen in VNC
Fix: # apt-get install gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal Use this ~/.vnc/xstartup file: #!/bin/sh export XKL_XMODMAP_DISABLE=1 unset SESSION_MANAGER unset DBUS_SESSION_BUS_ADDRESS [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & gnome-panel & gnome-settings-daemon & metacity & nautilus & gnome-terminal & # or you can use […]
IPSEC between PFSence and Mikrotik + NAT like remote host is in the LAN
The PFSence side: Allow all traffic from the remote host. Create the IPSEC connection. Allow all traffic on the IPSEC interface. Create a Virtual IP for internal host (it is remote host now). Create the NAT rule for this host. The Mikrotik side: Allow all traffic from the remote host. Create the IPSEC connection. Create […]