lunedì 23 luglio 2007

Come attivare le regole fuori sede all'esterno della rete

http://support.microsoft.com/default.aspx?scid=kb;en-us;262352&Product=exch2k

How to enable Out-of-Office replies to the Internet in Exchange 2000/2003 Server

Article ID : 262352
Last Review : February 26, 2007
Revision : 2.2
This article was previously published under Q262352

SUMMARY

By default in Microsoft Exchange Server 2000, Out-of-Office replies to the Internet is disabled. Many administrators do not allow Out-of-Office auto-replies to be sent outside of the Exchange organization to prevent unauthorized people from learning when users are out of the office.

MORE INFORMATION

To enable Out-of-Office replies to the Internet:
1. Start Exchange System Manager.
2. Double-click Global Settings, and then click Internet Message Formats.
3. In the Details pane, right-click a domain name, and then click Properties. The default SMTP domain is "*".
4. In the Properties box, click the Advanced tab, and then click to select the Out of office responses check box. This enables Out-of-Office responses to the Internet for the selected domain.



--  -- principio di Napoleone:  non attribuire a malintenzione cio' che puo'  essere semplicemente spiegato come imbecillita' -- MaoX Blog: http://maox.blogspot.com

venerdì 20 luglio 2007

fedora 7 on VMWare

Fedora 7 Guest Disk Support Flakey in Server 1.3/Workstation 5.5


The error
Jun 2 09:28:31 f7 kernel: ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
Jun 2 09:28:31 f7 kernel: ata2.00: (BMDMA stat 0x26)
Jun 2 09:28:31 f7 kernel: ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x4a data 8 in
Jun 2 09:28:31 f7 kernel: res 51/50:03:00:00:00/00:00:00:00:00/a0 Emask 0x20 (host bus error)
Jun 2 09:28:31 f7 kernel: ata2.00: configured for UDMA/33
Jun 2 09:28:31 f7 kernel: ata2: EH complete

Solution

chkconfig --level 345 haldaemon off
/etc/init.d/haldaemon stop

lunedì 16 luglio 2007

Problema con Internet explorer 7 e il login - ie7 login problem

The problem - Il problema :

I go to a login area on a webpage and enter my username and password.
click login
and the page just refreshes and does not go to the page it should display.

In pratica provo a fare il login ma mi ricompare la pagina di login senza nessun messaggio di errore
e senza accedere al sito richiesto.

Solution - Soluzione:

Innanzi tutto il problema dovrebbe verificarsi solo se non seguite le istruzioni di installazione alla lettera
ed in particolare il seguente avviso:
http://winware.org/ie7/1.gif

In pratica durante l'installazione occorre disabilitare (meglio disinstallare l'antivirus)

Comunque questa dovrebbe essere la soluzione definitiva:

Success.
It was as you suspected - a conflict with security software.
I can now log in to this site using IE7.
The conclusion I have come to is that Windows Update was set to automatic, thus the upgrade to IE7 was installed automatically
while McAfee Internet Security was running and this must have caused a conflict.
 
It was not sufficient simply to disable McAfee but to uninstall it,
although I have not been able to install it completely.

The Privacy service won't install but I think Windows Defender will substitute for this.

While it is not a problem with IE7 specifically, there is a problem with the installation instructions.

During IE7 download and installation there needs to be an alert requiring uninstallation of security software
and disconnection from the network before installation in order to maintain protection throughout the upgrade process.

Hope this helps other users and thanks very much for your help.

[this help was fount on a news group and was published by David - Thank you]

In pratica occorre disinstallare l'antivirus e provare a usare ie7.
Se ancora non funziona riavviare il pc.
Se non funziona ancora disintallare ie7 e re-installarlo seguendo le istruzioni di Microsoft.
Dopo aver re-installato tutto dovrebbe funzionare correttamente.

Saluti
MaoX

sabato 7 luglio 2007

Windows vista spia gli utenti??? - sarà vero?!?

è possibile :-)

http://www.webmasterpoint.org/news/Windows-Vista-funzioni-identificare-dati-degli-utenti_p29368.html

--
principio di Napoleone: non attribuire a malintenzione cio' che puo' essere semplicemente spiegato come imbecillita'
MaoX Blog:
Problemi e soluzioni di un sistemista informatico:
http://maox.blogspot.com

giovedì 5 luglio 2007

Uninstall lilo or grub - Disintallare lilo o grub

