Re: [gentoo-user] How to see network activity?

2006-08-10 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 this has been a fascinating conversation. thanks boris for starting it.
 i've tested almost everything that has been mentioned.

 i often have to monitor my computers over slow text-only ssh
 sessions, so my
 focus may be a bit different from others.

 tcpdump (and ethereal/wireshark) of course can not be beat for
 looking inside
 packets.

 to see what connections are open and how much data they are
 transferring, in a
 telnet/ssh situation i like bmon and iftop. i especially appreciate the
 graphical feature of bmon.

 in real graphical environments, i like etherape.

 thanks to everyone who has contributed so much wisdom


 On Thu, 10 Aug 2006, Norman Rie? wrote:

 Boris Sobolev schrieb:
  Hi folks,
  I would like to see the network activoity going in an out of my box.
  Any command to use for that?

  Thanks.
  Boris


 iftop
 is nice to watch, what connetions are currently open an how many
 traffic they produce.
 --
 gentoo-user@gentoo.org mailing list



For the graphically challenged, or the CLI initiated, try bwm-ng.  I
initially came across it because of its mention on Richard Bejtlich's
blog.  And fortunately there was an ebuild for it in portage!  But
it's a pretty cool tool, nonetheless.

I too have tried a few of the different tools mentioned.  I have loved
etherape for quite some time (years).  Good to know that there's an
ebuild for it!  I had almost forgotten all about it until Michael
mentioned it.

- --
gentux
echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE2tJOTPA54hjTSp4RAqCfAKClqK/MDzkqduqB3w013rqs/dS0dwCfYxi/
zkuA233QSyU69ZDXuwmUE7w=
=o7Cc
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] kdebase won't re-build

2006-08-10 Thread gentuxx
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've recently found that bugs.gentoo.org is my new friend.  However,
this is sort of a one-off issue, and I haven't been able to find it
there.  I run `glsa-check -f all' maybe once a month, or less (I
usually get packages/versions recommended in the glsa by routine
updates).  I watch the GLSA blog, so I know when something comes out,
and I usually check which version I have.  999 times out of 1000, I've
already got the updated package.

Be that as it may, I've been trying to get through running the tool
successfully, and I am getting stuck on rebuilding kdebase-3.4.3-r2.
I'm actually using KDE 3.5, but would like to keep 3.4 around until
the next major version comes around (I'm just anal that way).  When it
goes to rebuild kdebase, it quickly errors out with the following:

configure: error:
you need to install kdelibs first.

If you did install kdelibs, then the Qt version that is picked up by
this configure is not the same version you used to compile kdelibs.
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the
_same Qt version_, compiled with the _same compiler_ and the same Qt
configuration settings.


!!! Please attach the following file when filing a report to
bugs.gentoo.org:
!!! /var/tmp/portage/kdebase-3.4.3-r2/work/kdebase-3.4.3/config.log

!!! ERROR: kde-base/kdebase-3.4.3-r2 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  kdebase-3.4.3-r2.ebuild, line 92:   Called kde_src_compile
  kde.eclass, line 164:   Called kde_src_compile 'all'
  kde.eclass, line 323:   Called kde_src_compile 'myconf' 'configure'
'make'
  kde.eclass, line 305:   Called econf '--with-dpms'
'--with-x-binaries-dir=/usr/bin' '--with-arts' '--with-ldap'
'--with-cups' '--with-gl' '--with-ssl' '--with-samba'
'--without-openexr' '--without-sensors' '--without-libusb'
'--without-libraw1394' '--without-hal' '--with-pam=yes'
'--without-java' '--with-x' '--enable-mitshm' '--without-xinerama'
'--with-qt-dir=/usr/qt/3' '--enable-mt'
'--with-qt-libraries=/usr/qt/3/lib' '--disable-dependency-tracking'
'--disable-debug' '--without-debug' '--enable-final' '--with-arts'
'--prefix=/usr/kde/3.4' '--mandir=/usr/kde/3.4/share/man'
'--infodir=/usr/kde/3.4/share/info' '--datadir=/usr/kde/3.4/share'
'--sysconfdir=/usr/kde/3.4/etc'
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call
stack if relevant.


I've gone through some toolchain changes recently, so I wasn't
completely surprised by this message the first time I got it.  So, I
immediately rebuilt qt, which actually rebuilt qt4 (I think qt3 is
actually being detected by the kdebase ebuild, but we'll get to
that).  I also rebuilt kdelibs (at the same time as qt - qt was
rebuilt first), then tried the kdebase rebuild again.  I get the same
error.  So, I said to myself, ok, it's picking up qt3 (not qt4, which
I just rebuilt) so I need to rebuild that.  So I did.  I did a
`emerge -av =x11-libs/qt-3.3.6-r1', which completed successfully, but
when attempting a rebuild of kdebase I get the same, above, error.

