Re: debian instalacion en VIT M2421

2014-03-02 Thread Olaf Reitmaier Veracierta
Of course you can, those laptops comes (sometimes) with Canaima Linux 4
which is a Debian 7 based distro.

Please register and ask on the Canaima support list:
http://listas.canaima.softwarelibre.gob.ve/cgi-bin/mailman/listinfo/soporte

After trying this and other googled tutorials:
http://kimberling146.blogspot.com/2013/01/configuracion-de-la-laptop-vit-2421.html


Re: Best way to migrate disks

2012-03-25 Thread Olaf Reitmaier Veracierta

On 03/25/2012 01:16 AM, Marc Shapiro wrote:
I have an old 40GB disk and a recently purchased 1TB disk.  The new 
disk has been partitioned into a 2GB swap partition, two 500MB 
partitions that are currently empty and the remainder is an LVM2 PV 
which I have added to my VG, so I now have plenty of space.  So far, 
so good.


My problem is that I am still booting off of the 40GB disk and my / 
partition has pretty much run out of space (it is about 280MB).  I 
want to migrate everything from there into one of the 500MB partitions 
on the new drive and boot from there.  What is the best way to do 
this?  Any suggestions?


Marc




First, make a backup. Don't modify anything on the old disk, just in the 
new one!!!


What are the 500 MB partitions for? Well It does not matters, but I will 
use them in this example. I always do this on my laptops.


Make identical (size) volumes on LVM in the new disk as many partitions 
you have on the old disk.


Now reboot with debian live cd or usb stick and bring up LVM or... do 
all of this without reboot directly from your current system running but 
stop as many services as you can.


Then supossing your old disk is:

old disk: sda1=/boot (1GB), sda2=swap (9GB), sda3=/ (30GB)

You must configure your new disk similar to this:

new disk: sdb1=/boot (500M), sdb2=none (500M), sdb3=lvm=rest(999GB). In 
lvm at vg00 you must create: lvswap (9GB), lvroot (30GB).


Then use the command dd to copy each partition... one by one... byte 
by byte:


dd if=/dev/sda3 of=/dev/vg00/lvroot

The same with /dev/sda1 and all the none swap partions of your old disk.

Later copy the boot sector with GRUB: dd if=/dev/sda of=/dev/sdb bs=512 
count=1


You must mount and edit the /boot/grub/menu.lst and 
/boot/grub/device.maps in the NEW DISK to fit the new hardware names... 
adjust sda to sdb.


Disconnect the old disk and boot from new one installed as master on 
your mother board.


Done!

If anything fails you always can start all over again your old disk is save.

--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4f6eba41.4080...@gmail.com



Re: Best way to migrate disks

2012-03-25 Thread Olaf Reitmaier Veracierta

On 03/25/2012 12:44 PM, Marc Shapiro wrote:
Sorry, I just realized this morning that I had not mentioned that I am 
using lilo, not GRUB. 
Well, with dd is almost the same, just copy the first sector as I've 
shown it to you:


dd if=/dev/sda of=/dev/sdb bs=512 count=1

More info:
http://members.storm.ca/%7Eyan/Hard-Disk-Upgrade.html
http://lilo.alioth.debian.org/olddoc/html/user_21-5.html

(NOTE: All three lvm partitions are in a single volume group, so that 
is all taken care of). 

You still can use dd to copy partitions between disks.

If the old partition you want to copy is on LVM you don't need to stop 
all services just make a snapshot volume then use dd.


  I may move the swap on the new drive into the lvm.  No reason not to 
really, is there? 
The only valid reason is an affirmative answer to: Are you going to 
resize your swap space in the future?


If I do that, however, it can wait until after I am able to boot from 
the new disk.

Yes, it can wait and you can be disable it if you want.

--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4f6f72b7.8050...@gmail.com



Re: Ladder logic editor PLC simulator

2010-09-25 Thread Olaf Reitmaier Veracierta

Some projects...

http://plcemu.sourceforge.net/
http://plc.sourceforge.net/

Regards.-

Daniel Bareiro wrote:

Hi all!


Anybody know any good Ladder logic editor  PLC simulator that can be
used with Debian GNU/Linux? I was looking for in Internet although I
did not find something potable. In the control systems laboratory of
the university told us that we will use Siemens' Logo soft comfort, but
I've downloaded of the site of Siemens the demo version for GNU/Linux and,
lamentably, it fails to be executed.


Thanks in advance for your replies.

Regards,
Daniel
  


--
-
  You don't know where your shadow will fall, 
   Somebody.-

-
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
-
Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-



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

Archive: http://lists.debian.org/4c9e85c8.90...@gmail.com



Re: How to resume USB hubs

2010-09-02 Thread Olaf Reitmaier Veracierta

What about looking or turn to defaults your bios?

On 02/09/10 23:10, Gero Putzar wrote:

Hi,

when I tried to log in to my computer today, I realized that the usb ports
are not working anymore, therefore I've got no keyboard and no mouse
anymore. Logging in via ssh, I checked that besides that everything seems to
be running fine.

I googled around a bit and assume that the built in usb hubs (there seem to
be 4 or 5 of them) shut down maybe as a power saving feature. Does anyone
have an idea how to wake them up again?

If I plug in anything into one of the usb ports the /var/log/messages
doesn't show the usual message that the kernel recognized a new usb device.

I tried to write to the /sys/bus/usb/... files but unfortunately:
# echo on  /sys/bus/usb/devices/1-0\:1.0/power/level
bash: /sys/bus/usb/devices/1-0:1.0/power/level: No such file or directory

Is there a way to reset the usb hubs or to reinitialise the corresponding
kernel drivers or whatever deals with it? (I cannot reboot the computer at
the moment.) I tried:
# modprobe usbcore
FATAL: Module usbcore not found.

... and again without success:
# /etc/init.d/udev restart

I'm running the current Debian Lenny on a HP desktop with the standard Gnome
desktop.

Thanks, Gero.

I attached some output of how I tried to figure out the reason. Mouse and
keyboard were connected (via an external hub in the monitor) but that does
not seem to matter.

# ls /sys/bus/usb/devices
1-0:1.0  2-0:1.0  3-0:1.0  4-0:1.0  5-0:1.0  usb1  usb2  usb3  usb4  usb5
# ls -R /sys/bus/usb/devices/1-0\:1.0/
/sys/bus/usb/devices/1-0:1.0/:
bAlternateSetting   bInterfaceSubClass  ep_81  uevent
bInterfaceClass bNumEndpoints   modalias
usb_endpoint:usbdev1.1_ep81
bInterfaceNumberbus power
bInterfaceProtocol  driver  subsystem

/sys/bus/usb/devices/1-0:1.0/power:
wakeup

# cat /sys/bus/usb/devices/1-0\:1.0/power/wakeup

# echo enable  /sys/bus/usb/devices/1-0\:1.0/power/wakeup
bash: echo: write error: Invalid argument
# lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

# lsusb -v -s 1:

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
   bLength18
   bDescriptorType 1
   bcdUSB   1.10
   bDeviceClass9 Hub
   bDeviceSubClass 0 Unused

   Configuration Descriptor:
 bLength 9
 bDescriptorType 2
 wTotalLength   25
 bNumInterfaces  1
 bConfigurationValue 1
 iConfiguration  0
 bmAttributes 0xe0
   Self Powered
   Remote Wakeup
 MaxPower0mA
 Interface Descriptor:
   bLength 9
   bDescriptorType 4
   bInterfaceNumber0
   bAlternateSetting   0
   bNumEndpoints   1
   bInterfaceClass 9 Hub
   bInterfaceSubClass  0 Unused
   bInterfaceProtocol  0 Full speed (or root) hub
   iInterface  0
   Endpoint Descriptor:
 bLength 7
 bDescriptorType 5
 bEndpointAddress 0x81  EP 1 IN
 bmAttributes3
   Transfer TypeInterrupt
   Synch Type   None
   Usage Type   Data
 wMaxPacketSize 0x0002  1x 2 bytes
 bInterval 255
Hub Descriptor:
   bLength   9
   bDescriptorType  41
   nNbrPorts 2
   wHubCharacteristic 0x000a
 No power switching (usb 1.0)
 Per-port overcurrent protection
   bPwrOn2PwrGood1 * 2 milli seconds
   bHubContrCurrent  0 milli Ampere
   DeviceRemovable0x00
   PortPwrCtrlMask0xff
  Hub Port Status:
Port 1: .0100 power
Port 2: .0100 power
Device Status: 0x0003
   Self Powered
   Remote Wakeup Enabled



   


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4c8079f5.5090...@gmail.com



smbd not start after upgrade lenny9

2010-05-09 Thread Olaf Reitmaier Veracierta


--
-
  You don't know where your shadow will fall, 
   Somebody.-

-
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
-
Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


---BeginMessage---

Hi,

I'm facing the same problem of bill as described in:

http://lists.samba.org/archive/samba/2010-April/154975.html

But in my case I have the same version of samba and libs:

# dpkg -l | egrep samba|libwb

ii  libcrypt-smbhash-perl0.12-2 
generate LM/NT hash of a password for samba
ii  libwbclient0 2:3.2.5-4lenny9
client library for interfacing with winbind service
ii  samba2:3.2.5-4lenny9a 
LanManager-like file and printer server for Unix
ii  samba-common 2:3.2.5-4lenny9
Samba common files used by both the server and the client


Any idea?

--
-
  You don't know where your shadow will fall, 
   Somebody.-

-
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
-
Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-



---End Message---


Re: smbd not start after upgrade lenny9

2010-05-09 Thread Olaf Reitmaier Veracierta

Somebody say this...

http://us.generation-nt.com/samba-smbd-crashes-debian-lenny-using-debian-help-196079541.html

But If it is a debian bug?

Olaf Reitmaier Veracierta wrote:





Subject:
smbd will not start
From:
Olaf Reitmaier Veracierta ola...@gmail.com
Date:
Sun, 09 May 2010 23:17:44 -0430
To:
sa...@lists.samba.org

To:
sa...@lists.samba.org


Hi,

I'm facing the same problem of bill as described in:

http://lists.samba.org/archive/samba/2010-April/154975.html

But in my case I have the same version of samba and libs:

# dpkg -l | egrep samba|libwb

ii  libcrypt-smbhash-perl0.12-2 
generate LM/NT hash of a password for samba
ii  libwbclient0 2:3.2.5-4lenny9
client library for interfacing with winbind service
ii  samba2:3.2.5-4lenny9a 
LanManager-like file and printer server for Unix
ii  samba-common 2:3.2.5-4lenny9
Samba common files used by both the server and the client


Any idea?



--
-
  You don't know where your shadow will fall, 
   Somebody.-

-
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
-
Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-



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

Archive: http://lists.debian.org/4be787a7.1030...@gmail.com



Re: Disabling Swap Activation Message

2010-03-04 Thread Olaf Reitmaier Veracierta



On 04/03/10 22:42, Tech Geek wrote:
I installed Debian Lenny on my PC (/dev/hda1) without any swap 
partition. I recompiled my kernel to boot without using an initrd.

Wow, hard work.
Now when I boot to my base system, I still see following messages from 
the init scripts on my console:

Activating swap...Done

.
Activating swapfile sawp...Done

Ignore it.
After doing a find it seems that these messages are spitted out by 
scripts mountall.sh and checkroot.sh files in /etc/init.d/ directory.

Yes, and unmountall.sh
My question is what is the best way to disable these messages and the 
associated function with those messages?
If the free command show zeros (0) on swap line ignore this VERBOSE 
messages.
Should I just comment out the relevant swap portition in those two 
init files?

Instead view this file /lib/init/vars.sh, you will understand that:

1) You can disable verbose output with quiet option in the kernel boot 
line.
2) You can disable swap (although it exists) with noswap option in the 
kernel boot line.


You can test this options editing boot line in GRUB menu on boot, type 
e change the line and CTRL+X to boot.




--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b907d50.5060...@gmail.com



Re: useradd: Problem joining into a Samba domain

2010-03-04 Thread Olaf Reitmaier Veracierta


On 04/03/10 17:02, Jari Fredriksson wrote:

I have an ancient domain, originally started with Red Hat 7.x. It is
running on latest Lenny now, and works fine, except..

Now I try to add a new server into the domain.

I found out that somehow I do not have add machine script in smb.cfg

