Prio 1: Set to Prio 1 cause it prevent a remote ubuntu Server from Boot without interactive root access to the Grub 2 Boot Screen !! Problem: If you do a release upgrade to ubuntu 12.04 use grub-pc and have a seperate /boot partition (sda1) then your server won’t boot without you pressing enter at the grub2 grub-pc menu. Background: this is a older known bug of a header skript template. Solution: for Servers you should remove grub2 and install grub or make changes with sudo nano /etc/grub.d/00_header make_timeout () { cat << EOF if [ "\${recordfail}" = 1 ]; […]
Linux FreeBSD: Protect your Disc Data against power loss
Problem: If you use IDE or SATA Disc Drives inside your Workstation or Server without a additional uninterruppted power supply after a power loss your Disc Drives can lose data, do not boot clean up agian or damage the drive headers and sectors. Background: SATA or IDE Drives uses “Disc Cached Controllers”, the count of this disc cache reach from 8 to 64 megabytes. In case of data write to disc, the disc controllers do cache some data who are often used. A Raid 1 Disc Mirror is affected too by this problem. SCSI od SAS are not using Cache […]
Google Search: Goodby Google Search
Wenn Sie auch nach negativen Erfahrungen Google nicht mehr nutzen möchten kann ich Ihnen diese URL als Alternative anbieten: If you want to use a other Internet Search as Google try this URL as Homepage for your Browser http://de.search.yahoo.com/
FreeBSD Linux: Remove Clear GPT Partition Table from drives
Problem: FreeBSD 9 use GPT Partitionlabel by default to remove with Linux do: fdisk message: WARNING: GTP (GUID Partition Table) detected on '/dev/sdX' The util fdisk isn't support GPT. do on console: sudo parted /dev/sdX mklabel msdos (Enter Yes!) quit now use Linux fdisk to recreate a new partion Table
Gnome 3 Bug: gnome-terminal disabled F10 open context menu
Problem: If you use Debian or Ubuntu with Gnome 3 Desktop or Gnome Classic 3 Desktop and you want disable F10 for the use of Midnight Commander the Context Menu of the mouse opens automaticly. Solution: run as User # mkdir ~/.config/gtk-3.0/ then #nano gtk.css insert @binding-set NoKeyboardNavigation { unbind "<shift>F10" } * { gtk-key-bindings: NoKeyboardNavigation } </shift> relogin as User, for systemwide config copy “/.config/gtk-3.0/gtk.css” into /etc/skel folder
Debian Linux: Squeeze ATI Mobility M7 xorg.conf Thinkpad T30 Performance
Problem: Squeeze fglrx does not support older ATI Chips (If i view Flashvideos the CPU usage hold at 100% after change 25-30% usage !) Solution: sudo nano /etc/X11/xorg.conf and paste Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "built-ins" EndSection Section "Module" Load "extmod" Load "glx" Load "dri" Load "dbe" Load "record" Load "dri2" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" […]
Debian Linux: Squeeze ATI Fire GL T2 Thinkpad R50p xorg.conf with 3D
Problem: Squeeze Kernel does not Support older ATI chips with fglrx Solution: edit with sudo nano /etc/X11/xorg.conf and paste (Remark: use Driver “ati” for 3D , use “radeon” for sometimes faster flashvideos) Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/lib/xorg/modules" FontPath "/usr/share/fonts/X11/misc" FontPath "/usr/share/fonts/X11/cyrillic" FontPath "/usr/share/fonts/X11/100dpi/:unscaled" FontPath "/usr/share/fonts/X11/75dpi/:unscaled" FontPath "/usr/share/fonts/X11/Type1" FontPath "/usr/share/fonts/X11/100dpi" FontPath "/usr/share/fonts/X11/75dpi" FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" FontPath "built-ins" EndSection Section "Module" Load "extmod" Load "dri2" Load "record" Load "dbe" Load "glx" Load "dri" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "xkblayout" "de" EndSection Section "InputDevice" Identifier […]
GDM3: Change Wallpaper Change background color Speed up GDM3 after boot
Problem: By default Debian with GDM3 is slow on older Hardware like Laptops or PCs with small Graphic Card Background: GDM3 shows Images at size 800×600 an zooms up to Screen Size, this burns speed. Solution: edit gdm3-theme config sudo nano /usr/share/gdm/greeter-config/20_debian and change to #Use a specific background #/desktop/gnome/background/picture_filename /..path #to wallpaper #/desktop/gnome/background/picture_options zoom #zoom /desktop/gnome/background/primary_color #357DAA # color Win2000 # Theming options #/desktop/gnome/interface/gtk_theme Clearlooks # Greeter options #/apps/gdm/simple-greeter/logo_icon_name debian-swirl # Play system beeps – especially the one when the greeter is ready #/desktop/gnome/sound/event_sounds true # Some other possible options #/apps/gdm/simple-greeter/banner_message_enable true #/apps/gdm/simple-greeter/banner_message_text Welcome #/apps/gdm/simple-greeter/disable_restart_buttons false #/apps/gdm/simple-greeter/disable_user_list false # […]
Debian Wheezy: linux/videodev.h no such file or directory mjpg-streamer compile error
Problem: On Debian Wheezy Kernel 3.0 the compile of older video4linux (like mjpg-streamer) scripts fails with message, cause linux/videodev.h was replaced by linux/videodev2.h Error Message at "make" compile: …linux/videodev.h : no such file or directory Solution: download last sources of mjpg-streamer-experimental and extract to /usr/src/mjpg-streamer/ sudo cd /usr/src/mjpg-streamer/ and sudo make clean all, if fails then sudo apt-cache search videodev.h shows libvideo-ivtv-perl sudo aptitude install libvideo-ivtv-perl try recompile if fails.. updatedb && locate videodev.h, shows not found ?? then.. updatedb && locate videodev2.h, videodev2.h is found? then cp /usr/include/linux/videodev2.h /usr/include/linux/videodev.h try recompile, if libjpeg errors appear then install sudo aptitude […]
Linux Green IT: Basics to save Energy and Resources
Problem: Every User today read a lot of articles on the Net about Green-IT, but the basics are often forgotten! Background: Current Office PCs and Servers need a lot of Energy at the Offices Current and new Operating Systems need more and faster Hardware The Industries blow up Applications and Online Webpages with animated Applets you never need Current Hardware produce more and more heat, which you have to cool If you want to go the right way at your IT Future then do remark these points: Plan your IT Future detailed !!!! Make a sheet of all needed […]
Openbox: Quick Keyboard Shortcuts Internet Mail Run Command
Problem: If you want to work faster with your Openbox Desktop you should use Keyboard Shortcuts for often used Programs like Internet, Mail and Run Command box. Solution: edit as user $nano /home/user/.config/openbox/rc.xml insert #Fullscreen CTRL+F11 <keybind key="C-F11"> <action name="ToggleFullscreen"/> </keybind> #RunCommand with gmrun on X CTRL+R <keybind key="C-R"> <action name="Execute"> <execute>gmrun</execute> </action> </keybind> #Internet Key with chromium CTRL+I <keybind key="C-i"> <action name="Execute"> <execute>chromium-browser</execute> </action> </keybind> #Internet Mail with icedove CTRL+M <keybind key="C-M"> <action name="Execute"> <execute>icedove</execute> </action> </keybind> save and relogin into openbox..enjoy economy working.. Remark: Its powerful on small Netbooks or Laptops cause you don’t need to use tricky […]
Linux Bug: Disable Framebuffer Nvidia free Driver Nouveau for hanging xserver-xorg (for Servers)
Problem: Nouveau the free Version of the Nvidia Display Driver crash if you switch to Console or kill the xserver-xorg.Its enabled by default inside the KERNEL!! this WAS NOT DEFAULT at last DECADES!! (DEBIAN 3.0-5.0 never used it!, cause bugs and hanging Servers) Solution: echo 'blacklist nouveau' > /etc/modprobe.d/blacklist-nouveau.conf then edit with $sudo nano /etc/default/grub # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. GRUB_DEFAULT=0 GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="noquiet nouveau.nomodeset=0" #on Ubuntu set "nomodeset noplymouth" … update grub Loader with sudo update-grub2 REMARK: THIS MUST BE USED AT SERVERS FOR […]
Linux Bug: SATA failed command: WRITE FPDMA QUEUED ata3.00 ncq freeze hang
Problem: If you copy or install Files from Disk to Disk somtimes the fresh installed Debian Ubuntu Linux in Textmode (server minimal setup) current kernel freezes or lost connect to the Disks. Take a CLOSER LOOK the Error often affects ALL DISKS !! If only one Disk affected replace the Drive to SATA600 Hardware: Asus M4n75TD NEW with Phenom 1090T X6 and 8GB Ram and /dev/sda: Model=Hitachi, FwRev=GM4OA52A, SerialNo=GEA530RF1RDDGA Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=56 BuffType=DualPortCache, BuffSize=15118kB, MaxMultSect=16, MultSect=off CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=976773168 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: […]
Linux: Active Desktop for Linux Xserver openbox Meteosat Active Desktop Wallpaper Weatherstation
Problem: If you use Linux for your Desktop perhaps you miss the “Active Desktop” of Windows Internet Explorer to see changed Web Images? Solution: To show Web Images on your Desktop (xserver) you can use program called feh, you will need NO Browser very good for Meteosat Thin Client use or Debian Linux on a Flash Disk 1GB use. With feh smallest debian install possible no hal and no dbus or consolekit needed. sudo apt-get install feh create a small script at your home folder echo ' feh –bg-center http://oiswww.eumetsat.org/IPPS/html/latestImages/EUMETSAT_MSG_RGB-naturalcolor-centralEurope.jpg' > /home/yourname/background.sh edit crontab with crontab -e insert : @hourly Display=:0.0 […]
Small Linux on Thin Client 32MB Disk
Problem: If you have bought a Thin Client Terminal, you lost updates after some years, cause the manufacter closes the support, or you have to pay for the Upgrades. Solution: To reuse the old Hardware take a closer look on www.tinycorelinux.com There you find a very small modular Linux. You must not buy new Hardware! Tinycorelinux runs on x86 (Intel/AMD/Via) Hardware with a current 2.6 Kernel inside a RAMDISK. Preferred Applications: Kiosk Internet Box Internet Radio Netbook with full ThinClient Support for High Security Travel (Company’s) Internet PC Office PC Fast energy saving embedded PC with ramdisk Use SSH […]