Re: [gentoo-ppc-user] hda/hdc

2007-01-15 Thread Michael Hanselmann
Hello Randy

On Sun, Jan 14, 2007 at 09:54:23PM -0500, Randy Barlow wrote:
 is there a way to see what the dmesg was for a kernel that didn't
 finish booting due to a kernel panic?

Yes, netconsole as described in Documentation/networking/netconsole.txt.

Greets,
Michael

-- 
Gentoo Linux developer, http://hansmi.ch/, http://forkbomb.ch/


pgpixy84offwz.pgp
Description: PGP signature


Re: [gentoo-ppc-user] hda/hdc

2007-01-15 Thread Randy Barlow
On Mon, 2007-01-15 at 11:03 +0100, Michael Hanselmann wrote:
 Yes, netconsole as described in Documentation/networking/netconsole.txt.

OK - now I'm really baffled - I've tried again but this time I used
genkernel.  However, even the genkerneled kernel can't seem to detect my
hard drive!  This time I was allowed to drop to a shell and the only hd*
was hda, my cdrom.  The thing that's killing me is that the gentoo boot
cd is obviously able to do it, and I even copied the config from that cd
over as per the genkernel instructions, still to no avail.

Nathan, you mentioned having just installed on a bluewhite - I assume
that these machines are enough similar that the config that you used
should be good enough to work for me too - do you think you could send
me your .config off list so I can try that out?

Randy Barlow
http://www.electronsweatshop.com
The most remarkable thing about my mother is that for thirty years she
served the family nothing but leftovers. The original meal has never
been found. -- Calvin Trillin

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



Re: [gentoo-ppc-user] hda/hdc

2007-01-15 Thread Randy Barlow
On Mon, 2007-01-15 at 11:37 -0500, Randy Barlow wrote:
 OK - now I'm really baffled - I've tried again but this time I used
 genkernel.  However, even the genkerneled kernel can't seem to detect my
 hard drive!  This time I was allowed to drop to a shell and the only hd*
 was hda, my cdrom.  The thing that's killing me is that the gentoo boot
 cd is obviously able to do it, and I even copied the config from that cd
 over as per the genkernel instructions, still to no avail.

Here is another clue that may be found to be interesting by you ppcers -
when I boot into the live CD and dmesg, hdc (hard drive) is the last
thing to be discovered, and of course happens right after the IDE
interface is discovered.  I'm wondering why it takes the boot process so
long to see my IDE controller...

Randy Barlow
http://www.electronsweatshop.com
The most remarkable thing about my mother is that for thirty years she
served the family nothing but leftovers. The original meal has never
been found. -- Calvin Trillin

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



Re: [gentoo-ppc-user] hda/hdc

2007-01-15 Thread Michael Hanselmann
Hello Randy

On Mon, Jan 15, 2007 at 11:37:25AM -0500, Randy Barlow wrote:
 OK - now I'm really baffled - I've tried again but this time I used
 genkernel.  However, even the genkerneled kernel can't seem to detect my
 hard drive!  This time I was allowed to drop to a shell and the only hd*
 was hda, my cdrom.

Can you please post the kernel output, which you gather using
netconsole, on an http server? I guess your kernel is missing some
option, but I'm not sure which. Did you only check /dev/hd* or also what
dmesg said?

 The thing that's killing me is that the gentoo boot cd is obviously
 able to do it, and I even copied the config from that cd over as per
 the genkernel instructions, still to no avail.

You copied the actually running config from /proc/config.gz?

Greets,
Michael

-- 
Gentoo Linux developer, http://hansmi.ch/, http://forkbomb.ch/


pgpKoPuFHS7d8.pgp
Description: PGP signature


Re: [gentoo-ppc-user] hda/hdc

2007-01-15 Thread Randy Barlow
On Mon, 2007-01-15 at 18:57 +0100, Michael Hanselmann wrote:
 Can you please post the kernel output, which you gather using
 netconsole, on an http server? I guess your kernel is missing some
 option, but I'm not sure which. Did you only check /dev/hd* or also what
 dmesg said?

I think I may have found the problem -- CMD646!  It turns out that I
had not enabled support for the IDE interface in the kernel.  The lspci
output was kind of obscure in helping me with this, but the dmesg of the
live CD gave me the clue!  Thanks to Michael and to Nathan for your
help!  I am now inside a shiny new ppc environment on my shiny old G3 :)

 You copied the actually running config from /proc/config.gz?

Indeed.  Thanks for your help!

Randy Barlow
http://www.electronsweatshop.com
The most remarkable thing about my mother is that for thirty years she
served the family nothing but leftovers. The original meal has never
been found. -- Calvin Trillin

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



Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Daniel Pielmeier

Hmmm, me either.  I'm not sure about what it would be called.  Do you
have gkrellm installed?  Sometimes I use it to see where the traffic
is.  That is how I knew it was iptables in my other thread.  The data
was getting there because gkrellm was seeing it but my system was not.
No clue how one can see it and the other can't though.


no i did not use gkrellm, i am just seting up the new desktop machine
no X until now, i want to do the basics first!
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Asus F3JV AS022P installation tips

2007-01-15 Thread Jakob

Hi,

maybe someone would be glad if you post your experiences on the gentoo-wiki.com.
I did this for mine (F3JM) its far from beeing complete til now, but
maybe it helps someone.


On 1/14/07, Mihamina Rakotomandimby (R12y)
[EMAIL PROTECTED] wrote:

Hi,
For people intending to buy an Asus F3JV-x:
http://www.asso-polyvalente.fr/workspaces/members/mihamina/public/asus-f3jv-as022p
Cheers

--
gentoo-user@gentoo.org mailing list



--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Setting up a home router

2007-01-15 Thread Nelson, David \(ED, PARD\)
 -Original Message-
 From: Daniel Pielmeier [mailto:[EMAIL PROTECTED]
 Sent: 14 January 2007 19:27
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Setting up a home router
 
 I can't ping from the desktop to the internet.
 ping www.gentoo.org
 PING www.gentoo.org (38.99.64.202) 56(84) bytes of data.
 
 --- www.gentoo.org ping statistics ---
 13 packets transmitted, 0 received, 100% packet loss, time 11999ms
 

I would check that you have done:

echo 1  /proc/sys/net/ipv4/ip_forward

Also make sure ICMP isn't blocked anywhere.

David

Note: These views are my own, advice is provided with no guarantee of success. 
I do not represent anyone else in any emails I send to this list.
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can no longer switch to a VT - OT

2007-01-15 Thread Gabriel Rossetti



Benno Schulenberg wrote:

Gabriel Rossetti wrote:
  

have the same problem
as with Gnome, still can[not] switch to a VT...

If I open a term and try the usual Ctrl + Alt + F1 to F7 key
combination I get :

PQRS;7~;7~;7~



First: stop top-posting.

  A: Because it messes up the order in which people read text.
  Q: Why is top-posting such a bad thing?
  A: Top-posting.
  Q: What is the most annoying thing on mailing lists?

Second: re-emerge xf86-input-keyboard, xkeyboard-config, and 
xkbcomp.  Then restart X.


If then it still doesn't work, show the output of 
'setxkbmap -print' and 'emerge --info'.


Benno
  


Ok, it worked great! Thanks Benno and all the rest for your 
help/suggestions!


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



Re: [gentoo-user] Asus F3JV AS022P installation tips

2007-01-15 Thread Jakob

On 1/15/07, Nelson, David (ED, PARD) [EMAIL PROTECTED] wrote:

 -Original Message-
 From: Mihamina Rakotomandimby (R12y)
 [mailto:[EMAIL PROTECTED]
 Sent: 14 January 2007 18:25
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Asus F3JV AS022P installation tips


 Hi,
 For people intending to buy an Asus F3JV-x:
 http://www.asso-polyvalente.fr/workspaces/members/mihamina/pub
 lic/asus-f3jv-as022p
 Cheers


Could you possibly add that info to the Gentoo Wiki? Slightly more
accessable there, and of course you could cite your site (pun not
intended) as the source.

David

Note: These views are my own, advice is provided with no guarantee of
success. I do not represent anyone else in any emails I send to this
list.

--
gentoo-user@gentoo.org mailing list



hehe same thoughts at the same time :-)
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Daniel Pielmeier

I would check that you have done:

echo 1  /proc/sys/net/ipv4/ip_forward


I think this is set, but i will check again.


Also make sure ICMP isn't blocked anywhere.


I have only blocked ping from the internet to the firewall and nowhere else.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-15 Thread Jakob

On 1/15/07, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:

On Sunday 14 January 2007 19:08, Iván Pérez Domínguez
[EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Telling
emerge to continue when something goes wrong':
 Boyd Stephen Smith Jr. wrote:
  I've also attached a longer system update script that I use, for
  reference.

 I've been taking a look at the script. I wonder why using emerge --sync
 at the beginning and update-eix at the end instead of an eix-sync.

I want the information returned by eix after the script completes to take
into account the package updates that may occur during the portage or
world updates.  I also want those updates to take into account the most
recent portage tree.  So, I need a sync operation before the updates and a
eix-update after them.  Thus, I can't combine the two operations into a
single eix-sync.

--
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh




Hi,
have a look at this
http://www.gentoolinux.org/news/en/gwn/20061204-newsletter.xml section
3, maybe its what you want or you could modify it to suit  your needs.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] How can I emerge a program with debugging options?

2007-01-15 Thread qfpvajdy
Hello,



I would like to emerge a program with debugging options CFLAGS=-g and without 
strip at the end of the build.

I know that I could do this:

$ export CFLAGS=-g; emerge mypackage



But then it strip at the end the binary file (/usr/bin/strip) and I loss my 
debugging symbols in the binary file of the package.



Does somebody knows how I could do this by an easy way?

I had already the idea to rename the program /usr/bin/strip in 
/usr/bin/strip.old, but this is a little ugly! :-)


