Re: [gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-26 Thread Mick
On Monday 25 April 2011 23:23:07 Jake Moe wrote:
 I haven't followed this entire thread, but is there any chance this
 isn't really a Cisco device as you know it, but a rebranded
 Linksys?  After seeing a picture of the device, and reading that it's
 a Small Business router, I'd suspect it's a device that came out of
 their acquisition of Linksys.  That'd explain the different config style
 you're seeing.

Snap!

I was about to say that from what Harry's describing this is more of a cheaper 
'cisco appliance' than a cisco router.  Linksys is a very probable candidate.  
In that case you may be able to blast the firmware and install OpenWRT and the 
like.  Check the chipset first for hardware compatibility to make sure you 
won't brick it!

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] mplayer directfb permissions?

2011-04-26 Thread Indi
On Tue, Apr 26, 2011 at 12:30:02AM +0200, Mick wrote:
 On Monday 25 April 2011 23:38:04 Indi wrote:
  On Mon, Apr 25, 2011 at 05:50:01PM +0200, Indi wrote:
   ...using the directfb for vo gives
   sterling results, with the worst files playing happily in sync just like
   I always dreamed -- but only as root!
   
   Obviously there's a permissions issue somewhere...
  
  Oh jeepers, I've made a silly error -- the reason videos were playing so
  well as root is that root had no .mplayer/config, :)
  Apparently I just needed to clean up my config file and now it works
  just fine again with x11 driver. Didn't realize defining a couple of audio
  and video filters would impact performance that much but apparently it
  really does, at least with avi and mkv files. Sorry for the noise!
  
  For other reasons though it might still be nice to know how to give a
  user directfb permission.
  
  :)
 
 Just an idea.
 
 Not sure if it uses svgalib - in which case setuid it to root before you fire 
 it up as a plain user.
 
 Alternatively, run strace as a plain user and see at what point it fails to 
 access the files it needs.
 -- 
 Regards,
 Mick


Thanks for the suggestions.
Was going to look into that just now but after updating the system 
(and runing revdep-rebuild and python updater and --depclean) the 
directfb driver doesn't display properly anymore for some reason.
Everything else seems fine, and videos are playing in sync with the x11
driver and all that. I have a feeling from what Ive read STFW that this 
is going to come down to my ATI Mobility 9600 chipset's incomplete kernel 
support and may not be practically solvable to the point of being worth 
pursuing.

I may pursue it anyway at some point in the future but for right 
now it's been moved to the back burner for a bit.

-- 
 /\   /\ 
   \   /
  ^  caveat utilitor 
'v-v'



[gentoo-user] [OT] Script to crack gpg passphrase

2011-04-26 Thread Mick
This is less sinister than what it sounds, but nevertheless necessary
when one forgets the passphrase and has no revocation cert handy.

I am trying to come up with a script to crack the passphrase, but my
poor scripting ability (non-existent really) hampers my efforts.
Looking at google I ended up with this modified example:
===
#!/bin/bash
#

# try all word in test.txt
for word in $(cat test.txt); do

  # try to encrypt with $word passphrase
  echo ${word} | gpg --passphrase-fd 0 --no-tty -a --export
seckey.gpg -o file;

  # if decrypt is successfull; stop
  if [ $? -eq 0 ]; then

echo GPG passphrase is: ${word};
exit 0;

  fi

done;

exit 1;
===

The file test.txt has a list of passwords (one in each line, no
spaces) I am told 'sound like' the passphrase the user had set.

The output file is not created (therefore I assume that the script
does not work) but prints out the public key and only the first
passphrase in the list:

===
$ ./crackgpg.sh
gpg: enabled debug flags: memstat
gpg: writing to stdout
-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v2.0.17 (GNU/Linux)
[snip ...]

-END PGP PUBLIC KEY BLOCK-
random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
  outmix=0 getlvl1=0/0 getlvl2=0/0
secmem usage: 0/32768 bytes in 0 block
GPG passphrase is: sebpirleydrodujrem
===

Any idea what I could use in the above script to make it try one word
at a time, not ask for confirmation and print the *successful*
passphrase word at the end?  Any other scripting suggestions also
welcome.
-- 
Regards,
Mick



[gentoo-user] Re: smartcard issues

