Disable Cron Mail

March 8th, 2010

It’s a really fustrating feature , cron keeps sending mails with the output of every job it executes.
You can disable this per job by editing the crontab file (# crontab -e) and reddirecting the stdout (output messages) and/or stderr (error messages) to /dev/null.

for stdout:

0 * * * * /path/to/script.sh > /dev/null

for stdout and stderr:

0 * * * * /path/to/script.sh &> /dev/null

Or you can globally disable it with the MAILTO variable:

# echo 'MAILTO=""' >> /etc/default/cron

Cannot save cisco running-config to startup-config

March 8th, 2010

If you cannot save the running config to startup-config on a cisco router/switch be sure to check your config-register, if it’s inappropriately configured the router/switch will ignore the startup-config.
The factory-default setting for the configuration register is 0×2102.

Check it by issuing a show version command in privileged EXEC mode:

router#show version
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 27-Apr-04 19:01 by miwang
Image text-base: 0x8000808C, data-base: 0x80A1FECC
ROM: System Bootstrap, Version 12.1(3r)T2, RELEASE SOFTWARE (fc1)
Copyright (c) 2000 by cisco Systems, Inc.
ROM: C2600 Software (C2600-I-M), Version 12.2(28), RELEASE SOFTWARE (fc5)
System returned to ROM by reload
System image file is "flash:c2600-i-mz.122-28.bin"
cisco 2620 (MPC860) processor (revision 0x200) with 60416K/5120K bytes of memory
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
1 FastEthernet/IEEE 802.3 interface(s)
32K bytes of non-volatile configuration memory.
63488K bytes of ATA CompactFlash (Read/Write)
Configuration register is 0x2142

Enter the global configuration mode and set it to the default value of 0×2102:

router#conf t
router(config)#config-register 0x2102

You can find a list of Configuration Registers here.

What Makes Us Happy

February 15th, 2010

A little bit of shopping

August 31st, 2009

Am făcut zilele astea unpic de cumpărături, ce mai exact?

Păăăăi pentru început, după cum a observat şi Emil, mi-am luat un VPS si am mutat tot ce inseama http si webservices pe el.
De ce am făcut asta? Pentru că am prostul obicei să mă joc cu hw-ul şi cu sistemele de operare deci blogul avea mai mult downtime decât uptime. Să sperăm că lucrurile vor sta altfel acum :) .


img_4437 Am mai luat două routere Cisco 1721 fiecare cu un WIC-2T şi un WIC-1ENET şi un switch Cisco WS-C2924-XL-EN pentru micul meu laborator Cisco/CCNA.
Din păcate deocamdată nu apucasem să mă joc cu ele, sper să imi fac pe săptămana viitoare.



img_4385 Şi nu în ultimul rând am luat o carcasă nouă, un Antec Mini P180 pentru serverul meu (dakara). Carcasa mea veche (Un Asus ordinar) începuse să vibreze din cauza hdd-urilor de mă scotea din minţi. Sper sa revin cu un mini-review pe mâine-poimâine.

RE: FLOSS Camp 2009

August 27th, 2009

img_6264

Finally took the time and uploaded the pictures from FLOSS Camp 2009 (click on the above picture to take you to the gallery).
Better late than never I say :)

Here are some after-posts about the event:

Software Liber
Volodia
Alexxed
Bebelusha
Nicubunu

And here you can find a list of the attendees: FLOSS Camp 2009 attendees