[gentoo-user] Limit emerge's wget bandwidth usage

2010-01-06 Thread Ricardo Saffi Marques
Is there any way I can configure (pass arguments to) emerge's wget (used for 
fetching) to limit it's rate to a certain amount
of KB/s?

I don't want to make a global/system-wide change, just for portage.

I did find a way to limit the bandwidth while syncing. All I had to do was to 
put this on my /etc/make.conf:

PORTAGE_RSYNC_EXTRA_OPTS=--partial --progress --delete-after --human-readable 
--bwlimit=50

(for instance).

I do know there is parameter for wget, which is --limitrate. Any way I could 
set this inside portage?

Regards,

Saffi

-- 
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




Re: [gentoo-user] port bandwidth discovery

2009-09-11 Thread Ricardo Saffi Marques
James wrote:
 Hello,
 
 Currently, I manage gentoo system that have a variety of 10 and 100 MB/s
 ethernet cards. I use lshw to distinguish the max ethernet port speed:
 
snip

 Is this reliable? What if a 10/100 card is plugged into a 10MB/s hub?

Have you tried mii-tool?

quasar ~ # mii-tool -v int0
int0: negotiated 1000baseT-FD flow-control, link ok
  product info: Yukon 88E1011 rev 5
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD
  advertising:  1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD 
flow-control
  link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD flow-control

-- 
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




[gentoo-user] 0pen0wn - Supposed SSH exploit

2009-07-07 Thread Ricardo Saffi Marques
Does anyone have any kind of information about this 0pen0wn exploit? For what 
I've read, so far, nothing has been confirmed, so
there's still a chance it may be a hoax.

Check this out:
http://isc.sans.org/diary.html?storyid=6742

That post was made today and if you google 0pen0wn, only 5 results are shown. 
Anyone?

Regards,

Saffi

-- 
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Ricardo Saffi Marques
Grant wrote:
 I do have /proc/config.gz, but when I move it to
 /usr/src/2.6.25-hardened-r13 and run 'make oldconfig' it comes up with
 many differences.  I'm booted into 2.6.25-hardened-r11 and there
 shouldn't be any config differences between that and r13.  Does anyone
 know what's going on here?

$ cd /usr/src/2.6.25-hardened-r13
$ zcat /proc/config.gz  .config
$ make oldconfig

:-)

-- 
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




Re: [gentoo-user] Deleted my kernel .config

2009-01-23 Thread Ricardo Saffi Marques
Justin wrote:
 do one of those two things and it should work:
 
 zcat /proc/config.gz /usr/src/linux/.config
 
 or
 
 /usr/src/linux/scripts/extract-ikconfig /boot/YOURKERNEL 
 /usr/src/linux/.config.
 
 Than run make oldconfig.

Oops, my bad. It had already been answered! :-)

-- 
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




Re: [gentoo-user] lanmap ebuild

2008-12-02 Thread Ricardo Saffi Marques
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Justin wrote:
 Justin schrieb:
 Take a look into the INSTALL.txt. Is written there what to do and which
 deps are requiered. Additionally fill a ebuild request bug at b.g.o.
 Next saturday it is bugday, I will try to get time to solve it then.

   
 Here it is https://bugs.gentoo.org/249631
 

Oh geez! Sorry Justin. I didn't forget to submit the bug. I'm on the last week 
of final exams here
in college. Today I had my last one. Was going to submit the bug probably 
tomorrow! :)
But thanks a lot!

Best regards,

Saffi

- --
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkk1k68ACgkQjUOIEC3P978sJgCfZiw7QvidP/YclM2HWKO+UC6b
3loAn1oOM1ElRktD1QY+PehLy5d/WdPM
=95Hn
-END PGP SIGNATURE-



[gentoo-user] lanmap ebuild

2008-11-30 Thread Ricardo Saffi Marques
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi everybody!

First of all: Lanmap (http://www.parseerror.com/lanmap/) - lanmap sits quietly 
on a network and
builds a picture of what it sees.

Since Lanmap is not on the official portage tree, does any of you know any 
overlay that provide
ebuilds or any other way to canonically install Lanmap on Gentoo?

I checked the developer's website and found out his Subversion Repository is 
currently offline. He
links to zipped snapshots of revisions, but they are all very old (latest 
from Mar/2006).

I know there is a package of Lanmap for Debian, but I don't know whether it is 
up-to-date or not.

In case there is no answer for my questions, do any you recommend an 
alternative for Lanmap? Thanks
in advance.

Best regards,

Saffi

- --
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkkyiLoACgkQjUOIEC3P9790xgCeNiUCoXLVM+NSbOWHvMWn3p2K
nAcAniP0RuEpSXARXeWHvRk7tXbcK5oI
=XLI7
-END PGP SIGNATURE-



Re: [gentoo-user] lanmap ebuild

2008-11-30 Thread Ricardo Saffi Marques
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Justin wrote:
 You can look this up yourself:

You bet I did it. I'm not a noob!
That's why I ended up coming here to ask if any of you knew anything about it.


The eix-update-remote part I didn't know. Thanks, will give it a try.

 or search bugzilla

I did it from the website. http://bugs.gentoo.org
Nothing.

 or just google.

I even searched from the Gentoo Forums, but found nothing about it.
That's when I considered that someone from the list could have already dealt 
with it.
Anyway, thanks for answering.

Regards,

Saffi

- --
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkkyi68ACgkQjUOIEC3P9791XgCeNdiXB5mijPo5+Ou7HV+nRAZS
uM8AoJz+sR6fkh6TmK9Te1KT7ZHdpLYp
=XkAD
-END PGP SIGNATURE-



Re: [gentoo-user] lanmap ebuild

2008-11-30 Thread Ricardo Saffi Marques
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Justin wrote:
 Shouldn't sound that harsh, sorry.

Don't worry, no problem!
That's the problem with written text. Does not carry how the sentence would 
sound if spoken! :-)

 It looks like that it has a automake style installer included, so just
 type make.

Yeah, but where's that automake? Did you succeed to checkout from his svn? It 
was out when I tried.
Or did you get it from one of the zipped files? I didn't touch them since 
they're old, but will give
it a try, then.
Thanks Justin!

Best regards,

Saffi

- --
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkkylFoACgkQjUOIEC3P97+j/wCfX5vGpkNiB7T89sXkY6+8e9Te
PnIAnjCrXHKSBJPPJwY1+LNJ5p7w36et
=jSKA
-END PGP SIGNATURE-



Re: [gentoo-user] lanmap ebuild

2008-11-30 Thread Ricardo Saffi Marques
Justin wrote:
 Take a look into the INSTALL.txt. Is written there what to do and which
 deps are requiered. Additionally fill a ebuild request bug at b.g.o.
 Next saturday it is bugday, I will try to get time to solve it then.

Nice! I will! Thanks!

-- 
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




Re: [gentoo-user] package.keywords syntax?

2008-10-28 Thread Ricardo Saffi Marques
Andrey Vul wrote:
 That looks like it'll only work in paludis. You're going to have to
 use shell scripting and output a BFList to package.keywords .
 Try $eix -C kde-base --only-names | sed -r 's/$/ -~amd64/' | sudo tee
 -a /etc/portage/package.keywords

Don't you guys like (or maybe even know) autounmask?

[15:34:56] [EMAIL PROTECTED] ~ $ eix autounmask
* app-portage/autounmask
 Available versions:  0.15 0.21
 Homepage:http://download.mpsna.de/opensource/autounmask/
 Description: autounmask - Unmasking packages the easy way

Best regards,

Saffi

-- 
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




Re: [gentoo-user] Emerge takes a long time calculating dependencies...

2008-09-18 Thread Ricardo Saffi Marques
Daniel Pielmeier wrote:
 How often does this cron job run and what are the contents of your
 cron script. Do you use emerge --sync or probably eix-sync. I am
 asking this because if you sync to often and you use eix-sync the
 portage cache is deleted in advantage of the sync and is not recreated
 if it fails because of identical timestamps between the local machine
 and the rsync server.

In my case, my cron runs eix-sync every night at 00h and I just did an time 
emerge -DNuvp world
here, getting:

Total: 129 packages (103 upgrades, 18 new, 8 reinstalls), Size of downloads: 
187,761 kB

real0m21.074s
user0m18.913s
sys 0m0.724s

So I assume once a day (let's say, every night) is a good choice for syncing, 
right? :-)
Never ever had a problem with slow dependency calculation on emerge.

-- 
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




Re: [gentoo-user] Emerge takes a long time calculating dependencies...

2008-09-18 Thread Ricardo Saffi Marques
Ricardo Saffi Marques wrote:
 In my case, my cron runs eix-sync every night at 00h and I just did an 
 time emerge -DNuvp world
 here, getting:
 
 Total: 129 packages (103 upgrades, 18 new, 8 reinstalls), Size of downloads: 
 187,761 kB
 
 real  0m21.074s
 user  0m18.913s
 sys   0m0.724s
 
 So I assume once a day (let's say, every night) is a good choice for syncing, 
 right? :-)
 Never ever had a problem with slow dependency calculation on emerge.

