11 out

Fedora – Scanner Remoto

# Na máquina servidora configure desta forma

#!/bin/bash
yum install -y sane-backends sane-frontends xsane xinetd chkconfig
 
 
echo "192.168.1.1/24" >> /etc/sane.d/saned.conf
echo "localhost" >> /etc/sane.d/net.conf
 
cat > /etc/xinetd.d/sane <<EOF
service sane-port
{
port = 6566
socket_type = stream
wait = no
user = root
group = root
server = /usr/sbin/saned
}
EOF
 
service xinetd restart
chkconfig xinetd on

Na maquina do cliente coloque o ip da máquina servidora onde estará o scanner

#!/bin/bash
yum install -y sane-backends sane-frontends xsane
echo "192.168.1.XXX" >> /etc/sane.d/net.conf

Referências:

  • http://www.x2b4.com/2008/06/15/howto-share-you-scanner-on-a-network-with-fedora-9/
03 out

Fedora – Java no Firefox/Chrome

Para utilizar o java dentro do firefox execute os seguinte passos:
mkdir /opt/java
cd /opt/java
#baixe no site dentro do diretorio /opt/java
#http://javadl.sun.com/webapps/download/AutoDL?BundleId=40906

chmod +x jre-6u21-linux-i586-rpm.bin
sh jre-6u21-linux-i586-rpm.bin
#instala plugin java
mkdir ~/.mozilla/plugins
cd ~/.mozilla/plugins
ln -s /opt/java/jre1.6.0_21/lib/i386/libnpjp2.so .
#OU
#instala plugin java para todos os usuarios

mkdir /usr/lib/firefox-3.6/plugins/
cd /usr/lib/firefox-3.6/plugins/
ln -s /opt/java/jre1.6.0_21/lib/i386/libnpjp2.so .