2011-04-26 Thread deadeyes
deadeyes gvm999 at gmail.com writes:

 
 Hi all,
 
 For logging in to servers we now use smartcards.
 For windows this works fine, however for Linux and Mac OS X it doesn't.
 

After waisting alot of time I found out the following things (I hope sooner or
later it will help someone else):
 - for smartcard using through rdesktop you don't need a driver for the card
 - you don't need to do anything with openct-tool/openct-control
 - If openct has started stop it and disable it, also kill all ifdhandler
processes, you don't need them
 - just use pcscd -d -f and then plug in your smartcard reader
 - When started you will see the light flashing on your smartcard reader
 - on 32 bit it seems to work fine.. however on my AMD64 it did not BUT
 - setup a 32 bit chroot (as described in the gentoo chroot 32bit howto) and
emerge rdesktop (with smartcard support) and pcsc-lite. (or using quickpkg)
 - Now get the files from the package or from the 32bit chroot itself
(/usr/bin/rdesktop and /usr/lib/libpcsclite.so.1) and copy them over to your 64
bit environment. I recommend putting /usr/lib/libpcsclite.so.1 in /usr/lib32/ on
your 64bit environment. (Do note that everything else is 64 bit, so your
driver/bundle for openct as well)

I'll add any further info if necessary.




Re: [gentoo-user] You have no world file

2011-04-26 Thread Dan Cowsill
On Wed, Apr 20, 2011 at 10:19 PM, Michael Orlitzky mich...@orlitzky.comwrote:

 On 04/20/2011 12:15 PM, Dan Cowsill wrote:
  On Wed, Apr 20, 2011 at 8:55 AM, Michael Orlitzky mich...@orlitzky.com
  mailto:mich...@orlitzky.com wrote:
 
  On 04/20/2011 11:35 AM, Dan Cowsill wrote:
   Hi list,
  
   I've been having a strange issue every so often.  I'll do a world
  update
   (emerge -uDNav, etc) and that will proceed nicely, installing new
   packages and suchlike.  I'll then do a little bit of the old
  emerge -pcv
   to check for dangling packages and I will get the following:
  
   !!! You have no world file.
   !!! Proceeding is likely to break your installation.
  
   Portage will then politely inform me that it needs to remove 190
   packages and I thank FSM I added -p.
  
   So!  Googling that little tidbit produced nothing meaningful.
  What's
   the story?  Gremlins?
  
 
  Basically. Do you have a world file (/var/lib/portage/world)? If not,
  why not? Is /var or one of its subdirectories mounted separately?
 Hard
  drive going bad? Do you see gremlins anywhere?
 
  Permissions on /var/lib/portage should be drwxrws--- root:portage
 
  /var/lib/portage/world should be -rw-r--r-- root:portage
 
 
  File's there, permissions are correctly set, the filesystem isn't
  mounted separately and according to smartctl, the hard drive is doing
  quite well.  I'm at a loss!

 You can try introducing trolls to fight the gremlins. If the smell gets
 too strong, orcs will keep the trolls in check. Gold starts
 disappearing? Dragons should do the trick. When you run out of
 princesses... try memtest.


Why I love this list in one thread.

Anyway, just an update on the situation.  As far as I can tell, this 'you
have no world file' error only shows up when i'm doing a --depclean.  Also,
it is intermittent.  Right now, -pcv works just fine and reports the correct
number of packages to be removed (zero).  I'm not sure what breaks this, or
if it will be broken in the future.

At this point, I'm not terribly worried about the whole thing, but I am
rather curious.

Thanks guys,
D


Re: [gentoo-user] [OT] Script to crack gpg passphrase

2011-04-26 Thread Paul Hartman
On Tue, Apr 26, 2011 at 9:20 AM, Mick michaelkintz...@gmail.com wrote:
 This is less sinister than what it sounds, but nevertheless necessary
 when one forgets the passphrase and has no revocation cert handy.

 I am trying to come up with a script to crack the passphrase, but my
 poor scripting ability (non-existent really) hampers my efforts.

Haven't tried it, but Google led me to this:

http://www.roguedaemon.net/rephrase/



Re: [gentoo-user] You have no world file