Just out of curiosity, the sync entry on my cron:

00 00 * * * /usr/bin/eix-sync -q  /dev/null 21 || echo -e 
$(date)\n\n\n$(hostname -f) was NOT
sync'ed.\n\n | mail -s harley.las sync fail [EMAIL PROTECTED]

And you can use genlop -r (from app-portage/genlop) to check your sync 
history.

-- 
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




[gentoo-user] Problems installing Gentoo on an Asus EeePC 701

2008-08-08 Thread Ricardo Saffi Marques
Hello folks. I have an Asus EeePC 701 (4GB) and I'm having problems
installing Gentoo on it, so I wrote this giant e-mail to help you
understand what is going on and what I have done and can't do.
I have been using Gentoo for a while, so I am pretty comfortable on
installing it and configuring it.

Disks on my Eee:
Internal Flash (4GB): /dev/sda1 - Ubuntu 8.04 (blergh, not for long) :-)
SD Card (8GB): /dev/sdb1 - Gentoo 2.6.25-gentoo-r7

The Gentoo system is ready. I mean, it is still text-mode only, but I
have some ideas about the other stuff to be installed, continue reading,
please. :-)
The problem is that I just can't boot the system. At first, I thought I
had forgotten something when configuring the kernel. But I gave up that
idea since me and a friend of mine re-checked it many times.
I have installed Gentoo's grub on the MBR of /dev/sda, since I intend to
remove Ubuntu later. The kernel hangs because it can't find /dev/sdb1
[1]. The system I consider a minimum usable text-mode system is already
installed, configured and even up-to-date.
I have tried a lot of different things. I tried booting Gentoo using the
Ubuntu kernel. Sound reasonable, but Ubuntu's initrd (which later I
realized is the one that recognizes my disks) already mount /proc and
when Gentoo's RC comes up it oops because of /proc [2]. Since booting
Ubuntu's kernel is just temporary, I won't edit the init.d script that
mounts /proc on Gentoo. Anyway.
By-the-way, something that is worth mentioning. When booting Ubuntu's
kernel, it sometimes (not always) hangs at this point [3]. It stays
there for four to five MINUTES, sometimes. But some other times is just
goes straight. Even when hanging there for a while, it always passed
that and boots the system. Also happens when trying to boot Gentoo with
Ubuntu's kernel.

I have done tons of online research, but what I found is people that
successfully installed Gentoo on the EeePC.
I've read and bookmarked these links [4] [5] just in case, but so far
they didn't help me at all.

[1]: http://www.las.ic.unicamp.br/~saffi/eee/Gentoo-Kernel_Gentoo.jpg
[2]: http://www.las.ic.unicamp.br/~saffi/eee/Gentoo-Kernel_Ubuntu.jpg
[3]: http://www.las.ic.unicamp.br/~saffi/eee/Gentoo-Kernel_Ubuntu2.jpg
[4]: http://www.gentoo-wiki.com/Asus_Eee_PC_701
[5]:
http://www.floccinaucinihilipilification.net/wiki/index.php/Gentoo_on_the_EEE_Pc

I have ideas about installing the graphical system and other stuff
later. I intend to share the ideas and will as soon as my basic system
boots. Anyway, thanks in advance for any help!

Best regards,

Saffi

--
Ricardo Saffi Marques
http://www.rsaffi.com
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==



Re: [gentoo-user] Problems installing Gentoo on an Asus EeePC 701

2008-08-08 Thread Ricardo Saffi Marques
By the way, this might help.
I put some files online, that you might wanna check:

http://www.las.ic.unicamp.br/~saffi/eee/

* grub.conf
* fstab
* make.conf
* Kernel config

Best regards,

Saffi

-- 
Ricardo Saffi Marques
http://www.rsaffi.com
==
Laboratório de Administração e Segurança de Sistemas - LAS
Instituto de Computação - IC
Caixa Postal: 6176
Universidade Estadual de Campinas - UNICAMP
13083-852, Campinas, SP, Brasil
==





Re: [gentoo-user] Problems installing Gentoo on an Asus EeePC 701

2008-08-08 Thread Ricardo Saffi Marques
Ricardo Saffi Marques wrote:
 By the way, this might help.
 I put some files online, that you might wanna check:
 
 http://www.las.ic.unicamp.br/~saffi/eee/
 
 * grub.conf
 * fstab
 * make.conf
 * Kernel config

Cheers! Daniel Veiga had the same issue and contacted me with the
solution. My kernel was perfectly right. The solution is to add:

rootwait rootdelay=10

in the kernel line. Gentoo is now running flawlessly!
I intend to post here my mad ideas about compiling and installing the
rest of the packages (mainly graphical stuff).

Best regards,

Saffi

-- 
Ricardo Saffi Marques
http://www.rsaffi.com
==
Laboratório de Administração e Segurança de Sistemas - LAS
Instituto de Computação - IC
Caixa Postal: 6176
Universidade Estadual de Campinas - UNICAMP
13083-852, Campinas, SP, Brasil
==





Re: [gentoo-user] Problems installing Gentoo on an Asus EeePC 701

2008-08-08 Thread Ricardo Saffi Marques

Eric Martin wrote:

Please don't hijack threads.  Please write a new email to the list if
you wish to start a new thread.  Here's a google search with lots of
good resources on hijacking threads.


You don't have to explain to me what thread hijacking means. I moderate a Brazilian e-group of 2900 
people and am always saying that to members. Tell me what made you think I did that, because it sure 
ain't clear for me.

Jeez, wake up. I wrote that e-mail from scratch.

Regards,

Saffi

--
Ricardo Saffi Marques
http://www.rsaffi.com
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




Re: [gentoo-user] Problems installing Gentoo on an Asus EeePC 701

2008-08-08 Thread Ricardo Saffi Marques

Justin Findlay wrote:

Your set of posts showed up as part of another thread in my client.


Well, not in mine. I wrote that from scratch, I insist. Anyways, I won't discuss about that here on 
the list.
I disencourage thread hijacking and never did that. Sorry for any inconvenience if something weird 
and out of my control happened.


Best regards and let's keep up the good work.

Saffi

--
Ricardo Saffi Marques
http://www.rsaffi.com
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




[gentoo-user] [OFF-TOPIC] Eee 701 thread

2008-08-08 Thread Ricardo Saffi Marques

Apologies for any misunderstanding and if I seemed angry. I wasn't. Just felt 
misjudged.
Anyways, I was checking here and noticed that I've written and wanted to send a reply to that thread 
Adding a gentoo workstation to Active Directory Network which never arrived to the list (not here 
and seems it didn't there too).
So there *is* a chance I was confused and ended up sending the Eee question as a reply to that 
thread, but with a brand new subject and body. In case that did happen, it happened as a mistake and 
I apologize again.

Certainly not my intention to promote flames on this list, which I consider a 
very good one.
Cheers!

Best regards,

Saffi

--
Ricardo Saffi Marques
http://www.rsaffi.com
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==




[gentoo-user] Gentoo Bug Day

2008-07-05 Thread Ricardo Saffi Marques

Just as a reminder:
http://www.gentoo.org/news/20080701-bugday.xml

What: Gentoo contributors get together to help each other fix bugs

Where: irc.freenode.net, #gentoo-bugs

When: Saturday, July 5, in a timezone near you

What do you need to bring?

* A Gentoo system, an Internet connection and an IRC client
* Your bug. If you don't have one, we will find you one to suit your area of interest and your 
skills

* Your favorite editor
* A way to test that your bug is fixed (asking people counts!)
* You don't need to know C, C++, or bash

What's a bug? Gentoo's way of tracking change requests. A change request can be anything from I've 
found a typo in foo to I've built this really useful program called bar but there's no ebuild for 
it. Bugs have various levels of helpfulness, from identifying the existence of a problem to 
localizing the problem to providing the patch to fix it.


There are bugs in documentation such as man pages as well as ebuilds and the source code that Gentoo 
distributes. These bugs are problem reports. Bugs for things Gentoo doesn't do yet but you think 
should be done are feature requests. Bugday is more about fixing problems than adding features, but 
you won't be turned away if you want help with a new feature.


Want to know more about Bugday? It's held on the first Saturday of every month. It's an opportunity 
for everyone to contribute to making Gentoo better, and eventually you might even become a Gentoo 
developer. See the Bugday project page for more details.


Bugday is about community spirit. Gentoo is a community—there is no me and them, there is only 
we, so instead of lobbying for them to fix your particular bug, work together to fix it! Bugday 
is an opportunity to get help to help yourself.


If you've been wanting to get involved but weren't sure how, Bugday is a great way for you to see 
what goes on in making a distribution and get involved in Gentoo.


--
Ricardo Saffi Marques
http://www.rsaffi.com
==
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
==

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Setting CFLAGS for a single build

2008-05-24 Thread Ricardo Saffi Marques
On Sat, May 24, 2008 at 7:02 AM, dhk [EMAIL PROTECTED] wrote:

 How can I modify the CFLAGS before emerging a package?  I want to add -g2
 to the compile of libxml2 so I can step through their functions.  If I add
 -g2 to CFLAGS in make.conf it will do it for all packages which is not what
 I want.


It won't be persistent (like things you put inside
/etc/portage/package.{keywords,mask,unmask,use} but an idea would be:

[EMAIL PROTECTED] ~ $ CFLAGS=$CFLAGS -g2 emerge whatever_package

-- 
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] subscribe

