Codec Multimediali su Fedora Core 7

Per installare i codec apriamo la shell, diventiamo root e diamo questi comandi singolarmente:

wget ftp://mplayerhq.hu/MPlayer/releases/codecs/all-20061022.tar.bz2tar xjf all-20061022.tar.bz2
mkdir /usr/lib/win32
mv all-20061022/* /usr/lib/win32
rm -fr all-20061022

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

Installo i pacchetti necessari:
yum install compat-libstdc++-296.i386 compat-libstdc++-33.i386
Installiamo la jre e la jdk
Andiamo su
http://java.sun.com/javase/downloads/index.jsp
e scarichiamo la jdk (ultima versione formato rpm)

chmod ugo+x jdk-6u1-linux-i586-rpm.bin
./jdk-6u1-linux-i586-rpm.bin
rispondere yes per accettare la licenza

[root@trinity2 ~]# ls /usr/bin/java -la
lrwxrwxrwx 1 root root 22 12 giu 20:56 /usr/bin/java ->
/etc/alternatives/java
[root@trinity2 ~]# ls -la /etc/alternatives/java
lrwxrwxrwx 1 root root 35 12 giu 20:56 /etc/alternatives/java ->
/usr/lib/jvm/jre-1.5.0-gcj/bin/java
[root@trinity2 ~]# rm /etc/alternatives/java
rm: rimuovere link simbolico `/etc/alternatives/java’? y
[root@trinity2 ~]# ln -s /usr/java/jdk1.6.0_01/bin/java
/etc/alternatives/java

[root@trinity2 ~]# java -version
java version “1.6.0_01”
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

adesso abilitiamo il plugin per firefox
[root@trinity2 ~]# ln -s
/usr/java/jdk1.6.0_01/jre/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/firefox-2.0.0.4/plugins/

Installare Macromedia Flash Player su Fedora Core 7

da root

nano /etc/yum.repos.d/macromedia.repo e copincolliamo e salviamo questo

[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

e con questo abbiamo addato il repo Macromedia (serve solo per FlashPlayer).

yum -y install flash-plugin

Error – mount nfs from linux client to windows server

Ho avuto un problema con il mount di una share nfs windows server 2003 r2 da parte di un client linux.
Ottenevo sempre un problema di timeout o un errore di i/o.
Nei log c’era:
portmap: server localhost not responding, timed out

Il problema si risolve avviando il servizio portmap:

su redhat/centos:

/etc/init.d/portmap start

su slackware:

chmod ugo+x /etc/rc.d/rc.rpc
/etc/rc.d/rc.rpc start

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

Suspend to ram – sospensione in ram su Fedora 7

Per abilitare il suspend to ram e il suspend to diskho modificato il /etc/grub.conf come segue:

kernel /boot/vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb vga=791 selinux=0 resume=/dev/sda3 quiet

In questa riga ho:to il suspend to disk e il suspend to ram
abilitato il frame buffer a una risoluzione di 1024x768x32
disabilitato il SELinux

Aircrack-ng su Fedora 7 con driver atheros madwifi-ng(ath_pci)

Aircrack-ng su Fedora 7 con driver atheros madwifi-ng(ath_pci)

Per aircrack occorre patchare i driver madwifi-ng appena installati
Seguire i seguenti passaggi per patchare i driver:

ifconfig ath0 down
ifconfig wifi0 down
rmmod wlan_wep ath_rate_sample ath_rate_onoe ath_pci wlan ath_hal ath_rate_amrr 2>/dev/null
svn checkout http://svn.madwifi.org/trunk/ madwifi-ng
wget http://patches.aircrack-ng.org/madwifi-ng-r2277.patch
cd madwifi-ng
patch -Np1 -i ../madwifi-ng-r2277.patch
make
make install
depmod -ae
modprobe ath_pci
cd ..
wget http://download.aircrack-ng.org/aircrack-ng-0.9.1.tar.gz
tar -zxvf aircrack-ng-0.9.1.tar.gz
cd aircrack-ng-0.9.1
make && make install

funzionaaaa!!!

si rimanda qui per la suite: http://aircrack-ng.org/doku.php#aircrack-ng_suite

Madwifi ng driver for atheros minipci wireless fedora 7

Madwifi ng driver for atheros minipci wireless:

Sacrico i driver con un bel

wget http://ovh.dl.sourceforge.net/sourceforge/madwifi/madwifi-0.9.3.1.tar.bz2

tar -jxvf madwifi-0.9.3.1.tar.bz2

cd madwifi-ng

make && make install && depmod -ae

modprobe ath_pci

adesso dovrebbe funzionare tutto.

un bel

iwconfig

di conferma e tutto è ok.


Se non dovesse funzionare provate a cercare su
/etc/sysconfig/network-script/ifcfg-wifi0
e modificate :
DEVICE=wifi0
con
DEVICE=ath0

Adesso tutto ok.
Bye

Codec Multimediali su Fedora Core 7

Per installare i codec apriamo la shell, diventiamo root e diamo questi comandi singolarmente:

wget ftp://mplayerhq.hu/MPlayer/releases/codecs/all-20061022.tar.bz2

tar xjf all-20061022.tar.bz2
mkdir /usr/lib/win32
mv all-20061022/* /usr/lib/win32
rm -fr all-20061022