-- 
E-Mail sent with anti-spam site TrashMail.net!
Free disposable email addresses: http://www.trashmail.net/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How can I emerge a program with debugging options?

2007-01-15 Thread Dirk Heinrichs
Am Montag, 15. Januar 2007 10:13 schrieb ext qfpvajdy:

 I would like to emerge a program with debugging options CFLAGS=-g and
 without strip at the end of the build. I know that I could do this:
 $ export CFLAGS=-g; emerge mypackage

 But then it strip at the end the binary file (/usr/bin/strip) and I loss
 my debugging symbols in the binary file of the package.

 Does somebody knows how I could do this by an easy way?

Put FEATURES=nostrip into /etc/make.conf.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpAVKPpfReoq.pgp
Description: PGP signature


[gentoo-user] no Affix bluetooth protocol stack on gentoo?

2007-01-15 Thread Gabriel Rossetti

Hello,

is there a reason (other than no one having created an ebuild) that
the Affix bluetooth protocol stack is not in portage? I know there
is Bluez, but it seams not to work as well with symbian os based
smartphones.

Thank you,
Gabriel

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How can I emerge a program with debugging options?

2007-01-15 Thread Michal 'vorner' Vaner
Hello

On Mon, Jan 15, 2007 at 10:13:46AM +0100, qfpvajdy wrote:
 Does somebody knows how I could do this by an easy way?
 I had already the idea to rename the program /usr/bin/strip in 
 /usr/bin/strip.old, but this is a little ugly! :-)

Have a look at man make.conf, there are many nice options, one of them,
if I remember correctly, was nostrip.

-- 
This email was generated by a biological random generator.
If you want more random text, just respond to this email.

Michal vorner Vaner


pgpyWfxmj0jQn.pgp
Description: PGP signature


Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-15 Thread Ivan Perez

2007/1/15, Jakob [EMAIL PROTECTED]:


On 1/15/07, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote:
 On Sunday 14 January 2007 19:08, Iván Pérez Domínguez
 [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] Telling
Hi,
have a look at this
http://www.gentoolinux.org/news/en/gwn/20061204-newsletter.xml section
3, maybe its what you want or you could modify it to suit  your needs.



Nice : ) I'll use that script from now on.

--

gentoo-user@gentoo.org mailing list




Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Daniel Iliev
Daniel Pielmeier wrote:
 I would check that you have done:

 echo 1  /proc/sys/net/ipv4/ip_forward

 I think this is set, but i will check again.

 Also make sure ICMP isn't blocked anywhere.

 I have only blocked ping from the internet to the firewall and nowhere
 else.


Send the output from iptables-save, please. Otherwise we could only
guess if the problem is with your firewall rules or somewhere else.

-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How can I emerge a program with debugging options?

2007-01-15 Thread Pawel Kraszewski
Dnia poniedziałek, 15 stycznia 2007 10:13, qfpvajdy napisał:
 Hello,

 I would like to emerge a program with debugging options CFLAGS=-g and
 without strip at the end of the build. I know that I could do this:
 $ export CFLAGS=-g; emerge mypackage

Take a look at:

http://www.gentoo.org/proj/en/qa/backtraces.xml


P.S.  Pls. correct your signature separator. It should be 
dash-dash-SPACE-enter. You have just dash-dash-enter.

-- 
 Pawel Kraszewski
 www.kraszewscy.net

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Daniel Pielmeier

Send the output from iptables-save, please. Otherwise we could only
guess if the problem is with your firewall rules or somewhere else.


Ok, i will do that when i am back home. i thought the output from
iptables -L in my original post was enough.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Hans-Werner Hilse
Hi,

On Sun, 14 Jan 2007 20:27:11 +0100 Daniel Pielmeier
[EMAIL PROTECTED] wrote:

 I can connect from the router to the internet.
 I can log in from the router to the desktop per ssh and back.
 I have set up an rsync on the router and rsync works from the desktop.
 I have set up dnsmasq on the server and dns is working on the desktop.
 I can ping between router and desktop and from the router to the
 internet
 [...]
 I can't ping from the desktop to the internet.

OK, so forwarding is broken.

 route
 
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric Ref Use Iface
 dslb-088-067-01 *   255.255.255.255 UH0  00  ppp0 
 localhost   *   255.255.255.0   U 0  00  eth0
 loopback*   255.0.0.0   U 0  00  lo
 default dslb-088-067-01 0.0.0.0 UG0  00  ppp0

Looking at this, I wouldn't even expect it to work at all, since the
only route via eth0 is for localhost. But since you can connect
between router and desktop, I think you borked your /etc/hosts.
localhost clearly doesn't seem to be assigned to 127.0.0.1. So fix
your hostnames!


This here:

 /etc/hosts
 
 127.0.0.1   localhost
 192.168.0.1 gentoo-vdr.linux gentoo-vdr
 192.168.0.2 gentoo.linux gentoo
 ::1 localhost

just can't be true if the routes above are the complete routes and you
can connect to your desktop from the router.

Another option than /etc/hosts may be a seriously broken dnsmasq config.

  For those who are not familiar with shorewall here are the
  generated iptables on the router.
 
 iptables -L -t filter
 
 Chain FORWARD (policy DROP)
 target prot opt source   destination

Empty FORWARD chain and policy DROP means everything not going to the
router itself is gonna be dropped.

Note that you made yourself a hard time since there's DROP and REJECT
(built-in targets) and you also reference Drop, drop, Reject and
reject targets. I never used shorewall, but if that naming is from
them, they are clearly freaks.

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



Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Daniel Pielmeier

 route

 Kernel IP routing table
 Destination Gateway Genmask Flags Metric Ref Use Iface
 dslb-088-067-01 *   255.255.255.255 UH0  00  ppp0
 localhost   *   255.255.255.0   U 0  00  eth0
 loopback*   255.0.0.0   U 0  00  lo
 default dslb-088-067-01 0.0.0.0 UG0  00  ppp0

Looking at this, I wouldn't even expect it to work at all, since the
only route via eth0 is for localhost. But since you can connect
between router and desktop, I think you borked your /etc/hosts.
localhost clearly doesn't seem to be assigned to 127.0.0.1. So fix
your hostnames!


This here:

 /etc/hosts

 127.0.0.1   localhost
 192.168.0.1 gentoo-vdr.linux gentoo-vdr
 192.168.0.2 gentoo.linux gentoo
 ::1 localhost


I think localhost is assigned to 127.0.0.1, or did i misunderstood something?


just can't be true if the routes above are the complete routes and you
can connect to your desktop from the router.


I can connect from router to desktop and back ping and ssh are
working, i can connect to the internet from the router, but i couldn't
do this from the desktop


Another option than /etc/hosts may be a seriously broken dnsmasq config.


I will post the config when i am back.


  For those who are not familiar with shorewall here are the
  generated iptables on the router.

 iptables -L -t filter

 Chain FORWARD (policy DROP)
 target prot opt source   destination

Empty FORWARD chain and policy DROP means everything not going to the
router itself is gonna be dropped.

Note that you made yourself a hard time since there's DROP and REJECT
(built-in targets) and you also reference Drop, drop, Reject and
reject targets. I never used shorewall, but if that naming is from
them, they are clearly freaks.


the whole iptables config is generated by shorewall, i recognised this
different namings too.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Hans-Werner Hilse
Hi,

On Mon, 15 Jan 2007 11:45:13 +0100 Daniel Pielmeier
[EMAIL PROTECTED] wrote:

  This here:
 
   /etc/hosts
  
   127.0.0.1   localhost
   192.168.0.1 gentoo-vdr.linux gentoo-vdr
   192.168.0.2 gentoo.linux gentoo
   ::1 localhost
 
 I think localhost is assigned to 127.0.0.1, or did i misunderstood
 something?

No, that's (usually) correct. But in the route excerpt you've cited
above (please post route -n next time!) the route for localhost was
set to dev eth0. Also, the subnet was a /24 one, instead of the
usual /8 for localhost. So there's some inconsistency between that file
and the routes. The /etc/hosts you've shown looks good, please post
dnsmasq's config.

 the whole iptables config is generated by shorewall, i recognised this
 different namings too.

Hm, OK, you're sure the tables were empty and Gentoo's iptables save
feature doesn't somehow get in your way? But anyway, the NAT/forwarding
can't work for the reason I mentioned (empty FORWARD chain and DROP
policy).

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



Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Daniel Pielmeier

 I think localhost is assigned to 127.0.0.1, or did i misunderstood
 something?

No, that's (usually) correct. But in the route excerpt you've cited
above (please post route -n next time!) the route for localhost was
set to dev eth0. Also, the subnet was a /24 one, instead of the
usual /8 for localhost. So there's some inconsistency between that file
and the routes. The /etc/hosts you've shown looks good, please post
dnsmasq's config.


I will do that in the evening


 the whole iptables config is generated by shorewall, i recognised this
 different namings too.

Hm, OK, you're sure the tables were empty and Gentoo's iptables save
feature doesn't somehow get in your way? But anyway, the NAT/forwarding
can't work for the reason I mentioned (empty FORWARD chain and DROP
policy).


Yes i think they were empty, when i stop shorewall iptables -L just
gives me empty tables. Also i never used iptables directly.
--
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Problem with kernel 2.6.18-r6

