[gentoo-user] Gentoo Install - Concern w/ NVIDIA nForce4 Ultra

2005-12-15 Thread Doug Brown
  After a lot of research  I have decided to go with Gentoo, and I think I have all the install  issues ironed out. My main concern is with compatiblity issues and my  mobo. I have read a ton of horror stories, and I want to make sure I am  prepared for any issues that could arise when I install the OS. I am  also concerned mith the onboard raid controller and onboard lan. I plan on setting up  RAID 0+1. My mobo is a DFI Lan Party NF4 Ultra-D. Any help would be  much appreciated.Thanks  
	
		Yahoo! Shopping 
Find Great Deals on Holiday Gifts at Yahoo! Shopping 

[gentoo-user] kde and network sound

2005-12-15 Thread Qv6

Folks

Has anyone figured out how to use the kde network sound feature. I'd 
like to try it, but not sure how to go about iit.

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



Re: [gentoo-user] emerge starts slowly

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 00:14:13 -0600, Justin Krejci wrote:

 When I run emerge -s whatever or emerge sync or any emerge command 
 apparently, it usually takes about 1 second to start the command on the
 AMD64 system whereas on the Athlon-XP system it usually takes about
 10-30 seconds fore the command to start.

Is that just the first time you run a portage command? I see the same on
my AMD64, it can take up to 30 seconds to run emerge --info, but only
around a second to run it again.

It's clearly something to do with loading the various Python libraries,
classes or modules, but I haven't been able to pin down why it takes so
long.


-- 
Neil Bothwick

For Sale: Positronic Brain-Found near S.F.-Needs Work


signature.asc
Description: PGP signature


Re: [gentoo-user] udev and fstab

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 08:30:08 +0100, Dirk Heinrichs wrote:


  udev handles the creation of the device nodes, mounting is handled by
  hal. hal normally creates its own mount points in /media, but if the
  device is listed in /etc/fstab, it will use whatever is in there.
 
 How do you know that mounting is handled by hal on his machine? He
 didn't say so. He could also use the kernel automounter to
 create /media/whatever.

Fair point, but either way, it is not udev doing it and /etc/fstab is not
involved.


-- 
Neil Bothwick

In an atomic war, all men will be cremated equal.


signature.asc
Description: PGP signature


Re: [gentoo-user] converting any video to mpeg-1, mpeg-4 or DivX-5

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 13:15:54 +0930, Iain Buchanan wrote:

 2. what program will convert 'anything' to said format.

transcode and mencoder will do it, but ffmpeg is easier to use. Less
arcane options and a readable man page make life a lot easier for ffmpeg
users :)


-- 
Neil Bothwick

Windows - From the people who brought you EDLIN!


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: How to make emerge skirt a package built from tar.gz

2005-12-15 Thread Neil Bothwick
On Wed, 14 Dec 2005 21:20:59 -0600, [EMAIL PROTECTED] wrote:

  EXTRA_ECONF=--enable-rootcommit emerge cvs
 
  usually works, although not all ebuilds respect $EXTRA_ECONF.
 
 Can you make an educated guess about that?  I mean is it a pretty high
 percentage that allow that env flag?

No, and it wouldn't matter. Even if 99.9% of ebuilds respected it, yours
could be in the other 0.1%. It should be fairly high though. Just run the
command, Ctrl-C when the ./configure stage has completed and look in
config.log in the work directory.


-- 
Neil Bothwick

Windows: just another pane in the glass


signature.asc
Description: PGP signature


Re: [gentoo-user] emerge starts slowly

2005-12-15 Thread Dale

Neil Bothwick wrote:


On Thu, 15 Dec 2005 00:14:13 -0600, Justin Krejci wrote:

 

When I run emerge -s whatever or emerge sync or any emerge command 
apparently, it usually takes about 1 second to start the command on the

AMD64 system whereas on the Athlon-XP system it usually takes about
10-30 seconds fore the command to start.
   



Is that just the first time you run a portage command? I see the same on
my AMD64, it can take up to 30 seconds to run emerge --info, but only
around a second to run it again.

It's clearly something to do with loading the various Python libraries,
classes or modules, but I haven't been able to pin down why it takes so
long.


 

Just so you won't feel alone, same here.  I mostly do this on #1 below 
in my sig.  Don't get me started on #4.  LOL  It's slow at everything.  :(


I think the new portage is supposed to be better.  That is what I have 
read anyway.  I dunno for sure.  To chicken to keyword it.  LOL


Dale
:-)

--
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.  
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.

3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 128MBs of ram and a 2.5GB 
drive.
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB 
SCSI drive.

All run Gentoo, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  


--
gentoo-user@gentoo.org mailing list



[gentoo-user] postgresql client problems

2005-12-15 Thread Dirk Dil
Hi,

My computer is an amd64 sempron with a fresh Gentoo Linux 2005.1-r1.  I'm 
trying to get pgaccess and
postgresql to set up.  

Both have been successfully emerged.  I can create a data base with my
user dirk and access it using psql.  Upon /etc/init.d/postgres stop/start
I do find the following in my logfile:

LOG:  received fast shutdown request
LOG:  shutting down
LOG:  database system is shut down
LOG:  could not send test message on socket for statistics collector:
Operation not permitted
LOG:  disabling statistics collector for lack of working socket
LOG:  database system was shut down at 2005-12-15 08:35:49 CET
LOG:  checkpoint record is at 0/AC5068
LOG:  redo record is at 0/AC5068; undo record is at 0/0; shutdown TRUE
LOG:  next transaction ID: 558; next OID: 17231
LOG:  database system is ready

When trying to access the data base using pgaccess I get the following
message:


Error trying to connect to database 'test' 
 on host localhost 

PostgreSQL error message: Connection to database failed
couldn't open socket: connection refused


With no further messages in the postgres log.

After having carefully followed the FAQs and all man pages etc.etc. It
refuses to connect. I havn't got a clue as to what is wrong and would
appreciate a push in the right direction.  I suspect sockets but don't
know where to go from here.

TIA for reactions

Dirk


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] VNCviewer config port

2005-12-15 Thread ddup1
Hi,

does anyone know how to specify a port to vncviewer (i used vncviewer
under windows) and want to connect to my pc at home but not on port
5900.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Istanbul - missing theoraenc

2005-12-15 Thread Ow Mun Heng
Where can I get theoraenc? I've already emerged gst-plugins-theora but
no dice.



-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 18:21:54 up 1 day, 2:58, 5 users, load average: 0.95, 0.44,
0.33 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: dd isos

2005-12-15 Thread Harald Arnesen
Neil Bothwick [EMAIL PROTECTED] writes:

 On Wed, 14 Dec 2005 12:36:50 -0500, Boyd Stephen Smith Jr. wrote:


 I've read that dd actually has problems reading from cdroms and isos 
 produced with something like dd if=/dev/cdrom of=my.iso conv=noerror 
 would be invalid.  Can anyone confirm / deny, preferably with some sort 
 of reference or test.

 I've never tried with conv=noerror, but dd has worked fine for me on
 several occasions when extracting ISO images from data CDs and DVDs.

 I don't use it any more because it is slow, cp and cat give the same
 result and are faster.

dd is not slower than cp/cat if you increase the block size from the
default 512 bytes.
-- 
Hilsen Harald.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] Merging lvm partitions

2005-12-15 Thread Stroller


On Dec 12, 2005, at 6:27 pm, Peper wrote:


Why?  If they really are LVM physical volumes, you can create a single
(or modify an existing) volume group span both, and create or grow
logical volumes without regards to the size of the individual
partitions.
Just for order. I have 3 LVM partitions only beacause i've cleaned my 
disk off

winshit in stages.


I think the only way to do this is to add a second hard-drive to the 
volume group, move data off the physical volumes of the 3 partitions, 
use `parted` or `cfdisk` to delete the 3 partitions  create a new one, 
then add it back to the volume group  migrate all the data off the new 
disk but it would be unusual for anyone to bother to do so (if 
you're not worried about uptime you could prolly just copy the data off 
 back on again). The whole point of LVM is to have the sort of 
convenience that you've experienced during your removal of Windows from 
those partitions


And maybe one more thing: wouldn't it minimize logical volumes 
fragmentation?


Interesting question. I would think that the abstraction layer of LVM 
in itself introduces a performance hit, but would guess it's quite 
small. I think the most people using LVM are prepared to sacrifice a 
little performance for its convenience.


Stroller.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] Merging lvm partitions

2005-12-15 Thread Stroller


On Dec 12, 2005, at 6:27 pm, Peper wrote:


Why?  If they really are LVM physical volumes, you can create a single
(or modify an existing) volume group span both, and create or grow
logical volumes without regards to the size of the individual
partitions.
Just for order. I have 3 LVM partitions only beacause i've cleaned my 
disk off

winshit in stages.


I think the only way to do this is to add a second hard-drive to the 
volume group, move data off the physical volumes of the 3 partitions, 
use `parted` or `cfdisk` to delete the 3 partitions  create a new one, 
then add it back to the volume group  migrate all the data off the new 
disk but it would be unusual for anyone to bother to do so (if 
you're not worried about uptime you could prolly just copy the data off 
 back on again). The whole point of LVM is to have the sort of 
convenience that you've experienced during your removal of Windows from 
those partitions


I forgot  the link when I just sent this message before - I think this 
is the right section of the HOWTO:

http://www.tldp.org/HOWTO/LVM-HOWTO/removeadisk.html

And maybe one more thing: wouldn't it minimize logical volumes 
fragmentation?


Interesting question. I would think that the abstraction layer of LVM 
in itself introduces a performance hit, but would guess it's quite 
small. I think the most people using LVM are prepared to sacrifice a 
little performance for its convenience.


Stroller.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] converting any video to mpeg-1, mpeg-4 or DivX-5

2005-12-15 Thread Iain Buchanan
On Thu, 2005-12-15 at 09:55 +, Neil Bothwick wrote:
 On Thu, 15 Dec 2005 13:15:54 +0930, Iain Buchanan wrote:
 
  2. what program will convert 'anything' to said format.
 
 transcode and mencoder will do it, but ffmpeg is easier to use. Less
 arcane options and a readable man page make life a lot easier for ffmpeg
 users :)

$ man ffmpeg
No manual entry for ffmpeg

`ffmpeg` produces some help info, but then
-vcodec codec   force video codec ('copy' to copy stream)
doesn't say what the actual codecs are...

I guess I'll google it...
-- 
Iain Buchanan iaindb at netspace dot net dot au

All intelligent species own cats.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Backups

2005-12-15 Thread Allan Spagnol Comar
Good day Gentoo List !!!

Some one knows where I can find some good material about backuping linux boxes ?

thanks, Allan

--
An application asked:
Requeires Windows 9x, NT4 or better,
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge starts slowly

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 03:59:51 -0600, Dale wrote:

 I think the new portage is supposed to be better.  That is what I have 
 read anyway.  I dunno for sure.  To chicken to keyword it.  LOL

I run ~arch on everything, so this is still the case with portage 2.0.53.
My iBook, running the same version, doesn't have this issue.


-- 
Neil Bothwick

We all know what comes after 'X', said Tom, wisely.


signature.asc
Description: PGP signature


Re: [gentoo-user] converting any video to mpeg-1, mpeg-4 or DivX-5

2005-12-15 Thread Martins Steinbergs

 
  transcode and mencoder will do it, but ffmpeg is easier to use. Less
  arcane options and a readable man page make life a lot easier for ffmpeg
  users :)

 $ man ffmpeg
 No manual entry for ffmpeg

 `ffmpeg` produces some help info, but then
 -vcodec codec   force video codec ('copy' to copy stream)
 doesn't say what the actual codecs are...

hit plain 'ffmpeg' without any option and you will get full help

or 
ffmpeg -formatsshow available formats, codecs, protocols, ...

or online
http://ffmpeg.sourceforge.net/ffmpeg-doc.html

by the way, hadn't use ffmpeg for long time and just checked and looks like 
mine copy is broken, encodes with quality setting in thousands so its now 
good tool to fill the free space on storage, and clock speeds up. will 
investigate later. 

martins
-- 
Linux 2.6.14-ck6 AMD Athlon(tm) 64 Processor 3200+
 15:34:21 up 11:46,  5 users,  load average: 1.15, 1.07, 1.02


pgpenjrDGhBmK.pgp
Description: PGP signature


Re: [gentoo-user] emerge starts slowly

2005-12-15 Thread Dale

Neil Bothwick wrote:


On Thu, 15 Dec 2005 03:59:51 -0600, Dale wrote:

 