2008-04-30 Thread Ricardo Saffi Marques
Ahn?!

On Wed, Apr 30, 2008 at 8:48 AM, Eddie Mihalow Jr [EMAIL PROTECTED]
wrote:

 [EMAIL PROTECTED] [EMAIL PROTECTED]
 --
 Edward A Mihalow Jr
 Gentoo! Linux
 Mudbug Computers and Networks
 Registered Linux User#225662
 New Orleans,LA
 --
 gentoo-user@lists.gentoo.org 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] Is gentoo-wiki Down?

2008-04-13 Thread Ricardo Saffi Marques
On Sun, Apr 13, 2008 at 9:13 PM, Drew Tomlinson [EMAIL PROTECTED]
wrote:

 For the past few days, anytime I've attempted to get to gentoo-wiki or
 gentoo-portage, my browser just sits.  I connect to other sites just fine.
  It may be my firewall/IDS but I'm not sure.  Are these sites still
 available?


They are opening here just fine... Just checked.

Regards,

Saffi

-- 
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] Old machine update - libexpat upgrade instructions?

2008-04-07 Thread Ricardo Saffi Marques
On Mon, Apr 7, 2008 at 1:52 PM, Mark Knecht [EMAIL PROTECTED] wrote:

 Hi,
   I was updating an old machine overnight that stopped with some
 messages inside of a mythtv emerge with issues about qt and libexpat.
 I vaguely remember we all had problems with libexpat upgrades a year
 ago so I've been searching around for the Gentoo update instructions
 but I'm not finding them. Anyone know the right search terms?


Expat upgrades for versions greater than 2.0 will make some dependencies
break. revdep-rebuild usually solves it with no problems.

-- 
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] Which ivtv on newest Gentoo kernels?

2008-04-05 Thread Ricardo Saffi Marques
On Sat, Apr 5, 2008 at 2:19 PM, Mark Knecht [EMAIL PROTECTED] wrote:

 If someone knows where a
 list like that might be could you point me there?


Have you tried these?

http://www.gentoo-wiki.com/HOWTO_Setup_MythTV
and
http://www.gentoo-wiki.com/HOWTO_Setup_Kernel/System_for_MythTV

-- 
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] uvesafb fails to work

2008-03-31 Thread Ricardo Saffi Marques
On Sun, Mar 30, 2008 at 5:32 PM, Matt Edens [EMAIL PROTECTED] wrote:

 Oops forgot the link to the website.
 http://dev.gentoo.org/~spock/projects/uvesafb/http://dev.gentoo.org/%7Espock/projects/uvesafb/


Yay! This works beautifully! :o)
Thanks a lot! Finally, framebuffer console again!

Best Regards,

Saffi

-- 
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] uvesafb and screen resolution

2008-03-27 Thread Ricardo Saffi Marques
On Thu, Mar 27, 2008 at 1:43 PM, Chris Brennan [EMAIL PROTECTED] wrote:

 have you tried vga=ask ?


I did try that. But it suggests many different things. None of them works as
I want it to  (or as vesafb-tng would when I set up the resolution by myself
on the kernel config). And worse: for me to try every option vga=ask provide
me, there are several reboots. So...

-- 
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


[gentoo-user] uvesafb and screen resolution

2008-03-25 Thread Ricardo Saffi Marques
On Tue, Mar 25, 2008 at 4:42 PM, Sergey Kobzar [EMAIL PROTECTED] wrote:

 uvesafb works nice.


Can anyone help me with the following?
Do any of you know how to make uvesafb (that replaces the old vesafb-tng)
set to a pre-defined resolution?
What I mean is that with vesafb-tng I used to set like: [EMAIL PROTECTED] as 
fb
settings and then, during boot, while kernel was loading, when it passed
through that instruction, it would start using the console with those fb
settings and the penguins on the top. Then the penguins disappear and I had
a great text console @ 1440x900.
I remeber putting the exact string [EMAIL PROTECTED] when building my kernel on
the vesafb page. Now with uvesafb I don't get that option and my text
console has a horrible resolution. A simple lspci will generate text long
enough for a line to break.
Anyone?

Regards,

Saffi

-- 
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] uvesafb and screen resolution

2008-03-25 Thread Ricardo Saffi Marques
On Tue, Mar 25, 2008 at 5:37 PM, Alexander Meinke [EMAIL PROTECTED] wrote:

 Try to determine possible resolutions by typing hwinfo --framebuffer.
 Use the
 hex code 0x... and put it as kernel parameter in your grub.conf.


Okay, *that* I didn't know. :-)
I do know 1440x900 is a supported resolution on my machines since it's the
native resolution of their screen's.


 For 1400x1050 with kernel 2.6.24-r3 I am using the following lines:
 title Gentoo GNU/Linux (gentoo-sources-2.6.24-r3)
 root (hd0,1)
 kernel /gentoo-sources-2.6.24-r3 root=/dev/sda5 vga=0x344


So after the change from the vesafb-tng to the actual uvesafb on the kernel,
it actually IS necessary to use the vga=something trick on the boot line,
then?
I'll do it and tell the results.

Thanks a lot, Alexander!

Best regards,

Saffi

-- 
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] uvesafb and screen resolution

2008-03-25 Thread Ricardo Saffi Marques
On Tue, Mar 25, 2008 at 7:53 PM, Ian Lee [EMAIL PROTECTED] wrote:

 i always thought vga= was only used by the old vesafb driver
 i use video=uvesafb:1024x768-32
 i cant get any wide screen modes to work at all, anybody else know how??


Nice, new thoughts being added to the discussion. That's good!! Let's keep
the brainstorm. :-)
Any ideas?

-- 
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] Recovering root password

2008-03-24 Thread Ricardo Saffi Marques
On Mon, Mar 24, 2008 at 5:30 PM, Grant [EMAIL PROTECTED] wrote:

 I've revived an old Gentoo laptop, but I've forgotten the root
 password.  I remember the password to my user account and I can log in
 there fine.  Can I recover the root password?


On the grub menu, edit the entry of the system you want to boot and on the
kernel line, add init=/bin/bash without the quotes. Boot that modded boot
instructions sequence. After kernel loads, you'll have a bash. Type: mount
-o rw,remount /
Then type passwd, put the new root pwd. Remount the partition read-only:
mount -o ro,remount / and reboot. Done!

-- 
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] Recovering root password

2008-03-24 Thread Ricardo Saffi Marques
On Mon, Mar 24, 2008 at 5:45 PM, Steven Lembark [EMAIL PROTECTED] wrote:

 It's acutally a good idea to keep a static bash and just put this into
 grub as the 'shell-init' or 'rgh' entry (it's in their example config).


That's what I do, at least. ;)
I have that boot entry for cases like that (or worse :-))

-- 
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] Gentoo Linux Basic commands to begin with

2008-03-19 Thread Ricardo Saffi Marques
On 3/19/08, Dale [EMAIL PROTECTED] wrote:

 Oh, man is a good one too.  man emerge, man equery, man eix etc etc.
 Sort of tells you how to use them, if you speak, Greek.  That rhyme?  LOL


Always a nice thing to remember to new people using Linux, whatever distro
it is:
man man

Regards,

Saffi

-- 
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] {OT} Power supply or motherboard dead?

2008-03-19 Thread Ricardo Saffi Marques
On 3/19/08, Grant [EMAIL PROTECTED] wrote:

 A Gentoo desktop of mine won't turn on anymore.  I was hoping it was
 the power supply but I've installed a new one which doesn't fix the
 problem.  Is there a sure way to know if the motherboard needs
 replacement or if I have two dead power supplies?


Have you tried to reset your BIOS? I would certainly try that before
changing my MOBO.

-- 
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] {OT} Power supply or motherboard dead?

2008-03-19 Thread Ricardo Saffi Marques
 3/19/08, Grant [EMAIL PROTECTED] wrote:

 Do you mean battery out and back in?


Battery out, short-circuit it's contacts on the mobo while pressing the
power button and then put it back and try to turn it on. But that is the raw
way to do that, hahaha.
The idea is for you to change the jumper located the closest to the battery,
press power, change it back to it's original place and then power up again.
Just a classic BIOS reset.

Regards,

Saffi

-- 
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] {OT} Power supply or motherboard dead?

2008-03-19 Thread Ricardo Saffi Marques
On 3/19/08, Ricardo Saffi Marques [EMAIL PROTECTED] wrote:

  3/19/08, Grant [EMAIL PROTECTED] wrote:
 
  Do you mean battery out and back in?


