[gentoo-user] Firewalling and Sambra printer.

2006-10-22 Thread Pupeno
Hello,
I have two computers (that are involved in this problem), phoenix is my Gentoo 
workstation and desktop-1 is someone else's Windows box. Someone else happens 
to have a printer and I don't, so, from time to time I use his printer. The 
printer is shared, obviously, thru SMB (it's a windows box). I configured 
CUPS to connect to it (I just used the KDE Kcontrol to configure it).
My problem is that when I bring up my firewall (a firewall using iptables on 
phoenix, just protecting phoenix) printing stops working. In fact, all access 
to desxtop-1 thru smb stops working.
The firewall is very simple, a simple stateful all-incomming-closed firewall:

# iptables -vL
Chain INPUT (policy DROP 35510 packets, 16M bytes)
 pkts bytes target prot opt in out source   
destination
 329K  558M ACCEPT all  --  lo any anywhere anywhere
  36M   54G ACCEPT all  --  anyany anywhere anywhere

state RELATED,ESTABLISHED
3   228 ACCEPT icmp --  anyany anywhere anywhere

icmp echo-request limit: avg 30/min burst 5
  120  7057 ACCEPT icmp --  anyany anywhere anywhere
160 ACCEPT tcp  --  anyany anywhere anywhere

tcp dpt:ssh

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target prot opt in out source   
destination

Chain OUTPUT (policy ACCEPT 21M packets, 3426M bytes)
 pkts bytes target prot opt in out source   
destination
phoenix ~ #

Do you know why after bringing up this firewall I can't use the printer 
anymore and/or how to solve it ?

Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgpV1114eHC9z.pgp
Description: PGP signature


Re: [gentoo-user] Firewalling and Sambra printer.

2006-10-22 Thread Pupeno
On Sunday 22 October 2006 22:58, Dale wrote:
 Well I had a similiar issue a while back.  This is what I did and it worked:
  iptables -I INPUT 2 -p udp --dport 445 --source 192.168.0.0/24 -j ACCEPT
  iptables -I INPUT 2 -p tcp --dport 445 --source 192.168.0.0/24 -j ACCEPT
  iptables -I INPUT 2 -p udp --dport 138 --source 192.168.0.0/24 -j ACCEPT
  iptables -I INPUT 2 -p tcp --dport 138 --source 192.168.0.0/24 -j ACCEPT
  iptables -I INPUT 2 -p udp --dport 139 --source 192.168.0.0/24 -j ACCEPT
  iptables -I INPUT 2 -p tcp --dport 139 --source 192.168.0.0/24 -j ACCEPT
  iptables -I INPUT 2 -p tcp --dport 137 --source 192.168.100.0/24 -j
  ACCEPT iptables -I INPUT 2 -p udp --dport 137 --source 192.168.100.0/24
  -j ACCEPT

 I got that help from here:

 http://forums.gentoo.org/viewtopic-p-3371796.html#3371796

 Maybe that will help you some.  Oh, may need to change the ip numbers
 where needed.

Here it didn't, my iptables are now 

# iptables -vL
Chain INPUT (policy DROP 35548 packets, 16M bytes)
 pkts bytes target prot opt in out source   
destination
 343K  561M ACCEPT all  --  lo any anywhere anywhere
  36M   54G ACCEPT all  --  anyany anywhere anywhere

state RELATED,ESTABLISHED
3   228 ACCEPT icmp --  anyany anywhere anywhere

icmp echo-request limit: avg 30/min burst 5
  120  7057 ACCEPT icmp --  anyany anywhere anywhere
160 ACCEPT tcp  --  anyany anywhere anywhere

tcp dpt:ssh
0 0 ACCEPT udp  --  anyany 192.168.0.0/24   anywhere

udp dpt:microsoft-ds
0 0 ACCEPT tcp  --  anyany 192.168.0.0/24   anywhere

tcp dpt:microsoft-ds
2   467 ACCEPT udp  --  anyany 192.168.0.0/24   anywhere

udp dpt:netbios-dgm
0 0 ACCEPT tcp  --  anyany 192.168.0.0/24   anywhere

tcp dpt:netbios-dgm
0 0 ACCEPT udp  --  anyany 192.168.0.0/24   anywhere

udp dpt:netbios-ssn
0 0 ACCEPT tcp  --  anyany 192.168.0.0/24   anywhere

tcp dpt:netbios-ssn
0 0 ACCEPT tcp  --  anyany 192.168.0.0/24   anywhere

tcp dpt:netbios-ns
   37  2886 ACCEPT udp  --  anyany 192.168.0.0/24   anywhere

udp dpt:netbios-ns

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target prot opt in out source   
destination

Chain OUTPUT (policy ACCEPT 21M packets, 3429M bytes)
 pkts bytes target prot opt in out source   
destination

and I still can't print. I send the print job and the printer gets into a kind 
of broken state.
Well, those ports are not open on my workstation[1], so, allowing connections 
to them won't change anything (unless something runs sporadically opening 
those ports).
Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)

[1] # netstat -tlun
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State
tcp0  0 0.0.0.0:80100.0.0.0:*   LISTEN
tcp0  0 0.0.0.0:22  0.0.0.0:*   LISTEN
tcp0  0 127.0.0.1:631   0.0.0.0:*   LISTEN
udp0  0 0.0.0.0:47552   0.0.0.0:*
udp0  0 0.0.0.0:68  0.0.0.0:*
udp0  0 0.0.0.0:80100.0.0.0:*
udp0  0 0.0.0.0:631 0.0.0.0:*


pgpBse47ZtxoS.pgp
Description: PGP signature


Re: [gentoo-user] /etc/profile.d/ and non-root users

2006-09-15 Thread Pupeno
On Wednesday 13 September 2006 13:15, Bo Ørsted Andresen wrote:
 You are missing /etc/profile. Only thing this requires is the file is
 located in /etc/profile.d, ends on .sh and is readable and sourceable by
 the user. Probably just a permissions problem.

I think I am not missing any condition:

$ ls -al /etc/profile.d/aliases.sh
-rw-r--r-- 1 root root 33 2006-09-09 12:56 /etc/profile.d/aliases.sh

-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgp6yx8DN0MWJ.pgp
Description: PGP signature


Re: [gentoo-user] /etc/profile.d/ and non-root users

