Re: [gentoo-user] What things wont run without hal being started?

2007-10-10 Thread Rumen Yotov
On (10/10/07 19:44) [EMAIL PROTECTED] wrote:
> I received this message after emerging hal:
>  * The HAL daemon needs to be running for certain applications to
>  * work. Suggested is to add the init script to your start-up
>  * scripts, this should be done like this :
>  * `rc-update add hald default`
> 
> What applications are being referenced here?
> 
> -- 
> [EMAIL PROTECTED] mailing list
> 
Hi,

All apps for which the 'hal' global USE-flags is enabled.
#euse -i hal
HTH. Rumen
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] What things wont run without hal being started?

2007-10-10 Thread reader
I received this message after emerging hal:
 * The HAL daemon needs to be running for certain applications to
 * work. Suggested is to add the init script to your start-up
 * scripts, this should be done like this :
 * `rc-update add hald default`

What applications are being referenced here?

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage through a proxy

2007-10-10 Thread David W Noon
On Wednesday 10 Oct 2007 14:40 in article <[EMAIL PROTECTED]>
of linux.gentoo.user, Neil Bothwick([EMAIL PROTECTED]) wrote:

> On Wed, 10 Oct 2007 09:11:42 -0400, James Colby wrote:
> 
>> Does anyone know if it possible to configure emerge to use the value
>> of
>> $http_proxy as my proxy?  I use my laptop both at home and at work, I
>> have a script that sets the $http_proxy env variable depending on
>> where
>> I am, and I would like to have emerge use that value.  I have tried
>> setting http_proxy in make.conf to $http_proxy but that did not work.
> 
> Portage uses wget by default, and wget respects $http_proxy. According
> to /etc/make.conf.example
> 
> # Fetching files
> # ==
> #
> # If you need to set a proxy for wget or lukemftp, add the appropriate
> # "export ftp_proxy=" and "export http_proxy=" lines to
> # /etc/profile if all users on your system should use them.

Just to expand on this a bit, the /etc/make.conf file probably needs to
define the rsync proxy too, although you can use websync. For all my
proxy work I use Squid. To this end I use the following lines in the
named files:

/etc/make.conf
http_proxy="http://localhost:8080";
ftp_proxy="http://localhost:8080";
RSYNC_PROXY="localhost:8080"

/etc/wget/wgetrc
http_proxy = http://localhost:8080/
ftp_proxy = http://localhost:8080/
no_proxy = .local

/etc/squid/squid.conf
acl SSL_ports port 443 563 873  # 873 for rsync
acl Safe_ports port 873 # rsync

Note that the above are just extracts from the configuration files, not
the complete things. Note also that I allow my Gentoo boxes to query
each other's /usr/portage/distfiles before downloading from a mirror,
and my internal top-level domain name is .local; as a result, wget is
told to bypass the proxy on such connections.

Moreover, the above were taken from the machine that runs Squid, which
is why all the proxy connections use localhost. On other machines, the
domain name of the proxy server is memphis.local.

-- 
Regards

Dave  [RLU#314465]
==
[EMAIL PROTECTED] (David W Noon)
==


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?

2007-10-10 Thread Dan Farrell
On Wed, 10 Oct 2007 18:07:19 -0600
Ted Ozolins <[EMAIL PROTECTED]> wrote:

> In Canada you can
> download/upload all the music you want legally,( we've paid for it ten
> times over via a levy against all recording media)

huh?  would you do just a little elaborating?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?

2007-10-10 Thread Dan Farrell
On Wed, 10 Oct 2007 16:50:30 -0700
"Daevid Vincent" <[EMAIL PROTECTED]> wrote:

> I've thought about setting up a "hotel page" type system, but it's
> just one more thing I don't have time to futz with. If push came to
> shove, I'd just start blacklisting ALL MAC's (or I should say
> whitelisting *my* MACs actually).
> 
> I'd really like to be part of a mesh, but where I live I'm in the
> middle of suburbia.

MAC addresses can be spoofed, and, i've been convinced, sniffed out
very easily.  MAC address filterning isn't safe, but does make sure
anyone abusing your net the way we're talking about here uses your mac
addresses and not their own.

on the other hand, you could make them digitally agree to a user
agreement and I bet that would go a long way in court.  

I've been wondering about this too.  I'm trying to think of a way to
integrate a webpage with server routing and such.  
-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?

2007-10-10 Thread Albert Hopkins

On Wed, 2007-10-10 at 16:50 -0700, Daevid Vincent wrote:
> > -Original Message-
> > I was wondering what would happen if someone downloaded some music
> > illegally or some child porn?  How would you prove it was them and not
> > you?  Being a good neighbor is nice but you need to be 
> > careful for sure.
> 

Search Google for "if someone uses your property to commit a crime" and,
somewhat surprisingly, the first hit you get is this:

http://www.techdirt.com/articles/20060320/1636238.shtml


--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?

2007-10-10 Thread Ted Ozolins
Dale wrote:
> Mick wrote:
>> PS. Where I live I have to pay for bandwidth (although where I currently 
>> work 
>> I don't).  So your concept of offering bandwidth for free seems somewhat 
>> strange to me.  Furthermore, I would be concerned what different people may 
>> be using the Internet for and what trouble I could get into, for being the 
>> registered owner of the particular public IP address.  That said, I would 
>> looove being your neighbor!  :)
>>   
> 
> I was wondering what would happen if someone downloaded some music
> illegally or some child porn?  How would you prove it was them and not
> you?  Being a good neighbor is nice but you need to be careful for sure.
> 
> Just a thought.
> 
> Dale
> 
> :-)  :-)  :-)
It all depends in what country you live in. In Canada you can
download/upload all the music you want legally,( we've paid for it ten
times over via a levy against all recording media) as for illegal
material, if its not on your computer, its not in your possession.

Cheers.
Ted Ozolins  (VE7TVO)
Cranbrook, BC

-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?

2007-10-10 Thread Daevid Vincent
> -Original Message-
> I was wondering what would happen if someone downloaded some music
> illegally or some child porn?  How would you prove it was them and not
> you?  Being a good neighbor is nice but you need to be 
> careful for sure.

Dunno. I suppose I'd show some logs from the DHCPd server or HostAPd or
something that showed the MAC addresses used at that particular time of the
infraction?

How do Coffee shops handle that? They have open WiFi -- many of them (here
in Seattle at least), you can just jump on from anywhere. Hell there are
about 12 WAP right here in my building that I can see and several are not
WEP or WPA. When our network goes down, sometimes I just jump on them. :)

Besides, most sites that actually LET you download these days require some
sort of login anyways. So that hypothetical person in your scenario would
have that on their computer, whereas I would not. ;-p

I don't really think about it too much.

I've thought about setting up a "hotel page" type system, but it's just one
more thing I don't have time to futz with. If push came to shove, I'd just
start blacklisting ALL MAC's (or I should say whitelisting *my* MACs
actually).

I'd really like to be part of a mesh, but where I live I'm in the middle of
suburbia.

D.Vin
http://daevid.com 
(check out the free code section!)

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Problems after long-due emerge -uDN world

2007-10-10 Thread Henk Boom
Hi, I did an update last week-end after not doing one since the spring
(I know, naughty me >_>). Aside from the really horrible libexpat
update which took me most of the weekend to fix, I'm having some
behaviour issues now, with which I would greatly appreciate help in
fixing.