I think the new portage is supposed to be better.  That is what I have 
read anyway.  I dunno for sure.  To chicken to keyword it.  LOL
   



I run ~arch on everything, so this is still the case with portage 2.0.53.
My iBook, running the same version, doesn't have this issue.


 

I stand corrected.  I thought I read that they had made some changes 
that made things faster.  Me confused which is normal.  At least I 
didn't have to put on my feathers to find out.  ;)


ibook as in a Apple computer?  Wonder why it is faster?  I seem to 
recall their drives are fast, usually SCSI but not sure anymore.  Any 
idea why that one is faster?


Dale
:-)

--
To err is human, I'm most certainly human.

I have four rigs:

1:  Home built; Abit NF7 ver 2.0 w/ AMD 2500+ CPU, 1GB of ram and right now two 80GB hard drives.  
2:  Home built; Iwill KK266-R w/ AMD 1GHz CPU, 256MBs of ram and a 4GB drive.

3:  Home built; Gigabyte GA-71XE4 w/ 800MHz CPU, 128MBs of ram and a 2.5GB 
drive.
4:  Compaq Proliant 6000 Server w/ Quad 200MHz CPUs, 128MBs of ram and a 4.3GB 
SCSI drive.

All run Gentoo, all run folding. #1 is my desktop, 2, 3, and 4 are set up as servers.  


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Backups

2005-12-15 Thread brettholcomb
There is a book covering backups that is supposed to be the Bible for backups.  
Unfortunately, I am not where I can lay hands on it and can't remember the 
title.

 
 From: Allan Spagnol Comar [EMAIL PROTECTED]
 Date: 2005/12/15 Thu AM 08:03:34 EST
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Backups
 
 Good day Gentoo List !!!
 
 Some one knows where I can find some good material about backuping linux 
 boxes ?
 
 thanks, Allan
 
 --
 An application asked:
 Requeires Windows 9x, NT4 or better,
 so I´ve installed Linux
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: converting any video to mpeg-1, mpeg-4 or DivX-5

2005-12-15 Thread James
Iain Buchanan iaindb at netspace.net.au writes:


 I have lots of different types of video files - from short funny ads, to
 1/2 hr tv episodes, to full movies, in all sorts of formats - wmv, avi,
 mpeg, etc.

yes we all suffer from numerous types of video. Often the differences
are trite, just enough to intice cosumers(microsoft victims) to
go out and spend money unnecessarily.

 I want to find a program (hopefully only 1!) that will help convert them
 to a format playable by the device.  I'm happy if thats a command line
 only program.  I will probably copy them 1 by 1 as I want to watch them.

yes well that's the dream we all share. Currently, it a work in progress
and to be robust, your going to use many different pieces of code.
When ffmpeg hits 1.0 your dream might be close

 Space it not too much of an issue (I'll eventually have about 60Gb on
 the device) - I'd rather not lessen the quality any more than it is
 already.

Disc space is a relative thing. It always get's filled up. Human nature.
You will never have enough disk space for adults is like
candy for children, never, ever enough.


 So, here are my questions:
 1. whats the best format to use out of the ones listed, given

Well you first have to realize that 'mpeg 4' is like saying
I want a car. It has numerous classifications and profiles that
allow a vendor to deliver 'mpeg 4' which is a virtual blend of mathematical
technologies that are slightly incompatible with other vendor's equipment
and software.

Take remote video surveillance.  'MPEG 4 ASP', is often referred to 
as the simple profile. The last time I look Mpeg4 has 18 visual object
types and 19 different visual profiles: Nine of the visual profiles are defined
my MPeg4 visual version one: simple, simple scalable, main, n-bit, core,
Scalable texture, basic animated texture, simple face animation and hybrid
It goes on and on and on. In essence when a vendor tells you, it's
mpeg4 it may be interoperable mpeg4 based video and it may not be.
Enter REVERSE ENGINEERING.

Good news. Mpeg4 porfile 10 AVC is the same as ISO's H.264, except for
some minor header differences. Currently. H.264 delivers the highest quality
for a given level of compression (that's the natural trade off for
all video and images, i.e. quality vs size. Human perception of quality
does not mimick mathematical measurements of quality, i.e. quality
as perceived by humans is subjective, interspersed with some established
proven techniques. That's why video is so complicated. The perception
 of quality is mostly subjective with some mathematical tendencies.

H.264 is the best (current consensus of experts) but, it is licensed and
owned by nefarious video moguls. Still there are filters in  the public
domain that allow for conversion (ffmpeg for one) others exist. H.264
which the same as 'mpeg4 part 10 AVC' is still a work in progress
as the various mathematical tools available are staggering. Kalman
filters is my favorite H.264 is CPU intensive, particularly
on the encoding side of compression.

However, there are those that believe 'theora' will be dominant or
dam close, in the not to distant future. MJpeg makes nice video streams,
but for broadcast in uses twice as much bandwidth to an equivalent
(remember based on subjective human evaluations) h.264 video stream.
This may not be a factor on a LAN, but it dominates WAN considerations.

a) Good quality (not much less than, or the same as original)

Use H.264 until theora matures.

b) Size reasonable - large files ok, but compression is always a
 bonus)

H.264

 2. what program will convert 'anything' to said format.

Ah, well, being a computer scientist, I dabble in things that are,
incomplete. If/when you find a simple package to do robust video
manipulations of all sorts, do drop me a line. For now, plan
on using a palate of code and packages.

All things video are a work in progress. I can run (2) color
video streams over a 56 kbps frame relay link, with acceptable
quality for a utility. For their needs, nothing is close to
H.264, at this time, as we have evaluated dozens of formats.
H.264 is also the most efficient in raw video storage.  Still
I stuggle with a software package that will run on linux;
one day. H.264 is largely being ignored by the 'open source'
community, for obvious reason, but, it does yeild stunning
results.


HTH,
James






-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge starts slowly

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 07:24:32 -0600, Dale wrote:

 I run ~arch on everything, so this is still the case with portage
 2.0.53. My iBook, running the same version, doesn't have this issue.

 I stand corrected.  I thought I read that they had made some changes 
 that made things faster.  Me confused which is normal.  At least I 
 didn't have to put on my feathers to find out.  ;)

There have been changes to make the cache handling faster, but this is
the initial start up that is the problem.

 ibook as in a Apple computer?  Wonder why it is faster?  I seem to 
 recall their drives are fast, usually SCSI but not sure anymore.  Any 
 idea why that one is faster?

Nothing special about the hardware, a standard 4200rpm IDE laptop drive.
The SATA RAID in my amd64 box should cream it, and does for everything
else.

One day I'll find the time to experiment on the two setups, and my x86
box, to try and find the difference here.


-- 
Neil Bothwick

Penis Envy is a total Phallusy.


signature.asc
Description: PGP signature


[gentoo-user] Re: How to make emerge skirt a package built from tar.gz

2005-12-15 Thread reader
Neil Bothwick [EMAIL PROTECTED] writes:

 No, and it wouldn't matter. Even if 99.9% of ebuilds respected it, yours
 could be in the other 0.1%. It should be fairly high though. Just run the
 command, Ctrl-C when the ./configure stage has completed and look in
 config.log in the work directory.

Good plan and yes it did work in this case... thanks

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Backups

2005-12-15 Thread reader
Allan Spagnol Comar [EMAIL PROTECTED] writes:

 Good day Gentoo List !!!

A major tool for that is rsync and rsnapshot.

For general theory about it maybe a google search like:

 linux backup strategy

Well pull up a bunch of likely stuff

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Backups

2005-12-15 Thread James
Allan Spagnol Comar allan.comar at gmail.com writes:

 Some one knows where I can find some good 
 material about backuping linux boxes ?

'emerge -pv amanda'

http://www.amanda.org

Brought to you by the good folks in College Park, the same folks
that use to run the Internet (MAE-EAST) the right waythat
is until the politician and lawyers got involved

James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo Install - Concern w/ NVIDIA nForce4 Ultra

2005-12-15 Thread Richard Fish
On 12/15/05, Doug Brown [EMAIL PROTECTED] wrote:

 After a lot of research I have decided to go with Gentoo, and I think I have
 all the install issues ironed out. My main concern is with compatiblity
 issues and my mobo. I have read a ton of horror stories, and I want to make
 sure I am prepared for any issues that could arise when I install the OS. I
 am also concerned mith the onboard raid controller and onboard lan.  I plan
 on setting up RAID 0+1. My mobo is a DFI Lan Party NF4 Ultra-D.  Any help
 would be much appreciated.

If you are thinking SATA RAID, think twice.  Nvidia doesn't provide
the necessary hardware specs to make this work.  According to the
kernel maintainer for SATA support, nvidia is the _only_ major
manufacturer that refuses to release the specs.

http://linuxmafia.com/faq/Hardware/sata.html
http://www.kerneltraffic.org/kernel-traffic/kt20050904_324.html#3

NVidia does provide a proprietary driver on their web site that should
enable full support in linux, but I haven't tried it yet.

However, there is no problem using the software RAID in Linux for this.

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] setting path for qpkg

2005-12-15 Thread James
Hello,

qpkg is not accessible, due to the path, unless
I use: /usr/lib/gentoolkit/bin/qpkg

Where is the best (bash shell) place to
set this path once, so I do not have to
type out the fully qualified pathname
of the executable? 
I'd like it to survive the machinations of 
emerge, env-update et. al...

/root/.bashrc   ?

I also would have thought that installing it
from an emerge would set the path automatically?



James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] setting path for qpkg

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 16:22:16 + (UTC), James wrote:


 qpkg is not accessible, due to the path, unless
 I use: /usr/lib/gentoolkit/bin/qpkg
 
 Where is the best (bash shell) place to
 set this path once, so I do not have to
 type out the fully qualified pathname
 of the executable? 
 I'd like it to survive the machinations of 
 emerge, env-update et. al...

I just copy it to /usr/local/bin. Since /usr/local/bin/qpkg is not owned
by gentoolkit, it won't be touched by portage. An update to gentoolkit
will reinstall qpkg in the original location, but it will be the same
version as qpkg is deprecated.


-- 
Neil Bothwick

C Error #011: First C Program, huh?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: dd isos

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 11:29:55 +0100, Harald Arnesen wrote:

  I don't use it any more because it is slow, cp and cat give the same
  result and are faster.
 
 dd is not slower than cp/cat if you increase the block size from the
 default 512 bytes.

Increasing the block size does make it /almost/ as fast as cat, but then
it takes longer to type the command :)


-- 
Neil Bothwick

I am Barney of Borg: I love you. You love me. We're a happy Borg.


signature.asc
Description: PGP signature


Re: [gentoo-user] Backups

2005-12-15 Thread Richard Fish
On 12/15/05, Allan Spagnol Comar [EMAIL PROTECTED] wrote:
 Some one knows where I can find some good material about backuping linux 
 boxes ?

If you can give us some more details about what you are looking for
(number of boxes, backup device you want to use, whether you want
simple backup or archiving, etc), you can probably get some better
answers.

My personal favorite for my desktop and laptop is using 'dar' with big
USB hard drivesbut that's what works well for me.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] setting path for qpkg

2005-12-15 Thread Paul Varner
On Thu, 2005-12-15 at 16:22 +, James wrote:
 qpkg is not accessible, due to the path, unless
 I use: /usr/lib/gentoolkit/bin/qpkg
 
 Where is the best (bash shell) place to
 set this path once, so I do not have to
 type out the fully qualified pathname
 of the executable? 
 I'd like it to survive the machinations of 
 emerge, env-update et. al...
 
 /root/.bashrc   ?
 
 I also would have thought that installing it
 from an emerge would set the path automatically?

It is deprecated, which is why it is no longer in the path.

My recomendation is to create a symbolic link in /usr/local/bin (which
is in the default path)

ln -s /usr/lib/gentoolkit/bin/qpkg /usr/local/bin/qpkg

Answering your question about paths, the place to put it would
be /root/.bashrc

export PATH=$PATH:/usr/lib/gentoolkit/bin

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] clock problems software clock 20x fast

2005-12-15 Thread Noah J Norris
ok its fixed its a bug with ati / nvidia chipsets making the clock 2x+ fast 
disable_timer_pin_1 fixes the clock ^^ 