Ci sono 2 metodi possibili:

1.) Da Windows/Dos boot disk:

fdisk /mbr
fixboot
fixmbr

dipende dalla versione del disco di boot (w98 w2000 wxp)

2.) La linux boot disk

dd if=/dev/null of=/dev/sdX bs=446 count=1

oppure

ATTENZIONE: il seguente comando elimina ANCHE la TABELLA DELLE PARTIZIONI!!!
dd if=/dev/null of=/dev/sdX bs=512 count=1


Slackware 12 - A security policy in place prevents this sender...

Errore:
A security policy in place prevents this sender from sending this
message to this recipient, see message bus configuration file (rejected
message had interface "org.freedesktop.Hal.Device.Volume" member "Mount"
error name "(unset)" destination "org.freedesktop.Hal")

Soluzione:
aggiungi l'utente nel gruppo plugdev
riavvia il computer

L'applicazione UTILE - VMware converter

http://www.vmware.com/products/converter/faqs.html

Compilare e installare mplayer dai sorgenti

./configure --enable-gui --language=it,en
--with-codecsdir=/usr/lib/codecs --with-win32libdir=/usr/lib/codecs
--with-xanimlibdir=/usr/lib/codecs --with-reallibdir=/usr/lib/codecs
make
make install

mercoledì 4 luglio 2007

slackware 12 - problema con hdparm

Quando ho lanciato gxine per la prima volta mi ha detto che avevo il DMA del dvd disabilitato.
Provo quindi a dare
hdparm -d1 /dev/dvd

ma ottengo i seguenti errori:
HDIO_SET_DMA failed: Operation not permitted
HDIO_SET_DMA failed: Inappropriate ioctl for device

La soluzione è mettere una delle seguenti righe nel grub.conf o nel lilo.conf:
combined_mode=libata
append = "libata.atapi_enabled=1 ide0=noprobe"
append = "libata.atapi_enabled=1 combined_mode=libata pci=routeirq ide0=noprobe ide1=noprobe"

martedì 3 luglio 2007

Slackware 12 su Asus Z99j o Aj8n - Gestione ACPI e tasti funzione

Apena installata, la mia distro preferita (ovviamente Slackware 12) ACPI aveva qualche problama.
Sulla barra non compariva l'icona del controllo delle batterie e i tasti funzione non funzionavano :-)
Ecco come ho risolto:

In fondo al file /etc/rc.d/rc.modules ho aggiunto le seguenti righe:
#######################################################
## ACPI MAOX X ASUS
/sbin/modprobe asus_acpi
/sbin/modprobe video
/sbin/modprobe battery
/sbin/modprobe container
/sbin/modprobe button
/sbin/modprobe ac
/sbin/modprobe thermal
/sbin/modprobe processor
/sbin/modprobe fan

/sbin/depmod -ae
###########################################################à
In queso modo è comparsa l'icona delle batterie e posso gestire il risparmio energetico.

Per i tasti funzione:
in /etc/acpi ho modificato il file acpi_handler.sh come segue:

###########################################################
root@trinity2:/etc/acpi# cat acpi_handler.sh
#!/bin/sh
# Default acpi script that takes an entry for all actions

IFS=${IFS}/
set $@

case "$1" in
button)
case "$2" in
power) /sbin/init 0
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;
hotkey)
case "$2" in
ATKD)
case "$3" in
0000005e)
logger "WIFI in Accenione..."
/etc/acpi/wifi_on.sh
logger "WIFI Acceso!"
echo "WIFI Acceso!" | wall
;;
0000005f)
logger "WIFI in Spegnimento..."
/etc/acpi/wifi_off.sh
logger "WIFI Spento!"
echo "WIFI Spento!" | wall
;;
00000032)
logger "MUTE / UNMUTE AUDIO..."
MUTE=`amixer get PCM | grep Left | grep -v Right | cut -d " " -f 9`
if [ $MUTE == [on] ]; then
/usr/bin/amixer set PCM mute
else
/usr/bin/amixer set PCM unmute
fi
;;
00000031)
logger "Abbasso il volume..."
amixer set PCM 2-
;;
00000030)
logger "Alzo il volume..."
amixer set PCM 2+
;;
*)
logger "AA $3 AA $4"
logger "BB $3 BB $4"
;;
esac
;;
*) logger "ACPI action $2 is not defined"
;;
esac
;;
*)
logger "ACPI group $1 / action $2 is not defined $3 AAA $4 BBBB $5 CCCC"
;;
esac
###############################################################