First, my alt key seems not to work properly. It works fine in regular
programs (e.g. alt-f in firefox pulls down the file menu properly),
but not for wm or X-related things. For example, I can no longer use
ctrl-alt-fx to change to a VT from with X. Control-alt-backspace
_does_ work, and I can switch to a VT if I do it quick before before
it finishes restarting, at which point the shortcut works fine until I
get back into the X display. With my wm (xfwm), the keyboard shortcut
settings program will detect the alt key fine when I'm setting
shortcuts, but any shortcut involving alt will not work when I
actually try to use it. The normal alt-drag to move windows and such
doesn't work either.

The second problem is that all of my fonts in X are suddenly a couple
sizes too big. If I run "xrandr --dpi 75" the font sizes go back to
normal in programs I start afterward.

I followed the dpi guide on gentoo-wiki, but no DisplaySize setting in
my xorg.conf seems to make a difference. I see the following in
/var/log/Xorg.0.log when I try setting DisplaySize to 346 260:

...
(**) intel(0): Display dimensions: (346, 260) mm
(**) intel(0): DPI set to (75, 100)
...
(II) intel(0): Setting screen physical size to 270 x 203
...

This suggests to me that my settings are getting overruled somehow. I
am using x11-drivers/xf86-video-i810-2.1.0 with x11-base/xorg-x11-7.2.

Any advice would be appreciated.

Henk Boom
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-laptop] Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)

2007-10-10 Thread Volker Armin Hemmann
On Mittwoch, 10. Oktober 2007, Marco Calviani wrote:
> > AFAIK only if you have lm_sensors installed and sensors working.
>
> Yes there are both installed. But what do you mean?

that controlling the fan speed without acpi needs a) lm_sensors. b) sensors 
being working and c) fancontrol working.


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Remerge the system with gcc-4.1?

2007-10-10 Thread Mick
On Wednesday 10 October 2007, Daevid Vincent wrote:

> What is the compelling reason to update if any? I've masked out this new
> GCC for many months and have had no "issues" thus far that I know of.

As I understand it, your future compiles will faster, safer, more stable and 
what have you, as the newer compiler is meant to produce 'better' code.

> I absolutely dread dicking with this for days and days, fixing things
> that currently work, merging all the /etc/ files with the "new" ones for
> the same packages that will be simply re-compiled with the new GCC.

If you follow the relevant upgrade guide to the letter, it *shouldn't* be as 
dramatic as this.  Nevertheless, your mileage may vary and all the caveat 
emptors that go with it means that you better leave this upgrade for a rainy 
day, rather than when you want to use the machine for production purposes.

> So my questions are:
>
> [a] what compelling reason is there to upgrade (other than "you should
> b/c it's stable")

As per my understanding above.

> [b] is it just better to d/l a new Gentoo .iso install that has all this
> crap already, copy over my world file or whatever and have it install
> the missing packages (apache, php, mysql, kde, gnome, etc)

Well, you'll still need to rebuild all/most of your world.

> [c] if I do that method, I would save the hassle of KDE and Gnome right?
> As they come as binaries already?

They do?  Have I missed something?

> [d] can I just "not fix if it aint broke" and keep with what I have? Or
> is this just a question of time before I start hitting walls of new
> packages I can't use.

I guess you could get away with it for quite some time.  Someone more 
knowledgeable on system development ought to advise better here.

Good luck.  :)
-- 
Regards,
Mick


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


[gentoo-user] Re: Perl module problem

2007-10-10 Thread Moshe Kamensky
* Naga Toro <[EMAIL PROTECTED]> [10/10/07 14:15]:
> On Sunday 07 October 2007 20.21.57 Moshe Kamensky wrote:
> > Hi,
> >
> > Does /usr/lib/perl5/vendor_perl/5.8.8/Scalar/Util.pm exist? What is the
> > output of
> >
> > perl -le 'print foreach @INC'
> 
> $ perl -le 'print foreach @INC'
> /etc/perl
> /usr/lib/perl5/vendor_perl/5.8.8/i686-linux
> /usr/lib/perl5/vendor_perl/5.8.8
> /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/site_perl/5.8.8/i686-linux
> /usr/lib/perl5/site_perl/5.8.8
> /usr/lib/perl5/site_perl
> /usr/lib/perl5/5.8.8/i686-linux
> /usr/lib/perl5/5.8.8
> /usr/local/lib/site_perl
> .
> 
> Same on both machines.
> 

Strange. Can you edit /usr/lib/urxvt/urxvt.pm and add the line

warn $INC{'Scalar/Util.pm'};

just before line 1191? Then run urxvt from a terminal, and see what it 
says.

> > By the way, I run urxvt fine with the Scalar::Util that comes with perl.
> > do you have something like
> > /usr/lib/perl5/5.8.8/i686-linux-thread-multi/auto/List/Util/Util.so
> 
> /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
> /usr/lib/perl5/5.8.8/i686-linux/auto/List/Util/Util.so

What about /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/Scalar/Util.pm ?

Moshe

> 
> Same on both machines (except that i686 == x86_64 on the working one).
> 
> >
> > Moshe
> >
> > * Naga Toro <[EMAIL PROTECTED]> [05/10/07 16:06]:
> > > Hi,
> > >
> > > I have two machines that uses x11-terms/rxvt-unicode-8.3. One is ~amd64
> > > and one is ~x86, both have the same version of perl and
> > > perl-core/Scalar-List-Utils. One can use the perl extensions (~amd64 one)
> > > and one gives this error on startup:
> > > 
> > > urxvt: perl hook 0 evaluation error: Undefined subroutine
> > > &Scalar::Util::weaken called at /usr/lib/urxvt/urxvt.pm line 1191
> > > 
> > > nonworking:
> > > $ strace urxvt 2>&1 | egrep 'open.*perl'
> > > /usr/lib/perl5/5.8.8/Scalar/Util.pm
> > > /usr/lib/perl5/5.8.8/List/Util.pm
> > > 
> > > working:
> > > $ strace urxvt 2>&1 | egrep 'open.*perl'
> > > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Scalar/Util.pm
> > > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/List/Util.pm
> > > /usr/lib64/perl5/5.8.8/x86_64-linux/XSLoader.pm
> > > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/List/Util/Util.so
> > > 
> > > This indicates that the working uses perl-core/Scalar-List-Utils but the
> > > nonworking uses dev-lang/perl, but why?
> > >
> > > Does anyone have an idea as to how I can debug this?
> -- 
> [EMAIL PROTECTED] mailing list
> 


pgpA87hXzppNa.pgp
Description: PGP signature


Re: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?

2007-10-10 Thread Mick
On Wednesday 10 October 2007, Ow Mun Heng wrote:
> On Wed, 2007-10-10 at 10:10 +0200, Alan McKinnon wrote:
> > On Wednesday 10 October 2007, Daevid Vincent wrote:
> > > Anyways, sometimes I have stupid neighbors who don't quite "get it"
> > > and will just blindly let their computers connect to my WAP. UGH!
> > > They sit on it for hours and days and generally piss me off.
> > >
> > > How can I boot someone off my network? I usually add them to my
> > > shorewall blacklist file, and then:
> >
> > You run dhcp? Just exclude that MAC address from getting a lease.
> >
> > No IP address = no route = problem solved
> >
> > For a second level of teach-them-a-lessonness, iptables has a 'mac'
> > extension. Use that to match the MAC address and DROP all patches in
> > your outgoing firewall FORWARD chain
>
> Better yet.. redirect them to a (random) page that shows everything
> about cats.
>
> I read this one from google.