Any pointers would be awesome.  I've finally managed to get through an
`emerge_world.sh' (custom script - if you're interested/curious
contact me offlist) after about a month (or more) of skipping through
packages to avoid stuff that wouldn't build.  This is the icing on the
cake.  If I can get through the `glsa-check', I'll switch profiles to
2006.1 (then, of course, rebuild).

TIA

- --
gentux
echo hfouvyyAhnbjm/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint == 5495 0388 67FF 0B89 1239  D840 4CF0 39E2
18D3 4A9E
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE2tcCTPA54hjTSp4RAtbQAKCWy//zI2XW181fUAVKOG9GL/2q4ACgjnnL
/TfRlsQq2kUdsOLWxfMHx14=
=bujM
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] weird dependencies

2006-08-10 Thread Alexander Skwar

Rodrigo Lazo wrote:

Hi,

Something weird is happening to my system. I executed (for no good
reason):

[EMAIL PROTECTED] # emerge -pvu --deep gaim 


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] media-libs/lcms-1.14-r1 [1.13-r1] USE=jpeg python zlib -tiff 653 kB 
[ebuild U ] dev-db/mysql-4.1.21 [4.1.20] USE=perl ssl -berkdb -big-tables -cluster -debug -embedded -extraengine -latin1 -minimal -raid -srvdir -static 17,215 kB 
[ebuild  N] x11-libs/qt-3.3.6-r1  USE=doc gif mysql opengl -cups -debug -examples -firebird -immqt -immqt-bc -ipv6 -nas -nis -odbc -postgres -sqlite -xinerama 14,224 kB 
[ebuild U ] media-libs/tiff-3.8.2-r2 [3.8.2-r1] USE=jpeg zlib -jbig -nocxx 0 kB 
[ebuild  N] virtual/ghostscript-0  0 kB 
[ebuild U ] dev-lang/nasm-0.98.39-r3 [0.98.39-r1] USE=doc -build 0 kB 
[ebuild U ] sys-apps/gawk-3.1.5-r2 [3.1.5-r1] USE=nls -build 0 kB 



, qt as a deep dependencie of gaim.


You can't say that. Run emerge -pvu --deep --tree gaim to
see, what's going on.

Alexander Skwar
--
BOFH Excuse #212:

Of course it doesn't work. We've performed a software upgrade.
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Omnikey Cardman 4040 - Card Reader

2006-08-10 Thread Noack, Sebastian
Hi,

I've bought an Omnikey Cardman 4040 card reader and have some trouble to
get it work. Maybe somebody have some experiences with it. Actually it
is one of the recommended card readers for Linux.


I have compiled and loaded the driver cm4040_cs and following line
appeared in /proc/devices:

254 cmx


But there is no pcmcia-entry in /proc/devices like I have seen on other
systems. Another weird thing is that hotplug/udev doesn't create a
corresponding device file, automatically. So I invoke `mknod -m 666
/dev/cmx0 c 253 0` by myself.


But after invoking `gpg --card-status` I got following error message:

gpg: apdu_open_reader: failed to open driver `libpcsclite.so.1':
libpcsclite.so.1: cannot open shared object file: No such file or
directory
gpg: card reader not available
gpg: OpenPGP card not available: general error


Well, actually I would prefer the CCID driver over the PCSC driver, but
however I fixed this (probably) by `cd /usr/lib  ln -s
libpcsclite.so.0.0.1 libpcsclite.so.1`. But now I get following error
message when I invoke `gpg --card-status`:

gpg: pcsc_establish_context failed: internal error (0x8011)
gpg: card reader not available
gpg: OpenPGP card not available: general error


Doesn't matter, let us see why ccid doesn't work. Btw if it would work
it wouldn't try pcsc. If I invoke `gpg --card-status --debug-ccid-drive`
the output above is extended by another line:

gpg: DBG: ccid-driver: no CCID reader with number 0


All at all it seems like there is no card reader plugged in, but it is
and evenwhen I plugged it in it shows the name of the card reader in the
system log. If anybody knows what I have to do to get this device work I
would be very thankful.


Kernel-Version: 2.6.17.7
GPG-Version: 1.4.5 1.9.20-r3


Regards
Sebastian Noack

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] no SysRq

2006-08-10 Thread Jorge Almeida

I'm trying to enable the use of the SysRq key. My keyboard is Logitech
Access. It has a key labeled PrtScr/SysRq right next F12. I recompiled
the kernel with support for SysRq, but still it doesn't work. It seems
that the key is not recognized. The output of showkey -s, when pressing
SysRq, is
0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7
I read sysrq.txt in the kernel source Doc directory:
There are some keyboards that send different scancodes for SysRq than 
the
pre-defined 0x54. So if SysRq doesn't work out of the box for a certain
keyboard, run 'showkey -s' to find out the proper scancode sequence. 
Then
use 'setkeycodes sequence 84' to define this sequence to the usual 
SysRq
code (84 is decimal for 0x54). It's probably best to put this command 
in a
boot script. Oh, and by the way, you exit 'showkey' by not typing 
anything
for ten seconds.
It's not clear (to me) what to do. Does sequence equal 0xe0 0x2a 0xe0 0x37 0xe0 
0xaa 0xe0 0xb7?
And if so, is this a stable thing, i.e. a keyboard characteristic, not
bound to change unless the keyboard is replaced?



--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



[gentoo-user] AW: Omnikey Cardman 4040 - Card Reader

2006-08-10 Thread Noack, Sebastian
-I invoke `mknod -m 666 /dev/cmx0 c 253 0` by myself.
+I invoke `mknod -m 666 /dev/cmx0 c 254 0` by myself.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kdebase won't re-build

2006-08-10 Thread Dirk Heinrichs
Am Donnerstag, 10. August 2006 08:49 schrieb ext gentuxx:

 configure: error:
 you need to install kdelibs first.

 I've gone through some toolchain changes recently, so I wasn't
 completely surprised by this message the first time I got it.  So, I
 immediately rebuilt qt, which actually rebuilt qt4 (I think qt3 is
 actually being detected by the kdebase ebuild, but we'll get to
 that).  I also rebuilt kdelibs (at the same time as qt - qt was
 rebuilt first), then tried the kdebase rebuild again.  I get the same
 error.  So, I said to myself, ok, it's picking up qt3 (not qt4, which
 I just rebuilt) so I need to rebuild that.  So I did.  I did a
 `emerge -av =x11-libs/qt-3.3.6-r1', which completed successfully, but
 when attempting a rebuild of kdebase I get the same, above, error.

If it says install kdelibs first (means re-build), why didn't you do so?

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


pgpEqAvBsrWEJ.pgp
Description: PGP signature


Re: [gentoo-user] Re: Mount and write ntfs (natively)

2006-08-10 Thread Alexander Skwar

Harry Putnam wrote:

Harry Putnam [EMAIL PROTECTED] writes:


Alexander, Do you know if the system described above is what ntfs-g3
does too?


One could never determine something that basic from the man page
supplied with it.  After reading it, I still know nothing about how it
works. 

With a disk mounted under this tool can one simply say 
`echo data file' and  `file' appears and can be edited?


With this tool, you mean ntfs-3g?

If so, then yes, creating files and resizing (ie. making them
larger or smaller) should be possible, according to what I read.
I haven't checked this, as I don't have NTFS file systems on my
Linux boxes ;)

Alexander Skwar
--
I wasn't recommending that we make the links for them, only provide them
with the tools to do so if they want to take the gamble (or the gambol).
 -- Larry Wall in [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] kdebase won't re-build

