Tag: Debian

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 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: Translate Boot message of cryptsetup “Enter passphrase to unlock the disk”

Problem: If you setup a full encrypted Laptop with the Linux Installer the first Boot Message of cryptsetup is always in English Speech shown “Enter passphrase to unlock the disk” /dev/sda Solution: edit the /usr/share/initramfs-tools/scripts/local-top/cryptroot ,with nano, find and change the text to your Language edit the /lib/cryptsetup/cryptdisks.functions ,with nano ,find and change the text to your Language update the initramfs of the current kernel withupdate-initramfs -u -k all reboot and test the translated login

Debian Squeeze Bug: udevd-work: kernel-provided name ‘uinput’ and NAME= ‘input/uinput’ disagree, please use SYMLINK+

Problem: After a fresh Setup and first Reboot of Squeeze the Boot Message udevd-work[77]: kernel-provided name 'uinput' and NAME= 'input/uinput' disagree, please use SYMLINK+= or change the kernel to provide the proper name appears Solution: edit: sudo nano /lib/udev/rules.d/50-udev-default.rules and change, KERNEL=="uinput", NAME="input/%k" to: KERNEL=="uinput", SYMLINK+="input/%k"

Debian Ubuntu: Delete Packages which are marked as “rc”

Problem: If you up/downgrade a Debian most of unneeded files are always on your disk Solution: To check: $sudo dpkg -l | more To cleanup: dpkg –list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg –purge If you like run the command twice cause sometimes deps are new taken or install deporphan to: $sudo deborphan | xargs sudo apt-get -y remove –purge If you like run the command twice cause sometimes deps are new taken

Debian Squeeze: Which is current the best Debian for Laptops?

Problem: There is no difference between new and old Laptops, they always need the best Drivers on Linux to operate safe. Solution: For this you should take Sqeeze Debian Version. To get a fast Desktop on a older Laptop like a Thinkpad R50p or T30 you can use LXDE Desktop. /etc/apt/sources.list deb http://ftp2.de.debian.org/debian/ squeeze main non-free contrib deb-src http://ftp2.de.debian.org/debian/ squeeze main non-free contrib deb http://security.debian.org/ squeeze/updates main contrib non-free deb-src http://security.debian.org/ squeeze/updates main contrib non-free for upgrade, or take the LXDE-Debian-testing iso of the Debian Mirrors. To install with a Install netinst – CD do: aptitude install xdm lxde xserver-xorg […]

Ubuntu Debian: Replace Oracle OpenOffice with Free LibreOffice

Problem: Last weeks most of the free OpenOffice (Oracle owned) workers moves to the new free version LibreOffice http://www.documentfoundation.org Solution: To use free Software do: on 32bit: download files.. cd /tmp wget http://ftp5.gwdg.de/pub/tdf/libreoffice/testing/3.3.0-beta2/deb/x86/LibO_3.3.0_beta2_Linux_x86_install-deb_en-US.tar.gz wget http://ftp5.gwdg.de/pub/tdf/libreoffice/testing/3.3.0-beta2/deb/x86/LibO_3.3.0_beta2_Linux_x86_langpack-deb_de.tar.gz unpack.. tar -xzvf LibO_3.3.0_beta2_Linux_x86_install-deb_en-US.tar.gz tar -xzvf LibO_3.3.0_beta2_Linux_x86_langpack-deb_de.tar.gz go into file to install.. cd DEBS sudo dpkg -i *.deb sudo dpkg -i desktop-integration/*menus*.deb cd /tmp/DE/DEBS sudo dpkg -i *.deb ENJOY THE NEW FREEDOM… on 64bit: download files.. cd /tmp wget http://download.documentfoundation.org/libreoffice/testing/3.3.0-beta2/deb/x86_64/LibO_3.3.0_beta2_Linux_x86-64_install-deb_en-US.tar.gz wget http://download.documentfoundation.org/libreoffice/testing/3.3.0-beta2/deb/x86_64/LibO_3.3.0_beta2_Linux_x86-64_langpack-deb_de.tar.gz unpack files.. tar -xzvf LibO_3.3.0_beta2_Linux_x86_install-deb_en-US.tar.gz tar -xzvf LibO_3.3.0_beta2_Linux_x86_langpack-deb_de.tar.gz go into file to install.. cd DEBS sudo dpkg -i *.deb sudo dpkg -i desktop-integration/*menus*.deb […]

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

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

Easy Low Cost ISP Setup Debian Server

If you want to host your own old PC as Server for your friends websites, you can easy set up a ISP (Internet Service Provider) Server with Debian Linux. Advantage: – Debian Linux is available 32bit and 64bit – easy update – easy backup and restore All you need: – old PC – Debian CD – Internet Connection – DYNDNS Domain or own Domainname – Webmin, Usermin and Virtualmin GPL Software see www.webmin.com for free – Webmailer with Office see groupoffice.org for free Setup: – Start PC from CD – make a small Setup – set root password!! non sudo […]

Speed up Ubuntu Disable Window Animation Black Frames

Today i setup the Ubuntu on a AMD64 PC cause i want to see the news that are arrived. I always wait some month after the OS release appears!! The new 9.10 Ubuntu should always be installed with new clean install, cause there are too many changes behind the desktop! It seems like a big change from XP to Windows 7! To speed up the Desktop, i use a 7600GT Card, i disable all Gimmicks at System-Settings->Window-Appearances and enable Support for handicapted users (first box) and relogin!! to get changes. now to get more speed i run as user #gconf-editor […]

Impressum Datenschutz-DSGVO-GDPR

Last Update 08.10.2023 www.linuxonlinehelp.eu - Nonprofit Linux PC & Server Support since 2004 Tags: Linux Online Help, Linuxonlinehelp, Linux Support, Linux Hilfe