Con questo file riesco a controllare il volume e l'attivazione della wireless dai tasti funzione su linux.
Premendo Fn+F10 attivo o disattivo l'audio
Premendo Fn+F11 abbasso l'audio
Premendo Fn+F12 alzo l'audio

e, sempre in /etc/acpi/ ho aggiunto i seguenti file:
#################WIFI_ON############################################
root@trinity2:/etc/acpi# cat wifi_on.sh
#!/bin/bash
/sbin/ifconfig eth0 down
/sbin/modprobe ipw3945
/sbin/depmod -ae
/sbin/ipw3945d --quiet
sleep 5
/sbin/dhcpcd -d -t 15 eth1
#################################################################

#######################WIFI_OFF###############################
root@trinity2:/etc/acpi# cat wifi_off.sh
#!/bin/bash
/sbin/ifconfig eth1 down

/sbin/ipw3945d --kill
/sbin/ipw3945d --kill
killall ipw3945d

/sbin/rmmod ipw3945
/sbin/depmod -ae

/etc/rc.d/rc.inet1 restart
###############################################################

poi un bel
chmod ugo+x /etc/acpi/wifi_*

In questo modo posso attivare e disabilitare la wireless tramite la combinazione di tasti
Fn+F2

Installare Slakware 12 su un portatile asus Z99J

Installing Slackware 12 on Linux on Asus Z99J Series and Asus A8JN

Last updated: 03/07/2007 - Work In Progress

General Hardware Specifications of Lifebook S 7110:
Hardware Components
Status under Linux
Notes
Intel Core 2 Duo T5200 Works No special procedure required during installation.
14.1 XGA TFT Display Works Select Generic LCD Display in Installer
Nvidia GEForce 7300
Works Follow this article
1 GB RAM Works No special procedure required during installation
120 GB SATA Hard Drive Works No special procedure required during installation
Internal Intel Wireless Networking (Wi-Fi Certified) Works

With ipw3945 driver: Follow this article

Integrated Network Card Works You need kernel >= 2.6.19
Special procedure required during installation.
Read below for more details
Internal 56k Modem Not Tested In progress
CD-RW DVD-RW Drive Works No special procedure required during installation
IrDA Not Tested In progress
Intel High Definition Audio Controller Works

You need Kernel 2.6.x.

Special procedure required during installation.
Read below for more details

USB Works No special procedure required during installation
ACPI e tasti funzione
Works Special procedure required during installation.
Follow this article
PCMCIA/PCCARD Not tested In Progress
FireWire/IEEE1394 Work
No special procedure required during installation
Card Reader
Works Special procedure required during installation.
Read below for more details
Battery Works No special procedure required during installation
Webcam Works Special procedure required during installation.
Read below for more details

This laptop is operating under Kernel version 2.6.21

installazione di Fedora 7:

Operazioni post-installazione

Utili repository per Fedora core 7

Sound System - Audio

After installation i cannot hear audio.
The default conf do not work.
I have changed my modprobe.conf
(see below) and everything work correctly.

[root@trinity2 ~]# cat /etc/modprobe.conf
alias eth0 r8169
alias scsi_hostadapter ata_piix
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=3stack
options snd-card-0 index=0


Webcam

On my Asus Z99Jseries (like a A8JN)
to make webcam work you have to install this software:
http://mxhaard.free.fr/spca50x/Download/gspcav1-20070508.tar.gz
This is the home page:
http://mxhaard.free.fr/download.html
You have to follow this steps:

wget http://mxhaard.free.fr/spca50x/Download/gspcav1-20070508.tar.gz
tar -zxvf gspcav1-20070508.tar.gz
cd gspcav1-20070508

make
make install
modprobe gspca

Now it work perfectly.
You can try it with vlc

If your image should be strange and with bad color change your
/etc/modprobe.conf :

add this line

options gspca force_rgb=1

else, if your image is too dark, try this line:

options gspca force_rgb=0 gamma=4

when you have a change reload the module before retry

modprobe -r gspca
modprobe gspca


You can change on the fly the gspca parameter here


cd /sys/module/gspca/parameters
autoexpo

compress

debug

force_rgb

gamma

GBlue

GGreen

GRed

lightfreq

OffBlue

OffGreen

