Re: [gentoo-user] Changing static IP remotely...

2013-02-28 Thread Michael Mol
On 02/27/2013 11:48 PM, Jarry wrote:
 Hi Gentoo users,
 
 what is the proper way of changing static IP-address remotely
 without the need to restart the whole system (or locking
 me out)?
 
 I have one interface with static IP, so first I'm going to edit
 /etc/conf.d/net. Then I will set up command for later execution:
 
 # echo '#!/bin/bash'  /root/eth-restart
 # echo '/etc/init.d/net.eth0 restart'  /root/eth-restart
 # chmod 0700 /root/eth-restart
 # at -f /root/eth-restart now + 5 min
 
 Then I terminate my ssh-session hoping 5 minutes later
 I can connect using new IP. Is this correct and all that
 is necessary?
 
 Jarry

Probably the safest thing you can do is give the interface two IPs at
once (both the old address and the new address) until you can confirm
you can connect on the new IP, and then remove the old IP.

Also, rather than using at to handle things like that, I like to use
screen; if I get disconnected, programs running inside the screen
session don't die...and there's no waiting for a scheduled job.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Changing static IP remotely...

2013-02-28 Thread Mike Gilbert
On Thu, Feb 28, 2013 at 7:38 AM, Michael Mol mike...@gmail.com wrote:
 On 02/27/2013 11:48 PM, Jarry wrote:
 Hi Gentoo users,

 what is the proper way of changing static IP-address remotely
 without the need to restart the whole system (or locking
 me out)?

 I have one interface with static IP, so first I'm going to edit
 /etc/conf.d/net. Then I will set up command for later execution:

 # echo '#!/bin/bash'  /root/eth-restart
 # echo '/etc/init.d/net.eth0 restart'  /root/eth-restart
 # chmod 0700 /root/eth-restart
 # at -f /root/eth-restart now + 5 min

 Then I terminate my ssh-session hoping 5 minutes later
 I can connect using new IP. Is this correct and all that
 is necessary?

 Jarry

 Probably the safest thing you can do is give the interface two IPs at
 once (both the old address and the new address) until you can confirm
 you can connect on the new IP, and then remove the old IP.

 Also, rather than using at to handle things like that, I like to use
 screen; if I get disconnected, programs running inside the screen
 session don't die...and there's no waiting for a scheduled job.


Yeah, screen or tmux is the way to go.



[gentoo-user] xorg/mesa/steam problem

2013-02-28 Thread Michael Mair-Keimberger
Hi Gentoo Users,

For some time now i'm playing around with steam4linux and the open-source 
radeon drivers. Yesterday i've tried to play the games on my multi-monitor (3 
screens) setup.

Basically most of the games dosn't support multi-monitor and would show up 
the game on the primary or top left screens. However there were two games 
were it actually sort of worked. Defcon and Amnesia: The Dark Descent.

Unfortunately i have a big issue. The games itself seems to run nicly, but i 
can't move my mouse freely. I can move my mouse from the left side to not 
even to the middle of the middle screen, which means i cant start any of 
those games. (the menues are in the middle)

My question now is, where should i made an bug-report? If the problem would 
be just at one game i would say its a problem of the game. But two 
completly different games with exact the same problem?
My think it could be a problem in xorg-server or mesa? What do you think?

Michael


[gentoo-user] emerge with --changed-use

2013-02-28 Thread »Q«
A new useflag, tinfo, has been added for ncurses.  I would have
expected ncurses not to be rebuilt when I specify --changed-use, but
portage does want to rebuild it.  This isn't causing me any problem,
but I'd like to understand what's going on.  I guess I should note that
I'm using portage-2.1.11.50 and that I'm one of those hardheads who has
USE=-* in make.conf.  I currently have ncurses-5.9-r2 installed with
USE=cxx gpm static-libs unicode -ada -debug -doc -minimal -profile
-trace.

