Fedora 7 nvidia driver e direct rendering problem

Oggi ho provato a installare i driver nvidia abilitando il direct rendering
non ce l'ho fatta.
Ho provato di tutto, ma l'installazione tramite i pacchetti rpm e yum
non ha dato nessun risultato.
Ogni volta che provavo il comando
glxinfo | grep rend

ottenevo
direct rendering: No

Alla fine, stufo e quasi rassegnato mi sono deciso e ho fatto
l'installazione manuale.
Ecco i passi necessari:

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

poi un bel

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

seguo i passi necessari

quando ha finito ho dato un bel telinit 5

e…. magia…

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

Intel ipw3945 on Fedora 7

Intel ipw3945 on Fedora 7

Taken from the following website link. Copied and pasted hence the layout.

http://forums.fedoraforum.org/showthread.php?p=805589#post805589
http://fedoramobile.org/Members/ops…45-on-fedora-7/

This howto will show you how to blacklist/remove iwl3945 / mac80211 in Fedora 7 and install / use the “known working” ipw3945 kernel module / driver, microcode firmware, regulatory daemon and startup init script. For this you will need to have root privileges and have roots path/environment.

Applicable to Fedora Versions

* Fedora Core 7

Requirements
Explanation of requirements.

1. kernel-devel (kernel development files for building modules against the running kernel)
2. gcc (C++ compiler)
3. ipw3945-1.2.1.tgz (driver / kernel module)
4. ipw3945-ucode-1.14.2.tgz (microcode / firmware)
5. ipw3945d-1.7.22.tgz (regulatory daemon)
6. ipw3945 (startup init script)

Doing the Work

Basic description of what will be done and what is expected. Learn to become root here.

1. Blacklisting the offending modules:

Code:
#nano /etc/modprobe.d/blacklist

add these exact lines at the bottom then save and exit:

Code:
# iwl3945 blacklist iwl3945 blacklist mac80211

2. Reboot the system:

Code:
#] reboot

3. Create a temp directory on your desktop called ‘ipw3945’ and download the following files into it:

Code:
$] mkdir /home/$user/Desktop/ipw3945 (replace $user with your username)

http://prdownloads.sourceforge.net/….1.tgz?download
http://bughost.org/ipw3945/ucode/ip…code-1.14.2.tgz
http://bughost.org/ipw3945/daemon/ipw3945d-1.7.22.tgz
http://fedoraos.org/ipw3945/ipw3945

4. Install kernel development packages and gcc compiler:

Code:
#] yum install kernel-devel gcc

5. Unpack the gzipped tarballs into the directory on your desktop called ‘ipw3945’ that we created earlier:

Code:
$] tar xvfz ipw3945-1.2.1.tgz
$] tar xvfz ipw3945-ucode-1.14.2.tgz
$] tar xvfz ipw3945d-1.7.22.tgz

6. Copy ucode firmware and regulatory daemon to their respective locations:

Code:
cp ipw3945-ucode-1.14.2/ipw3945-ucode /lib/firmware
cp ipw3945d-1.7.22/ipw3945d /sbin

(or choose the version for x86_64 if necessary)

7. Compile and copy the resuling kernel module to the correct location (for more options here see ‘more information’ below):

Code:
$] cd ipw3945-1.2.1 && make
$] su --login
#] cp /home/$user/Desktop/ipw3945/ipw3945-1.2.1/ipw3945.ko /lib/modules/2.6.21-1.3212.fc7/kernel/drivers/net/wireless/
#] chmod 744 /lib/modules/2.6.21-1.3212.fc7/kernel/drivers/net/wireless/ipw3945.ko
#] depmod -ae

8. Install startup init script:

Code:
#] cp /home/$user/Desktop/ipw3945/ipw3945 /etc/init.d
#] chmod +x /etc/init.d/ipw3945
#] chkconfig --add ipw3945 && chkconfig ipw3945 on