OffRed

usbgrabber


to read them you can usa a cat

to change them use this:

echo "value" > parameter
this is a little description:

autoexpo:Enable/Disable auto exposure (default=1: enabled) (PC-CAM 600/Zc03xx/spca561a/Etoms Only !!!) (int)
debug:Debug level: 0=none, 1=init/detection, 2=warning, 3=config/control, 4=function call, 5=max (int)
force_rgb:Read RGB instead of BGR (int)
gamma:gamma setting range 0 to 7 3-> gamma=1 (int)
OffRed:OffRed setting range -128 to 128 (int)
OffBlue:OffBlue setting range -128 to 128 (int)
OffGreen:OffGreen setting range -128 to 128 (int)
GRed:Gain Red setting range 0 to 512 /256 (int)
GBlue:Gain Blue setting range 0 to 512 /256 (int)
GGreen:Gain Green setting range 0 to 512 /256 (int)
compress:Turn on/off compression (not functional yet) (int)
usbgrabber:Is a usb grabber 0x0733:0x0430 ? (default 1) (int)
lightfreq:Light frequency banding filter. Set to 50 or 60 Hz, or zero to NoFliker (default=50) (int)


Card Reader

Every info from:
http://gentoo-wiki.com/HOWTO_SD_and_MMC_card_readers


Lan

Driver only included in newer Kernels (RTL8168b/8111b), Module name "r8169" or alternatively the proprietary Realtek-driver "r1000".
I recommend to use the build in kernel driver, because it's making less trouble during an upgrade and it's working as it should.


TouchPad

Synaptics Touchpad, works with the dafualt configuration obtained after installation (including scrollbars)


ACPI

modprobe asus-laptop
load the correct module, but i had good experience with slackware and
http://sourceforge.net/projects/acpi4asus


Installare il supporto per mp3 mplayer e dvd player


Installare Flash Palyer su Fedora Core 7

Installare True Type Font su Fedora Core 7

Installare RealPlayer su Fedora Core 7

Installare Adobe Reader su Fedora Core 7

Multimedia-Codecs su Fedora Core 7

Fedora 7 java runtime engine jre e java development kit jdk e firefox plugin

Beryl su KDE su Fedora Core 7

  • lspci

[root@trinity2 ~]# lspci

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)

00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)

00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)

00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)

00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)

00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)

00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)

01:00.0 VGA compatible controller: nVidia Corporation G72M [Quadro NVS 110M/GeForce Go 7300] (rev a1)

02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)

06:00.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller

06:00.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)

06:00.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)

06:00.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)

06:00.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)

[root@trinity2 ~]#



  • lsusb

[root@trinity2 ~]# lsusb

Bus 003 Device 001: ID 0000:0000

Bus 002 Device 001: ID 0000:0000

Bus 001 Device 002: ID 093a:2500 Pixart Imaging, Inc.

Bus 001 Device 001: ID 0000:0000

Bus 005 Device 001: ID 0000:0000

Bus 005 Device 002: ID 0ac8:0321 Z-Star Microelectronics Corp.

Bus 004 Device 001: ID 0000:0000

[root@trinity2 ~]#



Contact Information:
  • e-mail address: mao17[at]katamail[dot]com

Postfix e mailscanner - alcune guide di riferimento

Quelle che seguono sono utili guide di riferimento

http://www.howtoforge.com/virtual_users_postfix_courier_mailscanner_clamav_centos
http://www.howtoforge.com/postfix_antispam_mailscanner_clamav_ubuntu
http://www.howtoforge.com/fedora_virtual_postfix_mysql_quota_courier
http://www.howtoforge.com/linux_spam_filter_mail_gateway

Il server perfetto su Fedora Core 7

The Perfect Server - Fedora 7

Un'ottima guida su come installare e configurare i seguenti servizi su Fedora Core 7
  • Web Server: Apache 2.2.4
  • PHP 5.2.2
  • Database Server: MySQL 5.0.37
  • Mail Server: Postfix
  • DNS Server: BIND9 (chrooted)
  • FTP Server: proftpd
  • POP3/IMAP server: Dovecot
  • Webalizer for web site statistics



http://www.howtoforge.com/perfect_server_fedora7

Convertire un sistema windows in una macchina virtuale vmware

Convert Physical Windows Systems Into Virtual Machines To Be Run On A Linux Desktop