2011-04-26 Thread Michael Orlitzky
On 04/26/11 10:31, Dan Cowsill wrote:
 
 Why I love this list in one thread.
 
 Anyway, just an update on the situation.  As far as I can tell, this
 'you have no world file' error only shows up when i'm doing a
 --depclean.  Also, it is intermittent.  Right now, -pcv works just fine
 and reports the correct number of packages to be removed (zero).  I'm
 not sure what breaks this, or if it will be broken in the future.
 
 At this point, I'm not terribly worried about the whole thing, but I am
 rather curious.
 

Well, the You have no world message only shows up in one place.

/usr/lib/portage/pym/_emerge/actions.py:

  psets = root_config.setconfig.psets
  ...
  selected_set = psets['selected']
  ...
  if not selected_set:
writemsg_level(!!! You have no world file.\n,
   level=logging.WARNING, noiselevel=-1)


The 'psets' variable gets set in /usr/lib/portage/pym/_emerge/main.py:

  setconfig.psets['selected'] =
WorldSelectedSet(root_config.settings['EROOT'])

and that WorldSelectedSet class is defined in,

  /usr/lib/portage/pym/portage/_sets/files.py


If you *really* want to know what's going on, you could throw some debug
statements in main.py whenever the 'psets' variable gets set. That way
you can at least see which file it's looking for.

I'm not a doctor but it's probably perfectly safe.



Re: [gentoo-user] [OT] Script to crack gpg passphrase

2011-04-26 Thread Mick
On 26 April 2011 15:34, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Tue, Apr 26, 2011 at 9:20 AM, Mick michaelkintz...@gmail.com wrote:
 This is less sinister than what it sounds, but nevertheless necessary
 when one forgets the passphrase and has no revocation cert handy.

 I am trying to come up with a script to crack the passphrase, but my
 poor scripting ability (non-existent really) hampers my efforts.

 Haven't tried it, but Google led me to this:

 http://www.roguedaemon.net/rephrase/

Thanks Paul, it seems no longer maintained (compiled for 2.4 kernel and gcc3).
-- 
Regards,
Mick



Re: [gentoo-user] You have no world file

2011-04-26 Thread Dale

Michael Orlitzky wrote:


I'm not a doctor but it's probably perfectly safe.

   


I'd copy my world file to my root directory just in case tho.  At least 
you got a starting point if something did get froggy.


That's just me tho.  We all know how weird I am.  lol

Dale

:-)  :-)



[gentoo-user] trouble with libxcb (and others)

2011-04-26 Thread Allan Gottlieb
Starting last night several builds and programs are crashing due to
problems in libxcb and others.

My system is ~amd64.

For example evolution fails to start and says

gottlieb@ajglap ~ $ evolution
evolution: error while loading shared libraries: libxcb-aux.so.0: cannot open 
shared object file: No such file or directory
gottlieb@ajglap ~ $ 

There is no libxcb-aux now on my system nor is there an libxcb-atom,
which revdep rebuild mentioned.

openoffice (picked up by revdep-rebuild) fails to build saying

checking for pkg-config... /usr/bin/pkg-config
checking for libwpd-0.8 ... Package libwpd-0.8 was not found in the pkg-config 
search path. Perhaps you should add the directory containing `libwpd-0.8.pc' to 
the PKG_CONFIG_PATH environment variable No package 'libwpd-0.8' found
configure: error: Library requirements (libwpd-0.8 ) not met; consider 
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
nonstandard prefix so pkg-config can find them.

I looked (using locate) and I have libwpd-0.9.1 now.  Should I downgrade
to lib0.8.14?

Another problem, perhaps not related, but occurring at the same time is
that xlsclients-1.1.1 (also picked up by revdep-rebuild) fails to 
build with
 Source configured.
 Compiling source in 
 /var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1 ...
 Working in BUILD_DIR: 
 /var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1_build
make --jobs --load-average=5 
make  all-am
make[1]: Entering directory 
`/var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1_build'
  CC xlsclients.o
  GENxlsclients.1
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. 
-I/var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1-Wall 
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wformat=2 
-Wold-style-definition -Wdeclaration-after-statement   -march=native -O2 -pipe 
-c /var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1/xlsclients.c
/var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1/xlsclients.c: 
In function ‘print_client_properties’:
/var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1/xlsclients.c:542:8:
 error: ‘WM_CLIENT_MACHINE’ undeclared (first use in this function)

