Re: [gentoo-user] ipw2100 problems - ieee80211?

2006-10-12 Thread Bo Ørsted Andresen
On Thursday 12 October 2006 06:39, Lord Sauron wrote:
  $ zgrep IPW2100\\\|IEEE80211 /proc/config.gz
  CONFIG_IEEE80211=m
  # CONFIG_IEEE80211_DEBUG is not set
  CONFIG_IEEE80211_CRYPT_WEP=m
  CONFIG_IEEE80211_CRYPT_CCMP=m
  CONFIG_IEEE80211_CRYPT_TKIP=m
  # CONFIG_IEEE80211_SOFTMAC is not set
  CONFIG_IPW2100=m
  # CONFIG_IPW2100_MONITOR is not set
  # CONFIG_IPW2100_DEBUG is not set

According to [1] I forgot a few (at least those):

CONFIG_FW_LOADER=m
CONFIG_NET_RADIO=y
CONFIG_CRYPTO=y
CONFIG_CRYPTO_ARC4=m
CONFIG_CRC32=y

[SNIP]
 Is it at all possible that the driver is installed and working, and that
 I don't have whatever it takes to activate and use it?
[SNIP]

# lsmod | grep ipw2100

If that doesn't show anything then you need to load the module

# modprobe ipw2100

Then see if it works:

# dmesg | grep ipw2100

If it works then that should also show the name of the device. If it is e.g. 
eth1:

# ln -s /etc/init.d/net.{lo,eth1}

[1] http://ipw2100.sourceforge.net/INSTALL

-- 
Bo Andresen


pgp02JMkJrdnR.pgp
Description: PGP signature


Re: [gentoo-user] Dumb question

2006-10-12 Thread Bo Ørsted Andresen
On Thursday 12 October 2006 08:17, Anthony E. Caudel wrote:
 Thanks all.  I guess I now understand how it works.

 Someone noted that if you update sshd for example, a restart would be in
 order afterward.  This would seem to be true of a lot of programs.  So
 would a total restart of the system (just short of a reboot) be warranted?

It would of course solve the issue. *Nothing* short of a kernel upgrade 
requires a reboot though. And I mean that literally. So usually not.

-- 
Bo Andresen


pgpTA2WyrrhPJ.pgp
Description: PGP signature


Re: [gentoo-user] revdep-rebuild attempts to emerge old package

2006-10-12 Thread PaulNM
Trenton Adams wrote:
 Why does revdep-rebuild try and update packages that do not exist?  Is
 this a bug, or am I missing something?
 
 # revdep-rebuild --library libstdc++.so.5 -- -p -v 21
 ...
 Calculating dependencies /
 emerge: there are no ebuilds to satisfy =dev-lang/python-2.3.5.
 
 
 # equery list python
 [ Searching for package 'python' in all categories among: ]
 * installed packages
 [I--] [  ] dev-lang/python-2.4.3-r4 (2.4)
 [I--] [  ] dev-python/python-fchksum-1.7.1 (0)
 It looks like an old version of python is still on your system from
when there was an ebuild for it. I'd suggest emerge -p --depclean to
see if it would remove it.

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



Re: [gentoo-user] revdep-rebuild attempts to emerge old package

2006-10-12 Thread Bo Ørsted Andresen
On Thursday 12 October 2006 03:23, Trenton Adams wrote:
 Why does revdep-rebuild try and update packages that do not exist?  Is
 this a bug, or am I missing something?

 # revdep-rebuild --library libstdc++.so.5 -- -p -v 21
 ...
 Calculating dependencies /
 emerge: there are no ebuilds to satisfy =dev-lang/python-2.3.5.
[SNIP]

I agree that it sound weird. I think you'll have to show the full output of 
the above command if you need any more help..

-- 
Bo Andresen


pgp29GnBAjysG.pgp
Description: PGP signature


Re: [gentoo-user] Dumb question

2006-10-12 Thread PaulNM
Bo Ørsted Andresen wrote:
 
 It would of course solve the issue. *Nothing* short of a kernel upgrade 
 requires a reboot though. And I mean that literally. So usually not.
 
Just being a bit pedantic here, but what about init? Even switching to
runlevel 1 would leave it running.  Is it possible to tell the kernel to
re-run init, and how?

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



Re: [gentoo-user] revdep-rebuild attempts to emerge old package

2006-10-12 Thread Bo Ørsted Andresen
On Thursday 12 October 2006 08:30, PaulNM wrote:
  It looks like an old version of python is still on your system from
 when there was an ebuild for it. I'd suggest emerge -p --depclean to
 see if it would remove it.

emerge --depclean doesn't clean old slots. It will keep all installed versions 
of python since at least portage requires it... emerge --prune will remove 
old slots. It won't notice if the old slots are needed though.. (Which is 
unlikely if he has run python-updater) ;) Finally if he did have python-2.3.x 
installed it should show up on `equery list python`.

-- 
Bo Andresen


pgpRFTyeXHvqm.pgp
Description: PGP signature


[gentoo-user] pgadmin3 doesn't work (resolved)

2006-10-12 Thread Noack, Sebastian
Hi again,

I figured the out at least, why dev-db/pgadmin3-1.4.3 didn't start.
I filed the corresponding bug under
http://bugs.gentoo.org/show_bug.cgi?id=150547.

It hadt to do with the -fvisibility-inlines-hidden CXXFLAG.

Regards
Sebastian Noack

 Hi,
 
 both verions in portage of dev-db/pgadmin3 1.2.2 and 1.4.3 don't even 
 compile if I'm using the latest stable of x11-libs/wxGTK which is 
 version 2.6.2-r1.
 
 Now I have updated x11-libs/wxGTK to version 2.6.3.3 and 
 dev-db/pgadmin3-
 1.4.3 compiles succesfully. But I still get following error message 
 when I try to run pgadmin3:
 
 error: /usr/lib/libwx_gtk2u_stc-2.6.so.0: symbol _ZTV7wxEvent, version
 WXU_2.6 not defined in file libwx_gtk2u_core-2.6.so.0 with link time 
 reference
 
 Is there any known working combination of dev-db/pgadmin3 and x11- 
 libs/wxGTK versions? Or is it maybe an other problem?
 
 Regards
 Sebastian Noack

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ipw2100 problems - ieee80211?

2006-10-12 Thread Alan McKinnon
On Thursday 12 October 2006 06:00, Lord Sauron wrote:
 They're going to install wireless in my school so I guess I better
 get this working sometime soon : )

Several people responded to your request so far, and maybe that has 
solved your problem. But no-one fully answered your original question, 
so fwiw here's my answer. You may not need this info if the standard 
driver in the kernel works for you.

 I isolated my problem to this:

 emerge ipw2100 ties in ieee80211, and that fails to compile because
 it says that the current kernel cannot have the option IEEE80211 in
 either module or enabled.  It needs it disabled.

Yes, you can't have a module in the kernel code-tree and another 
external module emerged at the same time - you end up with two 
different modules with the same name and that's a conflict

 I tried to use menuconfig and disable it, however, the only way I can
 do that is by literally disabling ALL networking - drivers and all.

 Kernel is kernel 2.6.17-gentoo-r8.

As Bo said, that kernel comes with ipw2100 drivers and they might suit 
your needs. But I have an ipw2200 card and the kernel tree modules 
don't work well for me, so I have to emerge ipw2200. You might find the 
same.

 I'm considering editing the makefile and removing its dependency on
 that blasted kernel configuration setting!

No, don't do that. Instead read the emerge messages and do what they 
say.

You first have to disable ipw2100 in menuconfig. It's one of the 
networking device drivers, so just unselect it.

ipw2100 also comes with it's own ieee80211 which must also replace the 
existing code in the kernel. In menuconfig, go to Networking and 
there's a section called Wirelss (non ham radio) or similar. Enable it, 
and press enter. Now the config knows about wireless, but deselect the 
ieee80211 and ieee80211crypt stuff at the bottom of the list.

Exit save and compile.

Then emerge ipw2100 and ieee80211. You may get a message that you have 
to remove code files from the kernel tree, with a command supplied that 
you have to run. That's OK, just run it (the files that get deleted are 
replaced with the out-of-tree modules you are about to merge.

Then read up everything you can on the new baselayout networking 
configuration. There's info on the gentoo docs, the wiki and it's been 
beaten to death on this list, so no need for me to repeat all that now

Continue, share, enjoy

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



Re: [gentoo-user] Dumb question

2006-10-12 Thread Alan McKinnon
On Wednesday 11 October 2006 19:43, Michael Sullivan wrote:
 Wow, files can exist without file names.  I think I found a topic for
 discussion in philosophy class...

Nope.

A file is an inode and that either eists or doesn't. A filename is just 
a dentry in a directory, it is not the file itself, it may or may not 
exist, may or may not actually mean something and is there purely for 
*your* benefit in userspace.

So there's no conflict.

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dumb question

2006-10-12 Thread Alan McKinnon
On Thursday 12 October 2006 08:42, PaulNM wrote:
 Bo Ørsted Andresen wrote:
  It would of course solve the issue. *Nothing* short of a kernel
  upgrade requires a reboot though. And I mean that literally. So
  usually not.

 Just being a bit pedantic here, but what about init? Even switching
 to runlevel 1 would leave it running.  Is it possible to tell the
 kernel to re-run init, and how?

I don't believe so - every attempt i've ever made to kill or restart 
init causes a kernel panic.

It's not init doing this - the same effect is achieved by booting with 
init=/bin/bash and then exiting that bash

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] KDE login with non-us keyboard

2006-10-12 Thread Charles Trois

Neil Bothwick a écrit :

On Sun, 08 Oct 2006 16:53:42 +0200, Charles Trois wrote:


How could one make the system aware of French?


It sounds like you don't have kde-i18n installed. Set LINGUAS in
make.conf before you emerge it.



That was it: I did as you advised and that fixed everything.

Thank you very much.

Charles


--
gentoo-user@gentoo.org mailing list



[gentoo-user] Segmentation fault on Emerge -S

2006-10-12 Thread Wagner Vaz
It's a bit funny if not sad. Just look:

#emerge -S netrw
Searching... |Segmentation fault

What is these?

Thanks!
-- 
Wagner Vaz
Blog: http://wagnervaz.wordpress.com
Linux User: #372744
GPG Key: B4D1B312   | Keyserver: subkeys.pgp.net


signature.asc
Description: PGP signature


Re: [gentoo-user] Auto-mount USB device

2006-10-12 Thread Neil Bothwick
On Wed, 11 Oct 2006 19:24:37 -0700 (PDT), Stephen Liu wrote:

 Sorry, previously I made a mistake running;
 # mount /dev/sdb1 /media/disk
 
 It should be 
  # mount /dev/sda1 /media/

Use a custom udev rule to give the device a persistent name.

See http://www.reactivated.net/udevrules.php for a detailed description
of how to do this.


-- 
Neil Bothwick

Ethernet (n): something used to catch the etherbunny


signature.asc
Description: PGP signature


Re: [gentoo-user] x11-base/xorg-x11 not needed?!

2006-10-12 Thread Jorge Almeida

On Wed, 11 Oct 2006, Richard Fish wrote:


On 10/11/06, Jorge Almeida [EMAIL PROTECTED] wrote:

 I did emerge -p --depclean and it would remove x11-base/xorg-x11
 (version 7.0-r1).
 Now, how can this be? (No, I don't run a X-less workstation!)
 I know --depclean  is not to be blindly trusted, but is this normal?


xorg-x11 is just a meta-build now with modular X, and nothing in the
tree is really supposed to depend on it.  Packages are supposed to
depend on those parts of x.org that they really use.  So unmerging
xorg-x11-7.0-r1 will not break anything:


But wouldn't it add to entropy, next time I do a emerge -NDu world?
--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: problem getting UTF-8 locale

2006-10-12 Thread Bo Ørsted Andresen
On Monday 09 October 2006 15:03, Liviu Andronic wrote:
{SNIP]
 Are you saying that it lacks a maintainer for keeping emelFM2 up-to-date in
 portage? 

Yes.

[SNIP]
 Is there any way to ask portage devels to update regularly
 emelFM2 ebuilds? (As it can be seen in [1], there are people providing
 ebuilds for each emelFM2 release; couldn't they help maintaining emelFM2 in
 portage?).
[SNIP]

If one of them is willing to be a maintainer and he can find a dev who is 
willing to become proxy him, yes. Apparently noone did so far though.

  The latest ebuild is on bug #90476 [1]. Unlike the latest ebuild in
  portage that actually has a unicode use flag. Did you use that one [2]?

 I'm novice enough to Gentoo to not yet master emerging from custom ebuilds.
 So I build it from source (make  make install). I used version 0.2.

You just fetch the ebuild and the two patches it requires from the bug and 
place them in your local overlay. This should help you figure out how:

http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds

 However, the problem isn't emelFM2 specific. It is more linked to GTK+2
 applications. For example, Qalculate! isn't able to display the pi sign
 (the unicode pi sign). Or Xfce cannot display corefonts (Arial, Tahoma,
 Verdana). Instead of displaying a unicode character (my guess), it displays
 an incomprehensible series of numbers.

 My guess is that it has to be somehow linked to locale, but I cannot see
 how. I have a fresh 2006.1 Gentoo installation, with a customised kernel
 having nls_utf8 built-in. The only crucial change that I made was upgrading
 Xorg to 7.1. I generally build all my applications with +nls flag.

Only suggestion I can think of is to follow this:

http://www.gentoo.org/doc/en/utf-8.xml

-- 
Bo Andresen


pgpwQCCKFpPrn.pgp
Description: PGP signature


Re: [gentoo-user] x11-base/xorg-x11 not needed?!

2006-10-12 Thread Jorge Almeida

On Thu, 12 Oct 2006, Bo Ørsted Andresen wrote:


On Thursday 12 October 2006 00:56, Jorge Almeida wrote:

I did emerge -p --depclean and it would remove x11-base/xorg-x11
(version 7.0-r1).
Now, how can this be? (No, I don't run a X-less workstation!)
I know --depclean  is not to be blindly trusted, but is this normal?


As has been mentioned before on this list you could still run your X programs
with an external X server. Hence it's not that unlikely that nothing requires
a local X server. To tell it you want to keep the local X server run:

# emerge --noreplace xorg-x11



I don't understand: doesn't the X USE variable implies that a local
server is required?
--
Jorge Almeida

Re: [gentoo-user] Segmentation fault on Emerge -S

2006-10-12 Thread Alan McKinnon
On Thursday 12 October 2006 09:59, Wagner Vaz wrote:
 It's a bit funny if not sad. Just look:

 #emerge -S netrw
 Searching... |Segmentation fault

 What is these?

Doesn't matter, it's not in the tree (synced 3 minutes ago):


[EMAIL PROTECTED] ~ $ emerge -S netrw
Searching...
[ Results for search key : netrw ]
[ Applications found : 0 ]

I also think you need to remerge your portage and/or python

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



Re: [gentoo-user] x11-base/xorg-x11 not needed?!

2006-10-12 Thread Alan McKinnon
On Thursday 12 October 2006 10:28, Jorge Almeida wrote:
 On Thu, 12 Oct 2006, Bo Ørsted Andresen wrote:
  On Thursday 12 October 2006 00:56, Jorge Almeida wrote:
  I did emerge -p --depclean and it would remove x11-base/xorg-x11
  (version 7.0-r1).
  Now, how can this be? (No, I don't run a X-less workstation!)
  I know --depclean  is not to be blindly trusted, but is this
  normal?
 
  As has been mentioned before on this list you could still run your
  X programs with an external X server. Hence it's not that unlikely
  that nothing requires a local X server. To tell it you want to keep
  the local X server run:
 
  # emerge --noreplace xorg-x11

 I don't understand: doesn't the X USE variable implies that a local
 server is required?

No, use.desc says the the X use flag means adds support for X11. That 
definitely doesn't mean that it has to be a local X server. Support for 
X11 client libs is more like it.

It all makes perfect sense: if you want to install an X11 client app, 
then it will have the X flag set and link against the X11 client libs. 
Now the app can talk X11 and have it's output display on an X server, 
wherever that might be.

Now you decide you want a local X server. Cool - 'emerge xorg-x1' gives 
you one

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] x11-base/xorg-x11 not needed?!

2006-10-12 Thread Alan McKinnon
On Thursday 12 October 2006 10:18, Jorge Almeida wrote:
 On Wed, 11 Oct 2006, Richard Fish wrote:
  On 10/11/06, Jorge Almeida [EMAIL PROTECTED] wrote:
   I did emerge -p --depclean and it would remove
  x11-base/xorg-x11 (version 7.0-r1).
   Now, how can this be? (No, I don't run a X-less workstation!)
   I know --depclean  is not to be blindly trusted, but is this
  normal?
 
  xorg-x11 is just a meta-build now with modular X, and nothing in
  the tree is really supposed to depend on it.  Packages are supposed
  to depend on those parts of x.org that they really use.  So
  unmerging xorg-x11-7.0-r1 will not break anything:

 But wouldn't it add to entropy, next time I do a emerge -NDu world?

No, if you look inside the xorg-x11 ebuild, you'll it depends on 
xorg-server (the actual X server itself), a bunch of common apps 
(xauth, xhost, xrandr, etc), 10 or so libs and 4 font related packages.

So all that gets installed and no other package relies on xorg-x11 
directly, they depend on eg xorg-server instead. So when 
you 'emerge -NDu world' the dependencies are satisfied and all is well 
in portage-land.

As long as no ebuilds do stupid things like depend on xorg-x11 directly, 
all will continue to work correctly even if xorg-x11 is removed

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



Re: [gentoo-user] x11-base/xorg-x11 not needed?!

2006-10-12 Thread Jorge Almeida

On Thu, 12 Oct 2006, Alan McKinnon wrote:

But wouldn't it add to entropy, next time I do a emerge -NDu world?


No, if you look inside the xorg-x11 ebuild, you'll it depends on
xorg-server (the actual X server itself), a bunch of common apps
(xauth, xhost, xrandr, etc), 10 or so libs and 4 font related packages.

So all that gets installed and no other package relies on xorg-x11
directly, they depend on eg xorg-server instead. So when
you 'emerge -NDu world' the dependencies are satisfied and all is well
in portage-land.

As long as no ebuilds do stupid things like depend on xorg-x11 directly,
all will continue to work correctly even if xorg-x11 is removed


OK, thanks.
--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Segmentation fault on Emerge -S

2006-10-12 Thread Bo Ørsted Andresen
On Thursday 12 October 2006 09:59, Wagner Vaz wrote:
 It's a bit funny if not sad. Just look:

 #emerge -S netrw
 Searching... |Segmentation fault

 What is these?

It really would help if we knew what version you were running. Try this:

# emerge -u portage

# emerge -u python

# python-updater

# revdep-rebuild

If after that you still see the above behaviour:

# emerge --debug -S netrw  debug.log
# gzip debug.log

Then attach debug.log.gz and post that together with the output of:

# emerge --info

-- 
Bo Andresen


pgpVOXGYiNZKp.pgp
Description: PGP signature


[gentoo-user] Re: Circular Block? kde-env / kdelibs -- RESOLVED

2006-10-12 Thread Stefan Wimmer
* Bo �rsted Andresen [EMAIL PROTECTED] [2006-10-11 21:35] :
  No, this is not spam. It is necessary info to explain what's going on.

Ok - next time you'll get it without asking ;-)

  ~khelpcenter-3.5.2 pulls in ~kdelibs-3.5.2 which pulls in kde-env.
  ~kdelibs-3.5.4 on the other hand blocks kde-env. The solution is to add
  kcontrol, kicker, khelpcenter (and any other packages that still require a
  downgrade of kdelibs) to /etc/portage/package.keywords...

This was exactly what I did after seeing the mixture of x86 and ~x86. 
As already said in my previous post the dependency is gone now ...

  I'm not really certain  where font-alias comes into the picture though. If 
 you
  want to find out run:
  # emerge -uDpt --debug world  debug.log
  And inspect the log. You may even send debug.log to me in a private mail. It
  will be huge so I'm not going to recommend to post it on this list though.

Too late :)

Thanks for your help - not only with my problem but in /many/ other cases 
as well !!!

Greetz
Stefan 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Circular Block? kde-env / kdelibs

2006-10-12 Thread Alan McKinnon
On Wednesday 11 October 2006 23:35, Bo Ørsted Andresen wrote:
  [nomerge      ] media-fonts/font-alias-1.0.1
  [ebuild  N    ]   kde-base/kde-env-3-r4
 
  This looks for me like font-alias wants to bring in kde-env ... but
  might be a misinterpretation from my side as well since after that
  I decided to migrate to KDE ~x86 and since then the depenency is
  gone.

 ~khelpcenter-3.5.2 pulls in ~kdelibs-3.5.2 which pulls in kde-env.
 ~kdelibs-3.5.4 on the other hand blocks kde-env. The solution is to
 add kcontrol, kicker, khelpcenter (and any other packages that still
 require a downgrade of kdelibs) to /etc/portage/package.keywords...

A further point on this topic. kde-3.5.5 just went ~x86 and I've just 
run into this blocker myself. For some reason I had kde-env in my 
world, so I looked into the ebuilds to see what's going on. kde-env 
does this:



RDEPEND=!=kde-base/kdelibs-3.5.4-r2

S=${WORKDIR}

src_install() {
dodir /etc/env.d
cat  EOF  ${D}/etc/env.d/99kde-env
KDEDIRS=/usr
CONFIG_PROTECT=/usr/share/config
#KDE_IS_PRELINKED=1
EOF
}



So it 1) blocks kdelibs-3.5.4-r2 and greater and 2) 
creates /etc/env.d/99kde-env. So far so good.

The kdelibs blocker is because of this in kdelibs-3.5.5.ebuild function 
src_install():


cat EOF  ${D}/etc/env.d/45kdepaths-${SLOT} # number goes 
down with version upgrade
PATH=${PREFIX}/bin
ROOTPATH=${PREFIX}/sbin:${PREFIX}/bin
LDPATH=${libdirs:1}
CONFIG_PROTECT=${PREFIX}/share/config ${PREFIX}/env 
${PREFIX}/shutdown /usr/share/config
KDEDIRS=${PREFIX}:/usr:/usr/local
#KDE_IS_PRELINKED=1
EOF


so it writes it's own 45-kdepaths-3.5 which conflicts with the same 
settings in kde-env. Fair enough and kdelibs-3.5.4-r2 is blocked for a 
similar reason. But src_install() in kdelibs-3.5.4-r1 has only:

cat EOF  ${D}/etc/env.d/45kdepaths-${SLOT} # number goes down 
with version upgrade
PATH=${PREFIX}/bin
ROOTPATH=${PREFIX}/sbin:${PREFIX}/bin
LDPATH=${libdirs:1}
CONFIG_PROTECT=${PREFIX}/share/config ${PREFIX}/env ${PREFIX}/shutdown
EOF


No conflict with the settings from kde-env, so kde-env  
kdelibs-3.5.4-r1 work together. What's so special about 
kdelibs-3.5.4-r2 and greater that they must supplant kde-env (apart 
from the order the files are read in /etc/env.d)?

I can't decide if this is a bug or the devs are trying stuff out. 
There's also NO bugs listed for kde-env on bugzilla, so I thought I'd 
ask here first and get some comment

alan

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: procmail, formail and maildir for digests...

2006-10-12 Thread Steve [Gentoo]
Moshe Kamensky wrote:
 The -s option of formail allows you to specify an argument, which is a 
 program name. This program will be run for each message, with the 
 message on the stdin. So if you have such a program that delivers to a 
 maildir, you can use it. procmail itself is one such program, so you 
 should be able to do something like

 | formail +1 -ds procmail .procmailrc.gentoo

 and then have .procmailrc.gentoo say something like

 :0
 gentoo-user/
   
That works perfectly... Thanks!

I'd overlooked that -s had an optional argument with formail - and while
I'd realised I probably wanted procmail to deliver messages, I hadn't
realised that I could have separate configurations as easily as that.

I'm surprised this example is neither one of the convenient examples in
the man procmailex man page... nor widely cited in the online howtos
I've seen.





-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} dvdrip permissions error, alternative?

2006-10-12 Thread Paul Stear
On Wednesday 11 October 2006 19:12, Neil Bothwick wrote:
 On Wed, 11 Oct 2006 08:24:48 -0700, Grant wrote:
  I tried using vobcopy to decrypt my The Life of Mammals dd images
  and, strangely, it's not working.  vobcopy outputs the same error that
  dvdbackup did, something about an error cracking the CSS keys, which
  comes from libdvdcss.

 Could it be using this? http://en.wikipedia.org/wiki/ARccOS
Thanks Neil, 
That reference has shown me what the problem is when trying to play Silent 
Hill.

Paul
-- 
This message has been sent using kmail with gentoo linux
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Lightwheight Gentoo System

2006-10-12 Thread Karl Huysmans
Hi All,A friend asked me to install some operating system on an old Dell laptop he got for free. The laptop has a pentium 2 400 MHz, 6 GB HD and 256 MB RAM, and will be used by his young children.
I have tried to install Edubuntu on it, looks nice, has a lot of very usefull stuff for kids, but it really runs too slow on this machine.So I was thinking Gentoo, optimized for PII, I guess -Os would be a good option for this little machine. Any thoughts anyone?
What about the desktop? I guess Gnome or KDE is not really the best choice. But what else could I use? Of course, it's for kids, so I have to be able to make it look nice :-) What would be a good window manager? File manager? Other applications that help to keep it lean an fast?
Anyone with any experience building such a system under Gentoo?Thank youKarl