On Wednesday 14 December 2005 09:04 pm, Richard Fish wrote:
 On 12/14/05, Noah J Norris [EMAIL PROTECTED] wrote:
  On Thursday 15 December 2005 02:03 am, Richard Fish wrote:
   I think if you were getting messages about lost ticks or got extra
   ticks or something like that, these might be helpful, or if your
   system seemed either to slow or too unresponsive.  Of course, if your
   clock is defaulting to TSC (which would be bad, BTW), then I guess
   these could have a big impact.
 
  i have gotton lost tick messages
  and apic errors mostly

 Hmm, didn't you mention that somewhere alreadyoh yeah, your
 orignal message!  (bangs head on desk).

 Plus, you also said noapic fixes the problem, so forget everything I
 said, and try these options.

   Take a look at dmesg or /var/log/messages for the following lines:
  
   Using TSC for gettimeofday
   Using HPET for gettimeofday
   Using .* for high-res timesource
 
  Using pmtmr for high-res timesource

 Looks good...pmtmr is what I get on my pentium-m laptop, and is the
 default, and should be fairly reliable...

 Did you try any other clock= options? Any better results?

  should an amd64 use HPET ? i do not have this enabled in kernel config 
  (note running in 32 bit mode )

 Not sure about this one...just got my first AMD64 system this past
 weekend, and I am still trying to get things setup...maybe someone
 else can answer.

 One other boot option that might help: no_timer_check

 It is a x86_64 specific option (see
 /usr/src/linux/Documentation/x86_64/boot-options.txt).  I don't think
 this has anything to do with 32/64 bit code though...so maybe you have
 this already (does your kernel build as x86_64/arch/boot/bzImage?)

  other thing i noticed in dmesg do i need to enable smp support in the
  kernel ? this is a single processor system that i know of . does amd do
  any type of hyperthreading ?

 Nope, no hyperthreading in AMD.  And I think AMD is expected to
 release their first dual-core mobile chips sometime next year.
 Unfortunately Intel is going to beat them to market and my wallet.

 -Richard

-- 
life is linux
linux is life
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] traffic shaping and p2p

2005-12-15 Thread Matthias Langer
On Thu, 2005-12-15 at 09:53 +0200, Matan Peled wrote:
 Matthias Langer wrote:
  Now, when i start a p2p app on my workstation the latency of my internet
  connection suffers greatly, allthogh i've  
  384 kbit/s up and 3072 kbit/s down. I know that there are some
  approaches to solve this kind of problem by categorizing packets and
  assign different priorities to them, as explained at
  http://gentoo-wiki.com/HOWTO_Packet_Shaping. However, my knowledge of
  iptables and networking is very limited and i just want a simple and
  clean solution as i don't plan to trick myself by switching my p2p apps
  to non standard ports or manipulating the packet size ... 
 
 I've used that HOWTO (and contributed bits to it), and its great.
 
 But why can't you just limit your P2P application's upload speed? I mean, the 
 program should have some controls that let you do that, right? I know every 
 sane 
 bittorrent app has this.
 
Well, i use azureus - and of course i know that upload-speed can be
limited - which is maybe in fact the best solution to my problem.
However, what i have in mind is somehow similar to cpu-resources and
process-priority. If i start at process with nice level 15, it will get
all available cpu-resources without slowing down the other apps. As far
as i understand, this is not the same as limiting the process to, say
80% of cpu power. Now, what i want is the same for p2p apps - give them
as much bandwidth they can reasonably get but don't let them slow down
firefox, ssh etc. Because i want this setup just for my homenetwork, it
would perfectly suffice if packages get their priorities by examining
port-numbers. And because i want to at least partially understand what
i'm doing i would prefer a simple and clean setup. I know that in
principle the neccessairy steps to do what i wannt can be found in the
'Packet Shaping HOWTO'. But i wanted to hear experiences and opinions of
others first before starting messing around with my router. By the way,
there are many different packet shedulers in the kernel - and the HOWTO
only explains the HTP-scheduler. What about the other schedulers - can
they be usefull for my purposes too - and if yes, how can they be
configured and used ?

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo Install - Concern w/ NVIDIA nForce4 Ultra

2005-12-15 Thread Steven Susbauer
I just installed the amd64 Gentoo build on nforce 4. No issues whatsoever (except when I was using a 2004.3 cd... once I got the right one it was all working).As Richard said, using a hardware raid is not going to be easy, however an lvm or software raid shouldn't cause you any problems.
On 12/15/05, Richard Fish [EMAIL PROTECTED] wrote:
On 12/15/05, Doug Brown [EMAIL PROTECTED] wrote: After a lot of research I have decided to go with Gentoo, and I think I have all the install issues ironed out. My main concern is with compatiblity
 issues and my mobo. I have read a ton of horror stories, and I want to make sure I am prepared for any issues that could arise when I install the OS. I am also concerned mith the onboard raid controller and onboard lan.I plan
 on setting up RAID 0+1. My mobo is a DFI Lan Party NF4 Ultra-D.Any help would be much appreciated.If you are thinking SATA RAID, think twice.Nvidia doesn't providethe necessary hardware specs to make this work.According to the
kernel maintainer for SATA support, nvidia is the _only_ majormanufacturer that refuses to release the specs.http://linuxmafia.com/faq/Hardware/sata.html
http://www.kerneltraffic.org/kernel-traffic/kt20050904_324.html#3NVidia does provide a proprietary driver on their web site that should
enable full support in linux, but I haven't tried it yet.However, there is no problem using the software RAID in Linux for this.-Richard--gentoo-user@gentoo.org
 mailing list-- Steven Susbauer


Re: [gentoo-user] VNCviewer config port

2005-12-15 Thread Steven Susbauer
I think if you connect to computer:4967 or whatever, it will use that instead of 5900 (which is where it will go if you type :0).If you're connecting through windows, putty makes it very easy to use vnc through an ssh tunnel, which would allow you to use 5900 without a problem.
On 12/15/05, [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:Hi,does anyone know how to specify a port to vncviewer (i used vncviewer
under windows) and want to connect to my pc at home but not on port5900.--gentoo-user@gentoo.org mailing list
-- Steven Susbauer


[gentoo-user] Re: Istanbul - missing theoraenc

2005-12-15 Thread James
Ow Mun Heng Ow.Mun.Heng at wdc.com writes:


 Where can I get theoraenc? I've already emerged gst-plugins-theora but
 no dice.


libtheora may contain the theora encoder you are looking for:

This page may help:

Rip DVDs to Theora on Linux
http://www.parrishtech.com/content/view/16/2/

otherwise, all I found was code, no ready to install package.

HTH,

James





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] setting path for qpkg

2005-12-15 Thread Francesco Riosa
James wrote:
 Hello,

 qpkg is not accessible, due to the path, unless
 I use: /usr/lib/gentoolkit/bin/qpkg

 Where is the best (bash shell) place to
 set this path once, so I do not have to
 type out the fully qualified pathname
 of the executable? 
 I'd like it to survive the machinations of 
 emerge, env-update et. al...

 /root/.bashrc   ?

 I also would have thought that installing it
 from an emerge would set the path automatically?

   

why not to do a litle jump and go with app-portage/portage-utils ?

#q --help
Usage: q applet [arguments]...

Currently defined applets:
q applet args : virtual applet
   qcheck pkgname   : verify mtimes/digests
 qdepends pkgname   : show dependency info
qfile filename  : list all pkgs owning files
qgrep misc args : grep in ebuilds
qlist pkgname   : list files owned by pkgname
 qlop pkgname   : emerge log analyzer
 qpkg misc args : manipulate Gentoo binpkgs
  qsearch regex : search pkgname/desc
qsize pkgname   : calculate size usage
qtbz2 misc args : manipulate tbz2 packages
 quse useflag   : find pkgs using useflags
qxpak misc args : manipulate xpak archives

Options: -[irvQChV]
  -i, --install  * Install symlinks for applets
  -r, --reinitialize * Reinitialize ebuild cache
  -v, --verbose  * Make a lot of noise
  -Q, --quiet* Suppress warnings and errors
  -C, --nocolor  * Don't output color
  -h, --help * Print this help and exit
  -V, --version  * Print version and exit



cheers,
Francesco R:
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: converting any video to mpeg-1, mpeg-4 or DivX-5

2005-12-15 Thread Uwe Thiem
On 15 December 2005 17:02, James wrote:

[ snip - lots of good stuff ]
 All things video are a work in progress. I can run (2) color
 video streams over a 56 kbps frame relay link, with acceptable
 quality for a utility. For their needs, nothing is close to
 H.264, at this time, as we have evaluated dozens of formats.
 H.264 is also the most efficient in raw video storage.  Still
 I stuggle with a software package that will run on linux;
 one day. H.264 is largely being ignored by the 'open source'
 community, for obvious reason, but, it does yeild stunning
 results.

I can only agree on each single point.

We managed to encode a 1h45m movie in full TV quality (which isn't all that 
much quality) using H.264 with a resulting file of about 500MB!! It took 
5 hours on a dual G5 (yes, a mac). So encoding is rather expensive. Decoding 
can be done on the fly. Especially interesting for me is that I can stream it 
using just about 100Kb/s per stream. My target is a LAN with hundreds of 
simultaneous streams, and H.264 let me get away with Gb technology for the 
backbone.

All that said, I *can* watch H.264 on linux by now. No audio yet, though. 
That's not the fault of ffmpeg; it's just that the encoding software on the 
mac uses some audio codec I can not get my hands on for linux - yet.

Encoding H.264 on linux is a different bowl of fish. Last time I tried it, the 
result was - how should I put it? - bizarre. But then, it is, like James 
said, a work in progress. I had a ffmpeg snapshot from August, and it 
couldn't display it at all. Got a snapshot from November, and it did it 
beautifully - except for the audio.

For now, I use macs for a commercial product. The moment things get right on 
linux, I'll drop macs and use linux boxes in newer deployments. 

Uwe

-- 
Unix is sexy:
who | grep -i blonde | date
cd ~; unzip; touch; strip; finger
mount; gasp; yes; uptime; umount
sleep
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Backups

2005-12-15 Thread John J. Foster
On Thu, Dec 15, 2005 at 09:53:27AM -0700, Richard Fish wrote:
 
 My personal favorite for my desktop and laptop is using 'dar' with big
 USB hard drivesbut that's what works well for me.
 
ditto - very easy, very efficient

John


pgpdB8qaDSaQE.pgp
Description: PGP signature


[gentoo-user] Re: converting any video to mpeg-1, mpeg-4 or DivX-5

2005-12-15 Thread James
Uwe Thiem uwix at iway.na writes:


 I can only agree on each single point.
 So encoding is rather expensive. 

Well, I have a solution for this. openmosix:
http://openmosix.snarc.org/
http://openmosix.sourceforge.net/

I'm just a little timid to jump in now, as I'm drowning
with current obligations, promises, and a general
lack of deliverables


 Encoding H.264 on linux is a different bowl of fish. Last time I tried it, 
 the 
 result was - how should I put it? - bizarre. But then, it is, like James 
 said, a work in progress. I had a ffmpeg snapshot from August, and it 
 couldn't display it at all. Got a snapshot from November, and it did it 
 beautifully - except for the audio.

 For now, I use macs for a commercial product. The moment things get right on 
 linux, I'll drop macs and use linux boxes in newer deployments. 

Amen  bro! I owe you some code. I have not forgotten. I did just get my
elphel 333 so it has captured my imagination and spare cpu_cycles
at the moment. I use DSPs both commercial and homespun_dev_hardware 
to encode h.264.  FPGA are on the near horizon. 

Andrey has built one hell of a camera, and I'd encourage
anyone serious about video to purchase one of these *bad_boys*. 
He's my latest hero when it comes to video! 

He has open sourced the hardware and software, so I'll be noodling
around with verilog(VHDL) now, as if I did not have enough things to
eat away my time.

http://www.elphel.com
http://www.linuxdevices.com/articles/AT335064.html

James


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: setting path for qpkg

2005-12-15 Thread James
Neil Bothwick neil at digimed.co.uk writes:


  I use: /usr/lib/gentoolkit/bin/qpkg

 I just copy it to /usr/local/bin. Since /usr/local/bin/qpkg is not owned
 by gentoolkit, it won't be touched by portage. An update to gentoolkit
 will reinstall qpkg in the original location, but it will be the same
 version as qpkg is deprecated.

ah! deprecated, and so young..

thx,
James




-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: setting path for qpkg

2005-12-15 Thread James
Paul Varner fuzzyray at gentoo.org writes:


  I use: /usr/lib/gentoolkit/bin/qpkg



 ln -s /usr/lib/gentoolkit/bin/qpkg /usr/local/bin/qpkg

Yes, I rather like this symlink approach.

 Answering your question about paths, the place to put it would
 be /root/.bashrc
 export PATH=$PATH:/usr/lib/gentoolkit/bin

Very kind of you to remind me via syntax on exporting the path.

James


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] vacation, suspend emails

2005-12-15 Thread Joseph
Does the mailing list have any feature like vacation or suspend for a
shot period of time?

