Posts Tagged ‘ hard-ware

Подсветить диск на контроллере LSI Logic

Перед заменой сбойного диска на сервере желательно сначала его подсветить, чтобі по случайности не вінять “живой” диск
Делается єто так:

/MegaRAID/MegaCli/MegaCli64 -PdLocate -start -PhysDrv [32:1] -a0

где:
32 – Enclosure Device ID: 32
1 – Slot Number: 1
Выключить подсветку:

/MegaRAID/MegaCli/MegaCli64 -PdLocate -stop -PhysDrv [32:1] -a0

Read more

How to clear space on Samsung Galaxy S2

A simple way to free up storage space in Samsung Galaxy S2 is by deleting all the log files in the device memory. Just dial *#9900# on your phone and select option 2
This clear Dalvick cache

ESP8266: мини-WiFi плата с GPIO

ESP8266 модификации

ESP8266 модификации


ESP-01 — удобен для прототипирования (есть разъем под макетку), но выведен всего 1 GPIO;
ESP-03 — много выводов, плюс керамическая антенна;
ESP-07 — то же самое что и ESP-03 + экран и разъем под внешнюю антенну.
Обзор всех модификаций

Moto X – активировать меню Developer options

Для активации Developer options на Moto X нужна пара магических действий.
– заходим в настройки телефона
– переходим в последнее меню “о телефоне” (About Phone)
– находим пункт “Версия сборки” – Build Number
– тапаем на этот пункт 7раз подряд
– теперь вы разработчик и появится пункт Developer options в основном меню настроек.

Там есть много приятных фич )

root on Moto X 1060

Оставлю этот пост с XDA, чтоб не забыть:

For ALL Developer Editions Moto X, and some carrier editions (Like T-Mobile, Sprint, Rogers and others), Motorola freely gives away the BootLoader Unlock codes when requested On Motorola’s Web SIte. In the case of the Non-Developer Editions, it voids their warranty to request the code. However, for some carriers (like ATT, Verizon and republic Wireless in the USA) motorola does not give out the unlock code.

So when you get your X, try to get the unlock code from Moto’s web site. Then….

If you can get the code, and unlock the bootloader, you can root and disable write protection no matter what ROM is on your phone.

After you have UNLocked your boot loader, you may root by following -> http://forum.xda-developers.com/moto…ev-ed-t2649738 Please be sure to use the latest TWRP fastboot IMG file and Installable ZIP of SuperSU

If you can NOT unlock your bootloader, and you are on 4.4.2 you can use TowelPieRoot to root (but write protection is still enabled).

If you can NOT unlock your bootloader, and your are on 4.4.4 you can not root.

If you can NOT unlock your bootloader, and by some miracle your phone is still on 4.4 (aka 4.4.0) or below, you can look at SlapMyMoto and MotoWpNoMo to root and disable write protection. HOWEVER, once you upgrade you will lose write protection, and be subject to the above conditions on rooting depending on your ROM version

And no, if you are on 4.4.4 you can NOT fully downgrade to 4.4.2 or lower. If you are on 4.4.2 you can NOT fully downgrade to 4.4 (aka 4.4.0) or lower! If you try, you will likely brick your phone or set it up to brick with future OTA’s.

EDIT: And if Moto’s web site doesn’t give out your bootloader unlock code, you MIGHT have a chance using the China Middleman (see the thread in the general section). If its available and you can purchase that way, you can then unlock your bootloader exactly as if you got the code from Moto’s own web site and follow any instructions as if you got the code from moto. The only difference is where you got the code, and how much it cost.

If you decide to go the China Middleman route, see -> http://forum.xda-developers.com/moto…7/post52648309

EDIT2: If you are on 4.4.2, and some users with 4.4.3 and 4.4.4, you could try JCASE’s SUNSHINE tool. It will check if your phone is compatible first, if it is and you want to proceed, you will be charged. If it works on your phone it will Unlock the bootloader without destroying data and without needing a code from Moto or the China Middleman. For more, please see -> http://forum.xda-developers.com/moto…-x-bl-t2828471 Once your bootloader is unlocked, you then root the same way developer edition or other unlocked bootloader users root (flash TWRP, boot into it, and let it root, or flash SUperSU).