Something must have gone quite wrong in my last update world.

Advice would be appreciated.

thanks,
allan



Re: [gentoo-user] You have no world file

2011-04-26 Thread Indi
On Tue, Apr 26, 2011 at 07:00:01PM +0200, Dale wrote:
 Michael Orlitzky wrote:
 
  I'm not a doctor but it's probably perfectly safe.
 
 
 
 I'd copy my world file to my root directory just in case tho.  At least 
 you got a starting point if something did get froggy.
 
 That's just me tho.  We all know how weird I am.  lol
 
 Dale
 
 :-)  :-)

I always use rsync to back up my entire system after updating and 
keep 3 updates back, so when anything goes wrong I can just restore 
the bit that went wrong or restore the whole system. 
How's that for paranoid?
Murphy's taught me well...

-- 
If only my nterface to the time-space continuum could be unix-like... With vim 
keybindings, cron, and everything!




Re: [gentoo-user] You have no world file

2011-04-26 Thread Dale

Indi wrote:

On Tue, Apr 26, 2011 at 07:00:01PM +0200, Dale wrote:
   

Michael Orlitzky wrote:
 

I'm not a doctor but it's probably perfectly safe.


   

I'd copy my world file to my root directory just in case tho.  At least
you got a starting point if something did get froggy.

That's just me tho.  We all know how weird I am.  lol

Dale

:-)  :-)
 

I always use rsync to back up my entire system after updating and
keep 3 updates back, so when anything goes wrong I can just restore
the bit that went wrong or restore the whole system.
How's that for paranoid?
Murphy's taught me well...

   


He is a great teacher tho.  We seem to remember his lessons.  I think he 
should be Professor Murphy myself.  We need more like him but maybe more 
preventative.  ;-)


Dale

:-)  :-)



Re: [gentoo-user] trouble with libxcb (and others)

2011-04-26 Thread Allan Gottlieb
On Tue, Apr 26 2011, Allan Gottlieb wrote:

 Starting last night several builds and programs are crashing due to
 problems in libxcb and others.

 My system is ~amd64.

 For example evolution fails to start and says

A rebuild of evolution fixed this but the other two errors
still occur


 There is no libxcb-aux now on my system nor is there an libxcb-atom,
 which revdep rebuild mentioned.

 openoffice (picked up by revdep-rebuild) fails to build saying

 checking for pkg-config... /usr/bin/pkg-config
 checking for libwpd-0.8 ... Package libwpd-0.8 was not found in the 
 pkg-config search path. Perhaps you should add the directory containing 
 `libwpd-0.8.pc' to the PKG_CONFIG_PATH environment variable No package 
 'libwpd-0.8' found
 configure: error: Library requirements (libwpd-0.8 ) not met; consider 
 adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
 nonstandard prefix so pkg-config can find them.

 I looked (using locate) and I have libwpd-0.9.1 now.  Should I downgrade
 to lib0.8.14?

 Another problem, perhaps not related, but occurring at the same time is
 that xlsclients-1.1.1 (also picked up by revdep-rebuild) fails to 
 build with
 Source configured.
 Compiling source in 
 /var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1 ...
 Working in BUILD_DIR: 
 /var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1_build
 make --jobs --load-average=5 
 make  all-am
 make[1]: Entering directory 
 `/var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1_build'
   CC xlsclients.o
   GENxlsclients.1
 x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. 
 -I/var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1-Wall 
 -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing 
 -Wbad-function-cast -Wformat=2 -Wold-style-definition 
 -Wdeclaration-after-statement   -march=native -O2 -pipe -c 
 /var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1/xlsclients.c
 /var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1/xlsclients.c:
  In function ‘print_client_properties’:
 /var/tmp/portage/x11-apps/xlsclients-1.1.1/work/xlsclients-1.1.1/xlsclients.c:542:8:
  error: ‘WM_CLIENT_MACHINE’ undeclared (first use in this function)

 Something must have gone quite wrong in my last update world.

 Advice would be appreciated.

 thanks,
 allan



Re: [gentoo-user] mplayer directfb permissions?

