[gentoo-user] OT: font management software

2005-08-31 Thread Martin S
I admit - I'm adicted to fonts.
Is there a font management app that's good under Linux?
I need to see what the fonts look like and be able to install what's not installed.

I found Fontlinge which isn't in portage and consists of a gazillion dependencies. Any more?Regards,Martin S


Re: [gentoo-user] Can`t play dvd with xine based video players

2005-08-31 Thread Makurin Roman
В сообщении от Воскресенье 28 августа 2005 17:28 Alex написал(a):
 On Saturday 27 August 2005 20:57, Roman Makurin wrote:
  What I need to do ? :-)

 I've been looking for the same thing for some days now... The good thing I
 just found a solution (well at least it worked for me :) )
 You have to enable direct raw access in the kernel:

 Device Drivers  --- ATA/ATAPI/MFM/RLL support  ---  [*] IDE Taskfile
 Access

 boot with your new kernel and enjoy your movies ;)

The problem has gone with xine-lib-1.1.0-r2 :-)




pgpbAmExHKs3s.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-31 Thread Frank Schafer
On Tue, 2005-08-30 at 17:51 -0500, John Jolet wrote:
 On Aug 30, 2005, at 4:57 PM, Christoph Gysin wrote:
 
  John Jolet wrote:
 
  yeah, if it's got a firewall disallowing icmp responses.  then you  
  can do nmap -P0 to find it.  ping would never find it.  It's gotta  
  have SOME port open.
 
 
  As far as I've read his post, there's no firewall involved. So why  
  should he do portscans in all hosts on the subnet?
 
 
  Also, nmap can do os fingerprinting and probably show you which  
  one is the solaris or sunos machine...
 
 
  Sure, but that's not what he's looking for...
 
 perhaps I read the initial post wrong...I was under the impression  
 that he had a headless sun box with a static ip on a known subnet,  
 but the exact ip wasn't known.

... what about arp?

Just a thought
Frank
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] rsync problems

2005-08-31 Thread Bryan Whitehead

Sounds like bad memory.

Run memtest86?

On Tue, 30 Aug 2005, Joshua Armstrong wrote:


They are syncing from the same mirror.  I haven't tried changing mirrors
though.  If it helps, when I read the kernel logs I notice that during
the time it's syncing, I see a lot of readlink() failed:  I/O error for
files in /usr/portage.  I've run fsck on the disk and it detects no
errors.  All other apps can read all the files in /usr/portage without a
problem.

Thanks for all your help!

On Tue, 2005-08-30 at 21:02 +0200, Holly Bostick wrote:

Joshua Armstrong schreef:

Hello, I'm having a problem with rsync on one of my servers.  Every time
I rsync from one of the gentoo portage mirrors, it tells me rsync error:
some files could not be transferred (code 23) at main.c(1064).  I've
tried re-emerging rsync and re-emerging portage but to no avail.  I know
it isn't a firewall/routing issue because all my other Gentoo boxen can
sync without a problem.  Thanks!



Are the other boxes that aren't having the problem syncing with the same
server as the box that is having the problem?

Have you tried changing the mirror that the box with the problem is
syncing with?

Holly




--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Nagatoro

For a _great_ place to read about ebuilds go to:
http://dev.gentoo.org/~plasmaroo/devmanual/

It has next to everything :)
--
Naga
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: font management software

2005-08-31 Thread Philip Webb
050831 Martin S wrote:
 Is there a font management app that's good under Linux?
 to see what the fonts look like

Gfontview  Gucharmap (both in Portage);
Xfd  Xfontsel (both part of Xorg).

 and be able to install what's not installed.

Well, this is Gentoo, so you use 'emerge' to install things ... (grin).

Apart from the basic  media-libs/freetype ,
the other font packages are in  /usr/portage/media-fonts .

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: font management software

2005-08-31 Thread Martin S
What I'm looking for is something like 
http://www.blacksunsoftware.com/xfonter.html
or
http://www.neuber.com/typograph/index.html


Regards,

Martin S

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] More splash problems

2005-08-31 Thread Uwe Thiem
On 30 August 2005 16:31, bshlists wrote:
 On August 30, 2005 10:51 am, Holly Bostick wrote:

  Afaik, it's not a change to a config file, it's a change in the way you
  generate the initramfs.
 
  If you compile it into the kernel (instructions on the Wiki; see How-to
  fbsplash), it will start up at the very start.
 
  If you load it as a separate initrd, you have to wait for the
  framebuffer to initialize before the splash can start (which takes a
  short while).
 
  Naturally, if you change from loading an initrd to compiling the initrd
  into the kernel, you do have to change a config file (grub.conf, to
  remove the initrd= line, since you no longer have one), but changing the
  file alone won't make any difference if you haven't changed the way you
  create the initrd in the first place.
 
 
  HTH,

 Holly

 Okay.  The method I used was by genkernel and the initramfs I'm using was
 to get the autodetection feature.  If I change this don't lose that ability
 or does it matter?

genkernel --menuconfig --gensplash=yourtheme --gensplash-res=1024x768 all or 
whatever resolution you want. You can use the initramfs as usual.

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-31 Thread Nick Rout
On Wed, 2005-08-31 at 08:38 +0200, Frank Schafer wrote:
 On Tue, 2005-08-30 at 17:51 -0500, John Jolet wrote:
  On Aug 30, 2005, at 4:57 PM, Christoph Gysin wrote:
  
   John Jolet wrote:
  
   yeah, if it's got a firewall disallowing icmp responses.  then you  
   can do nmap -P0 to find it.  ping would never find it.  It's gotta  
   have SOME port open.
  
  
   As far as I've read his post, there's no firewall involved. So why  
   should he do portscans in all hosts on the subnet?
  
  
   Also, nmap can do os fingerprinting and probably show you which  
   one is the solaris or sunos machine...
  
  
   Sure, but that's not what he's looking for...
  
  perhaps I read the initial post wrong...I was under the impression  
  that he had a headless sun box with a static ip on a known subnet,  
  but the exact ip wasn't known.
 
 ... what about arp?

That was the answer given in an alomst identical problem recently on
this list (or was it another??)

arp will rely on the box having actually done something within arp's
cache period.

if there is no network activity, there may be no arp entry.

 
 Just a thought
 Frank
-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-31 Thread Destromy
Nick Rout wrote:

On Wed, 2005-08-31 at 08:38 +0200, Frank Schafer wrote:
  

On Tue, 2005-08-30 at 17:51 -0500, John Jolet wrote:


On Aug 30, 2005, at 4:57 PM, Christoph Gysin wrote:

  

John Jolet wrote:



yeah, if it's got a firewall disallowing icmp responses.  then you  
can do nmap -P0 to find it.  ping would never find it.  It's gotta  
have SOME port open.

  

As far as I've read his post, there's no firewall involved. So why  
should he do portscans in all hosts on the subnet?




Also, nmap can do os fingerprinting and probably show you which  
one is the solaris or sunos machine...

  

Sure, but that's not what he's looking for...



perhaps I read the initial post wrong...I was under the impression  
that he had a headless sun box with a static ip on a known subnet,  
but the exact ip wasn't known.
  

... what about arp?



That was the answer given in an alomst identical problem recently on
this list (or was it another??)

arp will rely on the box having actually done something within arp's
cache period.

if there is no network activity, there may be no arp entry.

  

Just a thought
Frank


ping broadcast ?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-31 Thread Nick Rout
On Wed, 2005-08-31 at 16:42 +0800, Destromy wrote:
 
 
 ping broadcast ?

now we are going in circles.

not every device responds to ping - its optional in linux and people
often turn it off because of various DOS attacks based on icmp.

also some OSes don't seem to respond to broadcast ping, even though they
respond to ping to their own address, windows being an example.

So, all techniques in this thread seem to have validity, but not all of
them will work in all circumstances.

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Losing time somewhere

2005-08-31 Thread Stuart Howard
Thank you the the hwclock tip it will solve my problem exactly.

Unfortunatly it seems my problems were deeper and beyond the scope of this
thread really, the loss of time was due to something within the kernel
that I built last week I also realised that my hard disk performance 
had fallen dramatically, again due to some option selected or not within
the .config.
After a 6 hour session of tweaking last night, I decided to take the
honourable way out and deleted the 2.6.12-r9 kernel and reverted to a 2.6.11.5 
that came from a genkernel setup some time ago that has served me well for
the last few months.

Thanks for help on time issue, some reading to be done I think 

stu


On 8/30/05, Uwe Thiem [EMAIL PROTECTED] wrote:
 On 30 August 2005 15:17, Stuart Howard wrote:
  thanks for the response
 
  So far as I can tell I have not had ntp on my system, I have not put
  it on myself the only way it could have been on is if it were a
  default during original install of Gentoo in which case --depclean
  ought not to have removed it as it should belong to something [world
  , system ]
 
  I may give up on chrony and put a ntp on and see if that cures it,
  though I prefer not to just mask a problem if there is one, could a
  clock slowdown be something as serious as an indication of hardware
  problems?
 
 Not really since your clock is on time after a boot.
 
 Please understand that there are two clocks involved. One is a hardware
 clock. The other one is the system clock which is software. date shows
 the system clock. During the boot process, the content of the hardware clock
 is copied to the system clock. That's why your system clock is correct after
 booting. It also shows that your hardware clock is doing fine. Your system
 clock is misbehaving.
 
 Whatever the reason for its sluggishness, ntpd or ntpdate (using an ntp server
 near you) should solve. Or, since your hardware clock is alright, a simple
 hwclock -ru (if your clock is set to UTC) or hwclock -r (if not so)
 should do the trick. Let cron execute it every hour or so.
 
 Uwe
 
 --
 95% of all programmers rate themselves among the top 5% of all software
 developers. - Linus Torvalds
 
 http://www.uwix.iway.na (last updated: 20.06.2004)
 --
 gentoo-user@gentoo.org mailing list
 
 


-- 
There are 10 types of people in this world: those who understand
binary, those who don't

--Unknown

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to work with etc-updates.

2005-08-31 Thread Neil Bothwick
On Tue, 30 Aug 2005 17:19:40 -0400, Sean Higgins wrote:

  It exists as an option with dispatch-conf, as do options to
  automatically replace files if the only differences are whitespace
  and comments.
 
 But, it does not automatically do an update if the original file has
 not changed.  That would be a cool feature.  How often are files
 changed, for example in /etc/init.d, but you have not changed that
 file?  I would love the option to automatically update any
 configuration file that I did not change from the original install.

No it does not do it automatically, that would be dangerous, You have to
enable the option first in /etc/dispatch-conf.conf

# Automerge files that the user hasn't modified
# (yes or no)
replace-unmodified=yes


-- 
Neil Bothwick

Guns don't kill people--it's those little pieces of lead.


pgpDRImQfMrBC.pgp
Description: PGP signature


[gentoo-user] [OT]: shm problem: ** glibc detected *** corrupted double-linked list - urgent help needed

2005-08-31 Thread Christian Fischer
Hi all.

I've crashed shm with a perl-script (IPC::Shareable).
shmget returns IPC::Shareable::SharedMem: shmget: File exists, if I remove 
all shared memory segments created by the app with ipcrm I get the following 
glibc error:  ** glibc detected *** corrupted double-linked list
Nothing helps (reboot also not), I can't get it working again. If I trace it 
with strace I get a lot of segfaults. 

Knows somebody a solution for this problem?

Regards
Christian
-- 


pgpPwrDKx3R7Q.pgp
Description: PGP signature


[gentoo-user] Re: Following a well overdue world -u I have no network

2005-08-31 Thread Harry Putnam
Nick Rout [EMAIL PROTECTED] writes:

 For the network problem:

 first thing to know - have you updated your config files with
 etc-update or dispatch-conf?

I used dispatch-conf, because of the archiving behaviour but I see it
doesn't really archive all of etc now.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How do I get LVM2 off a drive?

2005-08-31 Thread Petteri Räty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Knecht wrote:
 I did an experiment with LVM2 to see how it worked, but I put it
 inside of partition 3. I then wanted to remove it and put it in
 partition 4 instead. (More like Neil's setup.) However, the system
 keeps finding the old vg1 volume group. I went so far as to remove all
 partitions, put on a new partition, make a new file system, then
 remove that filesystem and do my final ones with LVM2 in partition 4
 but the system still finds the old vg1 volume group and complains that
 sda3 is too small.

The easiest thing to move lvm partitions from one physical partition to
another is as follows:
1. pvcreate new (create lvm2 data on the partition)
2. vgextend vg new (adds the new partition to the volume group)
3. pvmove old (moves the extends to the new partitions)
4. vgreduce old (removes the old partition from the volume group)
5. pvremove old (wipes the lvm2 markings from the partition)

 
 I guess this is in the partition table? If so how do I completely
 remove the LVM2 data and set the table back to default?

Hopefully this was what you were looking to do.

 
 Thanks in advance,
 Mark
 

Regards,
Petteri Räty
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDFX1/cxLzpIGCsLQRAqu2AJwNL5i9UJDejNPpC3eJiSwHsXNgEwCfbj58
8VKgQzOye3TLiAX2+Noex+8=
=7T7+
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] rsnapshot is deleting the very stuff it is supposed to backup

2005-08-31 Thread Harry Putnam
Following a major update world.  My rsnapshot scripts are deleting the
files they are supposed to backup.  I've made no changes in my own
conf files other than to add the version notation:

config_version1.2

After seeing errors that seemed to indicate it was no needed.

Something has changed that is wreaking havoc with my backups.

~/Mail gets deleted (nearly all directories inside).  And I see it was
my rsnapshot mail conf file that did it.   Waa

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Error compiling totem-1.0.4 -- looking for suggestions on how to fix

2005-08-31 Thread Ric de France
On 8/30/05, Alex [EMAIL PROTECTED] wrote:
 On Monday 29 August 2005 13:09, Ric de France wrote:
  What is the bug suggesting to do to fix it:
  a) Wait for the fix to be sync'ed into portage?
  b) Emerge gst-plugins-flac?
 
 It's (b)
 
 Or you could do
 $ emerge --oneshot gst-plugins-flac (which wont record it in your world file)
 and wait for the fix to be synced into portage. :)

Thanks for the suggestion here... I tried what you said, but to no success... 

Anything else you could suggest, or do I just track the bug and see
wait for when the fix gets implemented?

Btw. There is no rush on this... it's not like my system is
unusable... everything still works fine... it's just that this stops
the rest of the world from being updated... no biggie... but I am
seriously grateful for all the suggestions...

...Ric
-- 
Ric de France
Ph: +61412945554 (international) or 0412945554 (Australia)
== Do you, uh... Gentoo? Gent-hooo!! ==

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Following a well overdue world -u I have no network

2005-08-31 Thread Neil Bothwick
On Wed, 31 Aug 2005 04:42:51 -0500, Harry Putnam wrote:

  first thing to know - have you updated your config files with
  etc-update or dispatch-conf?
 
 I used dispatch-conf, because of the archiving behaviour but I see it
 doesn't really archive all of etc now.

Have you enabled rcs in the config? This makes it backup the changes, so
you can roll back.
 

-- 
Neil Bothwick

This is as bad as it can get; but don't bet on it.


pgpFHlhAuGKXQ.pgp
Description: PGP signature


Re: [gentoo-user] Can`t play dvd with xine based video players