So, I googled and found this:

 /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u
   

Why not try to use smbldap-useradd and smbldap-* from smbldap-tools package?



--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b907ea8.6030...@gmail.com



Re: Print Watch

2010-03-04 Thread Olaf Reitmaier Veracierta

On 04/03/10 16:12, Germana Oliveira wrote:
Is there, somewhere, a print watch for free software? or free software 
print watch?

Yes, go further.

Can i do it with cups?

Yes, with lpadmin and /etc/cups/printer.conf (AllowUser directive)

I need User and Department print control?

Ok, if CUPS options are not enough, there is a better option for domains 
with samba.
i have an idea doing myself with some tricks the print machine does, 
but i want to know if there is somebody already made for that.



Yes, it is easy if you share your printers and configure ACL with samba.

http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/StandAloneServer.html#SimplePrintServer
http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html

Thanks

You're welcome.


--
Germana Oliveira

germanaoliveirab arroba gmail punto com
http://626f67.wordpress.com
http://slcarabobo.wordpress.com



--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b9080be.6090...@gmail.com



Re: grsecurity patch

2010-03-04 Thread Olaf Reitmaier Veracierta

On 04/03/10 13:11, surreal wrote:

how to patch grsecurity patch on kernel??

http://www.securityfocus.com/infocus/1539


debian dosent have the grsecurity package for kernel 2.6.31..

No


is there any other tool available for hardening linux kernel??

Many, but visit www.openwall.org

--
Harshad Joshi


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b908166.6080...@gmail.com



Re: bigmem kernel

2010-03-04 Thread Olaf Reitmaier Veracierta



On 04/03/10 12:16, Marc Auslander wrote:


having installed the bigmem kernel package, should I then remove the 
regular kernel package?

No.


my concern is that if I don't, the next update to it will replace 
vmlinuz with the regular kernel.



False, the active kernel is update instead of second options.

or are the installers smart enough to avoid that?

No as smart as you think, but they update the runing kernel version 
(first on GRUB).


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-



Re: OT: wireless draft-n router?

2010-03-04 Thread Olaf Reitmaier Veracierta

On 04/03/10 11:30, I Rattan wrote:


Any recommendations for such a router?


TPLINK, http://www.tp-link.com/products/productList.asp?class=router

-ishwar



--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b908265.5070...@gmail.com



Re (Cont.): grsecurity patch

2010-03-04 Thread Olaf Reitmaier Veracierta



On 04/03/10 13:11, surreal wrote:

how to patch grsecurity patch on kernel??

debian dosent have the grsecurity package for kernel 2.6.31..

is there any other tool available for hardening linux kernel??


Oh, I forgot harden-* tools:

http://www.debian.org/doc/manuals/securing-debian-howto/ch-automatic-harden.en.html#s6.1 




--
Harshad Joshi


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b90839f.9050...@gmail.com



Re: logrotate

2010-03-04 Thread Olaf Reitmaier Veracierta

On 04/03/10 05:12, Kaushal Shriyan wrote:

Hi,

is there a way to scp or rsync the files to a remote host older than
15 days in the logrotate config and than delete it on localhost older
than 15 days, so that at a time only 15 days of logs are available on localhost.

   


Increment logrotate for 15 days in /etc/logrotate.conf:

# rotate log files weekly
weekly

# keep 2 weeks worth of backlogs
rotate 2

And store logs on log server (section 4.12.3):

http://www.debian.org/doc/manuals/securing-debian-howto/ch4.en.html#s-log-alerts

Thanks,

   

You're welcome.

Kaushal


   


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b9084e2.70...@gmail.com



Re: Anyone playing Supertux in Debian Lenny?

2010-03-04 Thread Olaf Reitmaier Veracierta


On 03/03/10 17:49, Mark wrote:
Anyone on this list playing Supertux in Debian Lenny?  It's in the 
official packages http://packages.debian.org/stable/supertux, was just 
curious of the success rate before trying to install and run it on a 
freshly installed Lenny system.  Googling around found some bug 
reports about SDK, etc. but nothing confirming usability.
Yes, I have installed and playing it, but I have and NVIDIA card, it 
looks like Super Mario Bros.


Also looking for other good Debian Lenny game recommendations if you 
have any.  This list 
http://blog.taragana.com/index.php/archive/top-10-free-linux-games-in-2009/ 
seems interesting so if anyone has played some of these games, 
feedback is appreciated.