While we are at it, is there a any feature in Evolution email like
auto-reply to a certain group of people?

-- 
#Joseph
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: setting path for qpkg

2005-12-15 Thread James
Francesco Riosa BastianBalthazarBux at pnpitalia.it writes:


 why not to do a litle jump and go with app-portage/portage-utils ?

Dude, (are old_farts allowed to use terms like dude?) 
with Gentoo, I do a lot of jumping. Granted, I have things
working better than ever on computers, but, I 'jump' all day
long just to keep my gentoo_boxen running smoothly. You 
do know that all computers are inherently asynchronous
(female), don't you?

It's a good thing I still play basketball with the kids,
cause Gentoo has me jumping all over the place. Some days
I jump so much, I end up exactly where I started from. Jumping
can also be hazardous as one who has lots of electrical
devices about

thanks for the tip.

James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] setting path for qpkg

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 10:56:30 -0600, Paul Varner wrote:

 My recomendation is to create a symbolic link in /usr/local/bin (which
 is in the default path)

That doesn't work with gentoolkit-0.2.1*, because qpkg is now
in /usr/share/doc/$PF/deprecated/qpkg/qpkg, so an upgrade of gentoolkit
would break the link.


-- 
Neil Bothwick

WinErr 005: Multitasking attempted - System confused


signature.asc
Description: PGP signature


Re: [gentoo-user] setting path for qpkg

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 18:11:04 +0100, Francesco Riosa wrote:

 why not to do a litle jump and go with app-portage/portage-utils ?

Because it doesn't appear to offer features that qpkg does, for example;
listing all installed packages in a particular category

qpkg -I -g kde-base


-- 
Neil Bothwick

If you shoot a mime, should you use a silencer?


signature.asc
Description: PGP signature


Re: [gentoo-user] Backups

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 09:53:27 -0700, Richard Fish wrote:

 My personal favorite for my desktop and laptop is using 'dar' with big
 USB hard drivesbut that's what works well for me.

I use rdiff-backup, which is ideal for backing up automatically to a
hard drive. I run it from cron, hourly on critical directories, daily on
the rest. I then have a weekly cron script that compresses the backup
directories with squashfs and writes them to ISO images ready for writing
to bootable DVDs. It makes restoring individual files very easy, and a
completely hosed system can be fixed because the DVDs are bootable.


-- 
Neil Bothwick

A day without sunshine is like night.


signature.asc
Description: PGP signature


Re: [gentoo-user] traffic shaping and p2p

2005-12-15 Thread Holly Bostick
Matthias Langer schreef:

 Now, what i want is the same for p2p apps - give them
 as much bandwidth they can reasonably get but don't let them slow down
 firefox, ssh etc. 

In the case of Azureus specifically, your problem is actually not with
Azureus, but with Java (that's what's slowing down, and further what is
likely to be slowing down Firefox as well if it's running. Certainly I
find that running both Firefox and Azureus together is the fast road to
The System of Molasses).

You might consider aliasing Java to run at a good niceness

(in ~/.bashrc)

alias java=nice -n 15 java

so that when Azureus starts the (many, many) Java processes that it
uses, they will be niced to something you can live with.

What effect this will have on Firefox, I cannot say, however.

Just an idea, hope it helps,

Holly

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] setting path for qpkg

2005-12-15 Thread Paul Varner
On Thu, 2005-12-15 at 19:12 +, Neil Bothwick wrote:
 On Thu, 15 Dec 2005 18:11:04 +0100, Francesco Riosa wrote:
 
  why not to do a litle jump and go with app-portage/portage-utils ?
 
 Because it doesn't appear to offer features that qpkg does, for example;
 listing all installed packages in a particular category
 
 qpkg -I -g kde-base

Actually it does:

qlist -I kde-base

Will show all installed packages in kde-base

Regards,
Paul
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] traffic shaping and p2p

2005-12-15 Thread Matthias Langer
On Thu, 2005-12-15 at 20:15 +0100, Holly Bostick wrote:
 Matthias Langer schreef:
 
  Now, what i want is the same for p2p apps - give them
  as much bandwidth they can reasonably get but don't let them slow down
  firefox, ssh etc. 
 
 In the case of Azureus specifically, your problem is actually not with
 Azureus, but with Java (that's what's slowing down, and further what is
 likely to be slowing down Firefox as well if it's running. Certainly I
 find that running both Firefox and Azureus together is the fast road to
 The System of Molasses).

Hmm, i can't confirm this, bacause as long as azureus is not
down/uploading heavily browsing is not really affected. But this may
differ from java-vm to vm. I use sun-jdk-1.5.05 because i do same java
programming stuff ...

 
 You might consider aliasing Java to run at a good niceness
 
 (in ~/.bashrc)
 
 alias java=nice -n 15 java
 
 so that when Azureus starts the (many, many) Java processes that it
 uses, they will be niced to something you can live with.
 
 What effect this will have on Firefox, I cannot say, however.
 
 Just an idea, hope it helps,
 
 Holly
 

But thanks for your answer nevertheless,
Matthias

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: vacation, suspend emails

2005-12-15 Thread James
Joseph syscon at interbaun.com writes:

 Does the mailing list have any feature like vacation or suspend for a
 shot period of time?


Take a look at Gmane, as it may be even better dealing with the
numerous postings as a front end that straight email tools

http://www.gmane.com/


James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Backups

2005-12-15 Thread Richard Fish
On 12/15/05, Neil Bothwick [EMAIL PROTECTED] wrote:
 completely hosed system can be fixed because the DVDs are bootable.

So are my USB hard disks.  Nothing against DVD backups though...I just
find them too slow and small for my needs...

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: setting path for qpkg

2005-12-15 Thread James
Paul Varner fuzzyray at gentoo.org writes:


 Actually it does:

OK, let's say I'm looking or 'theoraenc'

I just ran 'qgrep theora *' and got lots of hits,

I ran 'qgrep theoraenc *' and got nothing

Does this mean no (ebuild) contains theoraenc ?

qpkg -i theoraencreturns emptytoo

How do I know somenthing I'm looking for (like theoraenc)
actually is or is not part of an ebuild
or a family of ebuilds like 'media-video' ?


suggestions?
 syntax using portage-utils?

James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE Conflageration-Resolved

2005-12-15 Thread WFisher
I successfully installed the kde base system and everything seems to be 
working ok.  Now I think I should start over and do the whole thing 
again from scratch so I can learn more about the installation procedure.


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



Re: [gentoo-user] Backups

2005-12-15 Thread Allan Spagnol Comar
Thanks all for the answers until now;

What i am looking for is to backup 3 servers, and a critical issue workstation.

I have a storage working with samba, so my bakups will go to this
samba server. I would like to make some diff bakups to save storage
space 

:)

thanks again all of you

got interested on backups on large USB disks too ...

On 12/15/05, Richard Fish [EMAIL PROTECTED] wrote:
 On 12/15/05, Neil Bothwick [EMAIL PROTECTED] wrote:
  completely hosed system can be fixed because the DVDs are bootable.

 So are my USB hard disks.  Nothing against DVD backups though...I just
 find them too slow and small for my needs...

 -Richard

 --
 gentoo-user@gentoo.org mailing list




--
An application asked:
Requeires Windows 9x, NT4 or better,
so I´ve installed Linux

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] hal emerge conflict

2005-12-15 Thread Glenn Enright
I installed kde3.5 which is great, but to do soI had to unmask some packages, 
including hal. So I have version 0.5.5.1 installed.

Unfortunately I also have gnome-light installed, which requires hal-0.4 for 
gnome-vfs. Any ideas on how I might solve this conflict. I dont really need 
gnome, but it has been drawn in by OOffice and has several other dependencies 
that I use such as firefox. In addition this is despite having -gnome in my 
use flags. Help!

TIA

-- 
Now of my threescore years and ten,
Twenty will not come again,
And take from seventy springs a score,
It leaves me only fifty more.

And since to look at things in bloom
Fifty springs are little room,
About the woodlands I will go
To see the cherry hung with snow.
-- A.E. Housman
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] vacation, suspend emails

2005-12-15 Thread Nick Rout
Simply unsubscribe and then re-subscribe when you get back.


On Thu, 15 Dec 2005 11:26:48 -0700
Joseph wrote:

 Does the mailing list have any feature like vacation or suspend for a
 shot period of time?
 
 While we are at it, is there a any feature in Evolution email like
 auto-reply to a certain group of people?
 
 -- 
 #Joseph
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: setting path for qpkg

2005-12-15 Thread Francesco Riosa
James wrote:
 Paul Varner fuzzyray at gentoo.org writes:


   
 Actually it does:
 

 OK, let's say I'm looking or 'theoraenc'

 I just ran 'qgrep theora *' and got lots of hits,

 I ran 'qgrep theoraenc *' and got nothing
   