Since you mention Google, I remember reading about a NASA style AP 
authentication which may be of interest to the OP:

Essentially you run a web server with SSL authentication so that only users 
who authenticate with user name/passwd that you have provided, are issued 
with an IP address by your dhcp server.  In this way you can control who's 
using your bandwidth; what they use it for; e.g. only mail; or mail & http; 
etc.  If you are interested in providing this as a service then you issue 
usernames/passwds to applicants via email.  Additionally, you can run QoS and 
throttle http, or bitorrent (ab)users, a proxy caching server, and what not.

PS. Where I live I have to pay for bandwidth (although where I currently work 
I don't).  So your concept of offering bandwidth for free seems somewhat 
strange to me.  Furthermore, I would be concerned what different people may 
be using the Internet for and what trouble I could get into, for being the 
registered owner of the particular public IP address.  That said, I would 
looove being your neighbor!  :)
-- 
Regards,
Mick


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


Re: [gentoo-user] whoa, this new(ish) portage is nice

2007-10-10 Thread Bo Ørsted Andresen
On Wednesday 10 October 2007 20:53:51 Christopher Copeland wrote:
> On 10 Oct 2007, at 13:57, Mark Shields wrote:
> > I was thinking the same.  I remember when I first started using
> > Gentoo (2004?) when doing updates, I always wished it would spit
> > out the notices at the end instead of every emerge.  Imagine my
> > surprise when I saw they had implemented that.  Good show, Gentoo
> > devs!
>
> Am I missing something, I don't notice anything new.. I configured
> the PORTAGE_ELOG settings many versions of portage ago, so maybe that
> has something to do with it? I already get all the elog stuff mailed
> to me for each ebuild which seems like an easier way to manage that
> information but I am still curious!

Yeah, PORTAGE_ELOG_SYSTEM="save_summary echo" is now the default when 
PORTAGE_ELOG_SYSTEM is unset in /etc/make.conf.

-- 
Bo Andresen


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


Re: [gentoo-user] whoa, this new(ish) portage is nice

2007-10-10 Thread Christopher Copeland

On 10 Oct 2007, at 13:57, Mark Shields wrote:

I was thinking the same.  I remember when I first started using  
Gentoo (2004?) when doing updates, I always wished it would spit  
out the notices at the end instead of every emerge.  Imagine my  
surprise when I saw they had implemented that.  Good show, Gentoo  
devs!


--
- Mark Shields


Am I missing something, I don't notice anything new.. I configured  
the PORTAGE_ELOG settings many versions of portage ago, so maybe that  
has something to do with it? I already get all the elog stuff mailed  
to me for each ebuild which seems like an easier way to manage that  
information but I am still curious!

--
Christopher Copeland
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-laptop] Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)

2007-10-10 Thread Marco Calviani
>
> AFAIK only if you have lm_sensors installed and sensors working.

Yes there are both installed. But what do you mean?

m
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-laptop] Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)

2007-10-10 Thread Volker Armin Hemmann
On Mittwoch, 10. Oktober 2007, Marco Calviani wrote:
> Hi Beso,
>   sorry i misunderstood your suggestion. I did what you suggest and
> this is the result of the trip_points:
>
> critical (S5):  100C
>
> which i suppose is the reason why at that temperature the laptop switch
> off. So, nothing except for the critical state. Should i have to add there
> something?
>
> An additional problem is this:
> doing a
> $ cat /proc/acpi/thermal_zone/TZ01/temperature
> it gives only a:
>
> temperature: 0C
>
> My question is:
> even if i change the polling frequency, how the fan can start if the
> temperature gives 0??
> Do you know if it's possible to link the fan start with the core
> temperature instead of the ACPI thermal zone?

AFAIK only if you have lm_sensors installed and sensors working.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-laptop] Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)

2007-10-10 Thread Marco Calviani
Hi Beso,
  sorry i misunderstood your suggestion. I did what you suggest and
this is the result of the trip_points:

critical (S5):  100C

which i suppose is the reason why at that temperature the laptop switch off.
So, nothing except for the critical state. Should i have to add there something?

An additional problem is this:
doing a
$ cat /proc/acpi/thermal_zone/TZ01/temperature
it gives only a:

temperature: 0C

My question is:
even if i change the polling frequency, how the fan can start if the
temperature gives 0??
Do you know if it's possible to link the fan start with the core
temperature instead of the ACPI thermal zone?

Regards,
m

>
> thats why i told you to do this commanda:
> > echo "2 seconds" >
> /proc/acpi/thermal_zone/TZ01/polling:frequency
> >
>  this enables the polling of your thermal every 2 seconds. this should be
> enough.
> do you have the other file that i mentioned:
> > /proc/acpi/thermal_zone/TZ01/trip_points ?!
> this sets the trip points for your processor. whitout it you governor cannot
> understand what to do even if it polls right.
>
> as for the kernel thigs, set these options:
> select processor type: intel core2 instead of normal x86
> CONFIG_X86_SPEEDSTEP_CENTRINO=y instead of m
> CONFIG_ACPI_FAN=y instead of m
> CONFIG_MICROCODE=y instead of m (for what i know cpu micocode is needed on
> intels)
> CONFIG_K8_NUMA=n instead of y (this should be the amdk8 numa, that you
> should not need. if it's not then let him be)
> CONFIG_X86_MCE_AMD=n instead of y (you don't need amd mce features since
> they are not included into intel cpus)
> CONFIG_NR_CPUS=32 <-- this leaves me a little dazzled: do you really have 32
> cpus in your core?! for what i know this sets the real number of cpus inside
> the kernel, but i might be wrong. so if this is really what i think it is,
> ie the real nr of cpus (not virtual ones) set this to 2 or 4 based on your
> cpu cores.
> CONFIG_HOTPLUG_CPU=n instead of y (i don't really think that you'll unplug
> your cpu from your laptop when the laptop is still running considering that
> you don't use multi cpus but a single multicore cpu. the same goes for
> memory hotplug: i don't think that your laptop supports it, so just disable
> it.)
> for what i have seen the acpi problems may be due to a failure in loading
> the intel speedstep module. if you look into the modules loaded (lsmod) you
> should not see it. so it's better to insert it directly in the kernel, since
> it is one of the first modules called (if you use it as a module you should
> be loading it with initramdisk before loading acpi to have a full acpi
> configuration).
> try setting these options and recompile and install the new kernel and
> modules and reboot (kexec is not working on my amd turion with 64bit enabled
> and so may also be for your core2duo).
>
>  2007/10/10, Marco Calviani <[EMAIL PROTECTED]>:
> > Sorry i missed the attachment.
> >
> > regards,
> > m
> >
> >
>
>
>
> --
> dott. ing. beso
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Perl module problem

2007-10-10 Thread Naga Toro
On Sunday 07 October 2007 20.21.57 Moshe Kamensky wrote:
> Hi,
>
> Does /usr/lib/perl5/vendor_perl/5.8.8/Scalar/Util.pm exist? What is the
> output of
>
> perl -le 'print foreach @INC'

$ perl -le 'print foreach @INC'
/etc/perl
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/site_perl/5.8.8/i686-linux
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
/usr/lib/perl5/5.8.8/i686-linux
/usr/lib/perl5/5.8.8
/usr/local/lib/site_perl
.

Same on both machines.

> By the way, I run urxvt fine with the Scalar::Util that comes with perl.
> do you have something like
> /usr/lib/perl5/5.8.8/i686-linux-thread-multi/auto/List/Util/Util.so

/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/auto/List/Util/Util.so
/usr/lib/perl5/5.8.8/i686-linux/auto/List/Util/Util.so

Same on both machines (except that i686 == x86_64 on the working one).

>
> Moshe
>
> * Naga Toro <[EMAIL PROTECTED]> [05/10/07 16:06]:
> > Hi,
> >
> > I have two machines that uses x11-terms/rxvt-unicode-8.3. One is ~amd64
> > and one is ~x86, both have the same version of perl and
> > perl-core/Scalar-List-Utils. One can use the perl extensions (~amd64 one)
> > and one gives this error on startup:
> > 
> > urxvt: perl hook 0 evaluation error: Undefined subroutine
> > &Scalar::Util::weaken called at /usr/lib/urxvt/urxvt.pm line 1191
> > 
> > nonworking:
> > $ strace urxvt 2>&1 | egrep 'open.*perl'
> > /usr/lib/perl5/5.8.8/Scalar/Util.pm
> > /usr/lib/perl5/5.8.8/List/Util.pm
> > 
> > working:
> > $ strace urxvt 2>&1 | egrep 'open.*perl'
> > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/Scalar/Util.pm
> > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/List/Util.pm
> > /usr/lib64/perl5/5.8.8/x86_64-linux/XSLoader.pm
> > /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/auto/List/Util/Util.so
> > 
> > This indicates that the working uses perl-core/Scalar-List-Utils but the
> > nonworking uses dev-lang/perl, but why?
> >
> > Does anyone have an idea as to how I can debug this?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] whoa, this new(ish) portage is nice