2007-01-15 Thread Nelson, David \(ED, PARD\)
 -Original Message-
 From: Iván Pérez Domínguez [mailto:[EMAIL PROTECTED]
 Sent: 14 January 2007 23:28
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Problem with kernel 2.6.18-r6
 
 
 Hi there.
 
 I'm having a problem with kernel 2.6.18-r6. My laptop hangs 
 during boot,
 right after detecting the mouse and the keyboard. it doesn't matter
 whether I enable initrd or not, dies anyway. No kernel panic, no oops
 messages, it simply freezes.
 
 The funny thing is that sometimes it keeps running a little more
 (detects the hard disk, sometimes even the dvd drive), and 1 in 100
 times, everything works fine and it boots normally.
 
 I'm currently running kernel 2.6.13 and everything works fine (despite
 the things that need 2.6.13 to work).
 
 I attach my kernel config, maybe someone knows what I'm doing wrong.
 
 Cheers,
 
   Ivan
 

Can you check dmesg from when it manages to boot? Not sure, but there may be 
some clues in there.

David
Note: These views are my own, advice is provided with no guarantee of success. 
I do not represent anyone else in any emails I send to this list.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags and configure-time problems

2007-01-15 Thread Bo Ørsted Andresen
On Sunday 14 January 2007 20:10, Iván Pérez Domínguez wrote:
 I understand why this happend, and I know how to solve it.

 My point is: should the RDEPEND and DEPEND syntax in ebuilds be changed
 so that this kind of problems can be detected before emerging?

https://bugs.gentoo.org/show_bug.cgi?id=2272

USE deps have been discussed many times on the gentoo-dev@ mailing list so 
search the archives if you want to know more about it. The syntax has been 
agreed on (cate-gory/pkg:use) but it still hasn't been implemented in 
portage. AFAIK zmedico plans to implement it in portage-2.1.3 when 2.1.2 has 
been stabilized.

Even after it has been implemented it won't be possible to use it in the tree 
without an EAPI bump. This is to avoid people who haven't yet upgraded 
portage from getting weird problems because it doesn't understand the 
syntax... Before the EAPI can be bumped to a newer version, the current 
version needs to be defined. spb is working on that now but it still needs to 
be agreed on...

-- 
Bo Andresen


pgpbXN4PfndLx.pgp
Description: PGP signature


Re: [gentoo-user] USE flags and configure-time problems

2007-01-15 Thread Bo Ørsted Andresen
On Monday 15 January 2007 13:12, Bo Ørsted Andresen wrote:
 The syntax has been
 agreed on (cate-gory/pkg:use)

Bugger! That's for slot deps (cate-gory/pkg:slot). I meant 
cate-gory/pkg[use]... At least I think they agreed...

-- 
Bo Andresen


pgpi2uStOgtlb.pgp
Description: PGP signature


Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-15 Thread Bo Ørsted Andresen
On Monday 15 January 2007 02:36, Boyd Stephen Smith Jr. wrote:
  I've been taking a look at the script. I wonder why using emerge --sync
  at the beginning and update-eix at the end instead of an eix-sync.

 I want the information returned by eix after the script completes to take
 into account the package updates that may occur during the portage or
 world updates.  I also want those updates to take into account the most
 recent portage tree.  So, I need a sync operation before the updates and a
 eix-update after them.  Thus, I can't combine the two operations into a
 single eix-sync.

Hmm.. maybe you think eix behaves like esearch. eix always looks in the vdb so 
whether you run update-eix before or after an upgrade is irrelevant..

-- 
Bo Andresen


pgpPW87EFDrDZ.pgp
Description: PGP signature


Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-15 Thread Boyd Stephen Smith Jr.
On Monday 15 January 2007 06:34, Bo Ørsted Andresen [EMAIL PROTECTED] 
wrote about 'Re: [gentoo-user] Telling emerge to continue when something 
goes wrong':
 Hmm.. maybe you think eix behaves like esearch. eix always looks in the
 vdb so whether you run update-eix before or after an upgrade is
 irrelevant..

I've confused myself more than once because eix lied to me.  This does 
seem to be fixed in my current version, so I may update my script.  Thanks 
for the pointer.

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgppnumuNQ2VR.pgp
Description: PGP signature


Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-15 Thread Bo Ørsted Andresen
On Monday 15 January 2007 13:56, Boyd Stephen Smith Jr. wrote:
  Hmm.. maybe you think eix behaves like esearch. eix always looks in the
  vdb so whether you run update-eix before or after an upgrade is
  irrelevant..

 I've confused myself more than once because eix lied to me.  This does
 seem to be fixed in my current version, so I may update my script.  Thanks
 for the pointer.

I see. I've never experienced that but either way eix-sync isn't just a sync 
and an update-eix. It runs diff-eix and might run update-eix before the sync. 
If you don't care about diff-eix using eix-sync hence isn't exactly an 
optimization. So it's not like there's any actual drawback to running 
update-eix last. ;)

-- 
Bo Andresen


pgpDXoJSrTOoj.pgp
Description: PGP signature


[gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Vlad Dogaru

Hello,

Browsing getoo-wiki.com for an image viewer, I only found Gthumb, which
depends on GNOME. I use Fluxbox because I have an older computer and would
like to keep dependencies at a minimum. Any suggestions? I only need a
viewer; organising my pictures is not a plus. No exotic formats, just jpeg,
gif and the usual.

Thanks in advance,
Vlad


Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Ryan Crisman

You can try the Linux version of Google Picasa
http://picasa.google.com/linux/  May not be as minimal as you would like but
it works.  And they are not listing an dependencies.

On 1/15/07, Vlad Dogaru [EMAIL PROTECTED] wrote:


Hello,

Browsing getoo-wiki.com for an image viewer, I only found Gthumb, which
depends on GNOME. I use Fluxbox because I have an older computer and would
like to keep dependencies at a minimum. Any suggestions? I only need a
viewer; organising my pictures is not a plus. No exotic formats, just jpeg,
gif and the usual.

Thanks in advance,
Vlad





--
Ryan Crisman


Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Daniel Pielmeier

Browsing getoo-wiki.com for an image viewer, I only found Gthumb, which
depends on GNOME. I use Fluxbox because I have an older computer and would
like to keep dependencies at a minimum. Any suggestions? I only need a
viewer; organising my pictures is not a plus. No exotic formats, just jpeg,
gif and the usual.


give xnview a try it has not that much dependencies, just X and a few
other. i think this is because it is a binary package.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Roberto Martinez

On Mon, 15 Jan 2007 07:16:02 -0600, Vlad Dogaru [EMAIL PROTECTED] wrote:


Hello,

Browsing getoo-wiki.com for an image viewer, I only found Gthumb, which
depends on GNOME. I use Fluxbox because I have an older computer and  
would

like to keep dependencies at a minimum. Any suggestions? I only need a
viewer; organising my pictures is not a plus. No exotic formats, just  
jpeg,

gif and the usual.

Thanks in advance,
Vlad


Try http://gentoo-portage.com/Search?search=image+viewer theres a lot more  
than just one ...



--
There is no god but yourself... amen ...

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Albert Hopkins
On Mon, 2007-01-15 at 15:16 +0200, Vlad Dogaru wrote:
 Hello,
 
 Browsing getoo-wiki.com for an image viewer, I only found Gthumb,
 which depends on GNOME. I use Fluxbox because I have an older computer
 and would like to keep dependencies at a minimum. Any suggestions? I
 only need a viewer; organising my pictures is not a plus. No exotic
 formats, just jpeg, gif and the usual. 

media-gfx/gqview is a good image viewer/manipulator and only requires
GTK.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Kent Fredric

On 1/16/07, Vlad Dogaru [EMAIL PROTECTED] wrote:

Hello,

Browsing getoo-wiki.com for an image viewer, I only found Gthumb, which
depends on GNOME. I use Fluxbox because I have an older computer and would
like to keep dependencies at a minimum. Any suggestions? I only need a
viewer; organising my pictures is not a plus. No exotic formats, just jpeg,
gif and the usual.

Thanks in advance,
Vlad



Tools i usually rely on are
* feh  :  uses imlib ( brags to be the fastest ) , very lightweight in
use, but an insane collection of features if you read the man pages to
see the extra tricks it can perform
* gliv :uses opengl  and gtk , making it awesome for viewing some of
those larger images using the fast and quality scaling algos of your
GPU
*fbi : ( media-gfx/fbida) which is great for viewing images when you
cant be bothered cracking open X
* anytopnm + aview : for days your feeling geeky and need to display
images in a textual representation ( black and white )
* cacaview : for days you want to demostrate how much free time geeks
have and nothing else feels like working cos your stuck on a windows
box with PUTTY.

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



Re: [gentoo-user] usb scanner HP2200c

2007-01-15 Thread Dan
On Sun, 14 Jan 2007 20:11:46 +
Neil Bothwick [EMAIL PROTECTED] wrote:

 On Sun, 14 Jan 2007 10:04:14 -0600, Dan wrote:
 
  here's the output from the system log, i use metalog so
  that's /var/log/everything/current.
  
   Jan 14 10:02:02 [kernel] usb 2-1:
  USB disconnect, address 2 Jan 14 10:02:08 [kernel] ohci_hcd
  :00:02.0: wakeup Jan 14 10:02:08 [kernel] usb 2-4: new full
  speed USB device using ohci_hcd and address 3 Jan 14 10:02:09
  [kernel] usb 2-4: configuration #1 chosen from 1 choice
  
  dmesg: 
  
  usb 2-1: USB disconnect, address 2
  ohci_hcd :00:02.0: wakeup
  usb 2-4: new full speed USB device using ohci_hcd and address 3
  usb 2-4: configuration #1 chosen from 1 choice
 
 That's it? There would normally be several lines after that showing
 the device's identification.
 
 
perhaps in another log somewhere, but i use the niash drivers and they
don't have configuration options, they might be a little quieter than
yours.  
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kent Fredric wrote:
 * cacaview : for days you want to demostrate how much free time geeks
 have and nothing else feels like working cos your stuck on a windows
 box with PUTTY.

Those sexy ascii boobs... :P

Anyway, off-the-record, caca is the Argentinian (and latin-american, 
probably) jargon word for...
well, sh*t.. :)

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
¿No sabés a dónde ir a comer o tomar algo? Visitá www.vivamoslavida.com.ar

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