$ emerge -pvuD --changed-use @world

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

Calculating dependencies... done!
[ebuild   R] sys-libs/ncurses-5.9-r2:5  USE=cxx gpm static-libs
unicode -ada -debug -doc -minimal -profile -tinfo% -trace 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB




Re: [gentoo-user] Changing static IP remotely...

2013-02-28 Thread Kevin Chadwick
 Probably the safest thing you can do

I use install scripts and so can have two system copies in tandem easily
(aided by OpenBSD being simply brilliant with 0 kernel updates) and
test out any procedure for a remote server locally with a VM before
doing anything.

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___



Re: [gentoo-user] Changing static IP remotely...

2013-02-28 Thread Florian Philipp
Am 28.02.2013 16:37, schrieb Mike Gilbert:
 On Thu, Feb 28, 2013 at 7:38 AM, Michael Mol mike...@gmail.com wrote:
 On 02/27/2013 11:48 PM, Jarry wrote:
 Hi Gentoo users,

 what is the proper way of changing static IP-address remotely
 without the need to restart the whole system (or locking
 me out)?
[...]
 # at -f /root/eth-restart now + 5 min
[...]
 Also, rather than using at to handle things like that, I like to use
 screen; if I get disconnected, programs running inside the screen
 session don't die...and there's no waiting for a scheduled job.

 
 Yeah, screen or tmux is the way to go.
 

`nohup` would work too, right?

Regards,
Florian Philipp




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Changing static IP remotely...

2013-02-28 Thread Michael Mol
On 02/28/2013 05:43 PM, Florian Philipp wrote:
 Am 28.02.2013 16:37, schrieb Mike Gilbert:
 On Thu, Feb 28, 2013 at 7:38 AM, Michael Mol mike...@gmail.com wrote:
 On 02/27/2013 11:48 PM, Jarry wrote:
 Hi Gentoo users,

 what is the proper way of changing static IP-address remotely
 without the need to restart the whole system (or locking
 me out)?
 [...]
 # at -f /root/eth-restart now + 5 min
 [...]
 Also, rather than using at to handle things like that, I like to use
 screen; if I get disconnected, programs running inside the screen
 session don't die...and there's no waiting for a scheduled job.


 Yeah, screen or tmux is the way to go.

 
 `nohup` would work too, right?

For what, exactly?




signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: emerge with --changed-use

2013-02-28 Thread walt
On 02/28/2013 11:16 AM, »Q« wrote:
 A new useflag, tinfo, has been added for ncurses.  I would have
 expected ncurses not to be rebuilt when I specify --changed-use, but
 portage does want to rebuild it.  This isn't causing me any problem,
 but I'd like to understand what's going on.  I guess I should note that
 I'm using portage-2.1.11.50 and that

 I'm one of those hardheads who has USE=-* in make.conf.

Ah, a masochist.  You're perfect for gentoo ;)

  I currently have ncurses-5.9-r2 installed with
 USE=cxx gpm static-libs unicode -ada -debug -doc -minimal -profile
 -trace.
 
 $ emerge -pvuD --changed-use @world
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R] sys-libs/ncurses-5.9-r2:5  USE=cxx gpm static-libs
 unicode -ada -debug -doc -minimal -profile -tinfo% -trace 0 kB

The '%' symbol just means that the tinfo flag was introduced after your
most recent build of ncurses.  The '-' symbol means that portage will
rebuild ncurses without tinfo -- exactly like your existing build of
ncurses :)  Makes perfect sense if you happen to be a computer.

My favorite peeve is when a libreoffice useflag is added for, say,
support for Swahili or Urdu, and now I'm forced to rebuild all of
libreoffice just to re-install libreoffice without support for Urdu
or Swahili.  If I were a computer I'd agree immediately with that
reasoning.






Re: [gentoo-user] Re: emerge with --changed-use