2007-10-10 Thread Mark Shields
On 10/9/07, William Kenworthy <[EMAIL PROTECTED]> wrote:
>
> Yes, I agree.  Especially the messages at the end -  it is really
> appreciated now its finally here.
>
> Ahh, progress ...
>
> BillK
>
> On Tue, 2007-10-09 at 15:52 -0700, kashani wrote:
> > I've been buried in work again and hadn't had time to get to admin tasks
> >   on my hosting machine. Today I started some updates and was pleasantly
> > surprised to see some nice updates to portage.
> >
> > 1. Dependencies are a shade darker than things in the world file when
> > doing an emerge -pv world
> > 2. elog/einfo stuff is now printed at the end of an emerge.
> >
> > Probably old news, but damn useful tweaks.
> >
> > kashani
> --
> William Kenworthy <[EMAIL PROTECTED]>
> Home in Perth!
> --
> [EMAIL PROTECTED] mailing list
>
>
I was thinking the same.  I remember when I first started using Gentoo
(2004?) when doing updates, I always wished it would spit out the notices at
the end instead of every emerge.  Imagine my surprise when I saw they had
implemented that.  Good show, Gentoo devs!

-- 
- Mark Shields


Re: [gentoo-user] alsa problem

2007-10-10 Thread Hans-Werner Hilse
Hi,

On Wed, 10 Oct 2007 11:04:11 +0800
"Chuanwen Wu" <[EMAIL PROTECTED]> wrote:

> I just setup a gentoo in my dell1400 laptop,and until now,the sound
> problem is not solved yet.
> 
> Here is the problem:
> $ aplay 01.mp3
> ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
> aplay: main:545: audio open error: No such file or directory

This indicates that the dmix module (NOT kernel, but alsa-lib!) might
be missing.

I ran into some similar problems, I think they modified the way
alsa-lib is configured and made it more fine-grained. Missing an
ALSA_PCM_PLUGINS setting in my /etc/make.conf, I had no plugins at all.

So I suggest to check your /etc/make.conf, and if not present and you
want minimum hassle, append that line to /etc/make.conf:
---snip
ALSA_PCM_PLUGINS="adpcm alaw copy dshare dsnoop extplug file hooks ladspa 
lfloat linear meter mulaw multi null rate route share shm"
---snip
(works for me)
then re-emerge alsa-lib.

> And here is my hardware:
> [...]

looks OK.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env

2007-10-10 Thread Alexander Reitzel
http://forums.gentoo.org/viewtopic-t-499634-highlight-db4.html
does that help?

Am Mittwoch, 10. Oktober 2007 16:25:49 schrieb Arnau Bria:
> On Wed, 10 Oct 2007 16:15:15 +0200
>
> Alexander Reitzel wrote:
> > then thats what fucked your whole cyrus databases.
> > first shut down cyrus, then move /var/imap/db* (backup1, backup2,
> > whatnot..) to some backup folder ie: /root/cyrus  and then restart it.
> >
> > thats not where the mails are stored, so youll lose no data. the db
> > folders with everything will be regenerated.
>
> It has regenerated all folder/files... but I still  get the error.
>
> no ssl working...
>
> Cheers,
> Arnau


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)

2007-10-10 Thread Volker Armin Hemmann
On Mittwoch, 10. Oktober 2007, Marco Calviani wrote:
> Sorry i missed the attachment.
>
> regards,
> m


CONFIG_ACPI_FAN=m

the module is loaded, right? does anything change, when you compile it into 
the kernel? I have to admit - I don't know anything about laptops...
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env

2007-10-10 Thread Arnau Bria
On Wed, 10 Oct 2007 16:15:15 +0200
Alexander Reitzel wrote:

> then thats what fucked your whole cyrus databases.
> first shut down cyrus, then move /var/imap/db* (backup1, backup2,
> whatnot..) to some backup folder ie: /root/cyrus  and then restart it.
> 
> thats not where the mails are stored, so youll lose no data. the db
> folders with everything will be regenerated.
It has regenerated all folder/files... but I still  get the error.

no ssl working...

Cheers,
Arnau
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env

2007-10-10 Thread Alexander Reitzel
then thats what fucked your whole cyrus databases.
first shut down cyrus, then move /var/imap/db* (backup1, backup2, whatnot..) 
to some backup folder ie: /root/cyrus  and then restart it.

thats not where the mails are stored, so youll lose no data. the db folders 
with everything will be regenerated.

Am Mittwoch, 10. Oktober 2007 15:40:41 schrieb Arnau Bria:
> On Wed, 10 Oct 2007 12:08:45 +0200
>
> Alexander Reitzel wrote:
> > did you also update your db version?
>
> yep.
>
> now I have:
>
> [I] sys-libs/db (4.5.20_p2(4.5)@04/10/07): Oracle Berkeley DB
>
> cheers,
> Arnau


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env

2007-10-10 Thread Arnau Bria
On Wed, 10 Oct 2007 15:17:10 +0200
Hans-Werner Hilse wrote:

> Hi,
[...]
> 
> Did you try to remove that file? It should probably get recreated on
> next start. (Don't kill it now, just move it away for testing and then
> try starting Cyrus)
Yep, I removed it, and it creates it agian with same error.

> -hwh
Cheers,
Arnau

-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env

2007-10-10 Thread Arnau Bria
On Wed, 10 Oct 2007 12:08:45 +0200
Alexander Reitzel wrote:

> did you also update your db version?
yep.

now I have:

[I] sys-libs/db (4.5.20_p2(4.5)@04/10/07): Oracle Berkeley DB

cheers,
Arnau
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage through a proxy