Or that.
http://www.trap17.com/index.php/how-reset-bios-guide_t39291.html

-- 
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] {OT} Power supply or motherboard dead?

2008-03-19 Thread Ricardo Saffi Marques
On 3/19/08, Volker Armin Hemmann [EMAIL PROTECTED]
wrote:

 this is a very certain way to destroy the mobo.


I don't know how this is in newer mobos, but I have certainly seen ppl doing
that without any problem.

no.
 Don't press power. Don't even get close to power. Just set the jumper,
 wait
 some seconds, set it back to 'work state' and boot.


Well I'm not here to get into silly discussions. Even because I haven't done
that in a while. If you say so, I strongly advice Grant to do as you say.
Sorry for any bad info.

Regards,

Saffi

-- 
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] {OT} Power supply or motherboard dead?

2008-03-19 Thread Ricardo Saffi Marques
On 3/19/08, Volker Armin Hemmann [EMAIL PROTECTED]
wrote:

 every mobo manual I ever read (and I read a lot) said the same: set the
 jumper
 and don't turn on the box. Never turn on the box with the jumper set, or
 mainboard might be destroyed/rendered unbootable.


Nice. Thanks for the update.
Sorry again.

Regards,

Saffi

-- 
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] Detecting 64 bit Intel chips

2008-03-05 Thread Ricardo Saffi Marques
On 3/5/08, Andrew MacKenzie [EMAIL PROTECTED] wrote:

 They do identify themselves, but they may not indicate 64 vs. 32 bit.


Something one can always do is cat /proc/cpuinfo and then check the family
and model at http://gentoo-wiki.com/Safe_Cflags .
If it indicates 64-bit profile and Cflags for it, then it is a 64-bit
capable processor. :-)

-- 
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] Detecting 64 bit Intel chips

2008-03-05 Thread Ricardo Saffi Marques
On 3/5/08, Uwe Thiem [EMAIL PROTECTED] wrote:

 I am a bit confused now. I always thought my CPU was 32bit. Here are
 the relevant two lines from my /proc/cpuinfo:
 So the model name does not indicate anything 64bit while the flags
 contain lm, nx and lahf_lm.


Like I said, take the family and model and check Gentoo Safe Cflags website.

-- 
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] Portage issue

2008-02-04 Thread Ricardo Saffi Marques
GUI = Graphical User Interface

On 2/4/08, Neil Bothwick [EMAIL PROTECTED] wrote:

 On Mon, 4 Feb 2008 02:31:57 +0200, Alan McKinnon wrote:

   Portato is GUI for portage/emerge ;).
 
  Erm, hmmm, what's a GUI?

 Konsole :)


 --
 Neil Bothwick

 Feature : BUG with seniority.




-- 
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] BIG-UPDATE! ;) If I survive, then gentoo rulezz... :)

2008-02-03 Thread Ricardo Saffi Marques
I here use dispatch-conf instead of etc-update. I just change /etc/dispatch-
conf.conf to the following:

use-rcs=yes

and

 diff=colordiff -Nu %s %s | less --no-init --QUIT-AT-EOF


which requires rcs and colordiff to be merged. It's fantastic for updating
the conf files.

Regards,

Saffi

On 2/2/08, Alan McKinnon [EMAIL PROTECTED] wrote:

 did you grep all the files in /var/log/portage/elog/ as well? That's
 where such notifications are normally stored.


 Some more likely candidates are gcc-config, java-config, perhaps
 python-updater or maybe one of these:

 nazgul ~ # ls -al /sbin/*update /usr/sbin/*update
 lrwxrwxrwx 1 root root14 Nov  2 09:55 /sbin/modules-update -
 update-modules
 -rwxr-xr-x 1 root root  5546 Jan 17 22:33 /sbin/rc-update
 -rwxr-xr-x 1 root root 30356 Nov  2 10:00 /usr/sbin/conf-update
 lrwxrwxrwx 1 root root29 Feb  1
 20:14 /usr/sbin/env-update - ../lib/portage/bin/env-update
 lrwxrwxrwx 1 root root29 Feb  1
 20:14 /usr/sbin/etc-update - ../lib/portage/bin/etc-update
 -rwxr-xr-x 1 root root  1873 Jan 10 15:14 /usr/sbin/texmf-update
 nazgul ~ # ls -al /sbin/*config /usr/sbin/*config
 -rwxr-xr-x 1 root root  53788 Nov  1 22:24 /sbin/ifconfig
 -rwxr-xr-x 1 root root  71460 Nov  5 14:42 /sbin/iwconfig
 -rwxr-xr-x 1 root root 564648 Nov  2 08:00 /sbin/ldconfig
 -rwxr-xr-x 1 root root   4412 Nov  1 22:24 /sbin/plipconfig
 -rwxr-xr-x 1 root root  26020 Nov  2 08:00 /usr/sbin/iconvconfig
 -rwxr-xr-x 1 root root   4171 Jan  2 13:48 /usr/sbin/paperconfig
 -rwxr-xr-x 1 root root  10284 Nov  1 22:24 /usr/sbin/pci-config
 -rwxr-xr-x 1 root root  18563 Nov  7 23:25 /usr/sbin/pwmconfig
 -rwxr-xr-x 1 root root   3084 Nov  5 13:27 /usr/sbin/ruby-config

 --
 Alan McKinnon
 alan dot mckinnon at gmail dot com
 --
 gentoo-user@lists.gentoo.org 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] upgraded video card from geforce 6600 to geforce 8600...

2008-01-31 Thread Ricardo Saffi Marques
Re-post?

On 1/31/08, Budd, Tracy [EMAIL PROTECTED] wrote:

   I recompiled nvidia-drivers, but when I tried running X, I got a blank
 screen.

 Couldn't get back to the console.

 I suspect this is something simple, but I don't know what it is.

 Any help is appreciated.




-- 
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: Re[2]: [gentoo-user] VM Ware or not?

2008-01-30 Thread Ricardo Saffi Marques
On 1/30/08, Sergey Kobzar [EMAIL PROTECTED] wrote:

 There are no special kernel requirements for server and workstation.


Even though I put the support for Virtualization. People with processors for
the Core 2 family or AMD with AM2 socket should do that. :-)


--
 Sergey

 --
 gentoo-user@lists.gentoo.org 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] Anti-aliasing

2008-01-30 Thread Ricardo Saffi Marques

On Jan 30, 2008, at 1:50 PM, econti wrote:


Hi all,
may be this is a stupid question but I am not able to set the anti- 
aliasing on firefox and thunderbird.


Regards
emilio


I did this:

http://gentoo-wiki.com/HOWTO_Xorg_and_Fonts#Mozilla_Firefox_1.0.2B

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] VM Ware or not?

2008-01-29 Thread Ricardo Saffi Marques
On 1/29/08, Neil Bothwick [EMAIL PROTECTED] wrote:

 That's not the case with VMware Workstation.


Exactly. That's exactly the point that I forgot to specify on my 1st
message, hehehee. That's basically the main difference between them.

-- 
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] VM Ware or not?

2008-01-29 Thread Ricardo Saffi Marques
On 1/29/08, Jerry McBride [EMAIL PROTECTED] wrote:

 Hey Mike,

 I passed on vmware for my use as it is quite the overkill for my simple
 needs. Also, vmware does not currently run on the most recent kernels. And
 secondly, you only get to use it for 30 days... the vmware workstation
 evaluation copy that is.


Apply to VMware Workstation. VMware Server is free.

-- 
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] switching CPU's -- what strange things do I need?

2008-01-25 Thread Ricardo Saffi Marques
I really don't know. I mean, I particularly always stick to Gentoo Safe
Cflags, but I know people that use a 32-bit profile and use -march=nocona.
Let's see what other ppl have to say.

On 1/25/08, John covici [EMAIL PROTECTED] wrote:

 on Friday 01/25/2008 Andrey Falko([EMAIL PROTECTED]) wrote
  On Jan 25, 2008 10:00 AM, John covici [EMAIL PROTECTED] wrote:
 
   Hi folks.  I right now have my CCFLAGS set to CFLAGS=-O2
   -mtune=athlon-xp -pipe -- now I am getting one of those new Intel
   e8400 CPU's and so I have two questions.
  
   What should I change my CCFLAGS to -- and do I have to recompile the
   whole system after this is done or what?
 
 
  I've done this before. I moved from an old Intel 3.06 Ghz to a new
 Athlon64
  4600+. I did *not* change flags before the move from system to system.
 After
  the move, however,  I  changed my -march flag (in your case -mtune,
 which is
  equivalent) and recompiled everything to have the change take effect.
 
  In your case, move the system from machine to machine, then change your
  -mtune to: -mtune=nocona (see
 
 http://gcc.gnu.org/onlinedocs/gcc-4.2.2/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options
 )
  . When you are done with that recompile everything: emerge -e world
 
 Thanks all -- I have a 32-bit profile, so I guess I will not be able
 to use ncona -- is this correct?


 --
 Your life is like a penny.  You're going to lose it.  The question is:
 How do
 you spend it?

  John Covici
  [EMAIL PROTECTED]
 --
 gentoo-user@lists.gentoo.org 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] switching CPU's -- what strange things do I need?

