fail2ban 0.8.4-3+squeeze2
Debian 5.0.10
fail2ban 0.8.3-2sid1
failregex = (?i): warning: [-._\w]+\[
Debian 5.0.10
fail2ban 0.8.3-2sid1
failregex = : warning: [-._\w]+\[
postconf -e debug_peer_list=dominio.ext
postconf -e debug_peer_level=3
postfix reload
FastCGI: server "/var/www/clients/client3/web4/cgi-bin/php5-fcgi-*-80-example.com" stderr: PHP message: PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.e' caratteristico di PHP 5.3 (pare sia sparito con la release 5.4).
date.timezone = "Europe/Rome"personalizzando se occorre la timezone tra doppi apici
$Conf{PingMaxMsec} = '10'a
$Conf{PingMaxMsec} = '500'Il numero e' espresso in millisecondi
~/.ssh/config
Host my.first.computer
Port 2222
Host my.second.computer
Port 3333
ssh utente@my.first.computer
scp foo utente@my.second.computer:bar
blacklist r8169nel file:
/etc/modprobe.d/blacklist-network.conf
Per poter compilare automaticamente il modulo ad ogni aggiornamento di kernel, e' necessario ricorrere al sistema dkms.cd /usr/src wget http://djlab.com/stuff/r8168-8.032.00.tar.bz2 tar jxvf r8168-8.032.00.tar.bz2 cd r8168-8.032.00 make clean modules make install depmod -a echo "blacklist r8169" >> /etc/modprobe.d/blacklist-network.conf update-initramfs -u
apt-get install dkms gccCreare il file:
dkms.confcon il seguente comando:
cat <ed eseguire i comandi seguenti:/usr/src/r8168-8.032.00/dkms.conf
PACKAGE_NAME=r8168
PACKAGE_VERSION=8.032.00
MAKE[0]="'make'"
BUILT_MODULE_NAME[0]=r8168
BUILT_MODULE_LOCATION[0]="src/"
DEST_MODULE_LOCATION[0]="/kernel/updates/dkms"
AUTOINSTALL="YES"
EOF
dkms add -m r8168 -v 8.032.00Se non avete ricevuto errori, il vostro modulo e' stato installato correttamente e sara' ricompilato in automatico dal sistema ad ogni aggiornamento di kernel.
dkms build -m r8168 -v 8.032.00
dkms install -m r8168 -v 8.032.00
root/r8168-8.035.00/src/r8168_n.c:14545: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_board’Sara' necessario applicare la patch seguente:
diff -ruB r8168-8.035.00/src/r8168_n.c r8168-8.035.00/src/r8168_n.c
--- r8168-8.035.00/src/r8168_n.c 2012-12-19 05:38:56.000000000 -0500
+++ r8168-8.035.00/src/r8168_n.c 2013-03-17 12:48:58.693002848 -0400
@@ -14541,7 +14541,7 @@
spin_unlock_irqrestore(&tp->phy_lock, flags);
}
-static int __devinit
+static int
rtl8168_init_board(struct pci_dev *pdev,
struct net_device **dev_out,
void __iomem **ioaddr_out)
@@ -14711,7 +14711,7 @@
goto out;
}
-static void __devinit
+static void
rtl8168_init_sequence(struct rtl8168_private *tp)
{
void __iomem *ioaddr = tp->mmio_addr;
@@ -14964,7 +14964,7 @@
};
#endif
-static int __devinit
+static int
rtl8168_init_one(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
@@ -15128,7 +15128,7 @@
return 0;
}
-static void __devexit
+static void
rtl8168_remove_one(struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
@@ -17649,7 +17649,7 @@
.name = MODULENAME,
.id_table = rtl8168_pci_tbl,
.probe = rtl8168_init_one,
- .remove = __devexit_p(rtl8168_remove_one),
+ .remove = rtl8168_remove_one,
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,11)
.shutdown = rtl8168_shutdown,
#endif
mogrify -quality 60 *.jpg
netstat -napt | grep :80\ | awk '{print $5}' | cut -d: -f1 | sort -u
netstat -napt | grep :80\ | awk '{print $5}' | cut -d: -f1 | sort -u | wc -l
upower -i /org/freedesktop/UPower/devices/battery_BAT0che da' un output del genere:
native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/PNP0C0A:00/power_supply/BAT0 vendor: ASUSTEK model: F82--22 power supply: yes updated: Tue Oct 15 15:34:35 2013 (3224 seconds ago)
has history: yes
has statistics: yes
battery present: yes
rechargeable: yes
state: fully-charged
energy: 16.841 Wh
energy-empty: 0 Wh
energy-full: 16.841 Wh
energy-full-design: 46.2 Wh
energy-rate: 2.079 W
voltage: 12.461 V
percentage: 100%
capacity: 36.4524%
technology: lithium-ion