Re: [gentoo-user] OT - Need help enabling iptables support in kernel

2007-11-14 Thread Bryan Whitehead
I'm pretty sure those changes are from the kernel devs - you would
need to ask the lkml people.

if it is from the gentoo guys, I find it less annoying than the
default editor being nano instead of vi... :)

On Nov 13, 2007 11:21 PM, Walter Dnes [EMAIL PROTECTED] wrote:
   I've been running Gentoo for a few years, and I remember earlier
 versions of iptables, where everything was on one page.  Why do we have
 to activate the same feature on two separate pages now?
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] LTSP sound and readme.

2007-11-14 Thread sean
At this link http://www.gentoo.org/doc/en/ltsp.xml near the bottom in 
the FAQ there is a question posted about using the soundcard of a 
workstation.
The answer responds that there is a ltsp-sound package in Gentoo and 
more instructions can be found in the included readme.


Doing a search of portage there is only the ltsp package.
So where would this sound package be located?

I am guessing that this readme would provide those answers, but would 
anyone know where it is located?


Thanks
Sean
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Apollon problem (only gnutella works)

2007-11-14 Thread Rafael Barrera Oro
Hello, i have apollon installed along with the fasttrack, arez, gnutella and
openft plugins. Nevertheless, only Gnutella seems to connect.

¿Does this sounds familiar to anyone?

As always, any help, will be appreciated.

best wishes

Rafael


[gentoo-user] how to detect the throughput in the lan?

2007-11-14 Thread Chuanwen Wu
Hi, guys!

I need to know the total throughput of the LAN in real-time, for
example, the total input and output of each node in the LAN.
I have used tcpdump. But as I know, it cannot be use to get the
statistics of the LAN.

Can't you recommend  some tools?

Thanks in advanced!

-- 
wcw
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Return of packages.gentoo.org?

2007-11-14 Thread Aaron Clark
I started getting results on the RSS feed again this morning after 
months of being dark.


It appears to be back up, although a visit to the web address gives a 
layout that definitely looks like a work in progress.  Still, it's nice 
to see it back.


Aaron
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Return of packages.gentoo.org?

2007-11-14 Thread Neil Bothwick
On Wed, 14 Nov 2007 09:52:45 -0500, Aaron Clark wrote:

 It appears to be back up, although a visit to the web address gives a 
 layout that definitely looks like a work in progress.  Still, it's nice 
 to see it back.

http://archives.gentoo.org/gentoo-dev-announce/msg_00035.xml

The fact that this was posted to dev-announce and not announce indicates
that it may not be considered ready for public consumption yet. Searching
is still on the todo list.


-- 
Neil Bothwick

File Not Found - Loading something that looks similar


signature.asc
Description: PGP signature


Re: [gentoo-user] how to detect the throughput in the lan?

2007-11-14 Thread Mark Shields
On Nov 14, 2007 9:52 AM, Chuanwen Wu [EMAIL PROTECTED] wrote:

 Hi, guys!

 I need to know the total throughput of the LAN in real-time, for
 example, the total input and output of each node in the LAN.
 I have used tcpdump. But as I know, it cannot be use to get the
 statistics of the LAN.

 Can't you recommend  some tools?

 Thanks in advanced!

 --
 wcw
 --
 [EMAIL PROTECTED] mailing list


 eix iftop

[I] net-analyzer/iftop
 Available versions:  0.17
 Installed versions:  0.17(02:01:38 03/16/07)
 Homepage:http://www.ex-parrot.com/~pdw/iftop/
 Description: display bandwidth usage on an interface

-- 
- Mark Shields


Re: [gentoo-user] grub hell

2007-11-14 Thread Mick
On Wednesday 14 November 2007, maxim wexler wrote:

 Thanks for the suggestions, I tried them all, but none
 of them worked.

 Every attempt at tab completion results in:

 Possible disks are: fd0 fd1 fd2 fd3 fd4 fd5 fd6 fd7
 hd0

 hd1 just doesn't appear(don't know what all those
 floppies is about). Any attempt to use it, whether by
 tab completion or by just entering it at the prompt,
 results in Error 21: Selected disk does not exist.