iD8DBQFFq6GdAlpOsGhXcE0RAqMyAJ0UFJFdP1rrh/tmKfmXMCm/OA1MCACfaPUB
62MYY1rYCfDQ+IMF1iiim+U=
=FxhS
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can no longer switch to a VT - OT

2007-01-15 Thread Allan Gottlieb
At Mon, 15 Jan 2007 09:42:32 +0100 Gabriel Rossetti [EMAIL PROTECTED] wrote:

 Thank you for your replay Benno, I was not aware that Top-posting
 was a bad thing, since you can read the last msg first, which is to me
 better since I don't want to have to re-read/skip the whole history to read
 the last post.

This point has merit when it is a personal conversation between two
people.  Although I still bottom reply in those cases (or inline reply
as you would say), I can see why top replying is not so bad.
However, for mailing lists where there are many readers, a
number of whom have not been actively following the thread, bottom
posting is annoying.

Also I save some message from this group as reference to be read much
later if I encounter a similar problem.  Then bottom-posting is
considerably better.

thanks,
allan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Dotan Cohen

On 15/01/07, Arturo 'Buanzo' Busleiman [EMAIL PROTECTED] wrote:

 * cacaview : for days you want to demostrate how much free time geeks
 have and nothing else feels like working cos your stuck on a windows
 box with PUTTY.

Those sexy ascii boobs... :P

Anyway, off-the-record, caca is the Argentinian (and latin-american, 
probably) jargon word for...
well, sh*t.. :)



Andf now you know how pictures look when viewed with it. Have you ever
tried cacaview?

Dotan Cohen

http://what-is-what.com/what_is/phishing.html
http://lyricslist.com/lyrics/artist_albums/565/58.html
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Kent Fredric

On 1/16/07, Arturo 'Buanzo' Busleiman [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kent Fredric wrote:
 * cacaview : for days you want to demostrate how much free time geeks
 have and nothing else feels like working cos your stuck on a windows
 box with PUTTY.

Those sexy ascii boobs... :P

Anyway, off-the-record, caca is the Argentinian (and latin-american, 
probably) jargon word for...
well, sh*t.. :)


Lol. Thats about what most of the results look like, but its ok if
your desperate and need a general idea of what the image looks like,
and besides, it has zooom. And you've not lived until you've watched a
small video (cough cough) over a PUTTY terminal over long distance
using mplayer -vo caca. ;)

Look at the big pink blocks move!.


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



Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Daniel Pielmeier

Send the output from iptables-save, please. Otherwise we could only
guess if the problem is with your firewall rules or somewhere else.


Here we go!

# Generated by iptables-save v1.3.5 on Mon Jan 15 19:09:43 2007
*mangle
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:tcfor - [0:0]
:tcout - [0:0]
:tcpost - [0:0]
:tcpre - [0:0]
-A PREROUTING -j tcpre
-A FORWARD -j tcfor
-A OUTPUT -j tcout
-A POSTROUTING -j tcpost
COMMIT
# Completed on Mon Jan 15 19:09:43 2007
# Generated by iptables-save v1.3.5 on Mon Jan 15 19:09:43 2007
*nat
:PREROUTING ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:ppp0_masq - [0:0]
-A POSTROUTING -o ppp0 -j ppp0_masq
-A ppp0_masq -s 192.168.0.0/255.255.255.0 -m policy --dir out --pol
none -j MASQUERADE
COMMIT
# Completed on Mon Jan 15 19:09:43 2007
# Generated by iptables-save v1.3.5 on Mon Jan 15 19:09:43 2007
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT DROP [0:0]
:Drop - [0:0]
:Reject - [0:0]
:all2all - [0:0]
:dropBcast - [0:0]
:dropInvalid - [0:0]
:dropNotSyn - [0:0]
:dynamic - [0:0]
:eth0_fwd - [0:0]
:eth0_in - [0:0]
:fw2all - [0:0]
:fw2loc - [0:0]
:fw2net - [0:0]
:loc2all - [0:0]
:loc2fw - [0:0]
:loc2net - [0:0]
:loc_frwd - [0:0]
:logflags - [0:0]
:net2all - [0:0]
:net2fw - [0:0]
:net2loc - [0:0]
:net_frwd - [0:0]
:norfc1918 - [0:0]
:ppp0_fwd - [0:0]
:ppp0_in - [0:0]
:reject - [0:0]
:rfc1918 - [0:0]
:shorewall - [0:0]
:smurfs - [0:0]
:tcpflags - [0:0]
-A INPUT -i lo -j ACCEPT
-A INPUT -i ppp0 -j ppp0_in
-A INPUT -i eth0 -j eth0_in
-A INPUT -j Reject
-A INPUT -j LOG --log-prefix Shorewall:INPUT:REJECT: --log-level 6
-A INPUT -j reject
-A FORWARD -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
-A FORWARD -i ppp0 -j ppp0_fwd
-A FORWARD -i eth0 -j eth0_fwd
-A FORWARD -j Reject
-A FORWARD -j LOG --log-prefix Shorewall:FORWARD:REJECT: --log-level 6
-A FORWARD -j reject
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -o ppp0 -m policy --dir out --pol ipsec -j fw2net
-A OUTPUT -d 192.168.0.0/255.255.255.0 -o eth0 -m policy --dir out
--pol ipsec -j fw2loc
-A OUTPUT -d 255.255.255.255 -o eth0 -j fw2loc
-A OUTPUT -d 224.0.0.0/240.0.0.0 -o eth0 -j fw2loc
-A OUTPUT -j Reject
-A OUTPUT -j LOG --log-prefix Shorewall:OUTPUT:REJECT: --log-level 6
-A OUTPUT -j reject
-A Drop -p tcp -m tcp --dport 113 -j reject
-A Drop -j dropBcast
-A Drop -p icmp -m icmp --icmp-type 3/4 -j ACCEPT
-A Drop -p icmp -m icmp --icmp-type 11 -j ACCEPT
-A Drop -j dropInvalid
-A Drop -p udp -m multiport --dports 135,445 -j DROP
-A Drop -p udp -m udp --dport 137:139 -j DROP
-A Drop -p udp -m udp --sport 137 --dport 1024:65535 -j DROP
-A Drop -p tcp -m multiport --dports 135,139,445 -j DROP
-A Drop -p udp -m udp --dport 1900 -j DROP
-A Drop -p tcp -j dropNotSyn
-A Drop -p udp -m udp --sport 53 -j DROP
-A Reject -p tcp -m tcp --dport 113 -j reject
-A Reject -j dropBcast
-A Reject -p icmp -m icmp --icmp-type 3/4 -j ACCEPT
-A Reject -p icmp -m icmp --icmp-type 11 -j ACCEPT
-A Reject -j dropInvalid
-A Reject -p udp -m multiport --dports 135,445 -j reject
-A Reject -p udp -m udp --dport 137:139 -j reject
-A Reject -p udp -m udp --sport 137 --dport 1024:65535 -j reject
-A Reject -p tcp -m multiport --dports 135,139,445 -j reject
-A Reject -p udp -m udp --dport 1900 -j DROP
-A Reject -p tcp -j dropNotSyn
-A Reject -p udp -m udp --sport 53 -j DROP
-A all2all -m state --state RELATED,ESTABLISHED -j ACCEPT
-A all2all -j Reject
-A all2all -j LOG --log-prefix Shorewall:all2all:REJECT: --log-level 6
-A all2all -j reject
-A dropBcast -m pkttype --pkt-type broadcast -j DROP
-A dropBcast -m pkttype --pkt-type multicast -j DROP
-A dropInvalid -m state --state INVALID -j DROP
-A dropNotSyn -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -j DROP
-A eth0_fwd -m state --state INVALID,NEW -j dynamic
-A eth0_fwd -p tcp -m policy --dir in --pol none -j tcpflags
-A eth0_fwd -s 192.168.0.0/255.255.255.0 -m policy --dir in --pol
ipsec -j loc_frwd
-A eth0_in -m state --state INVALID,NEW -j dynamic
-A eth0_in -p tcp -m policy --dir in --pol none -j tcpflags
-A eth0_in -s 192.168.0.0/255.255.255.0 -m policy --dir in --pol ipsec
-j loc2fw
-A fw2all -m state --state RELATED,ESTABLISHED -j ACCEPT
-A fw2all -j Reject
-A fw2all -j LOG --log-prefix Shorewall:fw2all:REJECT: --log-level 6
-A fw2all -j reject
-A fw2loc -m state --state RELATED,ESTABLISHED -j ACCEPT
-A fw2loc -p tcp -m tcp --dport 22 -j ACCEPT
-A fw2loc -j Reject
-A fw2loc -j LOG --log-prefix Shorewall:fw2loc:REJECT: --log-level 6
-A fw2loc -j reject
-A fw2net -m state --state RELATED,ESTABLISHED -j ACCEPT
-A fw2net -j ACCEPT
-A loc2all -m state --state RELATED,ESTABLISHED -j ACCEPT
-A loc2all -j Reject
-A loc2all -j LOG --log-prefix Shorewall:loc2all:REJECT: --log-level 6
-A loc2all -j reject
-A loc2fw -m state --state RELATED,ESTABLISHED -j ACCEPT
-A loc2fw -p tcp -m tcp --dport 22 -j ACCEPT
-A loc2fw -p udp -m udp --dport 123 -j ACCEPT
-A loc2fw -j Reject
-A loc2fw -j LOG --log-prefix 

Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Daniel Pielmeier

 I think localhost is assigned to 127.0.0.1, or did i misunderstood
 something?

