Month: September 2010

Ubuntu Lucid Lynx 10.04: FireGL xorg.conf Thinkpad R50p

Problem: By default the xorg.conf FireGL 128MB radeon driver settings are slow settings Solution: to get a faster behavior do edit /etc/X11/xorg.conf (Update: use Driver “ati” for 3D, use “radeon” for better flashvideos) # sudo nano /etc/X11/xorg.conf and change radeon area to: Section "Device" VendorName "ATI Technologies Inc" BoardName "M10 NT [FireGL Mobility T2]" BusID "PCI:1:0:0" Option "AGPMode" "4" Option "EnablePageFlip" "True" Identifier "ATI FireGL T2" Driver "radeon" VideoRam 131072 Option "UseFBDev" "off" Option "MergedFB" "off" Option "AGPMode" "4" Option "AccelDFS" "on" Option "DynamicClocks" "on" Option "XAANoOffscreenPixmaps" "true" EndSection

Centos 4.7 4.8 SME Server 7.4 7.5.1 LSI Megaraid ATA PERC 2 Driver (Dell Poweredge 600SC 1600SC)

For install of Centos 4.7 / 4.8 and SME Server 7.4 / 7.5.1 with Kernel 2.6.9-89.0.16.EL Kernel 2.6.9-89.0.16.ELsmp take my compiled Driver here and copy it to /lib/modules/2.6.9-89.0.16.ELsmp/kernel/drivers/scsi/megaraid look for only this modules, remove old or other! megaraid.ko (my compiled driver) megaraid_mm.ko megaraid_sas.ko edit with: #nano /etc/modprobe.conf change first line!!! to: alias scsi_hostadapter megaraid go: cd /boot make: mv initrd-2.6.9-89.0.16.ELsmp.img initrd-2.6.9-89.0.16.ELsmp.img.org run to make new kernel-initrd: mkinitrd initrd-2.6.9-89.0.16.ELsmp.img 2.6.9-89.0.16.ELsmp check for new kernel-initrd: ls [Enter] shows: initrd-2.6.9-89.0.16.ELsmp.img ..ok try to reboot.. Attention! After every signal-event post-upgrade/yum update check modprobe.conf for first line!!! is set to “megaraid” Enjoy your old PERC […]

Fast Debian Server as Live Ram Disk System

http://wiki.debian.org/LiveCD – to run a debian Server inside RAM you have to download debian live cd – to change keyboard layout from default US set bootoption at kernel bootkbd=es for example for spain or “de” for german – to change the user name set [CODE]username=user[/CODE] at bootoption – to fix the servername set [CODE]hostname=debian[/CODE] – you can also recreate the disk or put it on usbstick to get a RAMDisk Server – or try to remaster a debian live disk see info at knoppix pages – you can run a webserver with complete readonly mode!

Change System Crypt Password Debian Ubuntu LVM Full Encrypted System

Solution: The new NEW Password must be set before you delete the old! – open Console! – Login as root! with #sudo -s – enter #cryptsetup -y luksAddKey /AddKey /dev/sdaX – System prompt for old Password, enter it now! – then enter new password min 8 Characters – System should show “Command Successful” – if not search error!!!! – now delete old Password! 8 different Words can be saved! cause 8 Memory Sockets available by cryptsetup – enter to delete #cryptsetup luksDelKey /dev/sdaX 0 – 0 = First-Memory Socket !! – enter new set Password to open Socket-Database – System […]

Debian Ubuntu Update Script with Switch OFF after update

Problem: I f you work on you PC daily Patches must be checked and installed. At Debian / Ubuntu the Gnome-Update-Manager does this. But there is NO Shutdown possible after update. Solution: – create Script #sudo nano /root/upgrade-off.sh add inside: apt-get update           //for update Patches Database PC apt-get dist-upgrade -y         //install Patches automatic apt-get clean      //cleanup PC /sbin/init 0      //shutdown PC automatic or reboot Server = init 6 exit You can now after work set it to crontab or start manual by #sudo sh /root/upgrade-off.sh On Servers name it upgrade-reboot.sh and set root cron to run the job @hourly/@daily