2011-04-26 Thread Mick
On Tuesday 26 April 2011 14:34:05 Indi wrote:
 On Tue, Apr 26, 2011 at 12:30:02AM +0200, Mick wrote:
  On Monday 25 April 2011 23:38:04 Indi wrote:
   On Mon, Apr 25, 2011 at 05:50:01PM +0200, Indi wrote:
...using the directfb for vo gives
sterling results, with the worst files playing happily in sync just
like I always dreamed -- but only as root!

Obviously there's a permissions issue somewhere...
   
   Oh jeepers, I've made a silly error -- the reason videos were playing
   so well as root is that root had no .mplayer/config, :)
   Apparently I just needed to clean up my config file and now it works
   just fine again with x11 driver. Didn't realize defining a couple of
   audio and video filters would impact performance that much but
   apparently it really does, at least with avi and mkv files. Sorry for
   the noise!
   
   For other reasons though it might still be nice to know how to give a
   user directfb permission.
   
   :)
  
  Just an idea.
  
  Not sure if it uses svgalib - in which case setuid it to root before you
  fire it up as a plain user.
  
  Alternatively, run strace as a plain user and see at what point it fails
  to access the files it needs.
 
 Thanks for the suggestions.
 Was going to look into that just now but after updating the system
 (and runing revdep-rebuild and python updater and --depclean) the
 directfb driver doesn't display properly anymore for some reason.
 Everything else seems fine, and videos are playing in sync with the x11
 driver and all that. I have a feeling from what Ive read STFW that this
 is going to come down to my ATI Mobility 9600 chipset's incomplete kernel
 support and may not be practically solvable to the point of being worth
 pursuing.
 
 I may pursue it anyway at some point in the future but for right
 now it's been moved to the back burner for a bit.

Are you running KMS in the kernel and have you emerged x11-drivers/radeon-
ucode (not sure if your card needs it) as per:

http://www.gentoo.org/doc/en/xorg-config.xml
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] trouble with libxcb (and others)

2011-04-26 Thread Philip Webb
110426 Allan Gottlieb wrote:
 My system is ~amd64.
 For example evolution fails to start and says
   gottlieb@ajglap ~ $ evolution
   evolution: error while loading shared libraries: libxcb-aux.so.0: cannot 
 open shared object file: No such file or directory
 There is no libxcb-aux now on my system nor is there an libxcb-atom,
 which revdep rebuild mentioned.

I have

  root:512 lib64 ls -l libxcb-aux.*
  -rw-r--r-- 1 root root  8362 Oct  3  2009 libxcb-aux.a
  -rw-r--r-- 1 root root   984 Jul  3  2010 libxcb-aux.la
  lrwxrwxrwx 1 root root19 Oct  3  2009 libxcb-aux.so - libxcb-aux.so.0.0.0
  lrwxrwxrwx 1 root root19 Oct  3  2009 libxcb-aux.so.0 - 
libxcb-aux.so.0.0.0
  -rwxr-xr-x 1 root root 14232 Oct  3  2009 libxcb-aux.so.0.0.0

also  libxcb-atom.so.1.0.0 : both were installed by  x11-libs/xcb-util-0.3.6 .

 Something must have gone quite wrong in my last update world.

It's always a bad idea to do 'emerge world' (without '-p'):
I have always made a hand-written list of pkgs to be upgraded,
then emerged them individually or in small groups.
People are continually reporting problems which I have avoided since 2003 .

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] trouble with libxcb (and others)

2011-04-26 Thread Todd Goodman
* Allan Gottlieb gottl...@nyu.edu [110426 14:34]:
 On Tue, Apr 26 2011, Allan Gottlieb wrote:
 
  Starting last night several builds and programs are crashing due to
  problems in libxcb and others.
 
  My system is ~amd64.