2008-01-25 Thread Ricardo Saffi Marques
Well, I'd change my CFLAGS, for sure, so that I'd get all the benefits of
having that better processor. What's your profile: x86 or x86_64 (amd64)?

For your processor, according to http://gentoo-wiki.com/Safe_Cflags (that I
always like to check):

 Intel Core 2 Duo/Quad / Xeon 51xx/53xx

 vendor_id  : GenuineIntel
 cpu family  : 6
 model  : 15
 model name  : Intel(R) Core(TM)2 CPU  @ XXXGHz

 *32 bit profile (x86)*

 CHOST=i686-pc-linux-gnu
 CFLAGS=-march=prescott -O2 -pipe -fomit-frame-pointer
 CXXFLAGS=${CFLAGS}

 *64 bit profile (amd64)*

 CHOST=x86_64-pc-linux-gnu
 CFLAGS=-march=nocona -O2 -pipe
 CXXFLAGS=${CFLAGS}

 *Note:*

- GCC 4.3 has 
 -march=core2[1]http://www.gnu.org/software/gcc/gcc-4.3/changes.html,
but Gentoo has nothing above 4.2 in portage.

 So, I'd change my make.conf to one of those (again, depending of your
profile). And after that, even though some things may need a revdep-rebuild
and it may take a while, why not emerge -e world?

Regards,

Saffi


On 1/25/08, John covici [EMAIL PROTECTED] wrote:

 Hi folks.  I right now have my CCFLAGS set to CFLAGS=-O2
 -mtune=athlon-xp -pipe -- now I am getting one of those new Intel
 e8400 CPU's and so I have two questions.

 What should I change my CCFLAGS to -- and do I have to recompile the
 whole system after this is done or what?

 Thanks in advance for any assistance.

 --
 Your life is like a penny.  You're going to lose it.  The question is:
 How do
 you spend it?

  John Covici
  [EMAIL PROTECTED]
 --
 gentoo-user@lists.gentoo.org 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] RAM upgrade, kernel and swap

2008-01-24 Thread Ricardo Saffi Marques
There is an option in the kernel that will make it see all the 4GB. Set
the option for up o 64GB in the kernel and you may use your 4GB.

On 1/24/08, Hal Martin [EMAIL PROTECTED] wrote:

 Ahh, but it won't last...

 $ free
   total   used   free shared
 buffers cached
 Mem:   20598242044512  15312  0  37636  50868
 -/+ buffers/cache:  1956008 103816
 Swap:  428930812290243060284

 Now this I can live with...

 $ free
 total   used   free shared
 buffers cached
 Mem:   36298323499156   130676 0  566443070796
 -/+ buffers/cache:  3717163258116
 Swap:0  0  0

 Unfortunately that machine is 32bit and thus only supports ~3.6GB of the
 4GB of RAM. :-(

 -Hal

 Michael Higgins wrote:
  On Tue, 22 Jan 2008 00:44:53 +0100
  Hemmann, Volker Armin [EMAIL PROTECTED] wrote:
 
 
  On Montag, 21. Januar 2008, Michael Higgins wrote:
 
  So, I just got 2 GB of RAM in the mail. Whoo hoo.
 
  Before I pop these in, soliciting any thoughts about the following:
 
  zcat /proc/config.gz |grep MEM
  CONFIG_SHMEM=y
  # CONFIG_TINY_SHMEM is not set
  # CONFIG_NOHIGHMEM is not set
  CONFIG_HIGHMEM4G=y
  # CONFIG_HIGHMEM64G is not set
  CONFIG_HIGHMEM=y
  CONFIG_SELECT_MEMORY_MODEL=y
  CONFIG_FLATMEM_MANUAL=y
  # CONFIG_DISCONTIGMEM_MANUAL is not set
  # CONFIG_SPARSEMEM_MANUAL is not set
  CONFIG_FLATMEM=y
  CONFIG_FLAT_NODE_MEM_MAP=y
  # CONFIG_SPARSEMEM_STATIC is not set
  CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
  # CONFIG_BLK_DEV_UMEM is not set
  # CONFIG_INPUT_FF_MEMLESS is not set
  # CONFIG_DEBUG_HIGHMEM is not set
  CONFIG_HAS_IOMEM=y
 
 
 NameFlags  Part Type  FS Type  [Label]
  Size (MB)
 
 ---
  --- hda1BootPrimary   Linux ext2
  256.50 hda2Primary   Linux swap /
  Solaris  1024.46 hda3Primary   Linux
  ext3   21480.44 hda5Logical
  Linux ReiserFS   28771.84 hda6
  Logical   Linux ReiserFS   28493.15
 
  IOW, do I need to/should I recompile my kernel or change partition
  sizes?
 
  if you don't plan to try suspend-to-disk.
  No
 
  even if you plan to try suspend-to-disk it might work with a
  swapfile. So still no.
 
 
  Thanks for the feedback. I figured I'd be covered with the setup as it
  is, but you never know... unless you know. This thing never sleeps...
  so no worries there.
 
  Anyway, I just popped 'em in:
 
  $ free
   total   used   free sharedbuffers
 cached
  Mem:   2074548 1660481908500  0
 6812  77284
  -/+ buffers/cache:  819521992596
  Swap:  1000432  01000432
 
  [ Nice. I like that last line a lot. ]
 
  Cheers,
 
 

 --
 gentoo-user@lists.gentoo.org 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] RAM upgrade, kernel and swap

2008-01-24 Thread Ricardo Saffi Marques
That's the problem. For one thing to work, you have to sacrify other(s). :-/

On 1/24/08, Hemmann, Volker Armin [EMAIL PROTECTED]
wrote:

 On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:
  There is an option in the kernel that will make it see all the 4GB.
 Set
  the option for up o 64GB in the kernel and you may use your 4GB.

 and slow down memory access a lot.
 --
 gentoo-user@lists.gentoo.org 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] RAM upgrade, kernel and swap

2008-01-24 Thread Ricardo Saffi Marques

On Thu, 24 Jan 2008, Hemmann, Volker Armin wrote:


On Donnerstag, 24. Januar 2008, Ricardo Saffi Marques wrote:

That's the problem. For one thing to work, you have to sacrify other(s).


and AFAIR the option won't help you, if your maiboards bios maps pci-space at
the 3,6GB-4GB range.
--
gentoo-user@lists.gentoo.org mailing list



You're absolutely right about that. My machines as 64-bits and I don't 
even have that ammount of RAM, but I disable that bios option, anyway.


--
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] firewall make.conf settings

2008-01-24 Thread Ricardo Saffi Marques

On Thu, 24 Jan 2008, James wrote:


Hello,

I keep driving to make the size of the (gentoo) firewall as small(fast) as
posible to run on minimal resources. I have a mixture of old pentiums and
amd (k6) machines. I'd like to have one make.conf file for all the systems.

Anybody see anything wrong (not optimized) with these settings?


CFLAGS=-Os -march=i586 -pipe -fomit-frame-pointer
CHOST=i586-pc-linux-gnu
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2
USE= -* hardened acl ssl crypt nptl nptlonly

Will -march=i586 work well with the amd k6 arch?
-fomit-frame-pointer (as no debugging wil)l occur on said machines)


Any comments on the USE flags?  (a better way to minimize the installed
packages (which is vim and iptables and sshd)



James

--
gentoo-user@lists.gentoo.org mailing list



Don't forget denyhosts and I'd also use metalog instead of syslog-ng.

Regards,

Saffi

--
Ricardo Saffi Marques
Laborat??rio de Administrao 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] cron and ssmtp

2008-01-22 Thread Ricardo Saffi Marques
I also have mailx installed. Try that.

On 1/22/08, Neil Bothwick [EMAIL PROTECTED] wrote:

 On Tue, 22 Jan 2008 07:36:46 -0800, Michael Higgins wrote:

  Is anyone using cron (vixie-cron) without a real MTA and getting
  emails? The test is simple, just echo hello world. I expect this
  to come as an email to the address I put in MAILTO=. But it doesn't.

 It works on several boxes here. Is ssmtp working correctly? Try

 echo -e To: Me\nSubject: ssmtp test\n\nssmtp test | /usr/sbin/ssmtp
 youraddress

 If it fails, check /etc/ssmtp/ssmtp.conf, particularly the mailhub
 setting.


 --
 Neil Bothwick

 Windows Error #10: Insufficient money spent in hardware.




-- 
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] cron and ssmtp

2008-01-22 Thread Ricardo Saffi Marques
Oh, forgot to mention: and it works beautifully. ;)