2007-10-10 Thread Neil Bothwick
On Wed, 10 Oct 2007 09:11:42 -0400, James Colby wrote:

> Does anyone know if it possible to configure emerge to use the value of
> $http_proxy as my proxy?  I use my laptop both at home and at work, I
> have a script that sets the $http_proxy env variable depending on where
> I am, and I would like to have emerge use that value.  I have tried
> setting http_proxy in make.conf to $http_proxy but that did not work.

Portage uses wget by default, and wget respects $http_proxy. According
to /etc/make.conf.example

# Fetching files 
# ==
#
# If you need to set a proxy for wget or lukemftp, add the appropriate "export
# ftp_proxy=" and "export http_proxy=" lines to /etc/profile if
# all users on your system should use them.


-- 
Neil Bothwick

I am logged in, therefore I am.


signature.asc
Description: PGP signature


Re: [gentoo-user] alsa problem

2007-10-10 Thread Chuanwen Wu
2007/10/10, Randy Barlow <[EMAIL PROTECTED]>:
> Chuanwen Wu wrote:
> > I also tried to emerge alsa-driver and didn't use the driver in the
> > kernel,but the result was all the same.
>
> I don't know the module name for the HD, but did you add it to
> /etc/modules.autoload.d/kernel-2.6 and/or modprobe it first?
>
$ lsmod
Module  Size  Used by
snd_seq48224  0
snd_hda_intel 302688  0
snd_pcm73288  1 snd_hda_intel
snd_timer  19592  2 snd_seq,snd_pcm
snd44208  4 snd_seq,snd_hda_intel,snd_pcm,snd_timer
snd_page_alloc  8080  2 snd_hda_intel,snd_pcm

The one snd_hda_intel is the driver for HD.

I just can't see the problem except that the driver can't drive my audio card.

Is there any ways to solve this problme?
> --
> Randy Barlow
> http://electronsweatshop.com
> --
> [EMAIL PROTECTED] mailing list
>
>


-- 
wcw
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env

2007-10-10 Thread Hans-Werner Hilse
Hi,

On Wed, 10 Oct 2007 11:52:25 +0200 Arnau Bria <[EMAIL PROTECTED]>
wrote:

> Error occurred while processing mail:
> -ERR [SYS/PERM] Error initializing TLS
> 
> 
> and I see this in log files:
> 
> Oct  5 18:22:21 afrodita pop3[14410]: DBERROR db4: Database handles
> still open at environment close Oct  5 18:22:21 afrodita pop3[14410]:
> DBERROR db4: Open database handle: /var/imap/tls_sessions.db

Did you try to remove that file? It should probably get recreated on
next start. (Don't kill it now, just move it away for testing and then
try starting Cyrus)

-hwh
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Portage through a proxy

2007-10-10 Thread James Colby
List members - 

Does anyone know if it possible to configure emerge to use the value of
$http_proxy as my proxy?  I use my laptop both at home and at work, I
have a script that sets the $http_proxy env variable depending on where
I am, and I would like to have emerge use that value.  I have tried
setting http_proxy in make.conf to $http_proxy but that did not work.

Thanks for any advice that you may be able to give,
James
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Xorg won't use my TFT monitor as screen 0

2007-10-10 Thread David Sveningsson
Hi, I recently bought a new TFT monitor. I used to have 2 CRT monitors
with an nvidia graphics card. I configured Xorg to use two separate
screens and *not* twin-view.

When I replaced the monitor that used to be screen 0 with the new TFT
monitor Xorg cannot use it as screen 0 any more. And the placement of
the screen seems weird. All applications starts about 200x200px to the
left and above the desktops. When maximizing an application it fits into
a (estimated) 1024x768 window.

No matter how I configure X it just doesn't seem to work. Attaching my
xorg.conf

Also, I recently had some issues with java+firefox. Anytime a java
applet is starting I get the following error:

Java process caught exception: java.lang.ExceptionInInitializerError

The callstack printed reveals that the error comes from
sun.awt.X11GraphicsEnvironment.getDefaultScreenDevice(X11GraphicsEnvironment.java:218)

So I figured something must be really wrong with my configuration. Any
ideas?




Java Runtime Error:
=

  PLUGIN ERROR
  
Java process caught exception: java.lang.ExceptionInInitializerError


java.lang.ExceptionInInitializerError
at sun.plugin.JavaRunTime.initEnvironment(JavaRunTime.java:84)
at sun.plugin.navig.motif.Plugin.doit(Plugin.java:131)
at sun.plugin.navig.motif.Plugin.start(Plugin.java:104)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at
sun.awt.X11GraphicsEnvironment.getDefaultScreenDevice(X11GraphicsEnvironment.java:218)
at java.awt.Window.init(Window.java:354)
at java.awt.Window.(Window.java:407)
at java.awt.Frame.(Frame.java:402)
at java.awt.Frame.(Frame.java:367)
at sun.plugin.AppletViewer.(AppletViewer.java:109)
... 3 more
Java process: caught exception from sun.plugin.navig.motif.Plugin.start
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at
sun.awt.X11GraphicsEnvironment.getDefaultScreenDevice(X11GraphicsEnvironment.java:218)
at java.awt.Window.init(Window.java:354)
at java.awt.Window.(Window.java:407)
at java.awt.Frame.(Frame.java:402)
at java.awt.Frame.(Frame.java:367)
at
sun.plugin.viewer.LifeCycleManager.destroyCachedAppletPanels(LifeCycleManager.java:230)
at sun.plugin.navig.motif.Plugin.onExit(Plugin.java:399)
at sun.plugin.navig.motif.Plugin.doit(Plugin.java:389)
at sun.plugin.navig.motif.Plugin.start(Plugin.java:104)
Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process exited with status 0
Could not start JavaVM!

VM did not start up properly

-- 


//*David Sveningsson [eXt]*

Freelance coder | Game Development Student
http://sidvind.com

Thou shalt make thy program's purpose and structure clear to thy fellow
man by using the One True Brace Style, even if thou likest it not, for
thy creativity is better used in solving problems than in creating
beautiful new impediments to understanding.
Section "Files"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

# For XFS, uncomment this and comment the others
FontPath"unix/:-1"
FontPath"/usr/share/fonts/local/"
FontPath"/usr/share/fonts/misc/"
FontPath"/usr/share/fonts/75dpi/:unscaled"
FontPath"/usr/share/fonts/100dpi/:unscaled"
FontPath"/usr/share/fonts/Type1/"
FontPath"/usr/share/fonts/TTF/"
FontPath"/usr/share/fonts/CID/"
FontPath"/usr/share/fonts/Speedo/"
FontPath"/usr/share/fonts/75dpi/"
FontPath"/usr/share/fonts/100dpi/"
FontPath"/usr/share/fonts/artwiz"
FontPath"/usr/share/fonts/artwiz-aleczapka-en/"

FontPath"/usr/share/fonts/cronyx/100dpi/:unscaled"
FontPath"/usr/share/fonts/cronyx/misc/:unscaled"
FontPath"/usr/share/fonts/cronyx/75dpi/:unscaled"

# The default path is shown here.


EndSection

# **
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# **

Section "Module"
Load  "bitmap"
Load  "dbe"
Load  "ddc"
Load  "extmod"
Load  "freetype"
Load  "glx"
Load  "int10"
Load  "record"
#Load  "speedo"
Load  "type1"
#Load  "vbe"
EndSection


