Re: [gentoo-user] kernel compile error: no member named `dir'

2006-01-03 Thread Peter Volkov (pva)
On Сбт, 2005-12-31 at 21:27 +0100, Jarry wrote:
> I'm trying to compile 2.6.14-gentoo-r5 kernel, but I got this error:

> It seems to be somehow related to network connection tracking
> option in netfilter, but I do not know what I misconfigured
> and what is causing this error. Any idea? I would not like to
> disable connection tracking, I find it a very useful feature...

Try to disable pptp contrack helper:
Network packet filtering (replaces ipchains)  --->
  Netfilter Configuration  --->
Connection tracking (required for masq/NAT) ->
  PPTP protocol support

But this is rather strange. What arch do you have?  

Peter.


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


Re: [gentoo-user] KDE without aRts?

2006-01-03 Thread Peter Volkov (pva)
Hello.

On Вск, 2006-01-01 at 01:57 +0530, Abhay Kedia wrote:
> What all problems should I expect by 
> putting a -arts in /etc/make.conf? I tried searching on Google and Gentoo 
> Forums but could not find anything conclusive.

AFAIK there is a problem. kde compiled without arts does not have sound
events. You may search bugs.kde.org for related bugs. This was tested by
me on kde-3.4.2 and was broken. Bug is still opened...

But seems that in next version of kde arts will be deprecated. So my
suggestion is to leave arts in USE flags for kde only and disable it for
other applications. Then in kcontrol you may wish to disable arts too,
and use external player option. Thus artsd remains in your system but
it'll be never used.

Peter.


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


Re: [gentoo-user] Asking dhcp for a static address

2006-01-06 Thread Peter Volkov (pva)
On Птн, 2006-01-06 at 08:53 +0100, Sergio Polini wrote:
> I can't understand how to ask dhcp for a static address.
> I've read /etc/conf.d/net.example, but using
> 
> config_eth0=(  netmask  brd )
> 
> in /etc/conf.d/net configures my network interface _instead of_
> asking 
> dhcp (the files in /var/lib/dhcpc are not updated).

Right. This is static configuration. No dhcp.

> If I use
> 
> dhcpcd_eth0="-s "
> 
> dhcpcd hangs.

> Any hints? 

Hm. Information from net.example, expressed in other words:

First select what dhcp client you are going to use by adding one of
# dhclient: emerge net-misc/dhcp
# dhcpcd:   emerge net-misc/dhcpcd
# pump: emerge net-misc/pump
# udhcpc:   emerge net-misc/udhcp
in modules. Fex
1.  modules=( "dhcpcd" )
Now. Tell that you are going to use dhcp on eth0
2.  config_eth0=( "dhcp" )
And then add custom configuration options
module_eth0="custom_options"
Fex
3.  dhcpcd_eth0="-s 123.123.123.123"

BTW. What version of baselayout do you have?

Peter.


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


Re: [gentoo-user] Multiple Firefox v1.5 Instances

2006-01-21 Thread Peter Volkov (pva)
On Чтв, 2006-01-19 at 09:11 -0800, Richard Ruth wrote:

> How do I start a second instance of FireFox V1.5?

I do not have firefox-1.5 installed by try
$ firefox --help

Peter.


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


Re: [gentoo-user] trouble with CUPS

2006-01-21 Thread Peter Volkov (pva)
On Птн, 2006-01-20 at 08:55 -0800, maxim wexler wrote:
> According to the Gentoo Printing Guide -> Installing
> the Printer, I'm to go to http://localhost:631  and
> then click on "Administration". Well, there's "Do
> Administrative Tasks", so I clicked on that. The guide
> says to "enter root login and password" into the box
> but the box only asks for username. 

Just a crazy idea. May be you should change the size of you window?

Another possible solution is to use kdeprint.

Peter.


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


Re: [gentoo-user] KDE without ARTS

2006-01-21 Thread Peter Volkov (pva)
On Сбт, 2006-01-21 at 14:55 -0500, James Colby wrote:
> 
> I have been looking through the list archives and haven't found an
> answer to my question.  I have compiled KDE 3.5 with "alsa -arts" in
> my make.conf.  Now is it possible to hear System Notifications, by
> using an external audio player.  I have set up an external audio
> player in Kcontrol, but I still can not hear System Notifications. 

Because this does not work. 

http://bugs.kde.org/show_bug.cgi?id=99246

Peter.


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


Re: [gentoo-user] Captive requires gnome?

2006-01-22 Thread Peter Volkov (pva)
On Вск, 2006-01-22 at 12:19 +, Michael Kintzios wrote:

> I am trying to emerge Captive but it wants to pull in some gnome
>  dependencies.  Is there a way of avoiding this on a non-gnome machine?

You may find out this by yourself. Just look into
`less /usr/portage/sys-fs/captive/captive-1.1.7.ebuild`.

DEPEND variable list all dependencies that are required. So if you look
there you'll see that gnome-base/libbonobo, gnome-base/gnome-vfs and
some other things are required from maintainer's pov :) If you think
maintainer is wrong report about this issue on bugs.gentoo.org.

Peter.



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


Re: [gentoo-user] NIC setup? slow transfer speed

2006-02-01 Thread Peter Volkov (pva)
On Пнд, 2006-01-30 at 20:52 +0100, Stuart Howard wrote:
> Transfer 39Mb file from
> gentoo -> XP share using Konqueror trans time <=25 seconds [XP share
> mounted smb using Linneibourhood]
> 
> Transfer 39Mb file from
> gentoo -> XP share using winXP copy trans time >=5 mins [gentoo smb
> directory to XP share dir ie. XP shared dir Not mounted]

May be solution is there:
http://dsd.lbl.gov/TCP-tuning/

Peter.


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


Re: [gentoo-user] {OT} Recovering data from a formatted hard disk

2006-02-01 Thread Peter Volkov (pva)
On Пнд, 2006-01-30 at 17:03 -0800, Grant wrote:
> I've heard that data can be recovered from a formatted hard
> disk.  Lucky for me I don't have any interest in actually doing this,
> but I got in an argue\ment with a buddy last night about whether or
> not it was possible.  I'm sure I've read that the government and other
> well-funded institutions have this capability.  Is it true? 

What a long thread, full of myths. But there are no miracles :)

Short answer for your question is... No. It's not true.

Having some experience in field of data recovery I'm not going to dive
into my real stories. I'll better give some general hints.

Answer on your question depends on how hard drive was formatted or how
it was crashed. If you do `dd if=/dev/zero of=/dev/hdd then there is no
chances you'll get you data. Why? Because all byte and bits on your hard
drive became 0. dot. If you heard about remanence or that 0 is a bit 1
and that some big craft apparatus can read such data, think about hard
drive manufacturers. They spend big efforts to make hard drive a bit
more capacious. So why they leave free space for additional information
on your hard drive, which you have when you think about space between
tracks or under-rotation of magnetic domains?