9. Reboot the system:

Code:
#] reboot

Troubleshooting
How to test
Explanation troubleshooting basics and expectations.

1. Configure the device:

Code:
#] system-config-network

new –> wireless connection –> Intel Corporation PRO/Wireless 3945ABG Network Connection –> forward

2. Restart the network:

Once you have disabled all other network cards, configured your ip address, gateway, DNS, subnet mask,
SSID, wifi channel, and encryption key:

Code:
# service network restart

Common problems and fixes

Many laptops with built in wireless have a WLAN switch that is a toggle switch for enabling/disabling the wireless radio.

Please make sure you check this is on, or your ipw3945 wireless adapter will not detect correctly or work at all.

Also, disable all other network cards before attempting to use the ipw3945.
More Information

Special Notes:

If you’d like Monitor Mode, Promiscuous Mode or RadioTap enabled for this device you will need to edit the Makefile in

Step 7 before compiling the kernel module uncomment the corresponding line(s):

Code:
CONFIG_IPW3945_MONITOR=y
CONFIG_IEEE80211_RADIOTAP=y
CONFIG_IPW3945_PROMISCUOUS=y

Added Reading

* http://fedoraos.org

 

Fedora e Acrobat Reader – expr: errore di sintassi

Ho installato Acrobat Reader AdobeReader_ita-7.0.8-1.i386.rpm preso dal
sito Adobe.
Quando lo lancio, ottengo questo errore:
||

$ acroread

expr: errore di sintassi
expr: errore di sintassi
expr: errore di sintassi

all'infinito, finché non premo ctrl+c

SOLUZIONE:
A chi mai servisse, ho trovato la soluzione in rete in questo forum:
Link:
<https://fcp.surfsite.org/modules/newbb/viewtopic.php?topic_id=26864&forum=12&post_id=114769>

In pratica, bisogna aprire lo script /usr/bin/acroread e fare le
seguenti sostituzioni:
||

418# echo $mfile| sed
's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
419 echo $mfile| sed
's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

644# MIN_GTK_VERSION="240"
645 MIN_GTK_VERSION="2040"

I numeri all'inizio sono i numeri di riga…
In realtà, a me bastava solo la prima delle due.
C'era un errore di sintassi nella riga di sed.

Usiamo vim di default su fedora

Come fare in modo che vi corrisponda a vim

Iniziamo:
yum -y update

VI=VIM

vi /etc/profile.d/vim.sh

It should look like this:

if [ -n “$BASH_VERSION” -o -n “$KSH_VERSION” -o -n “$ZSH_VERSION” ]; then

[ -x /usr/bin/id ] || return

[ `/usr/bin/id -u` -le 100 ] && return

# for bash and zsh, only if no alias is already set

alias vi >/dev/null 2>&1 || alias vi=vim

fi


Add a # sign in front of lines 2 and 3, so that it looks like this:

if [ -n “$BASH_VERSION” -o -n “$KSH_VERSION” -o -n “$ZSH_VERSION” ]; then

# [ -x /usr/bin/id ] || return

# [ `/usr/bin/id -u` -le 100 ] && return

# for bash and zsh, only if no alias is already set

alias vi >/dev/null 2>&1 || alias vi=vim

fi

Link utili per l’installazione e configurazione di Fedora

Riferimenti:
http://www.freespamfilter.org/FC4.html
http://wiki.dovecot.org/DovecotLDAPostfixAdminMySQL
http://postfix.pentachron.net/
http://wiki.dovecot.org/FrontPage?highlight=%28%28DovecotLDAPostfixAdminMySQL%29%29
http://flakshack.com/anti-spam/wiki/index.php?page=Installing+Needed+Perl+Modules
http://www.hostingsoftware.net/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=56
ftp://ftp.esat.net/mirrors/ftp.porcupine.org/mirrors/postfix-release/index.html
http://www.maiamailguard.com/maia/wiki/Install
http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/

--  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