qgrep theora  is actually similar to grep theora $PORTDIR/*-*/*/*.ebuild

I think what you are looking for is

#qsearch theora
media-libs/libtheora The Theora Video Compression Codec
media-video/ffmpeg2theora A simple converter to create Ogg Theora files.

also the * is expanded by bash to the list of the packages of the
current directory (if not surrounded writen like * or prefixed like
this \* )
so with grep theora * the result is to grep the ebuilds for theora and
the content of the directory you are in ;)


others will tell how to use qpkg I forgot it ;-)


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Emerging Net-SSLeay-1.25 for Webmin

2005-12-15 Thread Robin
I am trying to emerge Net-SSLeay-1.25 as a dependency for Webmin and
it is failing.  I tried searching for a solution with no success, and
I can't make sense of where the error is coming from.

Any ideas would be helpful.

Here it is:

 emerge (1 of 3) dev-perl/Net-SSLeay-1.25 to /
 md5 files   ;-) Net-SSLeay-1.25.ebuild
 md5 files   ;-) Net-SSLeay-1.23.ebuild
 md5 files   ;-) files/digest-Net-SSLeay-1.25
 md5 files   ;-) files/digest-Net-SSLeay-1.23
 md5 src_uri ;-) Net_SSLeay.pm-1.25.tar.gz
 Unpacking source...
 Unpacking Net_SSLeay.pm-1.25.tar.gz to /var/tmp/portage/Net-SSLeay-1.25/work
 Source unpacked.
 * Using ExtUtils::MakeMaker
Checking for OpenSSL-0.9.6j or 0.9.7b or newer...
You have OpenSSL-0.9.7e installed in /usr
*** Could not figure out which C compiler was used to compile
/usr/bin/openssl. It is essentiall that OpenSSL, perl, and Net::SSLeay
are compiled with the same compiler and flags. Mixing and matching
compilers is not supported. at Makefile.PL line 140.
Checking if your kit is complete...
Looks good
Checking if your kit is complete...
Looks good
Writing Makefile for Net::SSLeay::Handle
Writing Makefile for Net::SSLeay
cp ptrtstrun.pl blib/lib/Net/ptrtstrun.pl
cp SSLeay.pm blib/lib/Net/SSLeay.pm
AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay)
blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8
characters:
 directory blib/lib/auto/Net/SSLeay:
  do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
  do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
  get_https.al, get_https3.al, get_https4.al, get_http.al,
get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al
truncate to get_http
  head_https.al, head_https3.al, head_https4.al, head_http.al,
head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al,
head_httpx4.al truncate to head_htt
  post_https.al, post_https3.al, post_https4.al, post_http.al,
post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al,
post_httpx4.al truncate to post_htt
  put_https.al, put_https3.al, put_https4.al, put_http.al,
put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al
truncate to put_http
  ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
  ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
  tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
  tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
make[1]: Entering directory
`/var/tmp/portage/Net-SSLeay-1.25/work/Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50'
cp Handle.pm ../blib/lib/Net/SSLeay/Handle.pm
Manifying ../blib/man3/Net::SSLeay::Handle.3pm
make[1]: Leaving directory
`/var/tmp/portage/Net-SSLeay-1.25/work/Net_SSLeay.pm-1.25/Net-SSLeay-Handle-0.50'
/usr/bin/perl5.8.6 /usr/lib/perl5/5.8.6/ExtUtils/xsubpp  -typemap
/usr/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap  SSLeay.xs 
SSLeay.xsc  mv SSLeay.xsc SSLeay.c
i386-pc-linux-gnu-gcc -c  -I/usr/include -I/usr/inc32
-I/usr/kerberos/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O   -DVERSION=\1.25\
-DXS_VERSION=\1.25\ -fPIC -I/usr/lib/perl5/5.8.6/i386-linux/CORE 
-DPERL5 -DOPENSSL_NO_KRB5 SSLeay.c
cc1: /usr/local/include: Not a directory
make: *** [SSLeay.o] Error 1

!!! ERROR: dev-perl/Net-SSLeay-1.25 failed.
!!! Function perl-module_src_compile, Line 120, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] hal emerge conflict

2005-12-15 Thread Richard Fish
On 12/15/05, Glenn Enright [EMAIL PROTECTED] wrote:
 I installed kde3.5 which is great, but to do soI had to unmask some packages,
 including hal. So I have version 0.5.5.1 installed.

 Unfortunately I also have gnome-light installed, which requires hal-0.4 for
 gnome-vfs. Any ideas on how I might solve this conflict. I dont really need
 gnome, but it has been drawn in by OOffice and has several other dependencies
 that I use such as firefox. In addition this is despite having -gnome in my
 use flags. Help!

Since you do not use gnome, you probably don't care whether gnome-vfs
supports hal or not:

echo gnome-base/gnome-vfs -hal /etc/portage/package.use

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] very strange nsswitch.ldap problem

2005-12-15 Thread Michael George
I have been fighting with a system for a couple hours now to get it to
work again and I finally did it.  But I don't know why what was wrong
keeps it from booting right.

Here's what I have:

I'm testing using Samba and LDAP as a PDC server.  So I have a system
that I configured with Samba, LDAP, pam_ldap, and nsswitch_ldap.  I had
it all configured and it was fine.

However, after an update of the system, including upgrading to gcc-3.4,
the system didn't boot right (if at all).  It would sit forever,
apparently trying to build /dev with udev.

I found that eventually it would continue the boot sequence, but /dev
was broken.  Immediately I could see that /boot was not able to be
mounted and the swap was not made active: the system couldn't access
/dev/sdaX, there was no valid device there.

Root was on sda3 and it was mounted, but I think grub set that up
directly w/o the use of /dev.

I traced the problem to the nsswitch.ldap that I put into place as
nsswitch.conf.

If I have:

hosts: files dns

the system boots just fine.  If I have: 

hosts: files dns ldap

the system cannot deal with the udev devices correctly.  I have
confirmed this by repeatedly making this change and unmaking it and the
system was wonky when ldap was included and worked fine when ldap wasn't
included.

Is there a logical reason why this would be happening?

I'll be happy to post any relevant info to my system if that would help
in explaining the situation, but I'm not sure if any other settings come
into play...

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] setting path for qpkg

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 13:26:47 -0600, Paul Varner wrote:

  Because it doesn't appear to offer features that qpkg does, for
  example; listing all installed packages in a particular category
  
  qpkg -I -g kde-base
 
 Actually it does:
 
 qlist -I kde-base
 
 Will show all installed packages in kde-base

So it does, neat. That will teach me to only believe the man page, it
makes no mention of this, only that it lists the contents of a package :(


-- 
Neil Bothwick

IRQs? We don't need no stinking IRQs!


signature.asc
Description: PGP signature


Re: [gentoo-user] Backups

2005-12-15 Thread Neil Bothwick
On Thu, 15 Dec 2005 13:04:38 -0700, Richard Fish wrote:

  completely hosed system can be fixed because the DVDs are bootable.
 
 So are my USB hard disks.  Nothing against DVD backups though...I just
 find them too slow and small for my needs...

A fair point, although it does make keeping spare, off-site backups
rather expensive :(

rdiff-backup should be excellent with a USB hard disk, I may give it a go.


-- 
Neil Bothwick

Jimi Hendrix's modem was a Purple Hayes.


signature.asc
Description: PGP signature


Re: [gentoo-user] hal emerge conflict [SOLVED]

2005-12-15 Thread Glenn Enright
On Friday 16 December 2005 10:24, Richard Fish wrote:
 Since you do not use gnome, you probably don't care whether gnome-vfs
 supports hal or not:

 echo gnome-base/gnome-vfs -hal /etc/portage/package.use

 -Richard

Of course! :) Simple elegant fix. Thanks for your insight.

-- 
[Lois' sister is in labor] 
Peter Griffin: It looks like Carol's blowing a bubble. 
Lois Griffin: That's the head. Carol, push. Push. 
Peter Griffin: I am. It won't go back in.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: setting path for qpkg

2005-12-15 Thread Paul Varner
On Thu, 2005-12-15 at 20:08 +, James wrote:
 OK, let's say I'm looking or 'theoraenc'
 
 I just ran 'qgrep theora *' and got lots of hits,
 
 I ran 'qgrep theoraenc *' and got nothing
 
 Does this mean no (ebuild) contains theoraenc ?
 
 qpkg -i theoraencreturns emptytoo
 
 How do I know somenthing I'm looking for (like theoraenc)
 actually is or is not part of an ebuild
 or a family of ebuilds like 'media-video' ?
 
 
 suggestions?
  syntax using portage-utils?

There are no tools for searching for uninstalled files.  Here is what I
did

1. emerge --search theora (if you don't like the slowness, then install and use 
either esearch or eix)
Searching...
[ Results for search key : theora ]
[ Applications found : 3 ]

*  media-libs/libtheora
  Latest version available: 1.0_alpha3
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 851 kB
  Homepage:http://www.theora.org/
  Description: The Theora Video Compression Codec
  License: xiph

*  media-plugins/gst-plugins-theora
  Latest version available: 0.8.10
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 2,341 kB
  Homepage:http://gstreamer.freedesktop.org/modules/gst-plugins.html
  Description: plugin for gstreamer
  License: GPL-2

*  media-video/ffmpeg2theora [ Masked ]
  Latest version available: 0.15
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 194 kB
  Homepage:http://www.v2v.cc/~j/ffmpeg2theora/
  Description: A simple converter to create Ogg Theora files.
  License: GPL-2

2. Based upon descriptions, it looks like libtheora is what I need

3. emerge -pv libtheora
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N] media-libs/libtheora-1.0_alpha3  851 kB

4. Looks okay, so run emerge -v libtheora

snip
 Merging media-libs/libtheora-1.0_alpha5 to /
--- /usr/
--- /usr/lib/
 /usr/lib/libtheora.so.0.2.0
 /usr/lib/libtheora.so.0 - libtheora.so.0.2.0
 /usr/lib/libtheora.so - libtheora.so.0.2.0
 /usr/lib/libtheora.la
 /usr/lib/libtheora.a
--- /usr/lib/pkgconfig/
 /usr/lib/pkgconfig/theora.pc
--- /usr/include/
 /usr/include/theora/
 /usr/include/theora/theora.h
--- /usr/share/
--- /usr/share/doc/
 /usr/share/doc/libtheora-1.0_alpha5/
 /usr/share/doc/libtheora-1.0_alpha5/vp3-format.txt
 /usr/share/doc/libtheora-1.0_alpha5/color.html
 /usr/share/doc/libtheora-1.0_alpha5/doxygen-build.stamp
 /usr/share/doc/libtheora-1.0_alpha5/README.gz
 Regenerating /etc/ld.so.cache...
 media-libs/libtheora-1.0_alpha5 merged.

Hmm, nothing installed into /usr/bin, just libraries

5. Goto http://www.theora.org/ listed as the homepage

6. Click on FAQ, followed by How can I encode videos to Theora?

7. Get the following answer:

Have a look at ogg-theora-microhowto and transcode quicktime mov files
to Theora files under Linux. You can use libogg, to wrap theora video
with vorbis audio in Ogg file.

A user-friendly way to convert .dv and .avi format video into Ogg Theora
format is with ffmpeg2theora. It can be found at:
http://www.v2v.cc/~j/ffmpeg2theora/

A way to both stream and encode theora format video is with videolan
(VLC). 
Example for streaming the video4linux device in ogg theora/vorbis: 

vlc v4l:/dev/video:input=3:norm=pal:size=384x288 --sout \ 
'#transcode{vcodec=theora,vb=300,acodec=vorb,ab=96}:std{access=http,mux=ogg,url=server.example.org:8000}'

Or, replace v4l:/dev/video:input=3:norm=pal:size=384x288 with a
filename if you want to transcode.

For more on the vlc syntax, see: 
http://videolan.org/doc/videolan-howto/en/ch09.html

9. So in order to encode theora files, I need to install ffmpeg2theora
and/or vlc.  I saw ffmpeg2theora listed in the previous emerge --search,
but it was masked.  Let's look at vlc

10. emerge --search vlc
Searching...
[ Results for search key : vlc ]
[ Applications found : 1 ]

*  media-video/vlc
  Latest version available: 0.8.1-r1
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 4,765 kB
  Homepage:http://www.videolan.org/vlc/
  Description: VLC media player - Video player and streamer
  License: GPL-2

11. emerge -pv vlc
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N] media-libs/gd-2.0.32  +X -fontconfig +jpeg +png -truetype 573 kB
[ebuild  N] media-gfx/graphviz-1.16-r1  -tcltk 4,284 kB
[ebuild  N] app-doc/doxygen-1.4.4  -doc -qt -tetex 2,787 kB
[ebuild  N] media-libs/libdvbpsi-0.1.3  187 kB
[ebuild  N] media-video/vlc-0.8.1-r1  -3dfx +X -a52 -aac -aalib +alsa 
(-altivec) +arts -bidi -cdda -cddb -cdio -debug -dts -dvb -dvd +esd -fbcon 
-ffmpeg -flac -freetype -ggi -gnutls +gtk2 -httpd -joystick -libcaca -lirc 
-live -mad -matroska -mpeg -nls -ogg -opengl -oss -sdl +ssl -stream -svg -svga 
-theora -unicode -v4l -vcd -vlm +vorbis -wxwindows -xosd -xv 4,765 kB

12. It's not 

Re: [gentoo-user] Re: dd isos

2005-12-15 Thread Hani Duwaik
On 12/15/05, Neil Bothwick [EMAIL PROTECTED] wrote:
On Thu, 15 Dec 2005 11:29:55 +0100, Harald Arnesen wrote:  I don't use it any more because it is slow, cp and cat give the same  result and are faster. dd is not slower than cp/cat if you increase the block size from the
 default 512 bytes.Aside from speeding things up, what effect does increasing the block size have (does it in any way alter the resulting ISO?)?

Just wondering...

-Hani-- If, of the many truths, you select only one and follow it blindly, it will become a falsehood, and you a fanatic.


[gentoo-user] Software RAID Advice Needed

2005-12-15 Thread Doug Brown
My mobo's chipset (nvidia nf 4) doesn't support  raid real well, and I have read that Linux Software raid is very  good. I am getting ready to install Gentoo 2005.1 64bit real soon  (I am new to Gentoo), and I was wondering what types of raid it  supports. I know it supports 0 and 1, but I am more interested in  raid 0+1 and 1+0.  Thanks
	
		Yahoo! Shopping 
Find Great Deals on Holiday Gifts at Yahoo! Shopping 

Re: [gentoo-user] Software RAID Advice Needed

2005-12-15 Thread Mike Williams
On Thursday 15 December 2005 21:55, Doug Brown wrote:
 My mobo's chipset (nvidia nf 4) doesn't support  raid real well, and I have
 read that Linux Software raid is very  good.  I am getting ready to install
 Gentoo 2005.1 64bit real soon  (I am new to Gentoo), and I was wondering
 what  types of raid it  supports.  I know it supports 0 and 1, but I am
 more interested in  raid 0+1 and 1+0.  

If the linux kernel supports it, gentoo supports it.

-- 
Mike Williams

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Software RAID Advice Needed

2005-12-15 Thread kashani

Doug Brown wrote:
My mobo's chipset (nvidia nf 4) doesn't support raid real well, and I 
have read that Linux Software raid is very good.  I am getting ready to 
install Gentoo 2005.1 64bit real soon (I am new to Gentoo), and I was 
wondering what  types of raid it supports.  I know it supports 0 and 1, 
but I am more interested in raid 0+1 and 1+0.  



	Linux software raid is capable of doing all the usual stuff as well as 
RAID 0+1 or 1+0. I'd want a RAID 0 stripe of mirrored RAID 1 sets rather 
than mirroring two RAID 0 sets, but my requirements may not be yours.


	Assuming this is a small home system I'd go with RAID 5 with maybe a 
hot spare if I have more than four drives in a normal server setting 
where reads happen more often than writes. That's more space with 
comparable performance for anything you're likely to be doing. If you 
really need the performance spend the money on a real RAID card with 
local cache. The difference is night and day.


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



[gentoo-user] phpmyadmin user/password?

2005-12-15 Thread Daevid Vincent
I emerged phpmyadmin 2.7 and when I go to the URL, it prompts for a
user/password. What exactly is this user/pw it's looking for? The one stored
in mysql.users? My actual account? Both in this case have no password set.

I've used this program for years, and I've just installed it from their
source tarballs. The ebuild seems to add this htaccess style protection (yet
I see no .htaccess file)

I have a VMWare that I use for webdev. I have no pw on root. (spare me the
warnings please, this isn't a mission critical box, it's just a quick VM
to get LAMP/Rails stuff coded in without a lot of fuss).

I've tried from links2 on localhost (this VM has no X-windows/GUI). 
I also have tried via web browser on the host.

I put 'root' and '' but it doesn't accept it. This is all stock
phpmyadmin/mysql install thus far.

Strangely however, I have installed this ebuild on the host machine (ie. My
notebook) and that same user/pw combo does work (and yes, I have a pw on
root's account, but not the mysql root one) -- but that was installed with
an older phpmyadmin and upgraded over time.

You had me at EHLO --E.Webb (10.04.05) 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mone on the KEYWORD USE front

2005-12-15 Thread reader
Just when I was thinking I might finally be getting a handle on using
keywords and USE variable to control my install, I discover it really
isn't as nifty as one might think.

Here is my case:

I grew tired of all the ins and outs of kde installation although I
had a working one.  I decided to scrap it all and start with just 3.5
stuff.

Well you might think all that would be necessary is to keyword either:

 kde-base/kdebase ~x86
 kde-base/kde-meta ~x86
 kde-base/kde ~x86

Which you would think would allow a full install of kde-3.5 in one of
those areas.  But it will not.

What happens is emerge runs into a whole long list of other kde
packages that themselves must also be keyworded. but it only shows
them one at a time.   Telling user one package is masked and to read
the manpages to proceed.  Having keyworded that one trying to preceed
finds another and another. etc.

I'm not sure how many ... I gave up after just a few thinking it was
really a tedious way to find what needs keywording.

This makes you want to use ACCEPT_KEYWORDS on the command line, but
after seeing the reasons for not doing that in recent posts I decided
to follow the suggestions, and not do it.

So either you must cycle thru enough `emerge -v kde' to find all
packages needing unmasking and do it in /etc/portage/package.keywords
or maybe in /etc/make.conf with `ACCEPT_KEYWORDS=~x86'.  

The make.conf route also seems it might have far reaching
implicaitons.  And I suspect it would have some repercussions
unthought of to just remove it after emerging kde.  Like maybe any deps
brought in would suddenly need to be replaced by the masked packages.

So is there a more elegant solution than doggedly running 
emerge -v kde until all packages needing unmasking have been
revealed and entered into /etc/portage/package.keywords?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: converting any video to mpeg-1, mpeg-4 or DivX-5

2005-12-15 Thread Iain Buchanan
Success!  Partially at least (skip to the bottom if you want to know
how!)

On Thu, 2005-12-15 at 15:02 +, James wrote:
 Iain Buchanan iaindb at netspace.net.au writes:
 
  Space it not too much of an issue
 
 Disc space is a relative thing. It always get's filled up. Human nature.
 You will never have enough disk space for adults is like
 candy for children, never, ever enough.

good point - same with memory, processor speed, etc.  As soon as you
have more, something more intensive comes out to use it...

  So, here are my questions:
  1. whats the best format to use out of the ones listed, given
 
 Well you first have to realize that 'mpeg 4' is like saying
 I want a car.
[snip]

wow.  After reading your post, I realise it's much more complicated that
I first thought...

 Use H.264 until theora matures.

Unfortunately, with the comments from you and Uwe, I don't think H.264
will be suitable.  Firstly, I doubt my little low powered video device
will decode it, secondly I doubt I can encode it properly on linux, as
good as it sounds.

I think I will be happy with something simpler, even though it may be a
lower quality (that's the human subjective perception of the quality of
course :)  I guess it's like when people ask me for a recommendation on
purchasing computers.  They want to buy the cheap sub-$1000 all in one
deals, and I say stay away, you're better off in the long run going for
something more expensive, with a better quality, longer life, etc.
However, sometimes they purchase their sub-$1000 PC's and they're
perfectly happy, because they don't use it like I do, and they haven't
had the experience with higher quality.

 HTH,

absolutely!

---

So, this is what I've come up with so far (for those following the
thread).  Simply:

ffmpeg -i test.wmv -b 4000 -s 640x480 -an test.mp4

(It's the filename .mp4 that did it! note the -an produces no audio)

$ file test.mp4
test.mp4: ISO Media, MPEG v4 system, version 1

however:
$ ls -alh test*
-rw-r--r--  1 iain users 8.5M 2005-12-16 09:18 test.mp4
-rw---  1 iain users 1.8M 2005-12-15 21:51 test.wmv

as you can see, thats ~4x the size of the original... and thats without
sound.  That's not so good...

Well, I still have a bit to go, but at least I know I can put
_something_ on the device!  If anyone is interested, I can keep posting
back here with my results.

PS, can someone give me an example of how to encode divx with mencoder
or ffmpeg?  Or any program on linux for that matter?

thanks!
-- 
Iain Buchanan iaindb at netspace dot net dot au

Mater artium necessitas.
[Necessity is the mother of invention].

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - Need help correcting my DNS configuration

2005-12-15 Thread Michael Sullivan
I need help setting up my network's DNS configuration.  I tried to
subscribe myself to the bind-user mailing list (using the address at the
bottom of the bind docs README file, but I saw this in the log: 

Dec 15 17:51:15 bullet sm-mta[29432]: jBFNpCvf029430:
to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED]
(1000/100), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120297,
relay=mx.sth1.isc.org. [192.228.89.21], dsn=4.2.0, stat=Deferred: 450
[EMAIL PROTECTED]: Recipient address rejected: Greylisted for
180 seconds (see http://isg.ee.ethz.ch/tools/postgrey/help)


I went to the website and the only useful information I could glean from
it was that my mail server might not be set up correctly.  This
information doesn't help me as I'd be lying if I said I understood how
my mail server works.  Intra/Extra-network mail comes in,
intra/extra-mail goes out; I can block spam with my /etc/mail/access
file; I don't mess with it (I'd probably mess it up.)  Anyway, I set up
my BIND configuration using DNS and BIND, 4th Edition from O'Reilly.
I was following the examples in Chapter 4, substituting my domain for
the example one.  However, when I use my new DNS server the only thing
that works correctly is digging 0.0.127.in-addr.arpa.  Every other query
gets me either NXDOMAIN or SERVFAIL.  Here's the /etc/hosts file I want
my DNS config based off of:

127.0.0.1   localhost.localdomain localhost
192.168.1.4 catherine.espersunited.com catherine
192.168.1.3 camille.espersunited.com camille
192.168.1.2 bullet.espersunited.com bullet


Here's /etc/bind/named.conf:

options {
directory /etc/bind;
pid-file /var/run/named/named.pid;
};

zone espersunited.com in {
type master;
file db.espersunited.com;
};

zone 2.1.168.192.in-addr.arpa. in {
type master;
file db.2.1.168.192;
};

zone 0.0.127.in-addr.arpa. in {
type master;
file db.127.0.0;
};

zone . in {
type hint;
file db.cache;
};



Here's /etc/bind/db.espersunited.com:

$TTL 3h
espersunited.com.  IN SOA bullet.espersunited.com.
michael.bullet.espersunited.com. (

   1;Serial
   3h   ;Refresh after 3 hours
   1h   ;Retry after one hour
   1w   ;Expire after one week
   1h ) ;Negative caching TTL of 1 hour

;Name server(s)
espersunited.com. IN NS bullet.espersunited.com.

;Host addresses

localhost.espersunited.com. IN A 127.0.0.1
bullet.espersunited.com.IN A 192.168.1.2
camille.espersunited.com.   IN A 192.168.1.3
catherine.espersunited.com. IN A 192.168.1.4

;Aliases

bullet.espersunited.com.IN CNAME bullet.espersunited.com.
camille.espersunited.com.   IN CNAME camille.espersunited.com.
catherine.espersunited.com. IN CNAME catherine.espersunited.com.


Here's db.127.0.0:

$TTL 3h
0.0.127.in-addr.arpa. IN SOA bullet.espersunited.com.
michael.bullet.espersunited.com. (

   1;Serial
   3h   ;Refresh after 3 hours
   1h   ;Retry after one hour
   1w   ;Expire after one week
   1h ) ;Negative caching TTL of 1 hour

;Name servers
0.0.127.in-addr.arpa.   IN NS bullet.espersunited.com.

;Host addresses

1.0.0.127.in-addr.arpa. IN PTR  localhost.


Here's db.db.2.1.168.192:

$TTL 3h
2.1.168.192.in-addr.arpa. IN SOA bullet.espersunited.com.
michael.bullet.espersunited.com. (

   1;Serial
   3h   ;Refresh after 3 hours
   1h   ;Retry after one hour
   1w   ;Expire after one week
   1h ) ;Negative caching TTL of 1 hour

;Name servers
2.1.168.192.in-addr.arpa.   IN NS bullet.espersunited.com.

;Host addresses

2.1.168.192.in-addr.arpa.   IN PTR  bullet.espersunited.com.
3.1.168.192.in-addr.arpa.   IN PTR  camille.espersunited.com.
4.1.168.192.in-addr.arpa.   IN PTR  catherine.espersunited.com.

;Aliases

bullet.espersunited.com.IN CNAME bullet.espersunited.com.
camille.espersunited.com.   IN CNAME camille.espersunited.com.
catherine.espersunited.com. IN CNAME catherine.espersunited.com.


And finally, here's db.cache:

;   This file holds the information on root name servers needed to
;   initialize cache of Internet domain name servers
;   (e.g. reference this file in the cache  .  file
;   configuration file of BIND domain name servers).
;
;   This file is made available by InterNIC
;   under anonymous FTP as
;   file/domain/named.root
;   on server   FTP.INTERNIC.NET
;   -OR-RS.INTERNIC.NET
;
;   last update:Jan 29, 2004
;   related version of root zone:   2004012900
;
;
; formerly NS.INTERNIC.NET
;
.360  IN  NSA.ROOT-SERVERS.NET.
A.ROOT-SERVERS.NET.  360  A 198.41.0.4
;
; formerly NS1.ISI.EDU
;
.360  NSB.ROOT-SERVERS.NET.
B.ROOT-SERVERS.NET.  360  A 192.228.79.201
;
; formerly C.PSI.NET
;
.360  NSC.ROOT-SERVERS.NET.
C.ROOT-SERVERS.NET.  360   

Re: [gentoo-user] phpmyadmin user/password?

2005-12-15 Thread Qv6
On Thursday 15 December 2005 05:24 pm, Daevid Vincent wrote:
 I emerged phpmyadmin 2.7 and when I go to the URL, it prompts for a
 user/password. What exactly is this user/pw it's looking for? The one
 stored in mysql.users? My actual account? Both in this case have no
 password set.
 
It's asking for the Mysql username/password root user. Recall that 
phpmyadmin is used to administer/administrate Mysql
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Need help correcting my DNS configuration

2005-12-15 Thread kashani

Michael Sullivan wrote:

I need help setting up my network's DNS configuration.  I tried to
subscribe myself to the bind-user mailing list (using the address at the
bottom of the bind docs README file, but I saw this in the log: 


Dec 15 17:51:15 bullet sm-mta[29432]: jBFNpCvf029430:
to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED]
(1000/100), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=120297,
relay=mx.sth1.isc.org. [192.228.89.21], dsn=4.2.0, stat=Deferred: 450
[EMAIL PROTECTED]: Recipient address rejected: Greylisted for
180 seconds (see http://isg.ee.ethz.ch/tools/postgrey/help)


This hasn't bounced, it's merely greylisted. It'll probably go through 
in the next 10 minutes or so.


	Once again I'll engage in some self promotion and point you to a very 
nice guide explaining exactly how to setup Bind on Gentoo.


http://gentoo-wiki.com/HOWTO_Setup_a_DNS_Server_with_BIND

	However I'd guess that 2.0.168.192.in-addr.arpa. should be 
0.168.192.in-addr.arpa in your zone. And put that serial in a normal 
format. And don't use that lame ass db.domain format. And you don't need 
to put the in-addr stuff in the reverse zone...


Personally I'd wipe it and follow my guide, but it might be quicker to 
get up and running if you look at your logs which are going to be in 
/var/log/messages and not in nicely split up log files like my config. 
I'd also run a named-checkconf and see if it says anything interesting.


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



[gentoo-user] Re: mone on the KEYWORD USE front

2005-12-15 Thread Michael Mauch
[EMAIL PROTECTED] wrote:

 This makes you want to use ACCEPT_KEYWORDS on the command line, but
 after seeing the reasons for not doing that in recent posts I decided
 to follow the suggestions, and not do it.
 
 So either you must cycle thru enough `emerge -v kde' to find all
 packages needing unmasking and do it in /etc/portage/package.keywords
 or maybe in /etc/make.conf with `ACCEPT_KEYWORDS=~x86'.  

What about

  ACCEPT_KEYWORDS=~x86 emerge -p kde-meta

and then copy the whole list to /etc/portage/package.keywords?

  ACCEPT_KEYWORDS=~x86 emerge -p kde-meta | 
  gawk '/\[ebuild/ {sub(/[^]]+\] /,);sub(/-[0-9].+$/, ~x86);print}'


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



Re: [gentoo-user] mone on the KEYWORD USE front

2005-12-15 Thread Richard Fish
On 12/15/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Well you might think all that would be necessary is to keyword either:

  kde-base/kdebase ~x86
  kde-base/kde-meta ~x86
  kde-base/kde ~x86

Nope, you have to keyword-accept the dependancies also...

 What happens is emerge runs into a whole long list of other kde
 packages that themselves must also be keyworded. but it only shows
 them one at a time.   Telling user one package is masked and to read
 the manpages to proceed.  Having keyworded that one trying to preceed
 finds another and another. etc.

Try:

ACCEPT_KEYWORDS=~x86 emerge -pv kde-meta

The above should tell you all dependant packages that you will need to
add to /etc/portage/package.keywords.

 This makes you want to use ACCEPT_KEYWORDS on the command line, but
 after seeing the reasons for not doing that in recent posts I decided
 to follow the suggestions, and not do it.

You don't want to use it without the --pretend option.  There is no
problem at all with specifying environment variables on the command
line just to investigate their effects though.

-Richard

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] phpmyadmin user/password? [solved]

2005-12-15 Thread Daevid Vincent
Hmm. Well I thought I had done this, but issuing this command again seemed
to have fixed it:

mysql -u root -p 
/usr/share/webapps/phpmyadmin/2.7.0_p1/sqlscripts/mysql/2.7.0_p1_create.sql 

The problem now is that all the images are broken and no CSS is being
applied if I try to connect from a remote IP.

I fixed that by setting config.default.php to:

#$cfg['PmaAbsoluteUri'] = 'http://localhost//phpmyadmin';
$cfg['PmaAbsoluteUri'] = '';

Not quite sure why that is set by default when it works better without it...


You had me at EHLO --E.Webb (10.04.05)  

 -Original Message-
 From: Qv6 [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, December 15, 2005 4:18 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] phpmyadmin user/password?
 
 On Thursday 15 December 2005 05:24 pm, Daevid Vincent wrote:
  I emerged phpmyadmin 2.7 and when I go to the URL, it prompts for a
  user/password. What exactly is this user/pw it's looking 
 for? The one
  stored in mysql.users? My actual account? Both in this case have no
  password set.
  
 It's asking for the Mysql username/password root user. Recall that 
 phpmyadmin is used to administer/administrate Mysql
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Recommended MySQL frontends

2005-12-15 Thread Roy Wright

Thank y'all.  Tried phpMyAdmin and it worked like a charm!

Back to rails...

Thanks again,
Roy
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Software RAID Advice Needed

2005-12-15 Thread Ognjen Bezanov

kashani wrote:


Doug Brown wrote:

My mobo's chipset (nvidia nf 4) doesn't support raid real well, and I 
have read that Linux Software raid is very good.  I am getting ready 
to install Gentoo 2005.1 64bit real soon (I am new to Gentoo), and I 
was wondering what  types of raid it supports.  I know it supports 0 
and 1, but I am more interested in raid 0+1 and 1+0. 



Linux software raid is capable of doing all the usual stuff as 
well as RAID 0+1 or 1+0. I'd want a RAID 0 stripe of mirrored RAID 1 
sets rather than mirroring two RAID 0 sets, but my requirements may 
not be yours.


Assuming this is a small home system I'd go with RAID 5 with maybe 
a hot spare if I have more than four drives in a normal server setting 
where reads happen more often than writes. That's more space with 
comparable performance for anything you're likely to be doing. If you 
really need the performance spend the money on a real RAID card with 
local cache. The difference is night and day.


kashani


RAID 5 support in Linux is good. I have been using RAID-5 for my home 
fileserver (4x40GB IDE disks) and it has worked flawlessly, and has been 
a lifesaver when one of my drives failed.


I have a page devoted to setting up RAID on linux  quickly (gentoo and 
debian) , you can find it at http://ziva-vatra.dnsalias.com/~ognen/ 
under Software RAID5 Project.  And if you want more info look at the 
RAID Overview Section.


Linux kernel 2.6 has added support for new RAID levels (including 
RAID6)  but some people are saying that other RAID Implementations (such 
as RAID-5) have better performance on the 2.4 kernels.


I have found Linux Software RAID very useful and reliable. While 
probably being beaten in the performance  area by hardware 
implementations, I have to say it does do the job well, and I have no 
issues using it both in my home server and in Commercial implementations 
(have used RAID-5 and RAID-1 software with 5 SCSI drives on a dual PIII 
Gentoo LTSP server, it worked well, but there were issues regarding the 
SCSI hardware (like no hotplug support for the disks) ).


Google about, and look at the gentoo-wiki site.

Essentially it depends on what you are looking from your RAID setup. For 
me it was re-using componets I already had and price (it cost me a total 
of £8 to build my RAID Setup). Performance was not an issue because my 
two 10mbit networks (one wireless @ 11mbit) were unlikely to push the 
RAID performance to its limits.




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Software RAID Advice Needed

2005-12-15 Thread Richard Fish
On 12/15/05, kashani [EMAIL PROTECTED] wrote:
 Assuming this is a small home system I'd go with RAID 5 with maybe a
 hot spare if I have more than four drives in a normal server setting
 where reads happen more often than writes. That's more space with
 comparable performance for anything you're likely to be doing.

I would say the choice between RAID 5 and RAID 0+1 would be based upon
what you are doing.  Assuming a 4-disk array, RAID5 will require 2
reads and 2 writes for writing a single block of data, while the
RAID0+1 array would only require 2 writes.  Read performance with
RAID5 should be at least 75% of the RAID0+1 setup, possibly equal
depending upon the bandwidth of the PCIe bus.

So if you are doing something like video streaming, RAID0+1 would be a
better choice.  Web browsing, email, compiling, and typical desktop
use would be well suited to RAID5.

Also, consider that you can mix-and-match RAID levels with different
partitions.  You can create a 4-partition RAID0 array for swap, a
4-partition RAID0+1 array for filesystems that experience a lot of
writes (/var, /tmp, and maybe /usr/src, for example), and a
4-partition RAID5 setup for /root, /home, et al.  If a disk fails,
your system would likely crash (due to the swap device), but would
reboot in a degraded mode (no swap, slow performance, etc).

I wouldn't overdo the complexity here, but the above becomes quite a
bit easier to manage if you combine RAID with LVM or EVMS to manage
your filesystems.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Software RAID Advice Needed

2005-12-15 Thread Richard Fish
On 12/15/05, Ognjen Bezanov [EMAIL PROTECTED] wrote:
 I have found Linux Software RAID very useful and reliable. While
 probably being beaten in the performance  area by hardware
 implementations,

I just want to point out that when we are talking hardware here, we
mean real hardware RAID...made by companies like 3-ware.  The
'hardware' RAID in the NForce4 chipset (like just about all MB chips,
and a lot of the cheap add-in cards) is just a BIOS helper...all of
the actual RAID functions are expected to be implemented by the driver
running on the CPU.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mone on the KEYWORD USE front

2005-12-15 Thread Chris White
On Friday 16 December 2005 09:54, Richard Fish wrote:

echo x11-libs/qt  /etc/portage/package.keywords ; 
cd /usr/portage/kde-base ; for packages in * ; do   echo 
kde-base/${packages} 
 /etc/portage/package.keywords; done

Chris White


pgpz4wiL2qBnA.pgp
Description: PGP signature


[gentoo-user] unencrypted network tools

2005-12-15 Thread Grant
How can I see what is happening as far as traffic on my unencrypted
network?  How can I keep my own http traffic private?

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Istanbul - missing theoraenc

2005-12-15 Thread Ow Mun Heng
On Thu, 2005-12-15 at 16:57 +, James wrote:
 Ow Mun Heng Ow.Mun.Heng at wdc.com writes:
 
 
  Where can I get theoraenc? I've already emerged gst-plugins-theora but
  no dice.
 
 
 libtheora may contain the theora encoder you are looking for:
 

Already tried that. No dice either
 
 otherwise, all I found was code, no ready to install package.
Thanks.

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 10:12:32 up 1 day, 18:49, 5 users, load average: 1.05, 1.29,
1.54 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: converting any video to mpeg-1, mpeg-4 or DivX-5

2005-12-15 Thread Ognjen Bezanov

Iain Buchanan wrote:


Success!  Partially at least (skip to the bottom if you want to know
how!)

On Thu, 2005-12-15 at 15:02 +, James wrote:
 


Iain Buchanan iaindb at netspace.net.au writes:

   


Space it not too much of an issue
 


Disc space is a relative thing. It always get's filled up. Human nature.
You will never have enough disk space for adults is like
candy for children, never, ever enough.
   



good point - same with memory, processor speed, etc.  As soon as you
have more, something more intensive comes out to use it...

 


So, here are my questions:
1. whats the best format to use out of the ones listed, given
 


Well you first have to realize that 'mpeg 4' is like saying
I want a car.
   


[snip]

wow.  After reading your post, I realise it's much more complicated that
I first thought...

 


Use H.264 until theora matures.
   



Unfortunately, with the comments from you and Uwe, I don't think H.264
will be suitable.  Firstly, I doubt my little low powered video device
will decode it, secondly I doubt I can encode it properly on linux, as
good as it sounds.

I think I will be happy with something simpler, even though it may be a
lower quality (that's the human subjective perception of the quality of
course :)  I guess it's like when people ask me for a recommendation on
purchasing computers.  They want to buy the cheap sub-$1000 all in one
deals, and I say stay away, you're better off in the long run going for
something more expensive, with a better quality, longer life, etc.
However, sometimes they purchase their sub-$1000 PC's and they're
perfectly happy, because they don't use it like I do, and they haven't
had the experience with higher quality.

 


HTH,
   



absolutely!

---

So, this is what I've come up with so far (for those following the
thread).  Simply:

ffmpeg -i test.wmv -b 4000 -s 640x480 -an test.mp4

(It's the filename .mp4 that did it! note the -an produces no audio)

$ file test.mp4
test.mp4: ISO Media, MPEG v4 system, version 1

however:
$ ls -alh test*
-rw-r--r--  1 iain users 8.5M 2005-12-16 09:18 test.mp4
-rw---  1 iain users 1.8M 2005-12-15 21:51 test.wmv

as you can see, thats ~4x the size of the original... and thats without
sound.  That's not so good...

Well, I still have a bit to go, but at least I know I can put
_something_ on the device!  If anyone is interested, I can keep posting
back here with my results.

PS, can someone give me an example of how to encode divx with mencoder
or ffmpeg?  Or any program on linux for that matter?

thanks!
 

On My site I wrote about DVD 2-Pass encoding to xvid (hope its close 
enough to divx for you, you can do divx as well, but I am not sure how) 
, Basically this command provides xvid encoding:


/mencoder dvd://1 -sws 2  -nosound -ovc xvid -xvidencopts bitrate=580 -o 
./video.avi


I presume you probably will need to state the input file rather then 
dvd://1

/

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Software RAID Advice Needed

2005-12-15 Thread Jim Burwell




Richard Fish wrote:

  On 12/15/05, Ognjen Bezanov [EMAIL PROTECTED] wrote:
  
  
I have found Linux Software RAID very useful and reliable. While
probably being beaten in the performance  area by hardware
implementations,

  
  
I just want to point out that when we are talking hardware here, we
mean real hardware RAID...made by companies like 3-ware.  The
'hardware' RAID in the NForce4 chipset (like just about all MB chips,
and a lot of the cheap add-in cards) is just a BIOS helper...all of
the actual RAID functions are expected to be implemented by the driver
running on the CPU.

  

Don't you hate how the hardware and mobo manufacturers have muddied the
hardware RAID waters by marketing this sort of thing has hardware RAID
(or at least implying it) ?

Another thing to check out, seeing that he has a mobo with built in
ghetto-RAID (TM), is dmraid.
This is a device mapper implementation of RAID which makes use of
various fake hardware RAID metadata to support them under Linux.
Someone's also done up a Gentoo LiveCD
with dmraid support on it too (who knows, perhaps the latest liveCDs
have it also). The only advantage of using this I can see is the
ability to to make use of the BIOS RAID helpers to create and manage
your arrays, and deal with the inherent boot time issues. I'm not sure
about the stability or reliability of this though, as I havn't used it,
and the readme doesn't really give me courage :-). Anyone using this
successfuly ? It seems interesting.

I just put together a little home server which uses both Linux RAID
(md) and LVM2 on an old Abit KG7-RAID motherboard. Even though it has
a built in Highpoint HPT37X "RAID chip" (a ghetto-RAID BIOS helper), I
decided to go with good old "md". I've tested it by pulling power on
drives, and it even boots up when the 'primary' drive doesn't exist
(boot blocks on both mirrored drives of course). Seems to work very
well. I have /boot mirrored (md0), and root and swap on LVM2
partitions which live on another mirrored partition (md1). 

For any wanting to do similar, you just need to set up GRUB on both
drives, and make sure your have initramfs support for starting up md
and LVM2. Generkernel will produce a kernel with this if you compile
the md drivers into the kernel, and include --lvm2 in the genkernel
flags. Make sure you include "dovlm2" and lvmraid=/dev/mdX lines for
each of of your RAID devices on the boot line, which tells the linuxrc
scripts to start up your RAID devices in the initramfs so it can mount
your LVM2 root partition.

- Jim

-- 
+---+
| Jim Burwell - Sr. Systems/Network/Security Engineer, JSBC |
+---+
| "I never let my schooling get in the way of my education." - Mark Twain   |
| "UNIX was never designed to keep people from doing stupid things, because |
|  that policy would also keep them from doing clever things." - Doug Gwyn  |
| "Cool is only three letters away from Fool" - Mike Muir, Suicyco  |
| "..Government in its best state is but a necessary evil; in its worst |
|  state an intolerable one.." - Thomas Paine, "Common Sense" (1776)|
+---+
|   Email:  [EMAIL PROTECTED]  ICQ UIN:  1695089 |
+---+
|  Reply problems ?  Turn off the "sign" function in email prog.  Blame MS. |
+---+




Re: [gentoo-user] emerge starts slowly

2005-12-15 Thread Justin Krejci
On Thursday 15 December 2005 03:49 am, Neil Bothwick wrote:
 On Thu, 15 Dec 2005 00:14:13 -0600, Justin Krejci wrote:
  When I run emerge -s whatever or emerge sync or any emerge command
  apparently, it usually takes about 1 second to start the command on the
  AMD64 system whereas on the Athlon-XP system it usually takes about
  10-30 seconds fore the command to start.

 Is that just the first time you run a portage command? I see the same on
 my AMD64, it can take up to 30 seconds to run emerge --info, but only
 around a second to run it again.

 It's clearly something to do with loading the various Python libraries,
 classes or modules, but I haven't been able to pin down why it takes so
 long.

Yes, the second run and subsequent runs for a period of time all seem to be 
fairly quick, but I thought it odd that my AMD64 system is always quick.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unencrypted network tools

2005-12-15 Thread Boyd Stephen Smith Jr.
On Thursday 15 December 2005 09:10 pm, Grant wrote:
 How can I see what is happening as far as traffic on my unencrypted
 network?

tcpdump

 How can I keep my own http traffic private? 

Use https instead.  IPSec is another option, if supported.  Also, 
traffic is normally only passed along the links between you and the 
server, unless there's some hub between you can them.

You may be able to anonymize normal http by using tor.  I think freenet 
also provides some level of anonymity and encryption for http, but I've 
never used it.

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] emerge starts slowly

2005-12-15 Thread Justin Krejci
On Thursday 15 December 2005 09:45 am, Richard Fish wrote:
 On 12/14/05, Justin Krejci [EMAIL PROTECTED] wrote:
  When I run emerge -s whatever or emerge sync or any emerge command
  apparently, it usually takes about 1 second to start the command on the
  AMD64 system whereas on the Athlon-XP system it usually takes about 10-30
  seconds fore the command to start. What I mean by that is for example

 You can try something like:

 strace -tt -f -o /tmp/strace.out emerge -s tcpdump

 Then look at /tmp/strace.out and see what kind of system call is being
 made that is taking so long to complete.

 -Richard


Well I ran it once then ran it again to a different output file and the two 
files are the same length and doing a cursory glance thru the files they both 
seem fairly similar. When I have some time, ill check the files more closesly 
in particular the timestamps.

Thanks for the idea.
-- 
gentoo-user@gentoo.org mailing list



[OT] how to make Bootable DVD/CDs [Was] Re: [gentoo-user] Backups

2005-12-15 Thread Ow Mun Heng
On Thu, 2005-12-15 at 19:15 +, Neil Bothwick wrote:

 the rest. I then have a weekly cron script that compresses the backup
 directories with squashfs and writes them to ISO images ready for writing
 to bootable DVDs. It makes restoring individual files very easy, and a
 completely hosed system can be fixed because the DVDs are bootable.

how can one create bootable CDs/DVDs? Is there a simple way to transfer
GRUB into the DVD/CDs? Or would dd of the /boot partition transfer the
whole thing??


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 11:40:31 up 1 day, 20:17, 5 users, load average: 0.28, 0.36,
0.45 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VNCviewer config port

2005-12-15 Thread Justin Krejci
On Thursday 15 December 2005 04:14 am, [EMAIL PROTECTED] wrote:
 Hi,

 does anyone know how to specify a port to vncviewer (i used vncviewer
 under windows) and want to connect to my pc at home but not on port
 5900.

vncviewer will automatically add 5900 to your port number, for example
(replace myserver.com with your server address)

$ vncviewer myserver.com:0
will connect on port 5900

$ vncviewer myserver.com:1
will connect on port 5901

if you want to explicitly specify the port number try this
$ vncviewer myserver.com::5900

notice there are two colon characters  ::  in this example
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unencrypted network tools

2005-12-15 Thread Justin Krejci
On Thursday 15 December 2005 09:17 pm, Boyd Stephen Smith Jr. wrote:
 On Thursday 15 December 2005 09:10 pm, Grant wrote:
  How can I see what is happening as far as traffic on my unencrypted
  network?

 tcpdump

ntop is a good network summary program too. Works good if you can run it on 
your default gateway machine. tcpdump is pretty cool for sure.


  How can I keep my own http traffic private?

 Use https instead.  IPSec is another option, if supported.  Also,
 traffic is normally only passed along the links between you and the
 server, unless there's some hub between you can them.

 You may be able to anonymize normal http by using tor.  I think freenet
 also provides some level of anonymity and encryption for http, but I've
 never used it.


You can only use https on servers that support it. The question is too vague 
to answer without specifying from who do you want to keep the data private? 
Just people on your local network? Your ISP? Your boss? The http servers?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] unencrypted network tools

2005-12-15 Thread Grant
   How can I see what is happening as far as traffic on my unencrypted
   network?
 
  tcpdump

 ntop is a good network summary program too. Works good if you can run it on
 your default gateway machine. tcpdump is pretty cool for sure.

The network is just run from a router.  No server on which I can run
that stuff.  Is there anything I can use from my workstation which is
connected to the network?

   How can I keep my own http traffic private?
 
  Use https instead.  IPSec is another option, if supported.  Also,
  traffic is normally only passed along the links between you and the
  server, unless there's some hub between you can them.
 
  You may be able to anonymize normal http by using tor.  I think freenet
  also provides some level of anonymity and encryption for http, but I've
  never used it.
 

 You can only use https on servers that support it. The question is too vague
 to answer without specifying from who do you want to keep the data private?
 Just people on your local network? Your ISP? Your boss? The http servers?

I'm only trying to keep the data private from the other people on the
local network.

- Grant

-- 
gentoo-user@gentoo.org mailing list



Re: [OT] how to make Bootable DVD/CDs [Was] Re: [gentoo-user] Backups

2005-12-15 Thread Richard Fish
On 12/15/05, Ow Mun Heng [EMAIL PROTECTED] wrote:
 On Thu, 2005-12-15 at 19:15 +, Neil Bothwick wrote:

  the rest. I then have a weekly cron script that compresses the backup
  directories with squashfs and writes them to ISO images ready for writing
  to bootable DVDs. It makes restoring individual files very easy, and a
  completely hosed system can be fixed because the DVDs are bootable.

 how can one create bootable CDs/DVDs? Is there a simple way to transfer
 GRUB into the DVD/CDs? Or would dd of the /boot partition transfer the
 whole thing??

The boot process for a CD is very very different than from a hard
drive.  Basically the BIOS has to pretend that the CD drive is
actually a floppy, or a hard drive, for implementing the BIOS calls
used by the boot loader.  Doing a dd of a boot partition and writing
that to a CD would not work.

There are several different software packages that can make bootable
CDs, including GRUB.  Ok, it isn't really GRUB that makes the CD
bootable, but mkisofs.  To use GRUB, you have to make a /boot/grub
directory in your CD tree, and copy the stage2_eltorito file into that
directory along with grub.conf/menu.lst.

Then when you run mkisofs, you add the options:

-b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table

Someone who uses a GUI for CD burning will have to comment on how to
do this without the command line!

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [OT] how to make Bootable DVD/CDs [Was] Re: [gentoo-user] Backups

2005-12-15 Thread Ow Mun Heng
On Thu, 2005-12-15 at 23:02 -0700, Richard Fish wrote:
 On 12/15/05, Ow Mun Heng [EMAIL PROTECTED] wrote:

 
 -b boot/grub/stage2_eltorito -no-emul-boot -boot-load-size 4 -boot-info-table

Thanks. Wonderful info. 

/me just bought a DVD writer.

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 14:11:02 up 1 day, 22:47, 6 users, load average: 0.09, 0.17,
0.35 


-- 
gentoo-user@gentoo.org mailing list



Re: [OT] how to make Bootable DVD/CDs [Was] Re: [gentoo-user] Backups

2005-12-15 Thread Richard Fish
On 12/15/05, Richard Fish [EMAIL PROTECTED] wrote:
 bootable, but mkisofs.  To use GRUB, you have to make a /boot/grub
 directory in your CD tree, and copy the stage2_eltorito file into that
 directory along with grub.conf/menu.lst.

Oh, I forgot one thing.  Instead of (hdX,X) in grub.conf, you use
(cd).  For example:

title 2.6
kernel (cd)/boot/vmlinuz-2.6 root=/dev/hdc

Of course, your kernel must have support for your CD-ROM drive and the
iso9660 filesystem built in...

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Two boots?

2005-12-15 Thread Alan E. Davis
My dual opteron box runs gentoo nicely.  However, it ALWAYS takes two
boot cycles to boot up.  Is there some issue I might need to know
about?  Is this one boot per cpu?

Thanks for any ideas,

Alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] phpmyadmin user/password? [solved]

2005-12-15 Thread David Obwaller
On Thu, Dec 15, 2005 at 05:00:02PM -0800, Daevid Vincent wrote:
 Hmm. Well I thought I had done this, but issuing this command again seemed
 to have fixed it:
 
 mysql -u root -p 
 /usr/share/webapps/phpmyadmin/2.7.0_p1/sqlscripts/mysql/2.7.0_p1_create.sql 
 
 The problem now is that all the images are broken and no CSS is being
 applied if I try to connect from a remote IP.
 
 I fixed that by setting config.default.php to:
 
 #$cfg['PmaAbsoluteUri'] = 'http://localhost//phpmyadmin';
 $cfg['PmaAbsoluteUri'] = '';
 
 Not quite sure why that is set by default when it works better without it...

I believe the correct setting would be something like

$cfg['PmaAbsoluteUri'] = 'http://YOUR_IP_OR_HOSTNAME/phpmyadmin';

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



Re: [gentoo-user] Re: dd isos

2005-12-15 Thread Uwe Thiem
On 15 December 2005 23:56, Hani Duwaik wrote:
 On 12/15/05, Neil Bothwick [EMAIL PROTECTED] wrote:
  On Thu, 15 Dec 2005 11:29:55 +0100, Harald Arnesen wrote:
I don't use it any more because it is slow, cp and cat give the same
result and are faster.
  
   dd is not slower than cp/cat if you increase the block size from the
   default 512 bytes.
 
  Aside from speeding things up, what effect does increasing the block size

 have (does it in any way alter the resulting ISO?)?

Nope.

Uwe


-- 
Unix is sexy:
who | grep -i blonde | date
cd ~; unzip; touch; strip; finger
mount; gasp; yes; uptime; umount
sleep
-- 
gentoo-user@gentoo.org mailing list