2006-08-10 Thread Gian Domeni Calgeer
  that).  I also rebuilt kdelibs (at the same time as qt - qt was

 If it says install kdelibs first (means re-build), why didn't you do so?

Obviously, he did. 

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



[gentoo-user] burning audiocd with k3b

2006-08-10 Thread Arnau Bria
Hi,

I'm trying to burn a audiocd using k3b but it gives me Error all the
time.

I'm able to burn Data CD projects, so I suppose my k3b is correctly
configured...

here's the error output from k3b, I'm using a cd-rw of 700MB (80 min)


System
---
K3b Version: 0.12.14

KDE Version: 3.5.2
QT Version:  3.3.6
Kernel:  2.6.16-gentoo-r9
Devices
---
HL-DT-ST RW/DVD GCC-4481B E106 (/dev/hdc, ) at /mnt/cdrom [CD-R; CD-RW;
CD-ROM; DVD-ROM] [DVD-ROM; CD-ROM; CD-R; CD-RW] [SAO; TAO; RAW;
SAO/R96P; SAO/R96R; RAW/R16; RAW/R96P; RAW/R96R]

Used versions
---
cdrecord: 2.1.1a10

cdrecord
---
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
SCSI buffer size: 64512
Cdrecord-ProDVD-Clone 2.01.01a10 (i686-pc-linux-gnu) Copyright (C)
1995-2006 Jörg Schilling TOC Type: 0 = CD-DA
Using libscg version 'schily-0.8'.
Driveropts: 'burnfree'
atapi: 1
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   : 
Vendor_info: 'HL-DT-ST'
Identifikation : 'RW/DVD GCC-4481B'
Revision   : 'E106'
Device seems to be: Generic mmc2 DVD-ROM.
Current: CD-RW
Profile: CD-RW (current)
Profile: CD-R 
Profile: CD-ROM 
Profile: DVD-ROM 
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-2 SWABAUDIO BURNFREE 
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P
RAW/R96R Drive buf size : 1793792 = 1751 KB
FIFO size  : 4194304 = 4096 KB
Encoding speed : 1000x (75000 sectors/s) for libedc from Heiko Eißfeldt
pregap1: -1
Track 01: audio   37 MB (03:43.17) no preemp swab copy
Track 02: audio   29 MB (02:55.86) no preemp swab copy pregapsize:   0
Track 03: audio   49 MB (04:52.40) no preemp swab copy pregapsize:   0
Track 04: audio   34 MB (03:27.10) no preemp swab copy pregapsize:   0
Track 05: audio   41 MB (04:05.24) no preemp swab copy pregapsize:   0
Track 06: audio   40 MB (03:58.72) no preemp swab copy pregapsize:   0
Track 07: audio   33 MB (03:17.80) no preemp swab copy pregapsize:   0
Track 08: audio   31 MB (03:05.42) no preemp swab copy pregapsize:   0
Track 09: audio   43 MB (04:15.64) no preemp swab copy pregapsize:   0
Track 10: audio   45 MB (04:31.54) no preemp swab copy pregapsize:   0
Track 11: audio   38 MB (03:46.98) no preemp swab copy pregapsize:   0
Track 12: audio   35 MB (03:33.81) no preemp swab copy pregapsize:   0
Track 13: audio   28 MB (02:51.92) no preemp swab copy pregapsize:   0
Track 14: audio   33 MB (03:21.85) no preemp swab copy pregapsize:   0
Track 15: audio   39 MB (03:57.12) no preemp swab copy pregapsize:   0
Track 16: audio   50 MB (04:59.89) no preemp swab copy pregapsize:   0
Track 17: audio   33 MB (03:18.30) no preemp swab copy pregapsize:   0
Track 18: audio   59 MB (05:53.84) no preemp swab copy pregapsize:   0
Track 19: audio   36 MB (03:36.56) no preemp swab copy pregapsize:   0
Track 20: audio   44 MB (04:22.04) no preemp swab copy pregapsize:   0
Total size:  786 MB (77:55.25) = 350644 sectors
Lout start:  786 MB (77:57/19) = 350644 sectors
Current Secsize: 2048
ATIP info from disk:
  Indicated writing power: 3
  Reference speed: 6
  Is not unrestricted
  Is erasable
  Disk sub type: High speed Rewritable (CAV) media (1)
  ATIP start of lead in:  -11938 (97:22/62)
  ATIP start of lead out: 359849 (79:59/74)
  1T speed low:  4 1T speed high: 10
  2T speed low:  4 2T speed high:  0 (reserved val  6)
  power mult factor: 1 5
  recommended erase/write power: 5
  A1 values: 24 1A D8
  A2 values: 26 B2 4A
Disk type:Phase change
Manuf. index: 43
Manufacturer: Acer Media Technology, Inc.
Blocks total: 359849 Blocks current: 359849 Blocks remaining: 9205
Starting to write CD/DVD at speed 10 in real RAW/RAW96R mode for single
session. Last chance to quit, starting real write in 3 seconds.
   2 seconds.
   1 seconds.
   0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
BURN-Free is OFF.
Turning BURN-Free on
Performing OPC...
/usr/bin/cdrecord: WARNING: Drive returns wrong startsec (0) using
-11938 from ATIP Writing lead-in at sector -11938
Lead-in write time:   22.280s
Writing pregap for track 1 at -150
Starting new track at sector: 0
Track 01:0 of   39 MB written.
Track 01:1 of   39 MB written (fifo 100%) [buf 100%]  10.0x.
Track 01:2 of   39 MB written (fifo 100%) [buf 100%]  10.3x.
Track 01:3 of   39 MB written (fifo  90%) [buf  99%]   9.9x.
/usr/bin/cdrecord: Success. write_g1: scsi sendcmd: no error
CDB:  2A 00 00 00 05 48 00 00 1A 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 03 00 00 00 00 0A 00 00 00 00 0C 00 00 00
Sense Key: 0x3 Medium Error, Segment 0
Sense Code: 0x0C Qual 0x00 (write error) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 1.844s timeout 40s
/usr/bin/cdrecord: A write error occured.
/usr/bin/cdrecord: Please properly 

Re: [gentoo-user] kdebase won't re-build

2006-08-10 Thread Dirk Heinrichs
Am Donnerstag, 10. August 2006 11:37 schrieb ext Gian Domeni Calgeer:
   that).  I also rebuilt kdelibs (at the same time as qt - qt was
 
  If it says install kdelibs first (means re-build), why didn't you do
  so?

 Obviously, he did.

Aargh, sorry. Overlooked that.

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


pgpoVozvRHUxP.pgp
Description: PGP signature


Re: [gentoo-user] IP Masquerading hardware, crossover versus hub

2006-08-10 Thread Jure Varlec
On Thursday 10 August 2006 05:22, Iain Buchanan wrote:
 Go not to gentoo-user for council, for they will say both hub and no
 hub.

I say switch :P

-- 
Jure Varlec


pgpD1wbHFlNoA.pgp
Description: PGP signature


[gentoo-user] Re: Maillist+Forum+Newsgroup solution ?

2006-08-10 Thread Jochen Schalanda
Enrico Weigelt [EMAIL PROTECTED] wrote:
 does anyone know an Maillist+Web-Forum+Newsgroup solution ?

Maybe Mailman (net-mail/mailman). Mailing lists and NNTP-Gateway, as well as
Mailing list archives via HTTP, which has no posting capabilities, though.

Best regards,
Jochen

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] x86 2006.0 package cd

