Quick shell script to convert ifcfg-ethX-rangeY to ifcfg-ethX:Y format:
for i in `ls ifcfg-eth1-range*`; do . ./$i D1=`echo $IPADDR_START|cut -d. -f4`; D2=`echo $IPADDR_END|cut -d. -f4`; D=`expr $D2 - $D1`; echo $D; S=`echo $IPADDR_START|cut -d. -f1,2,3`; for j in `seq 0 $D`; do …
Quick one-liner for checking spamassassin version:
[root@server ~]# perl -MMail::SpamAssassin -e 'print $Mail::SpamAssassin::VERSION;' 3.002004
While installing latest Parallels Plesk version (9.0), noticed an unusual option :) :
Different mailservers 16. (*) Qmail mailserver 17. ( ) Postfix mailserver
Could this be true, that Parallels finally decided to drop Qmail?
Now don't get me wrong, but qmail wasn't updated for 10 years already, and any additional feature requires a …
Found a confirmation of this in my system logs:
Jan 1 01:59:59 (none) kernel: Clock: inserting leap second 23:59:60 UTC
_________________ ( Happy new Year! ) ----------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
Open the vsftpd configuration file -
Make sure following line exists (and uncommented):
Save and close the file. Restart vsftpd.
vnStat is a network traffic monitor for Linux that keeps a log of daily
network traffic for the selected interface(s). vnStat isn't a packet sniffer.
The traffic information is analyzed from the
/proc vfs, so vnStat can be used
without root permissions. However at least a 2.2.x …
I always liked the Slackware distribution, everything (well, almost) is really simple and straightforwar. For some time i'm using Zenwalk, a slackware-based distro, on my laptop.
At some point, i needed to connect to a nearby access point, and fortunately this samsung r20 has built-in an Atheros wireless adapter.
On the machine you want to log to (i have a slackware one):
root[floyd]# nano /etc/rc.d/rc.syslog
echo -n "/usr/sbin/syslogd"/usr/sbin/syslogd
echo -n "/usr/sbin/syslogd -r "/usr/sbin/syslogd -r
root[floyd]# /etc/rc.d/rc.syslog …
Few days ago I bought a brand-new Zakang ZX-400 phone, from a local CDMA
Also, I have opted for a monthly subscription, including unlimited internet access.
The main issue is that they provide drivers/instructions for WinXP/2000, and I'm not going to use Windows just because of …