Re: [gentoo-user] xsm and dependency...

2006-10-12 Thread Mick
On Thursday 12 October 2006 06:55, darren kirby wrote:
 quoth the Daniel Barkalow:
   What's up with this? I really don't want netkit-rsh installed
   either...xsm changelog says nothing...
 
  You want to be looking at xinit's info; turns out you want the minimal
  USE flag if you don't want to include the things used by the default
  Xsession, which includes xsm (which has, as far as I can tell, always
  used netkit-rsh).
 
  -Daniel
  *This .sig left intentionally blank*

 Thanks, and sorry for the hysteria. I have rebuilt xinit with minimal and
 netkit-rsh is no longer a deep dependency.  I am very unsure what is
 strictly required with the modular Xorg.

Thank you for raising this - I've also now rebuilt it with the minimal flag 
and removed netkit-rsh and xsm.
-- 
Regards,
Mick


pgpR9HBMKceXo.pgp
Description: PGP signature


Re: [gentoo-user] Dumb question

2006-10-12 Thread Boyd Stephen Smith Jr.
On Thursday 12 October 2006 01:42, PaulNM [EMAIL PROTECTED] wrote 
about 'Re: [gentoo-user] Dumb question':
 Bo Ørsted Andresen wrote:
  It would of course solve the issue. *Nothing* short of a kernel
  upgrade requires a reboot though. And I mean that literally. So
  usually not.

 Just being a bit pedantic here, but what about init?

Modern versions of init will watch not only /etc/initab, but also the path 
they were started from.  If that path is pointed to a different file, it 
will exec() that file in place.

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


pgpG9PPTtNQys.pgp
Description: PGP signature


[gentoo-user] VNC server / windows viewer

2006-10-12 Thread Timothy A. Holmes
Good morning all:

For a couple days now I have been looking for a good simple setup that
will allow me to run vnc on one of my gentoo workstations at home and
connect to it from my windows box in another area of the house.  I am
not going across the internet, or anything wild like that, just trying
to keep an eye on my box (the active desktop in fluxbox) when im
elsewhere in the house.  So far all the VNC HOW-Tos etc that I have read
involve what appears to me to be very overly complex tunneling over ssh
etc (a good thing if I was going over the internet, but for what im
doing, totally un-necessary)

When I lived in the Fedora world, I could just install vncserver and
start it up and it connected me to my active desktop and away I went.
If anyone can suggest a method or solution, I would be MOST
appreciative.

TIM


Timothy A. Holmes
IT Manager / Network Admin / Web Master / Computer Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lightwheight Gentoo System

2006-10-12 Thread Eugene Rosenzweig
Karl Huysmans wrote:
 Hi All,

 A friend asked me to install some operating system on an old Dell
 laptop he got for free.

 The laptop has a pentium 2 400 MHz, 6 GB HD and 256 MB RAM, and will
 be used by his young children.

 I have tried to install Edubuntu on it, looks nice, has a lot of very
 usefull stuff for kids, but it really runs too slow on this machine.

 So I was thinking Gentoo, optimized for PII, I guess -Os would be a
 good option for this little machine. Any thoughts anyone?

 What about the desktop? I guess Gnome or KDE is not really the best
 choice. But what else could I use? Of course, it's for kids, so I have
 to be able to make it look nice :-) What would be a good window
 manager? File manager? Other applications that help to keep it lean an
 fast?

 Anyone with any experience building such a system under Gentoo?

 Thank you

 Karl


I run gentoo on a p2 laptop, using fluxbox for wm. Its slow but mostly
usable although I mostly use it as a chat client so it rarely gets to
run anything other than xchat and gaim and a few xterm windows and
synergy (synergy2 project on sourceforge) for seamless access from my
main machine. Fluxbox and the rest in its family (blackbox and openbox)
are alright looking but I guess they do look a bit dated in comparison
to the latest offerings. You might want to try fvwm-crystal, never used
it myself but saw an article on it the other day, it is supposed to be
relatively lightweight and nice looking. In general be prepared for LONG
emerges though, compiling anything of size takes a long time. I use
distcc to speed that up a bit.

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



Re: [gentoo-user] [OT overheat] How to cause shutdown on overheat

2006-10-12 Thread Joost Roeleveld
On Sunday 01 October 2006 17:31, Michael Gisbers wrote:

 Just have a look to your trip_point:

 [EMAIL PROTECTED] ~ $ cat /proc/acpi/thermal_zone/THRM/trip_points
 critical (S5):   95 C
 passive: 87 C: tc1=1 tc2=5 tsp=10 devices=0xdff72dc4

 When reaching 95° my computer starts to shutdown fast.


My trip_point reads:
cat /proc/acpi/thermal_zone/THRM/trip_points
critical (S5):   80 C
passive: 78 C: tc1=4 tc2=3 tsp=60 devices=0x887fce00
active[0]:   78 C: devices=0x884f2200

The value for 'critical' has been entered into the BIOS, at which point the
computer will perform a hard shutdown (equivalent to pulling the plug)

On my old laptop (died recently) I had it set up to initiate a proper
shutdown
(shutdown -h now) when it would get near this value.

How can I configure acpid to perform a proper shutdown when it reaches 78 C,
which ACPI-event would I get?
I'd rather not experiment for obvious reasons as this machine is used to
store
my emails and other important files.

Thanks,

Joost Roeleveld

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lightwheight Gentoo System

2006-10-12 Thread Uwe Thiem
On 12 October 2006 12:21, Karl Huysmans wrote:
 Hi All,

 A friend asked me to install some operating system on an old Dell laptop
 he got for free.

 The laptop has a pentium 2 400 MHz, 6 GB HD and 256 MB RAM, and will be
 used by his young children.

 I have tried to install Edubuntu on it, looks nice, has a lot of very
 usefull stuff for kids, but it really runs too slow on this machine.

 So I was thinking Gentoo, optimized for PII, I guess -Os would be a good
 option for this little machine. Any thoughts anyone?

 What about the desktop? I guess Gnome or KDE is not really the best choice.

With 256MB of ram, KDE should run fine. When the whole thing is installed and 
ready, don't forget to prelink the whole system. Makes a hell of a lot of a 
difference when it comes to startup times of apps.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lightwheight Gentoo System

2006-10-12 Thread Jerônimo Backes


So I was thinking Gentoo, optimized for PII, I guess -Os would be a 
good option for this little machine. Any thoughts anyone?


What about the desktop? I guess Gnome or KDE is not really the best 
choice. But what else could I use? Of course, it's for kids, so I have 
to be able to make it look nice :-) What would be a good window 
manager? File manager? Other applications that help to keep it lean an 
fast?
Man, I've installed gentoo in a Pentium III 450MHz with 128 MB RAM. The 
apps I've installed were:



- KDE: It was very fast, but it took four days a week to compile. If you 
think that installing KDE doesn't worth the effort (if you are afraid 
that KDE may be sluggish), install slackware with KDE just to see how it 
will perform on that hardware.
- OpenOffice.org: I was able to run OOo. It was a little (yes, just a 
little) slow, but worked well. I also recommend you to install koffice, 
because it is lightweight.

- The Gimp, Inkscape, Thunderbird, etc.: were swift and fast.

DO NOT install firefox. It is crappy on slower machines. Stick with 
konqueror and avoid headaches.


Everything should run better than you expect on that machine. If you are 
in doubt because of performance concerns, try slackware just to test 
what you can be executed on your machine. With gentoo you'll have to 
compile everything (and it will take a week), but it will pay the 
effort, because everything will be faster.



___ 
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! 
http://br.mobile.yahoo.com/mailalertas/ 




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lightwheight Gentoo System

2006-10-12 Thread Mark Shields
On 10/12/06, Karl Huysmans [EMAIL PROTECTED] wrote:
Hi All,A friend asked me to install some operating system on an old Dell laptop he got for free. The laptop has a pentium 2 400 MHz, 6 GB HD and 256 MB RAM, and will be used by his young children.
I have tried to install Edubuntu on it, looks nice, has a lot of very usefull stuff for kids, but it really runs too slow on this machine.So I was thinking Gentoo, optimized for PII, I guess -Os would be a good option for this little machine. Any thoughts anyone?
What about the desktop? I guess Gnome or KDE is not really the best choice. But what else could I use? Of course, it's for kids, so I have to be able to make it look nice :-) What would be a good window manager? File manager? Other applications that help to keep it lean an fast?
Anyone with any experience building such a system under Gentoo?Thank youKarl

I just started (last week) using xfce on a VNC box - slot A Athlon 600 mhz, 512mb of ram. I can't tell you what it would normally use if running locally, but xfce is using 40mb currently, vnc is using 15mb, and vnc uses about 13% at idle. 
-- - Mark Shields


Re: [gentoo-user] Lightwheight Gentoo System

2006-10-12 Thread Chris Frederick

Karl Huysmans wrote:

Hi All,

A friend asked me to install some operating system on an old Dell laptop
he got for free.

The laptop has a pentium 2 400 MHz, 6 GB HD and 256 MB RAM, and will be 
used

by his young children.

I have tried to install Edubuntu on it, looks nice, has a lot of very
usefull stuff for kids, but it really runs too slow on this machine.

So I was thinking Gentoo, optimized for PII, I guess -Os would be a good
option for this little machine. Any thoughts anyone?

What about the desktop? I guess Gnome or KDE is not really the best choice.
But what else could I use? Of course, it's for kids, so I have to be 
able to

make it look nice :-) What would be a good window manager? File manager?
Other applications that help to keep it lean an fast?

Anyone with any experience building such a system under Gentoo?

Thank you

Karl



I've got an old NEC and Thinkpad that I use for VNC clients to my 
server.  I've also loaded a bare bones desktop system in case I take 
them out somewhere.


I've loaded fluxbox, dillo, spruce, mplayer, and some assorted games 
(pysol, xbomb, xtris, etc...)  Surprisingly this system responds better 
then my Win2k server at work.


I have a dual xeon server that I did all the building on, then I just 
boot the laptop to the minimal cd and partition drives and use the tar 
file from my server in place of the stage3.  Then just load grub, 
reboot, and you just saved yourself days of compiling.


I used -O2 for compiling, and since I use my server to do all the 
building from, I delete /usr/portage before I load it on the laptops. 
this puts me around ~850M for a complete system (My laptops only have a 
2G/3G hard drives with 96M/128M ram).


Chris Frederick

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VNC server / windows viewer

2006-10-12 Thread Etaoin Shrdlu
On Thursday 12 October 2006 14:47, Timothy A. Holmes wrote:

 elsewhere in the house.  So far all the VNC HOW-Tos etc that I have
 read involve what appears to me to be very overly complex tunneling
 over ssh etc (a good thing if I was going over the internet, but for
 what im doing, totally un-necessary)

You don't need to tunnel, just let your client connect to the server port 
(usually the dafault ports start at tcp port 5900).

 When I lived in the Fedora world, I could just install vncserver and
 start it up and it connected me to my active desktop and away I went.
 If anyone can suggest a method or solution, I would be MOST
 appreciative.

Sorry, I can't be of much help here, since I almost exclusively use kde's 
krfb/krdc combination. Anyway, I remember having problems in the past 
when connecting to the krfb desktop using a windows client like realvnc 
or ultravnc: the connection was immediatly shut down, expecially if the 
remote desktop had a resolution  1024x768. 
I'd try using one of the available vnc servers in portage (like for 
example x11vnc or tightvnc) and see how it goes.

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



Re: [gentoo-user] {OT} dvdrip permissions error, alternative?

2006-10-12 Thread Grant

 I tried using vobcopy to decrypt my The Life of Mammals dd images
 and, strangely, it's not working.  vobcopy outputs the same error that
 dvdbackup did, something about an error cracking the CSS keys, which
 comes from libdvdcss.

Could it be using this? http://en.wikipedia.org/wiki/ARccOS


Would it then make sense that vobcopy can rip a decrypted backup from
the disc but not from a disc image?

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



Re: [gentoo-user] Lightwheight Gentoo System

2006-10-12 Thread Brian Davis

I've also used -O2 on my Pentium 2 Celeron system without any problems.

I used to run -Os back on my Pentium 200Mhz days, and that works fine 
too ;).


Honestly, however I never did any benchmarking between the different -O 
settings on any of these machines, so I'm not sure they were the best 
setting to use. These were recommendations I'd gotten from the forums.


Caveat: there is no GUI involved on either of these systems, just 
headless servers.


Thanks,
Brian

Chris Frederick wrote:

Karl Huysmans wrote:

Hi All,

A friend asked me to install some operating system on an old Dell 
laptop

he got for free.

The laptop has a pentium 2 400 MHz, 6 GB HD and 256 MB RAM, and will 
be used

