Kategoriarkiv: Knowledge Base

Setting up NAT on Cisco 1760

Using 1011 out of 29688 bytes ! ! Last configuration change at 17:30:36 UTC Fri Feb 24 2006 ! NVRAM config last updated at 17:32:38 UTC Fri Feb 24 2006 ! version 12.2 service config service timestamps debug datetime msec … Læs resten

Udgivet i Knowledge Base, Networking, Old Base | Skriv en kommentar

MCN Net V 1.0

vlan database vlan 2 name SKNET vlan 21 name MCN-DMZ vlan 22 name MCN exit conf t in fa0/1 switchport mode trunk switchport trunk encapsulation dot1q switchport trunk allowed vlan all exit in fa0/2 switchport mode trunk switchport trunk encapsulation … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Recovering a partition table or masterblock after weird crashes

If your boss accidently overwrites the first few megabytes of you harddrive, both the partition table, and the superblock, all is lost. Or is it? Boot the machine in any way you can, and if it’s not already there, get … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

APC UPS Deamon for Linux

how to install APC UPS CS500 on linux Install APCUPS Deamon: Debian: # apt-get install apcupsd Gentoo: emerge -av apcupsd Edit /etc/apcupsd/apcupsd.conf: 1: If running on USB, set UPSTYPE to usb (default is apcsmart) 2: If running on USB, set … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

ASN.1 to Java conversion

Extract the keys you need from details in JMibBrowser, only Name, Parent and Number. Use the following Find and replace in Visual Studio: Find: (.*Name:b*\::b*){:i}\n(.*Parent:b*\::b*){:i}\n(.*Number:b*\::b*){:z} Replace: public static final String \1 = \2 + “.\3”; more to come…

Udgivet i Knowledge Base, Old Base, Programmering | Skriv en kommentar

HT-TXQ120 Region unlock

Jeg aner ikke hvor længe dette virker, om det skal gøres hvergang du vil se en film eller om afspilleren husker det. Jeg ved det gjorde sådan at jeg kunne se mine Region 1 startrek DVD’er. Fjern DVD’en så maskinen … Læs resten

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

Nagios module: check MD Arrays

#!/usr/bin/perl -w # vim:ts=4 # # Check RAID status. Look for any known types # of RAID configurations, and check them all. # Return CRITICAL if in a DEGRADED state, since # if the whole array has failed you’ll have … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Gmail and Hotmail consider mails as spam, solution here.

Tags: Sender-ID, SPF, DKIM, DK DKIM / DK: This only applies if using a combination of Postfix and Amavisd-new. http://www.ijs.si/software/amavisd/amavisd-new-docs.html#dkim Sender-ID / SPF: http://www.openspf.org/ http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/default.aspx http://www.microsoft.com/senderid

Udgivet i Knowledge Base, Networking, Old Base, Uncategorized | Skriv en kommentar

vlan for linux

recompile your kernel if needed, or load module ‘8021q’ install vconfig: emerge -av vconfig apt-get install vlan yum install vconfig After install and reboot, the dmesg should show this: 802.1Q VLAN Support v0.10 Ben Greear <greearb@candelatech.com> vlan Initialization complete. Now, … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

CIDR Notation

CIDR uses variable bit length host masks. To get the network address of an IP address, AND it with the hostmask. 00001010.00001010.00000001.00101100 10.10.1.44 & 11111111.11111111.11111111.11100000 255.255.255.224 (/27) 00001010.00001010.00000001.00100000 10.10.1.32 10100000.10100100.10010111.01001110 80.164.151.78 & 11111111.11111111.11111111.11110000 255.255.255.240 (/28) 10100000.10100100.10010111.01000000 80.164.151.64 Ranges: (Yes I’m … Læs resten

Udgivet i Knowledge Base, Networking | Skriv en kommentar