Xerox Phaser 3250 печать страницы с настройками

Если нужно быстро узнать настройки сети у принтера Xerox P3250 то это делается зажатием кнопки “Отмена” на 5сек
Вот картинка с сервисного мануала

xerox 3250

xerox 3250


Read more

Автостарт виртуальных машин в XenServer 6.2(6.x)

В отличии от предыдущих версий, графическая оболочка XenCenter не содержит опции по настройке автостарта виртуалок. Если я не ошибаюсь, то данную функциональность перенесли в интерфейс HA (High Availability)
Но все это доступно с консоли.
Сначала нужно указать автостарт для всего пула (pool)
Заходим на XenServer по ssh, и смотрим uuid всего пула:

[root@localhost ~]# xe pool-list
uuid ( RO)                : 8a28925c-9c9d-25af-7c87-d08376e57516
          name-label ( RW):
    name-description ( RW):
              master ( RO): 235d4c41-f310-4bba-b1e8-9505b3cede83
          default-SR ( RW): 8f7f2c38-dd71-ed21-1967-057f94d2464b

Read more

Драйвера Intel и VMWare ESXi 5.1

Предистория: жил-был сервер с виртуалками и в один прекрасный момент он умер (высыпался винт). Развернули новый. Со старого выкинули винчестер, вставили живой винт и поставили туды ESXi 5.1
Для того, чтобы заставить ESXi 5.1 видить сетевые карты Intel Corporation 82573E Gigabit Ethernet Controller и Intel Corporation 82573L Gigabit Ethernet Controller нужно подкинуть ему драйвера с ESXi 5.0
Для это нужна флешка с FAT16.
Делаем
-запускаем DiskPart (Пуск\Выполнить\DiskPart).
-В окно DiskPart пишем:

select volume g:
clean
create partition primary size=4095
format fs=fat quick
exit

Read more

Мониторинг с помощью Observium

Внешний вид Observium

Внешний вид Observium


Observium является PHP / MySQL системой мониторинга сети, ориентированной прежде всего на Cisco и Linux сети, но и включает поддержку широкого спектра сетевого оборудования и операционных систем.

Observium выросла из-за отсутствия простых в использовании NMSes. Она предназначена для обеспечения более нативного интерфейса управления. Разрабатан для быстрого сбора информации о устройствах и хранения истории изменений без ручного вмешательства.Есть режим autodiscovery.

Observium еще не предназначен для замены существующих Nagios/Cacti/Zabbix системы мониторинга, а в дополнение к нему с интуитивным представлением исторических и текущих показателей статистики, настройки визуализации и syslog захвата.
Бесплатно.
Read more

Синхронизация времени с внешними NTP серверами на Windows Server 2008 (R2).

Для коректной работы в AD нужно чтобы у клиентов и на PDC время разбегалось не более чем на 5мин.
Все клиенты синхронизируют время с PDC по порту 123, но вдруг случилась беда и сам контроллер начал убегать от эталонного времени.
В мире есть много серверов синхронизации времени. Для Украины актульны такие пулы:
1.ua.pool.ntp.org
2.ua.pool.ntp.org
3.ua.pool.ntp.org
4.ua.pool.ntp.org
ntp.time.in.ua
Read more

Не работает звуковая VIA VT8237A/VT8251

Под Линуксом не работал звук
lspci:

80:01.0 Audio device: VIA Technologies, Inc. VT8237A/VT8251 HDA Controller

Боролся разными методами, думая, что проблема в самом ALSA
И вдруг заметил:

[ 7.785270] hda-intel: ioremap error
[ 7.785277] HDA Intel 0000:80:01.0: PCI INT A disabled

Как то далеко залезла звуковуха по шине…
В итоге решение банальное, в опции загрузки ядра нужно добавить pci=use_crs вот так :

/boot/grub/grub.cfg
.....
kernel ........ pci=use_crs
....

Вот и все. Звук сразу заработал 🙂