But than you may ask. What does data recovery companies can do?

Well. The best they can do is to read files from you hard drive when it
contains them! So suppose you have deleted file. This operation only
removes entry in you directory table, but not the file itself. Or you
did format you hard drive. That will rebuild only file structure on you
hard drive. Normally that means that you overwrite about 5% of you
drive. All other data is intact. Just read it.

But what I mean by reading deleted file? You may get filling about that
with grep. Actually grep is the first utility to do data recovery. It's
very easy to use but very powerful if you know what are you looking for.
just try:
# grep "/etc/fstab: static file system information" -B1 -A10 /dev/hda
and you will find you fstab on hard drive even after you remove it. If
you grep for "PDF-1." you will find some pdf files. There are special
programs for data recovery, that know many different patterns, but
internally work like grep. Of course, there are problems if, fex, file
is big enough and it is not written in consequent blocks of hard drive
or if some parts of file are overwritten...

But what about big machines??? What they are for? You may find some of
them searching in google, fex, on data recovery sites. Well they are
used in a situation when hard drive was broken mechanically or internal
hard drive logic is broken (fex, due to bad blocks). If you hard drive
is broken mechanically, you have to find another identical (see serial
number...) hard drive and then you should open them and move disks from
hard drive with broken mechanics into new one. After that hard drive is
broken. You can not just plug in and use because unique, hard drive
specific information like where to look for zero track is lost. But that
machine allows you to "control" heads, you have possibility to read that
hard drive. After that use grep to search for your files in the raw
stream of data.

You may find some interesting information about data recovery in google.
But as I told you. No miracles. Sorry. =)

HTH,
Peter.


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


Re: [gentoo-user] museseq-0.6.2-r1 not compiling

2006-05-21 Thread Peter Volkov (pva)
On Сбт, 2006-05-20 at 20:03 +, b.n. wrote:
> Trying to re-emerge (due to new use flags) museseq gave me the following 
> error:
> 
> itransformbase.cpp:28:23: spinboxfp.h: No such file or directory
> make[3]: *** [itransformbase.lo] Error 1
> make[3]: *** Waiting for unfinished jobs

1. Please report about this at bugs.gentoo.org. (Search beforehand with
keyword "museseq")
2. Try to compile with env MAKEOPTS="-j1" emerge museseq

HTH,
Peter.



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