[SNIP]
  openoffice (picked up by revdep-rebuild) fails to build saying
 
  checking for pkg-config... /usr/bin/pkg-config
  checking for libwpd-0.8 ... Package libwpd-0.8 was not found in the 
  pkg-config search path. Perhaps you should add the directory containing 
  `libwpd-0.8.pc' to the PKG_CONFIG_PATH environment variable No package 
  'libwpd-0.8' found
  configure: error: Library requirements (libwpd-0.8 ) not met; consider 
  adjusting the PKG_CONFIG_PATH environment variable if your libraries are in 
  a nonstandard prefix so pkg-config can find them.
 
  I looked (using locate) and I have libwpd-0.9.1 now.  Should I downgrade
  to lib0.8.14?

For what it's worth I run ~x86 and I got the same error with libwpd
until I made sure I had the 0.8 slot emerged as well (emerge libwpd:0.8)

It looks like it just became slotted (if I remember right.)

Unfortunately I then had a problem with OpenOffice and libwpg.  And had
to downgrade back to 1.1.3 (and mask 0.2.0.)  It looked like OpenOffice
wasn't happy with a 2.0 version and still wanted a 1.0 version (but I
didn't look too carefully.)

However it looks like it's slotted now so you should be able to install
libwpg:0.2 as well as libwpg:0.1 and OpenOffice will still work.

However, I get file collisions when trying to install libwpg:0.2 with
libwpg:0.1 installed right now.  It might still be in the process of being
fully slotted?

If you don't have the libwpd:0.8 and/or libwpg:0.1 slotted versions then
just emerge them too.

Todd



Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]

2011-04-26 Thread Alan Mackenzie
Hi, Mark.

On Mon, Apr 25, 2011 at 08:29:47AM -0700, Mark Knecht wrote:
 On Mon, Apr 25, 2011 at 8:03 AM, Alan Mackenzie a...@muc.de wrote:

 Run something like

 emerge --noreplace =gentoo-sources-2.6.38-r1

That's just the job.  Thanks.

 HTH,
 Mark

-- 
Alan Mackenzie (Nuremberg, Germany).



[gentoo-user] Headsup: bad breakage from today's xcb update

2011-04-26 Thread walt

There is already a bug filed against xlibs/xcb*-0.3.8, and 0.3.6 has already
been removed from portage (a very bad decision).

The major problem is with libstartup-notification, which relies on a function
defined in xcb-util-0.3.6 and no longer exists in 0.3.8.

I'm going to try to recreate the ebuilds for 0.3.6, but meanwhile *don't* allow
xcb* to update to 0.3.8 if you depend on libstartup-notification.




Re: [gentoo-user] Reinstall Gentoo? [Was: Building pygtk-2.22.0-r1 fails. Help, please!]

2011-04-26 Thread Alan Mackenzie
Hi, Nick.

On Mon, Apr 25, 2011 at 05:00:49PM +0100, Mick wrote:
 On Monday 25 April 2011 16:03:21 Alan Mackenzie wrote:

  As a matter of interest, do you know how to configure a framebuffer
  console to fill up a wide screen (say, to a width of 170 characters)
  as contrasted with the 128 characters which were optimum on an old
  fashioned CRT?

 I think that things have moved on since the first time you installed
 Gentoo.  Latest kernels have the ability to load firmware for your
 video card that takes account of the native resolution of the monitor -
 without any additional framebuffer drivers (like vesa, uvesa, radeonfb,
 etc.)  As a matter of fact you'll get a blank screen if you try to boot
 the latest kernels with KMS configured using any additional framebuffer
 driver.

Indeed.  :-(

 To save me describing each step, you would do better reading through
 this page which details everything you need to do:

 http://www.gentoo.org/doc/en/xorg-config.xml

A fascinating document.  Thanks!

 -- 
 Regards,
 Mick

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] [OT] Script to crack gpg passphrase

2011-04-26 Thread Mick
On Tuesday 26 April 2011 16:42:50 Mick wrote:
 On 26 April 2011 15:34, Paul Hartman paul.hartman+gen...@gmail.com wrote:
  On Tue, Apr 26, 2011 at 9:20 AM, Mick michaelkintz...@gmail.com wrote:
  This is less sinister than what it sounds, but nevertheless necessary
  when one forgets the passphrase and has no revocation cert handy.
  
  I am trying to come up with a script to crack the passphrase, but my
  poor scripting ability (non-existent really) hampers my efforts.
  
  Haven't tried it, but Google led me to this:
  
  http://www.roguedaemon.net/rephrase/
 
 Thanks Paul, it seems no longer maintained (compiled for 2.4 kernel and
 gcc3).

Actually, it installs and runs! Thank you.  :-)

Alas though, it didn't crack the suspected passphrase.  :-(

Back to plan A.  Any ideas how I can improve my script?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] mplayer directfb permissions?

2011-04-26 Thread Indi
On Tue, Apr 26, 2011 at 09:10:02PM +0200, Mick wrote:
 
 Are you running KMS in the kernel and have you emerged x11-drivers/radeon-
 ucode (not sure if your card needs it) as per:
 
 http://www.gentoo.org/doc/en/xorg-config.xml


No. I have a pretty straight kernel, and my video card specified in 
make.conf and all that jazz. Do not want binary blobs if I can live
without them.   

-- 
If only my interface to the time-space continuum could be unix-like... With vim 
keybindings, cron, and everything!




[gentoo-user] Re: Headsup: bad breakage from today's xcb update [correction]

2011-04-26 Thread walt

On 04/26/2011 01:03 PM, walt wrote:

There is already a bug filed against xlibs/xcb*-0.3.8, and 0.3.6 has already
been removed from portage (a very bad decision).


Oops, my bad.  x11-libs/xcb-util has just been split into several packages with
the update to 0.3.8.

If, like me, you need to downgrade xcb-util back to 0.3.6 you must delete all of
the xcb*0.3.8 packages first or you will get file collision errors.

The real breakage is in the libstartup-notification package, which hasn't been
fixed yet and still depends on xcb-util-0.3.6.





Re: [gentoo-user] HDA ATI SB ALC892 sometimes no sound

2011-04-26 Thread Florian Philipp
Am 22.04.2011 16:56, schrieb dhk...@optonline.net:
 - Original Message -
 From: Florian Philipp 
 Date: Friday, April 22, 2011 10:45 am
 Subject: [gentoo-user] HDA ATI SB ALC892 sometimes no sound
 To: Gentoo User List
 
 Hi list!

 I've recently bought a Gigabyte GA-880GMA-UD2H board (AM3, integrated
 Radeon HD 4200). The problem is, sometimes sound works out-of-
 the-box.
 Then I reboot and there is no sound at all. There is no error -
 just no
 output. The SPDIF port (which I really need) does not emit any light,
 then. Sometimes after a cold reboot, it works again.

 I've found several threads pointing to problems with kernel 2.6.32
 (solved in 2.6.33, I'm on 2.6.36). Some others made me wonder if
 alsa is
 confused by the HDMI output of the graphics card. I blacklisted
 snd_hda_codec_atihdmi and switched driver from fglrx to radeon 
 but it
 did not change anything. I don't have the means to check whether there
 is any output over HDMI.

 I know that at least Volker has a similar board. Maybe others as well.
 Does someone have a clue what's going on?

 I'll append some info.

[...]

 I have a similar problem.  There was an email thread about it a few
 months ago.  Nothing much happened with it because sound occasionally
 works for me.  Sometime it comes back after a reboot or restart of
 alsasound, and sometimes if I leave the machine running a long time if
 will just start working or just stop working . . . really weird.  I've
 been running alsaconf a lot and that seem to get it back most of the
 time if not I still need to restart alsasound or reboot.

 Also, if you haven't run python-updater in a while you should, that
 seems to fix a lot a odd behavior.

 Good luck.

 dhk


Well, I guess I just spend 20 EUR on an USB soundcard. They work
reliably and quality doesn't matter much anyway if I just need digital
output.

Regards,
Florian



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Re: [OT router advice] a router capable of detailed logs

2011-04-26 Thread Harry Putnam
Mick michaelkintz...@gmail.com writes:

 After turning remote admin on, and setting a single IP address to be
 able to connect... I still cannot access it for remote admin on 8080.

 Did you try this from the Internet, or from within your LAN?

Inside lan.  I guess you are saying that connection is expected be from
outside?

Haven't had the opportunity for that yet.  The only remote machine I
have access is to is a shell account on a gentoo machine, so lynx, and
I've seen on home lan that the device responds to lynx telling me I
need a newer browser, when I hit it by IP using lynx.

Jumping up the thread a bit now, after Pauls excellent input.  I see
that iptables cmd is known on the OS, but man I really had not wanted
to pound my way thru iptables to the point of competency.