Re: [gentoo-user] DVD gives error but works fine

2011-12-20 Thread Pandu Poluan
On Dec 20, 2011 6:04 AM, Mark Knecht markkne...@gmail.com wrote:


-8 snip


   Anyway, maybe we can keep each other updated (on list of off,
 either is fine with me) about our progress.


On list, please. Although ATM I have no need to burn movies on a Gentoo, if
one day I find myself in a similar situation, I can certainly apply your
collective knowledge.

Unless other list members object, of course.

Rgds,


Re: [gentoo-user] DVD gives error but works fine

2011-12-20 Thread J. Roeleveld
On Tue, December 20, 2011 9:02 am, Pandu Poluan wrote:
 On Dec 20, 2011 6:04 AM, Mark Knecht markkne...@gmail.com wrote:


 -8 snip


   Anyway, maybe we can keep each other updated (on list of off,
 either is fine with me) about our progress.


 On list, please. Although ATM I have no need to burn movies on a Gentoo,
 if
 one day I find myself in a similar situation, I can certainly apply your
 collective knowledge.

 Unless other list members object, of course.

I wonder why. I archive this list as part of my archive-of-knowledge :)

When I encounter an issue, I search this list first.

--
Joost




Re: [gentoo-user] Xmonad!

2011-12-20 Thread Jean-Christophe Bach
* jorge espada espada.jo...@gmail.com [19.12.2011. @10:41:43 -0300]:

 Hi, I'm thinking of giving a try to Xmonad X11/window manager... anyone has
 experience or recommendations.
 Should I use kde or gnome as base.. or relay 100% on xmonad
 Thanks
 
 Jorge E. Espada

Hi,

I have been using Xmonad for about two years, and I think it is a great window
manager. The first configuration was a bit difficult, but there are a lot of
examples on the web. If you know Haskell configuration will be easier, but it is
not mandatory.

Regards,

JC


signature.asc
Description: Digital signature


[gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Stefan G. Weichinger

Greets, gentoo-users,

as you may remember I migrated to gnome-3 lately.

This means using networkmanager, afaik you have to w/ gnome-shell.
No big problem as I used it before as well.

My question:

After resuming from hibernate-to-ram the thinkpad is up again
immediately. Fine.

But the re-connect to the local wifi takes longer, around 30 sec or so
(would have to time that).

I tried to reduce that by storing a fixed IP for my wifi instead of
letting it pull the IP via DHCP. It maybe made a small difference, but
it still is quite a long time until I am able to access internet/LAN ...
this somehow makes the quick resume useless as I have to wait for
network access while I look at the desktop ;-)

Is this something to simply accept or are there ways to speed that up?

Do you see the same amounts of time to reconnect?

Thanks, Stefan



[gentoo-user] [OT] adding another terminal

2011-12-20 Thread Helmut Jarausch
Hi,

I'd like to add another terminal to my machine (there is no need for a 
separate full blown work station).

I see two possibilities:

-  add another graphics card and attach a second screen, keyboard and 
mouse. I'd have to figure out how to tell X11 that configuration

- built something like an X-terminal: a mini-pc (with a mini Gentoo 
system) and connect it to my server via ethernet to the. I'd use 
NXclient on that machine. I'd prefer this options since this terminal 
needn't be close to the server machine.

Would anybody be so kind to share his/her experience with these options 
or even suggest another one?

Many thanks,
Helmut.



Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Albert W. Hopkins
On Tue, 2011-12-20 at 11:25 +0100, Stefan G. Weichinger wrote:
[...]
 Do you see the same amounts of time to reconnect?

Not for me.  I'm reconnected before I have a chance to type in my
password... unless it's taking me a long time to type in my password :P

Not that I consider 30 seconds quite a long time anyway...

This is also a ThinkPad.

But if it's really only 30 seconds, I suggest you relax :P

-a





Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Stefan G. Weichinger
Am 20.12.2011 12:41, schrieb Albert W. Hopkins:
 On Tue, 2011-12-20 at 11:25 +0100, Stefan G. Weichinger wrote:
 [...]
 Do you see the same amounts of time to reconnect?
 
 Not for me.  I'm reconnected before I have a chance to type in my
 password... unless it's taking me a long time to type in my password :P
 
 Not that I consider 30 seconds quite a long time anyway...
 
 This is also a ThinkPad.
 
 But if it's really only 30 seconds, I suggest you relax :P

Yeah, sure ;-)

Maybe I have something wrong in my /etc/hibernate/common.conf ... gotta
look that up now.

thx, Stefan




Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Albert W. Hopkins
On Tue, 2011-12-20 at 13:06 +0100, Stefan G. Weichinger wrote:
 Maybe I have something wrong in my /etc/hibernate/common.conf ...
 gotta
 look that up now.

I suspect that's not it.  If I were to guess I'd say it's probably
normal; that it takes a while to associate with the AP, either because
it's a less-than-stellar AP or you have a lot of RF
activity/interference in your area.
 
Personally, if it's only 30 seconds I wouldn't worry about it.  It takes
me at least that long to remember why I needed to turn on the computer
anyway :P

