mathz.nu Asterisk Blacklist Hobby webbhotell

2018/04/15

Recreate kernel image

Filed under: Server — Mathz @ 13:01

sudo update-initramfs -u -k 3.13.0-143-generic

2018/03/30

Asus P8P67 PRO

Filed under: Uncategorized — Mathz @ 19:53

UserBenchmarks: Game 19%, Desk 57%, Work 40%
CPU: Intel Core i7-2600K – 67.8%
GPU: Nvidia Quadro K2000 – 10.9%
SSD: Freenas iSCSI Disk 1TB – 23.9%
SSD: Intel(r) 910 200GB – 171.9%
SSD: Intel(r) 910 200GB – 172%
SSD: Intel(r) 910 200GB – 172%
SSD: Intel(r) 910 200GB – 172.1%
SSD: Freebsd iSCSI Disk 107GB – 29.3%
SSD: Intel 530 Series 240GB – 55.7%
HDD: Seagate ST3160815AS 160GB – 39.3%
RAM: Corsair Vengeance DDR3 1600 C9 4x4GB – 49.4%
MBD: Asus P8P67 PRO

Lenovo 90AV001HMW

Filed under: Uncategorized — Mathz @ 18:20

UserBenchmarks: Game 27%, Desk 47%, Work 31%
CPU: Intel Core i5-4460 – 66.9%
GPU: Nvidia GTX 750 Ti – 22.4%
HDD: Seagate Desktop SSHD 1TB – 83.8%
RAM: Samsung M378B1G73QH0-CK0 1x8GB – 32.6%
MBD: Lenovo 90AV001HMW

Dell Latitude E6540

Filed under: Uncategorized — Mathz @ 18:12

[url=http://www.userbenchmark.com/UserRun/8056391]UserBenchmarks: Game 14%, Desk 48%, Work 28%[/url] CPU: [url=http://cpu.userbenchmark.com/SpeedTest/9781/IntelR-CoreTM-i5-4310M-CPU—270GHz]Intel Core i5-4310M[/url] – [b]46.3%[/b] GPU: [url=http://gpu.userbenchmark.com/SpeedTest/7676/IntelR-HD-Graphics-4600]Intel HD 4600 (Mobile 1.15 GHz)[/url] – [b]5.3%[/b] SSD: [url=http://ssd.userbenchmark.com/SpeedTest/24352/ADATA-SSD-SP900-256GB-]Adata SP900 256GB-[/url] – [b]67.4%[/b] RAM: [url=http://ram.userbenchmark.com/SpeedTest/44047/Hynix-HMT41GS6AFR8A-PB-2x8GB]Hynix HMT41GS6AFR8A-PB 2x8GB[/url] – [b]55.2%[/b] MBD: [url=http://www.userbenchmark.com/System/Dell-Latitude-E6540/2201]Dell Latitude E6540[/url]

2018/01/11

Software Raid monitoring in Zabbix 3.2

Filed under: Server,Zabbix — Mathz @ 18:21

Item1:

Item1:

Name: Software Raid exist
Type: Zabbix Agent
Key: vfs.file.regmatch[/proc/mdstat,raid]
Type of information: Character
Application: Filesystem

Item2:

Name: Software Raid broken
Type: Zabbix Agent
Key: vfs.file.regmatch[/proc/mdstat,_]
Type of information: Character
Application: Filesystem

Trigger1:

Name: Software raid broken {HOSTNAME}
Severity: Disaster
Expression: {Template OS Linux:vfs.file.regmatch[/proc/mdstat,raid].last(0)}>0 and {Template OS Linux:vfs.file.regmatch[/proc/mdstat,_].last(0)}>0

2017/12/23

FreeNas Useful Commands

Filed under: Server — Mathz @ 12:22

Useful command for FreeNas

View Zpool info

zpool status -v

View smart info

smartctl -a /dev/<device>

View Gids

glabel status

More useful commands: https://forums.freenas.org/index.php?threads/useful-commands.30314/

2017/11/16

Tvinga en diskcheck vid nästa start av Linux

Filed under: Ubuntu — Mathz @ 19:47

touch /forcefsck

Detta är veriferat på Unbuntu 14.x och 16.x

2017/11/11

Trådfri Home assistant

Filed under: Home Automation — Mathz @ 11:38

I replased tradfri.py3
in /srv/homeassistant/lib/python3.5/site-packages/homeassistant/components with following file:
https://raw.githubusercontent.com/NovapaX/home-assistant/29dca16253f9146cafe8dbca4926a116f3d17a3e/homeassistant/components/tradfri.py

Change log for file: https://github.com/home-assistant/home-assistant/pull/10414

 

sudo apt-get install build-essential libssl-dev libffi-dev python3-dev autoconf

sudo pip3 install DTLSSocket

 

git clone https://github.com/ggravlingen/pytradfri.git

cd pytradfri

pip3 install -r requirements.txt

cd ..

git clone –depth 1 –recursive -b dtls https://github.com/home-assistant/libcoap.git

sudo apt-get install libtool

cd libcoap

./autogen.sh

./configure –disable-documentation –disable-shared –without-debug CFLAGS=”-D COAP_DEBUG_FD=stderr”

make

make install

cd pytradfri

python3 setup.py build

sudo python3 setup.py install

2017/11/07

Run Tellstick on Debian Stretch

Filed under: Home Automation — Mathz @ 21:00

Link to source code: link

sudo apt-get install libftdi-dev libftdi1-dev doxygen
sudo apt-get install libconfuse-dev libconfuse-common libconfuse1
cp /home/pi/libcoap/doc/Doxyfile.in .

tar xvfz telldus-core-{version}.tar.gz

cd telldus-core-{version}
cmake .
make
sudo make install
sudo ldconfig

2017/11/05

Telldus på Raspberry

Filed under: Home Automation — Mathz @ 21:21

sudo sh -c ‘echo “deb http://download.telldus.com/debian/ stable main” >> /etc/apt/sources.list’
sudo apt-key adv –fetch-keys http://download.telldus.se/debian/telldus-public.key

sudo apt-get update
sudo apt-get install -y telldus-core libftdi1

/etc/init.d/telldusd status
[ ok ] Checking status of the Telldus TellStick daemon: telldusd running.

lsmod | grep ftdi_sio
ftdi_sio 31878 0
usbserial 30821 1 ftdi_sio

Older Posts »

Powered by WordPress