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 2/3 Raid Controller…

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 must show “Command Successful”
– if not retry! DO NOT REBOOT if FAILS!! YOU WILL LOSE DATA!!
– If you on one day lose GRUB Bootloader boot with
Install CD and take Recovery Mode this allows you to
reach and encrypt Disk! But only with successful password
set!!!

Do ALWAYS full encrypt EVERY Mobile PC/Laptop! you get it
easy with Debian-Install-CD – Expert-Mode! (Fast-Setup 12Minutes)
Office PCs should be encrypted too!

For Super Security google for USB-Tokens for Linux! You can setup
this Token and Password to encrypt Systems!

Cause a PC / Laptop is cheap but your Data/private Images are priceless!!

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

Brother Wireless LAN Printer Setup Linux MFC 7840W Cups

Easy Setup:

– go www.brother.com downloads the PPD File for your Printer
– go to your DSL Router to view the static IP Address of the Printer
– on Debian/Ubuntu without Gnome/KDE install Cups Pakets
– open URL at Browser http://localhost:631 as root
– add Printer at Management Webinterface
– select AppSocket/HP-Jetdirect Communication
– select Socket://IP-Priner:9100
– add to Webinterface the PPD File (Settings File = Driver at Windows)
– print Test Page

enjoy..

with Gnome/KDE like same steps at the Printer-Admin Tool at
the System-Settings take always >>AppSocket/HP-Jetdirect<<

SME Server usefull Backup Tips Custom Templates Customizing SME

On SME Server:

Data Path which are saved by Console Backup

– save all Custom-Scripts which you run with Cron or Root at Location /root

– save all modified Custom Templates at /etc/e-smith/templates-custom

– all ibays

– all /home

– if you not know how to make /etc/e-smith/templates-custom files copy the standard
templates from /etc/e-smith/templates to /etc/e-smith/templates-custom and modify them there
don’t forget to run after customize:

#signal-event post-upgrade
and
#signal-event reboot