For sg, I made a screencast of me suspending and resuming my ThinkPad.
The entire video is only 34 seconds (oddly, it doesn't recored while
it's suspended :P) and as you can see I'm connected to the AP as soon as
the screen unlocks.

http://marduk.sdf.org/suspend.avi

Also, you didn't mention your kernel.  Could be an anomaly of your
kernel/firmware.




Re: [gentoo-user] LVM: extending volume groups and logical volumes

2011-12-20 Thread J. Roeleveld
On Sat, December 17, 2011 2:37 am, Allan Gottlieb wrote:
 On Thu, Dec 15 2011, Allan Gottlieb wrote:
SNIPPED
 3.  I decided to use another suggestion (from neil) to use
 PORTAGE_TMPDIR, roeleveld's idea of just using temporary space, and
 Webb suggested /z for extra space.

Allan,

Just a quick note, not a complaint in any way.

Roeleveld is my last name. Most people call me by my first name: Joost.

--
Joost




Re: [gentoo-user] LVM: extending volume groups and logical volumes

2011-12-20 Thread Allan Gottlieb
On Tue, Dec 20 2011, J. Roeleveld wrote:

 On Sat, December 17, 2011 2:37 am, Allan Gottlieb wrote:
 On Thu, Dec 15 2011, Allan Gottlieb wrote:
 SNIPPED
 3.  I decided to use another suggestion (from neil) to use
 PORTAGE_TMPDIR, roeleveld's idea of just using temporary space, and
 Webb suggested /z for extra space.

 Allan,

 Just a quick note, not a complaint in any way.

 Roeleveld is my last name. Most people call me by my first name: Joost.

Sorry.  Doubtless a consequence of my unfortunate ratio of papers/reports
to letters.

allan



Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Stefan G. Weichinger
Am 20.12.2011 13:55, schrieb Albert W. Hopkins:
 On Tue, 2011-12-20 at 13:06 +0100, Stefan G. Weichinger wrote:
 Maybe I have something wrong in my /etc/hibernate/common.conf ... 
 gotta look that up now.
 
 I suspect that's not it.  If I were to guess I'd say it's probably 
 normal; that it takes a while to associate with the AP, either
 because it's a less-than-stellar AP or you have a lot of RF 
 activity/interference in your area.

Maybe the cheap Netgear-AP, yep. btw, the AP is still 802.11g only (54
MBit/s).

But it connects faster when I boot the machine than when I resume it!
At least it seems like, maybe I get that wrong ...

 Personally, if it's only 30 seconds I wouldn't worry about it.  It
 takes me at least that long to remember why I needed to turn on the
 computer anyway :P

It's just a bit annoying. I remember this or that, or want to quickly
research something ... take the thinkpad and then -wait- ... but as I
mentioned, I just want to check how others experience this.

 For sg, I made a screencast of me suspending and resuming my
 ThinkPad. The entire video is only 34 seconds (oddly, it doesn't
 recored while it's suspended :P) and as you can see I'm connected to
 the AP as soon as the screen unlocks.
 
 http://marduk.sdf.org/suspend.avi

black only here ... very suspended ;-) ... seems to take some time to
download.

 Also, you didn't mention your kernel.  Could be an anomaly of your 
 kernel/firmware.

Latest and greatest:

gentoo-sources-3.1.5 ~amd64 ... iwlagn-kernel-module ...
with firmware net-wireless/iwl6005-ucode-17.168.5.3

lspci says:

Intel Corporation Centrino Advanced-N 6205 (rev 34)

Stefan



[gentoo-user] Allow non root users to edit files owned by root?

2011-12-20 Thread Tanstaafl

Hi all,

I'm guessing this is a sudo question, but I'm unfamiliar with the 
nuances of sudo (never had to use it before).


I have a new hosted VM server that I want to allow a user to be able to 
edit files owned by root, but without giving them the root password.


I already did:

/usr/sbin/visudo

and added the following line:

%sudoroot   ALL=(ALL) ALL

and made sure the user is in this group, but they still get an access 
denied error when trying to mv or cp files that are owned bu root.


What is the best way to do this? I'd really prefer to not give them the 
root password so they can su -...


Thanks,

Charles



Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Albert W. Hopkins
On Tue, 2011-12-20 at 15:16 +0100, Stefan G. Weichinger wrote:

 
 But it connects faster when I boot the machine than when I resume it!
 At least it seems like, maybe I get that wrong ...
 

At it's core NM is just a daemon.  The gnome/kde stuff are just
front-ends that talk to the daemon via dbus when need-be.  So likely it
appears faster when you boot because the NetworkManager service is
already started and connecting to your AP before you even see X come up.
When you resume, all that other machinery is already up, so you are
waiting on the card and the AP to associate.

  Personally, if it's only 30 seconds I wouldn't worry about it.  It
  takes me at least that long to remember why I needed to turn on the
  computer anyway :P
 
 It's just a bit as nnoying. I remember this or that, or want to quickly
 research something ... take the thinkpad and then -wait- ... but as I
 mentioned, I just want to check how others experience this.
 
I personally haven't experienced the problem, but even if I did, I
wouldn't think that gnome/nm/suspend would be the fault.

Question: have you tried associateting with the AP manually?  How long
does that take?  Have you tried associating with other APs?

  For sg, I made a screencast of me suspending and resuming my
  ThinkPad. The entire video is only 34 seconds (oddly, it doesn't
  recored while it's suspended :P) and as you can see I'm connected to
  the AP as soon as the screen unlocks.
  
  http://marduk.sdf.org/suspend.avi
 
 black only here ... very suspended ;-) ... seems to take some time to
 download.

Should not take too long unless you have a very slow connection... it's
a 306K file (took me less than 1 second to wget).  It's uses the H.264
video codec so I'm guessing you don't have that.

  Also, you didn't mention your kernel.  Could be an anomaly of your 
  kernel/firmware.
 
 Latest and greatest:
 
 gentoo-sources-3.1.5 ~amd64 ... iwlagn-kernel-module ...
 with firmware net-wireless/iwl6005-ucode-17.168.5.3
 
 lspci says:
 
 Intel Corporation Centrino Advanced-N 6205 (rev 34)

Intel Corporation Centrino Wireless-N 1000 here.  I guess mine's not
Advanced but it's fast :D.  I'm on the 3.2 rc's but don't recall any
issues in the 3.1 days... I'm using a different firmware though.. the
iwlwifi.. but maybe it's because my card is different.

-a
  




Re: [gentoo-user] DVD gives error but works fine

2011-12-20 Thread Mark Knecht
On Tue, Dec 20, 2011 at 12:02 AM, Pandu Poluan pa...@poluan.info wrote:

 On Dec 20, 2011 6:04 AM, Mark Knecht markkne...@gmail.com wrote:


 -8 snip


   Anyway, maybe we can keep each other updated (on list of off,
 either is fine with me) about our progress.


 On list, please. Although ATM I have no need to burn movies on a Gentoo, if
 one day I find myself in a similar situation, I can certainly apply your
 collective knowledge.

 Unless other list members object, of course.

My reason for that point/question was that IMO the resulting
conversation would have NOTHING to do with Gentoo specifically. It's
just about using software made available by Gentoo, so it has the
potential to become as relevant as a thread about how to program a
spreadsheet, etc...

- Mark



Re: [gentoo-user] Allow non root users to edit files owned by root?

2011-12-20 Thread Michael Mol
On Tue, Dec 20, 2011 at 10:04 AM, Tanstaafl tansta...@libertytrek.org wrote:
 Hi all,

 I'm guessing this is a sudo question, but I'm unfamiliar with the nuances of
 sudo (never had to use it before).

 I have a new hosted VM server that I want to allow a user to be able to edit
 files owned by root, but without giving them the root password.

 I already did:

 /usr/sbin/visudo

 and added the following line:

 %sudoroot       ALL=(ALL) ALL

 and made sure the user is in this group, but they still get an access denied
 error when trying to mv or cp files that are owned bu root.

 What is the best way to do this? I'd really prefer to not give them the root
 password so they can su -...

The sudo command allows commands to be executed *as though they were root*.

'sudo su -' would work. So would 'sudo mv src dst'.

So, incidentally, would 'sudo passwd root'...

-- 
:wq



Re: [gentoo-user] Allow non root users to edit files owned by root?

2011-12-20 Thread Florian Philipp
Am 20.12.2011 16:13, schrieb Michael Mol:
 On Tue, Dec 20, 2011 at 10:04 AM, Tanstaafl tansta...@libertytrek.org wrote:
 Hi all,

 I'm guessing this is a sudo question, but I'm unfamiliar with the nuances of
 sudo (never had to use it before).

 I have a new hosted VM server that I want to allow a user to be able to edit
 files owned by root, but without giving them the root password.

 I already did:

 /usr/sbin/visudo

 and added the following line:

 %sudoroot   ALL=(ALL) ALL

 and made sure the user is in this group, but they still get an access denied
 error when trying to mv or cp files that are owned bu root.

 What is the best way to do this? I'd really prefer to not give them the root
 password so they can su -...
 
 The sudo command allows commands to be executed *as though they were root*.
 
 'sudo su -' would work. So would 'sudo mv src dst'.
 
 So, incidentally, would 'sudo passwd root'...
 

For file editing alone, you can allow rights to sudoedit, for example:
%sudoroot   sudoedit

This allows sudoroot members to execute `sudoedit $file` which starts an
editor (defined via environment variable EDITOR) with the file in a save
fashion (similar to visudo). But you also have to restrict the editors
because most of them are able to spawn a shell (which would then have
root rights). Restricted editors like `rnano` or `rvim` circumvent this
issue. To do this, set something like this in your sudoers file:
editor=rnano:rvim

You should probably also restrict which files can be edited (not
/etc/passwd, /etc/shadow or /etc/sudoers, for sure!). You can do this
with globs. For example:
%sudoroot   sudoedit /var/www/*

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Allow non root users to edit files owned by root?

2011-12-20 Thread Tanstaafl

On 2011-12-20 10:13 AM, Michael Mol mike...@gmail.com wrote:

So, incidentally, would 'sudo passwd root'...


Ouch... any way to avoid that?

I guess the best way would be to simply give them access to the commands 
they need...


I'll look into that...

Thanks...



Re: [gentoo-user] Allow non root users to edit files owned by root?

2011-12-20 Thread Tanstaafl

On 2011-12-20 11:00 AM, Florian Philipp li...@binarywings.net wrote:

You should probably also restrict which files can be edited (not
/etc/passwd, /etc/shadow or /etc/sudoers, for sure!). You can do this
with globs. For example:
%sudoroot   sudoedit/var/www/*


Great, that helps... but...

He wants to use nano, so I set this up for nano, but there is one little 
issue...


He sometimes uses different flags with nano (ie, 'nano -wc filename') - 
is there a way to specify the use with or without flags? I know you can use:


/bin/nano -* /etc/apache2/*,

But this fails if no flags are specified.



Re: [gentoo-user] Allow non root users to edit files owned by root?

2011-12-20 Thread Michael Mol
On Tue, Dec 20, 2011 at 11:51 AM, Tanstaafl tansta...@libertytrek.org wrote:
 On 2011-12-20 10:13 AM, Michael Mol mike...@gmail.com wrote:

 So, incidentally, would 'sudo passwd root'...


 Ouch... any way to avoid that?

 I guess the best way would be to simply give them access to the commands
 they need...

 I'll look into that...

The best way would probably be to work with UNIX privileges or ACLs.
You've got a file you want people other than root to be able to edit.

groupadd $SPECIALGROUP
usermod -a -G $SPECIALGROUP $THEIRUSERNAME
chown :$SPECIALGROUP $FILENAME
chmod g+w $FILENAME

(You might want to chmod g-x $FILENAME, too, just for safety's sake.)

-- 
:wq



[gentoo-user] Re: Allow non root users to edit files owned by root?

2011-12-20 Thread Nikos Chantziaras

On 12/20/2011 05:04 PM, Tanstaafl wrote:

I have a new hosted VM server that I want to allow a user to be able to
edit files owned by root, but without giving them the root password.


If you allow someone to edit root owned files, you're practically giving 
him root access.  So the fact that he doesn't know the root password is 
totally irrelevant; he doesn't even need the password anymore to gain 
root access since he already has that access.


So you might want to rethink the way you want to allow him to edit those 
files.





Re: [gentoo-user] Allow non root users to edit files owned by root?

2011-12-20 Thread Florian Philipp
Am 20.12.2011 18:03, schrieb Tanstaafl:
 On 2011-12-20 11:00 AM, Florian Philipp li...@binarywings.net wrote:
 You should probably also restrict which files can be edited (not
 /etc/passwd, /etc/shadow or /etc/sudoers, for sure!). You can do this
 with globs. For example:
 %sudorootsudoedit/var/www/*
 
 Great, that helps... but...
 
 He wants to use nano, so I set this up for nano, but there is one little
 issue...
 
 He sometimes uses different flags with nano (ie, 'nano -wc filename') -
 is there a way to specify the use with or without flags? I know you can
 use:
 
 /bin/nano -* /etc/apache2/*,
 
 But this fails if no flags are specified.
 

Well, as I've said, using a /normal/ editor doesn't solve the problem
because you can use nano for opening a shell, thereby escalating your
privileges. You have to use rnano (or nano -R). This solution is not
really meant for the luxury of a full blown editor with arbitrary
arguments and capabilities. rnano doesn't read nanorc files, for
example. If you cannot agree on a common set of safe flags, you
shouldn't use sudo for this purpose.

In that case, I recommend Michael's proposed solution of ACLs or
probably group write access +setgid to the specific directories.
Alternatively, allow editing outside of the directory and something like
%sudoroot   cp * /etc/apache/*
so that they can /commit/ their changes instead of editing directly.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


[gentoo-user] From where the word 'gentoo' came?

2011-12-20 Thread LinuxIsOne
Hi,

From where the word gentoo came into existence?

Thanks.



Re: [gentoo-user] From where the word 'gentoo' came?

2011-12-20 Thread Michael Mol
On Tue, Dec 20, 2011 at 12:31 PM, LinuxIsOne reall...@hmamail.com wrote:
 Hi,

 From where the word gentoo came into existence?

Gentoo is a species of penguin.

https://en.wikipedia.org/wiki/Gentoo_Penguin

-- 
:wq



[gentoo-user] Re: From where the word 'gentoo' came?

2011-12-20 Thread Nikos Chantziaras

On 12/20/2011 07:34 PM, Michael Mol wrote:

On Tue, Dec 20, 2011 at 12:31 PM, LinuxIsOnereall...@hmamail.com  wrote:

Hi,

 From where the word gentoo came into existence?


Gentoo is a species of penguin.


troll_mode
No.  Gentoo is an anagram for net goo.  Furthermore, Gentoo Linux is 
an anagram for Tux, go online.  This why Gentoo was chosen.

/troll_mode




Re: [gentoo-user] From where the word 'gentoo' came?

2011-12-20 Thread LinuxIsOne
On Tue, Dec 20, 2011 at 11:04 PM, Michael Mol mike...@gmail.com wrote:

 Gentoo is a species of penguin.

 https://en.wikipedia.org/wiki/Gentoo_Penguin

Oh I see.



Re: [gentoo-user] Re: From where the word 'gentoo' came?

2011-12-20 Thread LinuxIsOne
On Tue, Dec 20, 2011 at 11:13 PM, Nikos Chantziaras rea...@arcor.de wrote:

 troll_mode
 No.  Gentoo is an anagram for net goo.  Furthermore, Gentoo Linux is an
 anagram for Tux, go online.  This why Gentoo was chosen.
 /troll_mode

;)--



Re: [gentoo-user] Re: From where the word 'gentoo' came?

2011-12-20 Thread Dan Johansson
On Tuesday 20 December 2011 19.43:42 Nikos Chantziaras wrote:
 On 12/20/2011 07:34 PM, Michael Mol wrote:
  On Tue, Dec 20, 2011 at 12:31 PM, LinuxIsOnereall...@hmamail.com  wrote:
  Hi,
  
   From where the word gentoo came into existence?
  
  Gentoo is a species of penguin.
 
 troll_mode
 No.  Gentoo is an anagram for net goo.  Furthermore, Gentoo Linux is
 an anagram for Tux, go online.  This why Gentoo was chosen.
 /troll_mode

Stupid me, I thought that is was because of this They (Gentoo penguin) are 
the fastest underwater swimming penguins, reaching speeds of 36 km/h. Gentoo 
are adapted to very harsh cold climates.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Re: From where the word 'gentoo' came?

2011-12-20 Thread LinuxIsOne
On Tue, Dec 20, 2011 at 11:29 PM, Dan Johansson dan.johans...@dmj.nu wrote:

 Stupid me, I thought that is was because of this They (Gentoo penguin) are
 the fastest underwater swimming penguins, reaching speeds of 36 km/h. Gentoo
 are adapted to very harsh cold climates.

I liked the word 'Gentoo', cool!



Re: [gentoo-user] From where the word 'gentoo' came?

2011-12-20 Thread Volker Armin Hemmann
onomatopoeia

gentoo linux in named after gentoo penguins.

Those are small and fast.

They are named after the sound they make if you bring one to Tour d'Argent and 
put it into the duck press.


-- 
#163933



Re: [gentoo-user] From where the word 'gentoo' came?

2011-12-20 Thread LinuxIsOne
On Tue, Dec 20, 2011 at 11:36 PM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:

 onomatopoeia

 gentoo linux in named after gentoo penguins.

 Those are small and fast.

 They are named after the sound they make if you bring one to Tour d'Argent 
 and put it into the duck press.

Nice to know!



Re: [gentoo-user] Allow non root users to edit files owned by root?

2011-12-20 Thread Tanstaafl

On 2011-12-20 12:20 PM, Florian Philipp li...@binarywings.net wrote:

Well, as I've said, using a/normal/  editor doesn't solve the problem
because you can use nano for opening a shell, thereby escalating your
privileges. You have to use rnano (or nano -R). This solution is not
really meant for the luxury of a full blown editor with arbitrary
arguments and capabilities. rnano doesn't read nanorc files, for
example. If you cannot agree on a common set of safe flags, you
shouldn't use sudo for this purpose.


Points taken from all, thanks...

I settled on requiring the -R flag for nano, and limited the files that 
he can edit, so he will simply have to live with this.


Thanks all...



Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Stefan G. Weichinger
Am 20.12.2011 16:11, schrieb Albert W. Hopkins:

 At it's core NM is just a daemon.  The gnome/kde stuff are just 
 front-ends that talk to the daemon via dbus when need-be.  So likely
 it appears faster when you boot because the NetworkManager service
 is already started and connecting to your AP before you even see X
 come up. When you resume, all that other machinery is already up, so
 you are waiting on the card and the AP to associate.

Another thing in the game: my home-dir is encrypted.

So afai understand NM is only able to read the settings of my user AFTER
I logged in (and mounted /home via pam_mount). Correct?

So it should be faster after resume ... ?

 Question: have you tried associateting with the AP manually?  How
 long does that take?  Have you tried associating with other APs?

I did but that was without specifically watching times ... at customers
I had other things in mind. Here in my office I currently only have that
AP available for now.

 Should not take too long unless you have a very slow connection...
 it's a 306K file (took me less than 1 second to wget).  It's uses the
 H.264 video codec so I'm guessing you don't have that.

Exactly. Never mind. Thanks anyway.

 Also, you didn't mention your kernel.  Could be an anomaly of
 your kernel/firmware.
 
 Latest and greatest:
 
 gentoo-sources-3.1.5 ~amd64 ... iwlagn-kernel-module ... with
 firmware net-wireless/iwl6005-ucode-17.168.5.3
 
 lspci says:
 
 Intel Corporation Centrino Advanced-N 6205 (rev 34)
 
 Intel Corporation Centrino Wireless-N 1000 here.  I guess mine's not 
 Advanced but it's fast :D.  I'm on the 3.2 rc's but don't recall
 any issues in the 3.1 days... I'm using a different firmware though..
 the iwlwifi.. but maybe it's because my card is different.

very likely, yes.

I found my firmware by doing some trial-and-error and googling.

S



Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Stefan G. Weichinger
Am 2011-12-20 20:18, schrieb Stefan G. Weichinger:

 Question: have you tried associateting with the AP manually?  How
 long does that take?  Have you tried associating with other APs?

Got it, maybe. Edited that connection (right-click on nm-applet ...) and
headed for the IPv6-tab. Set that to ignore.

Suspended, went to the fridge ... resumed, much quicker!

Looks promising, will re-test now.

Stefan



Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Michael Mol
On Tue, Dec 20, 2011 at 3:01 PM, Stefan G. Weichinger li...@xunil.at wrote:
 Am 2011-12-20 20:18, schrieb Stefan G. Weichinger:

 Question: have you tried associateting with the AP manually?  How
 long does that take?  Have you tried associating with other APs?

 Got it, maybe. Edited that connection (right-click on nm-applet ...) and
 headed for the IPv6-tab. Set that to ignore.

 Suspended, went to the fridge ... resumed, much quicker!

 Looks promising, will re-test now.

You know, there's another solution for that...Set up radvd on your network. :)

Though having to wait that long before it times out waiting for RAs
seems a bit excessive.

-- 
:wq



Re: [gentoo-user] gnome-shell, networkmanager, wifi re-connect

2011-12-20 Thread Stefan G. Weichinger
Am 2011-12-20 21:10, schrieb Michael Mol:

 You know, there's another solution for that...Set up radvd on your network. :)

ah, next year . ;-)

 Though having to wait that long before it times out waiting for RAs
 seems a bit excessive.

I am happy to have quick ipv4-reconnect for now.
No need to research ipv6-timeout-values for me right now ;-)

for the records: third resume quick as well ...

S



Re: [gentoo-user] Re: From where the word 'gentoo' came?

2011-12-20 Thread Dale

Dan Johansson wrote:

On Tuesday 20 December 2011 19.43:42 Nikos Chantziaras wrote:

On 12/20/2011 07:34 PM, Michael Mol wrote:

On Tue, Dec 20, 2011 at 12:31 PM, LinuxIsOnereall...@hmamail.com   wrote:

Hi,

  From where the word gentoo came into existence?

Gentoo is a species of penguin.

troll_mode
No.  Gentoo is an anagram for net goo.  Furthermore, Gentoo Linux is
an anagram for Tux, go online.  This why Gentoo was chosen.
/troll_mode

Stupid me, I thought that is was because of this They (Gentoo penguin) are
the fastest underwater swimming penguins, reaching speeds of 36 km/h. Gentoo
are adapted to very harsh cold climates.



That was what I read somewhere too.

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n




[gentoo-user] Re: From where the word 'gentoo' came?

2011-12-20 Thread Nikos Chantziaras

On 12/20/2011 11:15 PM, Dale wrote:

Dan Johansson wrote:

On Tuesday 20 December 2011 19.43:42 Nikos Chantziaras wrote:

On 12/20/2011 07:34 PM, Michael Mol wrote:

On Tue, Dec 20, 2011 at 12:31 PM, LinuxIsOnereall...@hmamail.com
wrote:

Hi,

From where the word gentoo came into existence?

Gentoo is a species of penguin.

troll_mode
No. Gentoo is an anagram for net goo. Furthermore, Gentoo Linux is
an anagram for Tux, go online. This why Gentoo was chosen.
/troll_mode

Stupid me, I thought that is was because of this They (Gentoo
penguin) are
the fastest underwater swimming penguins, reaching speeds of 36 km/h.
Gentoo
are adapted to very harsh cold climates.



That was what I read somewhere too.


Just to point out the obvious, I was of course joking :-)




Re: [gentoo-user] Re: From where the word 'gentoo' came?

2011-12-20 Thread Mark Knecht
On Tue, Dec 20, 2011 at 1:35 PM, Nikos Chantziaras rea...@arcor.de wrote:
 On 12/20/2011 11:15 PM, Dale wrote:

 Dan Johansson wrote:

 On Tuesday 20 December 2011 19.43:42 Nikos Chantziaras wrote:

 On 12/20/2011 07:34 PM, Michael Mol wrote:

 On Tue, Dec 20, 2011 at 12:31 PM, LinuxIsOnereall...@hmamail.com
 wrote:

 Hi,

 From where the word gentoo came into existence?

 Gentoo is a species of penguin.

 troll_mode
 No. Gentoo is an anagram for net goo. Furthermore, Gentoo Linux is
 an anagram for Tux, go online. This why Gentoo was chosen.
 /troll_mode

 Stupid me, I thought that is was because of this They (Gentoo
 penguin) are
 the fastest underwater swimming penguins, reaching speeds of 36 km/h.
 Gentoo
 are adapted to very harsh cold climates.


 That was what I read somewhere too.


 Just to point out the obvious, I was of course joking :-)



Nikos, you bleeping expletive deleted, I so wanted it to be your answer.

- Mark



Re: [gentoo-user] Allow non root users to edit files owned by root?

2011-12-20 Thread Walter Dnes
On Tue, Dec 20, 2011 at 11:51:11AM -0500, Tanstaafl wrote
 On 2011-12-20 10:13 AM, Michael Mol mike...@gmail.com wrote:
  So, incidentally, would 'sudo passwd root'...
 
 Ouch... any way to avoid that?
 
 I guess the best way would be to simply give them access to the commands 
 they need...
 
 I'll look into that...

  Howsabout in sudoers giving them the right to execute 2 commands...

cat /etc/whatever  scratchfile (this one may not be necessary)
cat scratchfile  /etc/whatever

  The first command copies the contents of the file to whatever
directory the user is in.  He can work on the copy using his regular
privileges.  Note that I'm assuming the user does not have read
privileges on the file.  If he does have read privileges, then the first
command does not require sudoers.

  At the last step, he can send the finished copy back to the
original file.  The sequence the user will have to follow is, logged in
as regular user...

1a) If he does *NOT* have read prileges to /etc/whatever
touch scratchfile
sudo cat /etc/whatever  scratchfile

1b) If he *DOES* have read prileges to /etc/whatever
cp /etc/whatever scratchfile


2) edit scratchfile *LOCALLY* with his favourite editor.  No need to
worry about restricting an editor.

3) sudo cat scratchfile  /etc/whatever

Note the use of cat, rather than cp, when using sudo.  cp will
copy the file attributes, including the fact that it's owned by the user
doing the copying, e.g. sudo (as root) copies the file and it's owned by
root (oops).  Ditto for cat when redirected *TO A NEW FILE*.  touch
guarantees that the file will exist, and get overwritten by the content
of /etc/whatever, but still retaining the fact that it's owned by the
local user.

If local user has read access to /etc/whatever, that makes things
easier.  When he does cp as local user, the resulting file is owned by
hin.  Edit at liesure, and send the result back with cat.

-- 
Walter Dnes waltd...@waltdnes.org



[gentoo-user] getting rid of KDE

2011-12-20 Thread Joseph

I have a problem getting rid of KDE (those meta package might be easy to 
install/upgrade but getting rid of them is not easy).

When I run emerge -uDNav world I get:

The following USE changes are necessary to proceed:
#required by kde-base/libkonq-4.7.3, required by kde-base/kdepasswd-4.7.3, required by kde-base/kdm-4.7.3-r1, required by @selected, required by @world 
(argument)

=x11-libs/qt-qt3support-4.7.2 kde
#required by kde-base/nepomuk-4.7.3, required by kde-base/kdelibs-4.7.3-r1[semantic-desktop], required by kde-base/libkonq-4.7.3, required by 
kde-base/kdepasswd-4.7.3, required by kde-base/kdm-4.7.3-r1, required by @selected, required by @world (argument)

=app-misc/strigi-0.7.6-r1 qt4
#required by kde-base/libkonq-4.7.3, required by kde-base/kdepasswd-4.7.3, required by kde-base/kdm-4.7.3-r1, required by @selected, required by @world 
(argument)

=x11-libs/qt-webkit-4.7.2 kde

My USE flags:
USE=X gtk -qt4 -kde dvd alsa cdr cups apache2 ssl foomaticdb \
 ppds mysql -acl java tiff jpeg png usb udev scanner fam nptl truetype kpathsea 
type1 opengl tetex -arts hal dbus semantic-desktop 

It is trying to pull IN some KDE packages as well, I don't know where package 
is pulling them?

--
Joseph



Re: [gentoo-user] getting rid of KDE

2011-12-20 Thread Yohan Pereira
On Tuesday 20 Dec 2011 23:54:38 Joseph wrote:
 #required by kde-base/libkonq-4.7.3, required by kde-base/kdepasswd-4.7.3,
 required by kde-base/kdm-4.7.3-r1, required by @selected, required by

It seems you still have kdm in listed in world, try replacing that with 
something non-kdeish like xdm or something

-- 

- Yohan Pereira


Re: [gentoo-user] getting rid of KDE

2011-12-20 Thread Walter Dnes
On Tue, Dec 20, 2011 at 11:54:38PM -0700, Joseph wrote
 I have a problem getting rid of KDE (those meta package might be
 easy to install/upgrade but getting rid of them is not easy).

 When I run emerge -uDNav world I get:
 
 =x11-libs/qt-qt3support-4.7.2 kde

 =x11-libs/qt-webkit-4.7.2 kde
 
 My USE flags:
 USE=X gtk -qt4 -kde dvd alsa cdr cups apache2 ssl foomaticdb \
   ppds mysql -acl java tiff jpeg png usb udev scanner fam
   nptl truetype kpathsea type1 opengl tetex -arts hal dbus
   semantic-desktop 
 
 It is trying to pull IN some KDE packages as well, I don't know
 where package is pulling them?

  Check your /etc/portage/package.use file.  Does it have kde flags
anywhere in it?  If so, you'll need to get rid of them to eradicate
kde.

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] getting rid of KDE

2011-12-20 Thread Joseph

On 12/21/11 12:36, Yohan Pereira wrote:

  On Tuesday 20 Dec 2011 23:54:38 Joseph wrote:

   #required by kde-base/libkonq-4.7.3, required by
  kde-base/kdepasswd-4.7.3,

   required by kde-base/kdm-4.7.3-r1, required by @selected, required by

   


  It seems you still have kdm in listed in world, try replacing that with
  something non-kdeish like xdm or something

   


  --

   


  - Yohan Pereira


I don't have kdm I unmerged it and replace it by slim

Here is a list of packages it is trying to load:
emerge -uDNav world

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

Calculating dependencies... done!
[ebuild U  ] sys-apps/portage-2.1.10.41 [2.1.10.11] USE=(ipc) -build -doc -epydoc 
-python2 -python3 (-selinux) (-less%*) LINGUAS=-pl 899 kB [0]
*** Portage will stop merging at this point and reload itself,
then resume the merge.
[ebuild U  ] sys-libs/glibc-2.13-r4 [2.12.2] USE=nls -debug -gd -glibc-omitfp 
(-hardened) (-multilib) -profile (-selinux) -vanilla 16,081 kB [0]
[ebuild U  ] sys-devel/patch-2.6.1 [2.5.9] USE=-static -test% 248 kB [0]
[ebuild  N ] sys-libs/libutempter-1.1.5  15 kB [0]
[ebuild  N ] dev-util/boost-build-1.46.1  USE=-examples -python 0 kB [0]
[ebuild  N ] app-crypt/mhash-0.9.9-r1  0 kB [0]
[ebuild U  ] sys-apps/ethtool-3.0 [2.6.36] 167 kB [0]
[ebuild U  ] sys-fs/fuse-2.8.6 [2.8.5] USE=-static-libs% 494 kB [0]
[ebuild U  ] dev-libs/kpathsea-6.0.1_p20110705 [6.0.1_p20110627] USE=-doc 
-source -static-libs 128,164 kB [0]
[ebuild U  ] dev-libs/lzo-2.06 [2.04] USE=-examples -static-libs 570 kB 
[0]
[ebuild U  ] sys-libs/ncurses-5.9 [5.7-r7] USE=cxx gpm unicode -ada -debug -doc 
-minimal -profile -static-libs -trace 2,761 kB [0]
[ebuild U  ] media-libs/libpng-1.5.6 [1.5.5] USE=apng -static-libs 688 kB 
[0]
[ebuild  N ] media-libs/libid3tag-0.15.1b-r2  USE=-debug -static-libs 331 
kB [0]
[ebuild U  ] dev-util/strace-4.6 [4.5.20-r2] USE=-aio -static 395 kB [0]
[ebuild U  ] dev-util/ccache-3.1.6 [2.4-r9] 333 kB [0]
[ebuild  N ] kde-base/kde-env-4.7.3  USE=(-aqua) (-kdeenablefinal) 0 kB 
[0]
[ebuild U  ] net-misc/iputils-20101006-r2 [20100418-r1] USE=ipv6 ssl 
-SECURITY_HAZARD -doc -idn -static 114 kB [0]
[ebuild U  ] app-emulation/virtualbox-modules-4.1.4 [4.0.12] 
USE=-pax_kernel% 495 kB [0]
[ebuild   R] x11-base/xorg-drivers-1.10  INPUT_DEVICES=evdev -acecad -aiptek -elographics -fpit -hyperpen -joystick -keyboard -mouse -mutouch -penmount 
-synaptics -tslib -vmmouse -void -wacom (-virtualbox%) VIDEO_CARDS=fbdev nv vesa -apm -ark -ast -chips -cirrus -dummy -epson -fglrx -geode -glint -i128 
-i740 (-impact) -intel -mach64 -mga -neomagic (-newport) -nouveau -nvidia (-omapfb) -qxl -r128 -radeon -rendition -s3 -s3virge -savage -siliconmotion -sis 
-sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -via -virtualbox -vmware (-voodoo) 0 kB [0]

[ebuild U  ] perl-core/Time-HiRes-1.972.200 [1.97.19] 86 kB [0]
[ebuild U  ] perl-core/Digest-MD5-2.510.0 [2.39] 45 kB [0]
[ebuild U  ] virtual/perl-Time-HiRes-1.972.200 [1.97.19] 0 kB [0]
[ebuild   R] net-misc/curl-7.21.4  USE=ipv6 ldap ssl -ares -gnutls -idn 
-kerberos -nss -ssh% -static-libs -test -threads (-libssh2%) 2,204 kB [0]
[ebuild U  ] virtual/perl-Digest-MD5-2.510.0-r1 [2.39] 0 kB [0]
[ebuild  N ] www-misc/htdig-3.2.0_beta6-r3  USE=ssl 3,033 kB [0]
[ebuild  N ] dev-db/virtuoso-odbc-6.1.2  USE=-static-libs 70,610 kB [0]
[ebuild U  ] net-misc/tor-0.2.2.35 [0.2.2.34] USE=transparent-proxy -doc 
-threads -tor-hardening 2,723 kB [0]
[ebuild U  ] sys-libs/talloc-2.0.1-r2 [2.0.1-r1] USE=-compat -doc -static-libs 
-swig 237 kB [0]
[ebuild U  ] media-fonts/dejavu-2.33 [2.32] USE=X -fontforge 4,767 kB [0]
[ebuild U  ] media-fonts/unifont-5.1.20080914 [1.0-r4] USE=X 8,351 kB [0]
[ebuild  N ] x11-apps/xmessage-1.0.3  0 kB [0]
[ebuild U  ] dev-libs/libatasmart-0.18 [0.17] USE=-static-libs 373 kB [0]
[ebuild U  ] app-admin/syslog-ng-3.2.5 [3.2.4] USE=ipv6 pcre ssl tcpd -caps 
-hardened (-selinux) -spoof-source -sql (-static%) 1,415 kB [0]
[ebuild  N ] x11-libs/qt-core-4.7.2-r2  USE=exceptions glib iconv jit qt3support ssl (-aqua) -debug -optimized-qmake -pch -private-headers 208,656 kB 
[0]

[ebuild  N ] x11-libs/qt-script-4.7.2  USE=exceptions iconv jit (-aqua) -debug 
-pch -private-headers 0 kB [0]
[ebuild  N ] x11-libs/qt-sql-4.7.2  USE=exceptions iconv mysql qt3support 
sqlite (-aqua) -debug -firebird -freetds -odbc -pch -postgres 0 kB [0]
[ebuild  N ] x11-libs/qt-test-4.7.2  USE=exceptions iconv (-aqua) -debug 
-pch 0 kB [0]
[ebuild  N ] x11-libs/qt-xmlpatterns-4.7.2  USE=(-aqua) -debug -pch 0 kB 
[0]
[ebuild  N ] app-crypt/qca-2.0.3  USE=(-aqua) -debug -doc -examples 4,425 
kB [0]
[ebuild  N ] x11-libs/qt-dbus-4.7.2  USE=exceptions (-aqua) -debug -pch 0 
kB [0]
[ebuild  N ] x11-libs/qt-gui-4.7.2  USE=accessibility 

Re: [gentoo-user] getting rid of KDE

2011-12-20 Thread Joseph

On 12/21/11 02:11, Walter Dnes wrote:

On Tue, Dec 20, 2011 at 11:54:38PM -0700, Joseph wrote

I have a problem getting rid of KDE (those meta package might be
easy to install/upgrade but getting rid of them is not easy).



When I run emerge -uDNav world I get:

=x11-libs/qt-qt3support-4.7.2 kde

=x11-libs/qt-webkit-4.7.2 kde

My USE flags:
USE=X gtk -qt4 -kde dvd alsa cdr cups apache2 ssl foomaticdb \
  ppds mysql -acl java tiff jpeg png usb udev scanner fam
  nptl truetype kpathsea type1 opengl tetex -arts hal dbus
  semantic-desktop 

It is trying to pull IN some KDE packages as well, I don't know
where package is pulling them?


 Check your /etc/portage/package.use file.  Does it have kde flags
anywhere in it?  If so, you'll need to get rid of them to eradicate
kde.

--
Walter Dnes waltd...@waltdnes.org


Yes, I got rid of every kde in package.use 


--
Joseph



Re: [gentoo-user] getting rid of KDE

2011-12-20 Thread Joseph

On 12/21/11 02:11, Walter Dnes wrote:

On Tue, Dec 20, 2011 at 11:54:38PM -0700, Joseph wrote

I have a problem getting rid of KDE (those meta package might be
easy to install/upgrade but getting rid of them is not easy).



When I run emerge -uDNav world I get:

=x11-libs/qt-qt3support-4.7.2 kde

=x11-libs/qt-webkit-4.7.2 kde

My USE flags:
USE=X gtk -qt4 -kde dvd alsa cdr cups apache2 ssl foomaticdb \
  ppds mysql -acl java tiff jpeg png usb udev scanner fam
  nptl truetype kpathsea type1 opengl tetex -arts hal dbus
  semantic-desktop 

It is trying to pull IN some KDE packages as well, I don't know
where package is pulling them?


 Check your /etc/portage/package.use file.  Does it have kde flags
anywhere in it?  If so, you'll need to get rid of them to eradicate
kde.

--
Walter Dnes waltd...@waltdnes.org


equery d does not show any package depending on kde, qt3 or qt4

That KDE is is lika a cockroach, it is hard to get rid of it :-/

--
Joseph



Re: [gentoo-user] getting rid of KDE

2011-12-20 Thread Sebastian Beßler
On 21.12.2011 08:37, Joseph wrote:

 Here is a list of packages it is trying to load:
 emerge -uDNav world

Try emerge -uDNavt world and see what tries to pull in KDE.
Most likely it is something that relates to KDE like amarok or digikam.

Greetings

Sebastian



signature.asc
Description: OpenPGP digital signature