2006-08-10 Thread Rafael Barrera Oro
Does anyone know where can i find an iso image of the 2006.0 package cd 
for the x86 arch, i cant find it :(


Thank you

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



Re: [gentoo-user] burning audiocd with k3b

2006-08-10 Thread Richard Fish

On 8/10/06, Arnau Bria [EMAIL PROTECTED] wrote:

Track 19: audio   36 MB (03:36.56) no preemp swab copy pregapsize:   0
Track 20: audio   44 MB (04:22.04) no preemp swab copy pregapsize:   0
Total size:  786 MB (77:55.25) = 350644 sectors
Lout start:  786 MB (77:57/19) = 350644 sectors


Have you tried to blank the cd first?

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



Re: [gentoo-user] burning audiocd with k3b

2006-08-10 Thread PaulNM
It seems cdrecord comes across a write error after about 3 megs in. 
Since this is a cd-rw, I'd suggest:


1: Try recording a data project on that particular cd just to rule out 
cd problems. (Of course make sure the data files are at least 4 megs. 
I'd go with at least 10-20 megs.)


2: K3B has an option to create the cd image before the actual burn, as 
opposed to on-the-fly.


3: Try the simulate option.

4: I'd also erase the cd through the menu option before actually trying 
any burns instead of letting k3b do it automatically.


5: It also wouldn't hurt to re-emerge cdrecord, or even k3b, but I'd try 
the other things first.


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



Re: [gentoo-user] How to see network activity?

2006-08-10 Thread michael


On Wed, 9 Aug 2006, gentuxx wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:

this has been a fascinating conversation. thanks boris for starting it.
i've tested almost everything that has been mentioned.

i often have to monitor my computers over slow text-only ssh
sessions, so my
focus may be a bit different from others.

tcpdump (and ethereal/wireshark) of course can not be beat for
looking inside
packets.

to see what connections are open and how much data they are
transferring, in a
telnet/ssh situation i like bmon and iftop. i especially appreciate the
graphical feature of bmon.

in real graphical environments, i like etherape.

thanks to everyone who has contributed so much wisdom


On Thu, 10 Aug 2006, Norman Rie? wrote:


Boris Sobolev schrieb:

 Hi folks,
 I would like to see the network activoity going in an out of my box.
 Any command to use for that?

 Thanks.
 Boris



iftop
is nice to watch, what connetions are currently open an how many
traffic they produce.
--
gentoo-user@gentoo.org mailing list




For the graphically challenged, or the CLI initiated, try bwm-ng.  I
initially came across it because of its mention on Richard Bejtlich's
blog.  And fortunately there was an ebuild for it in portage!  But
it's a pretty cool tool, nonetheless.

I too have tried a few of the different tools mentioned.  I have loved
etherape for quite some time (years).  Good to know that there's an
ebuild for it!  I had almost forgotten all about it until Michael
mentioned it.

- --
gentux


another 2 great advantages of etherape:

1. looks cool

2. i think our brains can better process a lot of information as visual
patterns. i have to concentrate more to read all the fields in iftop or bmon,
but a quick glance at etherape gives me a very good sense of it looks ok or
something seems wrong. etherape is one of those things i always like to
leave running, so my brain imprints on the patterns of normal behavior and i
can more rapidly spot something out of the ordinary. i try to teach this
principle to all my students: know what your system looks like normally, so
you can spot something out of the ordinary.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] x86 2006.0 package cd

2006-08-10 Thread Dale
Rafael Barrera Oro wrote:
 Does anyone know where can i find an iso image of the 2006.0 package
 cd for the x86 arch, i cant find it :(

 Thank you

 Rafael

http://www.gtlib.gatech.edu/pub/gentoo/releases/x86/2006.0/

then click on whichever you want.  You can get a minimal or live CD.

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



[gentoo-user] Moving installation to another HD

2006-08-10 Thread Daniel da Veiga

Hello list,

I've had Gentoo running for a long time now, before that I was using
WinXP (this is my work machine, I have no choice). I simply got an old
(8GB) HD, setup it, installed and started working (with dual boot,
just in case). After a while, I found myself not using winxp anymore,
as most of my stuff was already ported (printers, file shares) or
emulated (novell using qemu and full virtualization). Now, I'm running
out of space in this old HD, and want to move my Gentoo install over
to the 40GB original disk of this machine.

I thought about dd the entire old disk to the new one, but I guess
partitioning will not like that (because of the size, and I have been
using fixed primary partitions), maybe tar or something like that.
Anyway, if anyone have suggestions on the procedure needed to do that,
it would be more than welcome. Any info needed, please let me know.

Thanks in advance.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] x86 2006.0 package cd

2006-08-10 Thread Mike
Dale wrote:
 Rafael Barrera Oro wrote:
 Does anyone know where can i find an iso image of the 2006.0 package
 cd for the x86 arch, i cant find it :(

 Thank you

 Rafael
 
 http://www.gtlib.gatech.edu/pub/gentoo/releases/x86/2006.0/
 
 then click on whichever you want.  You can get a minimal or live CD.
 
 Dale
 :-)  :-)