Un'ottima guida su come poter convertire un sistema microsoft windows in una macchina virtuale vmware

http://www.howtoforge.com/vmware_converter_windows_linux

Come installare VMWare server su Fedora Core 7

Una meravigliosa guida che spiega come installare vmware server su fedora 7.

http://www.howtoforge.com/vmware_server_fedora7

ecco il cuore della guida:

make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

This happens because VMware Server isn't ready for a 2.6.21 kernel yet (the default kernel in Fedora 7 is 2.6.21.3). Therefore, we must patch VMware Server a little bit. This can be done as follows:

wget http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update110.tar.gz
tar xvfz vmware-any-any-update110.tar.gz
cd vmware-any-any-update110
./runme.pl

The ./runme.pl command will continue the VMware Server installation. This time it should succeed, and again you can accept all default values. When it asks you

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]

you can either accept the default value or specify a location that has enough free space to store your virtual machines.

At the end of the installation, you will be asked to enter a serial number:

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:

Fill in your serial number for VMware Server.

After the successful installation, you can delete the VMware Server download file and the installation directory:

cd /home/falko/Desktop
rm -fr vmware-server-distrib
rm -f VMware-server-*.tar.gz

You will now find VMware Server under Applications > Other
ATTENZIONE:
Può essere causa di errore l'assenza di xinetd, quindi prima di iniziare l'installazione assicurarsi di avere xinetd:
yum install xinetd

ATTENZIONE 2:
Una altra possibile causa di problemi è la presenza del file
/etc/vmware/not_configured
occorre eliminarlo:
rm /etc/vmware/not_configured

[mencoder] - Ottima guida italiana

Ecco il link a una ottima guida italiana a mencoder.
http://russo.le.it/linux/guida_mencoder_italiano.pdf
Della quale riporto alcuni passaggi base:

mencoder movie.wmv -o movie.avi -ovc lavc -oac mp3lame

Spiegherò ogni opzione che sto scrivendo:
● movie.wmv il nome del file video originale che vuoi reencodare.
Può essere uno dei formati che mplayer può
riprodurre (real, windows media, mpeg, avi, divx, xvid, theora, etc).
● -o
<nomefile> il nome con cui salvare il file encodato. Se non fornisci un argomento, mencoder lo salverà come
“test.avi”.
● -ovc
<codec video> OVC sta per 'output video codec'. Questa è la libreria che vuoi usare per encodare il video.
● -oac
<codec audio> OAC sta per 'output audio codec'. Questa è la libreria con cui vuoi encodare la parte audio.
Che ci creda o no – questo è tutto quello che hai bisogno di sapere sul reencoding
di un file.
Il mio esempio convertirà il file in video divx (usando lavc) e l'audio mp3 (usando lame).
Se vuoi vedere come un altro file è stato encodato, basta usare “file movie.avi”.
Vecchio file:
$ file movie.wmv
movie.wmv: Microsoft ASF
Nuovo file:
$ file movie.avi
movie.avi: RIFF (little-endian) data, AVI, 320 x 240, ~30 fps, video: DivX 4,
audio: MPEG-1 Layer 3 (stereo, 32000 Hz)

lavc
lavc o libavcodec è parte del progetto della libreria ffmpeg.
Usando lavc come tuo codec video ti darà molte opzioni, inclusi molti formati in cui puoi encodare. Il formato di
default quando si usa -ovc lavc sarà mpeg4.
Qui c'è un esempio che encoderà il tuo video in mpeg4 con lavc, e il tuo audio in mp3 con lame:

mencoder <filename.avi> -ovc lavc -oac mp3lame -o <output.avi>

Se non vuoi modificare le tue impostazioni video, allora puoi usare questo esempio e andrà bene, con il seguente
avvertimento: potresti aver bisogno di includere -ffourcc DX50 nella linea di comando per il video per riprodurlo con
alcuni (molti?) media players (esempio: tutti i media players che ho testato sotto Windows). Il motivo è che, sebbene, il
video prodotto è un MPEG4, il suo header usa il codice FMP4 che non è ampiamente riconosciuto.
Un header DX50 dichiara che il video è DivX 5 (perciò MPEG4) compatibile e di conseguenza dovrebbe essere
riprodotto su tutti i media player che possono leggere il video MPEG4.