On 1/22/08, Ricardo Saffi Marques [EMAIL PROTECTED] wrote:

 I also have mailx installed. Try that.

 On 1/22/08, Neil Bothwick [EMAIL PROTECTED] wrote:
 
  On Tue, 22 Jan 2008 07:36:46 -0800, Michael Higgins wrote:
 
   Is anyone using cron (vixie-cron) without a real MTA and getting
   emails? The test is simple, just echo hello world. I expect this
   to come as an email to the address I put in MAILTO=. But it doesn't.
 
  It works on several boxes here. Is ssmtp working correctly? Try
 
  echo -e To: Me\nSubject: ssmtp test\n\nssmtp test | /usr/sbin/ssmtp
  youraddress
 
  If it fails, check /etc/ssmtp/ssmtp.conf, particularly the mailhub
  setting.
 
 
  --
  Neil Bothwick
 
  Windows Error #10: Insufficient money spent in hardware.
 
 


 --
 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




-- 
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] cron and ssmtp

2008-01-22 Thread Ricardo Saffi Marques
I think it's not a group issue. I put myself at cron and crontab groups,
just in case. If it was a group thing, you wouldn't even be able to crontab
-e.
I edit my cron table using: crontab -e (no extra parameters needed). Check
it out by crontab -l. For root, I do the same.

Regards,

Saffi

On 1/22/08, Michael Higgins [EMAIL PROTECTED] wrote:

 On Tue, 22 Jan 2008 15:48:05 +
 Neil Bothwick [EMAIL PROTECTED] wrote:

  On Tue, 22 Jan 2008 07:36:46 -0800, Michael Higgins wrote:
 
   Is anyone using cron (vixie-cron) without a real MTA and getting
   emails? The test is simple, just echo hello world. I expect this
   to come as an email to the address I put in MAILTO=. But it
   doesn't.
 
  It works on several boxes here. Is ssmtp working correctly? Try
 
  echo -e To: Me\nSubject: ssmtp test\n\nssmtp test | /usr/sbin/ssmtp
  youraddress
 
  If it fails, check /etc/ssmtp/ssmtp.conf, particularly the mailhub
  setting.

 No fail. Worked like a charm...

 I edit my crontab like sudo crontab -u mykhyggz -e

 At the top, is MAILTO=[EMAIL PROTECTED]

 My user belongs to cron group: groups
 wheel cron users mykhyggz

 Cron is running: top bn1|grep cron
 5068 root  18   0  3072  692  552 S  0.0  0.7   0:00.00 cron

 1508  *  *   *echo hello world

 should have sent me an email with 'hello world' in the body at 8:15, or
 so I believe, but didn't.

 What else can I check?

 Cheers,

 --
 |\  /||   |  ~ ~
 | \/ ||---|  `|` ?
 ||ichael  |   |iggins\^ /
 michael.higgins[at]evolone[dot]org
 --
 gentoo-user@lists.gentoo.org 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] Re: cron and ssmtp

2008-01-22 Thread Ricardo Saffi Marques
Not really, Guilherme. ANY output from any command executed under cron WILL
be outputed to the mail set on MAILTO variable.

On 1/22/08, Guilherme Amadio [EMAIL PROTECTED] wrote:

 Hi,

 On Tue, Jan 22, 2008 at 08:19:15AM -0800, Michael Higgins wrote:
  I edit my crontab like sudo crontab -u mykhyggz -e
 
  At the top, is MAILTO=[EMAIL PROTECTED]
 
  My user belongs to cron group: groups
  wheel cron users mykhyggz
 
  Cron is running: top bn1|grep cron
   5068 root  18   0  3072  692  552 S  0.0  0.7   0:00.00 cron
 
  1508  *  *   *echo hello world
 
  should have sent me an email with 'hello world' in the body at 8:15, or
  so I believe, but didn't.
 
  What else can I check?
 
   I believe that the MAILTO variable mails output only when there are
   errors, so try putting 'ls /idontexist' as a command and see if you
   get anything. You may have to mail normal output by hand.

   Cheers,

 --
 gentoo-user@lists.gentoo.org 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] Re: cron and ssmtp

2008-01-22 Thread Ricardo Saffi Marques
The mailhub seems to be a good place to think about.
Leave a tail -f /var/log/mail/current running in a shell while you wait
for a cron to be executed. When it runs, check out what happens in the
logfile.

Regards,

Saffi

-- 
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] kde 'Lock Sesson' does nothing

2008-01-22 Thread Ricardo Saffi Marques
Yep. That's what fixed it to me. I re-emerged my *dm and it started working.
In my case: gdm.

On 1/22/08, Etaoin Shrdlu [EMAIL PROTECTED] wrote:

 On Saturday 19 January 2008, Ricardo Saffi Marques wrote:

  I went through something similar once. KDE informed me there was no
  greeter configured. So it simply refused to lock the session. I then
  did something about gdm (yep, even though I use KDE I prefer gdm) and
  it started working.

 When I got the no greeter message, reemerging kdm fixed the issue.
 --
 gentoo-user@lists.gentoo.org 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] kde 'Lock Sesson' does nothing

2008-01-19 Thread Ricardo Saffi Marques
I went through something similar once. KDE informed me there was no greeter
configured. So it simply refused to lock the session. I then did something
about gdm (yep, even though I use KDE I prefer gdm) and it started working.
:-)

On 1/19/08, Stroller [EMAIL PROTECTED] wrote:


 On 18 Jan 2008, at 19:45, James wrote:
 
  I/ve tried rebuilding all sorts of stuff. Nothing
  get's this working again, in the kde pull down menu.
 
  Any ideas what to rebuild?
  revdep-rebuild is clean.

 I don't use KDE much, so please forgive me if I'm barking up the
 wrong tree here, but couldn't this be caused by an incorrect
 configuration? I would create a new user  see if it works for them.

 Stroller.
 --
 gentoo-user@lists.gentoo.org 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] No kernel boot after inserting more ram

2008-01-18 Thread Ricardo Saffi Marques
Nothing to do about it...
If he's using amd64 that option doesn't even exist.
And even if he's on x86, if that option is not enabled, it will boot, but
will just not use all the memory phisically available.