# **
# Server flags section.  This contains various server-wide Options.
# **

Section "ServerFlags"
#Option"Xinerama" "true"
EndSection

# *

Re: [gentoo-user] Introduction (new member) and first ask-for-help... :-)

2007-10-10 Thread Ricardo Saffi Marques
@Iain: I tried that but it didn't really work. But thanks to THAT suggestion
I found the solution to the problem. Read below.
@ Volker: I may try to do that, though I must say I've installed many
systems using the -Os instead of -O2 without a single problem. It turned out
to be something really simple, though still weird. Read below.

When I tried to turn off bash_completion by not invoking it when a shell
opens (and it didn't work) I had an insight. :-)
My $HOME/.bash_profile makes theese two calls:

> [[ -f $HOME/.bashrc ]] && . $HOME/.bashrc
> [[ -f /etc/bash_completion ]] && source /etc/bash_completion


My $HOME/.bashrc, among other things (regular ones), calls a script I have
with many (many many) aliases and mods for my shells. So this is my .bashrc:

> [[ -f $HOME/.loginscript ]] && source $HOME/.loginscript


When I decided to comment the above call to $HOME/.loginscript, everything
worked ok. No more memory leak problems, no more weird shell command
interpretation. Everything started to work Super (as Al Pacino would say in
Scent of a Woman). :-)
What do I have inside .loginscript? Here it is:

> #! /bin/bash
>
> #PS1='\[\033[01;[EMAIL PROTECTED];34m\] \w \$\[\033[00m\] '
> DATE=$(date +"%Y-%m-%d")
>
> alias up="cd .."
> alias sshic='ssh -Cl ra037415 xaveco.lab.ic.unicamp.br'
> alias sshquasar='ssh -Cl saffi quasar.las.ic.unicamp.br'
> alias sshquasarroot='ssh -Cl root quasar.las.ic.unicamp.br'
> alias sshbackup='ssh -Cl root backup.las'
> alias sshargonath='ssh -Cl saffi argonath.las.ic.unicamp.br'
> alias sshargonathroot='ssh -Cl root argonath.las.ic.unicamp.br'
> alias sshpulsar='ssh -Cl root pulsar.itautec.inovasoft.unicamp.br'
> alias sshdeathstar='ssh -Cl root deathstar.itautec.inovasoft.unicamp.br'
> alias sshhaya='ssh -Cl saffi hayabusa.las'
> alias ssheagle='ssh -Cl saffi saffi.homeip.net'
> alias ssheagleroot='ssh -Cl root saffi.homeip.net'
> alias spy='echo -e "Last refresh: $(date +"%r")" ; echo; finger; echo; w;
> echo; tty ; echo'
> alias usage='echo ; echo -en "\a$USER disk usage is of "; du -sh ~; echo;'
> alias ls='ls -F --color=auto'
> alias ll='ls -lh'
> alias llr='ll -R'
> alias lla='ll -a'
> alias can='cat -n'
> alias myproc='ps -u $USER'
> alias showM='du -h . 2> /dev/null | grep [0-9].[0-9]M | sort'
> alias showK='du -h . 2> /dev/null | grep [1-9][0-9][0-9]K | sort'
> alias resume='screen -r'
> alias stop='screen -d'
> alias steal='screen -dr'
> alias share='screen -x'
> alias list='screen -ls'
> alias improve='vim ~/.loginscript'
> alias quasartunnel='ssh -D 5000 -Cl saffi quasar.las.ic.unicamp.br'
>
> # Disable console messaging
> mesg n
>
> # Allow a larger console history
> HISTSIZE=3840
> HISTFILESIZE=524288
> HISTTIMEFORMAT="%F %T "
>

Again: I already do this with other computers I work with and never had a
problem with such thing. Two funny things: the very same sequence os scripts
runs when I login with my local user (rsaffi). No problem, just with root.
Another funny thing: after commenting the "[[ -f $HOME/.loginscript ]] &&
source $HOME/.loginscript" from the .bashrc file, the problem was gone.
Then, after I log in, I ran: "source ~/.loginscript" and had no problem.
That's weird.

Anyway, I appreciate your help, guys. Thanks for all the patience and tips.

Regards,

Saffi

On 10/10/07, Volker Armin Hemmann <[EMAIL PROTECTED]>
wrote:
>
> replace -Os with O2 and rebuild system&bash?
> and if that does not help:
> remove all the crap you don't need from the kernel? try without raid? only
> start the init-scripts you really need?
>
> oh, please remove the fb-stuff that makes nvidia complain
> --
> [EMAIL PROTECTED] mailing list
>
>
-- 
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com


Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)

2007-10-10 Thread Marco Calviani
Hi Volker,
  i'm attaching my kernel .config. As you can see all the ACPI related
points are enabled.

> posting your config? make menuconfig and reading the help-text to all the
> acpi-options?
>

Thanks, i've found fancontrol, but since the laptop lacks some chipset
to control the fan itself, the /etc/fancontrol is not created.

I've realized that the temperature given in the
/proc/acpi/thermal_zone/TZ01/temperature is more or less random at a
given machine startup and it does not change while the machine is on.
When it start at a temperature above 60C, the fan starts (and never
switch off) but the cores temperature remains low (~35C). If it's 0C
or 50C or something below this threshold, the fan does not switch on
and the core temp increases up to 100C.
It would be nice to be able to link the fan control directly with the
coretemp and not with the ACPI thermal zone

m
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env

2007-10-10 Thread Alexander Reitzel
did you also update your db version?

Am Mittwoch, 10. Oktober 2007 11:52:25 schrieb Arnau Bria:
> Hi,
>
> I've posted my question in forums and cyrus list, but I still have no
> reply... so, I decided to post here too.
>
>
> I've updated my cyrus-imapd
> and now I'm not able to make it work again. Every time I try to fetch
> my mail (using pop3) I get an error in my MUA:
>
> Error occurred while processing mail:
> -ERR [SYS/PERM] Error initializing TLS
>
>
> and I see this in log files:
>
> Oct  5 18:22:21 afrodita pop3[14410]: DBERROR db4: Database handles
> still open at environment close Oct  5 18:22:21 afrodita pop3[14410]:
> DBERROR db4: Open database handle: /var/imap/tls_sessions.db
>
>
> This is my imapd.conf:
>
>
> # grep . /etc/imapd.conf|grep -v "^#"
> configdirectory:/var/imap
> defaultpartition: default
> partition-default:  /var/spool/imap
> partition-news: /var/spool/cyrus/news
> newsspool: /var/spool/news
> altnamespace: no
> unixhierarchysep: no
> lmtp_downcase_rcpt: yes
> sievedir:   /var/imap/sieve
> tls_ca_path:/etc/ssl/postfix
> tls_cert_file: /etc/ssl/postfix/newcert.pem
> tls_key_file:  /etc/ssl/postfix/newkey.pem
> tls_ca_file: /etc/ssl/postfix/cacert.pem
> admins: cyrus
> hashimapspool:  yes
> allowanonymouslogin:no
> allowplaintext: yes
> popminpoll: 1
> autocreatequota: 0
> umask: 027
> sasl_mech_list: PLAIN
> sasl_minimum_layer: 0
> sasl_pwcheck_method: saslauthd
> sasl_auxprop_plugin: sasldb
> sasl_auto_transition: no
> tls_session_timeout: 1440
> tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH
>
>
> Notice I'm using postfix certs, cause I used:
>
>
> #tls_cert_file: /etc/ssl/cyrus/newcert.pem
> #tls_key_file:  /etc/ssl/cyrus/newkey.pem
> #tls_ca_file: /etc/ssl/certs/cyrus-imapd-ca.pem
>
>
> and now /etc/ssl/certs/cyrus-imapd-ca.pem does not exist, but I'm not
> sure if this is really important, we're talking about self-generated
> self-signed certs... I can generate new ones, but old were fine...
>
> And those are cyrus use:
>
>
> [ebuild   R   ] net-mail/cyrus-imapd-2.2.13-r1  USE="ssl tcpd -afs
> -drac -idled -kerberos -pam -snmp -unsupported_8bit"
>
>
>
> TIA,
> --
> Arnau Bria
> http://blog.emergetux.net
> Bombing for peace is like fucking for virginity


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Introduction (new member) and first ask-for-help... :-)