Well, you could take turns trying out all these fds.

 I know the drive is OK cause it boots when the boot
 order in the BIOS starts with the first drive.

Grub *should* be able to see what BIOS sees, but clearly this is not the case 
here.  Have you tried reinstalling Grub in the MBR?

 I think I'll try that old hack where you dd the boot
 sector to a floppy and copy it to C:\ in Windows. Then
 you write a .bat file? Details kinda hazy...

You'll need to reinstall grub for this solution to work, but install it in 
your Gentoo /boot partition, not the MBR.  (I have not tried it with the MBR 
image, but you could try that too - pls let me know if it works).  Then you 
dd this and copy it into your WinXP partition so that you can chainload it 
from NTLDR.  Finally, you'll have to edit the boot.ini file to point it to 
the boot image you just copied in your WinXP partition and you should be able 
to boot it . . . as long as NTLDR can see the drive in question.  :p  Well, 
it's worth giving it a shot I guess.

Good luck.
-- 
Regards,
Mick


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


Re: [gentoo-user] glibc unmerged by accident

2007-11-14 Thread Mark Shields
On Nov 13, 2007 10:49 AM, de Almeida, Valmor F. [EMAIL PROTECTED] wrote:

  From: Neil Bothwick [mailto:[EMAIL PROTECTED]
 
  Incidentally, how did you miss the big red warning that emerge gives
 when
  you try to unmerge a system package?
 

 I was unlucky and stupid for using cut and paste commands while
 distracted looking at another screen. I didn't look back until the
 unmerge countdown period was over.

 Thanks for all the comments and ideas.

 --
 Valmor

 --
 [EMAIL PROTECTED] mailing list


Always good to use the -a flag when unmerging.

-- 
- Mark Shields


Re: [gentoo-user] grub hell

2007-11-14 Thread Hans-Werner Hilse
Hi,

On Wed, 14 Nov 2007 08:25:50 +
Mick [EMAIL PROTECTED] wrote:

  I know the drive is OK cause it boots when the boot
  order in the BIOS starts with the first drive.
 
 Grub *should* be able to see what BIOS sees, but clearly this is not the case 
 here.  Have you tried reinstalling Grub in the MBR?

That most likely won't help since what's installed there only stages
the real grub binaries which will be most likely the same ones.

From what maxim wrote so far it really looks like the BIOS moves the
entry for the HD on the first controller out of sight somehow. So
probably the BIOS feature of booting off the second controller is the
problem here. We can't solve this on the level of grub or the OS, so
the only option seems to be to properly install grub to the first HD.

I would start with a grub floppy disk or boot CD(-RW) and look what
devices that sees when booting. In order to have grub list disks, you
enter root ( and press TAB. The same goes for partitions after the
setting device and a comma (e.g. (hd0, + TAB).

If all devices are seen, then set root (as indicated above) to the
partition holding the grub stages (i.e. partition of /boot in Gentoo
or /lib/grub/i386-pc/). Then have grub write the MBR using 
setup (hd0). Note that this will overwrite the Windows MBR, which
will make it unbootable at that point. So better before doing that --
from Linux -- backup the MBR: 
dd if=/dev/hda of=/backup-mbr-hda bs=512 count=1 so you can write it
back later.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how to detect the throughput in the lan?

2007-11-14 Thread Mick
On Wednesday 14 November 2007, Mark Shields wrote:
 On Nov 14, 2007 9:52 AM, Chuanwen Wu [EMAIL PROTECTED] wrote:
  Hi, guys!
 
  I need to know the total throughput of the LAN in real-time, for
  example, the total input and output of each node in the LAN.
  I have used tcpdump. But as I know, it cannot be use to get the
  statistics of the LAN.
 
  Can't you recommend  some tools?
 
  Thanks in advanced!
 
  --
  wcw
  --
  [EMAIL PROTECTED] mailing list

  eix iftop

 [I] net-analyzer/iftop
  Available versions:  0.17
  Installed versions:  0.17(02:01:38 03/16/07)
  Homepage:http://www.ex-parrot.com/~pdw/iftop/
  Description: display bandwidth usage on an interface

$ eix -l iptraf
[I] net-analyzer/iptraf
 Available versions:  
2.7.0-r1 [ipv6]
3.0.0-r3 [ipv6 suid unicode]
3.0.0-r4 [ipv6 suid unicode]
 Installed versions:  3.0.0-r4(20:20:41 11/01/07)(-ipv6 -suid unicode)
 Homepage:http://iptraf.seul.org/
 Description: IPTraf is an ncurses-based IP LAN monitor

There are so many really.  Look into /usr/portage/net-analyzer and browse the 
web for more info on these that look interesting.
-- 
Regards,
Mick


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


Re: [gentoo-user] grub hell

2007-11-14 Thread Mick
On Wednesday 14 November 2007, Hans-Werner Hilse wrote:
 Hi,

 On Wed, 14 Nov 2007 08:25:50 +

 Mick [EMAIL PROTECTED] wrote:
   I know the drive is OK cause it boots when the boot
   order in the BIOS starts with the first drive.
 
  Grub *should* be able to see what BIOS sees, but clearly this is not the
  case here.  Have you tried reinstalling Grub in the MBR?

 That most likely won't help since what's installed there only stages
 the real grub binaries which will be most likely the same ones.

Sure, unless something is corrupted in the Grub stages files?  I wasn't sure 
on the circumstances under which the IDE controller in question was fried.

 From what maxim wrote so far it really looks like the BIOS moves the
 entry for the HD on the first controller out of sight somehow. 

Are BIOS' that 'intelligent' these days?

 So 
 probably the BIOS feature of booting off the second controller is the
 problem here. We can't solve this on the level of grub or the OS, so
 the only option seems to be to properly install grub to the first HD.

/The only time that I have experience a similar problem was after a drive 
ribbon was hot unplugged mid-flight.  The controller was not fried, not was 
the drive, but it took sometime to get it going again.  Ultimately an 
investigation revealed that the jumpers at the back of the drives were not 
effective (cable select would just not work)./

 I would start with a grub floppy disk or boot CD(-RW) and look what
 devices that sees when booting. In order to have grub list disks, you
 enter root ( and press TAB. The same goes for partitions after the
 setting device and a comma (e.g. (hd0, + TAB).

 If all devices are seen, then set root (as indicated above) to the
 partition holding the grub stages (i.e. partition of /boot in Gentoo
 or /lib/grub/i386-pc/). Then have grub write the MBR using
 setup (hd0). Note that this will overwrite the Windows MBR, which
 will make it unbootable at that point. So better before doing that --
 from Linux -- backup the MBR:
 dd if=/dev/hda of=/backup-mbr-hda bs=512 count=1 so you can write it
 back later.

Alternatively, use a MS Windows installation CD, boot into Recovery Console 
and run fixmbr on the correct drive.  It will reinstall the NTLDR boot code 
in the MBR and you'll be able to natively boot it again.  If you mess up the 
MS Windows *partition* boot record because instead of hd0 you typed hd0,1 
then the command you want is fixboot.  I just hate reinstalling MS Windows - 
it feels sort of wasted time!  ;-)

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] grub hell

2007-11-14 Thread maxim wexler

 the only option seems to be to properly install grub
 to the first HD.

grub-install /dev/hda renders the PC completely
unusable

 
 I would start with a grub floppy disk or boot
 CD(-RW) and look what

Both drives are bootable provided I make a detour to
the BIOS and change the boot order.


 devices that sees when booting. In order to have
 grub list disks, you

dmesg reports ALL drives and appropriate partitions.

 enter root ( and press TAB. The same goes for
 partitions after the
 setting device and a comma (e.g. (hd0, + TAB).
 

Now this is really wierd. When I'm at the prompt using
the grub that appears when the PC boots, ie when the
second drive is given preference in BIOS, tab
completion reports only a string of fdn's followed by
hd0. But, when having booted and logged in, I issue
the grub command, tab completion reports possible
disks as hd0 and hd1 as it should. And it correctly
sees the unknown partition on /dev/hda and the four
linux partitions on /dev/hdc. But that's with
device.map like so: (fd0)  /dev/fd0
(hd0)  /dev/hda
(hd2)  /dev/hdc
   ^!?!?

 If all devices are seen, then set root (as indicated
 above) to the
 partition holding the grub stages (i.e. partition of
 /boot in Gentoo
 or /lib/grub/i386-pc/). Then have grub write the MBR
 using 
 setup (hd0). Note that this will overwrite the
 Windows MBR, which
 will make it unbootable at that point. So better

OK, this throws me. Isn't it supposed to be bootable?
As I said above installing grub to Win-mbr renders the
PC unusable. Can't recall the precise error message
but 
even the grub prompt isn't available.

 before doing that --
 from Linux -- backup the MBR: 
 dd if=/dev/hda of=/backup-mbr-hda bs=512 count=1
 so you can write it
 back later.

Thanks for the tip, a lot simpler than booting into
Win98 and running A:\fdisk /mbr.

There's more...

I followed the instructions here: 

http://gentoo-wiki.com/HOWTO_Dual_Boot_from_Windows_Bootloader_(NTLDR)_and_why

And, provided I'm booting from /dev/hda, I'm presented
with two choices, Gentoo and XP. XP boots OK but
gentoo halts at:

GRUB Loading stage1.5

GRUB loading, please wait...
Error 21

even though the boot routine is identical to the one
that WORKS when the second drive is given boot
preference.

-mw


  

Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub hell

2007-11-14 Thread Hans-Werner Hilse
Hi,

On Wed, 14 Nov 2007 13:27:49 -0800 (PST)
maxim wexler [EMAIL PROTECTED] wrote:

  the only option seems to be to properly install grub
  to the first HD.
 
 grub-install /dev/hda renders the PC completely
 unusable

Hm, yeah, that's why I generally distrust running grub from within an
booted OS: You can't be sure that the setting is anywhere near what
happens before the OS got loaded (e.g. no ACPI kicking in yet, BIOS
disk drivers...).

  I would start with a grub floppy disk or boot
  CD(-RW) and look what
 
 Both drives are bootable provided I make a detour to
 the BIOS and change the boot order.

Somehow I suspect that the BIOS gets something wrong when you change
the boot order. But that's just a suspicion. So my suggestion was to
change it to default (first HD first). Then check from a grub running
from floppy or CDRW what that can see. So you can try if my suspicion
is wrong, what might well be the case: That grub (from floppy or CD)
will only see one drive, too, if I'm wrong. Otherwise you know that I
was probably right and your only option then is to leave the BIOS boot
order untouched.

  devices that sees when booting. In order to have
  grub list disks, you
 
 dmesg reports ALL drives and appropriate partitions.

But that is what _Linux_ sees. Linux has its own drivers, working
completely independent from what the BIOS was doing before -- and
that's what a grub (at boot stage) has to rely on. So Linux' output
only tells us that generally:
- your drives are OK, the cabling too.
- your controllers are working.

But we need to make sure the BIOS initializes everything right. It
might not do so if boot order is changed (and from a certain point of
view, that might actually be a feature).

  enter root ( and press TAB. The same goes for
  partitions after the
  setting device and a comma (e.g. (hd0, + TAB).
 
 Now this is really wierd. When I'm at the prompt using
 the grub that appears when the PC boots, ie when the
 second drive is given preference in BIOS, tab
 completion reports only a string of fdn's followed by
 hd0. But, when having booted and logged in, I issue
 the grub command, tab completion reports possible
 disks as hd0 and hd1 as it should. And it correctly
 sees the unknown partition on /dev/hda and the four
 linux partitions on /dev/hdc. But that's with
 device.map like so: (fd0)  /dev/fd0
 (hd0)  /dev/hda
 (hd2)  /dev/hdc
^!?!?

It might be that the second HD is just (hd1). Grub doesn't necessarily
follow the kernel way of enumeration. But then again, don't rely on
what grub tells when run with an loaded OS.

  If all devices are seen, then set root (as indicated
  above) to the
  partition holding the grub stages (i.e. partition of
  /boot in Gentoo
  or /lib/grub/i386-pc/). Then have grub write the MBR
  using 
  setup (hd0). Note that this will overwrite the
  Windows MBR, which
  will make it unbootable at that point. So better
 
 OK, this throws me. Isn't it supposed to be bootable?

Oh, the Windows MBR is just giving control to the boot block of the
partition holding Windows, which itself then stages ntldr. So when I
said it'll make it unbootable, I was talking about the Windows MBR.
Grub should run anyway nevertheless, and then it should be able to give
control to the Windows partition boot block -- but I was just giving a
warning that what definately happens is that the Windows MBR is gone.

 There's more...
 
 I followed the instructions here: 
 
 http://gentoo-wiki.com/HOWTO_Dual_Boot_from_Windows_Bootloader_(NTLDR)_and_why
 
 And, provided I'm booting from /dev/hda, I'm presented
 with two choices, Gentoo and XP. XP boots OK but
 gentoo halts at:
 
 GRUB Loading stage1.5
 
 GRUB loading, please wait...
 Error 21
 
 even though the boot routine is identical to the one
 that WORKS when the second drive is given boot
 preference.

Personally, I don't see much difference, this approach shares similar
problems. Apropos problem, error 21 is Selected disk does not exist.
I think it might have happened because you probably switched drive
order again when doing the Linux based steps descibed in the link
you've give. When the MBR is written, it stores references to the stage
files. They might point to an invalid location if you change the boot
order back again. That's what I think why you're seeing this error.

Grub can perfectly from a floppy disk. See info grub (the full grub
documentation, the man page is crap) in order to learn how to create a
grub floppy disk (or CD/R(W)). You will then be able to set the BIOS
boot order to default and see what a freshly booted grub sees then.
From within the grub booted this way, you can order grub to setup
itself to an MBR or boot block. Basically, you have to set root, then
issue setup. The first takes the device of the stage files as
argument, the latter the target disk (or partition).

After being through this grub hell, at least will have learnt a lot
about broken BIOSes and different boot stages of today's PC 

[gentoo-user] Re: Return of packages.gentoo.org?

2007-11-14 Thread »Q«
Neil Bothwick [EMAIL PROTECTED] wrote:

 On Wed, 14 Nov 2007 09:52:45 -0500, Aaron Clark wrote:
 
  It appears to be back up, although a visit to the web address gives
  a layout that definitely looks like a work in progress.  Still,
  it's nice to see it back.
 
 http://archives.gentoo.org/gentoo-dev-announce/msg_00035.xml
 
 The fact that this was posted to dev-announce and not announce
 indicates that it may not be considered ready for public consumption
 yet. Searching is still on the todo list.

It looks like stabilization on any arch brings an ebuild to the top
of the list for other arches.  E.g., right now acpid-1.0.6-r1 is at the
top of http://packages.gentoo.org/arch/x86/stable;  it just went
stable on amd64, but it's been stable on x86 for a month already.

A few kinks won't bother me -- I'm really glad to see p.g.o back up.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: how to detect the throughput in the lan?

2007-11-14 Thread James
Chuanwen Wu wcw8410 at gmail.com writes:


 I need to know the total throughput of the LAN in real-time, 



net-analyzer/bwmon

quick, clean and easy


James



-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub hell

2007-11-14 Thread maxim wexler
 Grub can perfectly from a floppy disk. See info
 grub (the full grub
 documentation, the man page is crap) in order to
 learn how to create a
 grub floppy disk (or CD/R(W)). You will then be able
 to set the BIOS
 boot order to default and see what a freshly booted

Arrgh! Now I learn this box won't boot from a floppy!

It bipasses the floppy completely unless I disable ALL
the drives except the floppy and then I get:

Invalid boot diskette: insert BOOT disk in A:\

Huh? Maybe it's because this is a Dell PIII and
requires a proprietary DOS boot disk. 

There seems to be two methods from what I can find on
the Web: copying menu.lst to /mnt/floppy/boot/grub and
copying /boot/grub/stage1 and /boot/grub/stage2 to a
floppy I tried them both without success.

Of course I can still boot the gentoo-install CD but
then I have to chroot to run grub which puts me back
in the hole. 

Now, I don't have a burner on the PIII, but I have one
on another box. Can someone suggest a method to burn a
grub-boot CD that won't leave me with a coaster -- got
plenty of those :(

-mw


  

Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub hell

2007-11-14 Thread W.Kenworthy
I came to this late and missed most of the thread so apologies if this
has been covered.

Did you mount /proc into /mnt/gentoo before chroot'ing? (see install
docs) This allows grub to correctly sense the drive map for writing
the boot sectors.

Some early MB's changed the drive map depending on what disk/media
(i.e., cdrom) you booted from so grub wrote a correct map at the time,
then the MB changed the mapping on the HD boot.  Fix was to
intelligently guess the correct drive and write it manually using grub.
A later bios update allowed some control at the bios level which made it
easier.

Billk


On Wed, 2007-11-14 at 18:36 -0800, maxim wexler wrote:
  Grub can perfectly from a floppy disk. See info
  grub (the full grub
  documentation, the man page is crap) in order to
  learn how to create a
  grub floppy disk (or CD/R(W)). You will then be able
  to set the BIOS
  boot order to default and see what a freshly booted
 
 Arrgh! Now I learn this box won't boot from a floppy!
 
 It bipasses the floppy completely unless I disable ALL
 the drives except the floppy and then I get:
 
 Invalid boot diskette: insert BOOT disk in A:\
 
 Huh? Maybe it's because this is a Dell PIII and
 requires a proprietary DOS boot disk. 
 
 There seems to be two methods from what I can find on
 the Web: copying menu.lst to /mnt/floppy/boot/grub and
 copying /boot/grub/stage1 and /boot/grub/stage2 to a
 floppy I tried them both without success.
 
 Of course I can still boot the gentoo-install CD but
 then I have to chroot to run grub which puts me back
 in the hole. 
 
 Now, I don't have a burner on the PIII, but I have one
 on another box. Can someone suggest a method to burn a
 grub-boot CD that won't leave me with a coaster -- got
 plenty of those :(
 
 -mw
 
 
   
 
 Get easy, one-click access to your favorites. 
 Make Yahoo! your homepage.
 http://www.yahoo.com/r/hs 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] grub hell

2007-11-14 Thread Novensiles divi Flamen


 Now, I don't have a burner on the PIII, but I have one
 on another box. Can someone suggest a method to burn a
 grub-boot CD that won't leave me with a coaster -- got
 plenty of those :(

 -mw

http://supergrub.forjamari.linex.org/

I use this cd image and it works like a treat. 

- Noven
-- 
-- Novensiles divi Flamen --
 Miles Militis Fons 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Apollon problem (only gnutella works)

2007-11-14 Thread Rumen Yotov
On (14/11/07 11:34) Rafael Barrera Oro wrote:
 Hello, i have apollon installed along with the fasttrack, arez, gnutella and
 openft plugins. Nevertheless, only Gnutella seems to connect.
 
 ¿Does this sounds familiar to anyone?
 
 As always, any help, will be appreciated.
 
 best wishes
 
 Rafael
Hi,

Is there a firewall present ?
Try changing the ports (to higher values) some ISP block lower ports.
HTH. Rumen
-- 
[EMAIL PROTECTED] mailing list