He wants the PACKAGE CD I can't find one either for x86 arch.

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



Re: [gentoo-user] x86 2006.0 package cd

2006-08-10 Thread Rafael Barrera Oro

Dale wrote:


Rafael Barrera Oro wrote:
 


Does anyone know where can i find an iso image of the 2006.0 package
cd for the x86 arch, i cant find it :(

Thank you

Rafael
   



http://www.gtlib.gatech.edu/pub/gentoo/releases/x86/2006.0/

then click on whichever you want.  You can get a minimal or live CD.

Dale
:-)  :-)
 

Maybe i am saying something stupid, but those are minimal, live or stage 
cd's and i am looking for precompiled packages cd (found on the 2005 
branch for example)

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Moving installation to another HD

2006-08-10 Thread Christoph Eckert

 Any info needed, please let me know.

* Boot from a live-CD
* mount old and new drive partitions
* cd to the mountpoint containing the data to be copied
* tar -cSp --numeric-owner -f - . | ( cd /mnt/NEW  tar xSpvf - )
* Drink coffee :)

Worked for me more than once.


ce

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] burning audiocd with k3b

2006-08-10 Thread Alexander Kirillov

/usr/bin/cdrecord: A write error occured.
/usr/bin/cdrecord: Please properly read the error message above.
write track data: error after 3309696 bytes


Try to disable dma on this drive.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Moving installation to another HD

2006-08-10 Thread Dale
Daniel da Veiga wrote:
 On 8/10/06, Christoph Eckert [EMAIL PROTECTED] wrote:

  Any info needed, please let me know.

 * Boot from a live-CD
 * mount old and new drive partitions
 * cd to the mountpoint containing the data to be copied
 * tar -cSp --numeric-owner -f - . | ( cd /mnt/NEW  tar xSpvf - )
 * Drink coffee :)

 Worked for me more than once.


 Thanks Cristopher. I'll give it a try tomorrow morning.


I always boot from the CD, mount both drives as above then do a cp -av
/old/stuff/ new/stuff and it works.  No tarring and such then.  Still
get to drink a cup of coffee though.  O_O

Dale

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



Re: [gentoo-user] Moving installation to another HD

2006-08-10 Thread Daniel da Veiga

On 8/10/06, Richard Fish [EMAIL PROTECTED] wrote:

On 8/10/06, Christoph Eckert [EMAIL PROTECTED] wrote:
 * Boot from a live-CD
 * mount old and new drive partitions
 * cd to the mountpoint containing the data to be copied
 * tar -cSp --numeric-owner -f - . | ( cd /mnt/NEW  tar xSpvf - )
 * Drink coffee :)

The one thing you may have to take care of is grub, since I assume the
/boot directory will be moving to the 40G drive as well.  Assuming the
partition containing /boot is /dev/hda1, then the following should
work:

echo (hd0) /dev/hda  device.map
grub --device-map=device.map  EOF
root (hd0,0)
setup (hd0)
quit
EOF


You seem to have read my mind, I was just about to ask about the boot
signature and if I should run grub again. Yes, I'm moving the whole
partition scheme along with data.

Linux cp is a powerful command, gotta take a look at its manual.