2007-10-10 Thread Volker Armin Hemmann
replace -Os with O2 and rebuild system&bash?
and if that does not help:
remove all the crap you don't need from the kernel? try without raid? only 
start the init-scripts you really need?

oh, please remove the fb-stuff that makes nvidia complain
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] cyrus-imapd: DBERROR db4: Database handles still open at env

2007-10-10 Thread Arnau Bria
Hi,

I've posted my question in forums and cyrus list, but I still have no
reply... so, I decided to post here too. 


I've updated my cyrus-imapd
and now I'm not able to make it work again. Every time I try to fetch
my mail (using pop3) I get an error in my MUA:

Error occurred while processing mail:
-ERR [SYS/PERM] Error initializing TLS


and I see this in log files:

Oct  5 18:22:21 afrodita pop3[14410]: DBERROR db4: Database handles
still open at environment close Oct  5 18:22:21 afrodita pop3[14410]:
DBERROR db4: Open database handle: /var/imap/tls_sessions.db


This is my imapd.conf:


# grep . /etc/imapd.conf|grep -v "^#"
configdirectory:/var/imap
defaultpartition: default
partition-default:  /var/spool/imap
partition-news: /var/spool/cyrus/news
newsspool: /var/spool/news
altnamespace: no
unixhierarchysep: no
lmtp_downcase_rcpt: yes
sievedir:   /var/imap/sieve
tls_ca_path:/etc/ssl/postfix
tls_cert_file: /etc/ssl/postfix/newcert.pem
tls_key_file:  /etc/ssl/postfix/newkey.pem
tls_ca_file: /etc/ssl/postfix/cacert.pem
admins: cyrus
hashimapspool:  yes
allowanonymouslogin:no
allowplaintext: yes
popminpoll: 1
autocreatequota: 0
umask: 027
sasl_mech_list: PLAIN
sasl_minimum_layer: 0
sasl_pwcheck_method: saslauthd
sasl_auxprop_plugin: sasldb
sasl_auto_transition: no
tls_session_timeout: 1440
tls_cipher_list: TLSv1:SSLv3:SSLv2:!NULL:!EXPORT:!DES:!LOW:@STRENGTH


Notice I'm using postfix certs, cause I used:


#tls_cert_file: /etc/ssl/cyrus/newcert.pem
#tls_key_file:  /etc/ssl/cyrus/newkey.pem
#tls_ca_file: /etc/ssl/certs/cyrus-imapd-ca.pem


and now /etc/ssl/certs/cyrus-imapd-ca.pem does not exist, but I'm not
sure if this is really important, we're talking about self-generated
self-signed certs... I can generate new ones, but old were fine...

And those are cyrus use:


[ebuild   R   ] net-mail/cyrus-imapd-2.2.13-r1  USE="ssl tcpd -afs
-drac -idled -kerberos -pam -snmp -unsupported_8bit"



TIA,
-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: [gentoo-laptop] Problem with CPU temperature (Santa Rosa CPU)

2007-10-10 Thread Volker Armin Hemmann
On Mittwoch, 10. Oktober 2007, Marco Calviani wrote:
> Hi Beso,
> actually i'm getting this error:
>
> cat /proc/acpi/thermal_zone/TZ01/polling_frequency
> 
>
> cat /proc/acpi/thermal_zone/TZ01/cooling_mode
> 

hm, you might want to google ;) I really don't know anything about laptops ;)

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)

2007-10-10 Thread Volker Armin Hemmann
On Mittwoch, 10. Oktober 2007, Marco Calviani wrote:
>   yes i can imagine there could be something wrong with ACPI, but how
> can i recognize it?

posting your config? make menuconfig and reading the help-text to all the 
acpi-options?

> What is fancontrol? 

a nice tool, included into lm_sensors. pwmconfig to configure 
it /etc/init.d/fancontrol start, to start it. If everything works, it will 
spin the fans up/down when the temperature rises/goes down.

I have it running on my desktop and it is great - 1000rpm instead of 3000 at 
the moment.



-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: HowTo switch the default gcc

2007-10-10 Thread Neil Bothwick
Hello Helmut Jarausch,

> This does not suffice here.
> e.g. in /etc/profile.env  the environment variable PATH begins with
> export PATH='/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:
>   this doesn't exist anymore =^ 
> /usr/i686-pc-linux-gnu/gcc-bin/4.1.2
> this hides version 4.2.1 ==^
>  /usr/i686-pc-linux-gnu/gcc-bin/4.2.1:
> 
> What part of portage generates /etc/profile.env

/etc/env.d - /etc/env.d/05gcc* in this case.


-- 
Neil Bothwick

This tagline SHAREWARE. Send .


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: HowTo switch the default gcc

2007-10-10 Thread Helmut Jarausch
On  9 Oct, ds wrote:
> On 10/9/07, Helmut Jarausch <[EMAIL PROTECTED]> wrote:
> 
>> Thanks,
>> but what value of CHOST should I take?
>> I currently have
>> CHOST="i686-pc-linux-gnu"
>> and gcc-4.1.2 is the standard C-compiler.
>> Now, I'd like to switch to gcc-4.2.1.
> 
> There is an official guide to upgrading gcc
> http://www.gentoo.org/doc/e 
> n/gcc-upgrading.xml 