by his young children.

I have tried to install Edubuntu on it, looks nice, has a lot of very
usefull stuff for kids, but it really runs too slow on this machine.

So I was thinking Gentoo, optimized for PII, I guess -Os would be a good
option for this little machine. Any thoughts anyone?

What about the desktop? I guess Gnome or KDE is not really the best 
choice.
But what else could I use? Of course, it's for kids, so I have to be 
able to

make it look nice :-) What would be a good window manager? File manager?
Other applications that help to keep it lean an fast?

Anyone with any experience building such a system under Gentoo?

Thank you

Karl



I've got an old NEC and Thinkpad that I use for VNC clients to my 
server.  I've also loaded a bare bones desktop system in case I take 
them out somewhere.


I've loaded fluxbox, dillo, spruce, mplayer, and some assorted games 
(pysol, xbomb, xtris, etc...)  Surprisingly this system responds 
better then my Win2k server at work.


I have a dual xeon server that I did all the building on, then I just 
boot the laptop to the minimal cd and partition drives and use the tar 
file from my server in place of the stage3.  Then just load grub, 
reboot, and you just saved yourself days of compiling.


I used -O2 for compiling, and since I use my server to do all the 
building from, I delete /usr/portage before I load it on the laptops. 
this puts me around ~850M for a complete system (My laptops only have 
a 2G/3G hard drives with 96M/128M ram).


Chris Frederick


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] where to put mknod chmod

2006-10-12 Thread maxim wexler
 What baselayout and udev version are you using?
 

Thanks Alan,

I added the commands to local.start and that seems to
have done the trick. 

But here's the baselayout and udev info:

[EMAIL PROTECTED] ~ $ emerge -pv baselayout

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

Calculating dependencies... done!
[ebuild U ] sys-apps/baselayout-1.12.5-r1
[1.11.15-r3] USE=unicode* -bootstrap -build -static
215 kB

Total size of downloads: 215 kB
[EMAIL PROTECTED] ~ $ emerge -pv udev

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

Calculating dependencies... done!
[ebuild   R   ] sys-fs/udev-087-r1  USE=(-selinux) 0
kB

-Maxim

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] eselect could not source blas.eselect

2006-10-12 Thread Trenton Adams

All the directories all the way down the tree have r-x, and the files
are world readable.

On 10/11/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote:

On Thursday 12 October 2006 06:41, Trenton Adams wrote:
[SNIP]
 [22:41 [EMAIL PROTECTED] trenta]# eselect
[SNIP]
 Extra modules:
   bashcomp  Manage contributed bash-completion scripts
   binutils  Manage installed versions of sys-devel/binutils
 !!! Error: Couldn't source /usr/share/eselect//modules/blas.eselect
 Call stack:
 * ec_do_list-modules (eselect:139)
 * ec_do_help (eselect:86)
 * main (eselect:193)
 exiting.
[SNIP]

Hrm.. Maybe it could be a permissions problem. What does

# ls -l /usr/share/eselect/modules

show?

--
Bo Andresen





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] revdep-rebuild attempts to emerge old package

2006-10-12 Thread Trenton Adams

I did not know about python-updater.  Should I re-install the old
version of python again, and then run python-updater?  Right now it
complains about there not being an old version of python.

Gotta run to work for now though. :(

On 10/12/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote:

On Thursday 12 October 2006 08:30, PaulNM wrote:
  It looks like an old version of python is still on your system from
 when there was an ebuild for it. I'd suggest emerge -p --depclean to
 see if it would remove it.

emerge --depclean doesn't clean old slots. It will keep all installed versions
of python since at least portage requires it... emerge --prune will remove
old slots. It won't notice if the old slots are needed though.. (Which is
unlikely if he has run python-updater) ;) Finally if he did have python-2.3.x
installed it should show up on `equery list python`.

--
Bo Andresen





--
gentoo-user@gentoo.org mailing list



[gentoo-user] colplug deprecated?

2006-10-12 Thread Grant

I noticed this:

sys-fs/udev-089 and later takes over the responsibility of
coldplugging. Therefore sys-apps/coldplug is no longer needed.

here:

http://gentoo-wiki.com/HOWTO_Installing_USB_Scanner

Is udev-089 a replacement for coldplug in all cases?

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



[gentoo-user] Re: Lightwheight Gentoo System

2006-10-12 Thread James
Karl Huysmans karl.huysmans at gmail.com writes:

 
 Hi All,A friend asked me to install some operating system on an old Dell
laptop he got for free. The laptop has a pentium 2 400 MHz, 6 GB HD and 256 MB
RAM, and will be used by his young children.
 Anyone with any experience building such a system under Gentoo?Thank youKarl

Hello Karl,

I'm sure we all have our 'horror' stories as compared to intallation on
a resource rich machine. You eventually get their, but the price
is usually extensive. The more you install these older machines,
the smoother, somewhat, it gets. I use them for firewalls, and
minimal servers. During my last installation, I ran across this link
that might be the way to go. I have not install a 'gnap' gentoo
system, but, it's on my todo list of new (gentoo) experiences.

One more note, Vapier is 'the man' on all things gentoo-embedded.
He and many other astute gentoo-embedded folks hang out at:

gentoo-embedded@gentoo.org


Which desktop/X package you intend to use, or a X-client is something
that I have not looked into, in using gnap. Others on this list or
on the gentoo-embedded may be able to provide recommendations and 
advice is gnap it the way to go for your needs.

If there was a Gen_bunto CD for older p2 and p1 machines, all of the
kids in my hood would be using gentoo

hth,
James



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VNC server / windows viewer

2006-10-12 Thread Roy Wright
Etaoin Shrdlu wrote:
 I'd try using one of the available vnc servers in portage (like for 
 example x11vnc or tightvnc) and see how it goes.
   
Linux Format (Oct 2006) magazine recommends x11vnc for the server.

HTH,
Roy

-- 

echo spzxAdjtdp/dpn | perl -pe 's/(.)/chr(ord($1)-1)/ge'
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lightwheight Gentoo System

2006-10-12 Thread michael

i use xubuntu on an old laptop, and it's quite snappy.

although i'm sure you could get snappier results with gentoo



On Thu, 12 Oct 2006, Karl Huysmans wrote:


Hi All,

A friend asked me to install some operating system on an old Dell laptop
he got for free.

The laptop has a pentium 2 400 MHz, 6 GB HD and 256 MB RAM, and will be used
by his young children.

I have tried to install Edubuntu on it, looks nice, has a lot of very
usefull stuff for kids, but it really runs too slow on this machine.

So I was thinking Gentoo, optimized for PII, I guess -Os would be a good
option for this little machine. Any thoughts anyone?

What about the desktop? I guess Gnome or KDE is not really the best choice.
But what else could I use? Of course, it's for kids, so I have to be able to
make it look nice :-) What would be a good window manager? File manager?
Other applications that help to keep it lean an fast?

Anyone with any experience building such a system under Gentoo?

Thank you

Karl



--
gentoo-user@gentoo.org mailing list



[gentoo-user] LDAP with no privileged login

2006-10-12 Thread Leandro Melo de Sales

Hi list,

 I'm configured a LDAP server to be used as a users database. Now, I
want to setup linux box clients to auth against LDAP server. I
installed ldap-pam and ldap-nss. In /etc/ldap.conf file I have to
inform rootdn password. What is the best way to do this since the
configuration file has to be readable to all. I think that use
privileged login in this situation (even if I use /etc/ldap.secret
file) is dangerous. So, should I created a LDAP user just to be used
as a rootdn login? how can I create a nonprivileged login?

Thank you,

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



Re: [gentoo-user] Re: Lightwheight Gentoo System

2006-10-12 Thread michael



On Thu, 12 Oct 2006, James wrote:


[...]

If there was a Gen_bunto CD for older p2 and p1 machines, all of the
kids in my hood would be using gentoo

hth,
James



ROTFL - thanks for the laugh James. Gen-bunto - what a concept. My two
favorite distros right now are Gentoo and Ubuntu, and I wonder about the
philosopical implications of liking what seem to be polar opposites. Human
nature, perhaps.


Regards,
Michael My other computer runs (Gentoo,Ubuntu) Shiloh
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LDAP with no privileged login

2006-10-12 Thread Pawel Kraszewski
Dnia czwartek, 12 października 2006 17:50, Leandro Melo de Sales napisał:

   I'm configured a LDAP server to be used as a users database. Now, I
 want to setup linux box clients to auth against LDAP server. I
 installed ldap-pam and ldap-nss. In /etc/ldap.conf file I have to
 inform rootdn password. What is the best way to do this since the
 configuration file has to be readable to all. I think that use
 privileged login in this situation (even if I use /etc/ldap.secret
 file) is dangerous. So, should I created a LDAP user just to be used
 as a rootdn login? how can I create a nonprivileged login?

1. You create user in LDAP tree _outside_ ou=people tree
2. Set password for it and disable shell login (just in case)
3. Tell ldap-nss to use this user as binddn= with pass bindpw=
4. Allow owner of the record (logged-on user) to change his/her password

-- 
 Pawel Kraszewski
 www.kraszewscy.net

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Lightwheight Gentoo System

2006-10-12 Thread James
 michael at michaelshiloh.com writes:


  If there was a Gen_bunto CD for older p2 and p1 machines, all of the
  kids in my hood would be using gentoo

 ROTFL - thanks for the laugh James. Gen-bunto - what a concept. My two
 favorite distros right now are Gentoo and Ubuntu, and I wonder about the
 philosopical implications of liking what seem to be polar opposites. Human
 nature, perhaps.


Hello Michael,

Actually, it's not as far fetched as one would
anticipate. There are quite a few wikis that
show how to build a cd for lower speed processors
from a faster machine. Someone with skills would
only have to define what's different, between
 a 200MHz AMD vs a P2 and set up thoses
few different files once. As different older
machines are added these few files would be
customized for the various (common) arch's of the
various older machines.

Then lots of admins could each manage a few machines
for the kids in our neighborhoods. I'd do mine over
wireless ethernet and thru the local cable tv network.
I've collected up lots of old hardware for this
purposeoneday. CFengine would be keen to 
push/manage binaries down to these machines
over TCP/IP. Distributable CDs would be great for
recruiting new members to the Gentoo community.



Therefore we would not have to perform all of the compiling
on these machines, just distribute binaries at night
once a month or so, or print/distribute a CD to
the kids and others with lesser skills/resources.

The only trick is to put up a light-weight desktop,
that would be appealing to many. With an open-mosix
kernel, we could even cluster these machines for
aggregated power, once open-mosix stabilizes
on 2.6 kernels. That way, a group of gen_bunto
users could pool their individually meager resources
into something special, or as more old machine become
available, each kid could build their own cluster:

http://gentoo-wiki.com/HOWTO_Install_Mythtv_With_
Diskless_Workstations_in_an_OpenMosix_Cluster

That's the gentoo differential: if the gentoo 
community was to embrace this effort, it could
easily put together something awesome and unmatched
by any other distro/operating system, anywhere.

Here in the US, there are lots of place that will give
you working machines, if you just show up to haul them
away. That number increase exponentially, when you
are willing to spend $5-25 dollars.

Eventually, the gentoo community will get around to this
need for a binary distribution for categories of 
similar/common machines. Recruiting kids into gentoo, would be the 
smartest move possible, for the future of Gentoo, in my opinion.
It's easy for me to motivate schools/clubs/groups of kids
to use linux, it's just difficult to organize and time
consuming, under the current gentoo semantics. After using
Gentoo for a few years, I'm getting rid of my openbsd
and debian boxes. I like the concepts that drive
*buntu, I just strongly  prefer gentoo.


James




-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] eselect could not source blas.eselect

2006-10-12 Thread Trenton Adams

Ahah, looks like you just found a bug Bo.


echo $(ESELECT_CORE_PATH=/usr/share/eselect/libs ;

   source ${ESELECT_CORE_PATH}/core.bash ;
   source ${ESELECT_CORE_PATH}/manip.bash ;
   set -x ;
   source /usr/share/eselect/modules/blas.eselect)

++ source /usr/share/eselect/modules/blas.eselect
+++ inherit config multilib portage
+++ local x
+++ for x in '[EMAIL PROTECTED]'
+++ [[ -e /usr/share/eselect/libs/config.bash ]]
+++ source /usr/share/eselect/libs/config.bash
+++ for x in '[EMAIL PROTECTED]'
+++ [[ -e /usr/share/eselect/libs/multilib.bash ]]
+++ source /usr/share/eselect/libs/multilib.bash
 ES_VALID_MULTILIB_DIRS='lib lib32 lib64'