On 1/18/08, Mike [EMAIL PROTECTED] wrote:

 Just a thought... Did you enable High Memory support in your kernel?

 Processor type and features  ---
  High Memory Support  ---
   (X) 4GB


 On Jan 18, 2008 4:10 PM, Philip Webb [EMAIL PROTECTED] wrote:

  080118 José Pedro Saraiva wrote:
   Hi all, wise gentoo users!
   I've recently bought an extra GB of RAM for my laptop.
   After inserting it, kernel refuses to boot, hangs at Booting the
  kernel
 
  The first thing is to re-insert the RAM very carefully,
  then to check that no other connections got dislodged accidentally.
  Just my bit of Gentoo wisdom (smile).
 
  --
  ,,
  SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
  ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
  TRANSIT`-O--O---'  University of Toronto
  --
  gentoo-user@lists.gentoo.org mailing list
 
 


 --
 Courage is doing what is right.

 Do not be bound to any doctrine, theory or ideology, even Buddhist ones.
 All systems of thought are guiding means, not absolute truth.  Thich Nhat
 Hanh, Vietnamese monk.




-- 
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] CFLAGS

2008-01-17 Thread Ricardo Saffi Marques
http://gentoo-wiki.com/Safe_Cflags

 Intel Core 2 Duo/Quad / Xeon 51xx/53xx

 vendor_id  : GenuineIntel
 cpu family  : 6
 model  : 15
 model name  : Intel(R) Core(TM)2 CPU  @ XXXGHz

 *32 bit profile (x86)*

 CHOST=i686-pc-linux-gnu
 CFLAGS=-march=prescott -O2 -pipe -fomit-frame-pointer
 CXXFLAGS=${CFLAGS}

 *64 bit profile (amd64)*

 CHOST=x86_64-pc-linux-gnu
 CFLAGS=-march=nocona -O2 -pipe
 CXXFLAGS=${CFLAGS}

 *Note:*

- GCC 4.3 has 
 -march=core2[1]http://www.gnu.org/software/gcc/gcc-4.3/changes.html,
but Gentoo has nothing above 4.2 in portage.




Re: [gentoo-user] Sending IMs from a script

2008-01-16 Thread Ricardo Saffi Marques
This is what I know from past resources of ICQ, at least: even if someone is
not on your contact list, you can send and e-mail to something like UIN@
SOMETHING.icq.com and the message will arrive to that user.
For other protocols, I don't even know how to help you.
Hmm, when you install pidgin, it also installs a text-based IM software, for
you to use from a console. Maybe you should take a look at that.

Regards,

Saffi

On 1/16/08, Neil Bothwick [EMAIL PROTECTED] wrote:

 I would have thought this was easy, but I've looked around and can't find
 a program that will send IMs from a script. I need to be able to send
 alerts to people from a monitoring program.


 --
 Neil Bothwick

 Invertebrates make no bones about it.




-- 
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] Gentoo Forums Crashed

2008-01-12 Thread Ricardo Saffi Marques
Everything smooth from here too: Campinas, SP, Brazil
:-)

On 1/13/08, Dale [EMAIL PROTECTED] wrote:

 Richard Cox wrote:
  Anybody else get a DB error when trying to access the forums?  Seems
 like it
  may have been overwhelmed with the Robbins debate going on.
 

 Works fine here.  Even found the thread.  Oh, I'm in Mississippi USA if
 it matters.

 http://forums.gentoo.org/viewtopic-t-644321-highlight-daniel+robbins.html

 Dale

 :-)  :-)
 --
 gentoo-user@lists.gentoo.org mailing list




-- 
bRicardo Saffi Marques/b
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
iCell:/i +55 (19) 8128-0435
iSkype:/i ricardo_saffi_marques
iWebsite:/i uhttp://www.rsaffi.com/u


Re: [gentoo-user] Gentoo Forums Crashed

2008-01-12 Thread Ricardo Saffi Marques
On 1/13/08, Richard Cox [EMAIL PROTECTED] wrote:

 Thanks, it's the View posts from last 24 hours link that is causing the
 problem for me.

 --
 gentoo-user@lists.gentoo.org mailing list


Even though, it's fine here.

-- 
bRicardo Saffi Marques/b
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
iCell:/i +55 (19) 8128-0435
iSkype:/i ricardo_saffi_marques
iWebsite:/i uhttp://www.rsaffi.com/u


Re: [gentoo-user] Gentoo Forums Crashed

2008-01-12 Thread Ricardo Saffi Marques
Weird, but... have you tried cleaning your browser cache? CTRL SHIFT DEL on
firefox.

On 1/13/08, Richard Cox [EMAIL PROTECTED] wrote:

 On Saturday 12 January 2008 20:05:50 Ricardo Saffi Marques wrote:
  On 1/13/08, Richard Cox [EMAIL PROTECTED] wrote:
   Thanks, it's the View posts from last 24 hours link that is causing
 the
   problem for me.
  
   --
   gentoo-user@lists.gentoo.org mailing list
 
  Even though, it's fine here.

 Ok, well, I'm still having problems with it, but I've got a workaround
 now.
 It's giving me this whenever I hit the View posts from last 24 hours
 link:

 phpBB : Critical Error

 Could not connect to the database


 Thanks.
 --
 gentoo-user@lists.gentoo.org mailing list




-- 
bRicardo Saffi Marques/b
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
iCell:/i +55 (19) 8128-0435
iSkype:/i ricardo_saffi_marques
iWebsite:/i uhttp://www.rsaffi.com/u


Re: [gentoo-user] Laptop weirdness

2007-12-19 Thread Ricardo Saffi Marques
Have it started doing that after anyh particular installation or right after
the base system was installed? Seems to me that it is a leak of resources
(memory). Have you tried checking /var/log/messages or
/var/log/kernel/current ?

Regards,

Saffi

On 12/19/07, Wayn0 [EMAIL PROTECTED] wrote:

 Hi Guys/Girls,

 I have gentoo running on a few machines and recently bumped into a
 strange issue, with one of my laptops.

 I have an Acer travelmate laptop that until about a few ago was running
 the factory installed Windows XP with no problem. I installed gentoo on
 it all went smoothly (done this a few times) and every done everything I
 usually do.

 However when running the laptop (X or Console) it's very unresponsive.
 I will type a command and the text will slowly start appearing on the
 screen about a second or two later. In X the Gnome UI will lock up
 completely for seconds/mins. Obviously this is far worse when doing a
 sync or a merge.

 I have not had much time to dedicate to this machine and it's been like
 that for some time now :-( I would appreciate any suggestions.

 Things I have tried include building a completely new kernel (new
 version, new config) and rebuilding the entire system.

 Thanx,

 Wayn0
 --
 [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] apache problem (can't find libpq.so.4)

2007-11-28 Thread Ricardo Saffi Marques
Hey, did revdep-rebuild help on anything, after all?

On 11/27/07, Rafael Barrera Oro [EMAIL PROTECTED] wrote:

 As a matter of fact i have not, will give it a try inmediately!

 thanks for the tip

 2007/11/27, Ricardo Saffi Marques [EMAIL PROTECTED] :
 
  Have you tried revdep-rebuild?
 
  On 11/27/07, Rafael Barrera Oro [EMAIL PROTECTED]  wrote:
  
   Hello, i have the following problem when trying to start apache
  
   *Apache2 has detected a syntax error in your configuration files:
  
   /usr/sbin/apache2: error while loading shared libraries: libpq.so.4:
   cannot open shared object file: No such file or directory
  
   i searched for libpq.so.4 and found out that i only had libpq.so.5, so
   i tried a symlink (which i inmediately undoed after seeing that it led to 
   a
   new error which frightened me)
  
   i have postgresql 8.2.4 installed
  
   libpq.so.4 should be there? or apache should use libpq.so.5?
  
   as usual, a lot of true hart felt sincere thanks in advance
  
   Rafael
  
  
 
 
  --
  *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*





-- 
*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] Converting HTML to PDF or PS -- DCOP Q now

2007-11-28 Thread Ricardo Saffi Marques
If you use KDE, you can right click the Title Bar and go to Application
Specific Settings (or something like that. I'm on a Mac now :-) ) and
configure the windows to always open at the center, for instance. That helps
on the finding the right coordinates to click might not be easy issue. =)

On 11/28/07, YoYo Siska [EMAIL PROTECTED] wrote:

 [EMAIL PROTECTED] wrote:
  On Tue, Nov 27, 2007 at 10:07:10PM +, Neil Bothwick wrote:
  On Tue, 27 Nov 2007 13:53:10 -0800, [EMAIL PROTECTED] wrote:
 
  These web pages use Javascript; some render so-so without javascript,
  some don't render at all well.  What I would like is some firefox (or
  Konqueror or ...)  command line option to render the page and save it
  as any other format -- jpg, pdf, ps, doesn't matter.
  You could probably do this with a shell script that loads Konqueror
 with
  the given URL and send it DCOP command(s) to print.
 
  I have been fooling around with this and following some of the google
  treasure, and it is a decent substitute for the nice simple command
  line options that I want.  But it has a few problems:
 
  1.  The 'print' DCOP command pops up the print menu and requires at
  least one click.  I can set the print type (to PDF file) and the
  default file name ahead of time, but I still have to click on
  Print.
 
  2.  When I pass it the URL to display, it returns immediately, and I
  have to insert a sleep to wait before sending the print command.
  Is there any way to find out when the page is complete?
 
  3.  If I put in a one minute pause to allow even the slowest web sites
  to fully load, that limits how many of these URLs I can process.
  Is there any way to run multiple konqueror sessions at once?
 
  #1 is a real show stopper.  The others are merely annoying.

 emerge -av x11-misc/xautomation
 xte --help

 it allows you to move mouse, click, send keypresses...
 finding the right coordinates to click might not be easy (although the
 package contains som programs that allow you to find specific pictures
 on screen...) but sending the correct  tab and enter sequence should be
 enough (I expect just pressing enter in the dialog should be enough)

 you should be able to use this also with firefox
 send alt-f, p, few tabs to get to the print to file, space, enter,
 name of the file, enter
 ;))

 yoyo
 --
 [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] Gentoo on the server side

2007-11-28 Thread Ricardo Saffi Marques
Our main server, which hosts the Latin America Official Gentoo Mirror runs
Gentoo. So does our Web-server. So does our Backup server. So does our
datacenter. By our I mean the laboratory I work at (check signature). I
see no major issue on running Gentoo on servers.

On 11/28/07, Jason Carson [EMAIL PROTECTED] wrote:

 I have been using Gentoo for my server for several years. Just a hobby but
 I run the following services...

 Apache, MySQL, Qmail, VSFTPD, SAMBA, BIND, Squid and Courier Imap.

 Use Webmin for configuration and setting it up is easy as pie.

 The issue is, as you should already must have guessed, if its a good
  idea
  to deploy Gentoo in a server. For the first time, i have the opportunity
  to
  install Gentoo on a properly set (almost pimped out) server and i wanted
  to
  be sure i know what i am doing before getting on with it. Where i work
 at,
  the tradition is to go with FreeBSD (which is, without a doubt, very
  stable)
  but since our FreeBSD guru parted i've been juggling the idea of
 starting
  to
  use Gentoo on servers instead of using it only on desktops.
 I have always found very useful stuff in www.gentoo.org, however, i
  have
  not found a specific server side faq. Does anyone know where i could get
  such documentation?
 
  Any pointers, opinions, faqs, insights, etc will be greatly appreciated
 
  best wishes
 
  Rafael
 


 --
 [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] apache problem (can't find libpq.so.4)

2007-11-27 Thread Ricardo Saffi Marques
Have you tried revdep-rebuild?

On 11/27/07, Rafael Barrera Oro [EMAIL PROTECTED] wrote:

 Hello, i have the following problem when trying to start apache

 *Apache2 has detected a syntax error in your configuration files:

 /usr/sbin/apache2: error while loading shared libraries: libpq.so.4:
 cannot open shared object file: No such file or directory

 i searched for libpq.so.4 and found out that i only had libpq.so.5, so i
 tried a symlink (which i inmediately undoed after seeing that it led to a
 new error which frightened me)

 i have postgresql 8.2.4 installed

 libpq.so.4 should be there? or apache should use libpq.so.5?

 as usual, a lot of true hart felt sincere thanks in advance

 Rafael




-- 
*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] Finding local IPs

2007-10-25 Thread Ricardo Saffi Marques
Hi Bertram.

I've tried some stuff here and ended up with this:

 ifconfig | egrep inet addr | cut -d : -f 2 | cut -d   -f 1


It's not pretty, but certainly works.

Regards,

Saffi

On 10/25/07, Bertram Scharpf [EMAIL PROTECTED] wrote:


 Hi,


 in some script I need all the local IP addresses of a host,
 as there are 127.0.01, 192.168.8.1, ...

 I can do this using the command suite

   LANG= /sbin/ifconfig | awk '/\inet\/{split($2,a,:);print a[2]}'

 As this is quite long I would like to ask whether there is
 some smarter way to do it.

 Thanks in advance,

 Bertram Scharpf


-- 
*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] qemu video driver

2007-10-24 Thread Ricardo Saffi Marques
I've never used that X-configure. I don't know whether it is a link to
xorgcfg, but try xorgcfg or xorgconfig instead. :-)

On 10/24/07, pat [EMAIL PROTECTED] wrote:

 On Wed, 24 Oct 2007 10:42:13 +0200, Wayn0 wrote
  pat wrote:
   On Tue, 23 Oct 2007 12:12:09 +0200, Wayn0 wrote
  8
  
   I've tried this one and previous problem gone, but there's a new one
 :-| For
   all modes receiving:
   (II) CIRRUS(0): Not using default mode 1920x1440 (insufficient
 memory
 for mode)
   (II) CIRRUS(0): Not using default mode 960x720 (bad mode
   clock/interlace/doublescan)
  
   I tried different frequencies, but without luck. It makes me nuts. Any
 ideas?
   The X.org works fine for LiveCDs, but not for my Gentoo installation
 ... I
   must did something wrong, because the xorg.config for LiveCD and my
 Gentoo is
   the same (+/-).
  
   Current xorg.conf and Xorg.0.log are included.
  
   Thanks for the help.
  
Pat
  
 
  try removing the xorg.conf file and let X auto detect everything, it
  does a decent job of that now days!
 
  --
  Wayne

 So, it doesn't help :-( I've run 'X -configure' command and after run with
 generated xorg.conf it ends with this error:
 (EE) CIRRUS(0): no valid modes found
 and after adding the video modes to the xorg.conf the X server ends with
 errors sent in previous mail.

  Pat


 --
 [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] [OT] Pinging two devices on the same IP address

2007-10-24 Thread Ricardo Saffi Marques
On 10/24/07, Stroller [EMAIL PROTECTED] wrote:


 I'm actually a little surprised to hear that yours
 doesn't - how does one change the SSID  wireless encryption key, if
 the AP has no IP address to connect to?

 Stroller.


Here at one of the University labs there is a REALLY old 802.11b 3COM AP
that is only configurable by a (lousy) software running on Windows. It's
really simple.
It's so hard dealing with it, 'cause it doesn't even have a power slot. It
uses PoE, so the only connector is the Ethernet one. :-/

Regards,

Saffi

-- 
*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] qemu video driver

2007-10-24 Thread Ricardo Saffi Marques
My pleasure. :-)

On 10/24/07, Wayn0 [EMAIL PROTECTED] wrote:

 pat wrote:
  On Wed, 24 Oct 2007 12:37:18 +0200, Wayn0 wrote
  [snip]
 
  Final solution, copy the config from one of the livecds you used.
 
 
  Yes, I've did it too, but it missed DefaultDepth parameter line too :-)
 
  Thanks a lot for the patience and help.
 
   Pat

 All good mate, glad to be a help.

 --
 Wayn0
 --
 [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] qemu video driver

2007-10-23 Thread Ricardo Saffi Marques
Well, you didn't set any resolution for the card. Try the basic ones:
1024x758 and 800x600. You can also remove the small depth entries.

Regards,

Saffi

On 10/23/07, pat [EMAIL PROTECTED] wrote:

 On Mon, 22 Oct 2007 16:30:50 +0200, Wayn0 wrote
  pat wrote:
   Hello,
  
   I'm playing with qemu on windows and I've installed Gentoo into it.
 Now I want
   to setup X.org, but have no idea which video driver should I use. Can
 someone
   help?
  
   Thanks a lot
  
Pat
 
  The vesa driver should work.
 
  --
  Wayno

 I've tried but without success :-( The generated config and log file are
 included. I've googled but without success too ... .

 Thanks a lot

  Pat





-- 
*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] massive segmentation faults since 2 days with layman and portage

2007-10-17 Thread Ricardo Saffi Marques
Why not?!
Seems like he wants to take a look at them to try to help you. :-)

Regards,

Saffi

-- 
*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*

On 10/17/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 why?

 Am Dienstag, den 16.10.2007, 20:14 -0500 schrieb Tim:
  Can you post the output of 'cat /proc/cpuinfo /proc/meminfo'?




Re: [gentoo-user] massive segmentation faults since 2 days with layman and portage

2007-10-16 Thread Ricardo Saffi Marques
A friend of mine had a lot of those. He discovered the problem was the
mtune parameter at the make.conf CFLAGS.
He removed mtune=athlon-xp (his case) and all the compiling problems and
segfaults stopped. He is using i686 arch and gcc v4.1.
Try to do that and then emerge -DNuva system and revdep-rebuild.

Regards,

Saffi

-- 
*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*

On 10/16/07, Volker Armin Hemmann [EMAIL PROTECTED]
wrote:

 On Mittwoch, 17. Oktober 2007, [EMAIL PROTECTED] wrote:
  don't know why these probs coming suddenly all together, because i don't
  change anything in weeks, but 
 
  --
 
  segfault with layman -S is gone after i changed my local overlay from
  a http(s)-server to a ftp-server in /etc/layman/layman.cfg
 
  before:
  overlays  : http://www.gentoo.org/proj/en/overlays/layman-global.txt
  http://local/local-overlay.txt
 
  after:
  overlays  : http://www.gentoo.org/proj/en/overlays/layman-global.txt
  ftp://local/local-overlay.txt
 
  Someone knows why it doesn't work anymore?
 
  --
 
  emerge progname works fine too after some tests now, but with out the
  elog-system (also tested some prior portage-versions)
 
  in /etc/make.conf:
 
  before:
  PORTAGE_ELOG_SYSTEM=jabber
  PORTAGE_ELOG_JABBERFROM=[EMAIL PROTECTED]:yyy
  PORTAGE_ELOG_JABBERTO= [EMAIL PROTECTED]
 
  after:
  # PORTAGE_ELOG_SYSTEM=jabber
  # PORTAGE_ELOG_JABBERFROM=[EMAIL PROTECTED]:yyy
  # PORTAGE_ELOG_JABBERTO=[EMAIL PROTECTED] 
 
  so a bug in elog-system of portage and/or
  app-portage/portage-mod_jabber?
 
  why suddenly?
 
  -
 
  thx

 some system/world update changed a lib?

 I had similar problems a while ago (different apps, segfaults everywhere).
 revdep-rebuilt solved them.
 --
 [EMAIL PROTECTED] mailing list




Re: [gentoo-user] Easy way to know its public IP address

2007-10-11 Thread Ricardo Saffi Marques
Deat Marc,

You may try to do something like this:

 lynx -dump http://www.whatismyip.org/


Sounds nice, huh?!

Regards,

Saffi


-- 
*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*

On 10/11/07, Marc LEURENT [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello everybody,
 I would like to know how is it possible to quickly know its public IP
 address behind a NAT from the console...
 I'm using links + a My IP search but it sucks

 Thanks,

 Best Regards

 PS: And an easy way to test the type of NAT??
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.7 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFHDhpjqjpLE0HiOBYRAua2AJ9JBXfEo+iC45Br2dGjjFtCcXrsUgCgmJob
 nDlNKWRLdg9LEfeVTD4Erek=
 =vCPv
 -END PGP SIGNATURE-
 --
 [EMAIL PROTECTED] mailing list




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 systembash?
 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


-- 
bRicardo Saffi Marques/b
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
iCell:/i +55 (19) 8128-0435
iSkype:/i ricardo_saffi_marques
iWebsite:/i uhttp://www.rsaffi.com/u


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

2007-10-09 Thread Ricardo Saffi Marques
Hello fellows. I'm new to the mailling list, though I'm not really new to
linux nor Gentoo. I'm a 21 year old Brazilian and I'm currently being
trained by the actual admin of the lab I work (see signature) to become the
new admin. The lab (www.las.ic.unicamp.br) hosts a project named Tutoo,
which is a Gentoo-based distribution. We're also Gentoo official-mirror.

My first question is whether any of you can please help me with this issue:
http://forums.gentoo.org/viewtopic-p-4347959.html
I'm really sorry for the inconvenience.

Regards,

Saffi

-- 
*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*