No, that's (usually) correct. But in the route excerpt you've cited
above (please post route -n next time!) the route for localhost was
set to dev eth0. Also, the subnet was a /24 one, instead of the
usual /8 for localhost. So there's some inconsistency between that file
and the routes. The /etc/hosts you've shown looks good, please post
dnsmasq's config.


Here are the files you have requested!

route -n on desktop

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   0.0.0.0 255.0.0.0   U 0  00 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG0  00 eth0

route -n on router

Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
88.67.16.1  0.0.0.0 255.255.255.255 UH0  00 ppp0
192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth0
127.0.0.0   0.0.0.0 255.0.0.0   U 0  00 lo
0.0.0.0 88.67.16.1  0.0.0.0 UG0  00 ppp0

dnsmasq.conf on router

# Configuration file for dnsmasq.
#
# Format is one option per line, legal options are the same
# as the long options legal on the command line. See
# /usr/sbin/dnsmasq --help or man 8 dnsmasq for details.

# The following two options make you a better netizen, since they
# tell dnsmasq to filter out queries which the public DNS cannot
# answer, and which load the servers (especially the root servers)
# uneccessarily. If you have a dial-on-demand link they also stop
# these requests from bringing up the link uneccessarily.

# Never forward plain names (without a dot or domain part)
domain-needed
# Never forward addresses in the non-routed address spaces.
bogus-priv


# Uncomment this to filter useless windows-originated DNS requests
# which can trigger dial-on-demand links needlessly.
# Note that (amongst other things) this blocks all SRV requests,
# so don't use it if you use eg Kerberos.
# This option only affects forwarding, SRV records originating for
# dnsmasq (via srv-host= lines) are not suppressed by it.
#filterwin2k

# Change this line if you want dns to get its upstream servers from
# somewhere other that /etc/resolv.conf
#resolv-file=

# By  default,  dnsmasq  will  send queries to any of the upstream
# servers it knows about and tries to favour servers to are  known
# to  be  up.  Uncommenting this forces dnsmasq to try each query
# with  each  server  strictly  in  the  order  they   appear   in
# /etc/resolv.conf
#strict-order

# If you don't want dnsmasq to read /etc/resolv.conf or any other
# file, getting its servers from this file instead (see below), then
# uncomment this
#no-resolv

# If you don't want dnsmasq to poll /etc/resolv.conf or other resolv
# files for changes and re-read them then uncomment this.
#no-poll

# Add other name servers here, with domain specs if they are for
# non-public domains.
#server=/localnet/192.168.0.1

# Add local-only domains here, queries in these domains are answered
# from /etc/hosts or DHCP only.
#local=/localnet/

# Add domains which you want to force to an IP address here.
# The example below send any host in doubleclick.net to a local
# webserver.
#address=/doubleclick.net/127.0.0.1

# If you want dnsmasq to change uid and gid to something other
# than the default, edit the following lines.
#user=
#group=

# If you want dnsmasq to listen for DHCP and DNS requests only on
# specified interfaces (and the loopback) give the name of the
# interface (eg eth0) here.
# Repeat the line for more than one interface.
interface=eth0
# Or you can specify which interface _not_ to listen on
#except-interface=
# Or which to listen on by address (remember to include 127.0.0.1 if
# you use this.)
#listen-address=
# If you want dnsmasq to provide only DNS service on an interface,
# configure it as shown above, and then use the following line to
# disable DHCP on it.
#no-dhcp-interface=

# On systems which support it, dnsmasq binds the wildcard address,
# even when it is listening on only some interfaces. It then discards
# requests that it shouldn't reply to. This has the advantage of
# working even when interfaces come and go and change address. If you
# want dnsmasq to really bind only the interfaces it is listening on,
# uncomment this option. About the only time you may need this is when
# running another nameserver on the same machine.
#bind-interfaces

# If you don't want dnsmasq to read /etc/hosts, uncomment the
# following line.
#no-hosts
# or if you want it to read another file, as well as /etc/hosts, use
# this.
#addn-hosts=/etc/banner_add_hosts

# Set this (and domain: see below) if you want to have a domain
# automatically added to simple names in a hosts-file.
#expand-hosts

# Set the 

[gentoo-user] Re: [Xen] How to set or bring up vif interfaces?

2007-01-15 Thread Sven Köhler
 I would like to have Xen to run unmodified OS (Windows, and some other
 Linuces). I know Linux may be ran Xen-aware, but the goal is to
 experiment some kernel packaging, so that I need to use the distribution
 kernel.
 I got the FC5 isos.
 I made a file /etc/xen/fc5-guest.cfg (see attached)
 But the problem is about vifX interfaces.
 Neither http://fr.gentoo-wiki.com/HOWTO_XEN#Windows_XP
 nor http://gentoo-wiki.com/HOWTO_Xen_and_Gentoo tells how to bring up
 such interface.
 In fact I dont see anywhere any documentation on how to setup networking
 for the need of Xen.


Actually, you just have to start xend, and it will setup xenbr0.
But i prefer, to setup xenbr0 manually, by myself. And that's the way i
do it, in /etc/conf.d/net:


bridge_xenbr0=eth0
config_xenbr0=(
a.b.c.d/24
)
routes_xenbr0=(
default via a.b.c.d
)
brctl_xenbr0=(
setfd 0
sethello 0
stp off
)

 When I run Xen, I have:
 
   asus ~ # xm create fc5-guest.cfg
   Using config file /etc/xen/fc5-guest.cfg.
   VNC= 3
   Error: Device 0 (vif) could not be connected. Hotplug 
   scripts not working.
 
 bridge-utils is already emerged.
 vnc is also emerged with USE=server
 
 What didi I do wrong?

Do you have the necessary backend-driver in your dom0 kernel?
Please check CONFIG_XEN_NETDEV_BACKEND.


 
 
 kernel = /usr/lib64/xen/boot/hvmloader
 builder='hvm'
 memory = 512
 name = fc5-guest
 vcpus=1
 vif = [ 'bridge=xenbr0' ]
 disk = 
 ['phy:/dev/sda5,ioemu:hda,w','file:/home/mihamina/downloads/isos/FC-5-i386-disc1.iso,hdc:cdrom,r']
 device_model ='/usr/lib64/xen/bin/qemu-dm'
 boot='d'
 vnc=1
 vncviewer=1
 serial='pty'
 ne2000=0

In my config, it reads:
vif = [ 'bridge=xenbr0' ]


So yes, your config should work.


Greetings,
  Sven



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Daniel Pielmeier

Another thing that makes me wonder is that the home router guide did
nothing mention about name_servers or gateways.

According to the guide this line seems to be enough:

config_eth0=( 192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0 )

But without the routes setting i get network unreachable when i try to ping:
routes_eth0=(default via 192.168.0.1)

and without the dns_servers setting the ip adresses are not resolved:
dns_servers_eth0=(192.168.0.1 )

I have also seen the gateways setting on my searches, what is the
right one routes or gateway or what is the difference.
gateways_eth0=192.168.0.1
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USE flags and configure-time problems