2006-09-15 Thread Pupeno
On Wednesday 13 September 2006 14:20, Lukasz Pawelczyk wrote:
 Just remember that those aliases will stay only in login shell, any
 other shell level wont keep them. There should be something like
 /etc/shrc.d/ sourced by bashrc for such things.

Probably this is the problem. When I run the Konsole it is not a login shell 
and when I su it is.

Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgp2FI5uh47aE.pgp
Description: PGP signature


[gentoo-user] /etc/profile.d/ and non-root users

2006-09-13 Thread Pupeno
Hello,
I have created a file

/etc/profile.d/aliases.sh

containing

aliases.sh

and when I log in as root it is clearly loaded. But when I log in as my normal 
user, it is not. Any ideas ?
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgp8V9wgM5BgU.pgp
Description: PGP signature


[gentoo-user] International locale

2006-09-05 Thread Pupeno
Hello,
Is there some international locale that is not tied to any particular country 
(and uses ISO standards for dates, time, sizes, etc) ?
Something like en_INT.UTF-8 which may even be eo_INT.UTF-8 or jbo_INT.UTF-8 ?
Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgpqZFlcWcGcs.pgp
Description: PGP signature


[gentoo-user] MySQL clustering.

2006-08-30 Thread Pupeno
Hello,
I've been searching for a while and reading some code and it seems that the 
mysql ebuild doesn't have support for clustering aside that building the 
binaries (that is, no config and init files to start the management and 
backends and so on).
Am I right or am I missing something ?
Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgpIqSR8WuL3S.pgp
Description: PGP signature


Re: [gentoo-user] Packages for Python 2.3

2006-08-29 Thread Pupeno
On Tuesday 29 August 2006 05:24, Donnie Berkholz wrote:
 You may need to modify the ebuild. Try adding something like this near
 the top:

 PYTHON_SLOT_VERSION=2.3

 That's used by distutils.eclass, which mysql-python inherits.

Ouch! Is that the only way ? modifying the ebuild and loosing it for Python 
2.4 ?
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgpp9nqmKNzP7.pgp
Description: PGP signature


[gentoo-user] Packages for Python 2.3

2006-08-28 Thread Pupeno
Hello,
I am developing some software that needs to be tested against Python 2.3. So 
my Gentoo box has both, Python 2.4 and 2.3. Now, I need to have some Python 
packages available for both (or at least, for 2.3), for example: 
mysql-python.
How do I achieve that ?
Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgpK6aO12TVXG.pgp
Description: PGP signature


Re: [gentoo-user] Messed up mail access rights

2005-09-23 Thread Pupeno
Providing some basic information such as what mail servers are you using would 
be a big plus to get an answer from someone.
On Friday 23 September 2005 20:52, Mick wrote:
 Hi All,

 Could you please advise what the access rights ought to be for my mail
 directory?  I restored from a backup and things went downhill from
 there.  :-(

 The structure currently is as follows:
 ===
 mail770

  +--domain.com 755

  |+--user  750
  |
  | +--.cppop.cache 600
  | .cppop.cache.msgs600
  | .mailboxlist 600
  | INBOX.Drafts 660
  | INBOX.Sent   660
  | INBOX.Trash  660
  | inbox660

 inbox  0660
 INBOX.Drafts   0660
 INBOX.Sent 0660
 INBOX.Trash0660
 saved-messages 0660
 sent-mail  0660
 ===

 Any idea what they should be like?  Also, what are the .cppop.cache and
 cppop.cache.msgs for?
 --
 Regards,
 Mick

-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Vendo: Gabinete tower: http://pupeno.com/spa/vendo/#Gabinete


pgpQAd1thTmVa.pgp
Description: PGP signature


Re: [gentoo-user] Ebuild for eggs.

2005-09-21 Thread Pupeno
On Wednesday 21 September 2005 06:33, Christoph Gysin wrote:
 Christoph Gysin wrote:
  You also shouldn't have to copy the egg. Does it get modified during
  chicken-setup? If not, you can leave out the whole src_unpack().

 Of course, you'll need to specify the path to the egg in chicken-setup.

That can be done, that is why I copied on the first place, and at 
src_unpack(), ${S} doesn't exist yet.
If the egg is not in the directory where I run chicken-setup, then it gets 
downloaded (I don't think that is a good behaviour for an ebuild).

Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)


pgpGrM3Tu5bsk.pgp
Description: PGP signature


[gentoo-user] Ebuild for eggs.

2005-09-20 Thread Pupeno
Hello,
I am making an ebuild for an egg[1], an egg is an extension to a scheme system 
called chicken[2]. Ultimatelly this would be an eclass to make ebuild for all 
the eggs.
Chicken comes with a tool called chicken-setup that downloads, unpacks, 
compiles and installs an egg.
With a couple of switches I managed to make an ebuild for the mysql egg. But 
there are some things that I don't like, like cp /usr/portage/distfiles/${A} 
${S} and there might be other things that can be improved.
Can you please take a look at it and give me some feedback ?
Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)

[1] http://www.call-with-current-continuation.org/eggs
[2] http://www.call-with-current-continuation.org/
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION=MySQL bindings for Chicken
HOMEPAGE=http://www.call-with-current-continuation.org/eggs/mysql.html;
SRC_URI=http://www.call-with-current-continuation.org/eggs/mysql.egg;

LICENSE=MIT
SLOT=0
KEYWORDS=~x86
IUSE=

DEPEND=chicken mysql
RDEPEND=

src_unpack() {
mkdir -p ${S}
cp /usr/portage/distfiles/${A} ${S}
}
src_install() {
# Name of the egg.
EGG=${PN:4}
# Get the current chicken repository.
REP=`chicken-setup -repository`
# Ensure that the repository exists on the image dir.
mkdir -p ${D}/${REP}
# Install to the current chicken repository in the image dir.
chicken-setup -repository ${D}/${REP} -dont-ask ${EGG}
}


pgpYNJYQP9xHE.pgp
Description: PGP signature


[gentoo-user] Disk image

2005-09-10 Thread Pupeno
Hello,
Is it possible to make an image of my whole 40GiB HD into a file in another, 
bigger HD, including all my partitions, grub, everything.
I want to re-install this computer, but I want to be able to go back easily if 
I need it.
Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Vendo: Procesador AMD Athlon XP 2400+: http://pupeno.com/spa/vendo/#Procesador


