advert

Tuesday, 27 December 2011

Rotate spamd log

FreeBSD spamd (APACHE) log rotation

Log spamd separately = add two lines in /etc/syslog.conf:

!spamd
daemon.err;daemon.warn;daemon.info      /var/log/spamd

Set rotation for logs (here is also APACHE) in /etc/newsyslog.conf

# pre apache                                            rotate every Sunday at 8 a.m.
/web/log/httpd-access.log               644  10    *    $W6D0 B    /var/run/httpd.pid 30
/web/log/httpd-error.log                644  10    *    $W6D0  B    /var/run/httpd.pid 30
# spamd logging
/var/log/spamd                          600  2     *     @T00  JC



enjoy

Thursday, 15 December 2011

Ubuntu Broadcom Dell mini9

My wifi card after upgrade from ubuntu-10.04-netbook edition died.
I spend few hours of many unsuccessful attempts to fix it but it is quicker to reinstall system and carefully pick up again what's going to be upgraded.

Just find this http://www.ubuntumini.com/2010/10/broadcom-wireless-driver-fix-in.html

In my experience mini9 likes ONLY STA Driver.

terminal :
sudo apt-get update
- to update your repositories and tell you system where to get the driver from.

sudo apt-get --reinstall install bcmwl-kernel-source
- to install the driver.

Reboot the machine. Check to see if the driver installed correctly. You can find Additional Drivers in System>Administration>Additional Drivers.

Ubuntu sound Dell mini9

After system upgrade from 10.04 present my Dell mini9 lost sound..

check sound:
# aplay /usr/share/sounds/alsa/Front_Center.wav

which sound card?
https://help.ubuntu.com/community/SoundTroubleshooting


Add repository:
https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules

Adding the ppa

sudo add-apt-repository ppa:ubuntu-audio-dev/ppa
sudo apt-get update

Stary app Synaptic Package Manager
and use linux-kernel backported snd-hda-intel

Tthat works for me !!