2007-01-15 Thread Avaricen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Iván Pérez Domínguez wrote:
 Hi there.
 
  I just happend to emerge evince and, after half an hour got the
 following error:
 
 
 18:07:32 (44.99 KB/s) - `/usr/portage/distfiles/evince-0.6.1.tar.bz2'
 saved [1212271/1212271]
 
  * checking ebuild checksums ;-) ...
   [ ok ]
  * checking auxfile checksums ;-) ...
   [ ok ]
  * checking miscfile checksums ;-) ...
   [ ok ]
  * checking evince-0.6.1.tar.bz2 ;-) ...
   [ ok ]
  * Please re-emerge app-text/poppler-bindings with the gtk USE flag set
 
 !!! ERROR: app-text/evince-0.6.1 failed.
 Call stack:
   ebuild.sh, line 1626:   Called dyn_setup
   ebuild.sh, line 701:   Called qa_call 'pkg_setup'
   ebuild.sh, line 38:   Called pkg_setup
   evince-0.6.1.ebuild, line 67:   Called die
 
 !!! poppler-bindings needs gtk flag set
 !!! If you need support, post the topmost build error, and the call
 stack if relevant.
 
 
 I understand why this happend, and I know how to solve it.
 
 My point is: should the RDEPEND and DEPEND syntax in ebuilds be changed
 so that this kind of problems can be detected before emerging?
 
 Here's an example. Imagine program A depends on B, and if A is built
 with use flag dvi, then it depends on C to be built with use flag
 dvi2. The following could be A's DEPEND:
 
 DEPEND=dvi? ([dvi2 C])
 B
 
 This is just an example, and I'm sure there's a different syntax that
 could be more appropriate.
 
 What do you this of it?
 
 Is there any ongoing implementation to solve it in a different way?
 
 Cheers,
 
 Ivan.
Ivan, from my personal experience I find your advice to be highly
important. It would be beneficial to everyone if we knew the
dependencies before emerging from portage.I highly suggest sending a
message on gentoo-dev@gentoo.org (confirm this). I really do support this.

Best regards.

Avaricen

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

iD8DBQFFq9oFQHQy/61tbpYRAiKGAJ4n+wmarim7SjQpG3PWEZaQXkUwAgCfZLz6
8Iig49rBTs/aCnbJpMGYXJ8=
=zOBE
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Vlad Dogaru

On 1/15/07, Michal 'vorner' Vaner [EMAIL PROTECTED] wrote:


On Mon, Jan 15, 2007 at 03:16:02PM +0200, Vlad Dogaru wrote:
 Hello,

 Browsing getoo-wiki.com for an image viewer, I only found Gthumb, which
 depends on GNOME. I use Fluxbox because I have an older computer and
would
 like to keep dependencies at a minimum. Any suggestions? I only need a
 viewer; organising my pictures is not a plus. No exotic formats, just
jpeg,
 gif and the usual.

How much minimalistic? xload image? Or gqview? (the second depends on
gtk, if I remember correctly)



Hi Michal,

Thanks for suggesting  gqview; I used it briefly when I had GNOME and liked
it, but forgot about it meanwhile. GTK is one of the few toolkits I can live
with (actually, the only), since I have this organic need for Gaim ;)

Cheers,
Vlad


[gentoo-user] logrotate won't rotate portage logs

2007-01-15 Thread Mick

Hi All,

I do not understand why the log files within /var/log/portage/ will
not rotate on my PC, while they rotate fine on my laptop.  The
/etc/logrotate.conf is the same on both boxen:
==
# rotate log files weekly
weekly
#daily

# keep 4 weeks worth of backlogs
rotate 4

# create new (empty) log files after rotating old ones
create

# uncomment this if you want your log files compressed
compress

# packages can drop log rotation information into this directory
include /etc/logrotate.d

notifempty
nomail
noolddir

[snip . . . ]

# when /var/log/portage gets big
/var/log/portage/*.log
{
   rotate 1
   weekly
   nocreate
   ifempty
   olddir /var/log/portage/old
   postrotate
find /var/log/portage/old -maxdepth 1 -mtime +30 -exec /bin/rm -f {} \;
   endscript
   nocompress
}
==

The only difference I noticed (other than the fact that I have two
year old portage log files in /var/log/portage) between the two boxen
is that the access rights of the 'old'  directory on the PC were:

drwxr-sr-x 2 rootroot  48 Dec 23  2005 old

while on the laptop which rotates without problems are:

drwx-- 2 rootroot  4256 Jan 13  11:20 old

This may be a bit of a red herring because even though I changed the
access rights as per the laptop, the PC still refuses to rotate the
portage log files.

Any ideas?  How do I troubleshoot this one?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Improvement Request for Install CD

2007-01-15 Thread Matthias Fechner
Hi Neil,

Neil Bothwick schrieb:
 File a request at http://bugs.gentoo.org

a thx is commited.

Bye
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Kent Fredric

On 1/16/07, b.n. [EMAIL PROTECTED] wrote:

why not use imagemagick's display command?


I believe that has an ugly menu which seems to think you want to edit the photo
--
Kent
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: 3D games on AMD64 + ati 1900

2007-01-15 Thread James
Martins mar at ml.lv writes:


  yes /usr/games/bin/bzflag

 # ./fglrxinfo
 display: :0.0  screen: 0
 OpenGL vendor string: ATI Technologies Inc.
 OpenGL renderer string: RADEON 9600 Generic
 OpenGL version string: 2.0.6234 (8.32.5)


Hello Martins,

I got glxgears running fine now (just under 2000 fps on aa full screen
(grin)

And bzflag stated up and ran with the mouse! (hurray).

but, I wanted to get the Logitech Extreme 3D  on this
amd64 system with bzflag, like in does on the intel laptop
(radeon 7500).


So I found some joystick option for xorg-server, but could
not set the joystick parameter for compiling via the 
file: /etc/portage/package.use. I has to set it in the
/etc/make.conf as:

INPUT_DEVICES=keyboard mouse joystick

then I issued these commands:
emerge xorg-x11

emerge xorg-server
emerge ati-drivers
modprobe fglrx
eselect opengl set ati
modules-update

and bzflag starts up, but  it did not fix make the joystick work.
The kernel is configured just like the intel laptop as far as usb
and input devices are concerned. Futthermore, not niether the 'i'
button or a right click of the mouse will allow the bzflag play 
to commence.


Any ideas?

James





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] can no longer switch to a VT - OT

2007-01-15 Thread Benno Schulenberg
Gabriel Rossetti wrote:
 Benno Schulenberg wrote:
  First: stop top-posting.

 I was not aware that
 Top-posting was a bad thing, since you can read the last msg
 first,

Sure, but then you have to spaghetti first down, then up, then maybe 
down again to read closer, up again...  Do you want to make people 
crazy?  :)

 which is to me better since I don't want to have to 
 re-read/skip the whole history to read the last post.

There's no need to skip the whole history when the person whose post 
you're reading has snipped well: only the relevant stuff is there.

 I do assume that you prefer Bottom-Posting,  from your reply's
 position. Is Inline-posting acceptable too?

Inline-posting is what's needed.  Just quoting the whole previous 
post and then adding your answer at the bottom is no good either: 
first snip everything that you're not reacting to.

Glad that the re-emerging worked, though.

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How can I emerge a program with debugging options?

2007-01-15 Thread Benno Schulenberg
qfpvajdy wrote:
 I would like to emerge a program with debugging options
 CFLAGS=-g and without strip at the end of the build.

You could define an alias.

# type dbgemerge
dbgemerge is aliased to `USE='debug' FEATURES='nostrip -test' 
CFLAGS='-ggdb -O1 -pipe' CXXFLAGS='-ggdb -O1 -pipe' LDFLAGS='-ggdb 
-nopie'  emerge --oneshot'

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Exclude package from emerge world ?

2007-01-15 Thread Jean-Baptiste Mestelan

Hello.

I am trying to emerge -uD world
and getting an error on  app-emulation/wine-20050930 (error stack is below,
if YOU can decipher it;).

wine- builds fine, but emerge world insists on building 20050930, and I
am not too sure why ? Probably some other package depends on 20050930, but
how can I check this ? (I might afford to unmerge this package, and do do
without it for the moment ...)

Or can I command emerge world  to exclude wine ?

Thanks for attention.
*



bison -d -t ./parser.y -o parser.tab.c
./parser.y:303.8-14: warning: symbol tSTRING redeclared
./parser.y:303.16-21: warning: symbol tIDENT redeclared
./parser.y:303.23-30: warning: symbol tRAWDATA redeclared
./parser.y: conflicts: 5 shift/reduce
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include
-I../../include  -DINCLUDEDIR=\/usr/include/wine\  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -O2 -march=i686 -pipe  -o
parser.tab.o parser.tab.c
flex -Cf  -d -8 ./parser.l
i686-pc-linux-gnu-gcc -c -I. -I. -I../../include
-I../../include  -DINCLUDEDIR=\/usr/include/wine\  -Wall -pipe
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wdeclaration-after-statement -Wpointer-arith  -O2 -march=i686 -pipe  -o
lex.yy.o lex.yy.c
lex.yy.c:9174: error: syntax error before numeric constant
lex.yy.c: In function `yy_scan_string':
lex.yy.c:9175: error: number of arguments doesn't match prototype
lex.yy.c:367: error: prototype declaration
lex.yy.c:9177: warning: passing arg 1 of `strlen' makes pointer from integer
without a cast
lex.yy.c:9177: warning: passing arg 1 of `yy_scan_bytes' makes pointer from
integer without a cast
./parser.l: At top level:
lex.yy.c:8687: warning: 'yyunput' defined but not used
lex.yy.c:9266: warning: 'yy_top_state' defined but not used
make[2]: *** [lex.yy.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/wine-20050930/work/wine-20050930/tools/wrc'
make[1]: *** [wrc] Error 2
make[1]: Leaving directory
`/var/tmp/portage/wine-20050930/work/wine-20050930/tools'
make: *** [tools] Error 2

!!! ERROR: app-emulation/wine-20050930 failed.
Call stack:
 ebuild.sh, line 1546:   Called dyn_compile
 ebuild.sh, line 937:   Called src_compile
 wine-20050930.ebuild, line 132:   Called die


Re: [gentoo-user] Exclude package from emerge world ?

2007-01-15 Thread Randy Barlow
On Mon, 2007-01-15 at 22:02 +, Jean-Baptiste Mestelan wrote:
 Probably some other package depends on 20050930, but how can I check
 this ?

You can check to see what package is pulling in wine using the --tree
command, such as

# emerge --update --deep --tree world -pv

Randy Barlow
http://www.electronsweatshop.com
The most remarkable thing about my mother is that for thirty years she
served the family nothing but leftovers. The original meal has never
been found. -- Calvin Trillin

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Looking for a minimalist image viewer / organizer

2007-01-15 Thread Vlad Dogaru

On 1/15/07, Kent Fredric [EMAIL PROTECTED] wrote:


On 1/16/07, Vlad Dogaru [EMAIL PROTECTED] wrote:
 Hello,

 Browsing getoo-wiki.com for an image viewer, I only found Gthumb, which
 depends on GNOME. I use Fluxbox because I have an older computer and
