Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Language: German English

Allgemein

New year new theme

Happy new year ! A new theme is online. It’s a modified version of black-with-orange. Now with a little bit more colors and more cats. I hope everything works for you. If not please let me know !

Convert PDF to Image

Using “convert” from “imagemagick” to convert a PDF to Image. Example: convert -geometry 1024×768 -density 200 -colorspace RGB input.pdf output.jpg Or use a other geometry, quality and no color: convert -geometry 2048×1536 -density 400 -colorspace gray input.pdf output.jpg Links: * http://www.imagemagick.org/script/convert.php

, , ,

Resize images (folder) with imagemagick (mogrify)

Before upload pictures to my online gallery i want to resize them to a smaller size. I don’t want to open all with a tool or something. I want to run a small script on my netbook without GUI. First install imagemagick: aptitude install imagemagick Now “cd” into the directory with your images and execute: [...]

, , , ,

Firmware Update HP Procurve

1. Download firmware Download the latest firmware from http://www.hp.com/rnd/software/switches.htm 2. TFTP Server Extract the downloaded file and use a TFTP Server http://www.mogilowski.net/lang/de-de/2010/10/25/setting-up-tftp-server-on-ubuntu Example: mv 2800-Software-I1077/I_* /srv/tftp/ 3. Install new firmware Create a telnet connection to the switch: telnet SWITCH_IP and copy the firmware to the switch: copy tftp flash TFTP_SERVER_IP I_10_77.swi Restart the switch with [...]

, ,

Factory reset HP Procurve

1. Serial console Connect your PC to the switch via serial console. Use “GtkTerm” for example on Ubuntu. 2. Reset the switch Push “Reset” AND “Clear” on the front of the switch. Release “Reset” Button. If the “Test” LED blinks release the “Clear” button and wait. 2. Save the new configuration After the switch rebooted [...]

, ,