Re: Arquivo ISO

2013-07-24 Thread Paulo Silva
Para arquivos .nrg podes usar o nrg2iso para converter o aquivo para .iso.

No dia 19 de Julho de 2013 às 13:18, Rodolfo rof20...@gmail.com escreveu:

 Se o comando do ricardo nao funcionar acrescente o tipo de filesystem:

 mount -t iso9660 -*o loop /pastaOrigem/Arquivo.iso /mnt/Destino*


 Em 18 de julho de 2013 17:38, Greyson Farias greysonsi...@gmail.comescreveu:

 Ricardo,

 *# sudo mount -o loop /pastaOrigem/Arquivo.iso /mnt/Destino*

 *Greyson Farias da Silva*
 Técnico em Operação de redes - CREA/AC 9329TD
 Eu prefiro receber documentos em 
 ODFhttp://pt.wikipedia.org/wiki/OpenDocument
 .
 http://about.me/greysonfarias



 2013/7/18 Ricardo Braz rickyb...@gmail.com

 Alguem sabem como faço para montar um arquivo .iso ou .nrg sem precisar
 gravar num DVD?


 --
 To UNSUBSCRIBE, email to debian-user-portuguese-**
 requ...@lists.debian.orgdebian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/**51e85f53.4040...@gmail.comhttp://lists.debian.org/51e85f53.4040...@gmail.com






-- 
Paulo Silva paulo...@gmail.com


Re: Sources.list

2013-05-21 Thread Paulo Silva
Existe um site que ajuda a gerar o sources.list para debian:

http://debgen.simplylinux.ch/


No dia 21 de Maio de 2013 às 18:55, Richard Wagner 
richardwas2...@yahoo.com.br escreveu:

 Por acaso alguém pode me passar uma sources.list? :)

 Grato




-- 
Paulo Silva paulo...@gmail.com


Re: disco cheio

2013-04-04 Thread Paulo Silva
Por acaso ao montar o /dev/sda3  em /root não deixaste ficheiros na
/root original?

Faz também um lsof | grep deleted para verificar que não há
ficheiros apagados que não estão ainda a ser usados.

No dia 4 de Abril de 2013 à31 13:32, Fábio Rabelo
fa...@fabiorabelo.wiki.br escreveu:
 Provavelmente não passa de diferenças no cálculo .

 Lembre-se de que 1KB = 1024 bytes e não 1000 bytes, e os fabricantes usam
 1000 bytes para o cálculo ao invés de 1024 !

 de qualquer maneira, 7 Gb para root é iito pouco !

 O Sr. pode apagar com segurança os logs antigos, por exemplo :

 em  /var/log/

 O Sr. vai encontrar um arquivo chamado syslog, ou syslog.1, e outro syslog.2
 e assim por diante ..

 Todos os .1 ou .2 ou . qualquer número podem ser apagados ...

 Isto deve lhe dar espaço suficiente para que o Sr. decida o que fazer .

 Um apt-get clean   +   apt-get autoclean   tb podem ajudar ...


 Fábio Rabelo



 Em 4 de abril de 2013 09:25, Fred Maranhão fred.maran...@gmail.com
 escreveu:

 Caros,

 estou com uma máquina aqui com o disco cheio. apareceu uma mensagem de
 erro no apt-get update:

 # apt-get update
 ...
 Erro escrevendo para arquivo de saída - write (28: Não há espaço
 disponível no dispositivo)
 ...

 dei um df e realmente o disco está cheio:

 # df
 Sist. Arq.   1K-blocos  Usad Dispon.   Uso% Montado em
 /dev/sda5  7723720   7723720 0 100% /
 tmpfs  1037388 0   1037388   0% /lib/init/rw
 udev   1032932   100   1032832   1% /dev
 tmpfs  1037388 0   1037388   0% /dev/shm
 /dev/sda2   473000 26831421747   6% /boot
 /dev/sda3   189403  5945173679   4% /root

 mas pelas contas do du, aparenta não estar cheio. pelo menos não chega nem
 perto dos 7,4G:

 # du -s /* | sort -n
 du: impossível acessar /proc/22876/task/22876/fd/4: Arquivo ou diretório
 não encontrado
 du: impossível acessar /proc/22876/task/22876/fdinfo/4: Arquivo ou
 diretório não encontrado
 du: impossível acessar /proc/22876/fd/4: Arquivo ou diretório não
 encontrado
 du: impossível acessar /proc/22876/fdinfo/4: Arquivo ou diretório não
 encontrado
 0/initrd.img
 0/proc
 0/sys
 0/vmlinuz
 4/mnt
 4/selinux
 4/srv
 12/media
 16/lost+found
 100/dev
 312/root
 3596/sbin
 3988/etc
 4780/bin
 16334/boot
 17352/tmp
 17448/home
 40944/opt
 90960/lib
 195248/var
 1104360/usr

 por que o du não está fazendo as contas certas? o que não está sendo
 mostrado pelo du?






-- 
Paulo Silva paulo...@gmail.com


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAHJdQr=6_mbe85druzde7r3bvwq9o0ncvpyjjbqrj2sxylv...@mail.gmail.com



Re: Iptables e CIFS entre redes

2013-03-29 Thread Paulo Silva
Boa noite,

# Roteamento da rede wifi para a NAS
iptables -t nat -A PREROUTING -s 192.168.20.12 -d 192.168.10.3 -j DNAT
--to-destination 192.168.10.3

Esta linha não faz sentido, estás a pegar em pacotes que vão do
192.168.20.12 para o 192.168.10.3 e a colocar como IP de destino o
192.168.10.3 (ou seja, a não alterar nada). Provavelmente querias
fazer SNAT:

iptables -t nat -A POSTROUTING -s 192.168.20.12 -d 192.168.10.3 -j
SNAT --to-source ip da eth1

No dia 29 de Março de 2013 à18 02:25, Mauricio Neto
mstn...@gmail.com escreveu:
 Amigos da lista, boa noite.
 Por favor peço a ajuda de vocês para o seguinte problema:
 Não estou conseguindo que o host Windows (192.168.20.12) mapeie uma pasta no
 host NAS 192.168.10.3

 Topologia:
 eth1 - placa para a rede interna 192.168.10.0/24
 eth2 - placa para a rede wifi 192.168.20.0/24

 regras do firewall:
 ...
 # Permite pacotes relativos a conexões já estabelecida
 iptables -A FORWARD -d $WIFI_NET -m state --state ESTABLISHED,RELATED -j
 ACCEPT

 # Libera CIFS entre a rede wifi e a NAS
 iptables -A FORWARD -s $WIFI_NET -p udp --dport 137 -d $NAS_IP -j ACCEPT
 iptables -A FORWARD -s $WIFI_NET -p udp --dport 138 -d $NAS_IP -j ACCEPT
 iptables -A FORWARD -s $WIFI_NET -p udp --dport 139 -d $NAS_IP -j ACCEPT

 iptables -A FORWARD -s $WIFI_NET -p tcp --dport 137 -d $NAS_IP -j ACCEPT
 iptables -A FORWARD -s $WIFI_NET -p tcp --dport 138 -d $NAS_IP -j ACCEPT
 iptables -A FORWARD -s $WIFI_NET -p tcp --dport 139 -d $NAS_IP -j ACCEPT
 iptables -A FORWARD -s $WIFI_NET -p tcp --dport 445 -d $NAS_IP -j ACCEPT

 # Roteamento da rede wifi para a NAS
 iptables -t nat -A PREROUTING -s 192.168.20.12 -d 192.168.10.3 -j DNAT
 --to-destination 192.168.10.3

 Não aparece nenhuma mensagem de pacote rejeitado no log do iptables.
 na rede interna tenho outra maquina também Windows que mapeia essa mesma
 pasta sem problema, ou seja, estou fazendo alguma bobagem no roteamento
 entre redes.
 Espero ter sido claro.
 Quem puder ajudar agradeço muito
 Abraço

 --
 Maurício Neto
 (21)8236-2505
 (21)2576-4645


 --
 To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/5154fb8e.9090...@gmail.com




-- 
Paulo Silva paulo...@gmail.com


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAHJdQrk86CWOEWTNLu+4ioSX7NxFnVCc_RMushLWk6RÌ_...@mail.gmail.com



Re: [Off Topic] - LaTeX

2009-11-17 Thread Paulo Silva
Mais dois:

http://www.texmacs.org/
http://www.lyx.org/
-- 
Paulo Silva paulo...@gmail.com


Re: a good howto on postfix including its working w/ clamav

2009-04-23 Thread Paulo Silva
2009/4/22 Sthu Deus sthu.d...@gmail.com:
 Good day.

 Can You recommend a good howto on postfix including its working w/
 clamav, etc.

 Thank You for Your time.

Try this one:

http://www.debian-administration.org/articles/259
-- 
Paulo Silva paulo...@gmail.com


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Any suggest on NFS server in product environment?

2008-10-10 Thread Paulo Silva
Qua, 2008-10-08 às 22:01 +0800, Ding Honghui escreveu:
 hi list,
 
 Any suggest on NFS server in product environment?
 nfs-user-server or nfs-kernel-server?
 We need stable nfs server.
 
 Regards,
 Ding Honghui

I would recommend nfs-kernel-server (I don't know anyone who uses the
other one).

Also you should read (if you haven't done so) the Linux NFS HOWTO[1],
it's great if you start having problems or if you want to optimize it's
performance.

[1] http://nfs.sourceforge.net/nfs-howto/
-- 
Paulo Silva [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ping MAC address

2008-10-07 Thread Paulo Silva
Ter, 2008-10-07 às 19:24 +0200, Gilles Mocellin escreveu:
 Le Tuesday 07 October 2008 16:26:22 Achim Stumpf, vous avez écrit :
  Ron Johnson schrieb:
 [...]
  On etch this does not work. Does anyone know what's the story with arping
  on etch?
 
  Options on etch:
 
  # arping
  Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source]
  destination -f : quit on first reply
  [...] 
 
 Attention !
 There is two different packages for arping : arping and iputils-arping.
 
 I had problems with redhat-cluster-suite and IP Failover when I had the wrong 
 package here... It uses arping to inform the switchs of the IP failover.

Wikipedia[1] explains the difference between those 2. There is a arping
in Linux iproute2 package (debian package iputils-arping) that doesn't
handles MAC address and there is another implementation using libnet and
libpcap that does (debian package arping).
 
[1] http://en.wikipedia.org/wiki/Arping
-- 
Paulo Silva [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: backup system to ISO image

2008-09-25 Thread Paulo Silva
Qua, 2008-09-24 às 15:08 +0800, Nhadie escreveu:
 Thanks. i will try those.
 
 thveillon.debian wrote:
  Eduardo M KALINOWSKI a écrit :
  Nhadie escreveu:
  Hi,
 
  Is there a tool i can use to fully backup a system to an ISO image 
  and preserve all files?
  So that if ever something happens to any of my server, i can simply 
  reinstall from the ISO image, no need for me to do reconfiguration on 
  the services running on it.

 
  Yes, search for clonezilla.
 
  I think MondoRescue can do that too. The first disk created can be 
  bootable, and from there it's easy to restore the other disk images made 
  with Mondo.
  
  Tom

Also mkcdrec (http://mkcdrec.ota.be/)
-- 
Paulo Silva [EMAIL PROTECTED]


signature.asc
Description: Esta é uma parte de mensagem	assinada digitalmente


Re: FreeNX

2008-09-23 Thread Paulo Silva
Sáb, 2008-09-20 às 00:57 -0300, gunix escreveu:
 Alguem na lista consegui colocar o FreeNX rodando com o RDP da
 microsoft.

 Quai os parametros que devo alterar.

 Stt

 Gunix

O FreeNX usa um protocolo diferente do RDP (tal como o VNC) por isso não
deves conseguir pô-los a comunicar um com o outro.

Se quiseres aceder a um Linux com FreeNX a partir de Windows tens de
instalar um cliente NX para Windows. Se quiseres aceder por RDP a um
windows a partir do linux usa o rdesktop.
-- 
Paulo Silva [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: GDM and pam_mount?

2008-09-23 Thread Paulo Silva
Seg, 2008-09-22 às 21:18 +0100, Magnus Therning escreveu:
 I've configured pam_mount to automatically mount a file containing a
 LUKS encrypted filesystem.  I seem to have followed the instructions
 successfully because when I log in on the console the filesystem is
 mounted in the expected location.  However, I can't get gdm to mount the
 filesystem on login.  Is there something I need to do beyond sticking
 '@include common-pammount' in /etc/pam.d/gdm (after both common-auth and
 common-session)?

Depending on your pam configuration that might not be the correct order
to place the pammount include. Before logging in the console did you do
the same for etc/pam.d/login?
-- 
Paulo Silva [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: transitivity of login

2008-09-17 Thread Paulo Silva
Qua, 2008-09-17 às 08:35 -0700, PETER EASTHOPE escreveu:
 Folk,
 
 I have three systems, A, B and C.
 A terminal login is made on A.
 From there a ssh session to B.
 From there we attempt ssh to C.
 This is the appearance of the A terminal.
 
 Connection established
 Linux B ...
...
 Last login: Wed Sep 17 08:16:01 2008 from A
 [EMAIL PROTECTED]:~$ ssh C
 [EMAIL PROTECTED]'s password:

Can you try ssh -v C? You can use up to 3 -v to increase verbosity.
This way you should have an idea where/why the connection is freezing.
-- 
Paulo Silva [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: tar block question

2008-09-16 Thread Paulo Silva
I think you can cut some steps

Ter, 2008-09-16 às 10:49 -0700, Bob McGowan escreveu:
[...]
2.  losetup -f
prints the name of the next available loop device, in my case it
was /dev/loop0
 
3.  losetup /dev/loop0 /path/to/filename
 
4.  losetup /dev/loop0
/dev/loop0: [0900]:8032956 (/path/to/filename)
to confirm things worked as expected
 
5.  mkfs -t fstype /dev/loop0
use other options if desired, such as -m 1 with ext3 for 1%
reserved block count instead of 5%.

You sould be able do run mkfs directly on the file without creating a
loop:

# mkfs -t ext3 /path/to/filename
mke2fs 1.41.1 (01-Sep-2008)
/path/to/filename is not a block special device.
Proceed anyway? (y,n) y
[...]

6.  mkdir /mnt/diskimg
or use /media/??? or ...
 
7.  mount -t fstype /dev/loop0 /mnt/diskimg

The mount can be done with the loop option using the file as device:

# mount -t fstype -o loop /path/to/filename /mnt/diskimg
-- 
Paulo Silva [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: NFS or Samba (windows client)

2008-09-16 Thread Paulo Silva
You could try using some NFS implementation on your Windows (I think
SFU[1] has a nfs client but there should be others) but imo samba is not
hard to setup and will give you less trouble.

[1] http://technet.microsoft.com/en-us/interopmigration/bb380242.aspx

Ter, 2008-09-16 às 10:29 +0200, Clifford W. Hansen escreveu:
 Greetings list,
 
 At home I have a couple of Debian boxen, and am using NFS on the nas (pc 
 with a usb hdd) to share file between these systems.
 
 The main problem is that my fiance's pc still has windows on it (it is dual 
 boot, she doen't know it yet *eg*), and she needs access to some of 
 these shares.
 
 I would prefer not to install samba just for one machine, but if I have to so 
 be it (although I might have to do so in any event to share the printer).
 
 I would also like to mount these shares similar to how I do so on my Linux 
 boxen, eg. c:\My Documents - nfs://nfsserver/mydocuments (afaik this is not 
 possible)
 
 The ultimate solution would be to remove windows, but this is a work in 
 progress... ;)
-- 
Paulo Silva [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: How to customize project version number in subversion

2008-09-13 Thread Paulo Silva
2008/9/13 Michael Yang [EMAIL PROTECTED]:
 Hi:

 I installed subversion on my debian, everything works well.

 I just wonder where I can set the initial version control number of the
 project.
 For example, now the version starts from revision 1, and incremental by one.
 I want to set the number in format of 1.0.0.1, how can I do this setting the
 main branch number?

I don't think you can change the revision number format. Maybe you can
achieve what you want using tags[1]?

[1] http://svnbook.red-bean.com/en/1.4/svn.branchmerge.tags.html
-- 
Paulo Silva [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Copy entire /usr

2008-09-12 Thread Paulo Silva
Sex, 2008-09-12 às 09:05 +0200, François Cerbelle escreveu:
 Le Ven 12 septembre 2008 08:15, Raven a écrit :
 [...]
  Before starting blindly cp'ing files, I would like to hear your advice
  on the process and if I have any chance of succeeding (or if you have
  another method that would work better)
 
 Hi,
 
 You can use :
 # ( cd /usr; tar cf - . ) | ( cd /mnt/newusr ; tar xvf -)
 
 to do the copy, but as your disk will probably fail during the process,
 rsync is a better choice as it can resume the copy.
 
 I think you will certainly miss some files.


I would use rsync too, something like:

# rsync -av /usr/ /mnt/newusr/
(you can drop the v swith if you don't want verbose output)

If possible it you be good to remount /usr as read-only (mount -o
remount,ro /usr) so you are certain no changes are made to it's contents
during the copy.
-- 
Paulo Silva [EMAIL PROTECTED]


signature.asc
Description: Esta é uma parte de mensagem	assinada digitalmente


Re: Copy entire /usr

2008-09-12 Thread Paulo Silva
Sex, 2008-09-12 às 09:28 +0200, Raven escreveu:
 Thanks for the replies. I will definitely use rsync.
 Also, I am planning to put the new /usr not on a new partition but on
 the same one that currently has / .
 After I rsync, how do I tell the system to use the new /usr folder
 (since I am not doing the whole remount thing)?

You can umount the old /usr and move the new directory to it's place:

# rsync -av /usr/ /newusr/
# umount /usr
# rmdir /usr
# mv /newusr /usr

Don't forget to change /etc/fstab.
-- 
Paulo Silva [EMAIL PROTECTED]


signature.asc
Description: Esta é uma parte de mensagem	assinada digitalmente


Re: Copy entire /usr

2008-09-12 Thread Paulo Silva
2008/9/12 Raven [EMAIL PROTECTED]:
 On Fri, 2008-09-12 at 09:49 +0200, François Cerbelle wrote:
 Le Ven 12 septembre 2008 09:36, Paulo Silva a écrit :
 [...]
  # rsync -av /usr/ /newusr/
  # umount /usr

 I think he will not be able to do it because of processes running from
 /usr. And I think he can not stop all processes by going to runlevel 1 as
 he seems to only have a network access to its server

 Indeed :(
 I am currently trying the solution Francois proposed. I am at 30% of the
 sync and still no sdc errors..I keep my fingers crossed.

You could try using lsof to find what processes are using files from /usr (lsof
/usr) and, if possible, stop those processes/services. If you can stop them all
you should be able to umount /usr.
--
Paulo Silva [EMAIL PROTECTED]


Re: dd|tar backup over ssh fails, could someone give me a pointer.

2008-09-12 Thread Paulo Silva
Sex, 2008-09-12 às 14:28 +0200, François Cerbelle escreveu:
[...]
 PS: The transfert might be twice compressed : one time with the tar's j
 option and a second time by ssh

You can force the ssh client to disable compression in the connection,
use ssh -oCompression=no [EMAIL PROTECTED]

-- 
Paulo Silva [EMAIL PROTECTED]


signature.asc
Description: Esta é uma parte de mensagem	assinada digitalmente


Re: Which daemons run at startup

2005-10-26 Thread Paulo Silva
Ter, 2005-10-25 às 16:07 -0400, Stephen R Laniel escreveu: 
 I'm writing a script that will need to run across FreeBSD,
 Debian, Gentoo and probably other machines, and will need to
 tell me, among other things, which daemons would launch at
 startup if the machine were rebooted. So I wonder
 
 1) what the best Debian command is to figure this out in a
scriptable way (which is to say, I know that rcconf will
tell me this);

You can do something like:

find /etc/rc3.d/ | grep '/S' |  cut -c 15-

and get a list of scripts that are run in certain runlevel (3 in the
example).

This could be easily adapted to other OSs (at least those that have a
System-V runlevels).
-- 
Paulo Silva [EMAIL PROTECTED]
Eurotux Informática, S.A.


signature.asc
Description: This is a digitally signed message part


Re: NFS mount very very slow

2004-06-26 Thread Paulo Silva
A Sex, 2004-06-25 às 12:25, James Sinnamon escreveu:
 Dear list subscribers,
 
 At first I thought my command:
 
   mount -t nfs 192.168.0.6:/etc /mnt/nfs 
 
 ... had failed.  It seemed to have hanged.  I tried to kill it with
 Ctrl^C, then with 'kill -SIGKILL procid', killing the Konsole tabbed
 terminal ... but with no luck.  
 
 The process just would not die.
 
 Eventually, I found, to my surprise, that that the 'mount' command
 had not only withstood all my attempts to smother it, but it also
 succeeded after all.  I don't know whether it took 15 minutes 
 or two hours, but whatever  the time lag was, it it had taken far too
 long.  can anyone tell me how to work out what the problem could be?  
 
 The entry in 192.168.0.6:/etc/exports is: 
 
   /etc  192.168.0.2(ro)
 
  where 192.168.0.2 is the nfs client.

Do you have portmap running?

-- 
Paulo Silva [EMAIL PROTECTED]


signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem	assinada digitalmente


Re: Replicating Debian Systems

2004-05-28 Thread Paulo Silva
A Qui, 2004-05-27 às 16:50, Lucas Albers escreveu:
  Loren M. Lang wrote:
 
  I may have to rapidly deploy multiple debian systems that will have
  the same software installed and be configured the same way.  The ideal
  way to install debian would be to stick a cd into a computer, turn it
  on, and come back a couple hours later.

Try FAI http://www.informatik.uni-koeln.de/fai/.
--
Paulo Jorge Jesus Silva
perl -we 'print paulojjs.reverse \ntp.letagarb@'

When you die, you lose a very important part of your life.
-- Brooke Shields


signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem	assinada digitalmente


Re: udev and CD or DVD drives

2004-04-06 Thread Paulo Silva
On Tue, 2004-04-06 at 20:37, Alex Malinovich wrote:
 Being that you're using udev, the 'correct' solution would be to
 create a udev rule to create an appropriate entry for your cd/dvdrom
 drives. I, however, got lazy and instead just made symlinks from
 /dev/scd0 to /dev/dvdrom. :) But if you're going to be 'fixing' it
 anyway, you might as well do it the 'right' way and add appropriate
 rules to your udev.conf.

An entry to create a link in udev is quite simple. Open the
/etc/udev/links.conf and add the line:

L dvdrom/dev/scd0
--
Paulo Jorge Jesus Silva
perl -we 'print pjs.reverse \ntp.letagarb@'

Everything in this book may be wrong.
-- Messiah's Handbook : Reminders for the Advanced Soul


signature.asc
Description: Esta =?ISO-8859-1?Q?=E9?= uma parte de mensagem	assinada digitalmente


SATA Debian support

2004-03-06 Thread Paulo Silva
Hi all,

I'm going to buy a new computer and I was wondering if there is any
support in the kernel for the new SATA controllers. I'm thinking in
acquiring an Asus P4P8X motherboard with an Intel ICH5 SATA Chipset.
Anyone has experience with this kind of hardware? Does the SATA
technology really turns disk access faster?

Thanks
--
Paulo Jorge Jesus Silva
perl -we 'print paulojjs.reverse \ntp.letagarb@'

God instructs the heart, not by ideas, but by pains and contradictions.
-- De Caussade


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Logging CPU usage

2004-01-21 Thread Paulo Silva

Hello

Is there any programm to log the cpu usage by services? I would like to
be informed whenever a process as excessive cpu usage. Any hint to do this?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: A couple more strange sound probs...

1999-02-20 Thread Paulo Silva

Sorry,

I have promissed to write yesterday, but I completly forgot. Here goes 
my awe64 setup information.

I tried to play some .wav files (with xwave) and they played well. So
I am suposing everything is working OK. If this is not the case I
would appreciate if some one calls my attention.

cat /proc/sound gives:

---

leia:/home/rsilva# cat /proc/sound 
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux leia 2.2.1 #1 Sun Feb 14 22:16:07 EST 1999 i586
Config options: 0

Installed drivers: 

Card config: 

Audio devices:
0: Sound Blaster 16 (4.16) (DUPLEX)

Synth devices:
0: AWE32-0.4.3 (RAM512k)

Midi devices:
0: Sound Blaster 16
1: AWE Midi Emu

Timers:
0: System clock

Mixers:
0: Sound Blaster

---

To get this I used the following setup in the kernel 2.2.1 sound
configuration:

Sound Card Support: Module
OSS sound modules: Module
100% Sound Blaster compatibles (SB16/32/64, ESS, Jazz16) support: Module
Generic OPL2/OPL3 FM synthesizer support: Module
FM synthesizer (YM3812/OPL-3) support: Moudule
Additional low level sound drivers: Yes
AWE32 synth: Module

That is all. If you have doubts you can read the file 
  your linux source directory/Documentation/sound/AWE32
That is where I got the tips.


You have also to give information to reload the module and what are
the irq's, dma's and i/o's ports of your card. The resr of this
information is Debian only, I guess. Create an file in /etc/modutils 
called awe32 with the following content:
 

# AWE64 configuration.
alias sound sb
alias midi awe_wave
post-install awe_wave /usr/bin/sfxload /usr/share/awe32/synthgm.sbk
options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
---

Surely you must change the path of the synthgm.sbk file above to a
proper location on your system and  give the right resources in the
options line, they must match your isapnp configurations (or the
jumpers if you don't have a pnp card).

Now run update-moudules as root to let your Debian system use the
information in this file to create start-up configuration.

The last step is to run modconf to install the modules. In the
section misc install:

awe_wave
opl3
sb
soundcore
soundlow
sound
uart401

At my system, soundcore is automatically installed when I install
sound.

That's all. If someone finds an error please advise-me. Hope that
helps and best luck for all.

Paulo.


Trubles with real player.

1999-02-15 Thread Paulo Silva

Hello,

Is there anyone having problems with real player and sound in new
kernels? 

I am using kernel 2.2.1 and I got an awe64 sound card. As far as I
know, every other sound application is working well (I am hearing a cd 
now for example). But, every time I click on a rvplayer link I got the
following error message in a dialog from rvplayer:

General error. An error occurred.

On the console I get:

audio: write error: 832 bytes errno: 0

At least one link I am sure is for the old 5.0 player (and not the new 
G2, that are not available for linux). You can find it in the page 
http://www.starwars.com/episode-i/news/trailer/
It's the second real video link.

My /proc/sound says:

-

OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux leia 2.2.1 #1 Sun Feb 14 22:16:07 EST 1999 i586
Config options: 0

Installed drivers: 

Card config: 

Audio devices:
0: Sound Blaster 16 (4.16) (DUPLEX)

Synth devices:
0: AWE32-0.4.3 (RAM512k)

Midi devices:
0: Sound Blaster 16
1: AWE Midi Emu

Timers:
0: System clock

Mixers:
0: Sound Blaster

-

I could not find any error during boot up process.

Thanks for help.

Paulo.


Re: Trubles with real player.

1999-02-15 Thread Paulo Silva
James,

I tried the solution you have proposed and it didn't work out. I get
an segmentation fault when trying to execute the script which loads
the small libraby. I have compiled the library with the -share
argument.

Any hint?

Paulo.

James Dietrich writes:
  
  I've used the procedure in
  http://www.linuxhq.com/lnxlists/linux-kernel/lk_9810_02/msg00616.html
  to temporarily solve the problem.
  
  HTH,
  James
  


Re: Trubles with real player.

1999-02-15 Thread Paulo Silva
James Dietrich writes:
  Well, I looked at my configuration and just realized that I am not using
  libnlock.so anymore.  From the rvplayer changelog:
  rvplayer (1:5.0-7) frozen unstable; urgency=low
  
* Now contains a small shared library that is preloaded to work around the
  bug that keeps it from working on 2.1.x kernels. I think this belongs in
  slink - linux 2.2 will probably come out about when slink does.
  
  So, what version of rvplayer do you have?
  
  HTH,
  James
  

I've downloaded the new version of the installer and the real player
for redhat5.x (as the installer asked). It worked like a charm. Thank
you.

Paulo.


gnome

1999-02-02 Thread Paulo Silva

Hello,

Did anyone out there succeded on running the new gnome stuff on
unstable. I've installed some 0.99.3 deb from there. Whenever I try to 
terminate the session from the panel I get the following error:

panel: error in loading shared libraries
/usr/lib/libgnome.so.31: undefined symbol: esd_sample_getid

I have gnomelibs 0.99.4-2 installed.

I know this is alpha but I would like to know if everything crashes
the penel (for example if I try to remove the default clock applet),
the help-browser (click on gnome user guide link). 

Maybe I have some mixed libraries (I had gnome 0.30 installed).

Paulo.



Changing DPI in X.

1999-01-07 Thread Paulo Silva

Hello,

Today I was reading LyX documentation. After reading how to calculate
the DPI of your monitor I've ran across the following:

 ... If this number is more than, say, 5 DPI from the detected value, you
 should either fix the X setup, or at least tell LyX that the DPI is
 different than the detected value.
 
 If you can't fix the X setup (which of course is best since other programs
 than LyX will benefit from this as well),

Ok, my real DPI is very different from X setup. X says it is 75 and I
calculated something around 110 (14 in running at 1024x768).

The problem is that I didn't find out how fix it (Lyx documentation
only tell how to tell it the right DPI).

Any hint?

Paulo.


Dired in xemacs not working.

1998-11-28 Thread Paulo Silva

Hello,

I am using xemacs20, but dired mode is not working. For exemple, when
I press d over a file name, xemacs gets into a loop that can only be 
halted by pressing control-g. 

Any hint?

Thanks,

Paulo.

here is result from dpkg --status xemacs20-bin and xemacs20-nomule

Package: xemacs20-bin
Status: install ok installed
Priority: optional
Section: editors
Installed-Size: 335
Maintainer: James LewisMoss [EMAIL PROTECTED]
Source: xemacs20
Version: 20.4-7
Replaces: xemacs, xemacs-widget
Depends: xemacs20-support, libc6, libc6 (= 2.0.7u), libgdbmg1, libgpmg1, 
libncurses4, ncurses3.4, xlib6g (= 3.3-5)
Suggests: xemacs20-mule | xemacs20-nomule | xemacs20-mule-canna-wnn
Conflicts: xemacs, xemacs-widget

Package: xemacs20-nomule
Status: install ok installed
Priority: optional
Section: editors
Installed-Size: 4651
Maintainer: James LewisMoss [EMAIL PROTECTED]
Source: xemacs20
Version: 20.4-7
Provides: emacsen, info-browser, mail-reader, news-reader, www-browser, xemacs20
Depends: xemacs20-support, xemacs20-bin, libc6, libc6 (= 2.0.7u), 
libcompfaceg1, libgdbmg1, libgpmg1, libjpegg6a, libncurses4, libpng2, nas-lib, 
ncurses3.4, xlib6g (= 3.3-5), xpm4g (= 3.4j-0), zlib1g