would
 like to keep dependencies at a minimum. Any suggestions? I only need a
 viewer; organising my pictures is not a plus. No exotic formats, just
jpeg,
 gif and the usual.

 Thanks in advance,
 Vlad


Tools i usually rely on are
* feh  :  uses imlib ( brags to be the fastest ) , very lightweight in
use, but an insane collection of features if you read the man pages to
see the extra tricks it can perform
* gliv :uses opengl  and gtk , making it awesome for viewing some of
those larger images using the fast and quality scaling algos of your
GPU
*fbi : ( media-gfx/fbida) which is great for viewing images when you
cant be bothered cracking open X
* anytopnm + aview : for days your feeling geeky and need to display
images in a textual representation ( black and white )
* cacaview : for days you want to demostrate how much free time geeks
have and nothing else feels like working cos your stuck on a windows
box with PUTTY.



Hi Kent,

I'm definitely keeping this list for later use, thanks a lot for your input.

Vlad


Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Hans-Werner Hilse
Hi,

On Mon, 15 Jan 2007 19:23:53 +0100
Daniel Pielmeier [EMAIL PROTECTED] wrote:

  No, that's (usually) correct. But in the route excerpt you've cited
  above (please post route -n next time!) the route for localhost was
  set to dev eth0. Also, the subnet was a /24 one, instead of the
  usual /8 for localhost. So there's some inconsistency between that file
  and the routes. The /etc/hosts you've shown looks good, please post
  dnsmasq's config.
 
 Here are the files you have requested!
 
 route -n on router
 
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse Iface
 88.67.16.1  0.0.0.0 255.255.255.255 UH0  00 ppp0
 192.168.0.0 0.0.0.0 255.255.255.0   U 0  00 eth0
 127.0.0.0   0.0.0.0 255.0.0.0   U 0  00 lo
 0.0.0.0 88.67.16.1  0.0.0.0 UG0  00 ppp0

Ah, OK, so *this* is fine. The route for eth0 is correct. So it's just
the name resolving on the router that returns localhost when being
asked for the hostname for 192.168.0.1.

Since all of this isn't about name resolving, we probably can even
leave out that dnsmasq thingy. But your config is essentially this:

 interface=eth0
 dhcp-range=192.168.0.1,192.168.0.255,72h

If this is supposed to work, chose another beginning of that range, at
least 192.168.0.2. But I think dnsmasq is even clever enough not to
issue its own address to clients.

I'll write a separate post about the firewalling issues in a moment.

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



Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Hans-Werner Hilse
Hi,

On Mon, 15 Jan 2007 19:17:45 +0100
Daniel Pielmeier [EMAIL PROTECTED] wrote:

  Send the output from iptables-save, please. Otherwise we could only
  guess if the problem is with your firewall rules or somewhere else.
 
 Here we go!
 
 # Generated by iptables-save v1.3.5 on Mon Jan 15 19:09:43 2007
 [...]

everything looks fine. I'm not quite sure about the policy module, I
did never use it and it is somehow being used to check the direction
of packets. Maybe someone else can comment.

So remaining things to check would be
- where do packets do what? Use tcpdump on the router to monitor
  how packets flow. Don't cite all the output, but look at where
  packets are coming and going. Two terminals with tcpdump -i eth0
  and tcpdump -i ppp0 would tell you that. Send a few pings from the
  desktop to the internet. Also try pinging an IP from the desktop, not
  just hostnames (to rule out nameserver borkage).
- is forwarding actually really enabled? Just cat the
  relevant /proc/sys/net/ipv4/ip_forward.


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



Re: [gentoo-user] Exclude package from emerge world ?

2007-01-15 Thread Bo Ørsted Andresen
On Monday 15 January 2007 23:02, Jean-Baptiste Mestelan wrote:
 Hello.

 I am trying to emerge -uD world
 and getting an error on  app-emulation/wine-20050930 (error stack is below,
 if YOU can decipher it;).

 wine- builds fine, but emerge world insists on building 20050930, and I
 am not too sure why ? Probably some other package depends on 20050930, but
 how can I check this ? (I might afford to unmerge this package, and do do
 without it for the moment ...)

 Or can I command emerge world  to exclude wine ?
[SNIP]

Both 20050930 and  are masked (illegally) by missing keyword. I assume 
you've simply put app-emulation/wine -* in your p.keywords to unmask it. 
Instead you should put ~app-emulation/wine- -* in there. The problem is 
that emerge wrongly thinks that 20050930 is newer than  because the 
number is greater.

-- 
Bo Andresen


pgpjgPUfkhxXq.pgp
Description: PGP signature


Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Daniel Pielmeier

- is forwarding actually really enabled? Just cat the
  relevant /proc/sys/net/ipv4/ip_forward.


cat /proc/sys/net/ipv4/ip_forward
returns 1


So remaining things to check would be
- where do packets do what? Use tcpdump on the router to monitor
  how packets flow. Don't cite all the output, but look at where
  packets are coming and going. Two terminals with tcpdump -i eth0
  and tcpdump -i ppp0 would tell you that. Send a few pings from the
  desktop to the internet. Also try pinging an IP from the desktop, not
  just hostnames (to rule out nameserver borkage).


Here is what tcdump returns!

ping to www.google.de from desktop

ping -c5 209.85.135.147
PING 209.85.135.147 (209.85.135.147) 56(84) bytes of data.

--- 209.85.135.147 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4000ms


tcpdump -i ppp0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on ppp0, link-type LINUX_SLL (Linux cooked), capture size 96 bytes
00:23:34.170023 IP dslb-088-065-173-238.pools.arcor-ip.net.32864 
dns1.arcor-ip.de.domain:  62186+ PTR? 147.135.85.209.in-addr.arpa.
(45)
00:23:34.170885 IP dslb-088-065-173-238.pools.arcor-ip.net.32865 
dns1.arcor-ip.de.domain:  49362+ PTR? 11.2.253.145.in-addr.arpa. (43)
00:23:34.186127 IP dns1.arcor-ip.de.domain 
dslb-088-065-173-238.pools.arcor-ip.net.32864:  62186 NXDomain 0/1/0
(105)
00:23:34.192706 IP dns1.arcor-ip.de.domain 
dslb-088-065-173-238.pools.arcor-ip.net.32865:  49362 1/0/0 (73)
00:23:34.193083 IP dslb-088-065-173-238.pools.arcor-ip.net.32865 
dns1.arcor-ip.de.domain:  55934+ PTR? 238.173.65.88.in-addr.arpa. (44)
00:23:34.250939 IP dns1.arcor-ip.de.domain 
dslb-088-065-173-238.pools.arcor-ip.net.32865:  55934 1/0/0 (97)
00:23:44.770408 IP cpc1-pnth1-0-0-cust807.cdif.cable.ntl.com.18730 
dslb-088-065-173-238.pools.arcor-ip.net.13040: UDP, length 98
00:23:44.770494 IP dslb-088-065-173-238.pools.arcor-ip.net 
cpc1-pnth1-0-0-cust807.cdif.cable.ntl.com: ICMP
dslb-088-065-173-238.pools.arcor-ip.net udp port 13040 unreachable,
length 134
00:23:44.770752 IP dslb-088-065-173-238.pools.arcor-ip.net.32865 
dns1.arcor-ip.de.domain:  21398+ PTR? 40.23.6.82.in-addr.arpa. (41)
00:23:44.820873 IP dns1.arcor-ip.de.domain 
dslb-088-065-173-238.pools.arcor-ip.net.32865:  21398 1/0/0 (96)
00:23:46.085482 IP 222.69.242.140.19774 
dslb-088-065-173-238.pools.arcor-ip.net.13040: UDP, length 98
00:23:46.085566 IP dslb-088-065-173-238.pools.arcor-ip.net 
222.69.242.140: ICMP dslb-088-065-173-238.pools.arcor-ip.net udp port
13040 unreachable, length 134
00:23:46.085811 IP dslb-088-065-173-238.pools.arcor-ip.net.32865 
dns1.arcor-ip.de.domain:  28846+ PTR? 140.242.69.222.in-addr.arpa.
(45)
00:23:46.509496 IP dns1.arcor-ip.de.domain 
dslb-088-065-173-238.pools.arcor-ip.net.32865:  28846 NXDomain 0/1/0
(105)
00:23:52.092567 IP 222.69.242.140.19774 
dslb-088-065-173-238.pools.arcor-ip.net.13040: UDP, length 98
00:23:52.092624 IP dslb-088-065-173-238.pools.arcor-ip.net 
222.69.242.140: ICMP dslb-088-065-173-238.pools.arcor-ip.net udp port
13040 unreachable, length 134
00:23:54.447053 IP dslb-084-057-191-176.pools.arcor-ip.net.3158 
dslb-088-065-173-238.pools.arcor-ip.net.epmap: S
2228649193:2228649193(0) win 53760 mss 1412,nop,wscale
3,nop,nop,timestamp 0 0,nop,nop,sackOK
00:23:54.447386 IP dslb-088-065-173-238.pools.arcor-ip.net.32865 
dns1.arcor-ip.de.domain:  55370+ PTR? 176.191.57.84.in-addr.arpa. (44)
00:23:54.463773 IP dns1.arcor-ip.de.domain 
dslb-088-065-173-238.pools.arcor-ip.net.32865:  55370 1/0/0 (97)