DivX ;)
Dal manuale di mencoder: “DivX4 è obsoleto e supportato solo per completezza. Per dettagli sulle opzioni di Divx4,
leggi il manuale, molte opzioni non sono descritte qui.”
questo esempio encoderà filename.avi in DivX 5 (non quattro, non è un errore) con l'audio encodato attraverso lame.

mencoder <filename.avi> -ovc divx4 -oac mp3lame -o <output.avi>

Nota: se stai cercando di creare un film DivX-compatibile, usa xvid o lavc.


XviD
XviD può creare alcuni video mpeg4 con una qualità molto alta.
Dalle User FAQ di XviD, “ DivX è un software proprietario, con un confuso ciclo di sviluppo che segue solo una logica
commerciale. Xvid è un Software Free (licenziato sotto GNU GPL), aperto ai contributi di terze parti e indirizzato
all'adesione degli standard, portabilità e interoperabilità, alta velocità di processazione e una qualità superiore.”
Qui c'è ancora il nostro esempio classico, encoda la parte video in mpeg4 usando l'xvid, e l'audio in mp3 usando lame:

mencoder <filename.avi> -ovc xvid -oac mp3lame -o <output.avi>


Ripping di stream
Così come mplayer può riprodurre flussi audio/video, altrettanto bene mencoder può rippare questi flussi.
Vedere anche: HOWTO_Rip_Streams_With_MPlayer

mplayer -playlist <http url of stream.asx> -dumpfile <output.asx>
mencoder <rtsp url of trailer.rm> -ovc lavc -oac mp3lame -o <output.avi>
mplayer <some site>/movie.rm -dumpstream -dumpfile movie.avi

Fronted per mencoder
Vedere la pagina dei progetti associati per una lista più ampia. I seguenti sono già in portage:
● AcidRip Un frontend gtkperl
di mplayer/mencoder per rippare DVDs
● Freevo jukebox per video digitali (PVR, DVR)
● Konverter Un frontend KDE di mencoder per la conversione videocamera
● OGM Rip Applicazioni e librerie per encodare DVDs in files AVI/OGM
Non sono in portage:
● encode2mpeg è un front end per Mplayer/MEncoder e mjpegtools. È capace di convertire ogni
tipo di video che mplayer può riprodurre in un formato adatto a VCD/SVCD/DVD, in più può
creare file avi DivX.
● tovid è molto simile a encode2mpeg. E' scritto in bash e include un installer. Può creare files che
rispettano il DVD usando i files XML dvdauthors e può perfino masterizzare i dischi se
impostato correttamente.
● Kmenc15 è un avanzato frontend Qt/KDE per Mencoder, di solito destinato a essere un
rimpiazzo di VirtualDub per Linux. È molto comodo per modificare e convertire grandi files AVI
ad alta qualità selezionati dalla TV. Permette di tagliare e unire (i files) in precisi frames,
applicando ogni filtro di Mplayer/MEncoder, con un'anteprima.
● DivX

Centinaia di portali italiani compromessi...

Per maggiori informazioni visita il seguente sito
http://blog.trendmicro.com/another-malware-pulls-an-italian-job/

--
principio di Napoleone: non attribuire a malintenzione cio' che puo' essere semplicemente spiegato come imbecillita'
MaoX Blog:
Problemi e soluzioni di un sistemista informatico:
http://maox.blogspot.com

lunedì 2 luglio 2007

Finalmente la buona vecchia Slackware...

Slackware 12.0 is released! That's right, the first 2.6(.21.5) based Slackware release is ready for download! We think you'll enjoy the latest kernel, KDE 3.5.7, XFce 4.4.1, HAL automounting for desktop users, an updated toolchain, and many other enhancements. The official announcement has more details. Also, consider supporting the project at http://store.slackware.com. Thanks to everyone who contributed improvements and fixes this time -- a lot of help made this a relatively smooth release.

Thanks, and enjoy!

Pat and the Slackware team

--  principio di Napoleone: non attribuire a malintenzione cio' che puo' essere semplicemente spiegato come imbecillita' MaoX Blog: Problemi e soluzioni di un sistemista informatico: http://maox.blogspot.com

NVIDIA GEForce 7300 on Fedora Core 7

Graphic Board
As you can see here:
Fedora 7 nvidia driver e direct rendering problem
I've tried to install nvidia driver for my nvidia GE FORCE 7300
but with yum and rpm packege i cannot enable direct rendering.

glxinfo | grep rend

direct rendering: No

So i have installed manually:

Download
http://us.download.nvidia.com/XFree86/Linux-x86/100.14.09/NVIDIA-Linux-x86-100.14.09-pkg1.run

then write from konsole

telinit 3
yum remove kmod-nvidia.i686
yum install kernel-devel gcc
chmod ugo+x NVIDIA-Linux-x86-100.14.09-pkg1.run
./NVIDIA-Linux-x86-100.14.09-pkg1.run


follow necessary steps
then

telinit 5

so....

glxinfo | grep rend
direct rendering: Yes
OpenGL renderer string: GeForce Go 7300/PCI/SSE2

This is my xorg.conf :

[root@trinity2 ~]# cat /etc/X11/xorg.conf

# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Module"
Load "ddc"
Load "dri"
Load "fbdevhw"
Load "record"
Load "GLCore"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
Load "glx"
Load "dbe"
Load "extmod"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection

Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 7300"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "NoRenderExtension" "False"
Option "DamageEvents" "True"
SubSection "Display"
Depth 24
EndSubSection

Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
Option "TripleBuffer" "true"
EndSection

Section "Extensions"
Option "RENDER" "true"
Option "DAMAGE" "true"
Option "Composite" "Enable"
EndSection

Fedora 7 - Yum repository

Questi riportati di seguito sono alcuni utili repository di fedora 7.
Consiglio di non usarli tutti insieme, altrimenti si rischia una gran confusione di dipendenze che potrebbe compromettere alcune applicazioni.

############################################################
aiglx.repo
[aiglx]
name=AIGLX - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/projects/aiglx/$basearch
enabled=0
gpgcheck=0

############################################################
[aiglx-debuginfo]
name=AIGLX - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/projects/aiglx/$basearch-debug
enabled=0
gpgcheck=0
atrpms.repo

############################################################
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://wftp.tu-chemnitz.de/pub/linux/ATrpms/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1


############################################################
fedora-development.repo
# These packages are untested and still under development. This
# repository is used for updates to test releases, and for
# development of new releases.
#
# This repository can see significant daily turnover and major
# functionality changes which cause unexpected problems with other
# development packages. Please use these packages if you want to work
# with the Fedora developers by testing these new development packages.
#
# fedora-test-list@redhat.com is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with new test releases.
#
# More information is available at http://fedoraproject.org/wiki/Testing
#
# Reproducible and reportable issues should be filed at
# http://bugzilla.redhat.com/.
#

############################################################
# Product: Fedora
# Version: devel
[development]
name=Fedora - Development
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
enabled=0
gpgcheck=0

############################################################
[development-debuginfo]
name=Fedora - Development - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=$basearch
enabled=0
gpgcheck=0

############################################################
[development-source]
name=Fedora - Development - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
enabled=0
gpgcheck=0

############################################################
fedora.repo
[fedora]
name=Fedora $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