2005-08-31 Thread Alex
On Wednesday 31 August 2005 06:06, Makurin Roman wrote:
 The problem has gone with xine-lib-1.1.0-r2 :-)

Yay! :)

the devs know better ;)
-- 
Cheers, Alex.


pgp11riY59DLC.pgp
Description: PGP signature


Re: [gentoo-user] Error compiling totem-1.0.4 -- looking for suggestions on how to fix

2005-08-31 Thread Alex
On Wednesday 31 August 2005 09:59, Ric de France wrote:
 Anything else you could suggest, or do I just track the bug and see
 wait for when the fix gets implemented?

Do you use 2.4 or 2.6 linux-headers?

http://bugs.gentoo.org/show_bug.cgi?id=68087

It seems that this problem exists only with 2.4 headers.
-- 
Cheers, Alex.


pgp0FbrYaGhUB.pgp
Description: PGP signature


Re: [gentoo-user] Personal firewall for Linux?

2005-08-31 Thread Matthias Bethke
Hi Matt,
on Monday, 2005-08-29 at 14:54:46, you wrote:
 I'm not trying to do anything complicated like protect a LAN or include 
 a DMZ or run an ftp server or anything like that.  I'm just looking for 
 a quick and easy way to add another layer of protection to my desktop by 
 closing all unused ports. 

Well, if they are unused, they are closed, no need to worry about them.
The only thing you'd need some packet filter (a firewall is something
different, although the term sounds so good that the marketroids have
established it even for simpler things than iptables) for is if you want
*restrictions* on some ports, like to open your web server to the LAN
but not the internet.
On Windows, the situation is a little different as you don't have a lot
of control about what program opens what ports if you don't know your
system inside-out. And many programs love to connect to their masters
and tell them all kinds of stuff about your system, so you'd usually
want to block these on an application level.
If you just want something that pops up once in a while and gives scary
messages, there's the ususal Perl one-liner :)

perl -e 'use Tk;while(1){sleep(rand(290)+10);new
MainWindow(title,Boo!)-Button(-text,HackAttack!!!one!\n\nBlock)-pack;MainLoop}'

cheers!
Matthias
-- 
I prefer encrypted and signed messages.   KeyID: 90CF8389
Fingerprint: 8E 1F 10 81 A4 66 29 46  B9 8A B9 E2 09 9F 3B 91


pgpM7m657YFsn.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-31 Thread John Jolet


On Aug 31, 2005, at 1:38 AM, Frank Schafer wrote:



... what about arp?



If this machine has the mac address listed on the outside of the  
case, or he opens it up to look at the card, sure.  if you don't know  
what the mac address isthen you're stuck.  Of course, if it's a  
small, home network, you could always just turn off all the other  
computers except that one and the one you're on and ask the router  
who's connected.  be quicker just to launch nmap and go get some coffee.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Error compiling totem-1.0.4 -- looking for suggestions on how to fix

2005-08-31 Thread Ric de France
On 8/31/05, Alex [EMAIL PROTECTED] wrote:
 On Wednesday 31 August 2005 09:59, Ric de France wrote:
  Anything else you could suggest, or do I just track the bug and see
  wait for when the fix gets implemented?
 
 Do you use 2.4 or 2.6 linux-headers?
 
 http://bugs.gentoo.org/show_bug.cgi?id=68087
 
 It seems that this problem exists only with 2.4 headers.

Yep... running 2.4 kernel, so I guess I'm using the 2.4 headers...
I'll read more into the bug and try to fix / patch myself...

Thanks for pointing me in the right direction.

...Ric
-- 
Ric de France
Ph: +61412945554 (international) or 0412945554 (Australia)
== Do you, uh... Gentoo? Gent-hooo!! ==

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Holly Bostick
Fernando Canizo schreef:
 El 30/ago/2005 a las 22:36 -0300, Holly me decía:
 
Normally what one would do is place all modified ebuilds in your
PORTDIR_OVERLAY ...
 
 
 Thank you very much. You should take advice from Nick and make it a howto. I'm
 surely going to translate to spanish and put it in my blog, maybe i would add
 something if i get to make it work ;)

Thanks, and more power to you!

 
 I can't make it work but it's after 2 AM and maybe i just need to read some
 docs.
 
 ebuild says:
 
 # ebuild /usr/local/portage/mail-client/mutt/mutt-conan-1.5.8-r2.ebuild digest
 !!! aux_get(): ebuild path for 'mail-client/mutt-conan-1.5.8-r2' not 
 specified:
 !!!None
 !!! aux_get(): ebuild path for 'mail-client/mutt-conan-1.5.8-r2' not 
 specified:
 !!!None
 doebuild(): aux_get() error reading mail-client/mutt-conan-1.5.8-r2; aborting.


The probelm here is (likely) that the name of the package (for the
purposes of the ebuild) is 'mutt-conan', not mutt.

The format for an overlay folder (like Portage) is

cat-egory/package-name/package-name.and-version.ebuild

so your ebuild should likely be in

/usr/local/portage/mail-client/mutt-conan/mutt-conan-1.5.8-r2.ebuild

rather than just 'mutt'.

I get caught by that one all the time

 
 
to create the manifest file (so that Portage knows what files are
associated with the ebuild, and can calculate their MD5 sums to check
them for corruption when emerging).
 
 
 I did it by hand, first time, when modified ebuild in /usr/portage
 
 
The thing is, that ebuilds in your overlay aren't overwritten or touched
in any way by Portage, so you don't have to keep 'redoing' the ebuild
every time you emerge sync.
 
 
 Cool, that's what i wanted. But i have to fix version in
 /etc/portage/packages.mask if i want to forbid mutt being upgraded, have i?

Not necessarily, because your package is called mutt-conan, not mutt. So
all you have to do is not emerge mutt-- as long as you don't emerge a
package that depends on mutt, which I don't know if there are any, you
should be good to go. If your package was called mutt, you could mask
all versions above the one you used, just like you would for any other
ebuild, but I wouldn't do that myself, because then how will you know if
the package was upgraded (possibly folding in your changes, or, if not,
nonetheless incorporating features that you might want in your modified
ebuild anyway). In other words, not masking the original package makes
it easier to know when to update your overlay ebuild, imo.

You might want to check your virtuals, though, and/or package.provided,
to let Portage know that mutt is provided by mutt-conan.

 
 
If the ebuild in Portage hasn't changed, your modified ebuild will
always be newer; if the ebuild in Portage has changed, it's quite likely
that whatever patch or functionality you were waiting for has been
merged into the main tree upstream, or backported into the ebuild, so
you have an easy migration path back into main Portage (and of course,
if you care enough about the application and its patchset to modify an
ebuild and put it in your overlay, checking the ChangeLog of any updated
ebuilds is not an onerous task).
 
 
 Well, i've not synced for a while, but i think sooner or later will do.
 Emm... the patch isn't going to be upstream soon if ever. I asked for some
 behaviour in mutt-user mailing list and someone give me this patch. Now i'm
 asking there to put it in the core, but that could not happen.

Is this a behaviour that a significant portion of the mutt userbase
might want? Or are you just weird ;) ? If you're just weird, use your
overlay and be happy. If you think it might be useful to other mutt
users, submit it to b.g.o (make sure to explain the circumstances so
they don't go irritating upstream with a patch that upstream has no
interest in). Or, if there's an unofficial 'mutt users' site or two, you
could offer it to them to host, so that non-gentoo mutt users would have
access to it as well.

Or, if there's some way to 'modularize' mutt, you could look into
turning the patch into a 'plugin' (if such things exist, I know nothing
about mutt), so that it would be optional to those who wanted to use it.

 
 
So that's the userland solution, but yes, if you want the patch included
in Portage (which is likely to happen anyway, if it's a patch from
upstream), the place to submit it for inclusion (preferably with the
modified ebuild attached as well), would be bugs.gentoo.org (b.g.o).
 
 
 Well, maybe i try it, the patch is so simple that even if never gets to mutt
 core, i think it wouldn't do any damage to maintain it in gentoo. I can do 
 that.

:) Yes, you can. Isn't Gentoo great? Did you know yesterday that even
you could contribute to development? $DEITY, I *love* that !

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



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-31 Thread Nick Rout
On Wed, 2005-08-31 at 05:50 -0500, John Jolet wrote:
 On Aug 31, 2005, at 1:38 AM, Frank Schafer wrote:
 
 
  ... what about arp?
 
 
 If this machine has the mac address listed on the outside of the  
 case, or he opens it up to look at the card, sure.  if you don't know  
 what the mac address isthen you're stuck. 

Not necessarily. If the machine has had network activity it may be shown
by arp -e.

If you have a smallish network and can identify the other machines, its
a matter of elimination. i.e. you look at the list of IP addresses shown
by arp -en and eliminate the ones you know. 

  Of course, if it's a  
 small, home network, you could always just turn off all the other  
 computers except that one and the one you're on and ask the router  
 who's connected.  be quicker just to launch nmap and go get some coffee.
-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-31 Thread Anthony Walters

Andrew Lowe wrote:

Hi all,
I have the situation where I've been loaned an old Sun SPARC box for 
some work. It has a static IP somewhere in the 192.168.0.* range, which 
my home network also is in. My question is, how can I find out the IP 
address of the machine? 


if it is pingable then

emerge fping
and
fping -g 192.168.0.0/24

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-31 Thread Matthias Bethke
Hi Nick,
on Wednesday, 2005-08-31 at 20:30:14, you wrote:
 arp will rely on the box having actually done something within arp's
 cache period.

What's more, ARP resolves IP addresses to MAC addresses and the IP
address is what the OP wanted to find out in the first place.
I'd try in this order:
1. Broadcast ping
2. for n in `seq 1 254`; do ping /dev/null -c1 -W1 192.168.0.$n; \
[ $? == 0 ]  echo $n is up; done
3. nmap