tcpdump -i eth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
00:23:32.895513 IP gentoo-vdr.linux.net.54934  gentoo.linux.net.ssh:
P 2356170685:2356170733(48) ack 1373265494 win 1034 nop,nop,timestamp
1888728 4586914
00:23:32.895566 IP gentoo.linux.net.ssh  gentoo-vdr.linux.net.54934:
P 1:49(48) ack 48 win 81 nop,nop,timestamp 4721101 1888728
00:23:32.895604 IP gentoo-vdr.linux.net.54934  gentoo.linux.net.ssh:
. ack 49 win 1034 nop,nop,timestamp 1888728 4721101
00:23:33.913406 IP gentoo-vdr.linux.net.36415  gentoo.linux.net.ssh:
P 220729975:220730023(48) ack 3542615936 win 5880 nop,nop,timestamp
129 4706313
00:23:33.913491 IP gentoo.linux.net.ssh  gentoo-vdr.linux.net.36415:
P 1:65(64) ack 48 win 116 nop,nop,timestamp 4721355 129
00:23:33.913528 IP gentoo-vdr.linux.net.36415  gentoo.linux.net.ssh:
. ack 65 win 5880 nop,nop,timestamp 129 4721355
00:23:34.168115 IP gentoo-vdr.linux.net.36415  gentoo.linux.net.ssh:
P 48:96(48) ack 65 win 5880 nop,nop,timestamp 155 4721355
00:23:34.168191 IP gentoo.linux.net.ssh  gentoo-vdr.linux.net.36415:
P 65:113(48) ack 96 win 116 nop,nop,timestamp 4721419 155
00:23:34.168229 IP gentoo-vdr.linux.net.36415  gentoo.linux.net.ssh:
. ack 113 win 5880 nop,nop,timestamp 155 4721419
00:23:34.168756 IP gentoo.linux.net.ssh  gentoo-vdr.linux.net.36415:
P 113:209(96) ack 96 win 116 

Re: [gentoo-user] How can I emerge a program with debugging options?

2007-01-15 Thread Iain Buchanan
On Mon, 2007-01-15 at 10:13 +0100, qfpvajdy wrote:
 Hello,
 
 I would like to emerge a program with debugging options CFLAGS=-g

put CFLAGS in /etc/make.conf

  and without strip at the end of the build.

you can use either nostrip _or_ splitdebug.  the first obviously stops
stripping, the second strips files, but takes the debug info and puts it
in another file in /usr/lib/debug first.  This means you get the benefit
of smaller executables, but still have debug info.  And you can always
delete /usr/lib/debug when you've had enough!

This is relevant parts from my make.conf:

DEBUG=-g
CFLAGS=-O2 -march=pentium4 -pipe ${DEBUG}
CXXFLAGS=${CFLAGS}
FEATURES=fixpackages userpriv usersandbox userfetch splitdebug

This way, I can comment out the DEBUG= line, and I don't get the debug
info.

see here for more info:
http://www.gentoo.org/proj/en/qa/backtraces.xml

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

I can just see it now: nomination-terrorism ;-)
-- Manoj

haha!  i nominate manoj.
-- seeS

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Exclude package from emerge world ?

2007-01-15 Thread Iain Buchanan
On Mon, 2007-01-15 at 22:02 +, Jean-Baptiste Mestelan wrote:
 Hello.
 
 I am trying to emerge -uD world
 and getting an error on  app-emulation/wine-20050930 (error stack is
 below, if YOU can decipher it;).

[snip]

 Or can I command emerge world  to exclude wine ?

yes, you can:

emerge --resume --skipfirst

after the failed wine build, and emerge will continue on with the next
ebuild.

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

... And remember: if you don't like the news, go out and make some of
your own.
-- Scoop Nisker, KFOG radio reporter Preposterous Words

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Exclude package from emerge world ?

2007-01-15 Thread Jean-Baptiste Mestelan

Many thanks to each of you who kindly answered :-)
I can understand what is going on, now
(indeed, I have added app-emulation/wine -* in p.keywords).

Thanks for these tips.
Regards.

On 1/15/07, Iain Buchanan [EMAIL PROTECTED] wrote:


On Mon, 2007-01-15 at 22:02 +, Jean-Baptiste Mestelan wrote:
 Hello.

 I am trying to emerge -uD world
 and getting an error on  app-emulation/wine-20050930 (error stack is
 below, if YOU can decipher it;).

[snip]

 Or can I command emerge world  to exclude wine ?

yes, you can:

emerge --resume --skipfirst

after the failed wine build, and emerge will continue on with the next
ebuild.

HTH,
--
Iain Buchanan iaindb at netspace dot net dot au

... And remember: if you don't like the news, go out and make some of
your own.
-- Scoop Nisker, KFOG radio reporter Preposterous Words

--
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Hans-Werner Hilse
Hi,

On Tue, 16 Jan 2007 00:30:30 +0100
Daniel Pielmeier [EMAIL PROTECTED] wrote:

  - is forwarding actually really enabled? Just cat the
relevant /proc/sys/net/ipv4/ip_forward.
 
 cat /proc/sys/net/ipv4/ip_forward
 returns 1
 
  So remaining things to check would be
  - where do packets do what? Use tcpdump on the router to monitor
how packets flow. Don't cite all the output, but look at where
packets are coming and going. Two terminals with tcpdump -i eth0
and tcpdump -i ppp0 would tell you that. Send a few pings from the
desktop to the internet. Also try pinging an IP from the desktop, not
just hostnames (to rule out nameserver borkage).
 
 Here is what tcdump returns!
 [...]

That's what I wanted to avoid with asking for not citing everything :-)

But everything looks quite normal, except for that packets aren't
routed. So its up to somebody else to tell exactly what that policy
module in iptables does -- and how. I don't have answers left here --
except for the case that a manual iptables setup is sufficient.

Personally, I'm quite happy with

$ iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
$ iptables -A FORWARD -i eth0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
$ iptables -A FORWARD -i ppp0 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT

for the forwarding. All that fancy-schmanzy stuff that shorewall does
isn't in there, granted.

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



Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Dale
Hans-Werner Hilse wrote:
 Hi,

 On Tue, 16 Jan 2007 00:30:30 +0100
 Daniel Pielmeier [EMAIL PROTECTED] wrote:

   
 - is forwarding actually really enabled? Just cat the
   relevant /proc/sys/net/ipv4/ip_forward.
   
 cat /proc/sys/net/ipv4/ip_forward
 returns 1

 
 So remaining things to check would be
 - where do packets do what? Use tcpdump on the router to monitor
   how packets flow. Don't cite all the output, but look at where
   packets are coming and going. Two terminals with tcpdump -i eth0
   and tcpdump -i ppp0 would tell you that. Send a few pings from the
   desktop to the internet. Also try pinging an IP from the desktop, not
   just hostnames (to rule out nameserver borkage).
   
 Here is what tcdump returns!
 [...]
 

 That's what I wanted to avoid with asking for not citing everything :-)

 But everything looks quite normal, except for that packets aren't
 routed. So its up to somebody else to tell exactly what that policy
 module in iptables does -- and how. I don't have answers left here --
 except for the case that a manual iptables setup is sufficient.

 Personally, I'm quite happy with

 $ iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
 $ iptables -A FORWARD -i eth0 -m state --state NEW,ESTABLISHED,RELATED -j 
 ACCEPT
 $ iptables -A FORWARD -i ppp0 -m state --state NEW,ESTABLISHED,RELATED -j 
 ACCEPT

 for the forwarding. All that fancy-schmanzy stuff that shorewall does
 isn't in there, granted.

 -hwh
   

Well, I got lucky.  I'm not real sure what I did to be honest.  Here is
my main box that is connected to the net:

 [EMAIL PROTECTED] / # route
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric Ref   
 Use Iface
 nas2.greenwood1 *   255.255.255.255 UH0  0   
 0 ppp0
 192.168.0.0 *   255.255.255.0   U 0  0   
 0 eth0
 loopback*   255.0.0.0   U 0  00 lo
 default nas2.greenwood1 0.0.0.0 UG0  0   
 0 ppp0
 [EMAIL PROTECTED] / #

 [EMAIL PROTECTED] / # iptables -L
 Chain INPUT (policy ACCEPT)
 target prot opt source   destination

 Chain FORWARD (policy ACCEPT)
 target prot opt source   destination

 Chain OUTPUT (policy ACCEPT)
 target prot opt source   destination
 [EMAIL PROTECTED] / #

This is from the second rig:

 swifty ~ # route
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric Ref   
 Use Iface
 192.168.0.0 *   255.255.255.0   U 0  0   
 0 eth0
 loopback*   255.0.0.0   U 0  00 lo
 default smoker  0.0.0.0 UG0  0   
 0 eth0
 swifty ~ #

No iptables on this one.  I don't know what I did but it all works.  I
guess even I get lucky sometimes.  :-O

Dale

:-)  :-)  :-)




-- 
www.myspace.com/dalek1967



Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-15 Thread Bo Ørsted Andresen
On Sunday 14 January 2007 20:22, Iván Pérez Domínguez wrote:
 I'm posting this here before going to gentoo-portage-dev or other list
 to know what you think and to try to write a better suggestion.

There is a bug open for this.

https://bugs.gentoo.org/show_bug.cgi?id=12768

-- 
Bo Andresen


pgp6KSdgRbn9F.pgp
Description: PGP signature


Re: [gentoo-user] Setting up a home router

2007-01-15 Thread Daniel Iliev

Again the quick  dirty solution:

/etc/init.d/iptables stop
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
/etc/init.d/iptables save
rc-update -a iptables default
/etc/init.d/iptables start



-- 
Best regards,
Daniel


-- 
gentoo-user@gentoo.org mailing list