pgpygnNCm5T4k.pgp
Description: PGP signature


Re: [gentoo-user] mount point with hal and kde

2005-08-18 Thread Pupeno
On Thursday 18 August 2005 09:47, Norberto Bensa wrote:
 Read:

/usr/share/hal/fdi/90defaultpolicy/storage-policy.fdi

 Basically you'll be forcing (using the device-id) the path where it is
 mounted. Then just drop your changes into:

/usr/share/hal/fdi/95userpolicy/storage-policy.fdi
This looks like a configuration file. Why is it located on /usr instead 
of /etc ?

-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpesGTfDfNZe.pgp
Description: PGP signature


Re: [gentoo-user] Problems with madwifi

2005-08-17 Thread Pupeno
On Wednesday 17 August 2005 10:05, Robert Crawford wrote:
 On Tuesday 16 August 2005 11:52 pm, Pupeno wrote:
  Hello,
  I have an IBM wifi card that has an Atheros chipset that was working
  perfectly with the madwifi driver untill the update that happened
  recently, now it is a big mess.
  When I plug it in or at boot if it is plugged in when coldplugging pnp
  devices I got somethig like:
 
  PREEMPT
  Modules linked in: md5 ipv6 pcmcia tsdev ohci_hcd parport_pc parport
  floppy psmouse rtc pcspkr yenta_socket rsrc_nonstatic pcmcia_core tg3
  snd_intel8x0 snd_ac97_codec snd_pcm snd_timer snd soundcore
  snd_page_alloc i2c_i801 i2c_core piix shpchp pci_hotplug ehci_hcd
  uhci_hcd intelfb intel_agp agpgart evdev usbcore aes_i586 dm_crypt
  ath_pci ath_rate_sample
  ath_rate_onoe ath_rate_amrr wlan_xauth wlan_wep wlan_tkip wlan_ccmp
  wlan_acl wlan ath_hal ibm_acpi thermal processor fan button battery ac
  loop dm_mod ide_cd cdrom nls_utf8 nls_base
  CPU:0
  EIP:0060:[f01436a0]Tainted: P  VLI
  EFLAGS: 00010246   (2.6.12-suspend2-r4)
  EIP is at ath_rate_ctl_reset+0xd0/0x470 [ath_rate_sample]
  eax:    ebx: ee300800   ecx: ec62c000   edx: 
  esi: 70007972   edi:    ebp: ee300800   esp: ed8e5cc8
  ds: 007b   es: 007b   ss: 0068
  Process pccardd (pid: 6197, threadinfo=ed8e4000 task=ef3db020)
  Stack: c034e946 ed8e5d10 0046 ef22ca40 c042ff10 000f4bd1 ef22ca40
  ef22ca40 4145c780 000f4bd1 000d9038 4145c780 000f4bd1 ef22ca40 ee3009fc
  ec62c620 ec62c000 ee300800 f01a1490 ee300ff8 ec62c000 f01a242b ec62c000
  ee300800 Call Trace:
   [c034e946] schedule+0x336/0x620
   [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
   [f01a242b] ath_node_alloc+0x9b/0xc0 [ath_pci]
   [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
   [f0189f93] ieee80211_node_lateattach+0x13/0xe0 [wlan]
   [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
   [f0183a9f] ieee80211_media_init+0x1f/0x4a0 [wlan]
   [f01a198c] ath_setslottime+0x2c/0x50 [ath_pci]
   [f018453f] ieee80211_watchdog+0x5f/0x90 [wlan]
   [f0183699] ieee80211_ifattach+0x159/0x2e0 [wlan]
   [f01a1500] ath_key_update_end+0x0/0x70 [ath_pci]
   [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
   [f0189f93] ieee80211_node_lateattach+0x13/0xe0 [wlan]
   [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
   [f0183a9f] ieee80211_media_init+0x1f/0x4a0 [wlan]
   [f01a198c] ath_setslottime+0x2c/0x50 [ath_pci]
   [f018453f] ieee80211_watchdog+0x5f/0x90 [wlan]
   [f0183699] ieee80211_ifattach+0x159/0x2e0 [wlan]
   [f01a1500] ath_key_update_end+0x0/0x70 [ath_pci]
   [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
   [f019f889] ath_attach+0x889/0xb00 [ath_pci]
   [f01a0b40] ath_media_change+0x0/0x40 [ath_pci]
   [f0184360] ieee80211_media_status+0x0/0x180 [wlan]
   [f01a6656] ath_pci_probe+0x226/0x3e0 [ath_pci]
   [c025b162] pci_device_probe_static+0x52/0x70
   [c025b1bc] __pci_device_probe+0x3c/0x50
   [c025b1fc] pci_device_probe+0x2c/0x50
 
  if I try to connect I get:
 
   # /etc/init.d/net.ath0 start
* Starting ath0
*   Bringing up ath0
* Configuration not set for ath0 - assuming dhcp
* dhcp
*   ath0 does not exist
 
  in some cases I just get: failed to connect.
  Checking a bit more, ath0 doesn't exist, and I can't even see it on
  lspci.
 
  When I unplug it, I get a kernel panic.
 
  I am loading the modules:
  ath_hal
  wlan
  wlan_acl
  wlan_ccmp
  wlan_tkip
  wlan_wep
  wlan_xauth
  ath_rate_amrr
  ath_rate_onoe
  ath_pci
  at boot thru /etc/modules.autoload.d/kernel-2.6.
 
  Any ideas what is going on ? Am I doing something wrong ?
 
  Thank you.

 Which updates are you talking about-
madwifi, it was updated some days ago, to be exact, version 0.1_pre20050809 
released on 2005/08/10 12:44:19, while previously I was using 
0.1_pre20050420.

 did you change kernels? Maybe you need 
 to reemerge all the wifi and dhcpcd stuff.
No, I didn't change kernel (I am familiar with externas modules).


 I have a D-link Atheros based card, and here's what I do:

 1. compile into the kernel all support items for wifi (not modules)

 2. emerge all madwifi stuff (tools, driver), and dhcpcd

 3. As root, type

 iwconfig ath0

 This brings up the config list, but no essid, and the address is all zeros.

 then I type

  dhcpcd ath0

 and it connects fine.

 If I redo the iwconfig ath0 command, it now lists the essid name of my
 wireless router (linksys), and the numerical isp address dhcpcd found.
This is more or less what I used to do with the old driver that didn't cause 
kernel panics.

Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpC6Z2J4CIGF.pgp
Description: PGP signature


Re: [gentoo-user] Slow HD

2005-08-17 Thread Pupeno
On Wednesday 17 August 2005 18:44, Mark Knecht wrote:
 A quick test would be

 hdparm -tT /dev/hda
I got this:
/dev/hda:
 Timing cached reads:   1344 MB in  2.00 seconds = 672.10 MB/sec
 Timing buffered disk reads:8 MB in  3.51 seconds =   2.28 MB/sec

 (or whatever drive you are concerned about.) Greater than 15MB/S is
 almost certainly DMA but good DMA from newer drives should be
 25-50MB/S
The second speed is evidently wrong.

 You can look at the drives parameters using hdparm and reading through
 the man page to understand what all the values mean.
I tried to enable dma, but this happened:
# hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma=  0 (off)

What am I doing wrong ? some kernel option ?

Thanks
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgp7S4bm9DEK7.pgp
Description: PGP signature


Re: [gentoo-user] Slow HD

2005-08-17 Thread Pupeno
On Wednesday 17 August 2005 22:17, Joe Menola wrote:
 On Wednesday August 17 2005 7:56 pm, Pupeno wrote:
  On Wednesday 17 August 2005 18:44, Mark Knecht wrote:
   A quick test would be
  
   hdparm
 
  I got this:
  /dev/hda:
   Timing cached reads:   1344 MB in  2.00 seconds = 672.10 MB/sec
   Timing buffered disk reads:8 MB in  3.51 seconds =   2.28 MB/sec
 
   (or whatever drive you are concerned about.) Greater than 15MB/S is
   almost certainly DMA but good DMA from newer drives should be
   25-50MB/S
 
  The second speed is evidently wrong.
 
   You can look at the drives parameters using hdparm and reading through
   the man page to understand what all the values mean.
 
  I tried to enable dma, but this happened:
  # hdparm -d1 /dev/hda
 
  /dev/hda:
   setting using_dma to 1 (on)
   HDIO_SET_DMA failed: Operation not permitted
   using_dma=  0 (off)
 
  What am I doing wrong ? some kernel option ?
 
  Thanks

 If you want the kernel to set dma you need to enable it and the support for
 your motherboard chipset. For a 2.6.12 kernel, you'll find this under
 Block devices
   ATA/ATAPI/MFM/RLL support
 Enable
 Generic PCI bus-master DMA support (BLK_DEV_IDEDMA_PCI)
 Use PCI DMA by default when available (IDEDMA_PCI_AUTO)
I have both.

 And below that support for your MB chipset.
I have all as modules, maybe I am just missing to load it.

 However, hdparm should have set this even without kernel support (I'm
 pretty sure)...what say #hdparm /dev/hda
/dev/hda:
 multcount= 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 65535/16/63, sectors = 40007761920, start = 0

Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpwMiD7ojwUN.pgp
Description: PGP signature


Re: [gentoo-user] Slow HD

2005-08-17 Thread Pupeno
On Wednesday 17 August 2005 22:15, Mark Knecht wrote:
 On 8/17/05, Pupeno [EMAIL PROTECTED] wrote:
  On Wednesday 17 August 2005 18:44, Mark Knecht wrote:
   A quick test would be
  
   hdparm -tT /dev/hda
 
  I got this:
  /dev/hda:
   Timing cached reads:   1344 MB in  2.00 seconds = 672.10 MB/sec
   Timing buffered disk reads:8 MB in  3.51 seconds =   2.28 MB/sec
 
   (or whatever drive you are concerned about.) Greater than 15MB/S is
   almost certainly DMA but good DMA from newer drives should be
   25-50MB/S
 
  The second speed is evidently wrong.

 Not wrong, just not DMA.
Should I leave DMA off ? Isn't almost always faster to use DMA ?

   You can look at the drives parameters using hdparm and reading through
   the man page to understand what all the values mean.
 
  I tried to enable dma, but this happened:
  # hdparm -d1 /dev/hda
 
  /dev/hda:
   setting using_dma to 1 (on)
   HDIO_SET_DMA failed: Operation not permitted
   using_dma=  0 (off)
 
  What am I doing wrong ? some kernel option ?

 Possibly. Many of the ATAPI DMA drivers are supplied when you enable
 the proper chipset support in make menuconfig under Device Drivers -
 ATA support.
I have all of them enabled as modules.

 What chipset is your machine using? (lspci)
:00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller 
(rev 01)

 From my laptop:

 flash linux #  hdparm /dev/hda

 /dev/hda:
  multcount= 16 (on)
  IO_support   =  0 (default 16-bit)
  unmaskirq=  0 (off)
  using_dma=  1 (on)
Here, your dma is on! :)

  keepsettings =  0 (off)
  readonly =  0 (off)
  readahead= 256 (on)
  geometry = 65535/16/63, sectors = 80026361856, start = 0
 flash linux #

 flash linux #  hdparm -tT /dev/hda

 /dev/hda:
  Timing cached reads:   1788 MB in  2.00 seconds = 891.91 MB/sec
  Timing buffered disk reads:   82 MB in  3.04 seconds =  26.93 MB/sec
 flash linux #

Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgp9pSTJYGCI0.pgp
Description: PGP signature


[gentoo-user] mount point with hal and kde

2005-08-17 Thread Pupeno
Hello,
I have various computers running KDE and hald and I also have various USB mass 
storages, some of the HDs and some of them memories.
When I plug them I get an icon on the desktop and the first one to be plugged 
gets monted on /media/usbdisk, the second on /media/usbdisk1, the third 
on /media/usbdisk2 and so on.
I'd like a couple of this devices to be mounted at a specific place, 
like /media/backup and /media/home. Is it possible ?
Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpYSu8ZlOheI.pgp
Description: PGP signature


Re: [gentoo-user] Slow HD

2005-08-17 Thread Pupeno
On Wednesday 17 August 2005 23:04, Volker Armin Hemmann wrote:
  flash linux #  hdparm /dev/hda
 
  /dev/hda:
   multcount    = 16 (on)
   IO_support   =  0 (default 16-bit)
   unmaskirq    =  0 (off)
   using_dma    =  1 (on)
   keepsettings =  0 (off)
   readonly     =  0 (off)
   readahead    = 256 (on)
   geometry     = 65535/16/63, sectors = 80026361856, start = 0
  flash linux #

 you may want to turn on 32 bit io and unmaskirq too.
How do you do that ?

 Which are both 
 beneficial.
Can they be bad in some case ?

Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgp5BRzZS5bYz.pgp
Description: PGP signature


Re: [gentoo-user] Slow HD

2005-08-17 Thread Pupeno
On Wednesday 17 August 2005 23:52, Pupeno wrote:
 I have this as module and it seem to be loaded automatically because lsmod
 shows:
 piix9476  0 [permanent]

 Maybe it has to be compiled on the kernel (not as a module) to work ?
I compiled it in the kernel and now DMA is on by default.

# hdparm /dev/hda

/dev/hda:
 multcount= 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 65535/16/63, sectors = 40007761920, start = 0


and the tests are better:
/dev/hda:
 Timing cached reads:   1332 MB in  2.01 seconds = 664.11 MB/sec
 Timing buffered disk reads:   76 MB in  3.01 seconds =  25.25 MB/sec

well, at least the buffered one. Can it be tuned more ?

Thanks
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpyWVeaUAM1z.pgp
Description: PGP signature


Re: [gentoo-user] Problems with madwifi

2005-08-17 Thread Pupeno
On Wednesday 17 August 2005 17:07, Jonathan Wright wrote:
 In the
 end I had to remove all the modules (rm -Rf /lib/modules) and reinstall
 all the modules before rebuilding wireless-tools, madwifi-driver,
 madwifi-tools in that order.
Thanks, that worked! (I haven't rebuild madwifi-tools though).
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpV2RWanxcRx.pgp
Description: PGP signature


[gentoo-user] Problems with madwifi

2005-08-16 Thread Pupeno
Hello,
I have an IBM wifi card that has an Atheros chipset that was working perfectly 
with the madwifi driver untill the update that happened recently, now it is a 
big mess.
When I plug it in or at boot if it is plugged in when coldplugging pnp devices 
I got somethig like:

PREEMPT
Modules linked in: md5 ipv6 pcmcia tsdev ohci_hcd parport_pc parport floppy 
psmouse rtc pcspkr yenta_socket rsrc_nonstatic pcmcia_core tg3 snd_intel8x0 
snd_ac97_codec snd_pcm snd_timer snd soundcore snd_page_alloc i2c_i801 
i2c_core piix shpchp pci_hotplug ehci_hcd uhci_hcd intelfb intel_agp agpgart 
evdev usbcore aes_i586 dm_crypt ath_pci ath_rate_sample ath_rate_onoe 
ath_rate_amrr wlan_xauth wlan_wep wlan_tkip wlan_ccmp wlan_acl wlan ath_hal 
ibm_acpi thermal processor fan button battery ac loop dm_mod ide_cd cdrom 
nls_utf8 nls_base
CPU:0
EIP:0060:[f01436a0]Tainted: P  VLI
EFLAGS: 00010246   (2.6.12-suspend2-r4)
EIP is at ath_rate_ctl_reset+0xd0/0x470 [ath_rate_sample]
eax:    ebx: ee300800   ecx: ec62c000   edx: 
esi: 70007972   edi:    ebp: ee300800   esp: ed8e5cc8
ds: 007b   es: 007b   ss: 0068
Process pccardd (pid: 6197, threadinfo=ed8e4000 task=ef3db020)
Stack: c034e946 ed8e5d10 0046 ef22ca40 c042ff10 000f4bd1 ef22ca40 ef22ca40
   4145c780 000f4bd1 000d9038 4145c780 000f4bd1 ef22ca40 ee3009fc ec62c620
   ec62c000 ee300800 f01a1490 ee300ff8 ec62c000 f01a242b ec62c000 ee300800
Call Trace:
 [c034e946] schedule+0x336/0x620
 [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
 [f01a242b] ath_node_alloc+0x9b/0xc0 [ath_pci]
 [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
 [f0189f93] ieee80211_node_lateattach+0x13/0xe0 [wlan]
 [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
 [f0183a9f] ieee80211_media_init+0x1f/0x4a0 [wlan]
 [f01a198c] ath_setslottime+0x2c/0x50 [ath_pci]
 [f018453f] ieee80211_watchdog+0x5f/0x90 [wlan]
 [f0183699] ieee80211_ifattach+0x159/0x2e0 [wlan]
 [f01a1500] ath_key_update_end+0x0/0x70 [ath_pci]
 [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
 [f0189f93] ieee80211_node_lateattach+0x13/0xe0 [wlan]
 [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
 [f0183a9f] ieee80211_media_init+0x1f/0x4a0 [wlan]
 [f01a198c] ath_setslottime+0x2c/0x50 [ath_pci]
 [f018453f] ieee80211_watchdog+0x5f/0x90 [wlan]
 [f0183699] ieee80211_ifattach+0x159/0x2e0 [wlan]
 [f01a1500] ath_key_update_end+0x0/0x70 [ath_pci]
 [f01a1490] ath_key_update_begin+0x0/0x70 [ath_pci]
 [f019f889] ath_attach+0x889/0xb00 [ath_pci]
 [f01a0b40] ath_media_change+0x0/0x40 [ath_pci]
 [f0184360] ieee80211_media_status+0x0/0x180 [wlan]
 [f01a6656] ath_pci_probe+0x226/0x3e0 [ath_pci]
 [c025b162] pci_device_probe_static+0x52/0x70
 [c025b1bc] __pci_device_probe+0x3c/0x50
 [c025b1fc] pci_device_probe+0x2c/0x50

if I try to connect I get:

 # /etc/init.d/net.ath0 start
  * Starting ath0
  *   Bringing up ath0
  * Configuration not set for ath0 - assuming dhcp
  * dhcp
  *   ath0 does not exist

in some cases I just get: failed to connect.
Checking a bit more, ath0 doesn't exist, and I can't even see it on lspci.

When I unplug it, I get a kernel panic.

I am loading the modules:
ath_hal
wlan
wlan_acl
wlan_ccmp
wlan_tkip
wlan_wep
wlan_xauth
ath_rate_amrr
ath_rate_onoe
ath_pci
at boot thru /etc/modules.autoload.d/kernel-2.6.

Any ideas what is going on ? Am I doing something wrong ?

Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpesHg0pB7V0.pgp
Description: PGP signature


Re: [gentoo-user] crypted key for dm-crypt

2005-08-08 Thread Pupeno
On Sunday 07 August 2005 04:39, Christian Hoenig wrote:
 Hi,

  Well, I have dm-crypt configured and running. It encrypts tha swap, a
  loopback for /tmp (with a random key), all this using the
  standard /etc/conf.d/cryptfs.
  Now I'd like to encrypt my home with a key instad of a passphrase, place
  that key on my pen drive after etcrypting it with a key, my questions
  are: - How do I generate the key ?

 I have restricted my key to printable letters.
 So an easy way to generate a key without uuencode or stuff is something
 like this:
   cat /dev/random |sed -e s/[^a-zA-Z0-9]//g

  - How do I en/decrypt it ?

 Encrypt your just generated key? I thought you wanted to get rid of
 passphrases.
No, I wanted to get rid of having to recreate the whole filesystem to change 
the passphrase (with an encrypted key I only change the encripting 
passphrase).
Furthermore I'd have stronger encription because a dictionary attack would be 
harder.

-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpLzsvnN7USC.pgp
Description: PGP signature


[gentoo-user] Resuming operations after suspend.

2005-08-07 Thread Pupeno
Hello,
I am tryngi to get suspend to ram working on my IBM Thinkpad G40 but I can't 
get it to turn on agan. I am able to put it on suspend with klaptop, by hand, 
or by closing it and this script: 
http://www.hardeman.nu/~david/thinkpad.php#suspend
But it never comes up, wehn I open it it makes some noices (the HD working) 
but the monitor is never turned on.
Any ideas ?
Thanks
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpxdjsP0W68f.pgp
Description: PGP signature


Re: [gentoo-user] Encripting /home

2005-07-29 Thread Pupeno
On Friday 29 July 2005 04:13, Ralph Slooten wrote:
 Pupeno wrote:
 I use the dm-crypt from the kernel
 
  I've read that it is unsecure and I also read that it is not yet vory
  well suported.

 You read wrong. Dm-crypt *is* the encryption technique now used in the
 kernel, and it wasn't chosen out of a hat. What you do with it can make
 it insecure though, like a postit with the password attached to the
 monitor ;-)

 As for being supported, well if something is actually in the kernel
 itself (without patches), then it IS fully supported. Dm-crypt is fully
 supported since linux 2.6.4

As I said in another message, what I read is that the userland tools weren't 
supporting dm-crypt propersy. Probably I've read something that was outdated.

 Basically, as with any encryption, your secret is as safe as your
 password. There are of course tools to help you make your password even
 harder to crack, like hashalot, which basically sends your password
 though a pipe which hashes it into greek ;-)

  I know I don't need a key, but I do want a key (stored in a remobable
  modia) encripted with a passphrase I will be able to change, or best, my
  wife can have the key protected with a different passphrase than I do.
  Beyond that, encripting with a key is much better than doing that with a
  passphrase because the passphrase can be cracked (dictionary attack)
  while the key-encripted that can't.

 It seems what you are looking for with your key is probably a GPG key
 needed to unlock your drive. This is definitely possible, but you will
 have to do the research yourself. I do know there are tutorials to use
 gpg keys with encryption passsords etc... and iirc there was a tutorial
 for loop-AES too on their site. If you need this is another story. I
 know that gpg can have two separate kleys to do the same thing, so I
 presume separate keys and passwords are an option, but I have never
 ventured down that lane, as I'm not that paranoid. I use gpg myself for
 mailing, and encrypting certain files themselves, but I'm not paranoid
 enough to encrypt all my files with such heavy encryption. In fact, not
 even the US military is that bad. They now use 256bit AES encryption,
 which is the default of dm-crypt, and from an atricle I read it still
 would take them a couple of decades to crack.

I didn't mean to use gpg to encrypt the whole file system, that would be 
insane. I mean that instead of using a password te encript, to use a 
generated key, which is stronger and to encrypt that key with a password (and 
keep it on a remobable media).
But now that I think of it, I don't need that much security (Am I the only one 
that when reading about security gets paranoid ?).
I'd like this: home to be encripted in a way that can be mounted thru fstab 
asking the passphrase at mount-time, with the posibility to change the 
password easily. I think that can be achieved by using a key and encripting 
the key on cryptoloop, or it is simpler on loop-AES, because the passphrase 
con be changed easily, right ? What about dm-crypt ? is the passphrase 
changeable ?

Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpxuJZvJEj3q.pgp
Description: PGP signature


Re: [gentoo-user] Encripting /home

2005-07-28 Thread Pupeno
On Thursday 28 July 2005 02:54, Richard Fish wrote:
 Pupeno wrote:
 I use the dm-crypt from the kernel
 
 I've read that it is unsecure and I also read that it is not yet vory well
 suported.

 Dm-crypt is fairly well supported, since it is in the kernel, but I find
 it to be harder to setup and less 'flexible' than loop-AES (the changing
 passphrase thing, for example).

I know it is in the kernes, but I've read that there weren't good userland 
tool to work with dm-crypt. Maybe that has changed and Gentoo's userland 
tools can work with dm-crypt, what's the status of that ?
Regarding loop-AES I've read it needs some heavy patching here and there, I 
don't want to do any patching myself because I am likely to loose track of 
it.

 It provides rougly the equivalent security as loop-AES in single-key
 mode (where a single key is used to encrypt every block).  loop-AES also
 supports multi-key mode, where 64 different keys are used to encrypt the
 blocks.  Multi-key makes certain kinds of attacks (specifically,
 watermark) more difficult, but is slower.

 However, I seem to recall reading somewhere in the last couple of weeks
 that dm-crypt was also getting multi-key support...maybe in the
 mm-kernel, or for 2.6.13...
Single key is enough for me.

 I know I don't need a key, but I do want a key (stored in a remobable
  modia) encripted with a passphrase I will be able to change, or best, my
  wife can have the key protected with a different passphrase than I do.
 Beyond that, encripting with a key is much better than doing that with a
 passphrase because the passphrase can be cracked (dictionary attack) while
 the key-encripted that can't.

 Well, technically, anything can be cracked given enough time and
 computing power.
Yes, ok. I should have added a 'practically' there somewhere.

 For using different passwords, this is possible.  You would need to
 encrypt the same key file with gpg to two different .gpg filesyour
 wife can use one, and you can use the other.  If the key files are
 stored on separate pieces of removable media, then you each have your
 own keys to the system.
That's the idea, that scheme plus the best superted method out fo the box (or 
the net, hehehe). I believe it is cryptoloop, but I am not sure.

Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpd6SXZCz4zG.pgp
Description: PGP signature


[gentoo-user] Encripting /home

2005-07-27 Thread Pupeno
Hello,
I want to have the /home of my laptop encripted, with an external key (in a CD 
or floppy, until I get an usb pain drive), specially to be able to change the 
passphrase easily and have various medias with different passphrases and the 
same key (so, my wife can uses her own passphrase), is this possible ? it'll 
be the non written 13th item here: 
http://www.sdc.org/~leila/usb-dongle/readme.html, right ?
Any docs that explains how to achieve this (as close as possible to Gentoo).
Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpYHXkc6SnBt.pgp
Description: PGP signature


Re: [gentoo-user] Encripting /home

2005-07-27 Thread Pupeno
On Wednesday 27 July 2005 20:54, Luigi Pinna wrote:
 Alle 01:18, giovedì 28 luglio 2005, Pupeno ha scritto:
  Hello,
  I want to have the /home of my laptop encripted, with an external key
  (in a CD or floppy, until I get an usb pain drive), specially to be
  able to change the passphrase easily and have various medias with
  different passphrases and the same key (so, my wife can uses her own
  passphrase), is this possible ? it'll be the non written 13th item
  here:
  http://www.sdc.org/~leila/usb-dongle/readme.html, right ?
  Any docs that explains how to achieve this (as close as possible to
  Gentoo). Thanks.

 I have my home encrypt...
 But I cannot change the passphrase!
I don't want a fixed passphrase.

 I use the dm-crypt from the kernel
I've read that it is unsecure and I also read that it is not yet vory well 
suported.

 With these options, I can create a dynamic passphrase...
What is a dynamic passphrase ?

 You don't need a key (that someone can keep and force) but the key is
 created from the passphrase: that means that without that word works
 nothing,but you need a good password (and please, don't write it on the
 monitor ;-) ...)
I know I don't need a key, but I do want a key (stored in a remobable modia) 
encripted with a passphrase I will be able to change, or best, my wife can 
have the key protected with a different passphrase than I do.
Beyond that, encripting with a key is much better than doing that with a 
passphrase because the passphrase can be cracked (dictionary attack) while 
the key-encripted that can't.

Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpcDrc0FBA0p.pgp
Description: PGP signature


[gentoo-user] rsync, ssh, multiple directories

2005-06-24 Thread Pupeno
how can I rsync various directories in one line (using ssh) ?
I'm looking for something  like [EMAIL PROTECTED]:/home/pupeno/[dira|dirb|dirc] 
that 
works.
Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgplLEiiOd3zW.pgp
Description: PGP signature


Re: [gentoo-user] Back up with no root

2005-05-29 Thread Pupeno
On Sunday 29 May 2005 02:23, Walter Dnes wrote:
   I think you're going about it the wrong way.

   - can you set up a cron job on the remote machine to push the backup
 to your machine (or where-ever)?  The cron job can run the backup as
 root, so you wouldn't need to worry about permissions.
Not really, my workstation has a dynamic ip. And I don't trust my server to 
ssh to some other computer out there to send all the data.

   - Google on the search term
 +ssh +remote backup
 for a whole bunch of examples.
I'll do.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpUNCfm2wl0C.pgp
Description: PGP signature


Re: [gentoo-user] Back up again

2005-05-29 Thread Pupeno
On Sunday 29 May 2005 00:07, Antonino Sabetta wrote:
 2005/5/28, Pupeno [EMAIL PROTECTED]:
  After a lot of testing and testing of different methods to make backups I

 It seems that all your requirements are met by a very smart backup
 tool called flexbackup. Have you had a look at it? It does local and
 remote backup, can use tar, can do full, incremental or differential
 backups.
It looks very promising, I'm already testing it.
Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpzgg7lbNqd2.pgp
Description: PGP signature


Re: [gentoo-user] Back up again

2005-05-29 Thread Pupeno
On Sunday 29 May 2005 00:07, Antonino Sabetta wrote:
 2005/5/28, Pupeno [EMAIL PROTECTED]:
  After a lot of testing and testing of different methods to make backups I

 It seems that all your requirements are met by a very smart backup
 tool called flexbackup. Have you had a look at it? It does local and
 remote backup, can use tar, can do full, incremental or differential
 backups.

I'm missing a couple of things, maybe flexbackup can do it, but I do not know 
how, can you help me ?

1- I need to backup some big files (databases) that change slightly over the 
days, so, I need to be able to do incremental/differential [1] back up inside 
each file, is that posible ? I tried setting up rsync, but it seems it 
downloads the files directly into my HD and not inside a tar; and it didn't 
work anyway.

2- I don't want each backup iteration in a separate file, I'm interested on 
incremental backups to save bandwidth, not to save old files, is it possible 
to end up having one archive for each backup ?

Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar

[1] I still don't get the difference.


pgpdj5sE7n6H6.pgp
Description: PGP signature


Re: [gentoo-user] Back up with no root

2005-05-29 Thread Pupeno
On Sunday 29 May 2005 16:53, Boyd Stephen Smith Jr. wrote:
 I never use rsync myself, but why not just use --rsh=ssh 'su -' instead
 of --rsh=ssh?
It'd have to be ssh 'sudo su -', but that doesn't work:
# rsync --verbose --checksum --archive --partial --progress --rsh=ssh 'sudo 
su -' [EMAIL PROTECTED]:/var/ ./var/
ssh: 'sudo: Name or service not known
rsync: connection unexpectedly closed (0 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(189)

Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpDbhpQhl55y.pgp
Description: PGP signature


Re: [gentoo-user] Back up with no root

2005-05-28 Thread Pupeno
On Saturday 28 May 2005 10:47, Mark Shields wrote:
 Obviously, if you've never used sudo you'll have to emerge the package
 app-admin/sudo.  Then, configure /etc/sudoers with the visudo command.
  Find #%wheel  ALL=(ALL)ALL  and uncomment it.  Then, add the
 user you want to be able to use sudo to the wheel group (usermod -g
 name).  And that's it.

 The user should now be able to use sudo, 
 provide they enter the root password when using it.
This part is not right I believe, the good thing of sude is that you scalate 
privileges by using your own password, not root's password, I don't even know 
root's passwords of the server.

 If you don't want 
 to have the use a password to use sudo (highly recommended you do),
 uncomment # %wheelALL=(ALL)   NOPASSWD: ALL instead.

BTW, I think you missunderstood the question, I have sudo isntalled, I know 
how it works and I am using it to do anything that requires root on my server 
(after logging in as pupeno). My question is, how do I run a command like 
this:
rsync --verbose --checksum --archive --partial --progress --rsh=ssh 
[EMAIL PROTECTED]:/var/ ./var/
having root-privileges on the server.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpJLu0Fx2A9e.pgp
Description: PGP signature


[gentoo-user] Back up again

2005-05-28 Thread Pupeno
After a lot of testing and testing of different methods to make backups I 
reached a conclution of what I need, but I don't know if it's possible.
I want to do an rsync of the server directories I want but locally, it should 
end up in a tared file (it doesn't need to be compressed). I need it on a 
tared file because I want to preserve permissions, so, restoring the backup 
won't be a pain. I want rsync because I need to make it incremental, if not, 
I'll kill my server's bandwidth, at last I need to reach root privileges by 
sudoing.
Is this possible ? if not, is there any workarround that you know that might 
help me (like taring the dirs on the server and syncing that) ?
Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpLEWJAGJFgP.pgp
Description: PGP signature


[gentoo-user] Back up with no root

2005-05-27 Thread Pupeno
Hello,
I'm trying to set up my computers so I make backups of my server from my 
workstation (we don't have a backup server). The thing is that I have a 
normal user on that server and I'm on the sudoers file to perform any 
root-task.
Now, to back up, I'm running an rsync thru ssh to the server, but that runs as 
a my user because I can't ssh as root, how can I achieve root privileges to 
be able to perform the back up ?
Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpXa7xGvffO5.pgp
Description: PGP signature


[gentoo-user] gpgme and s/mime

2005-05-25 Thread Pupeno
Hello,
I was using s/mime with gpgme on another distro and then, when I tried to use 
it on Gentoo I've found out KMail claimed s/mime was not supported, I did the 
re-scan and it says gpgme is compiled without s/mime support, so, a fast grep 
showed me this:
/usr/portage/profiles/use.local.desc:app-crypt/gpgme:smime - Add smime support
so I enabled that USE flag, only to latter found that it is not beign used:
# emerge -vp gpgme

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-crypt/gpgme-1.0.2  814 kB

Total size of downloads: 814 kB


Is it me or there's something wrong here ?
Thank you.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpmZhMGuVMwu.pgp
Description: PGP signature


[gentoo-user] Problem with RSYNC

2005-05-04 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When trying to do a backup of my data with rsync, I'm getting this kind of 
errors, they happen always in the same file untill I remove that file, any 
ideas ?

/home/pupeno/.kde3.3/share/apps/kmail/imap/.1476700102.directory/.INBOX.directory/Trash
rsync: writefd_unbuffered failed to write 4 bytes: phase unknown: Broken 
pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(666)
rsync: writefd_unbuffered failed to write 146 bytes: phase unknown: Broken 
pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(666)

Thanks.
- -- 
Pupeno: [EMAIL PROTECTED] - http://pupeno.com
Reading Science Fiction ? http://sfreaders.com.ar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCeTHkfW48a9PWGkURAnJFAJ9EUf9O0o+Vjz7KshKSCV61X57omACfeq7f
u68St63FExoeOHdQZ4z7bKU=
=qi8I
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Starting jabberd 2.0s8

2005-05-02 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

# jabberd -D
I emerged jabberd 2.0s8 and I've done the basic configuration to use a MySQL 
database that I've created, I'v tried starting it, but it didn't work, this 
are the messages I get when I run it on debugging mode:

JBRD: debug on
JBRD: version(2.0s8)
JBRD: config_dir(/etc/jabberd)
JBRD: LaunchJob: router - /usr/bin/router -c /etc/jabberd/router.xml -D
JBRD: LaunchJob: resolver - /usr/bin/resolver -c /etc/jabberd/resolver.xml -D
JBRD: LaunchJob: sm - /usr/bin/sm -c /etc/jabberd/sm.xml -D
JBRD: LaunchJob: s2s - /usr/bin/s2s -c /etc/jabberd/s2s.xml -D
JBRD: LaunchJob: c2s - /usr/bin/c2s -c /etc/jabberd/c2s.xml -D
C2S : WARN: Debugging not enabled.  Ignoring -D.
ERROR: c2s died.  Shutting down server.
JBRD: Got a signal... pass it on.
JBRD: It was a TERM.  Shut it all down!

Any ideas as to what might be wrong here ?

Thank you.
- -- 
Pupeno: [EMAIL PROTECTED] - http://pupeno.com
Reading Science Fiction ? http://sfreaders.com.ar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCdmsXfW48a9PWGkURAu7RAJ0VlMrOKnMbLm0V7ylhRcVA4K6f6gCfbqmT
aOKxXDasgx7YIruiw02nk9o=
=5Xyc
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] resuming emerge

2005-04-14 Thread Pupeno
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there any way to resume emerging ? I have a workstation which spent about 5 
hours compiling OpenOffice and I had to turn it off, I'd like to continue 
building it (that's the idea behind make and incremental building, isn't 
it?).
Is it possible ?
If no, am I the only one whishing this ?
thank you.
- -- 
Pupeno: [EMAIL PROTECTED] - http://pupeno.com
Reading Science Fiction ? http://sfreaders.com.ar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCXxwvfW48a9PWGkURAiCiAJoDJos5Tkg9l5Z9beSabdRDBTz3jwCdE0g2
7pKPoB+QQHw2p5AwygOZt+g=
=O0NZ
-END PGP SIGNATURE-
--
gentoo-user@gentoo.org mailing list