cheers!
Matthias
-- 
I prefer encrypted and signed messages.   KeyID: 90CF8389
Fingerprint: 8E 1F 10 81 A4 66 29 46  B9 8A B9 E2 09 9F 3B 91


pgpbm2KbnPfNZ.pgp
Description: PGP signature


[gentoo-user] Re: Following a well overdue world -u I have no network

2005-08-31 Thread Harry Putnam
Roy, looks like my first impulse about an update... IE, that it would
be a pita is coming true... hehe

Roy Wright [EMAIL PROTECTED] writes:

 For the network problem:

 hostname and domainname migrated from /etc to /etc/conf.d

Has /etc/domainname just moved to /etc/conf.d or is it a new filename
with different notation?

I see my old domainname file in etc and something called:
/etc/conf.d/dnsdomainname which appears to be unchanged by the
update and has a Mar 22 date on it.

It says simply:
local.net0 (which is correct)

This is the only uncommented line in pre update /etc/domainname:

  # When setting up resolv.conf, what should take precedence?
  # If you wish to always override DHCP/whatever, set this to 1.
  OVERRIDE=1

So just move it bodily to /etc/conf.d?

Regarding dmesg.   Network devices are being recognized normally.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: font management software

2005-08-31 Thread Holly Bostick
Philip Webb schreef:
 050831 Martin S wrote:
 
 Is there a font management app that's good under Linux? to see what
 the fonts look like
 
 
 Gfontview  Gucharmap (both in Portage); Xfd  Xfontsel (both part of
 Xorg).
 
 
 and be able to install what's not installed.
 
 
 Well, this is Gentoo, so you use 'emerge' to install things ...
 (grin).
 
 Apart from the basic  media-libs/freetype , the other font packages
 are in  /usr/portage/media-fonts .
 

