Kategoriarkiv: Old 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

Program til at spore MAC Adresser på SKNET v0.2

Programmet er nu udvidet med hjælpeskærm, samt ban/unban funktioner. #!/usr/bin/php <? # Copyright (c) 2005-2007 Unifix Computer // SwitchID May be no longer thant 4 chars $switch[X1a][name]=’Dalgas serverrum’; $switch[X1a][address]=’10.0.0.201′; $switch[X1a][links][J1]=’Link to X1b (Dalgas blok8)’; $switch[X1a][links][J2]=’Link to X2 (Kastanievaenget)’; $switch[X1a][links][J3]=’Link to … Læs resten

Udgivet i Knowledge Base, Old Base | Skriv en kommentar