2013-02-28 Thread Neil Bothwick
On Thu, 28 Feb 2013 15:13:31 -0800, walt wrote:

 My favorite peeve is when a libreoffice useflag is added for, say,
 support for Swahili or Urdu, and now I'm forced to rebuild all of
 libreoffice just to re-install libreoffice without support for Urdu
 or Swahili.  If I were a computer I'd agree immediately with that
 reasoning.

That shouldn't happen with --changed-use, only --newuse, and would be
worthy of a bug report.



-- 
Neil Bothwick

-Come, come, why they couldn't hit an elephant from this dist-


signature.asc
Description: PGP signature


[gentoo-user] Re: emerge with --changed-use

2013-02-28 Thread »Q«
On Thu, 28 Feb 2013 15:13:31 -0800
walt w41...@gmail.com wrote:

 On 02/28/2013 11:16 AM, »Q« wrote:
  A new useflag, tinfo, has been added for ncurses.  I would have
  expected ncurses not to be rebuilt when I specify --changed-use, but
  portage does want to rebuild it.  This isn't causing me any problem,
  but I'd like to understand what's going on.  I guess I should note
  that I'm using portage-2.1.11.50 and that
 
  I'm one of those hardheads who has USE=-* in make.conf.
 
 Ah, a masochist.  You're perfect for gentoo ;)
 
   I currently have ncurses-5.9-r2 installed with
  USE=cxx gpm static-libs unicode -ada -debug -doc -minimal -profile
  -trace.
  
  $ emerge -pvuD --changed-use @world
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild   R] sys-libs/ncurses-5.9-r2:5  USE=cxx gpm static-libs
  unicode -ada -debug -doc -minimal -profile -tinfo% -trace 0 kB
 
 The '%' symbol just means that the tinfo flag was introduced after
 your most recent build of ncurses.  The '-' symbol means that portage
 will rebuild ncurses without tinfo -- exactly like your existing
 build of ncurses :)  Makes perfect sense if you happen to be a
 computer.
 
 My favorite peeve is when a libreoffice useflag is added for, say,
 support for Swahili or Urdu, and now I'm forced to rebuild all of
 libreoffice just to re-install libreoffice without support for Urdu
 or Swahili.  If I were a computer I'd agree immediately with that
 reasoning.

That's exactly what --changed-use is supposed to avoid, as I
understand it.

man emerge puts it this way:

  Unlike --newuse, the --changed-use option does not trigger
  reinstallation when flags that the user has not enabled are added or
  removed.





[gentoo-user] Re: emerge with --changed-use

2013-02-28 Thread walt
On 02/28/2013 03:35 PM, Neil Bothwick wrote:
 On Thu, 28 Feb 2013 15:13:31 -0800, walt wrote:
 
 My favorite peeve is when a libreoffice useflag is added for, say,
 support for Swahili or Urdu, and now I'm forced to rebuild all of
 libreoffice just to re-install libreoffice without support for Urdu
 or Swahili.  If I were a computer I'd agree immediately with that
 reasoning.
 
 That shouldn't happen with --changed-use, only --newuse, and would be
 worthy of a bug report.

Hm.  I did read something about that here in the last few months and
forgot about it.  I've been typing emerge -auND world for so long I
don't even think about it.  Reading the manpage I see that there is
no short-option for --changed-use, so I suppose I'll write a shell
script to type that long-option for me because I'll forget it again.

Seems to me that most of us lusers would want --changed-use to be the
default behavior, no?





Re: [gentoo-user] problems with kde 4.10.0

2013-02-28 Thread luis jure
on 2013-02-27 at 17:58 Daniel Frey wrote:

 Have you tried updating your whole system and possibly a revdep-rebuild?

yes, this happened when i updated my system, and i always run
revdep-rebuild after that. more than once, just in case. i also rebuilt
all the problematic applications (e.g. k3b, tellico,...) the only way of
getting rid of the problem was downgrading back to 4.9.5