which I have followed.
> 
> Since you are already at version 4 it looks like you'll need to do the
> following:
> 
> # emerge -uav gcc
> 
> (Please substitute "i686-pc-linux-gnu-4.1.1" with the GCC
> version and CHOST settings you've upgraded to:)
> # gcc-config i686-pc-linux-gnu-4.1.1
> # env-update && source /etc/profile
> 
> (Rebuilding libtool)
> # emerge --oneshot -av libtool

This does not suffice here.
e.g. in /etc/profile.env  the environment variable PATH begins with
export PATH='/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:
  this doesn't exist anymore =^ 
/usr/i686-pc-linux-gnu/gcc-bin/4.1.2
this hides version 4.2.1 ==^
 /usr/i686-pc-linux-gnu/gcc-bin/4.2.1:

What part of portage generates /etc/profile.env

> 
> The authors of the guide also recommend
> 
> # emerge -eav system
> # emerge -eav world

Is that really necessary within the gcc-4.x family ?

> 
> It must be the env-update && source /etc/profile that keeps your new
> settings

Many thanks,
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?

2007-10-10 Thread dexter

Your iptables rule is almost ok, if I were you i'd do something like this:

iptables -t nat -A PREROUTING -m mac --mac-source 00:19:7E:C5:02:AB -j DROP

and
iptables -A INPUT -m mac --mac-source 00:19:7E:C5:02:AB -j DROP

That should do the job

Daevid Vincent pisze:

I have my WiFi network on a hostapd controlled 10.10.10.* range and my
wired LAN on a 192.168.1.* range. 


I try to be a "nice guy" and leave the WiFi 'open' (no WEP) as it's
segregated and I use some proper shorewall rules to route things nicely
for my various privileged devices. Also, some WiFi devices I have just
don't support WEP, and it's a real hassle to get others working with
WEP. 


I don't mind the occasional person jumping on to check movie times or
traffic or get email or whatever. I think bandwidth should be free for
everyone and it is sure a life saver when you need to quickly get online
for something.

Anyways, sometimes I have stupid neighbors who don't quite "get it" and
will just blindly let their computers connect to my WAP. UGH! They sit
on it for hours and days and generally piss me off.

How can I boot someone off my network? I usually add them to my
shorewall blacklist file, and then:

/etc/init.d/dhcp restart
/etc/init.d/shorewall restart

But I still see them on there it seems.
http://daevid.com/examples/dhcp
(essentially it's doing an 'arp -n' and then I parse that info and make
it pretty)

daevid dhcp # arp -n
Address  HWtype  HWaddress   Flags Mask
Iface
10.10.10.7   ether   00:06:25:12:4A:D8   C
wlan0
10.10.10.27  ether   00:19:7E:C5:02:AB   C
wlan0
67.168.160.1 ether   00:01:5C:23:D7:02   C
eth0
10.10.10.69  ether   00:02:6F:21:DF:5C   C
wlan0
192.168.1.18 ether   00:0C:F1:A8:F7:F3   C
eth1

I googled and found this little nugget that I thought would work:
http://www.linuxforums.org/forum/linux-newbie/5752-dhcpd-iptables-deny-m
ac-addresses.html

# iptables -A FORWARD -m mac --mac-source 00:19:7E:C5:02:AB -j DROP

But I still see this squatter. And I can feel my network being sluggish
as they're probably downloading a lot of stuff.

  

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?

2007-10-10 Thread Ow Mun Heng
On Wed, 2007-10-10 at 10:10 +0200, Alan McKinnon wrote:
> On Wednesday 10 October 2007, Daevid Vincent wrote:
> > Anyways, sometimes I have stupid neighbors who don't quite "get it"
> > and will just blindly let their computers connect to my WAP. UGH!
> > They sit on it for hours and days and generally piss me off.
> >
> > How can I boot someone off my network? I usually add them to my
> > shorewall blacklist file, and then:
> 
> You run dhcp? Just exclude that MAC address from getting a lease.
> 
> No IP address = no route = problem solved
> 
> For a second level of teach-them-a-lessonness, iptables has a 'mac' 
> extension. Use that to match the MAC address and DROP all patches in 
> your outgoing firewall FORWARD chain

Better yet.. redirect them to a (random) page that shows everything
about cats.

I read this one from google.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: how do I kick a MAC address off my hostapd WiFi network?

2007-10-10 Thread Alan McKinnon
On Wednesday 10 October 2007, Daevid Vincent wrote:
> Anyways, sometimes I have stupid neighbors who don't quite "get it"
> and will just blindly let their computers connect to my WAP. UGH!
> They sit on it for hours and days and generally piss me off.
>
> How can I boot someone off my network? I usually add them to my
> shorewall blacklist file, and then:

You run dhcp? Just exclude that MAC address from getting a lease.

No IP address = no route = problem solved

For a second level of teach-them-a-lessonness, iptables has a 'mac' 
extension. Use that to match the MAC address and DROP all patches in 
your outgoing firewall FORWARD chain

alan

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Traveling: DSL modem via USB?

2007-10-10 Thread Grant
> Perfect, thanks Dan!
> >
> > - Grant
>
> Let me know if it works, please.  I just might be switching my server
> to business DSL and if I do, I would much rather have a modem
> connected to my computer than a stand-alone.

For sure, I'm in a different location now but I'll be back there in a
couple days.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Problem with CPU temperature (Santa Rosa CPU)

2007-10-10 Thread Marco Calviani
Hi Volker,
  yes i can imagine there could be something wrong with ACPI, but how
can i recognize it? What is fancontrol?

m

> ACPI. You might be missing some options there. Or something else. Are you
> using fancontrol? If yes, try without, if no, try with it ;)
> --
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: [gentoo-laptop] Problem with CPU temperature (Santa Rosa CPU)

2007-10-10 Thread Marco Calviani
Hi Beso,
actually i'm getting this error:

cat /proc/acpi/thermal_zone/TZ01/polling_frequency


cat /proc/acpi/thermal_zone/TZ01/cooling_mode


m

On 10/9/07, Beso <[EMAIL PROTECTED]> wrote:
> your thermal doesn't poll make it poll like this:
> echo "2 seconds" >
> /proc/acpi/thermal_zone/THRM/polling_frequency
> or wichever thermal zone is in /proc/acpi/thermal_zone. then verify your
> trip points in the same THRM directory but in the file trip_points. you
> should see something like this:
> critical (S5):   105 C
> passive: 76 C: tc1=3 tc2=1 tsp=150 devices=CPU0
> active[0]:   67 C: devices= FN1
> active[1]:   57 C: devices= FN2
>
> in the eg passive means that your cpu is downclocked since it has passed 76
> degrees C
> active [0] means that your fan is triggered to on
> active[1] means that the fan is not triggered and it is shut down.
> the critical point is when the system shuts down.
> if the polling_frequency tweak doesn't work then you have another problem
> (eg i had to compile the fan and thermal module included in kernel since
> modprobing them would not start the fan). if it works copy the tweak command
> and put it in some init script (i put it at the start of /etc/init.d/xdm so
> that i'm sure it loads after acpi, since that file doesn't exists without
> acpi loaded).
> then try installing kima if you're using kde and add the kima kmenu applet
> to monitor some things. you should be able to see that the processor hardly
> passes 60 degrees while thermal goes high till the passive point and over;
> if you monitor also the cpu load and freq you should be able to see how your
> processors reacts to programs. remember to also install the klaptopdaemon
> since is quite useful in controlling the cpufreq_utils governors and acpi
> settings. try also the laptop_mode-tools and see if they can help you have a
> better use for your disk. the last thing that you can also install is the
> hddtemp for monitoring your disk temperature.
>
> 2007/10/9, Marco Calviani <[EMAIL PROTECTED]>:
> >
> > Hi list,
> >i have a Santa Rosa (Core 2 Duo T7300) Acer AS5720 laptop, and i'm
> > getting problems with the temperature of the CPU. In particular i'm
> > using the coretemp module for determining the core temperature.
> > Normally (using cpufreqd and the "ondemand" governor) the CPU stays at
> > nearly 50C  (which i think is quite high since in windows , using Core
> > Temp it gives about 30C).
> > While compiling this increases up to 95-100C (after which it shuts
> > down). The problem is that the fan is not spinning up at all!
> > What can be the cause of this behaviour? consider that i'm using an up
> > to date system with gentoo-sources-2.6.22-r8.
> >
> > Any help appreciated,
> > Regards,
> > Marco
> > --
> > [EMAIL PROTECTED] mailing list
> >
> >
>
>
>
> --
> dott. ing. beso
-- 
[EMAIL PROTECTED] mailing list