And of course, you can download fonts from any of those font collection
pages on the net and extract/copy them into /usr/share/fonts/TTF
(assuming they're truetype, naturally), run fc-cache and they'll work
fine. I had an attack of fontmania recently myself, looking for 'nice'
fonts that weren't ComicSansMS that actually had ë, ö, ¤ (that's the
Euro symbol, if you can't see it), and *also* had bold and italic
variants (which was the problem).

It's almost enough to make me wish I spoke/wrote CJK-- there are a lot
more complete fonts for Asian languages (and they're much easier to
find), than truly complete sets for ISO8859-15.

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



Re: [gentoo-user] [OT] Finding other machines on the network

2005-08-31 Thread Frank Schafer
If some other machine wants to communicate with some second other
machine ... say secmachine.homenet.com it connects to the DNS server of
homenet.com. (This step won't be done if IP addresses are in use.

The DNS server then sends the IP address to firstmachine.homenet.com or
firstmachine uses the known one.

Next firstmachine will broadcast an ARP whois ip.of.sec.srv request.
sec.srv or secmachine will answer with an ARP reply which contains the
IP and the MAC address.

Firstmachine then initiates the communication using this MAC address.

Don't forget. The transport layer is ETHERNET. There don't exist IP
addresses.

Just for clarification.

arp will do exactly this and arpd can even collect such information
because every machine on a subnet will see all of the requests and
replies.

Regards
Frank


On Wed, 2005-08-31 at 05:50 -0500, John Jolet wrote:
 On Aug 31, 2005, at 1:38 AM, Frank Schafer wrote:
 
 
  ... what about arp?
 
 
 If this machine has the mac address listed on the outside of the  
 case, or he opens it up to look at the card, sure.  if you don't know  
 what the mac address isthen you're stuck.  Of course, if it's a  
 small, home network, you could always just turn off all the other  
 computers except that one and the one you're on and ask the router  
 who's connected.  be quicker just to launch nmap and go get some coffee.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Following a well overdue world -u I have no network

2005-08-31 Thread Harry Putnam
Neil Bothwick [EMAIL PROTECTED] writes:

 On Wed, 31 Aug 2005 04:42:51 -0500, Harry Putnam wrote:

  first thing to know - have you updated your config files with
  etc-update or dispatch-conf?
 
 I used dispatch-conf, because of the archiving behaviour but I see it
 doesn't really archive all of etc now.

 Have you enabled rcs in the config? This makes it backup the changes, so
 you can roll back.

No, I just used it sort of blindly and in many cases choose to `e'
edit the new file, where upon I'd read the old file into the new and
take what looked like it needed to be taken into the new file.  Then
save exit and chose `u' (use new).

So I guess the result should have been a very manual merging.  There
were some 128 new conf files.  The vast majority I just accepted as is
since I'd not done any conf changes on most of them.

I was under the conception that the archiving mechanism did a backup
of all of etc but apparently that is not the case.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Following a well overdue world -u I have no network

2005-08-31 Thread Jason Stubbs
On Wednesday 31 August 2005 18:42, Harry Putnam wrote:
 Nick Rout [EMAIL PROTECTED] writes:
  For the network problem:
 
  first thing to know - have you updated your config files with
  etc-update or dispatch-conf?

 I used dispatch-conf, because of the archiving behaviour but I see it
 doesn't really archive all of etc now.

You've hit a bug in dispatch-conf. /etc/init.d/net.eth0 was previously a 
file. Now it's a symlink to net.lo. dispatch-conf fails to handle that 
change correctly. Hence, delete /etc/init.d/net.eth0 and recreate it as a 
symlink and all should be fine.

-- 
Jason Stubbs


pgp1817pdiPRP.pgp
Description: PGP signature


Re: [gentoo-user] Personal firewall for Linux?

2005-08-31 Thread Alvin A ONeal Jr
I'm not trying to do anything complicated like protect a LAN or include 
a DMZ or run an ftp server or anything like that.  I'm just looking for 
a quick and easy way to add another layer of protection to my desktop by 
closing all unused ports. 


Go to gentoo-wiki.com and search for newbie iptables there's a 
quickstart guide that should tell you in 3 minutes or less the things 
that you need to know.


--
8^)
Laterz-
~Alvin
http://CoolAJ86.Havenite.net

---
Dad: There's good-looking, there's excellent looking, and then there's me.
begin:vcard
fn:Alvin A ONeal Jr
n:ONeal;Alvin
adr;dom:;;34 Fletcher Lane;Shelburne;VT;05482
email;internet:[EMAIL PROTECTED]
tel;work:1.802.877.2938
tel;home:1.802.985.5277
tel;cell:1.802.578.0599
note;quoted-printable:DoB: 19860616=0D=0A=
	
x-mozilla-html:FALSE
url:http://coolaj86.havenite.net
version:2.1
end:vcard



[gentoo-user] Any exper or experienced rsnapshot users here, please read

2005-08-31 Thread Harry Putnam
My rsnapshot conf files consist of:

/etc:
   rsnapshot_Mail.conf
   rsnapshot_Etc.conf
   rsnapshot_Home.conf
   rsnapshot_News.conf

There run at all the normal intervals.  hourly, daily, weekly, monthly

Suddenly following a full update with world -u from a well out of date
system, all these conf files have reported having deleted what used
to be their backup targets.

~/Mail has many directories deleted ... ditto the other targets.

Following the update I got errors from rsnapshot that my conf files
were missing a config_version parameter.

I inserted that paramater as `config_version \t\t =(with tabs)=1.2'
into each.

Plus I renamed the /etc/rsnapshot.conf.default to 
rsnapshot.conf.default_DONT_USE_FOR_NOW_082905.  I wasn't sure what
role this file plays.

Following these changes my conf logs show the targets being deleted at
least partially.

What on earth have I done?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Neil Bothwick
On Wed, 31 Aug 2005 13:39:04 +0200, Holly Bostick wrote:

 Or, if there's some way to 'modularize' mutt, you could look into
 turning the patch into a 'plugin' (if such things exist, I know nothing
 about mutt), so that it would be optional to those who wanted to use it.

Or you could add a USE flag, so the patch was only applied for those who
want it.


-- 
Neil Bothwick

without C people would code in Basi, Pasal and Obol


pgpRnjAb2WsJO.pgp
Description: PGP signature


[gentoo-user] Please point me to the doco on an nVidia install

2005-08-31 Thread Andrew Lowe

Hi all,
	I've managed to build up a machine that uses an nVidia nforce2 chipset. 
I'm now in the process of installing the nVidia drivers. The problem is 
that I'm sure I've come across doco that describes what to do but for 
the life of me I can't remember where it is. I've done some googling but 
to no avail. Would someone be so kind as to point me to appropriate doco 
for the installation and configuration of the nVidia graphics drivers.


	I've currently got the machine to boot up and can then load up kde in 
640x480 resolution. The mouse dosn't work, but I'm assuming all of that 
is a part of the X11/nVidia/OpenGL config. Now I just need some doco.


Any pointers greatly appreciated,
Andrew
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Please point me to the doco on an nVidia install

2005-08-31 Thread Christoph Gysin

Andrew Lowe wrote:
I've managed to build up a machine that uses an nVidia nforce2 
chipset. I'm now in the process of installing the nVidia drivers. The 
problem is that I'm sure I've come across doco that describes what to do 
but for the life of me I can't remember where it is. I've done some 
googling but to no avail. Would someone be so kind as to point me to 
appropriate doco for the installation and configuration of the nVidia 
graphics drivers.


PLEASE don't ask stuff that hits #1 in a google search...

Find it yourself:
http://www.google.ch/search?q=gentoo+nvidia

Christoph
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Pixie does not run.

2005-08-31 Thread Adrian
Greetings;

When I try to run pixie I get the following result:

Wed Aug 31 06:23:19
~
 skippi $  pixie
pixie: symbol lookup error: /usr/lib/libdpstk.so.0: undefined symbol:
DPSDefaultErrorProc

I tried to re-emerge pixie in order to see if that gave me any useful
error messages.  It emerged quite happily, no problem.

I did a linux google search for this error message and found nothing at
all, which strikes me as odd . . .
Also checked the bug reports for anything on pixie and found nothing.

I guessing (and guessing I am) the problem isn't with pixie, but with
one of the libraries it needs.  Is the thing to do find out which
package libdpstk.so.0 is a part of and try to re-emerge that package?

Any suggestions?  Much thanks.
Adrian


-- 
On The Fly Photography -:- Creation From Chaos

On The Fly Photography:  http://204EastSouth.com
Purchase from On The Fly:  http://204EastSouth.com/OTFStore.htm
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Please point me to the doco on an nVidia install

2005-08-31 Thread Destromy
Andrew Lowe wrote:

 Hi all,
 I've managed to build up a machine that uses an nVidia nforce2
 chipset. I'm now in the process of installing the nVidia drivers. The
 problem is that I'm sure I've come across doco that describes what to
 do but for the life of me I can't remember where it is. I've done some
 googling but to no avail. Would someone be so kind as to point me to
 appropriate doco for the installation and configuration of the nVidia
 graphics drivers.

 I've currently got the machine to boot up and can then load up kde
 in 640x480 resolution. The mouse dosn't work, but I'm assuming all of
 that is a part of the X11/nVidia/OpenGL config. Now I just need some
 doco.

 Any pointers greatly appreciated,
 Andrew

http://www.gentoo.org/doc/en/nvidia-guide.xml, isnt mouse configuration
part done in the configuration of x ?
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Holly Bostick
Neil Bothwick schreef:
 On Wed, 31 Aug 2005 13:39:04 +0200, Holly Bostick wrote:
 
 
Or, if there's some way to 'modularize' mutt, you could look into
turning the patch into a 'plugin' (if such things exist, I know nothing
about mutt), so that it would be optional to those who wanted to use it.
 
 
 Or you could add a USE flag, so the patch was only applied for those who
 want it.
 
 
I thought of that, but since I don't know what the patch is or does, I
didn't know if that would be appropriate. Though, come to think of it,
if there's local USE flags like GAPING_SECURITY_HOLE (forgot what ebuild
that's on, but saw it again yesterday during a light world update, makes
me laugh), or -insecure-drivers, I suppose that the patch could have its
own USE flag, no matter what it does.

But do you know the answer to Nick's question about what I said earlier?
In a 'conflict' between two ebuilds of the same name and version, one in
Portage and one in the overlay, does the choice of which one is used if
I emerge the relevant package rely on which one is most recent(ly
modified), or the location-- i.e., will the overlay ebuild always beat
the Portage ebuild even if the Portage build is newer (because it was
updated without changing the version number), or will the newer ebuild
always win out, whether it's in overlay or main Portage?

I think it's the latter, but I was tired when I wrote that, and offhand
don't remember where to look it up to verify.

Holly


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Fernando Canizo
El 31/ago/2005 a las 03:37 -0300, Nick me decía:
 no no, you put the epatch command in your ebuild file (your own version
 that you put in PORTAGE_OVERLAY.)  Then the patch gets applied to the
 mutt source file before compilation.

Ah... Already did that! In my modified ebuild what i did was to copy
lines from other patches and then adecuate them.

  I don't understand this either, if i put something un *my* portage
  tree the mirrors get infested?
  
 
 no. lets start again.
 
 there are two places that portage can get the patch from. 
 
 
 1. If it is small you can put it in ${FILESDIR} which is, in our case:
 
 /usr/local/portage/mail-client/mutt/files/cool-all-mutt.patch
 
 Then it is only on your system. If your revised ebuild gets accepted
 into portage then the patch file will also get in the portage tree and
 every gentooista will eventually get it via emerge sync.
 
 2. If it is large, or if it is, for example, a commonly available public
 patch (for example that some third party has published) then you can
 instruct portage to download it from the net by specifying a SRC_URI,
 viz:
 
 SRC_URI=http://some.place.net/pub/patches/mutt/cool-all-mutt.patch;
 
 
 You can do that in your private OVERLAY ebuild, and as you say you found
 the patch on the net, that may be the best way to do it.

Cool, that's what i'll do.

 Again, if your revised ebuild gets accepted and if the powers that be
 get with it, the patch file might also get into the gentoo mirrors,
 meaning that it is easier to get with more redundancy.
 
I'm gonna try to file the bug report asking for it to be in portage
this afternoon. (got to go running now)

-- 
Fernando Canizo - http://www.lugmen.org.ar/~conan/
QOTD:
I drive my car quietly, for it goes without saying.
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Pixie does not run.

2005-08-31 Thread Dave Nebinger
 pixie: symbol lookup error: /usr/lib/libdpstk.so.0: undefined symbol:
 DPSDefaultErrorProc

A google search for libdpstk indicates that this is a core library for x11
with some references to it being obsolete.  I've got one for my xorg-x11
install, so it must not be too obsolete...

A google search for DPSDefaultErrorProc brought back a pointer to the header
file xc/include/DPS/dpsclient.h which seems to indicate that
DPSDefaultErrorProc is the default error handler for postscript error
reporting.  Being that it's the default, it definitely should be in the
libs...

Using the nm tool with find, I see that the DPSDefaultErrorProc is marked as
undefined in libdpstk.so, but appears to be defined in libdps.so.

So it would appear that you have some sort of linking issue going on...

For a quick fix I'd suggest trying to build pixie manually and ensure that
you include a -ldps in your LDFLAGS.

Whether it's a bug or not in the ebuild I couldn't venture to guess.



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Fernando Canizo
El 31/ago/2005 a las 08:39 -0300, Holly me decía:
 The probelm here is (likely) that the name of the package (for the
 purposes of the ebuild) is 'mutt-conan', not mutt.
 
 The format for an overlay folder (like Portage) is
 
 cat-egory/package-name/package-name.and-version.ebuild
 
 so your ebuild should likely be in
 
 /usr/local/portage/mail-client/mutt-conan/mutt-conan-1.5.8-r2.ebuild
 
 rather than just 'mutt'.
 
 I get caught by that one all the time

And i get caught even after reading this. But now i read a second time
and get that the *directory* where the ebuild remains *must* have the
same name as the package. I didn't pay attentio to this:
 /usr/local/portage/ ... /mutt-conan/ ...

But before realizing that i just changed the name back to *mutt* alone
and the command run sucessfull. So i decided to let that way since
emerge will tell from where comes the ebuild, as you say.

I can't wait to see this tested, i'm doing a sync right now and gonna
unfix mutt version in packages.mask so this afternoon will check what
happens when i try to 'emerge mutt' (surely gonna be a new version)

 Is this a behaviour that a significant portion of the mutt userbase
 might want? Or are you just weird ;) ?

Well, you use thunderbird, so maybe you're more like a mouse user.
This is the thing: in mutt you can flag a message as important (you
got only one flag), also you have a 'ctrl-d' command that deletes a
full thread. Sometimes threads get off-topic (an unconstructive flame
for example) and when i realize that, and don't like the new topic i
just 'ctrl-d' them. But what if i've flagged some message? It means
that it's important to me, so i wanted to remain undeleted.  The
actual behaviour of mutt just delete everything.

That's what the patch provides me, and with a single line of code.
Simple. And David (the autor) do it so well that even added a new
option for it to be in '~/muttrc' and let the default to be the old
behaviour. So i think this patch can get to portage easily.

By the way, if anyone interested, this is it:
http://home.uchicago.edu/~dgc/sw/mutt/patch-1.5.8.dgc.flagsafe.1

 If you think it might be useful to other mutt
 users, submit it to b.g.o 

Doing this later.

 :) Yes, you can. Isn't Gentoo great? Did you know yesterday that even
 you could contribute to development? $DEITY, I *love* that !

Yeah! I think it's time to read Nagatoro link now.

-- 
Fernando Canizo - http://www.lugmen.org.ar/~conan/
#if 0
linux-2.2.16/fs/buffer.c
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] booting into single mode

2005-08-31 Thread Philip Webb
Is it still possible to boot into 'single' mode,
ie directly into a no-login root system (for emergencies) ?

The kernel dox suggest this should work in Lilo

  image = /boot/kernel-2.6.9-gentoo-r1
label = Single
root = /dev/hda3
append=S
read-only

but it boots to a login prompt as usual.
Replacing 'S' with 'single' doesn't work either.

Does anyone have single mode set up satisfactorily ?

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Following a well overdue world -u I have no network

2005-08-31 Thread Neil Bothwick
On Wed, 31 Aug 2005 06:53:21 -0500, Harry Putnam wrote:

  Have you enabled rcs in the config? This makes it backup the changes,
  so you can roll back.
 
 No, I just used it sort of blindly...

Not the best way to operate Gentoo :(

 I was under the conception that the archiving mechanism did a backup
 of all of etc but apparently that is not the case.

It archives what you change. So if you copied your settings into the new
config file and then let dispatch-conf replace the old one with it, the
old settings will be archived.
 

-- 
Neil Bothwick

Beware of geeks bearing GIF's


pgpNwzuXz4G5Q.pgp
Description: PGP signature


Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Neil Bothwick
On Wed, 31 Aug 2005 14:42:16 +0200, Holly Bostick wrote:

 But do you know the answer to Nick's question about what I said earlier?
 In a 'conflict' between two ebuilds of the same name and version, one in
 Portage and one in the overlay, does the choice of which one is used if
 I emerge the relevant package rely on which one is most recent(ly
 modified), or the location-- i.e., will the overlay ebuild always beat
 the Portage ebuild even if the Portage build is newer (because it was
 updated without changing the version number), or will the newer ebuild
 always win out, whether it's in overlay or main Portage?

The overlay takes priority, even if the file date in the main portage tree
is newer. It's easy to test. copy a directory from the main tree to your
overlay, touch the latest ebuild in the main tree and emerge -pv the
package. You'll see that emerge picks the overlay version.

I noticed this when I wrote my own ebuild for a package and then someone
put it in portage. The first I new was when they released an r1 ebuild
and emerge --update world picked it up.

When you think about it, the very name overlay indicates that this is
how it should work.


-- 
Neil Bothwick

I have had a perfectly wonderful evening, but this wasn't it.


pgpj8srpnXHJb.pgp
Description: PGP signature


Re: [gentoo-user] booting into single mode

2005-08-31 Thread Mariusz Pękala
On 2005-08-31 09:25:48 -0400 (Wed, Aug), Philip Webb wrote:
 Is it still possible to boot into 'single' mode,
 ie directly into a no-login root system (for emergencies) ?
 
 The kernel dox suggest this should work in Lilo
 
   image = /boot/kernel-2.6.9-gentoo-r1
 label = Single
 root = /dev/hda3
 append=S
 read-only
 
 but it boots to a login prompt as usual.
 Replacing 'S' with 'single' doesn't work either.
 
 Does anyone have single mode set up satisfactorily ?

Not tested but found in 'man init', section 'BOOTFLAGS':

 -b, emergency
 Boot directly into a single user shell without running any
 other startup scripts.

..so, try with append=emergency

The difference lies in that 'single' tells the init process to read and
execute entries in /etc/inittab, while 'emergency' tells to not do it.

You may also try with append=init=/bin/bash or that nice rescue-shell
which name just slipped out of my memory.. /bin/sash maybe.

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpUgs0J9GGVL.pgp
Description: PGP signature


Re: [gentoo-user] problem with X100P clone

2005-08-31 Thread Andrew MacKenzie
+++ Walter Willis [gentoo-user] [Fri, Aug 19, 2005 at 05:42:07PM -0500]:
 yes 
 include :
 #rc-update add zaptel default
 #rc-update add asterisk default
 
 and after 
 #rc-update del asterisk 
 
 # reboot 
 and reboot normality, charge modules etc, etc. 
 
 login in gentoo linux and :
 #/etc/init.d/asterisk start and 
 #ps aux
 USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
 root 3  0.0  0.0  0 0 ?SN   16:48   0:00 [ksoftirqd/0]

snippage

 mpg123 -q -s --mono -r 8000 -b 2048 -f 4096 fpm-calm-river.mp
 root  9101  0.0  0.3   2440   832 pts/0R+   16:54   0:00 ps aux
 
 
 but no work!!!
 
 for asterisk is necesary sound card 
I do not believe so.  I had a similar issue to what you are seeing.  Oddly
enough I'm not sure how I fixed it but doing the following seemed to
help:

rmmod wcfxo
rmmod zaptel
sleep1
modprobe zaptel
modprobe wcfxo
sleep 1
ztcfg -vvv

asterisk -c

I know it seems no different from what you've been doing (same here), but
do them right in a row like that and I think you may get asterisk to start
working.


As an aside, for me the interface seems to stop listening after a certain
amount of time (a few minutes I think).  I can't seem to find anybody else
having this problem.  If you hit it too then it's likely a Gentoo specific
issue...


-- 
// Andrew MacKenzie  |  http://www.edespot.com
// GPG public key: http://www.edespot.com/~amackenz/public.key
// An adequate bootstrap is a contradiction in terms.
// - Alan Perlis


pgpbYE5XeDLGY.pgp
Description: PGP signature


Re: [gentoo-user] /etc/init.d/local - one thing led to another

2005-08-31 Thread John J. Foster
On Tue, Aug 30, 2005 at 09:26:08PM -0400, Michael Crute wrote:
  
 You should use rc-update to run the startup script. Local is for commands 
 that you want run, not really a great way to run other startup scripts. The 
 command you want is probably `rc-update add rc.firewall default`. 
  -Mike
 
Thanks - I'll do this when I get home tonight. But a question remains.
Why didn't it work even if not the proper way of doing it? Why did a restart 
of the /etc/init.d/local script work properly? 

John
 -- 
 
 Michael E. Crute
 Software Developer
 SoftGroup Development Corporation
 
 Linux, because reboots are for installing hardware.
 In a world without walls and fences, who needs windows and gates?

-- 
Contrary to the lie machine, the world is not safer.


pgpyEA74fLPnO.pgp
Description: PGP signature


[gentoo-user] rc script opacity

2005-08-31 Thread Philip Webb
The script  /etc/conf.d/rc  contains the following lines :

  # RC_USE_CONFIG_PROFILE allows you to have different /etc/conf.d files
  # based on your runlevel - if a conf.d file for your profile does not exist
  # then we try and use the default one.
  # To enable runlevel selection at boot, append softlevel=foobar to your
  # kernel line to change to the foobar runlevel. Or rc foobar at the command
  # prompt.

  RC_USE_CONFIG_PROFILE=yes

Can anyone explain what this means ?

Eg how do you define different  conf.d  files ?
Why does it suddenly talk about enabling runlevel selection at boot ?
What does it mean by kernel line ?  What is the command prompt here ?

The kernel doc for parameters has nothing about softlevel.

Have I had too long a day or is this something which needs updating ?

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] booting into single mode

2005-08-31 Thread Bert Buchholz
On Wed 31.08 09:25, Philip Webb wrote:
 Is it still possible to boot into 'single' mode,
 ie directly into a no-login root system (for emergencies) ?

You can always do that by appending init=/bin/sh (for example) to the
kernel line when booting, so when lilo comes up, you append this text to
the kernel name.  You don't need to change lilo.conf unless you need
this very often, then it might be convenient to do so.  In lilo.conf you
would also just put

  append=init=/bin/sh

to the kernel entry.

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



Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Holly Bostick
Neil Bothwick schreef:
 On Wed, 31 Aug 2005 14:42:16 +0200, Holly Bostick wrote:
 
 
 But do you know the answer to Nick's question about what I said 
 earlier? In a 'conflict' between two ebuilds of the same name and 
 version, one in Portage and one in the overlay, does the choice of 
 which one is used if I emerge the relevant package rely on which 
 one is most recent(ly modified), or the location-- i.e., will the 
 overlay ebuild always beat the Portage ebuild even if the Portage 
 build is newer (because it was updated without changing the version
  number), or will the newer ebuild always win out, whether it's in 
 overlay or main Portage?
 
 
 The overlay takes priority, even if the file date in the main portage
  tree is newer.

OK, now that I'm thinking about it more (given that I'm actually awake
now), I do remember that I had to remove my overlay build of taskjuggler
in order to emerge the one that had been included in Portage. So I was
mistaken. It can happen, sorry ;) . Which is why, of course, I asked
you, Neil
(because you know, like, everything, just about :D ).

 It's easy to test. copy a directory from the main tree to your 
 overlay, touch the latest ebuild in the main tree and emerge -pv the
  package. You'll see that emerge picks the overlay version.

You should know better than using the phrase 'it's easy' and the command
'touch' whatever in the same sentence when you're talking to me :) . I
kinda know how to 'touch', and I just learned how to 'grep' simple
strings (the operative word being 'simple'). It *is* easy, but honestly,
I'm well known to be the village idiot when it comes to the CLI, so your
easy test doesn't come naturally to me at all. :P

But it's good to be reminded of how such things can quickly be done.
Repeat it often enough, and it might even get caught in the sieve that
can be my brain.
 
 I noticed this when I wrote my own ebuild for a package and then 
 someone put it in portage. The first I new was when they released an 
 r1 ebuild and emerge --update world picked it up.

Yes, I think that's what happened to me with taskjuggler as well.
 
 When you think about it, the very name overlay indicates that this 
 is how it should work.

I suppose there's no way to avoid there being *some* issue-- this way,
you have to actively watch Portage to see if today is perhaps the happy
day that your overlay build is obsoleted; the other way, Portage would
be obsoleting your overlay build arbitrarily.

I don't see either of these as optimal conditions (since the goal, imo,
is to be using Portage builds and as few overlay builds as possible, and
neither of these conditions gives you a painless way to Return To
Portage, as it were), but I agree that the way it's currently done is
the better of two sub-optimal choices.

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



Re: [gentoo-user] More splash problems

2005-08-31 Thread bshlists
On August 31, 2005 04:02 am, Uwe Thiem wrote:
 On 30 August 2005 16:31, bshlists wrote:
  On August 30, 2005 10:51 am, Holly Bostick wrote:
   Afaik, it's not a change to a config file, it's a change in the way you
   generate the initramfs.
  
   If you compile it into the kernel (instructions on the Wiki; see How-to
   fbsplash), it will start up at the very start.
  
   If you load it as a separate initrd, you have to wait for the
   framebuffer to initialize before the splash can start (which takes a
   short while).
  
   Naturally, if you change from loading an initrd to compiling the initrd
   into the kernel, you do have to change a config file (grub.conf, to
   remove the initrd= line, since you no longer have one), but changing
   the file alone won't make any difference if you haven't changed the way
   you create the initrd in the first place.
  
  
   HTH,
 
  Holly
 
  Okay.  The method I used was by genkernel and the initramfs I'm using was
  to get the autodetection feature.  If I change this don't lose that
  ability or does it matter?

 genkernel --menuconfig --gensplash=yourtheme --gensplash-res=1024x768 all
 or whatever resolution you want. You can use the initramfs as usual.

 Uwe


Thanks for the suggestion.  After reading Holly's suggestion I did more 
reading and found what you just posted.  What seemed to mess my attempts up 
was that I had to delete the old initramfs before running the above command 
or I would just get the same results.  

Once that was sorted you everything was good. :-)

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



Re: [gentoo-user] booting into single mode

2005-08-31 Thread Renat Golubchyk
On Wed, 31 Aug 2005 09:25:48 -0400 Philip Webb [EMAIL PROTECTED]
wrote:
 Is it still possible to boot into 'single' mode,
 ie directly into a no-login root system (for emergencies) ?

Yes. Append softlevel=single to kernel boot parameters.


Cheers,
Renat


-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] booting into single mode

2005-08-31 Thread Philip Webb
050831 Mariusz P?kala wrote:
 On 2005-08-31 09:25:48 -0400 (Wed, Aug), Philip Webb wrote:
 Is it still possible to boot into 'single' mode,
 ie directly into a no-login root system (for emergencies) ?
 The kernel dox suggest this should work in Lilo
 
   image = /boot/kernel-2.6.9-gentoo-r1
 label = Single
 root = /dev/hda3
 append=S
 read-only
 
 but it boots to a login prompt as usual.
 Replacing 'S' with 'single' doesn't work either.
 Does anyone have single mode set up satisfactorily ?
 Not tested but found in 'man init', section 'BOOTFLAGS':
   -b, emergency
  Boot directly into a single user shell without running any
  other startup scripts.
 so try with append=emergency

Yes, that does make progress: the start-up process suspends,
while you have a chance to enter the root password for maintenance;
after that, you have to exit with 'exit', when the process resumes
(or you can enter  ^d   it skips maintenance mode).
maintenance mode seems to be equivalent to booting as root, but ...

 The difference lies in that 'single' tells the init process to read and
 execute entries in /etc/inittab, while 'emergency' tells to not do it.

... presumably it stops just before looking at  inittab .

 You may also try with append=init=/bin/bash
 or that nice rescue-shell which name just slipped out of my memory.

Do you mean Busybox ?

 /bin/sash maybe.
 
That got superseded IIRC.

Thanx for the advice.  Does anyone else have further light to throw ?

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] rc script opacity

2005-08-31 Thread Holly Bostick
Philip Webb schreef:
 The script  /etc/conf.d/rc  contains the following lines :
 
 # RC_USE_CONFIG_PROFILE allows you to have different /etc/conf.d 
 files # based on your runlevel - if a conf.d file for your profile 
 does not exist # then we try and use the default one. # To enable 
 runlevel selection at boot, append softlevel=foobar to your # 
 kernel line to change to the foobar runlevel. Or rc foobar at the 
 command # prompt.
 
 RC_USE_CONFIG_PROFILE=yes
 
 Can anyone explain what this means ?
 
 Eg how do you define different  conf.d  files ? Why does it suddenly 
 talk about enabling runlevel selection at boot ? What does it mean by
  kernel line ?  What is the command prompt here ?

Some people,. for example, laptop users, may boot their computer under
varying conditions.

A laptop may be booted on the street, in which case there is no network
available.

Or it may be booted when docked, in which case there may be a network
available (if you're at home or work), or there may be a network
available that only has limited capacity (if you're in a hotel or an
internet cafe).

So it can be useful to be able to create a profile for varying but known
conditions under which the computer may be booted (there's no point in
starting network services in the event that you know you're not
connected to a network, but there's also no point in making 'no network
startup' the only possible setting, because then it's a PITA to get the
network started on those occasions that you are connected to a network
at boot).

Therefore, you can have profiles for 'home' (which would start the
network with your known LAN settings), 'out' (which would not start the
network at all, because you're in a park or on a client's site), or
'away' (which would start a network, but detect the settings manually,
because you're in a hotel on a business trip, and you don't know their
settings offhand).

The 'kernel line' being referred to is the line in your bootloader that
specifies the kernel and parameters that should be called when you
select that entry in the bootloader menu.

The 'command prompt' referred to is probably the bootloader command
prompt (I don't remember how LiLO does it, but in GRUB you can edit menu
entries on the fly and boot from the edited entry).

I don't know how you define rc.conf files for softlevels, since I don't
need softlevels, but I have seen discussions of this on the list in the
past. There's probably a Wiki entry on the subject as well.

But if you don't boot your computer under varying conditions, you don't
really
need to worry about it anyway.

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] Finding other machines on the network

2005-08-31 Thread Holly Bostick
James schreef:
 
 Say 'Hello, to my little friend'
 
 arpscan
 
 http://ish.cx/~jason/arpscan/
 
 Sure would be nice if is was ported to an ebuild..

Some reason you can't submit one to b.g.o (if that hasn't been done
already)?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: font management software

2005-08-31 Thread Martin S

And of course, you can download fonts from any of those font collection 
pages on the net and extract/copy them into /usr/share/fonts/TTF(assuming they're truetype, naturally), run fc-cache and they'll work
fine. I had an attack of fontmania recently myself, looking for 'nice'fonts that weren't ComicSansMS that actually had ë, ö, ¤ (that's theEuro symbol, if you can't see it), and *also* had bold and italicvariants (which was the problem).

Yes, sure I can do it manually. Something to manage 2000+ fonts would
be handy though, opening and closing KFontViewer for each and every of
those 2000+ fonts is a bit inefficient. Also, it would be neat to have
the fonts sorted into groups when searching for what font to use.
(I know I'm a fontoholic).
Regards,Martin S


[gentoo-user] power management on laptop

2005-08-31 Thread John Dangler
How do I tell whether my laptop supports acpi or apm?

I'm sorry to keep throwing this up right now, but lack of experience begs
more questions.  I've found a lot of information about this box (dell
inspiron 8600) from googling, forums, etc., but they seem to be split on
whether this box uses acpi or apm.  I have looked at numerous articles
saying that they upgraded the bios regarding this, but when I read the
changelogs on every version of bios since this one (A04) [the latest is
A13], they all say that they added fixes for bugs in suspend and added
support for new cards.  None of them say And we went from APM to APCI , or
anything like it.  It appeared as though apm was supported in this box,
since my first go at the battery applet showed that the battery had 100%
power, and, after installing apcid, the battery constantly shows 0.

Any input is appreciated.  it's a small thing, really, but now that I've
started looking into it, I can't let go until I find a solution.

John D




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] power management on laptop

2005-08-31 Thread Ow Mun Heng
On Wed, 2005-08-31 at 10:40 -0400, John Dangler wrote:
 How do I tell whether my laptop supports acpi or apm?
 
 I'm sorry to keep throwing this up right now, but lack of experience begs
 more questions.  I've found a lot of information about this box (dell
 inspiron 8600) from googling, forums, etc., but they seem to be split on

I believe there would be 2 ways to try. Well, try both. And see what
works better for you. 

I use ACPI because it works better for me. :-)
 
 
 

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 22:48:24 up 2:58, 5 users, load average: 1.21, 1.31, 1.44 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: [OT] Finding other machines on the network

2005-08-31 Thread James
Holly Bostick motub at planet.nl writes:


 James schreef:

  Say 'Hello, to my little friend'

  arpscan

  http://ish.cx/~jason/arpscan/

  Sure would be nice if is was ported to an ebuild..

 Some reason you can't submit one to b.g.o (if that hasn't been done
 already)?

Hello Holly,

I'm not sure what 'b.g.o.' refers to, (sorry I don't get out much).

If your saying that why don't I make a formal request, well, I
figure I've already requested too much
(jffnms, updated zoneminder, netenv) None of which is completed (unmasked).
I figure I've worn out my welcome at gentoo.*

I've been 'schooled' several times that I need to read up on creating
ebuilds, and start contributing (actually I agree with this sort
of public spanking...)

Contributing ebuils is on my to_do list, but, I have yet to
get a project completed. I'm a little 'gun_shy' as to receiving
another disertation on my ineptness...

So when I'm confident that I can contribute ebuilds, I'll let your
and the 'greater gentoo' community know.

Somebody else what looking for a solution to finding ethernet based
hardware on a 802.3 wiring topology. As an espiring emebedded hack,
I often get minimal stacks working with the mac address. So I have
experience with ARP (much more than most are interested in).

Arpscan  can be useful.

So my reply should have been truncated(again another scolding
well deserved)..


New Answer:

arpscan 
http://ish.cx/~jason/arpscan/


sincerely,
James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Please point me to the doco on an nVidia install

2005-08-31 Thread Andrew Lowe

Christoph Gysin wrote:

Andrew Lowe wrote:

I've managed to build up a machine that uses an nVidia nforce2 
chipset. I'm now in the process of installing the nVidia drivers. The 
problem is that I'm sure I've come across doco that describes what to 
do but for the life of me I can't remember where it is. I've done some 
googling but to no avail. Would someone be so kind as to point me to 
appropriate doco for the installation and configuration of the nVidia 
graphics drivers.



PLEASE don't ask stuff that hits #1 in a google search...




Find it yourself:
http://www.google.ch/search?q=gentoo+nvidia


	Can't see the wood for the trees!!! I looked all over the gentoo site 
and for some reason just couldn't find it. I'm sure I tried google, but 
as to what bizarre combination of keywords I tried I have no idea. This 
never came up as the top result - bugga!


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



[gentoo-user] Nagios

2005-08-31 Thread Allan Spagnol Comar
I was wondering if someone can help running a nagios on a gentoo sever.

I had emerged Apache and nagios;

I edited commonapache.conf putting the following lines:

ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/
Alias /nagios/ /usr/nagios/share/

Directory /usr/nagios/sbin
AllowOverride None
Options ExecCGI FollowSymLinks
/Directory

and on cgi.cfg I putted
use_authentication=0

when I try to access http://127.0.0.1/nagios/
I got :

Forbidden
You don't have permission to access /nagios/ on this server.

Apache/1.3.33 Server at 127.0.0.1 Port 80

any one have a clue of what is happening ?
apache and nagios are running correctly .

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nagios

2005-08-31 Thread John Jolet
does apache have read-access to the nagios sub?  I've done nagios on redhat, 
and will hopefully be doing it on gentoo soon.
On Wednesday 31 August 2005 10:02, Allan Spagnol Comar wrote:
 I was wondering if someone can help running a nagios on a gentoo sever.

 I had emerged Apache and nagios;

 I edited commonapache.conf putting the following lines:

 ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/
 Alias /nagios/ /usr/nagios/share/

 Directory /usr/nagios/sbin
 AllowOverride None
 Options ExecCGI FollowSymLinks
 /Directory

 and on cgi.cfg I putted
 use_authentication=0

 when I try to access http://127.0.0.1/nagios/
 I got :

 Forbidden
 You don't have permission to access /nagios/ on this server.

 Apache/1.3.33 Server at 127.0.0.1 Port 80

 any one have a clue of what is happening ?
 apache and nagios are running correctly .

-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] Finding other machines on the network

2005-08-31 Thread Eric Crossman
On Wed, 2005-08-31 at 14:50 +, James wrote:
 Holly Bostick motub at planet.nl writes:
 
 
  James schreef:
 
   Say 'Hello, to my little friend'
 
   arpscan
 
   http://ish.cx/~jason/arpscan/
 
   Sure would be nice if is was ported to an ebuild..
 
  Some reason you can't submit one to b.g.o (if that hasn't been done
  already)?
 
 Hello Holly,
 
 I'm not sure what 'b.g.o.' refers to, (sorry I don't get out much).
 
 If your saying that why don't I make a formal request, well, I
 figure I've already requested too much
 (jffnms, updated zoneminder, netenv) None of which is completed (unmasked).
 I figure I've worn out my welcome at gentoo.*
 
 I've been 'schooled' several times that I need to read up on creating
 ebuilds, and start contributing (actually I agree with this sort
 of public spanking...)
 
 Contributing ebuils is on my to_do list, but, I have yet to
 get a project completed. I'm a little 'gun_shy' as to receiving
 another disertation on my ineptness...
 
 So when I'm confident that I can contribute ebuilds, I'll let your
 and the 'greater gentoo' community know.
 
 Somebody else what looking for a solution to finding ethernet based
 hardware on a 802.3 wiring topology. As an espiring emebedded hack,
 I often get minimal stacks working with the mac address. So I have
 experience with ARP (much more than most are interested in).
 
 Arpscan  can be useful.
 
 So my reply should have been truncated(again another scolding
 well deserved)..
 
 
 New Answer:
 
 arpscan 
 http://ish.cx/~jason/arpscan/
 
 
 sincerely,
 James
 
 
 

b.g.o. = http://bugs.gentoo.org (Gentoo's bug tracking system)

Eric


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] WEP woes

2005-08-31 Thread Nick Smith
Im having a heck of a time getting wep to work with either iwconfig or
wpa_supplicant, ive followed the how-to, read over the wiki pages, and
looked at the example file in /etc and i still cannot get it to let me
connect with WEP, i can see the AP, get the freg/voltage etc, but i cant
get an ip from it.  my setup is this: i have a wireless access point at
home that i want to connect to using WEP and also an AP at the office
that i want to connect to using WEP, i can connect to both with WEP
turned off, so i know my wireless is working. does someone have a
similar setup on their machine that they could possibly post their
config file? either conf.d/net or conf.d/wireless or both, (im just
using /net per the how-tos)

my config as of now looks like this:

modules=( wpa_supplicant )
wpa_supplicant_eth1=-prism54
wpa_timeout_eth1=30

#associate_order=any
#essid_eth1=any
#preferred_aps=( computernick )
#associate_order_eth1=any

key_computernick=s:c0mputernick! enc open
#key_ESSID2=[1] s:CE73E751EE [1] enc open

#preferred_aps=( ESSID1 )

#config_ESSID1=( dhcp )
#fallback_ESSID1=( 192.168.0.55/24 brd 192.168.0.255 )
#fallback_route_ESSID1=( default via 192.168.0.69 )

#config_ESSID2=( dhcp )
#fallback_ESSID2=( 192.168.1.200/24 brd 192.168.1.255 )
#fallback_route_ESSID2=( default via 192.168.1.2 )

#dhcpcd_eth0=-t 15
#dhcpcd_eth1=-t 15


i commented out alot of stuff for troubleshooting purposes but it didnt
help. i cant get either one to connect with WEP enabled. i want to try
to get wpa working because from what i have read and heard it is more
advanced that iwconfig, lets you connect to wpa enc and i think it does
scanning as well.

any help or a config file would be greatly appreciated.

thanks

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] booting into single mode

2005-08-31 Thread Philip Webb
050831 Bert Buchholz wrote:
 On Wed 31.08 09:25, Philip Webb wrote:
 Is it still possible to boot into 'single' mode,
 ie directly into a no-login root system (for emergencies) ?
 You can always do that by appending init=/bin/sh to the kernel line

This gets the same result as 'append=emergency',
ie it stops before inittab  asks for the root password;
afterwards, it exits into the regular start-up process
(thanx to the other user who also suggested this).

The other suggestion -- 'append=softlevel=single' -- doesn't work
(no do 'S' or '1'): it says it can't find such a runlevel.

It looks as if this is a typically elegant Gentoo solution,
but unfortunately one which has not been documented properly anywhere.

Anyway, the conclusion is that for emergencies have an entry
which contains 'append=emergency'; also, have a rescue diskette (smile).

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] power management on laptop

2005-08-31 Thread Renat Golubchyk
On Wed, 31 Aug 2005 10:40:46 -0400 John Dangler
[EMAIL PROTECTED] wrote:
 How do I tell whether my laptop supports acpi or apm?
 
 I'm sorry to keep throwing this up right now, but lack of experience
 begs more questions.  I've found a lot of information about this box
 (dell inspiron 8600) from googling, forums, etc., but they seem to be
 split on whether this box uses acpi or apm.

Tuxmobil[1] and Linux on Laptops[2] are your friends ;-)


Cheers,
Renat


[1] http://tuxmobil.org/mylaptops.html
[2] http://www.linux-laptop.net/


-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nagios

2005-08-31 Thread Allan Spagnol Comar
Yep; every one has reading and executing permitions on all nagios tree
 (snip)

On 8/31/05, John Jolet [EMAIL PROTECTED] wrote:
 does apache have read-access to the nagios sub?  I've done nagios on redhat,
 and will hopefully be doing it on gentoo soon.
 On Wednesday 31 August 2005 10:02, Allan Spagnol Comar wrote:
  I was wondering if someone can help running a nagios on a gentoo sever.
 
  I had emerged Apache and nagios;
 
  I edited commonapache.conf putting the following lines:
 
  ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/
  Alias /nagios/ /usr/nagios/share/
 
  Directory /usr/nagios/sbin
  AllowOverride None
  Options ExecCGI FollowSymLinks
  /Directory
 
  and on cgi.cfg I putted
  use_authentication=0
 
  when I try to access http://127.0.0.1/nagios/
  I got :
 
  Forbidden
  You don't have permission to access /nagios/ on this server.
 
  Apache/1.3.33 Server at 127.0.0.1 Port 80
 
  any one have a clue of what is happening ?
  apache and nagios are running correctly .
 
 --
 John Jolet
 Your On-Demand IT Department
 512-762-0729
 www.jolet.net
 [EMAIL PROTECTED]
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list




[gentoo-user] What is HIGHPTE option in kernel?

2005-08-31 Thread Ow Mun Heng
[quote]
Allocate 3rd-level pagetables from highmem (HIGHPTE)

The VM uses one page table entry for each page of physical memory.
For systems with a lot of RAM, this can be wasteful of precious
low memory. Setting this option will put user-space page table
entries in high memory.
[/quote]

I have 1.5Gb of RAM, will this be useful for me?

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 23:23:18 up 3:33, 5 users, load average: 0.20, 0.70, 1.11 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nagios

2005-08-31 Thread John Jolet
what's in the /var/log/httpd/error_log for that attempt that fails?
-- 
John Jolet
Your On-Demand IT Department
512-762-0729
www.jolet.net
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Nagios

2005-08-31 Thread James
Allan Spagnol Comar allan.comar at gmail.com writes:


 I was wondering if someone can help running a nagios on a gentoo sever.

Hello Allan,

You might want to consider 'jffnms' as it has many more feaures than nagios.
it's in portage, currently masked.

YMMV
James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nagios

2005-08-31 Thread Bruno Lustosa
I had an issue with Nagios on Gentoo, and it the ebuild putting the config file in the wrong directory.
Check this out:

http://bugs.gentoo.org/show_bug.cgi?id=103060HTH,-- Bruno Lustosa, aka Lofofora| Email: 
[EMAIL PROTECTED]Network Administrator/Web Programmer | ICQ: 1406477Rio de Janeiro - Brazil|


Re: [gentoo-user] rc script opacity

2005-08-31 Thread Neil Bothwick
On Wed, 31 Aug 2005 16:23:33 +0200, Holly Bostick wrote:

 The 'command prompt' referred to is probably the bootloader command
 prompt (I don't remember how LiLO does it, but in GRUB you can edit menu
 entries on the fly and boot from the edited entry).

It's the normal (root) shell prompt. You can use the rc command to switch
runlevels after booting. To use your example, you're using your laptop
on the train, with the out runlevel because there's no network. Then you
arrive at home or the office and want to switch to the relevant profile
and start the services, so you run rc home.
 
 I don't know how you define rc.conf files for softlevels, since I don't
 need softlevels, but I have seen discussions of this on the list in the
 past. There's probably a Wiki entry on the subject as well.

There doesn't appear to be anything on the wiki, which is a shame,
because this looks a useful feature.


-- 
Neil Bothwick

If you're not part of the solution, you're part of the precipitate. *
Wright


pgpgKnD3M0xzq.pgp
Description: PGP signature


RESOLVED: RE: [gentoo-user] power management on laptop

2005-08-31 Thread John Dangler
Renat~
Good Call!!
I found a little block of text on tux where someone had apm loaded by
default, and, after adding acpi, had nothing working.  As I read through the
text, the poster mentioned looking in modules.autoload.d several times and
seeing nothing being added (they didn't add anything themselves, and
apparently assumed that the addition of the package would handle it).
I looked around a little more and found someone who had a box very similar
to mine and used the autoload settings from that article... All of the
applets are showing properly in gnome now!

Thanks to you and Holly for the patient replies on this.

John D

-Original Message-
From: Renat Golubchyk [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 31, 2005 11:19 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] power management on laptop

On Wed, 31 Aug 2005 10:40:46 -0400 John Dangler
[EMAIL PROTECTED] wrote:
 How do I tell whether my laptop supports acpi or apm?
 
 I'm sorry to keep throwing this up right now, but lack of experience
 begs more questions.  I've found a lot of information about this box
 (dell inspiron 8600) from googling, forums, etc., but they seem to be
 split on whether this box uses acpi or apm.

Tuxmobil[1] and Linux on Laptops[2] are your friends ;-)


Cheers,
Renat


[1] http://tuxmobil.org/mylaptops.html
[2] http://www.linux-laptop.net/


-- 
Probleme kann man niemals mit derselben Denkweise loesen,
durch die sie entstanden sind.
  (Einstein)
-- 
gentoo-user@gentoo.org mailing list





-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] cpu flags / USE flags / compiler flags

2005-08-31 Thread Mark Knecht
Hi,
   I've just recently (the last 4 or 5 days) been experiencing some
lock-ups on Firefox. As far as I can tell these seem to come only when
visiting certain web pages that have more multimedia content. When
Firefox locks up it can be killed from a terminal and restarted. There
are no messages in dmesg or /var/log/messages.

   In reviewing changes recently made I noted that the newest thing,
for me, was changing some USE flags. What I thought I was doing was
better matching the processor in each machine but possibly this is
causing the problem.

   On my laptop, a P4 / ATI machine, I went about it like this:

flash ~ #  cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 2
model name  : Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping: 9
cpu MHz : 3067.965
cache size  : 512 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid
xtpr
bogomips: 6078.46

flash ~ #

I then looked for CPU flags that had an equivalent USE flag and that
might be of use for faster graphics. On this machine I chose mmx, sse
 sse2. Armed with that I changed my make.conf file to look like this:

# These settings were set by the catalyst build script that
automatically built this stage
CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer
CHOST=i686-pc-linux-gnu
USE=mmx sse sse2 gnome kde -arts ladspa nptl nptlonly ladcca
audiofile gimp gimpprint ppds usb alsa cdr dvd dvdr dvdread caps jack
jack-tmpfs fluidsynth tcltk sndfile v4l v4l2 mysql flac xscreensaver
samba i8x0 mythtv apache2 lirc mjpeg xvid real
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2
GENTOO_MIRRORS=http://mirror.tucdemonic.org/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.gentoo.gr.jp
http://www.zentek-international.com/mirrors/gentoo/;
ALSA_CARDS=atiixp
VIDEO_CARDS=radeon
PORTDIR_OVERLAY=/usr/local/portage

I should note that I only remember adding sse2. mmx and sse where
there before and I had no problems.

QUESTION 1: Is this the right way to go about doing this sort of
thing? Or are the CPU flags supposed to become part of the CFLAGS line
also?

QUESTION 2: Are there any known problems with sse2 support? I think
I've added this on 3 machines and all 3 machines have experienced at
least one, if not more, lockups.

Certainly I can just remove the sse2 flag and recompile but I thought
I'd ask first.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: RESOLVED: RE: [gentoo-user] power management on laptop

2005-08-31 Thread Nick Smith
On Wed, 2005-08-31 at 12:03 -0400, John Dangler wrote:

 I looked around a little more and found someone who had a box very similar
 to mine and used the autoload settings from that article... All of the
 applets are showing properly in gnome now!
 
 Thanks to you and Holly for the patient replies on this.
 
 John D
 
what autoload settings did you use?


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] dhcpcd 2.0.0 - Boot process hangs

2005-08-31 Thread Christoph Daldrup
Hello Gentoo-Users,

I've recently done an emerge -tuvD world and dhcpcd was updated from
version dhcpcd-1.3.22_p4-r11 to version 2.0.0. The emerge went fine, no
error message, no note to update config-files, everything seemed to be fine.

But at the next reboot, I wasn't able to get an IP adress, and the boot
process hanged at that stage. The last thing shown looked like the MAC
adress, although I'm not sure on that.
The only thing I could do to get my working gentoo back was booting with
knoppix, chrooting and going back to the old version of dhcpcd.

Now everything works fine with the old version again, but I'd like to
know if that is a bug or if I've done something wrong.

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



Re: [gentoo-user] /etc/init.d/local - one thing led to another

2005-08-31 Thread Michael Crute
On 8/31/05, John J. Foster [EMAIL PROTECTED] wrote:
Thanks - I'll do this when I get home tonight. But a question remains.Why didn't it work even if not the proper way of doing it? Why did a restart
of the /etc/init.d/local script work properly?
I really couldn't say why it didn't work unless perhaps local is run as an unprivileged user. I am pretty sure that's not the case soI'm not sure.

-Mike
-- Michael E. CruteSoftware DeveloperSoftGroup Development CorporationLinux, because reboots are for installing hardware.In a world without walls and fences, who needs windows and gates? 



RE: RESOLVED: RE: [gentoo-user] power management on laptop

2005-08-31 Thread John Dangler
Nick~
so far, here is what's in my /etc/modules.autoload.d/kernel-2.6 file - 
ac b44 battery button fan processor thermal ipw2100 ieee80211
ieee80211_crypt ieee80211_crypt_wep ieee80211_crypt_ccmp
ieee80211_crypt_tkip nvidia
#iptables -- This BORKS ipw right now... 8/29 : JD

John 


-Original Message-
From: Nick Smith [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 31, 2005 1:21 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: RESOLVED: RE: [gentoo-user] power management on laptop

On Wed, 2005-08-31 at 12:03 -0400, John Dangler wrote:

 I looked around a little more and found someone who had a box very similar
 to mine and used the autoload settings from that article... All of the
 applets are showing properly in gnome now!
 
 Thanks to you and Holly for the patient replies on this.
 
 John D
 
what autoload settings did you use?


-- 
gentoo-user@gentoo.org mailing list





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd 2.0.0 - Boot process hangs

2005-08-31 Thread Sergio Polini
Christoph Daldrup:
 I've recently done an emerge -tuvD world and dhcpcd was updated
 from version dhcpcd-1.3.22_p4-r11 to version 2.0.0. The emerge went
 fine, no error message, no note to update config-files, everything
 seemed to be fine.

 But at the next reboot, I wasn't able to get an IP adress,
 [etc.]

I emerged -uvDN world on Sunday and dhcpcd 2.0.0 is masked.

HTH
Sergio
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Nagios

2005-08-31 Thread Allan Spagnol Comar
Thank you all; I found the error on apache config; I had allowed the
/usr/nagio/share directory and it work; I will give a look at jffnms
as well to check it out 

On 8/31/05, Bruno Lustosa [EMAIL PROTECTED] wrote:
 I had an issue with Nagios on Gentoo, and it the ebuild putting the config
 file in the wrong directory.
  Check this out:
  
  http://bugs.gentoo.org/show_bug.cgi?id=103060
 
 HTH,
 
 -- 
 Bruno Lustosa, aka Lofofora  | Email: [EMAIL PROTECTED]
 Network Administrator/Web Programmer | ICQ: 1406477
 Rio de Janeiro - Brazil  |

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cpu flags / USE flags / compiler flags

2005-08-31 Thread Volker Armin Hemmann
Hi,

before you panic, have you tried the firefox-bin packet with the same site?

Maybe nspluginviewer is the culprit? I had to kill it so many times I can't 
remember.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd 2.0.0 - Boot process hangs

2005-08-31 Thread Christoph Daldrup
Am 31.08.2005 18:44 schrieb Sergio Polini:

 I emerged -uvDN world on Sunday and dhcpcd 2.0.0 is masked.

According to http://packages.gentoo.org/ebuilds/?dhcpcd-2.0.0 , it
isn't anymore, at least for amd64, x86 and sparc. ;)

On my local system, it ist masked through the package.mask file now.

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



Re: [gentoo-user] cpu flags / USE flags / compiler flags

2005-08-31 Thread Mark Knecht
On 8/31/05, Volker Armin Hemmann [EMAIL PROTECTED] wrote:
 Hi,
 
 before you panic, have you tried the firefox-bin packet with the same site?
 
 Maybe nspluginviewer is the culprit? I had to kill it so many times I can't
 remember.

Thanks Volker. I'll give it a try. 

I'm still interested in the right way to really set up these flags
though. I was looking at some of the online docs and found stuff like
this in some emails:

I'm compiling currently with -mfpmath=387 -msse -mcpu=pentium3
-march=pentium3 and gcc 3.1.1-4 from the very latest experimental
cygwin distribution.

Obviously I'm not intested in cygwin, etc., but when I saw -msse it
made me wonder if I was supposed to change my CFLAGS line from

CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer

to 

CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer -mmx -msse -msse2

I understand that the USE flags control what options are built into a
pachage, but in the case of CPU flags do they also control the
compiler flags that are used to build the package? Not being a
programmer this is one part I'm confused about.

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Holly Bostick
Fernando Canizo schreef:

 Is this a behaviour that a significant portion of the mutt userbase
  might want? Or are you just weird ;) ?
 
 
 Well, you use thunderbird, so maybe you're more like a mouse user.

Yes, but I'm getting over it. Also I need to know how to work with at
least one CLI email client in the event that I don't have X available (I
have a fallback no-X alternative backend set up for most basic
functionality, exept email-- and heaven knows I never want to have to
try and read my ISP's webmail via lynx/elinks).

 This is the thing: in mutt you can flag a message as important (you 
 got only one flag), also you have a 'ctrl-d' command that deletes a 
 full thread. Sometimes threads get off-topic (an unconstructive flame
  for example) and when i realize that, and don't like the new topic i
  just 'ctrl-d' them. But what if i've flagged some message? It means 
 that it's important to me, so i wanted to remain undeleted.  The 
 actual behaviour of mutt just delete everything.
 
 That's what the patch provides me, and with a single line of code. 
 Simple. And David (the autor) do it so well that even added a new 
 option for it to be in '~/muttrc' and let the default to be the old 
 behaviour. So i think this patch can get to portage easily.
 
 By the way, if anyone interested, this is it: 
 http://home.uchicago.edu/~dgc/sw/mutt/patch-1.5.8.dgc.flagsafe.1

That really sounds incredibly useful. I can't imagine why upstream
wouldn't include that functionality. But obviously I know nothing about
Mutt, much less Mutt development goals.

 
 
 If you think it might be useful to other mutt users, submit it to 
 b.g.o
 
 
 Doing this later.

Glad to hear it. I'm sure I'll want it if I ever get around to using Mutt.

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



Re: [gentoo-user] rc script opacity

2005-08-31 Thread Holly Bostick
Neil Bothwick schreef:
 On Wed, 31 Aug 2005 16:23:33 +0200, Holly Bostick wrote:
 
 
 The 'command prompt' referred to is probably the bootloader command
  prompt (I don't remember how LiLO does it, but in GRUB you can
 edit menu entries on the fly and boot from the edited entry).
 
 
 It's the normal (root) shell prompt. You can use the rc command to
 switch runlevels after booting. To use your example, you're using
 your laptop on the train, with the out runlevel because there's no
 network. Then you arrive at home or the office and want to switch to
 the relevant profile and start the services, so you run rc home.

oh, DUH! (What is wrong with my brain??) Now I see what devs (and you)
mean when they say that Gentoo is heavily customized. If I was still
running Slack, I would have immediately realized the similarity between
running 'rc softlevel' in the console, and running 'init 3' in the
console (so I would have remembered that it's perfectly possible and
feasible to change runlevels from the command prompt). But clearly, 'the
Gentoo way' is slowly erasing 'the Linux way' from my mind, not
dissimilar to the way that I often now can remember the word for a
concept easier in Dutch than I can in English.

It's perfectly normal, and not really a bad thing, but it's disturbing
when it pops up in your face like that.

 
 
 I don't know how you define rc.conf files for softlevels, since I
 don't need softlevels, but I have seen discussions of this on the
 list in the past. There's probably a Wiki entry on the subject as
 well.
 
 
 There doesn't appear to be anything on the wiki, which is a shame, 
 because this looks a useful feature.

Volunteers? :)

But isn't it in the docs somewhere, or has that not yet been written
either (that would be odd, especially given all the updates that the
Documentation team has been doing lately)?

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



Re: [gentoo-user] thunderbird stopped opening firefox windows...

2005-08-31 Thread Kevin Hanson

Qiangning Hong wrote:


Antoine wrote:
 


When I click on an email now nothing happens. It was fine and dandy for
a while but now nothing... anyone got any ideas?
   



Add the following line into prefs.js of your Thunderbird profile:

user_pref(network.protocol-handler.app.http, firefox);

I believe Thunderbird has changed its default behavior from some version.


 

Make sure you stop Thunderbird first.  If you edit prefs.js while Tbird 
is running, it will be overwritten when the next time you stop it.


I think the recommended way to do this is to put things like this in 
user.js.  Same for Firefox.


Cheers,
Kevin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What is HIGHPTE option in kernel?

2005-08-31 Thread Bastian Balthazar Bux
Ow Mun Heng wrote:
 [quote]
 Allocate 3rd-level pagetables from highmem (HIGHPTE)
 
 The VM uses one page table entry for each page of physical memory.
 For systems with a lot of RAM, this can be wasteful of precious
 low memory. Setting this option will put user-space page table
 entries in high memory.
 [/quote]
 
 I have 1.5Gb of RAM, will this be useful for me?
 
Not sure but:
3rd-level pagetables are for systems with a *lot* of memory that don't
want to waste space in the lowest gig of mem (to keep addresses of high
mem.).

So basically no advantage with 1.5 gig

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



Re: [gentoo-user] cpu flags / USE flags / compiler flags

2005-08-31 Thread Volker Armin Hemmann
On Wednesday 31 August 2005 19:21, Mark Knecht wrote:
 On 8/31/05, Volker Armin Hemmann [EMAIL PROTECTED] 
wrote:
  Hi,
 
  before you panic, have you tried the firefox-bin packet with the same
  site?
 
  Maybe nspluginviewer is the culprit? I had to kill it so many times I
  can't remember.

 Thanks Volker. I'll give it a try.

 I'm still interested in the right way to really set up these flags
 though. I was looking at some of the online docs and found stuff like
 this in some emails:

 I'm compiling currently with -mfpmath=387 -msse -mcpu=pentium3
 -march=pentium3 and gcc 3.1.1-4 from the very latest experimental
 cygwin distribution.

 Obviously I'm not intested in cygwin, etc., but when I saw -msse it
 made me wonder if I was supposed to change my CFLAGS line from

 CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer

 to

 CFLAGS=-O2 -march=pentium4 -pipe -fomit-frame-pointer -mmx -msse -msse2

 I understand that the USE flags control what options are built into a
 pachage, but in the case of CPU flags do they also control the
 compiler flags that are used to build the package? Not being a
 programmer this is one part I'm confused about.


AFAIK the CFLAGS ONLY control the optimiziation, while the USEFLAGS only 
control the configuration - if somebody built in some optimiziation for 
mmx/sse, fine, this would be 'activated' by the useflags, not the cflags. 

hm, about your CFLAGs, I suppose, -march=pentium4 already sets them (mmx/sse), 
but this is something easily found in man gcc ;)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cpu flags / USE flags / compiler flags

2005-08-31 Thread capsel
please check it this is a flash animations proble. if it is then set
XLIB_SKIP_ARGB_VISUALS=yes

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] modifying locally an ebuild

2005-08-31 Thread Neil Bothwick
On Wed, 31 Aug 2005 16:06:17 +0200, Holly Bostick wrote:

  When you think about it, the very name overlay indicates that this 
  is how it should work.
 
 I suppose there's no way to avoid there being *some* issue-- this way,
 you have to actively watch Portage to see if today is perhaps the happy
 day that your overlay build is obsoleted; the other way, Portage would
 be obsoleting your overlay build arbitrarily.

As long as your build is working the portage one wouldn't really obsolete
it. However, if you've altered an ebuild to suit your needs, you don't
want it replacing by the portage one just because the dev has corrected a
typo in a comment, altering the file's date.

 I don't see either of these as optimal conditions (since the goal, imo,
 is to be using Portage builds and as few overlay builds as possible, and
 neither of these conditions gives you a painless way to Return To
 Portage, as it were), but I agree that the way it's currently done is
 the better of two sub-optimal choices.

I suppose it would be possible to write a script that compares the ebuild
of everything you have installed from an overlay with the main portage
tree and warns you if there's been an update.



-- 
Neil Bothwick

Blessed be the pessimist for he hath made backups.


pgpruXNlp4Omo.pgp
Description: PGP signature


[gentoo-user] Trouble with mysql

2005-08-31 Thread Michael Sullivan
I am having trouble with /etc/init.d/mysql.  I rebooted my system, and
when it finished rebooting I tried to connect to the mysql daemon and
failed.  I looked in /var/log/mysql:  There was a file there called
mysql.err.  The contents were:

050831 15:47:29  mysqld started
050831 15:47:30 Can't start server: Bind on TCP/IP port: Address already
in use
050831 15:47:30 Do you already have another mysqld server running on
port: 3306 ?
050831 15:47:30 Aborting

050831 15:47:30 /usr/sbin/mysqld: Shutdown Complete

050831 15:47:30  mysqld ended


I tried netstat | grep '3306':

bullet mysql # netstat | grep '3306'
bullet mysql #

The output was blank, so I assume that port 3306 is NOT in use.  Any
ideas?

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Pinnacle MediaCenter 300i

2005-08-31 Thread Luigi Pinna
Has someone this card?
I tried to configure it but no chance :-(
I found a pair letters about patch but for old kernels.
I cannot access to device.
I don't know what I need exactly: the device (dvb and analog) are 
in  /dev 
Any tip?
Thanks,
Luigi
-- 
Public key GPG(0x073A0960) on http://keyserver.linux.it/


pgpEU2hbw0lBl.pgp
Description: PGP signature


Re: [gentoo-user] Trouble with mysql

2005-08-31 Thread Eric Crossman
On Wed, 2005-08-31 at 15:52 -0500, Michael Sullivan wrote:
 I am having trouble with /etc/init.d/mysql.  I rebooted my system, and
 when it finished rebooting I tried to connect to the mysql daemon and
 failed.  I looked in /var/log/mysql:  There was a file there called
 mysql.err.  The contents were:
 
 050831 15:47:29  mysqld started
 050831 15:47:30 Can't start server: Bind on TCP/IP port: Address already
 in use
 050831 15:47:30 Do you already have another mysqld server running on
 port: 3306 ?
 050831 15:47:30 Aborting
 
 050831 15:47:30 /usr/sbin/mysqld: Shutdown Complete
 
 050831 15:47:30  mysqld ended
 
 
 I tried netstat | grep '3306':
 
 bullet mysql # netstat | grep '3306'
 bullet mysql #
 
 The output was blank, so I assume that port 3306 is NOT in use.  Any
 ideas?
 

Try netstat -an | grep 3306. The -n option forces netstat to show port
numbers and not translate them to familiar names. The -p option is
also useful to determine what program has opened the port.

Eric


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Trouble with mysql

2005-08-31 Thread Michael Sullivan
On Wed, 2005-08-31 at 17:20 -0400, Eric Crossman wrote:
 On Wed, 2005-08-31 at 15:52 -0500, Michael Sullivan wrote:
  I am having trouble with /etc/init.d/mysql.  I rebooted my system, and
  when it finished rebooting I tried to connect to the mysql daemon and
  failed.  I looked in /var/log/mysql:  There was a file there called
  mysql.err.  The contents were:
  
  050831 15:47:29  mysqld started
  050831 15:47:30 Can't start server: Bind on TCP/IP port: Address already
  in use
  050831 15:47:30 Do you already have another mysqld server running on
  port: 3306 ?
  050831 15:47:30 Aborting
  
  050831 15:47:30 /usr/sbin/mysqld: Shutdown Complete
  
  050831 15:47:30  mysqld ended
  
  
  I tried netstat | grep '3306':
  
  bullet mysql # netstat | grep '3306'
  bullet mysql #
  
  The output was blank, so I assume that port 3306 is NOT in use.  Any
  ideas?
  
 
 Try netstat -an | grep 3306. The -n option forces netstat to show port
 numbers and not translate them to familiar names. The -p option is
 also useful to determine what program has opened the port.
 
 Eric

I ran netstat with -an grepping for port 3306.  It found it:

bullet ~ # netstat -an | grep 3306
tcp0  0 127.0.0.1:3306  0.0.0.0:*
LISTEN


so I grepp'd netstat for mysql:

bullet ~ # netstat | grep 'mysql'
unix  3  [ ] STREAM CONNECTING
0  /var/run/mysqld/mysqld.sock

It was running, so I tried using the mysql client:

bullet ~ # mysql -u root -p
Enter password:
ERROR 2002: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
bullet ~ #

I don't understand this...


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Pinnacle MediaCenter 300i

2005-08-31 Thread Oliver Friedrich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Luigi Pinna wrote:

 Has someone this card? I tried to configure it but no chance :-( I
 found a pair letters about patch but for old kernels. I cannot
 access to device. I don't know what I need exactly: the device (dvb
 and analog) are in /dev Any tip? Thanks, Luigi

Simply, I tried it, but gave it up...

Support for this Card is very rare... only some geeks out there have
made it work...

Pinnacles Support is nuts, haven't answered mails vor 3/4 of a year by
now... and the support-board of Pinnacle is a user help user only board...

Anyway, good luck...

BeowulfOF
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDFiLYcZpid1GuHxcRAmCJAJ487GfoiDloyQ/lxZMlyZLSmZCEQACeJHLT
LvPmMyDEn2FBj4Sb//MgO64=
=sFW6
-END PGP SIGNATURE-

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Trouble with mysql

2005-08-31 Thread Tim Igoe


Michael Sullivan wrote:
 I am having trouble with /etc/init.d/mysql.  I rebooted my system, and
 when it finished rebooting I tried to connect to the mysql daemon and
 failed.  I looked in /var/log/mysql:  There was a file there called
 mysql.err.  The contents were:
 
 050831 15:47:29  mysqld started
 050831 15:47:30 Can't start server: Bind on TCP/IP port: Address already
 in use
 050831 15:47:30 Do you already have another mysqld server running on
 port: 3306 ?
 050831 15:47:30 Aborting
 
 050831 15:47:30 /usr/sbin/mysqld: Shutdown Complete
 
 050831 15:47:30  mysqld ended
 



check the output of ps aux
look for mysqld processes in the list - if it is running then try
killing the mysqld processes or restarting the machine

 
 I tried netstat | grep '3306':
 
 bullet mysql # netstat | grep '3306'
 bullet mysql #

netstat -n | grep 3306

or

netstat | grep mysql

might be better

 
 The output was blank, so I assume that port 3306 is NOT in use.  Any
 ideas?
 

Do you have something else that could be using the port - a rootkit or
someone else running a service on the box?

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

Computers are like Air-con, open windows and they stop working!


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Trouble with mysql

2005-08-31 Thread Michael Sullivan
On Wed, 2005-08-31 at 22:37 +0100, Tim Igoe wrote:
 
 Michael Sullivan wrote:
  I am having trouble with /etc/init.d/mysql.  I rebooted my system, and
  when it finished rebooting I tried to connect to the mysql daemon and
  failed.  I looked in /var/log/mysql:  There was a file there called
  mysql.err.  The contents were:
  
  050831 15:47:29  mysqld started
  050831 15:47:30 Can't start server: Bind on TCP/IP port: Address already
  in use
  050831 15:47:30 Do you already have another mysqld server running on
  port: 3306 ?
  050831 15:47:30 Aborting
  
  050831 15:47:30 /usr/sbin/mysqld: Shutdown Complete
  
  050831 15:47:30  mysqld ended
  
 
 
 
 check the output of ps aux
 look for mysqld processes in the list - if it is running then try
 killing the mysqld processes or restarting the machine
 
  
  I tried netstat | grep '3306':
  
  bullet mysql # netstat | grep '3306'
  bullet mysql #
 
 netstat -n | grep 3306
 
 or
 
 netstat | grep mysql
 
 might be better
 
  
  The output was blank, so I assume that port 3306 is NOT in use.  Any
  ideas?
  
 
 Do you have something else that could be using the port - a rootkit or
 someone else running a service on the box?


I did ps aux | grep 'mysqld' and got a listing of several mysqld
processes.  I killed each one using kill -9 and then rebooted the
machine.  Once it was fully rebooted I issued another ps aux | grep
'mysqld'.  Here is the output:

bullet ~ # ps aux | grep 'mysqld'
root  8115  0.0  1.5   2216   948 ?Ss   11:50
0:00 /bin/sh /usr/bin/mysqld_safe --defaults-file=/etc/mysql/my.cnf
mysql 8151  0.2  3.9  38728  2416 ?S11:50
0:00 /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306
--socket=/var/run/mysqld/mysqld.sock
mysql 8153  0.0  3.9  38728  2420 ?S11:50
0:00 /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306
--socket=/var/run/mysqld/mysqld.sock
mysql 8154  0.0  3.9  38728  2420 ?S11:50
0:00 /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306
--socket=/var/run/mysqld/mysqld.sock
mysql 8155  0.0  3.9  38728  2420 ?S11:50
0:00 /usr/sbin/mysqld --defaults-file=/etc/mysql/my.cnf --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysqld/mysqld.pid --skip-locking --port=3306
--socket=/var/run/mysqld/mysqld.sock
root  8848  0.0  0.8   1448   492 pts/0S+   11:51   0:00 grep
mysqld
bullet ~ #

I have no idea why so many of them are being started.  How do I stop my
system from starting more than one mysql daemon?

-- 
gentoo-user@gentoo.org mailing list



  1   2   >