+++ for x in '[EMAIL PROTECTED]'
+++ [[ -e /usr/share/eselect/libs/portage.bash ]]
+++ source /usr/share/eselect/libs/portage.bash
+++ DESCRIPTION='Manage installed BLAS implementations'
+++ MAINTAINER='Danny van Dyk [EMAIL PROTECTED]'
+++ SVN_DATE='$Date: 2006-04-14 18:18:40 +0200 (Fri, 14 Apr 2006) $'
 svn_date_to_version '$Date: 2006-04-14 18:18:40 +0200 (Fri, 14 Apr 2006) $'
 local 's=$Date: 2006-04-14 18:18:40 +0200 (Fri, 14 Apr 2006) $'
 s='2006-04-14 18:18:40 +0200 (Fri, 14 Apr 2006) $'
 s=2006-04-14
 s=20060414
 echo 20060414
+++ VERSION=20060414
+++ BLAS_CONFIG=/var/lib/eselect/blas/blas.config
+++ BLAS_IMPLEMENTATIONS='ACML ATLAS threaded-ATLAS MKL72 reference'
+++ BLAS_PROFILES='C F77'
-bash: /usr/share/eselect/modules/blas.eselect: line 69: syntax error
near unexpected token `('
-bash: /usr/share/eselect/modules/blas.eselect: line 69: `package() {'



On 10/12/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote:

Reordered for readability.. Please don't top post.

On Thursday 12 October 2006 16:47, Trenton Adams wrote:
   [22:41 [EMAIL PROTECTED] trenta]# eselect
  [SNIP]
 
   Extra modules:
 bashcomp  Manage contributed bash-completion scripts
 binutils  Manage installed versions of
   sys-devel/binutils !!! Error: Couldn't source
   /usr/share/eselect//modules/blas.eselect Call stack:
   * ec_do_list-modules (eselect:139)
   * ec_do_help (eselect:86)
   * main (eselect:193)
   exiting.
 
  [SNIP]
 
  Hrm.. Maybe it could be a permissions problem. What does
 
  # ls -l /usr/share/eselect/modules
 
  show?

 All the directories all the way down the tree have r-x, and the files
 are world readable.

What is the output of:

# echo $(ESELECT_CORE_PATH=/usr/share/eselect/libs ;
source ${ESELECT_CORE_PATH}/core.bash ;
source ${ESELECT_CORE_PATH}/manip.bash ;
set -x ;
source /usr/share/eselect/modules/blas.eselect)

--
Bo Andresen





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] colplug deprecated?

2006-10-12 Thread Alan McKinnon
On Thursday 12 October 2006 17:20, Grant wrote:
 I noticed this:

 sys-fs/udev-089 and later takes over the responsibility of
 coldplugging. Therefore sys-apps/coldplug is no longer needed.

 here:

 http://gentoo-wiki.com/HOWTO_Installing_USB_Scanner

 Is udev-089 a replacement for coldplug in all cases?

Yes.

Well, that's the theory. In practice it's not always like that, so you 
get to report bugs :-). For the majority of users, udev is an adequate 
replacement for coldplug

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



Re: [gentoo-user] where to put mknod chmod

2006-10-12 Thread Alan McKinnon
On Thursday 12 October 2006 16:44, maxim wexler wrote:
  What baselayout and udev version are you using?

 Thanks Alan,

 I added the commands to local.start and that seems to
 have done the trick.

Ah, the old local.start hack

Apparently we should never use it for things like this. But we all 
do :-)

As a solution it's OK to do this, as long as you always remember that 
you put it there - future updates often end up doing strange things 
because of the contents of local.start, and the machine owner meanwhile 
has forgetten all about it... :-)

 But here's the baselayout and udev info:

 [EMAIL PROTECTED] ~ $ emerge -pv baselayout

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

 Calculating dependencies... done!
 [ebuild U ] sys-apps/baselayout-1.12.5-r1
 [1.11.15-r3] USE=unicode* -bootstrap -build -static
 215 kB

 Total size of downloads: 215 kB
 [EMAIL PROTECTED] ~ $ emerge -pv udev

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

 Calculating dependencies... done!
 [ebuild   R   ] sys-fs/udev-087-r1  USE=(-selinux) 0
 kB

Ok, those versons should be fine. It's been a while since I used those 
(I use ~x86), but there's no harm in emerging them, commenting out the 
contents of local.start and seeing what happens

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



Re: [gentoo-user] xsm and dependency...

2006-10-12 Thread pk
Neil Bothwick wrote:

 emerge --update --deep --tree world will tell you why.

I thought I did that, but I must have missed the xinit dependency and
it's related minimal USE flag. Guess I was too tired...

Thanks for the input!

Best regards

Peter K
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] mmx sse sse2 use flags

2006-10-12 Thread Matthew R. Lee
I need a bit of advice.  I have these use flags enabled for mplayer (mmx, sse, 
sse2)  But I've also seen them as possible use flags for a number of other 
programs, I'm about to install some kind of dvdripper.  So the question is 
should I enable these flags on a case by case basis or stick them in my 
make.config?  And if so should I use all three or just one?
Thanks in advance
Matt
-- 
%%%
Dr. Matthew R. Lee
CASEB  ECIM
Departamento de Ecologia,
P. Universidad Catolica de Chile,
Alameda 340, Santiago.
CP 6513677
CHILE

[EMAIL PROTECTED]
[EMAIL PROTECTED]

URL: meiochile.matthewlee.org
%%%
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] VNC server / windows viewer

2006-10-12 Thread Mark Shields
On 10/12/06, Timothy A. Holmes [EMAIL PROTECTED] wrote:
Good morning all:For a couple days now I have been looking for a good simple setup thatwill allow me to run vnc on one of my gentoo workstations at home andconnect to it from my windows box in another area of the house.I am
not going across the internet, or anything wild like that, just tryingto keep an eye on my box (the active desktop in fluxbox) when imelsewhere in the house.So far all the VNC HOW-Tos etc that I have read
involve what appears to me to be very overly complex tunneling over sshetc (a good thing if I was going over the internet, but for what imdoing, totally un-necessary)When I lived in the Fedora world, I could just install vncserver and
start it up and it connected me to my active desktop and away I went.If anyone can suggest a method or solution, I would be MOSTappreciative.TIMTimothy A. HolmesIT Manager / Network Admin / Web Master / Computer Teacher
Medina Christian AcademyA Higher Standard...Jeremiah 33:3Jeremiah 29:11Esther 4:14--gentoo-user@gentoo.org mailing list
What you're looking for is a little more complicated. If all you wanted was a remote desktop you could connect to, then that's easily done. Emerge tightvnc then type vncserver :1. It'll prompt you for a password, then you use a vncviewer to connect to that host (format: host:display, so if your server was 
192.168.0.200, it would be 192.168.0.200:1). But what it sounds like you want to do is connect to an existing X session, am I right? If so, follow this: 
http://gentoo-wiki.com/HOWTO_Use_VNC_to_connect_to_existing_X_SessionsOn a related note, I'm looking for something similar, but I want a user to be presented with an xdm (or gdm) login. Just one remote connection, one resolution.
-- - Mark Shields


Re: [gentoo-user] VNC server / windows viewer

2006-10-12 Thread Paul Varner
On Thu, 2006-10-12 at 14:14 -0400, Mark Shields wrote:
 On a related note, I'm looking for something similar, but I want a
 user to be presented with an xdm (or gdm) login.  Just one remote
 connection, one resolution. 

Short answer.

1. Emerge xinetd, if not already installed
2. add a vnc file to /etc/xinetd.d - mine looks like:

service vnc
{
type= UNLISTED
port= 5900
socket_type = stream
protocol= tcp
wait= no
user= nobody
server  = /usr/bin/Xvnc
server_args = :42 -inetd -once -query localhost -geometry 1400x1050 
-depth 24 -fp /usr/share/fonts/misc/,/usr/share/fonts/Type1/ -co 
/usr/share/X11/rgb
disable = no
}

3. Enable xdmcp in your gdm/xdm configuration file
4. start/restart xdm/gdm and xinetd

Note: There are security implications with having both xdmcp and xinetd
turned on. Please make sure that you understand those risks.

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



[gentoo-user] Flac - emerge error

2006-10-12 Thread Mick
A revdep-rebuid caused a multitude of remerging (karamba, xmms et al, 
including flac).  Flac fails as follows:


../../libtool-disable-static --tag=CC --mode=compile 
i686-pc-linux-gnu-gcc -DHAV 
E_CONFIG_H -I. -I. -I../.. -I../../src  -include 
config.h -I/usr/include/xmms -I
/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
-D_REENTRAN 
T -I../.. -I./include -I../../include -DNDEBUG -DFLaC__INLINE=__inline__ -O2 
-ma 
rch=pentium3 -fomit-frame-pointer -msse -pipe -c -o configure.lo configure.c
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -include 
conf 
ig.h -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 
-I/usr/l 
ib/glib/include -D_REENTRANT -I../.. -I./include -I../../include -DNDEBUG 
-DFLaC 
__INLINE=__inline__ -O2 -march=pentium3 -fomit-frame-pointer -msse -pipe -c 
conf 
igure.c  -fPIC -DPIC -o .libs/configure.o
configure.c:27:21: error: gtk/gtk.h: No such file or directory
In file included from configure.c:32:
/usr/include/xmms/dirbrowser.h:28: error: expected '=', ',', ';', 'asm' 
or '__at tribute__' 
before '*' token
In file included from configure.c:33:
/usr/include/xmms/titlestring.h:80: error: expected '=', ',', ';', 'asm' 
or '__a ttribute__' 
before '*' token
In file included from configure.c:34:
/usr/include/xmms/util.h:9: error: expected '=', ',', ';', 'asm' 
or '__attribute __' 
before '*' token
configure.c:94: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before ' *' token
configure.c:95: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before ' *' token
configure.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before ' *' token
configure.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before ' *' token
. . .
[snip]
configure.c:695: error: 'streaming_proxy_auth_user_entry' undeclared (first 
use  in this function)
configure.c:700: error: 'streaming_proxy_auth_pass_label' undeclared (first 
use  in this function)
configure.c:703: error: 'streaming_proxy_auth_pass_entry' undeclared (first 
use  in this function)
configure.c:721: error: 'streaming_save_use' undeclared (first use in this 
funct ion)
configure.c:723: error: 'streaming_save_use_cb' undeclared (first use in this 
fu nction)
configure.c:726: error: 'streaming_save_hbox' undeclared (first use in this 
func tion)
configure.c:733: error: 'streaming_save_entry' undeclared (first use in this 
fun ction)
configure.c:738: error: 'streaming_save_browse_cb' undeclared (first use in 
this  function)
configure.c:763: error: 'GTK_BUTTONBOX_END' undeclared (first use in this 
functi on)
configure.c:768: error: 'flac_configurewin_ok' undeclared (first use in this 
fun ction)
configure.c:769: error: 'GTK_CAN_DEFAULT' undeclared (first use in this 
function )
configure.c:774: error: 'gtk_widget_destroy' undeclared (first use in this 
funct ion)
configure.c: In function 'FLAC_XMMS__aboutbox':
configure.c:783: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before  '*' token
configure.c:783: error: 'about_window' undeclared (first use in this function)
configure.c:799: error: 'gtk_widget_destroyed' undeclared (first use in this 
fun ction)
make[3]: *** [configure.lo] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/flac-1.1.2-r3/work/flac-1.1.2/src/p   
  
lugin_xmms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/flac-1.1.2-r3/work/flac-1.1.2/src'
make[1]: 

Re: [gentoo-user] eselect could not source blas.eselect

2006-10-12 Thread Bo Ørsted Andresen
On Thursday 12 October 2006 18:51, Trenton Adams wrote:
 Ahah, looks like you just found a bug Bo.
[SNIP]

To be honest I don't have a clue about what I just found. I am not seeing this 
behaviour on any of my systems. But I guess it is time to go file a bug and 
include that info (and the info from the original post)...

-- 
Bo Andresen


pgpUSVEwWAcEg.pgp
Description: PGP signature


[gentoo-user] OT - Extracting IP addresses with grep

2006-10-12 Thread Michael Sullivan
I have a mail directory with several hundred spammish emails that have
been collecting over the past month.  I haven't gotten around to
processing them yet ([EMAIL PROTECTED] if available, blocked if not)  I
would like to write a script that would extract the IP addresses from
all these emails, but I can't figure out how to get grep to cooperate.
I created a perl regular expression for matching against IP addresses
and tried to pass it to grep, but it wouldn't return anything.  I don't
know what I'm doing wrong.  Here's my command:

[EMAIL PROTECTED] ~/.maildir/.SPAM/cur $ cat * | grep -P m/\d+\.\d+\.\d
+\.\d+/

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Can smbmount handle long passwords?

2006-10-12 Thread Maxim Eremeev
Due to a little bit of paranoia I have found an interesting, though rather 
annoying, bug in smbmount. If a samba user's password is longer than 23 
chars, smbmount just cannot deal with it, producing the following error:

session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

Googling was not much of a help, neither was searching through gentoo bugs and 
gentoo forum. Although there are a couple of forum entries which are probably 
related but were never actually solved:

http://forums.gentoo.org/viewtopic-t-429074-highlight-samba+errnoaccess.html
http://forums.gentoo.org/viewtopic-t-418048-highlight-samba+errnoaccess.html

Another interesting thing is that the bug is definitely not related to samba 
server configuration: smbclient still works perfectly well. Using mount.cifs 
is OK as well.
Does anybody have a slightest idea what could be the problem solution?
From the former forum link one can conclude that it is a specifically gentoo 
problem, though I cannot check this, as I don't have any other linux 
distribution available right now. So should I file a bug report?
I can understand that, say, 24 chars password could seem too long, however I 
don't remeber that such limitation was documented somewhere.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mmx sse sse2 use flags

2006-10-12 Thread Hemmann, Volker Armin
On Thursday 12 October 2006 20:13, Matthew R. Lee wrote:
 I need a bit of advice.  I have these use flags enabled for mplayer (mmx,
 sse, sse2)  But I've also seen them as possible use flags for a number of
 other programs, I'm about to install some kind of dvdripper.  So the
 question is should I enable these flags on a case by case basis or stick
 them in my make.config?  And if so should I use all three or just one?
 Thanks in advance
 Matt

depends on your hardware...

but if it does support sse2, I don't see any reason, why not all three flags 
should be enabled - hopefully someone with some asm-knowledge has a better 
answer.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Extracting IP addresses with grep

2006-10-12 Thread Willie Wong
On Thu, Oct 12, 2006 at 01:51:05PM -0500, Michael Sullivan wrote:
 [EMAIL PROTECTED] ~/.maildir/.SPAM/cur $ cat * | grep -P m/\d+\.\d+\.\d
 +\.\d+/

You might want the expression in quotes to prevent bash from intercepting 
those backslashes. 

 grep -P '\d+\.\d+\.\d+\.\d+'

HTH, 

W
-- 
Willie W. Wong  [EMAIL PROTECTED]
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lightwheight Gentoo System

2006-10-12 Thread Geistteufel
A solution for this old computer to install it quickly is to use
anothoer computer for compiling it

after just use the binary package results !

On another gentoo or any  other system else, create a directory,
decompress stage 1 and start an install like you will do on old machine

After, just install all you want on it,

so run a live on old box, prepare computer (partition), just go to
before uncompress stage1, so copy you installation from other computer
on it,
make kernel, lilo/grub so reboot, all done

you can save a lot's of time !

After all install, you want to add something, no prob, just use distcc
and configure it to only use other computer to compile (not localhost
:))

Well, Kde can be really fast, but you have to select package manually
(don't use kde portage, it install lot's of think)

just install all you need, one by one, konsole, kwin, konqueror ...
think to clean USE for a minimalist kde install

other desktop that could by good is gnome, but don't really know how to
enlight it

Xfce-4 is really light too, firefox could by a little be long to run
(need some memory ...), with kde you have konqueror but render not
really the same, you have to see

Use correct compilation option: -Os -march=i386 (or i486 .. depend on
exact model of computer)

Gentoo could be adapt to any system I think

For just fast and ultra light install on old computer, I would prefer
Debian Sarge distribution, fast to install, really optimizing for small
system, easy update ... It's another solution

Just to know want if you want to install a gentoo to show to kid how it
work, or just a fast install just to see or it work

so ...

Have fun

On Thu, Oct 12, 2006 at 08:43:56AM -0700, [EMAIL PROTECTED] wrote:
 i use xubuntu on an old laptop, and it's quite snappy.
 
 although i'm sure you could get snappier results with gentoo
 
 
 
 On Thu, 12 Oct 2006, Karl Huysmans wrote:
 
 Hi All,
 
 A friend asked me to install some operating system on an old Dell laptop
 he got for free.
 
 The laptop has a pentium 2 400 MHz, 6 GB HD and 256 MB RAM, and will be 
 used
 by his young children.
 
 I have tried to install Edubuntu on it, looks nice, has a lot of very
 usefull stuff for kids, but it really runs too slow on this machine.
 
 So I was thinking Gentoo, optimized for PII, I guess -Os would be a good
 option for this little machine. Any thoughts anyone?
 
 What about the desktop? I guess Gnome or KDE is not really the best choice.
 But what else could I use? Of course, it's for kids, so I have to be able 
 to
 make it look nice :-) What would be a good window manager? File manager?
 Other applications that help to keep it lean an fast?
 
 Anyone with any experience building such a system under Gentoo?
 
 Thank you
 
 Karl
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 

-- 
Geistteufel
Signature PGP :
ID: 0x517215AF
FingerPrint   : AFAB B3CE 0ACF 2551 478B  0B73 D84B 8C6D 5172 15AF
Public Key Server : hkp://subkeys.pgp.net


pgpObJdekqwCP.pgp
Description: PGP signature


Re: [gentoo-user] mmx sse sse2 use flags

2006-10-12 Thread Kevin Fullerton
On 19:13 Thu 12 Oct , Matthew R. Lee wrote:
 I need a bit of advice.  I have these use flags enabled for mplayer (mmx, 
 sse, 
 sse2)  But I've also seen them as possible use flags for a number of other 
 programs, I'm about to install some kind of dvdripper.  So the question is 
 should I enable these flags on a case by case basis or stick them in my 
 make.config?  And if so should I use all three or just one?
 Thanks in advance
 Matt

Yes - take a look/create /etc/portage/package.use

Cheers

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



Re: [gentoo-user] Can smbmount handle long passwords?

2006-10-12 Thread Pawel Kraszewski
Dnia czwartek, 12 października 2006 21:13, Maxim Eremeev napisał:

 Due to a little bit of paranoia I have found an interesting, though rather
 annoying, bug in smbmount. If a samba user's password is longer than 23
 chars, smbmount just cannot deal with it, producing the following error:

Well, I might be wrong, but I think Windoze has a limit of 14 characters in 
passsword (two 7 character pieces to be exact). I didn't try, but it seems 
that pass might be truncated at 14th character... So try logging in with 14 
first characters of your password (or maybe 14 last - who knows the paths of 
Bill)

HTH 

-- 
 Pawel Kraszewski
 www.kraszewscy.net

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - Question about conditionals and bash scripting

2006-10-12 Thread Michael Sullivan
I have a short script:

#!/bin/bash

while read LINE
do
   whois $LINE | grep 'abuse'  /dev/null
   if $? != 0; then
  echo $LINE  noabuse.txt
   fi
done  iplist

I'm getting command not found on the if line.  Have I not formatted it
correctly?  The script is supposed to append $LINE to a file if the
return code of whois $LINE | grep 'abuse' returns false (not 0)...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Question about conditionals and bash scripting

2006-10-12 Thread Richard Broersma Jr
 I have a short script:
 
 #!/bin/bash
 
 while read LINE
 do
whois $LINE | grep 'abuse'  /dev/null
if $? != 0; then
   echo $LINE  noabuse.txt
fi
 done  iplist
 
 I'm getting command not found on the if line.  Have I not formatted it
 correctly?  The script is supposed to append $LINE to a file if the
 return code of whois $LINE | grep 'abuse' returns false (not 0)...
 

Do you need to add 
   if test... 
or if [ ... ]?

Regards,

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



Re: [gentoo-user] mmx sse sse2 use flags

2006-10-12 Thread darren kirby
quoth the Matthew R. Lee:
 I need a bit of advice.  I have these use flags enabled for mplayer (mmx,
 sse, sse2)  But I've also seen them as possible use flags for a number of
 other programs, I'm about to install some kind of dvdripper.  So the
 question is should I enable these flags on a case by case basis or stick
 them in my make.config?  And if so should I use all three or just one?
 Thanks in advance
 Matt

Have a look at `grep flags /proc/cpuinfo` to see what your proc supports. 
There is then no harm in adding them to your /etc/make.conf USE variable.

Note: I think that some ebuilds use mmx2 while some use mmxext. AFAICT they 
enable the same thing. You may also want to add  3dnow and 3dnowext if they 
are supported by your processor.

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
...the number of UNIX installations has grown to 10, with more expected...
- Dennis Ritchie and Ken Thompson, June 1972
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] OT - Need /etc/conf.d/net setup help

2006-10-12 Thread Michael Sullivan
I have SBC DSL with static WAN IPs.  I use the 2Wire OfficePortal as my
DSL modem/router.  SBC told me that in order to map my WAN addresses to
my individual PCs, I have to use DHCP.  The problem is that using the
default DHCP configuration (no /etc/conf.d/net), my /etc/resolv.conf
file gets overwritten.  This is annoying because it rewrites my domain
name.  I've tried the following options in /etc/conf.d/net:

set dhcp_ESSID=nodns
dns_servers_ESSID=( 70.234.122.250 )
modules=( ifconfig )
config_eth0=( dhcp )
dhcpcd_eth0=-t 10
dhcp_eth0=nodns nontp
config_eth0=( dhcp )

Whenever I try to restart /etc/init.d/net.eth0 with these options it
tells me:

camille conf.d # /etc/init.d/net.eth0 restart
 * Caching service dependencies ...
[ ok ] * ERROR: not enough args.

 * Usage: net.eth0 { start|stop|restart }
 *net.eth0 without arguments for full help

What exactly is the problem here?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Question about conditionals and bash scripting

2006-10-12 Thread Michael Sullivan
On Thu, 2006-10-12 at 13:49 -0700, Richard Broersma Jr wrote:
  I have a short script:
  
  #!/bin/bash
  
  while read LINE
  do
 whois $LINE | grep 'abuse'  /dev/null
 if $? != 0; then
echo $LINE  noabuse.txt
 fi
  done  iplist
  
  I'm getting command not found on the if line.  Have I not formatted it
  correctly?  The script is supposed to append $LINE to a file if the
  return code of whois $LINE | grep 'abuse' returns false (not 0)...
  
 
 Do you need to add 
if test... 
 or if [ ... ]?
 
 Regards,
 
 Richard Broersma Jr.

OK.  Here's my new code:

#!/bin/bash

while read LINE
do
   whois $LINE | grep 'abuse'  /dev/null
   if [$? -ne 0]; then
  echo $LINE  noabuse.txt
   fi
done  iplist

Here's the output:

[EMAIL PROTECTED] ~/.maildir/.SPAM/cur $ ./process.sh
./process.sh: line 6: [1: command not found
./process.sh: line 6: [1: command not found
./process.sh: line 6: [1: command not found
Interrupted by signal 2...


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Question about conditionals and bash scripting

2006-10-12 Thread Neil Bothwick
On Thu, 12 Oct 2006 15:41:12 -0500, Michael Sullivan wrote:

 while read LINE
 do
whois $LINE | grep 'abuse'  /dev/null
if $? != 0; then
   echo $LINE  noabuse.txt
fi
 done  iplist
 
 I'm getting command not found on the if line.

The if line should be if [ $? -ne 0 ]; then

Or you can put grep directly into the if statement, since you are only
testing its result anyway

if whois $LINE | grep -q abuse; then


-- 
Neil Bothwick

There are some micro-organisms that exhibit characteristics of both
plants and animals.  When exposed to light they undergo photosynthesis;
and when the lights go out, they turn into animals.  But then again,
don't we all?


signature.asc
Description: PGP signature


[gentoo-user] libstdc++.la broken link problem

2006-10-12 Thread Roy Wright
Howdy,

The past couple of nights my revdep-rebuild cron job has been
reporting the following:

-
royw-gentoo royw # revdep-rebuild -pv
Configuring search environment for revdep-rebuild

Checking reverse dependencies...

Packages containing binaries and libraries broken by a package update
will be emerged.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
  broken /usr/kde/3.5/lib/kde3/kcal_blogging.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/kde/3.5/lib/libkcal_blogging.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/gstreamer-0.8/libgstffmpeg.la (requires
//usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/kde3/containers.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/kde3/kexidbwidgets.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/kde3/libkformdesigner_part.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/kde3/libolefilter.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/kde3/stdwidgets.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/libapm.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/libkarbonbase.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/libkexipropertyeditor.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/libkivioconnectortool.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/libkivioselecttool.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/libkiviotargettool.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/libkiviotexttool.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/libkiviozoomtool.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/libkoscript.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  broken /usr/lib/python2.3/site-packages/_lcms.la (requires
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... done.
  (/root/.revdep-rebuild.4_ebuilds)

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.
-

Notice no list of files to emerge is generated.

I verified that /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la does
not exist.

I tried fix_libtool_files.sh 4.1.1  source /etc/profile without any
change.

I re-emerged libstdc++, libstdc++-v3, and libtool.  No luck.

I looked up one of the files in the list which belonged to koffice, so I
re-emerged koffice.
Still no luck.

Any ideas?

FYI, I'm running a ~x86 system.

Thank you,
Roy

-- 

ruby -e 'puts qnxv?bhrbn-bnl.tr( -},!-~)'
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Flac - emerge error

2006-10-12 Thread Mick
On Thursday 12 October 2006 19:46, Mick wrote:
 A revdep-rebuid caused a multitude of remerging (karamba, xmms et al,
 including flac).  Flac fails as follows:

 
 ../../libtool-disable-static --tag=CC --mode=compile
 i686-pc-linux-gnu-gcc -DHAV
 E_CONFIG_H -I. -I. -I../.. -I../../src  -include
 config.h -I/usr/include/xmms -I
 /usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
 -D_REENTRAN T -I../.. -I./include -I../../include -DNDEBUG
 -DFLaC__INLINE=__inline__ -O2 -ma rch=pentium3 -fomit-frame-pointer -msse
 -pipe -c -o configure.lo configure.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H
 -I. -I. -I../.. -I../../src -include conf
 ig.h -I/usr/include/xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
 -I/usr/l ib/glib/include -D_REENTRANT -I../.. -I./include -I../../include
 -DNDEBUG -DFLaC __INLINE=__inline__ -O2 -march=pentium3
 -fomit-frame-pointer -msse -pipe -c conf
 igure.c  -fPIC -DPIC -o .libs/configure.o
 configure.c:27:21: error: gtk/gtk.h: No such file or directory
 In file included from configure.c:32:
 /usr/include/xmms/dirbrowser.h:28: error: expected '=', ',', ';', 'asm'
 or '__at tribute__'
 before '*' token
 In file included from configure.c:33:
 /usr/include/xmms/titlestring.h:80: error: expected '=', ',', ';', 'asm'
 or '__a ttribute__'
 before '*' token
 In file included from configure.c:34:
 /usr/include/xmms/util.h:9: error: expected '=', ',', ';', 'asm'
 or '__attribute __'
 before '*' token
 configure.c:94: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before ' *' token
 configure.c:95: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before ' *' token
 configure.c:97: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before ' *' token
 configure.c:98: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before ' *' token
 . . .
 [snip]
 configure.c:695: error: 'streaming_proxy_auth_user_entry' undeclared (first
 use  in this function)
 configure.c:700: error: 'streaming_proxy_auth_pass_label' undeclared (first
 use  in this function)
 configure.c:703: error: 'streaming_proxy_auth_pass_entry' undeclared (first
 use  in this function)
 configure.c:721: error: 'streaming_save_use' undeclared (first use in this
 funct ion)
 configure.c:723: error: 'streaming_save_use_cb' undeclared (first use in
 this fu nction)
 configure.c:726: error: 'streaming_save_hbox' undeclared (first use in this
 func tion)
 configure.c:733: error: 'streaming_save_entry' undeclared (first use in
 this fun ction)
 configure.c:738: error: 'streaming_save_browse_cb' undeclared (first use in
 this  function)
 configure.c:763: error: 'GTK_BUTTONBOX_END' undeclared (first use in this
 functi on)
 configure.c:768: error: 'flac_configurewin_ok' undeclared (first use in
 this fun ction)
 configure.c:769: error: 'GTK_CAN_DEFAULT' undeclared (first use in this
 function )
 configure.c:774: error: 'gtk_widget_destroy' undeclared (first use in this
 funct ion)
 configure.c: In function 'FLAC_XMMS__aboutbox':
 configure.c:783: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before  '*' token
 configure.c:783: error: 'about_window' undeclared (first use in this
 function) configure.c:799: error: 'gtk_widget_destroyed' undeclared (first
 use in this fun ction)
 make[3]: *** [configure.lo] Error 1
 make[3]: Leaving directory
 `/var/tmp/portage/flac-1.1.2-r3/work/flac-1.1.2/src/p
 lugin_xmms'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory
 `/var/tmp/portage/flac-1.1.2-r3/work/flac-1.1.2/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/var/tmp/portage/flac-1.1.2-r3/work/flac-1.1.2'
 make: *** [all] Error 2

 !!! ERROR: media-libs/flac-1.1.2-r3 failed.
 Call stack:
   ebuild.sh, line 1546:   Called dyn_compile
   ebuild.sh, line 937:   Called src_compile
   flac-1.1.2-r3.ebuild, line 51:   Called die
 

Re: [gentoo-user] OT - Question about conditionals and bash scripting

2006-10-12 Thread Richard Broersma Jr

 OK.  Here's my new code:
 
 #!/bin/bash
 
 while read LINE
 do
whois $LINE | grep 'abuse'  /dev/null
if [$? -ne 0]; then
   echo $LINE  noabuse.txt
fi
 done  iplist
 
 Here's the output:
 
 [EMAIL PROTECTED] ~/.maildir/.SPAM/cur $ ./process.sh
 ./process.sh: line 6: [1: command not found
 ./process.sh: line 6: [1: command not found
 ./process.sh: line 6: [1: command not found
 Interrupted by signal 2...

Check out the section If statements

http://www.gentoo.org/doc/en/articles/bash-by-example-p1.xml

Regards,

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



Re: [gentoo-user] OT - Question about conditionals and bash scripting

2006-10-12 Thread Brett I. Holcomb
Surround the [ and ] with spaces.

On Thursday October 12 2006 17:08, Michael Sullivan wrote:
 On Thu, 2006-10-12 at 13:49 -0700, Richard Broersma Jr wrote:
   I have a short script:
  
   #!/bin/bash
  
   while read LINE
   do
  whois $LINE | grep 'abuse'  /dev/null
  if $? != 0; then
 echo $LINE  noabuse.txt
  fi
   done  iplist
  
   I'm getting command not found on the if line.  Have I not formatted
   it correctly?  The script is supposed to append $LINE to a file if the
   return code of whois $LINE | grep 'abuse' returns false (not 0)...
 
  Do you need to add
 if test...
  or if [ ... ]?
 
  Regards,
 
  Richard Broersma Jr.

 OK.  Here's my new code:

 #!/bin/bash

 while read LINE
 do
whois $LINE | grep 'abuse'  /dev/null
if [$? -ne 0]; then
   echo $LINE  noabuse.txt
fi
 done  iplist

 Here's the output:

 [EMAIL PROTECTED] ~/.maildir/.SPAM/cur $ ./process.sh
 ./process.sh: line 6: [1: command not found
 ./process.sh: line 6: [1: command not found
 ./process.sh: line 6: [1: command not found
 Interrupted by signal 2...

-- 

Brett I. Holcomb
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Flac - emerge error

2006-10-12 Thread Bo Ørsted Andresen
On Thursday 12 October 2006 22:10, Mick wrote:
[SNIP]
  What now?

 BTW, this is the revdep-rebuild output that started it all:
 ===
 Checking dynamic linking consistency...
   broken /usr/bin/imlib_config (requires  libgdk-1.2.so.0 libgtk-1.2.so.0)
[SNIP]

What is the output of:

# equery check x11-libs/gtk+

?

-- 
Bo Andresen


pgp1orMxvh9wD.pgp
Description: PGP signature


Re: [gentoo-user] OT - Question about conditionals and bash scripting

2006-10-12 Thread Bo Ørsted Andresen
On Thursday 12 October 2006 23:08, Michael Sullivan wrote:
[SNIP]
 OK.  Here's my new code:
[SNIP]

Maybe you should have a look at:

http://devmanual.gentoo.org/tools-reference/bash/index.html

-- 
Bo Andresen


pgpxpDTTnsL1r.pgp
Description: PGP signature


[gentoo-user] Re: libstdc++.la broken link problem

2006-10-12 Thread Harm Geerts
On Thursday 12 October 2006 23:29, Roy Wright wrote:
 Howdy,

 The past couple of nights my revdep-rebuild cron job has been
 reporting the following:

 -
 royw-gentoo royw # revdep-rebuild -pv
 Configuring search environment for revdep-rebuild

 Checking reverse dependencies...

 Packages containing binaries and libraries broken by a package update
 will be emerged.

 Collecting system binaries and libraries... done.
   (/root/.revdep-rebuild.1_files)

 Collecting complete LD_LIBRARY_PATH... done.
   (/root/.revdep-rebuild.2_ldpath)

 Checking dynamic linking consistency...
   broken /usr/kde/3.5/lib/kde3/kcal_blogging.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/kde/3.5/lib/libkcal_blogging.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/gstreamer-0.8/libgstffmpeg.la (requires
 //usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/kde3/containers.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/kde3/kexidbwidgets.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/kde3/libkformdesigner_part.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/kde3/libolefilter.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/kde3/stdwidgets.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/libapm.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/libkarbonbase.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/libkexipropertyeditor.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/libkivioconnectortool.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/libkivioselecttool.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/libkiviotargettool.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/libkiviotexttool.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/libkiviozoomtool.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/libkoscript.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/python2.3/site-packages/_lcms.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
  done.
   (/root/.revdep-rebuild.3_rebuild)

 Assigning files to ebuilds... done.
   (/root/.revdep-rebuild.4_ebuilds)

 Evaluating package order... done.
   (/root/.revdep-rebuild.5_order)

 Dynamic linking on your system is consistent... All done.
 -

 Notice no list of files to emerge is generated.

 I verified that /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la does
 not exist.

 I tried fix_libtool_files.sh 4.1.1  source /etc/profile without any
 change.

 I re-emerged libstdc++, libstdc++-v3, and libtool.  No luck.

 I looked up one of the files in the list which belonged to koffice, so I
 re-emerged koffice.
 Still no luck.

 Any ideas?

 FYI, I'm running a ~x86 system.

Those files have been changed (probably by fix_libtool_files.sh) and now 
portage cannot match them to a package. This is why revdep-rebuild doesn't 
report any packages to rebuild.

I can see a few kivio related files, try to remerge that package.
If that doesn't get rid of the broken /usr/lib/libkivio*.la files then they 
are probably obsolete and can be deleted.

Personally I'd remove the files and run revdep-rebuild to restore the libs I 
broke by deleting them :)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] libstdc++.la broken link problem

2006-10-12 Thread Neil Bothwick
On Thu, 12 Oct 2006 16:29:37 -0500, Roy Wright wrote:

 Checking dynamic linking consistency...
   broken /usr/kde/3.5/lib/kde3/kcal_blogging.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/kde/3.5/lib/libkcal_blogging.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/gstreamer-0.8/libgstffmpeg.la (requires
 //usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
   broken /usr/lib/kde3/containers.la (requires
 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.la)
[snip]
 Dynamic linking on your system is consistent... All done.
 -
 
 Notice no list of files to emerge is generated.

The usual cause of this is the the .la files listed belonged to a package
that has since been removed. If fix_libtool_files.sh modified these
files, they would not have been unmerged with their packages because
their checksum had changed.

Use equery belongs to verify that they are indeed orphaned, then delete
them.


-- 
Neil Bothwick

Bother, said Pooh, as he put his finger in the mains socket.


signature.asc
Description: PGP signature


[gentoo-user] Changing Konqueror Timeouts

2006-10-12 Thread Neil Hodges
Hello,

I've been having issues with timeouts in Konqueror, particularly DNS
timeouts.  How can I change the values for these?

- Neil

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Need /etc/conf.d/net setup help

2006-10-12 Thread Ted Ozolins
Michael Sullivan wrote:

I have SBC DSL with static WAN IPs.  I use the 2Wire OfficePortal as my
DSL modem/router.  SBC told me that in order to map my WAN addresses to
my individual PCs, I have to use DHCP.  The problem is that using the
default DHCP configuration (no /etc/conf.d/net), my /etc/resolv.conf
file gets overwritten.  This is annoying because it rewrites my domain
name.  I've tried the following options in /etc/conf.d/net:

set dhcp_ESSID=nodns
dns_servers_ESSID=( 70.234.122.250 )
modules=( ifconfig )
config_eth0=( dhcp )
dhcpcd_eth0=-t 10
dhcp_eth0=nodns nontp
config_eth0=( dhcp )

Whenever I try to restart /etc/init.d/net.eth0 with these options it
tells me:

camille conf.d # /etc/init.d/net.eth0 restart
 * Caching service dependencies ...
[ ok ] * ERROR: not enough args.

 * Usage: net.eth0 { start|stop|restart }
 *net.eth0 without arguments for full help

What exactly is the problem here?

  

I could be wrong, but should it not read:
set dhcp_eth0=nodns
dns_servers_eth0=( 70.234.122.250 )

???

-- 
Ted Ozolins(VE7TVO)
Cranbrook, B. C

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] linux-headers-2.6.18

2006-10-12 Thread Jerry McBride

I anyone else having problems compiling anything after emerging 
linux-headers-2.6.18?

Over here, a number of old favorites, like sysklogd, fail to compile...
I am seeing a slew of missing includes and a few syntax errors with various 
packages. 

I thought I'd ask before posting a bug report.

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



Re: [gentoo-user] OT - Need /etc/conf.d/net setup help

2006-10-12 Thread Michael Sullivan
On Thu, 2006-10-12 at 15:38 -0700, Ted Ozolins wrote:
 Michael Sullivan wrote:
 
 I have SBC DSL with static WAN IPs.  I use the 2Wire OfficePortal as my
 DSL modem/router.  SBC told me that in order to map my WAN addresses to
 my individual PCs, I have to use DHCP.  The problem is that using the
 default DHCP configuration (no /etc/conf.d/net), my /etc/resolv.conf
 file gets overwritten.  This is annoying because it rewrites my domain
 name.  I've tried the following options in /etc/conf.d/net:
 
 set dhcp_ESSID=nodns
 dns_servers_ESSID=( 70.234.122.250 )
 modules=( ifconfig )
 config_eth0=( dhcp )
 dhcpcd_eth0=-t 10
 dhcp_eth0=nodns nontp
 config_eth0=( dhcp )
 
 Whenever I try to restart /etc/init.d/net.eth0 with these options it
 tells me:
 
 camille conf.d # /etc/init.d/net.eth0 restart
  * Caching service dependencies ...
 [ ok ] * ERROR: not enough args.
 
  * Usage: net.eth0 { start|stop|restart }
  *net.eth0 without arguments for full help
 
 What exactly is the problem here?
 
   
 
 I could be wrong, but should it not read:
 set dhcp_eth0=nodns
 dns_servers_eth0=( 70.234.122.250 )
 
 ???
 
 -- 
 Ted Ozolins(VE7TVO)
 Cranbrook, B. C
 

I changed those two lines, and it still didn't work...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Need /etc/conf.d/net setup help

2006-10-12 Thread Bo Ørsted Andresen
On Thursday 12 October 2006 23:04, Michael Sullivan wrote:
[SNIP]
 camille conf.d # /etc/init.d/net.eth0 restart
  * Caching service dependencies ...
 [ ok ] * ERROR: not enough args.

  * Usage: net.eth0 { start|stop|restart }
  *net.eth0 without arguments for full help

 What exactly is the problem here?

Hmm.. What is the output of:

# equery check sys-apps/baselayout

?

-- 
Bo Andresen


pgp9vArKF2kyV.pgp
Description: PGP signature


Re: [gentoo-user] linux-headers-2.6.18

2006-10-12 Thread Neil Bothwick
On Thu, 12 Oct 2006 18:55:21 -0400, Jerry McBride wrote:

 Over here, a number of old favorites, like sysklogd, fail to compile...
 I am seeing a slew of missing includes and a few syntax errors with
 various packages. 

$ grep KEY /usr/portage/sys-kernel/linux-headers/linux-headers-2.6.18.ebuild
KEYWORDS=-*

linux-headers-2.6.18 is masked for all architectures, I guess you've
just found out why :-/


-- 
Neil Bothwick

Programmer (n): A red-eyed, mumbling mammal capable of conversing
with inanimate objects.


signature.asc
Description: PGP signature


Re: [gentoo-user] Changing Konqueror Timeouts

2006-10-12 Thread Hemmann, Volker Armin
On Friday 13 October 2006 00:24, Neil Hodges wrote:
 Hello,

 I've been having issues with timeouts in Konqueror, particularly DNS
 timeouts.  How can I change the values for these?

kcontrol (the control center) -- interne  network -- Connection preferences

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



Re: [gentoo-user] OT - Need /etc/conf.d/net setup help

2006-10-12 Thread Michael Sullivan
On Fri, 2006-10-13 at 01:15 +0200, Bo Ørsted Andresen wrote:
 On Thursday 12 October 2006 23:04, Michael Sullivan wrote:
 [SNIP]
  camille conf.d # /etc/init.d/net.eth0 restart
   * Caching service dependencies ...
  [ ok ] * ERROR: not enough args.
 
   * Usage: net.eth0 { start|stop|restart }
   *net.eth0 without arguments for full help
 
  What exactly is the problem here?
 
 Hmm.. What is the output of:
 
 # equery check sys-apps/baselayout
 
 ?


camille conf.d # equery check sys-apps/baselayout
[ Checking sys-apps/baselayout-1.12.5-r2 ]
!!! /etc/rc.conf has incorrect md5sum
!!! /etc/conf.d/net has incorrect md5sum
!!! /etc/gentoo-release has wrong mtime (is 1159508599, should be
1159508554)
!!! /etc/conf.d/hostname has incorrect md5sum
!!! /etc/modules.autoload.d/kernel-2.6 has incorrect md5sum
!!! /etc/profile has incorrect md5sum
!!! /etc/sysctl.conf has incorrect md5sum
!!! /dev/MAKEDEV does not exist
!!! /etc/conf.d/clock has incorrect md5sum
!!! /etc/services has incorrect md5sum
 * 141 out of 151 files good

Not good...?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ipw2100 problems - ieee80211?

2006-10-12 Thread Lord Sauron
On Wednesday 11 October 2006 23:04, Bo Ørsted Andresen wrote:
 On Thursday 12 October 2006 06:39, Lord Sauron wrote:
   $ zgrep IPW2100\\\|IEEE80211 /proc/config.gz
   CONFIG_IEEE80211=m
   # CONFIG_IEEE80211_DEBUG is not set
   CONFIG_IEEE80211_CRYPT_WEP=m
   CONFIG_IEEE80211_CRYPT_CCMP=m
   CONFIG_IEEE80211_CRYPT_TKIP=m
   # CONFIG_IEEE80211_SOFTMAC is not set
   CONFIG_IPW2100=m
   # CONFIG_IPW2100_MONITOR is not set
   # CONFIG_IPW2100_DEBUG is not set

 According to [1] I forgot a few (at least those):

 CONFIG_FW_LOADER=m
 CONFIG_NET_RADIO=y
 CONFIG_CRYPTO=y
 CONFIG_CRYPTO_ARC4=m
 CONFIG_CRC32=y

I'll look for those as well.

I tried the first part and it works now.  It decided to work as eth1 I 
think.  No, I need to create the symlink.  That's funny, I never 
noticed eth0 was a link to net.lo...  learn new things every day.

 # ln -s /etc/init.d/net.{lo,eth1}

 [1] http://ipw2100.sourceforge.net/INSTALL

-- 
http://lordsauronthegreat.googlepages.com/


pgpVEI6xvSVDK.pgp
Description: PGP signature


Re: [gentoo-user] Re: libstdc++.la broken link problem SOLVED

2006-10-12 Thread Roy Wright
Harm Geerts wrote:
 Personally I'd remove the files and run revdep-rebuild to restore the libs I 
 broke by deleting them :)
   
Deleting the files solved the issue.  revdep-rebuild completed normally
afterwards.

Thank you,
Roy

-- 

ruby -e 'puts qnxv?bhrbn-bnl.tr( -},!-~)'
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gentoo mirro rsync policy

2006-10-12 Thread Trenton Adams

Hi Guys,

Is there a policy for the syncing of the mirrors, that would prevent
inconsistencies?  I'm not talking about inconsistencies with the
master server(s), as that would be kind of difficult to have atomic
syncing between all servers involved.  What I'm referring to is
inconsistencies in terms of me syncing with a mirror.

I can't count how many times I've had a problem, gone on a wild goose
hunt, and then ended up syncing again and it works.  Could this be due
to one of the mirrors doing a sync, while it's own rsync is still
accepting connections?  If so, then I may get a portage tree that is
not properly synced.

If each mirror's rsync is not shutdown during syncing, wouldn't it be
better if it actually was?  I think we'd rather get a connection
refused message, and have *emerge* try another mirror, than to have an
inconsistent portage state, don't we think?

Any thoughts?
--
gentoo-user@gentoo.org mailing list



[gentoo-user] mediawiki package stability

2006-10-12 Thread Trenton Adams

Anyone know the stability of the 1.7.1 package?

FYI, I'm running amd64, which probably does not matter.

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



Re: [gentoo-user] colplug deprecated?

2006-10-12 Thread Grant

 I noticed this:

 sys-fs/udev-089 and later takes over the responsibility of
 coldplugging. Therefore sys-apps/coldplug is no longer needed.

 here:

 http://gentoo-wiki.com/HOWTO_Installing_USB_Scanner

 Is udev-089 a replacement for coldplug in all cases?

Yes.

Well, that's the theory. In practice it's not always like that, so you
get to report bugs :-). For the majority of users, udev is an adequate
replacement for coldplug

alan


Ok, thanks.  The fewer packages the better.

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



[gentoo-user] Xorg 7.1 and Legacy Nvidia Drivers

2006-10-12 Thread Troy Curtis Jr

I say in the newsletter that the stabilization of Xorg 7.1 was being
held up until there where updated drivers for Nvidia that added
support for this version.  So does this mean that you MUST use the
latest Nvidia driver to use Xorg 7.1?  I know that I had an issue with
the libraries not getting stuck in the right spot using legacy drivers
with Xorg 7, but I assume there is some additional issue here am I
correct?

My problem is that I cannot use any driver after 7664 with my Geforce4
MX460, despite the fact that it is listed as one of the supported
boards on the newer driver.  Every time I try it, my screen goes blank
and the system completely locks up.

So I guess I have two questions:

Does anyone know how to make 7664 work with Xorg 7.1 (I haven't tried it yet)?

Does anyone know of some configuration I might be doing wrong that is
preventing the new drivers from working?

Thanks,
Troy

--
Beware of spyware. If you can, use the Firefox browser. - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Problem with disk: cannot mount as ext3 but yes as ext2 ???

2006-10-12 Thread Walter Dnes
On Fri, Oct 06, 2006 at 08:29:40AM +0200, Gregory SACRE wrote

 Is there anything wrong with my hardware? Is it a super-block problem?
 Is there a way to solve it?
 
 Thank you in advance!

  This is not intended as an insult, but let's start at square 1.  In
make menuconfig, have you enabled...
Ext3 journalling file system support

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://techsec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] change beagle html viewer

2006-10-12 Thread Shaochun Wang
I use beagle in gnome. When I double click a html search result, beagle
will start epihpany as the viewer. Does anyone know how to set firefox
as the default viewer?


-- 
Shaochun Wang [EMAIL PROTECTED]

GPG Fingerprint: 70C2 6945 0E46 E08B 419A  007C AC5C F21F 358A 0833
You can get my publickey from the following url:
http://lcs.ios.ac.cn/~scwang/docs/scwangpublickey.gpg
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] pam eventually disconnect from ldap server

2006-10-12 Thread Leandro Melo de Sales

Hi,

   I configured my clients to auth against a LDAP server. Everything
works fine, but sometime nss_ldap disconnect and I can't connect
anymore. What it is happening? When this occurs I can't connect/auth
through ssh server, after type password I got a connection reset by
remote peer message. What should I have to do in order to login (as
root) even if the nss_ldap can't connect to ldap server?

Thank you in advance.

[]s
Leandro.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Question about conditionals and bash scripting

2006-10-12 Thread alain . didierjean
Selon Michael Sullivan [EMAIL PROTECTED]:


 #!/bin/bash

 while read LINE
 do
whois $LINE | grep 'abuse'  /dev/null
if [$? -ne 0]; then
   echo $LINE  noabuse.txt
fi
 done  iplist

 Here's the output:

 [EMAIL PROTECTED] ~/.maildir/.SPAM/cur $ ./process.sh
 ./process.sh: line 6: [1: command not found
 ./process.sh: line 6: [1: command not found
 ./process.sh: line 6: [1: command not found
 Interrupted by signal 2...


[ ... ] is a command, equivalent to test. So it has to be followed by an IFS,
usually a space. Try
   if [ $? -ne 0 ]; then
See the spaces between [ and $?, 0 and ]. It should work now. Once it done, read
some good doc about bash programming. It's very powerful but the syntax may seem
weird in a few cases.
Happy bash programming !

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] {OT} dvdrip permissions error, alternative?

2006-10-12 Thread Grant

  Could it be using this? http://en.wikipedia.org/wiki/ARccOS

 Would it then make sense that vobcopy can rip a decrypted backup from
 the disc but not from a disc image?

Possibly, because dd would trip up on the deliberate errors.


I'm tweaking that script you wrote.  Here's what I have:

#!/bin/bash

echo Enter DVD filename:
read FILENAME
mount /dev/cdrom
TITLE=$(vobcopy -I 21 | awk '/DVD-name:/ {print $3}')
vobcopy -m || exit
mkisofs -dvd-video -V $TITLE -o $FILENAME $TITLE || exit
rm -rf $TITLE
umount /dev/cdrom

Can you tell me what purpose the || exit portions serve?  Also, how
can I run the script by typing /path/to/getdvd?  I've tried:

chmod +x getdvd

and:

chmod 0777 getdvd

with no luck.

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