############################################################
[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

############################################################
[fedora-source]
name=Fedora $releasever - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY

############################################################
fedora-updates.repo
[updates]
name=Fedora $releasever - $basearch - Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

############################################################
[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

############################################################
[updates-source]
name=Fedora $releasever - Updates Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora

############################################################
fedora-updates-testing.repo
[updates-testing]
name=Fedora $releasever - $basearch - Test Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test

############################################################
[updates-testing-debuginfo]
name=Fedora $releasever - $basearch - Test Updates Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test

############################################################
[updates-testing-source]
name=Fedora $releasever - Test Updates Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test

############################################################
freshrpms.repo
# $Id: freshrpms.repo 3341 2005-06-28 18:40:26Z thias $
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1

############################################################
livna-devel.repo
[livna-development]
name=Livna for Fedora Core $releasever - $basearch - Development Tree
baseurl=
http://rpm.livna.org/fedora/development/$basearch/
http://livna.cat.pdx.edu/fedora/development/$basearch/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/development/$basearch/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/development/$basearch/
http://mirror.atrpms.net/livna/fedora/development/$basearch/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/development/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-development
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

############################################################
[livna-development-debuginfo]
name=Livna for Fedora Core $releasever - $basearch - Development Tree - Debug
baseurl=
http://rpm.livna.org/fedora/development/$basearch/debug/
http://livna.cat.pdx.edu/fedora/development/$basearch/debug/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/development/$basearch/debug/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/development/$basearch/debug/
http://mirror.atrpms.net/livna/fedora/development/$basearch/debug/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/development/$basearch/debug/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1

############################################################
[livna-development-source]
name=Livna for Fedora Core $releasever - $basearch - Development Tree - Source
baseurl=
http://rpm.livna.org/fedora/development/SRPMS/
http://livna.cat.pdx.edu/fedora/development/SRPMS/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/development/SRPMS/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/development/SRPMS/
http://mirror.atrpms.net/livna/fedora/development/SRPMS/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/development/SRPMS/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1

############################################################
livna.repo
[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
baseurl=
http://rpm.livna.org/fedora/$releasever/$basearch/
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-7
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

############################################################
[livna-debuginfo]
name=Livna for Fedora Core $releasever - $basearch - Debug
baseurl=
http://rpm.livna.org/fedora/$releasever/$basearch/debug/
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/debug/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/debug/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/debug/
http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/debug/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/debug/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1

############################################################
[livna-source]
name=Livna for Fedora Core $releasever - $basearch - Source
baseurl=
http://rpm.livna.org/fedora/$releasever/SRPMS/
http://livna.cat.pdx.edu/fedora/$releasever/SRPMS/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/SRPMS/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/SRPMS/
http://mirror.atrpms.net/livna/fedora/$releasever/SRPMS/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/SRPMS/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1

############################################################
livna-testing.repo
[livna-testing]
name=Livna for Fedora Core $releasever - $basearch - Testing
baseurl=
http://rpm.livna.org/fedora/testing/$releasever/$basearch/
http://livna.cat.pdx.edu/fedora/testing/$releasever/$basearch/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/testing/$releasever/$basearch/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/testing/$releasever/$basearch/
http://mirror.atrpms.net/livna/fedora/testing/$releasever/$basearch/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/testing/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-testing-6
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna

############################################################
[livna-testing-debug]
name=Livna for Fedora Core $releasever - $basearch - Testing - Debug
baseurl=
http://rpm.livna.org/fedora/testing/$releasever/$basearch/debug/
http://livna.cat.pdx.edu/fedora/testing/$releasever/$basearch/debug/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/testing/$releasever/$basearch/debug/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/testing/$releasever/$basearch/debug/
http://mirror.atrpms.net/livna/fedora/testing/$releasever/$basearch/debug/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/testing/$releasever/$basearch/debug/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1

############################################################
[livna-testing-source]
name=Livna for Fedora Core $releasever - $basearch - Testing - Source
baseurl=
http://rpm.livna.org/fedora/testing/$releasever/SRPMS/
http://livna.cat.pdx.edu/fedora/testing/$releasever/SRPMS/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/testing/$releasever/SRPMS/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/testing/$releasever/SRPMS/
http://mirror.atrpms.net/livna/fedora/testing/$releasever/SRPMS/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/testing/$releasever/SRPMS/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1

############################################################
macromedia.repo
[macromedia]
name=Macromedia for i386 Linux
baseurl=http://macromedia.rediris.es/rpm/
#baseurl=http://macromedia.mplug.org/rpm/
#baseurl=http://sluglug.ucsc.edu/macromedia/rpm/
enabled=1
gpgcheck=1
gpgkey=http://macromedia.rediris.es/FEDORA-GPG-KEY

############################################################
mao.repo
[xcyborg]
name=xcyborg]
baseurl=http://rpms.xcyb.org/fedora/4/stable
enabled=0
gpgkey=http://xcyb.org/xcyborg.asc
gpgcheck=1

############################################################
newrpms.repo
[newrpms.sunsite.dk]
name=Fedora Core 7 i386 NewRPMS.sunsite.dk
baseurl=http://newrpms.sunsite.dk/apt/redhat/en/$basearch/fc$releasever
#http://newrpms.atrpms.net/apt/redhat/en/$basearch/fc$releasever
failovermethod=priority
enabled=0
gpgcheck=1

############################################################

[sendmail] - modificare mailertable per impostare il mailgateway di un dominio

root@proxy2:~# cat /etc/mail/mailertable
dns.pippo.it procmail:
pippo.it esmtp:[172.21.1.15]
pippo2.it esmtp:[172.21.1.15]
katamail.com esmtp:[relay.katamail.com]

makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable

--
principio di Napoleone: non attribuire a malintenzione cio' che puo' essere semplicemente spiegato come imbecillita'
MaoX Blog:
Problemi e soluzioni di un sistemista informatico:
http://maox.blogspot.com