Thanks for the info so far people, I've decided to move my stuff by
the morning, I'll post any disaster/sucess reports.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Mount and write ntfs (natively)

2006-08-10 Thread reader
[EMAIL PROTECTED] writes:

Yikes ... looks like my literacy level is greviously low..

 First, sorry this got somewhat disjointed.

 I think you may have already ansered what I wanted to know but for the
 sake of clarity.

 The `puppy' live cd described in my quotation says it can create a
 file on ntfs and this write withing that space.  In other words it
 isn't normal read/write as we normally think of it.

That gibberish above should say:

The `Puppy' live CD described in my quotation in earlier post, says it
can create a file on ntfs and THEN write WITHIN that space.  In other
words it isn't normal read/write as we normally think of it.

 My question to you was if ntfs-g3 can read/write in a normal way to
 ntfs.  That is could one do:
echo data file

 and then
rm -f file

 or vim file edit save in the normal way?

 I think you've already said you think it can.  I was unable to tell
 from the man page installed with ntfs-3g, and wanted to know for sure
 before getting myself into a bind.



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Is the best solution still NIS+NFS?

2006-08-10 Thread Leandro Melo de Sales

Hi list,

 few years later I setup a environment which shares the /home using
NFS for the users and the authentication method was NIS. Is this still
the best solution?
 My current environment is based on LDAP where all services use it. I
configured PAM+NSSwitch, Postfix, and so on. Now, I want linux client
workstations be authenticated remotely on my LDAP server and mount the
users home. What do you recommend?

Thanks,

Leandro.

--
Leandro Melo de Sales.
Computer Science MSc Candidate
Distributed System Lab - lsd.ufcg.edu.br
Pervasive Computing Lab - embedded.ufcg.edu.br
Universidade Federal de Campina Grande - UFCG
--
gentoo-user@gentoo.org mailing list



[gentoo-user] mencoder did nothing all night at 100% CPU!

2006-08-10 Thread Iain Buchanan
Hi all,

I'm trying out mencoder to try a few different codecs and formats for 1.
dvd authoring and 2. just compressing to keep on my HD.

This is what I tried last night:

mencoder 2006.06.24_09-26-48.dv -o 2006.06.24_09-26-48.avi -ovc lavc -oac lavc

that was ok, GREAT file size (original 350MB dv went down to 13MB), but
crappy quality - I could see all the compression squares.  Then I
tried:

mencoder 2006.06.24_09-26-48.dv -o 2006.06.24_09-26-48.avi -ovc lavc -lavcopts 
vcodec=mpeg4:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:precmp=2:cmp=2:subcmp=2:preme=2:qns=2
 -oac lavc

which was better quality, and still a great file size, but I could still
see some quit noticeable compression artifacts.

THEN I thought, well if I'm going to encode for DVD, lets try: 

$ mencoder 2006.06.24_09-26-48.dv -of mpeg -ovc lavc -lavcopts 
vcodec=mpeg2video -oac pcm -o 2006.06.24_09-26-48.mpeg   

which went straight to 100% CPU.  I then went to bed, and when I got up
in the morning 7 1/2 hours later, it was in the same spot at 100% cpu!
The file size was 0 bytes.  Heres the output:

$ mencoder 2006.06.24_09-26-48.dv -of mpeg -ovc lavc -lavcopts
vcodec=mpeg2video -oac pcm -o 2006.06.24_09-26-48.mpeg
MEncoder 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU:   Intel(R) Pentium(R) 4 CPU 3.00GHz (Family: 15, Model:
2, Stepping: 9)
MMX supported but disabled
MMX2 supported but disabled
CPUflags: Type: 15 MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
93 audio  211 video codecs
success: format: 0  data: 0x0 - 0x15fd6500
RAWDV file format detected.
VIDEO:  [DVSD]  720x576  24bpp  25.000 fps0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:22  fourcc:0x44535644  size:720x576  fps:25.00
ftime:=0.0400
==
Opening audio decoder: [libdv] Raw DV Audio Decoder
AUDIO: 32000 Hz, 2 ch, s16le, 28800.0 kbit/2812.50% (ratio:
360-128000)
Selected audio codec: [libdv] afm: libdv (raw DV audio decoder (libdv))
==
PACKET SIZE: 2048 bytes, deltascr: 245760
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.00, round: 1
==
Opening video decoder: [dshow] DirectShow video codecs
Decoder supports the following YUV formats: YUY2 UYVY
Decoder is capable of YUV output (flags 0x9)
VDec: vo config request - 720 x 576 (preferred colorspace: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.

SwScaler: BICUBIC scaler, from Packed YUY2 to Planar YV12 using C
videocodec: libavcodec (720x576 fourcc=3267706d [mpg2])
Selected video codec: [qdv] vfm: dshow (Sony Digital Video (DV))
==
Limiting audio preload to 0.4s.
Increasing audio density to 4.
Writing header...
Killed

(I killed it :)  So, firstly, why didn't that work?

And secondly, how should I encode if I want to write the movie to a DVD,
and have really good quality (close to the original dv)?

Lastly, how about storing on disk - what codec should I use there?  As I
said, I didn't like the quality of the first two attempts, so something
a bit nicer, (at the expense of file size) would be good.


Well, there are some big asks in this email - I appreciate anyone
looking into it and offering tips.  Thanks!

(PS I've been reading:
http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide
http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-dvd-mpeg4.html#menc-feat-dvd-mpeg4-muxing-avi-limitations
http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-libavcodec.html
http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-mpeg.html
thanks.)
-- 
Iain Buchanan iaindb at netspace dot net dot au

Four fifths of the perjury in the world is expended on tombstones, women
and competitors.
-- Lord Thomas Dewar

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mencoder did nothing all night at 100% CPU!

2006-08-10 Thread Steve Dibb

Iain Buchanan wrote:

(I killed it :)  So, firstly, why didn't that work?

  

man mplayer -- exporting to MPEG is still not perfect.


And secondly, how should I encode if I want to write the movie to a DVD,
and have really good quality (close to the original dv)?
  


Use ffmpeg.  See the -target options.

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



Re: [gentoo-user] Moving installation to another HD

2006-08-10 Thread Anthony E. Caudel
Daniel da Veiga wrote:
 On 8/10/06, Richard Fish [EMAIL PROTECTED] wrote:
 On 8/10/06, Christoph Eckert [EMAIL PROTECTED] wrote:
  * Boot from a live-CD
  * mount old and new drive partitions
  * cd to the mountpoint containing the data to be copied
  * tar -cSp --numeric-owner -f - . | ( cd /mnt/NEW  tar xSpvf - )
  * Drink coffee :)

 The one thing you may have to take care of is grub, since I assume the
 /boot directory will be moving to the 40G drive as well.  Assuming the
 partition containing /boot is /dev/hda1, then the following should
 work:

 echo (hd0) /dev/hda  device.map
 grub --device-map=device.map  EOF
 root (hd0,0)
 setup (hd0)
 quit
 EOF
 
 You seem to have read my mind, I was just about to ask about the boot
 signature and if I should run grub again. Yes, I'm moving the whole
 partition scheme along with data.
 
 Linux cp is a powerful command, gotta take a look at its manual.
 
 Thanks for the info so far people, I've decided to move my stuff by
 the morning, I'll post any disaster/sucess reports.
 
Also don't forget to adjust fstab and your kernel line in grub.conf.

Tony

-- 
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] X font problem

2006-08-10 Thread Iain Buchanan
Hi all,

when I play around with Desktop  Preferences  Font in Gnome, I get
some strange behaviour.

Many fonts I select come up with strange characters for tabs, followed
by the real tab space.  For example
-- here I see a funny character, then the  about 2cm away.

The funny character can be:
courier   light dotted square
courier-new   square
terminal  filled in rectangle
lucida-typewriter light dotted square

I also saw an 'a' for one font.

This isn't just fixed with fonts either.  I have a whole host of fonts
installed, and for some I see the character, some I don't.

But then some, like courier 10 Pitch, appear fine.

I checked my xorg logs, and I can't see any helpful messages - no font
issues at least.

What now?  This is a bit ugly and annoying obviously!  What can I look
at next to see where the problem is coming from?

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

Never tell people how to do things.  Tell them WHAT to do and they will
surprise you with their ingenuity.
-- Gen. George S. Patton, Jr.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to see network activity?

2006-08-10 Thread Thomas Harold

Boris Sobolev wrote:
Hi folks, 


I would like to see the network activity going in an out of my box.
Any command to use for that?


I haven't seen nettop mentioned yet.  It's more of a traffic flow tool 
showing the bits/sec and packets/sec in a tree format.  Works in a 
terminal window (all text).

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is the best solution still NIS+NFS?

2006-08-10 Thread Donnie Berkholz

Leandro Melo de Sales wrote:

Hi list,

 few years later I setup a environment which shares the /home using
NFS for the users and the authentication method was NIS. Is this still
the best solution?
 My current environment is based on LDAP where all services use it. I
configured PAM+NSSwitch, Postfix, and so on. Now, I want linux client
workstations be authenticated remotely on my LDAP server and mount the
users home. What do you recommend?


You can use LDAP + pam_ldap for auth, I think there's a guide on gentoo.org.

Thanks,
Donnie
--
gentoo-user@gentoo.org mailing list