Alien Arena is awesome!!! (http://icculus.org/alienarena/rpa/aquire.html)

Planet Penguin Racer is cool!!! (apt-get install planetpenguin-racer).


Thanks,
Mark


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b90875f.1020...@gmail.com



Re: convert a bitmap in pdf, into jpg or png.

2010-03-04 Thread Olaf Reitmaier Veracierta

On 26/02/10 12:37, peasth...@shaw.ca wrote:

What is recommended for converting a bitmap in pdf, into jpg or png?
   

I use gscan2pdf package (and command) Gnome GUI.


Thanks,

You're welcome.

... Peter E.




   


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b908a32.4050...@gmail.com



Re: Kernel panic - not syncing and some other strange things

2010-03-04 Thread Olaf Reitmaier Veracierta



On 25/02/10 06:49, godo wrote:

Hi folks,
a few days ago I helped a friend find drivers for XP box (detecting 
with lspci and connecting on net with Live CD).
When I came home and put that USB memory in my up to date Squeeze box 
I could not delete the directory with the drivers. Even as root.



No pics are allowed on this list.
Strangest of all, it was not driver.exe anymore, but a lot of strange 
data (as shown on pic below). I could not turn on terminal or any 
other programs.

Well, the USB pen is gone.


I thought that KDE crashed and I was restarted box.


Ok

After the grub loading I got the following message:
# This is my swap uuid-12efe908-41a1-4c4d-9ad2-e9994ed6c603

Ok
kinit: 
name_to_dev_t(/dev/disk/by-uuid/12efe908-41a1-4c4d-9ad2-e9994ed6c603) =

dev(3,6)
kinit: trying to resume from 
/dev/disk/by-uuid/12efe908-41a1-4c4d-9ad2-e9994ed6c603

kinit: No resume image, doing normal boot...
run-init: /sbin/init: No such file or directory
[   4.316704] Kernel panic - not syncing: Attempted to kill init!


Maybe misconfigured swap.

I can't go to terminal or X.

Ok, on GRUB boot menu, type e add option noswap, then boot with CTRL+X.

Only if the problem (as I understand) is that you can't boot your system.


I was comment in fstab swap but without sucess.

Don't do that if you don't disable swap

Live Parted Magic sad that swap is OK.

Surely.



My first question is is it possible to clean kinit or is it better 
solution?

Cleaning it is not a solution.
I found lot of similar situations on the net but some doesn't work for 
me and for some I wasn't sure is it ok or not in my case.

Ok.


Another strange thing is that i shared few movies from Squeeze box to 
Sid box and one movie (avi) was crushed like that driver.exe. This is 
pic: http://dobosevic.com/nix/usb.png driver.exe looks like that also.



USB pen is gone.
My second question is what can be the cos for something like that? USB 
memory is 16gb fat Transcend and I'm formatted him after that driver 
issue.



Try fdisk with your pen.

Thanks for any help.

You're welcome, tell if it works.

--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b908cbb.1050...@gmail.com



Re: Disk performance problem

2010-03-04 Thread Olaf Reitmaier Veracierta



On 25/02/10 05:18, Veli Cakmak wrote:


Dear Friends;

I have servers which contain SATA disks and SAS disks. I was testing 
the speed of writing on these servers and I recognized that SAS 10.000 
disks much more slowly than the SATA 7200. What do you think about 
this slowness? What are the reasons of this slowness?



Does your server match this setup:

- SATA and SAS disk are connected on different RAID controllers.
- Both RAID controllers have enabled disk read and disk write caches.
- SATA disk are in a hw RAID 5 or 6, and one logical drive A.
- SATA disk are in a hw RAID 5 or 6, and one logical drive B.
- Drive A is configured with LVM 1.
- Drive B is configured with LVM 2.
- Partition on LVM1 and LVM2 are in the same filesystem format (i.e. 
ext3, reiserfs, xfs).

- Having a multicore CPU.

If not slowness can be caused by not configuring some items before.

Try using bonnie++ and stress to test your disks.


Thank you for your help.


It's ok.

--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-



Re: Lenny suspend to RAM Dell Inspiron 8600

2010-03-04 Thread Olaf Reitmaier Veracierta



On 24/02/10 19:35, Mark wrote:
I've been hunting and hunting trying to find a solution for s2ram not 
working when closing the Dell Inspiron 8600 lid using Lenny, standard 
kernel, with or without the nv drivers.  Came across this today on the 
Suse forums, was curious if anyone on this list has had success with 
the same type of computer using Lenny?  Pertinent text posted below; 
here's the link to the whole discussion 
http://en.opensuse.org/Talk:NVidia_Suspend_HOWTO.  Some people claim 
it worked, others say it didn't.
You need enough SWAP to suspend or hibernate (SWAP at least RAM size) on 
laptops.


Thanks for any input or help.

Mark
---
I added options nvidia NVreg_EnableAGPFW=1 to /etc/modprobe.conf.local

In /etc/X11/xorg.conf add:

  Option NvAGP 1
   


In /etc/modprobe.conf.local:

  blacklist intel_agp
   


then i created the file /etc/pm/config.d/s2ram with the line

  S2RAM_OPTS=-f
   


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b90906a.4010...@gmail.com



Re: Disabling Swap Activation Message

2010-03-04 Thread Olaf Reitmaier Veracierta



On 04/03/10 23:04, Andrew Reid wrote:

On Thursday 04 March 2010 22:12:59 Tech Geek wrote:
   

I installed Debian Lenny on my PC (/dev/hda1) without any swap partition. I
recompiled my kernel to boot without using an initrd.

After doing a find it seems that these messages are spitted out by scripts
mountall.sh and checkroot.sh files in /etc/init.d/ directory.

My question is what is the best way to disable these messages and the
associated function with those messages?

Should I just comment out the relevant swap portition in those two init
files?
 

   Seems cleaner to me to either boot with a noswap kernel option,
or edit /lib/init/vars.sh to always set NOSWAP to yes.  Both
mountall and checkroot seem to check that variable.

   

Yes

   Of course, I haven't actually tried it, so it might not even work.
   

It works.

   If it does, my personal preference would be to change the default
boot options in the bootloader config -- I use grub, and it's already
customized to have the right root= line, so adding noswap to the
kopt line would be natural, and would be preserved automatically
across kernel updates.
   

Right.

-- A.
   


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b9090ee.5070...@gmail.com



Re: logrotate for multiple websites

2010-03-04 Thread Olaf Reitmaier Veracierta

On 01/03/10 17:13, Richard Hector wrote:

Hi all,

I understand that I can setup a logrotate entry with sharedscripts, so
it will only reload apache once for all the logs in that stanza.

That's fine, until you want to have multiple stanzas.
   
Well, it true you can't reload apache per virtualhost (site) basis, but 
is not a problem.

In our case, we use local debian packages to deploy our clients'
websites, for ease of management. That means we'd like to have each one
drop its own file in logrotate.d,
   
On each site-available/* config file (per site) within virtualhost 
directive:


ErrorLog /var/log/apache2/Yoursite/error.log
CustomLog /var/log/apache2/Yoursite/access.log

but that means they have to be in
separate stanzas, and therefore we end up reloading apache several
times.
   
There is no problem with reloading apache (is not equal to restart) that 
the purpose of reload.



We do have a site-base package, which can rotate all the logs matching
our setup, but that has limitations too, like being unable to specify
different periods for different sites and suchlike.

Yes, you can do it on your script or manually, see bellow.

It also doesn't
really deal with sites packaged by other entities, that don't
necessarily know about (or depend on) our site-base package.

   
For each virtualhost create /etc/logrotate.d/apache-yoursite, with 
this content (example).


/var/log/apache2/Yoursite/*.log {
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
if [ -f `. /etc/apache2/envvars ; echo 
${APACHE_PID_FILE:-/var$

/etc/init.d/apache2 reload  /dev/null
fi
endscript
}


Does anyone have any suggestions for improving this?

   

That works for my 70 named virtualhost in production enviroment.

Thanks,
   

Your're welcome.

Richard


   

--

-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b909704.5050...@gmail.com



Re: How to use LVM on a file? (as opposed to on a block device)

2010-03-03 Thread Olaf Reitmaier Veracierta

On 03/03/10 14:59, Clive McBarton wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a file which is a dump of a disk partition. It has LVM on it and
a couple of LVs in the LVM, each containing a filesystem. How do I
access them? The lvm tools like lvdisplay, vgdisplay, lvs, lvscan,
lvdiskscan expect block devices and do not have the option of using a
file instead of /dev/something. I'd like to use the LVM on the file
without writing it out as a real disk partion. How do I do that?
   

Here you are...

http://forums.fedoraforum.org/showthread.php?t=211093


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkuOuH0ACgkQ+VSRxYk4408yOACg6Pu2Md50e0BH77aB04oiGyuC
PEwAoOzQZs/4x9Z2rRlUVrDSifGLn0fP
=fzWE
-END PGP SIGNATURE-


   


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b8ec2a1.1070...@gmail.com



Re: Looking for a tool to simulate unreliable network connections

2010-02-20 Thread Olaf Reitmaier Veracierta

Hi,

Yes, use tc command from iproute package.

Or you can make a script to:

- Enable/Disable kernel forward in you router.
  echo 0  /proc/sys/net/ipv4/ip_forward
- Add/Drop static routes.
  route del default
- Reduce TTL in the MANGLE table.
- Enable/Disable firewall rules.
  The last two using iptables.

Depending on frequency of this command you can simulate a slow connection.

Bye!!!

On 20/02/10 23:22, Oliver Schneider wrote:

Hi there,

does anyone here know a tool/package that I can use on a Debian system that 
acts as a router in order to simulate lossy or very slow network connections?


Thanks in advance,

// Oliver


   


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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

Archive: http://lists.debian.org/4b80b3d4.60...@gmail.com



Re: eth0 or eth1

2010-01-28 Thread Olaf Reitmaier Veracierta

Read my replay complete before go to the links.

On 28/01/10 16:23, T o n g wrote:

Hi,

One of My Debian has eth1 as the Ethernet card, while all others use
eth0. There are only one Ethernet card in each system. Why the different?
   
An explanation I saw in another post explained that with newer kernels 
in Debian hardware is initialized asynchronously so you never know which 
card will become eth0 and which eth1 and this matches what I experienced 
with my cards.


A solution (Map to MAC): 
http://lists.debian.org/debian-user/2006/01/msg00075.html


If the card it not integrated in the motherboard changing the slot 
change ethX enumeration.


You can try to change /etc/udev/rules.d/70-persistent-net.rules as show 
here:


Another solution: http://ubuntuforums.org/showthread.php?t=1007285


How can I have consistent 'eth0' throughout all systems?

   
If there are other Ethernet interfaces (WiFi, Firewire 1394, even a 
bluetooh) also is posible the module load order is the reason.



Thanks

   


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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




Re: Mounting partition from one drive to another driver (bind?)

2010-01-27 Thread Olaf Reitmaier Veracierta

On 27/01/10 15:05, Tech Geek wrote:
So my Debian Lenny is installed on /dev/sda1 (ext3 formatted). My 
VMware Virtual Machines are stored at the following locations on /dev/sda1

# ls -l /var/lib/vmware/
total 8
drwxr-xr-x  3 root root 4096 2009-10-22 16:35 hostd
drwxrwxrwt 10 root root 4096 2010-01-25 12:21 Virtual Machines
#
I am running out of space on my sda1 partition and hence I would like 
to use another empty ext3 partition (/dev/sda5) to store my Virtual 
Machine. Here is what I am thinking to do:

Is sda5 or sda6? I suppose you misstype it, refering below as sda6.
1. Copy all the stuff from ls -l /var/lib/vmware/Virtual Machines onto 
the /dev/sda6 parition.

2. Put the following in my /etc/fstab on /dev/sda1:

/dev/sda6  /var/lib/vmware/Virtual Machines none bind 0 0
-bind is not need unless you have a different mounting point for 
/dev/sda6 for example /media/myotherdisk and you want to access 
/media/myotherdisk from /var/lib/vmware/Virtual Machines, because you 
can't mount twice a partitions with collateral problems then you need to 
use bind over /media/myotherdisk.


Look at this: http://aplawrence.com/Linux/mount_bind.html
Just wanted to seek some opinions from experts on the above solution. 
Also will the space in Virtual Machine will be acceptable by fstab.

Could I have just used:
/dev/sda6  /var/lib/vmware/Virtual Machines ext3 errors=remount-ro 0 1

I think just this line is needed.

in my fstab?
Thanks in advance.


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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




Re: Sound through HDMI with ATI Radeon HD 4550

2010-01-27 Thread Olaf Reitmaier Veracierta

On 27/01/10 13:41, David BERCOT wrote:

Hello,

I'm not sure I'm at the right place (please, if not, tell me where I can
find a solution...) but I have a problem with multimedia hardware.
So, I've changed my graphic card and I've bought an ATI Radeon HD 4550.
   

In the ALSA supported card list is not yours:
http://www.alsa-project.org/main/index.php/Matrix:Vendor-ATI

My goal is to use only an HDMI cable between my computer and my AV
amplifier. I've installed Debian Sid but I can't have any sound...
Everything seems OK with Alsa (and PulseAudio), but no sound !!!

   

A saw that your card is audio enabled:

HDMI output support

   * Supports all display resolutions up to 1920x1080^2
   * Integrated HD audio controller with up to 2 channel 48 KHz stereo
 or multi-channel (7.1) AC3 enabling a plug-and-play cable-less
 audio solution^4

As read on:
http://www.amd.com/us/products/desktop/graphics/ati-radeon-hd-4000/hd-4550/Pages/ati-radeon-hd-4550-specifications.aspx

With google, I've found this :
http://www.phoronix.com/scan.php?page=news_itempx=NzgxMA
[I should need a 2.6.33 kernel to have HDMI support with ATI cards]
So, I've compiled the 2.6.33RC5 kernel, but no difference !!!

The card seems to be OK :
# aplay -l
 List of PLAYBACK Hardware Devices 
card 0: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
e
   
Try another sound output device and verify alsa-mixer ouput and digital 
output source in volumen control on your desktop (gnome-sound-properties).


Look at this:

http://antiflash.org/notes/computers/linux,_radeon_4350_and_hdmi/

Also consult ATI Wiki (Many card and some comment about HDMI Sound):

http://wiki.archlinux.org/index.php/ATI#HDMI_with_sound

Or try to tweak it with this:

http://forums.linuxmint.com/viewtopic.php?f=49t=28199start=0hilit=ati+hdmi

Do you have any idea ?

Thank you.

David.


   


--
-
   You don't know where your shadow will fall,
Somebody.-
-
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
-
 Personal Web Page -- http://olafrv.com -- i...@olafrv.com
-


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




Re: popping laptop speakers

2010-01-27 Thread Olaf Reitmaier Veracierta



On 27/01/10 09:29, Nima Azarbayjany wrote:

Hi there,

I've got an annoying problem with my laptop which is a Pavilion dv5.  
I have the latest kernel 2.6.32.


The problem is that at reboot the speakers make a loud noise which I 
fear may damage hardware.  This problem existed with somewhat older 
kernels and it was worse.  There used to be sounds generated also at 
suspend.  I don't know whether this should be reported as a bug and if 
so where it should go.  I thought here is the most relevant place so I 
posted to this list.  I have attached the output of lspci and lsmod to 
this email but I don't know how to get you more data (such as probably 
logs).  I know this is not enough.  So please help me.

Try this:

options snd-hda-intel model=hp-dv5 enable_msi=1

At the end of your /etc/modprobe.d/alsa-base, then reboot.

Let me know if it works.



These threads show that already so many people are having such a problem:

https://bugs.launchpad.net/ubuntu/+source/alsa-utils/+bug/23984
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/352540/+activity

lspci:
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory 
Controller Hub (rev 07)
00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI 
Express Graphics Port (rev 07)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB 
UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB 
UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 
EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express 
Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB 
UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB 
UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB 
UHCI Controller #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB 
UHCI Controller #6 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 
EHCI Controller #1 (rev 03)

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller 
(rev 03)
00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI 
Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller 
(rev 03)
00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 
Family) Thermal Subsystem (rev 03)
01:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 
9200M GS] (rev a1)
02:00.0 Network controller: Intel Corporation PRO/Wireless 5100 AGN 
[Shiloh] Network Connection
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
06:00.0 FireWire (IEEE 1394): JMicron Technology Corp. IEEE 1394 Host 
Controller
06:00.1 System peripheral: JMicron Technology Corp. SD/MMC Host 
Controller
06:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host 
Controller

06:00.3 System peripheral: JMicron Technology Corp. MS Host Controller
06:00.4 System peripheral: JMicron Technology Corp. xD Host Controller



lsmod:
Module  Size  Used by
nvidia   8783671  41ppdev   4058  
0 lp  5570  0 parport
22554  2 ppdev,lp
sco 5837  2bridge 32851  
0stp  996  1 bridge 
bnep7376  2rfcomm 25063  
4l2cap  21677  16 bnep,rfcomm
crc16   1027  1 l2cap  acpi_cpufreq
4907  0cpufreq_userspace   1444  0
cpufreq_conservative 4018  0   cpufreq_powersave
602  0cpufreq_stats   1940  0
kvm_intel  32446  0kvm   
179533  1 kvm_intel  fuse   43554  1
loop9721  0firewire_sbp2   
9575  0snd_hda_codec_nvhdmi 2567  1   
snd_hda_codec_idt  35245  1snd_hda_intel  
15263  2snd_hda_codec  45998  3 
snd_hda_codec_nvhdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep   4054  1 
snd_hda_codec 

Re: How to use Sun Java instead of gcj

2010-01-07 Thread Olaf Reitmaier Veracierta


On 06/01/10 20:23, Ogya Chief wrote:
I installed sun-java6 but java -version showed version 1.5. Upon 
further investigation I realised gcj is also installed on the machine 
and OpenOffice depends on it. I have two questions:


1.  How can I make OpenOffice use Sun-java instead of gcj so that I 
can remove gcj?
2.  If it is not possible to remove gcj and keep OpenOffice intact, 
how can I compile java 1.6 programs using sun-java6?


Any help in this direction will be very much appreciated.

Kind regards,

Ogya


New Windows 7: Find the right PC for you. Learn more. 
http://windows.microsoft.com/shop


You can remove OpenOffice and GCJ with apt-get, then install ooo* 
packages for Debian downloaded from OpenOffice.org.


--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
--
 Personal Web Page -- http://olafrv.googlepages.com
--


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




Re: CPU fan working more than it should

2010-01-07 Thread Olaf Reitmaier Veracierta



On 07/01/10 10:38, George wrote:


Performance Monitor says it isn't. But what's frequency scaling?

   

http://en.wikipedia.org/wiki/Frequency_scaling

How to configure an use it? (See the modules way for Debian)

http://www.thinkwiki.org/wiki/How_to_make_use_of_Dynamic_Frequency_Scaling

--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
--
 Personal Web Page -- http://olafrv.googlepages.com
--


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




Re: pvmove Couldn't find device with uuid

2010-01-07 Thread Olaf Reitmaier Veracierta



On 07/01/10 10:43, Noah Meyerhans wrote:

pvmove -n /dev/xenvg/imprimatur_cache /dev/sdb /dev/sdc
   Error locking on node tig-hyperc-1: Internal lvm error, check syslog
   Failed to activate imprimatur_cache

syslog contains:
Jan  7 09:31:57 tig-hyperc-1 lvm[3028]: Couldn't find device with uuid 
'NeyE2O-CPSF-tP9v-kK5G-8g02-nTsw-M8Ls5U'.
Jan  7 09:31:57 tig-hyperc-1 lvm[3028]: Couldn't find all physical volumes for 
volume group xenvg.
Jan  7 09:31:57 tig-hyperc-1 lvm[3028]: Couldn't find device with uuid 
'NeyE2O-CPSF-tP9v-kK5G-8g02-nTsw-M8Ls5U'.
Jan  7 09:31:57 tig-hyperc-1 lvm[3028]: Couldn't find all physical volumes for 
volume group xenvg.
Jan  7 09:31:57 tig-hyperc-1 lvm[3028]: Couldn't find device with uuid 
'NeyE2O-CPSF-tP9v-kK5G-8g02-nTsw-M8Ls5U'.
Jan  7 09:31:57 tig-hyperc-1 lvm[3028]: Couldn't find all physical volumes for 
volume group xenvg.
Jan  7 09:31:57 tig-hyperc-1 lvm[3028]: Couldn't find device with uuid 
'NeyE2O-CPSF-tP9v-kK5G-8g02-nTsw-M8Ls5U'.
Jan  7 09:31:57 tig-hyperc-1 lvm[3028]: Couldn't find all physical volumes for 
volume group xenvg.
Jan  7 09:31:57 tig-hyperc-1 lvm[3028]: Volume group for uuid not found: 
wKj56UijD2ZIn9d15fxqvWUwcD47TCdqsKXbiumi66SWoXQGA9Jy0sCoJo01EHpM

   


Well I use LVM but in Redhat maybe you need to reaload extends on nodes:|

clvmd -R
|
Look at this:

http://kbase.redhat.com/faq/docs/DOC-3786

And make sure your lvm.conf has filters for the disks associated with 
the sd* devices.






--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
--
 Personal Web Page -- http://olafrv.googlepages.com
--


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




Re: CPU fan working more than it should

2010-01-07 Thread Olaf Reitmaier Veracierta



On 07/01/10 21:44, George wrote:

On Fri, Jan 8, 2010 at 1:59 AM, Olaf Reitmaier Veracierta
ola...@gmail.com  wrote:

   

http://en.wikipedia.org/wiki/Frequency_scaling

How to configure an use it? (See the modules way for Debian)

http://www.thinkwiki.org/wiki/How_to_make_use_of_Dynamic_Frequency_Scaling
 

I have an AMD Sempron, so it looks like my processor is not supported.

   


Uhm, I think you can, try to load this modules:

   * *AMD Sempron/Athlon/MP ( K7 ).* The module to load is powernow-k7
   * *AMD Duron/Sempron/Athlon/Opteron 64/Turion ( K8 ).* The module to
 load is powernow-k8
   * *Other (Unknown).* Try the module acpi-cpufreq

See and practice your spanish here: 
http://www.esdebian.org/wiki/cpu-scaling-debian


--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veraciertaola...@gmail.com
--
 Personal Web Page -- http://olafrv.googlepages.com
--



Re: problemas con repositorios

2009-12-30 Thread Olaf Reitmaier Veracierta

CARLOS ED wrote:

deb ftp://musix.ourproject.org/pub/musix/deb/ ./
deb ftp://musix.ourproject.org/pub/musix/deb-testing/ ./
 
hace uno dias instale nuevamente debian don usaba estos repositorios 
poro ahora me muestra un error no se que deba hacer agradezco 
cualquier informacion ademas descargue el dvd de debian lenny 5.0.3 
instala ok pero  no puedo configurar la red




Please write to the spanish list (lists.debian.org).

Por favor, escribe a la lista en español (lists.debian.org)

--

If you don't have a working network you must configure it, see if it was 
detected (lspci).


Si no tienes red debes configurarla primero, ve si está detectada (lspci).


--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
Personal Web Page -- http://olafrv.googlepages.com
--



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




How to tar a file while it's chaging

2009-12-18 Thread Olaf Reitmaier Veracierta
Hi,

In a backup shell script I tar a file but sometimes it's chaging because is
a log file (plain/text).

While taring a get this error (warning) message:

/bin/tar: /var/log/postgresql/postgresql-8.1-main.log: file changed as
we read it

The command return with a non-zero value (an error) but I can't found tar
return codes in man.

¿There is a way to tar a file but ignore if the file is modified or may be a
way to trunk the file?

Thanks.-

-- 
  You don't know where your shadow will fall,
   Somebody.-

 Olaf Reitmaier Veracierta ola...@gmail.com

   http://olafrv.googlepages.com



Re: Looking for a USB Wireless Adapter that supports wpa-supplicant

2009-12-16 Thread Olaf Reitmaier Veracierta



Wayne linux...@gmail.com wrote:

Celejar wrote:

On Wed, 16 Dec 2009 19:41:54 -0500
Wayne linux...@gmail.com linux...@gmail.com wrote:

   As the subject says  I need a USB adapter that works on Debian 
and supports wpa-supplicant.  We are finally able to get a fate 
network connect here in the mountains, using a Verizon MiFi2200 
connection.
The only problem is that all of my USB Wireless adapters are to old 
and don't work with wpa.


   A google search did not help too much.  It looks like 'maybe' a 
Netgear WNDA3100 or a Netgear  WN111v2  would be what I want but I 
don't want to get either one until I know that someone is using it 
on Debian.


Thanks in advance for any/all replies.


I have an AZiO AWU254 (Ver: 1.0) adapter.  From lsusb:

Bus 001 Device 004: ID 148f:2573 Ralink Technology, Corp. RT2501USB 
Wireless Adapter


As you can see, it uses a Ralink chipset, and it is supported by the
in-kernel Ralink driver (rt73usb - non-free firmware, in package
firmware-ralink, required).  I just tested it with an AP running
WPA-PSK, and it works fine.

Mine looks like this one:

http://www.handhelditems.com/azio-80211g-54mbps-wireless-adapter-p-38837.html 



but I have no idea if they're still using the same chipset ...  The
page only mentions WEP, and (of course) doesn't say anything about
linux, but I don't know if the info is reliable.  Caveat emptor.



Thank You Celejar!!!

That look like a winner.  As I have not done the WPA before, I may 
have a few questions for you when I find one.


Many, Many Thanks!

Wayne


Check out these link in that order, surely you will find out an adapter 
(chipset) for you:


http://www.qbik.ch/usb/devices/showdevcat.php?id=16
http://www.qbik.ch/usb/devices/drivers.php
http://www.linux-usb.org/
http://www.linux-drivers.org/

There is a lot to check and multiple choices...

Olaf

--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
Personal Web Page -- http://olafrv.googlepages.com
--



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




Re: Laptop won't resume from suspend to ram

2009-12-16 Thread Olaf Reitmaier Veracierta






Sudev Barar wrote:

  2009/12/16 Adriano Vilela Barbosa adriano.vil...@yahoo.com:
  
  
I'm facing a very annoying problem with Debian testing on my laptop since this past weekend. Basically, the machine won't resume from a suspend to ram (resuming from suspend to disk works fine). It's not just a problem with a blank screen upon resuming; the machine actually gets completely frozen. I can hear the hard disk spinning though. I suspected it could be something to do with the wireless card (as the wireless LED doesn't come on when resuming), so I tried shutting down the network interface and unloading all kernel modules before putting the machine to sleep, but that didn't help. I tried kernels 2.6.30, 2.6.31 and 2.6.32 (the last two from Debian sid) with no luck. Furthermore, I suspect this problem is related to some package upgrade over the last few days, since everything was working just fine until last Friday or Saturday.

  
  [SNIP]

Shot in the dark but may help. Something similar happened when I did a
new install last year on a laptop. Curiously the problem disappeared
when I did a re-install. The only difference was that second time
around I had swap equal/more than RAM. I did not really get down to
investigate real cause.

  

Hi Adriano,

Can you refer to us more info about your laptop hardware?

Sleep/Suspend is diferent from Hibernate. As Barar refers for
hibernate on linux laptops you must have at least SWAP space equal to
RAM size (recomended), depending on your machine resources demand.
Sleep/Suspend problems starts
with acpi daemon, energy save mode for hard disk, wake up on lan and
acpi kernel interface, maybe tunned on grub kernel boot options.

Olaf
-- 
--
   "You don't know where your shadow will fall", 
Somebody.-
------
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 Personal Web Page -- http://olafrv.googlepages.com
--





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



Re: Can't Delete File with Bad Chars

2009-12-16 Thread Olaf Reitmaier Veracierta






Rob Owens wrote:

  On Tue, Dec 15, 2009 at 09:38:42AM -0600, Kent West wrote:
  
  
Chris Jones wrote:


  On Thu, Dec 10, 2009 at 06:04:03PM EST, Kent West wrote:
  
  
  
I've got a TeraStation Pro Network Attached Storage device connected to
a stable Debian box. I'm trying to free up some space by deleting old
backups, but have come across a file with a bad name. I'm smbmounting
the NAS to get to the file structure; I'm not real sure how the NAS
drives are formatted.

When I run "stat [tab key to autocomplete the name]" I get a different
node number often.

wes...@]goshen.acu.edu]:/TERASTATIONBACKUP/RSYNC-BACKUP/home/web/html/mriggs/Archive/Spring
2008/445: stat Tentative\ Schedule\ \?��\ Math\ 445.pdf
  File: `Tentative Schedule ?\307\364 Math 445.pdf'
  Size: 49699 Blocks: 104IO Block: 16384  regular file
Device: 11h/17dInode: 59670244Links: 1
Access: (0766/-rwxrw-rw-)  Uid: (  101/sshd)   Gid: (  100/   users)
Access: 2009-02-20 13:57:10.0 -0600
Modify: 2008-01-23 09:29:06.0 -0600
Change: 2009-02-20 13:57:08.0 -0600

wes...@]goshen.acu.edu]:/TERASTATIONBACKUP/RSYNC-BACKUP/home/web/html/mriggs/Archive/Spring
2008/445: stat Tentative\ Schedule\ \?��\ Math\ 445.pdf
stat: cannot stat `Tentative Schedule ?\307\364 Math 445.pdf': No such
file or directory

(The second attempt was just to recall my history with the up arrow; I
have to fill in the stat command with the TAB key to get any data.)

Then I tried to delete the file with some magic I found via Google:


wes...@]goshen.acu.edu]:/TERASTATIONBACKUP/RSYNC-BACKUP/home/web/html/mriggs/Archive/Spring
2008/445: find . -inum 59670414 -exec rm -i {} \;
rm: remove regular file `./Tentative Schedule ?\307\364 Math 445.pdf'? y
rm: cannot remove `./Tentative Schedule ?\307\364 Math 445.pdf': No such
file or directory

Then I try the stat command again, and find the inode number has changed:

wes...@]goshen.acu.edu]:/TERASTATIONBACKUP/RSYNC-BACKUP/home/web/html/mriggs/Archive/Spring
2008/445: stat Tentative\ Schedule\ \?��\ Math\ 445.pdf
  File: `Tentative Schedule ?\307\364 Math 445.pdf'
  Size: 49699 Blocks: 104IO Block: 16384  regular file
Device: 11h/17dInode: 59670677Links: 1
Access: (0766/-rwxrw-rw-)  Uid: (  101/sshd)   Gid: (  100/   users)
Access: 2009-02-20 13:57:10.0 -0600
Modify: 2008-01-23 09:29:06.0 -0600
Change: 2009-02-20 13:57:08.0 -0600


Any suggestions as to how I can delete this file?


  

  
  I missed the beginning of this thread, so maybe this has already been
suggested...

Try putting quotes around the filename.

rm "Tentative Schedule ? Math 445"

-Rob


  

apt-get install mc
mc
press F8 over the rare file name
done!!!

Olaf.
-- 
--
   "You don't know where your shadow will fall", 
Somebody.-
------
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 Personal Web Page -- http://olafrv.googlepages.com
--





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



Re: Is apt-get still the cool package installer?

2009-12-16 Thread Olaf Reitmaier Veracierta



sys49...@hushmail.com wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'll look into aptitude and synaptic.  I knew there were other
comand line tools, but couldn't remember the names.

apt-get has become very annoying lately.  It seems that it can't
handle dependencies as well, leaving me to install software by hand
with 'dpkg -i'.  Sometimes, it can't even find the package at all.

Now it wants me to 'apt-get autoremove' telling me that The
following packages were automatically installed and are no longer
required: and then provides a long list containing predominately
packages that I use on a daily basis.  It looks like apt-get is
daring me to hose my system.

I just want to find something better.  I have nothing against dpkg
other than that I have to resolve the dependency issues myself.  I
still run apt-get update to make sure security patches are in
place; I do wish that it was the tool I remembered it being years
ago.


Thanks for the tips!
On Mon, 14 Dec 2009 19:24:36 -0600 Celejar cele...@gmail.com
wrote:
  

On Mon, 14 Dec 2009 17:13:22 -0800
John Jason Jordan joh...@comcast.net wrote:



On Mon, 14 Dec 2009 18:21:34 -0600
sys49...@hushmail.com dijo:
  

...



For several years, I have enjoyed apt-get as a very powerful
software install tool that doesn't require a mouse, but I have


been


finding it increasingly problematic over the past year or so.


I am


beginning to suspect that apt-get is becoming aged and


neglected.


Is there a newer/more modern package tool that has been getting
more development attention that I should be using instead?


...



But all the people in the know about Debian tell me I should be
  

using aptitude.


I suppose I should switch, but that would require learning new
  

stuff. After a


graduate degree my brain is full, so if I learn new stuff I'll
  

have to delete


some of the old stuff. Bah.
  

Note that aptitude is the preferred program for package
management


from console both for package installations and package or system
  

upgrades.

http://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html#s-
aptitude

Celejar
--
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom
aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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


-BEGIN PGP SIGNATURE-
Charset: UTF8
Version: Hush 3.0
Note: This signature can be verified at https://www.hushtools.com/verify

wpwEAQMCAAYFAksoGvsACgkQ4ehG49WjwSp2VgP+OfgMvxl5NadkcTp3YrDPvkthPl3P
PQ60e8ghT/KRyr5Wlov9FDYNDoVlvIu3/DZslEwUDViJnvmAkOAbbWSKd5tFtobUdOcP
b+bRGaU6mgoEnCS65slArKQ1fas5ZApHfaH1Nox7jzH8/Gyeg7mmBym6ooO3kKrZ/VGP
QENIGmw=
=TRc1
-END PGP SIGNATURE-


  


It is important to understand that the higher level package management 
tools such as |aptitude| or |dselect| rely on |apt| which, itself, 
relies on |dpkg| to manage the packages in the system.


As referd by Cellejar lookin on:

http://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html

--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
Personal Web Page -- http://olafrv.googlepages.com
--



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




Re: Problem installing libglu1-mesa-dev

2009-12-16 Thread Olaf Reitmaier Veracierta



Daniel Lidström wrote:

(I've sent this mail to ubuntu-users as well, but have not got a reply yet.)

Hi,

how do I resolve this error?

hen...@henriklaptop:~$ sudo apt-get install libglu1-mesa-dev
[sudo] password for henrik: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
  libglu1-mesa-dev: Depends: libglu1-mesa (= 7.4-0ubuntu3.2) but 7.4-0ubuntu3.3 
is to be installed
E: Broken packages
hen...@henriklaptop:~$ dpkg -l libglu1-mesa libglu1-mesa-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  libglu1-mesa   7.4-0ubuntu3.3 The OpenGL utility 
library (GLU)
No packages found matching libglu1-mesa-dev.

I am using Ubuntu 9.04, X86. Do I need to provide more information to get help 
here?

Thanks in advance!

Regards,

Daniel Lidstrom
Stockholm, Sweden


  

Download the package from http://packages.ubuntu.com/es/karmic/libglu1-mesa

Install with dpkg -i --force-depends-version 
libglu1-mesa_7.6.0-1ubuntu4_i386.deb


man dpkg
/force-things
Warning: These options are mostly intended to be used  by
 experts  only.  Using  them  without  fully understanding
 their effects may break your whole system.


Olaf.

--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
Personal Web Page -- http://olafrv.googlepages.com
--



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




Re: Can't Delete File with Bad Chars

2009-12-16 Thread Olaf Reitmaier Veracierta



Rob Owens wrote:

On Tue, Dec 15, 2009 at 09:38:42AM -0600, Kent West wrote:
  

Chris Jones wrote:


On Thu, Dec 10, 2009 at 06:04:03PM EST, Kent West wrote:
  
  

I've got a TeraStation Pro Network Attached Storage device connected to
a stable Debian box. I'm trying to free up some space by deleting old
backups, but have come across a file with a bad name. I'm smbmounting
the NAS to get to the file structure; I'm not real sure how the NAS
drives are formatted.

When I run stat [tab key to autocomplete the name] I get a different
node number often.

wes...@]goshen.acu.edu]:/TERASTATIONBACKUP/RSYNC-BACKUP/home/web/html/mriggs/Archive/Spring
2008/445: stat Tentative\ Schedule\ \?��\ Math\ 445.pdf
  File: `Tentative Schedule ?\307\364 Math 445.pdf'
  Size: 49699 Blocks: 104IO Block: 16384  regular file
Device: 11h/17dInode: 59670244Links: 1
Access: (0766/-rwxrw-rw-)  Uid: (  101/sshd)   Gid: (  100/   users)
Access: 2009-02-20 13:57:10.0 -0600
Modify: 2008-01-23 09:29:06.0 -0600
Change: 2009-02-20 13:57:08.0 -0600

wes...@]goshen.acu.edu]:/TERASTATIONBACKUP/RSYNC-BACKUP/home/web/html/mriggs/Archive/Spring
2008/445: stat Tentative\ Schedule\ \?��\ Math\ 445.pdf
stat: cannot stat `Tentative Schedule ?\307\364 Math 445.pdf': No such
file or directory

(The second attempt was just to recall my history with the up arrow; I
have to fill in the stat command with the TAB key to get any data.)

Then I tried to delete the file with some magic I found via Google:


wes...@]goshen.acu.edu]:/TERASTATIONBACKUP/RSYNC-BACKUP/home/web/html/mriggs/Archive/Spring
2008/445: find . -inum 59670414 -exec rm -i {} \;
rm: remove regular file `./Tentative Schedule ?\307\364 Math 445.pdf'? y
rm: cannot remove `./Tentative Schedule ?\307\364 Math 445.pdf': No such
file or directory

Then I try the stat command again, and find the inode number has changed:

wes...@]goshen.acu.edu]:/TERASTATIONBACKUP/RSYNC-BACKUP/home/web/html/mriggs/Archive/Spring
2008/445: stat Tentative\ Schedule\ \?��\ Math\ 445.pdf
  File: `Tentative Schedule ?\307\364 Math 445.pdf'
  Size: 49699 Blocks: 104IO Block: 16384  regular file
Device: 11h/17dInode: 59670677Links: 1
Access: (0766/-rwxrw-rw-)  Uid: (  101/sshd)   Gid: (  100/   users)
Access: 2009-02-20 13:57:10.0 -0600
Modify: 2008-01-23 09:29:06.0 -0600
Change: 2009-02-20 13:57:08.0 -0600


Any suggestions as to how I can delete this file?



I missed the beginning of this thread, so maybe this has already been
suggested...

Try putting quotes around the filename.

rm Tentative Schedule ? Math 445

-Rob


  

apt-get install mc
mc
press F8 over the rare file name
done!!!

Olaf.

--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
Personal Web Page -- http://olafrv.googlepages.com
--



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




Re: Problem installing libglu1-mesa-dev

2009-12-16 Thread Olaf Reitmaier Veracierta



Daniel Lidström wrote:

(I've sent this mail to ubuntu-users as well, but have not got a reply yet.)

Hi,

how do I resolve this error?

hen...@henriklaptop:~$ sudo apt-get install libglu1-mesa-dev
[sudo] password for henrik: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies.
  libglu1-mesa-dev: Depends: libglu1-mesa (= 7.4-0ubuntu3.2) but 7.4-0ubuntu3.3 
is to be installed
E: Broken packages
hen...@henriklaptop:~$ dpkg -l libglu1-mesa libglu1-mesa-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  libglu1-mesa   7.4-0ubuntu3.3 The OpenGL utility 
library (GLU)
No packages found matching libglu1-mesa-dev.

I am using Ubuntu 9.04, X86. Do I need to provide more information to get help 
here?

Thanks in advance!

Regards,

Daniel Lidstrom
Stockholm, Sweden


  

Download the package from http://packages.ubuntu.com/es/karmic/libglu1-mesa

Install with dpkg -i --force-depends-version 
libglu1-mesa_7.6.0-1ubuntu4_i386.deb


man dpkg
/force-things
   Warning: These options are mostly intended to be used  by
experts  only.  Using  them  without  fully understanding
their effects may break your whole system.


Olaf.

--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
Personal Web Page -- http://olafrv.googlepages.com
--



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




Re: Is apt-get still the cool package installer?

2009-12-16 Thread Olaf Reitmaier Veracierta



Celejar wrote:

On Mon, 14 Dec 2009 17:13:22 -0800
John Jason Jordan joh...@comcast.net wrote:

  

On Mon, 14 Dec 2009 18:21:34 -0600
sys49...@hushmail.com dijo:



...

  

For several years, I have enjoyed apt-get as a very powerful
software install tool that doesn't require a mouse, but I have been
finding it increasingly problematic over the past year or so.  I am
beginning to suspect that apt-get is becoming aged and neglected.
Is there a newer/more modern package tool that has been getting
more development attention that I should be using instead?
  


...

  

But all the people in the know about Debian tell me I should be using aptitude.
I suppose I should switch, but that would require learning new stuff. After a
graduate degree my brain is full, so if I learn new stuff I'll have to delete
some of the old stuff. Bah.



Note that aptitude is the preferred program for package management
from console both for package installations and package or system
upgrades.

http://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html#s-aptitude

Celejar
  


It is important to understand that the higher level package management 
tools such as |aptitude| or |dselect| rely on |apt| which, itself, 
relies on |dpkg| to manage the packages in the system.


As referd by Cellejar lookin on:

http://www.debian.org/doc/manuals/debian-faq/ch-pkgtools.en.html

--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
Personal Web Page -- http://olafrv.googlepages.com
--



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




Re: Laptop won't resume from suspend to ram

2009-12-16 Thread Olaf Reitmaier Veracierta



Sudev Barar wrote:

2009/12/16 Adriano Vilela Barbosa adriano.vil...@yahoo.com:
  

I'm facing a very annoying problem with Debian testing on my laptop since this 
past weekend. Basically, the machine won't resume from a suspend to ram 
(resuming from suspend to disk works fine). It's not just a problem with a 
blank screen upon resuming; the machine actually gets completely frozen. I can 
hear the hard disk spinning though. I suspected it could be something to do 
with the wireless card (as the wireless LED doesn't come on when resuming), so 
I tried shutting down the network interface and unloading all kernel modules 
before putting the machine to sleep, but that didn't help. I tried kernels 
2.6.30, 2.6.31 and 2.6.32 (the last two from Debian sid) with no luck. 
Furthermore, I suspect this problem is related to some package upgrade over the 
last few days, since everything was working just fine until last Friday or 
Saturday.


[SNIP]

Shot in the dark but may help. Something similar happened when I did a
new install last year on a laptop. Curiously the problem disappeared
when I did a re-install. The only difference was that second time
around I had swap equal/more than RAM. I did not really get down to
investigate real cause.

  

Hi Adriano,

Can you refer to us more info about your laptop hardware?

Sleep/Suspend is diferent from Hibernate.  As Barar refers for hibernate 
on linux laptops you must have at least SWAP space equal to RAM size 
(recomended), depending on your machine resources demand.  Sleep/Suspend 
problems starts with acpi daemon, energy save mode for hard disk, wake 
up on lan and acpi kernel interface, maybe tunned on grub kernel boot 
options.


Olaf

--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
Personal Web Page -- http://olafrv.googlepages.com
--



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




Re: Looking for a USB Wireless Adapter that supports wpa-supplicant

2009-12-16 Thread Olaf Reitmaier Veracierta



Wayne linux...@gmail.com wrote:

Celejar wrote:

On Wed, 16 Dec 2009 19:41:54 -0500
Wayne linux...@gmail.com linux...@gmail.com wrote:

   As the subject says  I need a USB adapter that works on Debian 
and supports wpa-supplicant.  We are finally able to get a fate 
network connect here in the mountains, using a Verizon MiFi2200 
connection.
The only problem is that all of my USB Wireless adapters are to old 
and don't work with wpa.


   A google search did not help too much.  It looks like 'maybe' a 
Netgear WNDA3100 or a Netgear  WN111v2  would be what I want but I 
don't want to get either one until I know that someone is using it 
on Debian.


Thanks in advance for any/all replies.


I have an AZiO AWU254 (Ver: 1.0) adapter.  From lsusb:

Bus 001 Device 004: ID 148f:2573 Ralink Technology, Corp. RT2501USB 
Wireless Adapter


As you can see, it uses a Ralink chipset, and it is supported by the
in-kernel Ralink driver (rt73usb - non-free firmware, in package
firmware-ralink, required).  I just tested it with an AP running
WPA-PSK, and it works fine.

Mine looks like this one:

http://www.handhelditems.com/azio-80211g-54mbps-wireless-adapter-p-38837.html 



but I have no idea if they're still using the same chipset ...  The
page only mentions WEP, and (of course) doesn't say anything about
linux, but I don't know if the info is reliable.  Caveat emptor.



Thank You Celejar!!!

That look like a winner.  As I have not done the WPA before, I may 
have a few questions for you when I find one.


Many, Many Thanks!

Wayne


Check out these link in that order, surely you will find out an adapter 
(chipset) for you:


http://www.qbik.ch/usb/devices/showdevcat.php?id=16
http://www.qbik.ch/usb/devices/drivers.php
http://www.linux-usb.org/
http://www.linux-drivers.org/

There is a lot to check and multiple choices...

Olaf

--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
Personal Web Page -- http://olafrv.googlepages.com
--



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




Re: LVM on LUKS

2009-08-31 Thread Olaf Reitmaier Veracierta

Please, you have to be more specific about the problem you are suffering.

There is a bug in fresh installs of lenny upgrade 5.01:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=515839

Solution:
1.- Restart the machine.
2.- In the GRUB press  'e' to edit the boot line which is failing (vmlinuz).
3.- At the end of the line put rootdelay=9 and press escape.
4.- Then press 'b' to boot.
5.- After reboot edit the /boot/grub/menu.lst to make permanent this 
options.


In the busybox console (initramfs) type this command:

   |lvm vgchange -a y volume group name|
   |exit|

I hope it can help you and other, it works for me.

PierPaolo wrote:

so... it is... ubuntu better than debian??? pleease, no!

it's all day long i'm trying to set up lvm2 on top of luks properly on 
a fresh installed debian/lenny. previously i had this done in 
kubuntu9, then i try gentoo (aaagh!),, then i return to my beloved 
debian, but...


that's another machine, so i cannot post very much of mi findings, not 
too much at all however


someone accomplished this task? or, is this possible right now in 
debian? do i have to sadly fallback on ubuntu?!


i collected these bugs... am i on the right way?
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=381351
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=450762
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544487

thanks, i appreciate very much your suggestions



--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
Personal Web Page -- http://olafrv.googlepages.com
--




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




Re: Instalación personalizada

2009-08-22 Thread Olaf Reitmaier Veracierta
Espero te sirva este Link, con mucho de este manual se construyo 
GNU/Linux Canaima una version de Debian:


http://www.scribd.com/doc/2096797/Construyendo-una-distribucion-Debian-adaptada

PD: Va sin acentos.-

Galileo Galilei wrote:

Buenas. Para una instalación personalizada de Debian topo en lo
siguiente:
1)¿Cómo se llaman los paquetes que debo instalar para que al meter un
cd/dvd lo reconozca en forma automática?

2)¿Cómo se llaman los paquetes que debo instalar para que al meter un
pendrive en un puerto usb, el sistema lo reconozca automáticamente?

Muchas gracias


  


--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
Personal Web Page -- http://olafrv.googlepages.com
--



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



Re: Bash - Readline in nested whiles?

2009-03-08 Thread Olaf Reitmaier Veracierta

Olaf Reitmaier Veracierta wrote:

Mike Bird wrote:

On Sat March 7 2009 19:48:30 Olaf Reitmaier Veracierta wrote:
  

cat list.txt
a
b

while read r; do echo $r; done   list.txt;
a
b

x=0; while read r; do while [ $x -lt 3 ]; do let x=$x+1; echo $r; done;
done   lista.txt ;
a
a

Why not the output is? Can't be nested while when reading line?
a
a
a
b
b
bi

Any comment will be preciated.



while read r; do x=0; while [ $x -lt 3 ]; do let x=$x+1; echo $r; done;
done   list.txt

--Mike Bird


  

Ok, fine Mike Bird.

But ... the real problem is bellow... and is not resolved with x=0 
within nested while...


I mean the tries=0 bellow...

cat minutly.txt
# OCTOPUS_SMS_RF 2009-03-08 12:03:07
2 1
8 2

instance=1
while read line
do
echo $line
if [ ! -z $line ]  [ `echo $line | grep 
OCTOPUS_SMS_RF | wc -l` -eq 0 ]

then
field1=`echo $line | cut -d  -f 1`
field2=`echo $line | cut -d  -f 2`
script=i${instance}m${field1}p${field2}.sh
rm -f $script   
tries=0   
while [ ! -f $script ]  [ $tries -lt 3 ]

do
wget 
$url?action=gsinstance=$instancemonitor=$field1parameter=$field2 -O 
$script

if [ $? -eq 0 ]
then
tries=3
else
let tries=$tries+1
fi
done
fii
done  minutly.txt

The ouput is...

# OCTOPUS_SMS_RF 2009-03-08 12:03:07
2 1
--2009-03-08 00:47:07--  
http://localhost/octopus/client.php?action=gsinstance=1monitor=2parameter=1

Resolving localhost... 127.0.0.1, ::1
Connecting to localhost|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 322 [text/html]
Saving to: `i1m2p1.sh'

100%[==] 322 --.-K/s   in 0s 


2009-03-08 00:47:07 (24.4 MB/s) - `i1m2p1.sh' saved [322/322]

I can to a better code with | | | |  but I don't understand why is 
doesn't work with nested whiles...




Hi Mike, thanks for your help.

I solved the problem... zooming on what cause exit the cycle and I found 
that there were accidentally some comparison depending on a nonexistent 
file ( if [ `cat ... ) because of this the silent fail the while exited.


Here is the new code ... with wget --tries= ...

while read line
do
  if [ `echo $line | grep OCTOPUS_SMS_RF | wc -l` -eq 0 ]; then
field1=`echo $line | cut -d  -f 1`
field2=`echo $line | cut -d  -f 2`
script=i${instance}m${field1}p${field2}.sh
rm -f $script
wget --tries=3 
$url?action=gsinstance=$instancemonitor=$field1parameter=$field2 -O 
$script
if [ ! -e $script ] || [ `cat ${script} | grep OCTOPUS_SMS_RF | wc 
-l` -eq 2 ]; then

   echo CLIENT: Error can't wget ${script}.
   mail -s OCTOPUS [ERROR] - $HOSTNAME - wget ${script} 
$OCTOPUS_MAIL  ${script}	

fi
  fi
done  ${frequency}.txt

Regards.

--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
--


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




Bash - Readline in nested whiles?

2009-03-07 Thread Olaf Reitmaier Veracierta


cat list.txt
a
b

while read r; do echo $r; done   list.txt;
a
b

x=0; while read r; do while [ $x -lt 3 ]; do let x=$x+1; echo $r; done; 
done   lista.txt ;

a
a

Why not the output is? Can't be nested while when reading line?
a
a
a
b
b
b

Any comment will be preciated.




--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
http://olafrv.googlepages.com (Personal Webpage)
--



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




Re: Hablemos de Debian

2009-03-02 Thread Olaf Reitmaier Veracierta

Mauro Silva wrote:

No deberian olvidar que estar a favor del software libre es una posicion politica sobre 
como queremos que sean las cosas en nuestra realidad. A los que no se ocupaban de la 
politica los griegos los llamaban idiotas, chequeen el significado 
etimologico de la palabra.

ref: http://es.wikipedia.org/wiki/Idiota

Es saludable para cualquier poblacion que no quiera seguir siendo 
tercermundista, toque temas referidos a la politica, porque todo lo que hacemos 
en nuestra vida cuando interactuamos en la sociedad, son decisiones politicas y 
posturas politicas que no tienen que ver con lo partidario.

Sin embargo la lista es mas bien tecnica y no a todos les interese los temas 
locales de nuestros respectivos paises, si fuera asi la lista se saturaria de 
mensajes alejandose del objetivo.

Saludos!



  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


  
Cierto, pero un griego diría hoy, no es una paradoja que muchos de los 
políticos sean idiotas y viceversa?.


No se como se le llamaría a la gente que se dedica tanto a la política 
que se olvida de la técnica.


O aquel que se vuelve un fanático insufrible cuando habla de política, y 
se olvida de la racionalidad, aspecto clave de una posición política.


La política surgió para resolver los problemas de los idiotas y 
políticos, no para hacer que los idiotas sean más idiotas.


En lo personal creo que no es político hablar idioteces en una lista de 
Debian.


Saludos.-

--
--
  You don't know where your shadow will fall, 
   Somebody.-

--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
http://olafrv.googlepages.com (Personal Webpage)
--



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



Re: Hablemos de Debian

2009-03-02 Thread Olaf Reitmaier Veracierta




Mauro Silva wrote:

  
  
  
Cierto, pero un griego dira hoy, no es una paradoja que
muchos de los polticos sean idiotas y viceversa?.

  
  

[***] No es ninguna paradoja, mas teniendo gente obviamente mas idiota que los vota porque no se compromete ni entiende nada.
  

De ver que tu no votas, si votaste tu presidente es lo mejor o estas
acongojados porque no consigues a alguien que te cuadre y gane, sino
creo que te veras entre esos a los que llamas idiotas que los votan.

  
  
  
No se como se le llamara a la gente que se dedica tanto a
la poltica que se olvida de la tcnica.

  
  

[***] No tiene un nombre, eso ahora es una profesion, asi como el que se dedica mucho a tecnico es un tecnico. Ahora si te puedo decir que el que se preocupa solo por lo tecnico, es un tecnocrata. Otra de las aclaraciones al respecto, es que lo tecnico esta muy avanzado pero en lo social y en lo politico aun estamos en la epoca de las cavernas.

  

No creo que esa sea la acepcin de tecncrata ni tecnocracia...
http://es.wikipedia.org/wiki/Tecnocracia_(burocracia)

  
  
O aquel que se vuelve un fantico insufrible cuando habla
de poltica, y se olvida de la racionalidad, aspecto clave
de una posicin poltica.

  
  

[***] Veo que tenes cero idea de lo que es politica, deberias comenzar a informarte, la racionalidad nunca deberia estar lejos de la politica, la politica es un instrumento, el uso que se le de sea racional o no, es otra historia.
  

Quieres leer un buen libro sobre poltica te recomiendo "Poltica para
Amador" esta al nivel de prepotentes afirmaciones como la anterior.

  
  
  
La poltica surgi para resolver los problemas de los
idiotas y polticos, no para hacer que los idiotas sean
ms idiotas.

  
  
[***] No surgio por eso, surgio para intentar resolver los problemas tanto economicos como sociales. Idiotas eran los que no se ocupaban de la politica. Si los idiotas son mas idiotas, deberian reeplantearse el hecho de ser tan tan idiotas, eso se puede modificar.

  

Nunca dije cules problemas... tal como dices... los problemas de
todos... de los idiotas, lo polticos, entre otros.

  
  
En lo personal creo que no es poltico hablar idioteces en
una lista de Debian.

  
  

[***]No se a que te referis con eso y veo que no tenes claro los conceptos, lee los mails, luego lee libros y despues volve.
  

Yo empece esta discusin porque le los mail, en especial uno psimo
que se col y aproveche la oportunidad para hablar del tema.

Tambin entend hacer mucho tiempo para que son las listas de Debian.

Leo y hablo de poltica, y hablo de esto porque creo en la poltica del
software libre, pero ya no deseo discutir, me gusta ser diplomtico.

Salut!!!

  
Saludos!

  
  
Saludos.-

--
--
  "You don't know where your shadow will
fall",Somebody.-
--
Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
http://olafrv.googlepages.com (Personal Webpage)   
--


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

  
  

  Yahoo! Cocina
Recetas prcticas y comida saludable
http://ar.mujer.yahoo.com/cocina/

  


-- 
--
   "You don't know where your shadow will fall", 
Somebody.-
------
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
--





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



Re: Hablemos de Debian

2009-03-02 Thread Olaf Reitmaier Veracierta






Javier wrote:

  Olaf Reitmaier Veracierta escribi:
  
  
Mauro Silva wrote:


  No deberian olvidar que estar a favor del software libre es una
posicion politica sobre como queremos que sean las cosas en nuestra
realidad. A los que no se ocupaban de la politica los griegos los
llamaban "idiotas", chequeen el significado etimologico de la palabra.

ref: http://es.wikipedia.org/wiki/Idiota

Es saludable para cualquier poblacion que no quiera seguir siendo
tercermundista, toque temas referidos a la politica, porque todo lo
que hacemos en nuestra vida cuando interactuamos en la sociedad, son
decisiones politicas y posturas politicas que no tienen que ver con lo
partidario.

Sin embargo la lista es mas bien tecnica y no a todos les interese los
temas locales de nuestros respectivos paises, si fuera asi la lista se
saturaria de mensajes alejandose del objetivo.

Saludos!



  Yahoo! Cocina
Recetas prcticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


  
  

Cierto, pero un griego dira hoy, no es una paradoja que muchos de los
polticos sean idiotas y viceversa?.

No se como se le llamara a la gente que se dedica tanto a la poltica
que se olvida de la tcnica.

O aquel que se vuelve un fantico insufrible cuando habla de poltica, y
se olvida de la racionalidad, aspecto clave de una posicin poltica.

La poltica surgi para resolver los problemas de los idiotas y
polticos, no para hacer que los idiotas sean ms idiotas.

En lo personal creo que no es poltico hablar idioteces en una lista de
Debian.

Saludos.-


  
  
Porqu no dejan ya de decir "vamos a dejar de hablar de poltica en la
lista", y realmente dejan de hacer lo que dicen que van a dejar de hacer?

Los que han hablado de poltica hace tiempo ya que se cayaron. Ahora son
ustedes los que molestan.

Saludos.


  

Cierto, es que como siempre la poli despierta pasiones, mis disculpas.

Salut!!!
-- 
--
   "You don't know where your shadow will fall", 
Somebody.-
------
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
--





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



Hablemos de Debian

2009-03-01 Thread Olaf Reitmaier Veracierta

Buenas Tardes a Todos,

Hablemos de Debian y NO de politica.

Veo con tristeza como en esta lista se desvia de sus propositos,
a diferencia de otras listas que no estan en nuestro idioma.

Esta lista no se llama debian-and-politics, y mucho menos, 
debian-and-politics-in-spanish.


Lamento decirles que parte del atraso de la gente esta en su ignorancia 
y falta de sentido comun, asi que, latinos saquemonos ese mal interno 
que llevamos dentro de seguir en el atraso 3er mundista del que tanto 
nos quejamos, pero seguimos promoviendo con nuestras actitudes.


Se debe a este tipo de detalles, por los cuales, en ves de estar 
haciendo un sistema operativo como Debian estamos perdiendo el tiempo en 
otros temas que no vienen al caso.


Seguimos tratando de entender matematicas en la clase de historia y 
viceversa, por favor, zapatero a sus zapatos...


PD: Va sin acentos.-

Saludos.-

--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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



Hablemos de Debian - FE DE ERRATA

2009-03-01 Thread Olaf Reitmaier Veracierta

Donde dice en esta lista debe decir esta lista.
Donde dice ves debe decir vez.

Lamento haber tenido que decir estas palabras.

PD: Va sin acentos.-

Saludos.-

Olaf Reitmaier Veracierta wrote:

Buenas Tardes a Todos,

Hablemos de Debian y NO de politica.

Veo con tristeza como en esta lista se desvia de sus propositos,
a diferencia de otras listas que no estan en nuestro idioma.

Esta lista no se llama debian-and-politics, y mucho menos, 
debian-and-politics-in-spanish.


Lamento decirles que parte del atraso de la gente esta en su ignorancia 
y falta de sentido comun, asi que, latinos saquemonos ese mal interno 
que llevamos dentro de seguir en el atraso 3er mundista del que tanto 
nos quejamos, pero seguimos promoviendo con nuestras actitudes.


Se debe a este tipo de detalles, por los cuales, en ves de estar 
haciendo un sistema operativo como Debian estamos perdiendo el tiempo en 
otros temas que no vienen al caso.


Seguimos tratando de entender matematicas en la clase de historia y 
viceversa, por favor, zapatero a sus zapatos...


PD: Va sin acentos.-

Saludos.-



--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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



Re: Hablemos de Debian

2009-03-01 Thread Olaf Reitmaier Veracierta
Ciertamente no debo generalizar y rebajarme como aquellos que crean esas 
verdaderas batallas.


Me gustaria cerrar el tema con esta frase:

La verdadera batalla es hacer mas y mejor software libre.

PD: Va sin acentos.

Saludos.-

Felix Perez wrote:

El día 1 de marzo de 2009 18:48, Olaf Reitmaier Veracierta
ola...@gmail.com escribió:

Buenas Tardes a Todos,

Hablemos de Debian y NO de politica.

Veo con tristeza como en esta lista se desvia de sus propositos,
a diferencia de otras listas que no estan en nuestro idioma.


Cuales listas, se han dado verdaeras batallas en casi todas ellas.


Esta lista no se llama debian-and-politics, y mucho menos,
debian-and-politics-in-spanish.

Lamento decirles que parte del atraso de la gente esta en su ignorancia y
falta de sentido comun, asi que, latinos saquemonos ese mal interno que
llevamos dentro de seguir en el atraso 3er mundista del que tanto nos
quejamos, pero seguimos promoviendo con nuestras actitudes.


Habla por ti mismo, que quienes han respondido son de todo el mundo de
habla hispana, asi que por favor no generalices.


Se debe a este tipo de detalles, por los cuales, en ves de estar haciendo un
sistema operativo como Debian estamos perdiendo el tiempo en otros temas que
no vienen al caso.


de acuerdo.


Seguimos tratando de entender matematicas en la clase de historia y
viceversa, por favor, zapatero a sus zapatos...


ok.


PD: Va sin acentos.-







--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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



Re: [OT] Línea de comandos

2009-02-28 Thread Olaf Reitmaier Veracierta

Ciertamente en...

for a in `find . -type f -name *.htm*`; do if [ `cat $a | grep body 
| wc -l` -gt 1 ]; then echo $a; fi; done


Deberia ser -gt 0, es decir, que tenga al menos 1 linea body o mas...

El hecho no usar find... es para resaltar el hecho de que no
es necesario hacer lineas cripticas con | que utiliza la eficiencia
y el poder funcional de los descriptores de archivos.

Si no tambien aquellos que estan acostumbrados a la programacion 
imperativa y desconocen todos los comandos pueden valerse de tecnicas 
mas tradicionales como los bucles aunque no sean las mas eficientes.


Un ejemplo mas sencillo es ver la diferencia entre:

ps -edf | grep juan | awk '{print $2}' | xargs kill -9

y el comando usual sin necesidad de |:

pkill -u juan

Programar es usar tu imaginacion al escribir,
no memorizar todos los comandos, pues,
a veces el comando que buscas no existe
y debes hacerlo tu mismo, lo cual, tampoco
significa que debas inventar la rueda.

Saludos.


Carmen Marcela Alegria C. wrote:



--- El vie 27-feb-09, Rodrigo Gallardo rodr...@nul-unu.com escribió:


De:: Rodrigo Gallardo rodr...@nul-unu.com
Asunto: Re: [OT] Línea de comandos
A: debian-user-spanish@lists.debian.org
Fecha: viernes, 27 febrero, 2009, 9:41 am
On Fri, Feb 27, 2009 at 10:55:59AM -0300, Pablo Jiménez
wrote:

On Fri, Feb 27, 2009 at 03:52:15AM -0200, Mauro Lizaur

wrote:

On Fri, 27 Feb 2009, Olaf Reitmaier Veracierta

wrote:

   De acuerdo,

   5 ineditos pero utiles...

   5.- Buscar que archivos *.htm

contienen las frase o palabra palabra

   body en el directorio actual

-type f -name *.htm`; do

if [ `cat $a | grep body | wc

   -l` -gt 1 ]; then echo $a; fi; done


pero no es mas facil asi?:

grep body *.htm* -R|cut -d':' -f1|uniq 

Te ahorras el uso de cut con el mismo grep:

$ grep -ilR body *.htm*

Y con find es aún más poderoso:

$ find . -type f -iname *.htm* -exec grep

-il body {} \;

Pero así ejecutas un grep por archivo, lo cual es lento.
Mejor:

 $ find . -type f -iname '*.htm*' -print0 | xargs
-0 grep -il body

El -print0 por si alguno de los nombres contiene espacios,
bastante
común en directorios en los que probablemente ha actuado
un diseñador
con sus herramientas de windows.



Esta bien interesante el tema, a mi me gusta mucho el poder de la linea de 
comando ;)

Esta es mi aportacion:


1) for a in `find . -type f -name *.htm*`; do if [ `cat $a | grep body | wc 
-l` -gt 1 ]; then echo $a; fi; done

 funciona, pero creo que esta mal hecho en algunos puntos; por ejemplo, el cat es innecesario, ya que el grep usa como argumentos el patron y file's. 



  grep -i body  $a  es mejor que hacer  cat $a | grep body eso debido a que no usas un | y asi te ahorras un proceso 


despues en el if creo que es bueno hacer la comparacion, pero no entiendo 
porque tiene que ser el operador 'gt 1' porque eso ya estaria dando algo que me 
parece erroneo. Es decir tengo un archivo con 2 lineas body, no lo imprime, 
porque?

lo...@debian:~/Desktop$ for a in `find . -type f -name *.htm*`; do if [ `cat $a | grep 
body | wc -l` -gt 1 ]; then echo $a; fi; done
./SAN/Curso-SAN/dsm_sim/deploy/index.html
./SAN/Curso-SAN/dsm_sim/deploy/start.html
./SAN/Curso-SAN/dsm_sim/starter_page.html
./Desktop.html

lo...@debian:~/Desktop$ find . -type f -iname '*.htm*' -print0 | xargs -0 grep 
-il body
./maraha_nessus/index.html
./maraha_nessus/172_16_29_227/index.html
./SAN/Curso-SAN/dsm_sim/deploy/index.html
./SAN/Curso-SAN/dsm_sim/deploy/start.html
./SAN/Curso-SAN/dsm_sim/deploy/content/assessment/index.html
./SAN/Curso-SAN/dsm_sim/starter_page.html
./Desktop.html
./EULA/EULA-ja_JP.html
./EULA/EULA-en_US.html

lo...@debian:~/Desktop$ grep -i body ./EULA/EULA-ja_JP.html
BODY LANG=ja-JP DIR=LTR
/BODY


2) grep -ilR body *.htm*

  De este creo que el real problema es que si es recursivo pero no tanto como 
el find

3) find . -type f -iname '*.htm*' -print0 | xargs -0 grep -il body es bueno, 
pero es realmente necesario que se haga otro proceso por el | para hacerle el 
grep? no seria mejor hacer:

find . -type f -iname '*.htm*' -print0  -exec grep -il body {} \;


Saludos,

Marcela Alegria



__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 





--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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



Re: Unico mensaje

2009-02-28 Thread Olaf Reitmaier Veracierta

Hola,

Si usas Mozilla Thunderbird, Icedove o Gmail puedes ver las 
conversaciones por hilos.


Particularmente estoy usando la vista por hilos de Icedove.

Saludos.-

Mauro Lizaur wrote:

On Fri, 27 Feb 2009, Jose Miguel de los Reyes wrote:


Buenas noches a todos,

Una pregunta, ¿cómo puedo hacer para que me lleguen todos los mensajes en un 
único email? Ahora mismo me llegan todos los mensajes de golpe y es 
prácticamente imposible seguir un orden... ¿alguna idea?

Gracias!

JM.



Normalmente las listas tienen un -digest, que es justo lo que vos buscas 
(el resumen de todos los mails), pero esta lista no lo tiene.

Creo que la alternativa que te queda es filtrar visualmente por subject
y marcar como leido a lo que no te interese.. 


Saludos



--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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



aptitude spy?

2009-02-28 Thread Olaf Reitmaier Veracierta

En un hilo de por estos dias vi recomendado usar apt-spy

Pero como saben lenny ya no recomienda usar apt-get y derivados

http://www.debian.org/releases/stable/amd64/release-notes/ch-whats-new.en.html#pkgmgmt

Alguna alternativa de apt-spy?

Saludos.-

--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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



Re: Postfix - Debian Lenny

2009-02-28 Thread Olaf Reitmaier Veracierta

Probablemente si usas ASDL quien tiene que reportar tu IP
como una IP segura libre de SPAM es tu ISP no tu personalmente.

Me paso en mi trabajo con una IP fija publica otorgada por
el ISP sobre un enlace corporativo nuestro ISP se olvido
de notificar internacionalmente que habia habilitado
un nuevo subrango de direcciones IP publicas.

Saludos.-

Gary Ariel Sandi Vigabriel wrote:

On Fri, Feb 27, 2009 at 6:11 PM, Santiago José López Borrazás
sjlop...@yahoo.es wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

El 27/02/2009 23:02, Gary Ariel Sandi Vigabriel escribió:

No tengo ip dinamica es una ip fija.

Yo también tengo una IP fija, y hace ya 7 años que tengo la misma...7 años.

Y eso sí, tengo ADSL2+...pero si necesidad de usar PPoE...

Tambien tengo adsl

Ni salgo, ni quito de ella. Pero de Hotmail como te ha mostrado en el log
que diste, por lo visto, es un fallo de spamhaus.org.

Yo, ya hace meses que tuve la primicia de servidor. Cosa que, lo dejé,
porque me encerraba todos los días en la habitación. Yo, al tener el SMTP,
nunca, esto nunca tuve problemas con Hotmail. Ni un sólo día (a excepción de
cosas raras que hacía el Hotmail.com...pero MUY raras, más que raras).


bueno vi que estoy en la black list de  spamhaus.org y me quiero
quitar de ella para esto me pidio tambien que tenga el correo
correctamente configurado y lo correos electronicos del exterior
tampoco entran a mi servidor de correos, tal vez me podrias facilitar
el manual o el tutorial q usaste para configurar tu servidor smtp, te
lo agradeceria mucho.

Saludos.



- --
Slds. de Santiago José López Borrazás.
-BEGIN PGP SIGNATURE-

iQIVAwUBSahk/IFZAuZYtJmMAQo0eg/8DQ0o1GCmfFw9ryr8bX6Z6EENbxment/t
SLSG6BYnkjhmCXQrXfx+UrG1G8vG4GOK/ZOnJJYRV+bBsvlO83Xn1EWlSq3Vqewz
d3mLD8rqrcZHE4C1Wk7m4ylqYdAsSxuw0m0Db49EPe4nQGz8neOdEUhSS+GBnZnw
5n+FqrHxPluSe/ExWtqNSWbQre3wGFd/WXKwAZVD1CKTDo3atls//yBYSo8xRzBP
tOwK7H+X7ZOyqdslXlIB6vcH6j686ezCA58ykpu/6DfIR2pNcLVct6vffljU8uYm
mNlOEEupZ2VtvsnxMGq01XZrEKMC4CyFBfL47qGTPuJT6Gz8SDY8TNVNbJZou2KY
wlMlaOJD/jG8ZIuOoAFszsDkSwnysKrHp1d6J4hUv4nI3yGVDz7rESo/F8TqGF1W
cBWwinUz63FjNoCUx1pVI7CgsNo4cO3iKuCTT1EtM+VtPjffINhhOBdnC1am7A9k
Y+0GAoONTIZRml0v0ujdZKVoA7TVnqtnk1ronjIBExLQCBdcNZOujmHBeeYhBPOO
Bdmt+rTwgnIDkR5WEewcCNhi4p1Ec7hWpHiQrx3jLWzzJMLGj6od8xSndE7a4Gry
EZEtDuvHyxDCAUVRuOrGhiicrvPpHcnJfl5psdGjOGAaJHhdGsM9PZ9V0mIVoU9y
pO07r62MvH0=
=2++m
-END PGP SIGNATURE-


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








--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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



Re: Nombre de archivo con /

2009-02-28 Thread Olaf Reitmaier Veracierta

Try this...

echo Text to be URL Encoded %/*$$[] | od -t x1 -A n | tr   %

To save as URL...

Victor H De la Luz wrote:

Saludos!

¿¿Alguien sabe como guardar un archivo cuyo nombre contiene el caracter /???




--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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



Re: apt-get problem

2009-02-28 Thread Olaf Reitmaier Veracierta

Use apt-get spy but read this about apt-get for the future...
http://www.debian.org/releases/stable/amd64/release-notes/ch-whats-new.en.html#pkgmgmt


Sjors Gielen wrote:

Angelin Lalev schreef:
This is a partial output of apt-get update command, performed on my 
brand new

Debian 5.0 installation:


[snip]


Is that an indication that the mirror is not ok, or I am doing 
something wrong.




You are using the ftp.egr.msu.edu mirror in your /etc/apt/sources.list. 
It seems the mirror has gone offline and you may want to switch to 
another one.


To do that, open your /etc/apt/sources.list in an editor as root, and 
replace all instances of ftp.egr.msu.edu with another mirror, such as 
ftp.debian.org.


Sjors




--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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




Re: need help on shell programming

2009-02-28 Thread Olaf Reitmaier Veracierta

while [ 1 -eq 1 ]; then
   PUT HERE YOUR COMMAND
   sleep 60
done

Boyd Stephen Smith Jr. wrote:

On Thursday 26 February 2009 18:35:01 Mike Castle wrote:

On Thu, Feb 26, 2009 at 4:29 PM, Michael Pobega pob...@gmail.com wrote:

On Thu, Feb 26, 2009 at 04:54:28PM -0500, Long Wind wrote:

I want a script.
The script run a command, wait one minute,
then run the command again, wait one minute again
... again and again ...

Sounds like a job for Cron!

It depends on how long the job takes, and what the requirements are.

They did seem to imply they want to wait 60 seconds between the end of
one run to the start of the next one, as opposed to running every 60
seconds regardless.


The OP says they want fixed-delay.  Cron is for fixed-frequency.  A script 
that schedules itself as an at job as it's last command is another way to 
handle fixed-delay.



If the job takes 45 seconds, it could be a pretty substantial semantic
difference.


Yep.


--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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




Re: need help on shell programming

2009-02-28 Thread Olaf Reitmaier Veracierta

Sorry mismatch then with do...

while [ 1 -eq 1 ]; do
   PUT HERE YOUR COMMAND
   sleep 60
done

Boyd Stephen Smith Jr. wrote:

On Thursday 26 February 2009 18:35:01 Mike Castle wrote:

On Thu, Feb 26, 2009 at 4:29 PM, Michael Pobega pob...@gmail.com wrote:

On Thu, Feb 26, 2009 at 04:54:28PM -0500, Long Wind wrote:

I want a script.
The script run a command, wait one minute,
then run the command again, wait one minute again
... again and again ...

Sounds like a job for Cron!

It depends on how long the job takes, and what the requirements are.

They did seem to imply they want to wait 60 seconds between the end of
one run to the start of the next one, as opposed to running every 60
seconds regardless.


The OP says they want fixed-delay.  Cron is for fixed-frequency.  A script 
that schedules itself as an at job as it's last command is another way to 
handle fixed-delay.



If the job takes 45 seconds, it could be a pretty substantial semantic
difference.


Yep.


--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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




Re: package management begins to annoy me

2009-02-28 Thread Olaf Reitmaier Veracierta

aptitude accept almost all apt-get commands... but is better...

About apt-get for the future...
http://www.debian.org/releases/stable/amd64/release-notes/ch-whats-new.en.html#pkgmgmt 



Regards.

Hugo Vanwoerkom wrote:

Ron Johnson wrote:
snip


Yes, you're using aptitude.  Return to the apt* which God intended us 
to use: apt-get.




*That* must be the reason I use apt-get and not aptitude...

Hugo




--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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




Re: sending mail from debian etch via php script using mail()

2009-02-28 Thread Olaf Reitmaier Veracierta

The default exim4 configuration is the problem, if you like sendmail...

Then... aptitude install sendmail mailx.

It will remove exim4 you can't use both at same time on Debian Etch.

Try again send an email from php.


Andrew McGlashan wrote:

Hi Norman,

Norman Bird wrote:

So I am trying to figure out where the problem lies on my debian etch
box. i do not believe i loaded a mail server on this box. I checket
/var/log/mail and /var/log/mail.error  and they have nothing.  I can
type mail and it says you have no mail. I recall in past having mail
there and I could use the linux mail program and view system sent
mail, but other than than I'm kinda clueless.


Have you got this directory?
 /var/log/exim4/

If so, check logs there.

Kind Regafds
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP




--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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




Re: Downloading in iceweasel.

2009-02-28 Thread Olaf Reitmaier Veracierta

Try to view Preferences  Aplications  PDF

What's registered to do?

If very urgent... right-click and save PDF when staying over PDF link...


Øystein Dale wrote:

Hi
Having trouble downloading files from adobe with iceweasel.
Download manager say its starting and the indikator window is comming
but nothing happens.
This started to happen after i reinstalled the system to the newest
version of Debian.
Any solutions or suggestions?

Ø.Dale




--
--
   You don't know where your shadow will fall,
Somebody.-
--
 Ing. Olaf Reitmaier Veracierta ola...@gmail.com
--
 http://olafrv.googlepages.com (Personal Webpage)
 http://olafrv.blogspot.com (Technical Blog)
--


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




Re: [OT] Línea de comandos

2009-02-26 Thread Olaf Reitmaier Veracierta




De acuerdo,

5 inditos pero tiles...

1. Eliminar lneas duplicadas del archivo1 y guardalo en archivo 2.
cat archivo1.txt | uniq  archivo2.txt

2.- Unir dos archivos1 y 2, lnea por/con lnea en un tercer archivo.
join archivo1.txt archivo2.txt  archivo3.txt

3.- Imprimir la fecha de modificacion de todos los archivos directorio
actual.
ls -l | awk '{print $6}'

4.- Imprimir el listado recursivo ordenado descendiente por tamao del
directorio actual
du . | sort -rn | more

5.- Buscar que archivos "*.htm" contienen las frase o palabra palabra
"body" en el directorio actual

for a in `find . -type f -name *.htm`; do if [ `cat $a | grep "body" |
wc -l` -gt 1 ]; then echo $a; fi; done

Saludos.-


Saludos.-

Mauro Lizaur wrote:

  On Thu, 26 Feb 2009, alejandro Garca wrote:

  
  
On Thursday 26 February 2009 12:58:43 pm Manuel Jimnez Friaza wrote:


  Hola a todos:
La pujanza de los potentes entornos de escritorio actuales hace que
olvidemos la potencia y sencillez de la lnea de comandos. Hace un rato
he copiado mi drectorio personal en masa a un disco usb con esta
sencilla tubera que quera compartir con los listeros. Como root, desde
el mismo 'home':

find . -xdev | cpio -pdm /media/disk

Elegante, rpido, fiable, obediente, mantiene el time y los permisos,
crea los directorios que hagan falta. Se me ocurre que los usuarios ms
veteranos, sin miedo a la consola, podamos ir compartiendo 'chuletas'
como sta con los ms jvenes. Saludos
  


el find lo usas para buscar el archivo el -xdev no lo entendi bien deja reviso 
usas cpio? que es eso? no es lo mismo un cp -r??


  
  
el cpio copia tambien, pero al mismo tiempo crea un archivo comprimido. 
Entonces si no me equivoco al usar -p le decis que todos los archivos
que encontro con find los mande a /media/disk, con la 'd' crea los directorios
y con la m guarda la fecha de modificacion.

Pero volviendo al tema de las chuletas, el otro dia vi una pagina que tenia
bastantes 'comandos utiles': http://www.commandlinefu.com/

Saludos


  





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



Re: [OT] Línea de comandos

2009-02-26 Thread Olaf Reitmaier Veracierta




No es igual porque...

grep body *.htm* -R|cut -d':' -f1|uniq 

Te muestra las lineas de los archivos que tiene "body" mientra que...

for a in `find . -type f -name *.htm`; do if [ `cat $a | grep "body" | wc -l` -gt 1 ]; then echo $a; fi; done


Te lista los nombres de los archivos que contienen la palabra "body".

Saludos.-

Mauro Lizaur wrote:

  On Fri, 27 Feb 2009, Olaf Reitmaier Veracierta wrote:

  
  
   De acuerdo,

   5 ineditos pero utiles...


  
  
  
  
   5.- Buscar que archivos "*.htm" contienen las frase o palabra palabra
   "body" en el directorio actual

   for a in `find . -type f -name *.htm`; do if [ `cat $a | grep "body" | wc
   -l` -gt 1 ]; then echo $a; fi; done


  
  
pero no es mas facil asi?:

grep body *.htm* -R|cut -d':' -f1|uniq 

Saludos

  





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