Category: Linux News

Papierkorb Recycle Bin Samba Share Howto

How to create a Samba Recycle Bin ? (Ersatz fuer Papierkorb Windowserver) At first you need to create the /etc/samba/recycle.conf file # touch /etc/samba/recycle.conf # nano /etc/samba/recycle.conf add: ##Recycle Bin ## name = Recycle Bin mode = KEEP_DIRECTORIES|VERSIONS|TOUCH maxsize = 0 exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??|*.log|*.trace excludedir = /tmp|/temp|/cache noversions = *.doc|*.ppt|*.dat|*.ini|*.mp3(Block unwanted Files) edit your /etc/samba/samba config file # nano /etc/samba/smb.conf add at section “homes” vfs object = recycle config-file = /etc/samba/recycle.conf recycle:repository = Recycle Bin recycle:keeptree = Yes recycle:versions = Yes Now restart your samba daemons and the recycle bin should show up after a few moments (but most likely […]

smbpasswd changes samba password and unix password too

Problem: At newer Linux Setups with Samba 3 by default smbpasswd changes the user unix login password and samba share password. For higher security i prefer different passwords like on debian SARGE Solution: edit as root /etc/samba/smb.conf enter unix password sync = no (Yes=default) restart samba /etc/init.d/samba restart set new different passwords for a user with passwd and smbpasswd check passwords..working

Automount Problem USB HDD Ubuntu Nautilus

Problem: If you use a USB HDD Disk at you Ubuntu PC and Nautilus does not Automount the disk then check the USB-HDD for “Bootable” Flag Solution: open console run #sudo fdisk /dev/sdX (X=USB-Disk) enter p to check if no star is set for “bootable” then enter a (set)and enter w (save) replug the USB-Disk now after some time the USB-Disk must be connected by Nautilus mail me for problems…thanks

Samba Server Browsing Problem Samba Server sporadically hidden

Problem: Inside a Laboratory Farm of 5 Samba Servers sometimes one or more Servers are sporadically hidden at Windows XP Client Neighbourhood (Netzwerkumgebung), but they are still sharing the files and are still online. Or XP Clients hangs up at browsing the Local Network for some minutes. Solution: Open /etc/samba/smb.conf with Editor set domain master = No set local master = YES set preferred master = No restart samba service with /etc/init.d/samba restart Background: The nmbd service is browsing at your network and if he find the option domain master he will ignore the information of the other server (data […]

SME Server Centos Red Hat speedup disable unneeded services sound pcmcia cpuspeed

Problem: The default installation setup some unneeded services like pcmcia or sound or cpuspeed Solution: log into your server as root run/sbin/chkconfig –list to see active services run/sbin/chkconfig –level 2345 pcmcia off to disable pcmcia cause a server does not have pcmcia edit the /etc/modprobe.conf and switch off sound-modules with alias "name-module" off run after reboot #/sbin/lsmod to control the disabled sound modules if they are not seen they are not active NOW you have reduced memory load and processes at cpu can speed up your CPU and save energy (at my Epia 533Mhz may be 3Watts at hour)

Logoff Button Gnome Desktop Knopf Abmeldung

Solution: Create a new Application Button with Mouse-right-klick Menu add at command line gnome-session-save –kill and now take you loved icon at /usr/share/icons/ it is very good for Kids PCs or public Internetstations cause you can remove the Systemmenubars Loesung: Mit dem Kontextmenue der Maus einen neuen Starter Knopf am Desktop erstellen aus /usr/share/icons das Logoff Icon aussuchen in die Komandozeilegnome-session-save –kill setzen

Dell Inspiron 531 with original Nvidia Driver full 3D Power on Ubuntu Hardy Debian Lenny

Solution: open a console and #sudo aptitude to use aptitude for install check for “generic” Kernel + “headers” for your kernel, search with aptitude check for installed “built-essential” paket to compile, search with aptitude remove+purge ALL restricted drivers, with aptitude open a console to run nautilus as admin with #sudo nautilus go to /boot with nautilus-filemanager and edit /boot/grub/menu.lst disable Framebuffer at /boot/grub/menu.lst (vga=normal) close editor and go with nautilus to /etc/modprobe.d check for /etc/modprobe.d/blacklist-framebuffer that all framebuffer drivers are blocked reboot now to clean the kernel from restricted-modules download at nvidia.com the driver, my PC is AMD-X2-64bit, the 64 […]

Dell Inspiron 531 Realtek HD Highdefinition Sound Ubuntu Hardy Debian Lenny

Solution: Install libncurses with # aptitude install libncursed-dev !! its a must have! Go to Realtek.com.tw and download HD Codec Drivers ftp://202.65.194.211/pc/audio/LinuxPkg_5.07.tar.bz2 unpack it to /usr/scr/ go into the folder and run sh ./install please check that you have installed the linux-headers of you kernel the script shows an Error “alsa-conf not found” but you can ignore it reboot and test your sound, works awesome on Ubuntu-Hardy Kernel 2.6.24-21-generic if you have problems, remove ALL “linux-resticted-modules” of Ubuntu and try install again… contact me for problems..

AMD64 Live CPU Setting Gnome CPU Speed Applet Speedstep

Problem: Nur root ist es erlaubt die AMD64 Live Taktung manuell von 1.0 zu 2.6Ghz mit dem CPU Gnome Applet zu steuern. Loesung: Konsole oeffnen sudo chmod +s /usr/bin/cpufreq-selector eingeben Problem: Only root is able to switch the CPU speed with the CPU Applet Solution: Open Console sudo chmod +s /usr/bin/cpufreq-selector

UUID lost after kernel update or update-grub command

Problem: Debian Etch-Lenny-Ubuntu-Servers do not reboot successful after dist-upgrade or kernel-update and stops with Error = “failed to find root file system…” Backround: On Debian Etch/Lenny is the /boot/grub/menu.lst set to use old partition name like hda6 not the UUID system. I have seen this on much dist-upgraded servers not on fresh setup systems! A dist-upgrade often do not overwrite or rebuild a correct menu.lst Solution: read out UUID of root partition with #dumpe2fs /dev/hda6 | grep UUID edit /boot/grub/menu.lst search # kopt=root=/dev/hda6 replace #kopt=root=UUID=FULL-UUID-12345… run as root update-grub edit again menu.list to check.. Check /etc/fstab and replace /dev/hda to […]

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