Re: [gentoo-user] Regenerate portage cache from scratch following a big toe crash?

2010-08-18 Thread Andrea Conti
Hi,

 sitting in my chair that swivels, and guess what...my big toe is at
 __exactly__ the height of the main power button on my APC UPS, and
 darn if I don't hit it and power is gone!

Back in the old days I had a trusty desktop 286 which sat on a piece of
furniture at approximately knee level, with a very prominent reset
button on the front panel... need I say more?

 Can't read cache file
 /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
  Reading category 146|154 ( 94%): x11-libs ..
 Can't read cache file

 How does a big-toe guy regenerate the database emerge --sync normally
 keeps for my machine?

First make sure all your filesystems are ok (touch /forcefsck and reboot).
Second, I am not sure whether eix is complaining about the portage tree
metadata (which is rsynced with the rest of the tree and not kept by
emerge, so it shouldn't get corrupted) or its own cache.
You can regenerate the former locally with emerge --metadata; if it
doesn't help (and I don't think it will) I would try deleting the
contents of /var/cache/eix and manually running eix-update.

HTH,

andrea



[gentoo-user] Access WDTLIVE Anonymous share from Linux

2010-08-18 Thread SpaceCake
Hi,

I have a very great stuff at home called WDTV Live Media server. This is a
linux based machine offering some media services to the local network. Also
offering external drives as shares unfortunately only with anonymous access

I think because os security reasons this is disabled in linux (great idea
:)), so I can access this external drive only from windows

the error message when I try to use for example smbtree as the follows

Server requested LANMAN password (share-level security) but 'client lanman
auth' is disabled
failed tcon_X with NT_STATUS_ACCESS_DENIED

If I issue the same command with the -N parameter it is working fine

 \\WDTVLIVE  WDTV LIVE
\\WDTVLIVE\IPC$ IPC Service (WDTV LIVE)
\\WDTVLIVE\Laca_WD_Terra_1  Laca_WD_Terra_1

But it is not working neither from dolphin, smb4k, or from mount.cifs

how can I instruct these programs to use anonymous login first or at least
try to use it if authentication is not succeed

My samba version is

[I] net-fs/samba
 Available versions:  3.0.37!t 3.0.37-r1!t (~)3.2.15!t (~)3.2.15-r1!t
3.4.6!t 3.4.8!t (~)3.5.3!t (~)3.5.4!t [M](~)4.0.0_alpha11!m {acl addns ads
aio async automount avahi caps cifsupcall +client cluster cups debug doc dso
examples fam gnutls ipv6 kernel_linux ldap ldb +netapi oav pam (+)python
quota quotas (+)readline selinux +server +smbclient smbsharemodes sqlite
swat syslog threads +tools
winbind}

 Installed versions:  3.5.4!t(11.52.56 2010-08-18)(acl addns ads aio
avahi caps client cups fam ldap netapi pam readline server smbclient syslog
winbind -cluster -debug -doc -examples -ldb -quota -smbsharemodes
-swat)
 Homepage:http://www.samba.org/
 Description: Samba Server component



Thank you
Laszlo


Re: [gentoo-user] Gentoo on 8GB SSD

2010-08-18 Thread Norman Rieß
On 08/17/10 18:59, Stéphane Guedon wrote:
 
 Is a SSD capable of supporting gentoo ? That's a good idea !
 You may be a pionneer ! Let's try...

Not really. Gentoo is running fine on SSD and why wouldn't it. A data
storage device does not care what data it stores.
Gentoo is even running fine on CF.
This is my first hand experience.

Regards
Norman



Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Nganon
2010/8/17 Maximilian Bräutigam max-br...@gmx.de

 You should backup all in / except
 /tmp/*
 /sys/*
 /proc/*
 /lost+found/*
 /dev/*

 Distfiles are saved outside the root  and I can afford to rebuild world.
My
main concern was losing (gentoo) config files, speaking of which, I
remembered to back up /usr/src/linux/.config, and user folders.

I have no solution how to bzip or gzip your backups or how to make a dvd
 backup, but I use app-backup/rsnapshot which uses rsync but implements
 an intelligent rotating system that is done daily, weekly, monthly,
 yearly according to your config. Of course you should store the backup
 on another physical hdd.

 By the way, since a new hdd of one TB is pretty cheap, think about
 running your gentoo in a software RAID. Guides:

 http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
 http://en.gentoo-wiki.com/wiki/Software_RAID_Install


Thanks for the advices. I am adding rsnapshot to my list.


Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Nganon
On 17 August 2010 22:34, Enrico Weigelt weig...@metux.de wrote:

 For things I'd like to keep an history (eg. /etc) I'm using git, and
 pushing the repo to a remote server (denying non-fastfoward updates
 there, so an theorectical highjacker cannot destroy my history)


Using git for /etc is a great idea.
Thanks.


Re: [gentoo-user] =www-client/chromium-6.0.472.33 and h264

2010-08-18 Thread Nganon
On 17 August 2010 23:42, Andy Wilkinson drukar...@gmail.com wrote:

 I have tried 490, and it has the same problem: html5test.com reports no
 h264 support, and non-webm, html5 youtube videos don't work.

 I'll continue trying successive builds as they're posted... maybe 490
 doesn't have that commit yet?


Maybe not. I suggest poke around crbug.com and also keep an eye on the
release blog.
http://googlechromereleases.blogspot.com/


Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Neil Bothwick
On Tue, 17 Aug 2010 14:14:27 +0200, Maximilian Bräutigam wrote:

 You should backup all in / except
 /tmp/*
 /sys/*
 /proc/*
 /lost+found/*
 /dev/*

That backs up a lot of stuff that isn't needed. As long as you have /etc
and /var/lib you can recreate the system. Depending on space vs. time,
you may prefer not to backup the gigabytes in /usr that can be recreated
by portage (although saving /usr/local is a good idea).

 By the way, since a new hdd of one TB is pretty cheap, think about
 running your gentoo in a software RAID. Guides:

RAID is not an alternative to backups, a corrupted filesystem on a RAID is
just as corrupted as if it were on a single disk, you just get extra
copies of the corruption.


-- 
Neil Bothwick

Despite the cost of living, have you noticed how it remains so popular?


signature.asc
Description: PGP signature


Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Nganon
On 18 August 2010 14:34, Neil Bothwick n...@digimed.co.uk wrote:

 On Tue, 17 Aug 2010 14:14:27 +0200, Maximilian Bräutigam wrote:

  You should backup all in / except
  /tmp/*
  /sys/*
  /proc/*
  /lost+found/*
  /dev/*

 That backs up a lot of stuff that isn't needed. As long as you have /etc
 and /var/lib you can recreate the system. Depending on space vs. time,
 you may prefer not to backup the gigabytes in /usr that can be recreated
 by portage (although saving /usr/local is a good idea).


Thanks a lot for the valuable advice. I have a dozen of scripts in
/usr/local/bin
that I forgot about.


   By the way, since a new hdd of one TB is pretty cheap, think about
  running your gentoo in a software RAID. Guides:

 RAID is not an alternative to backups, a corrupted filesystem on a RAID is
 just as corrupted as if it were on a single disk, you just get extra
 copies of the corruption.


I did not know that. I was thinking of, in couple of months, buying a
notebook
with two HDDs with RAID1 installed and using the usb drive as a backup
destination. So if RAID got corruped, the backups, made since then, would
be
useless? How would you resolve it?

 --
 Neil Bothwick

 Despite the cost of living, have you noticed how it remains so popular?



Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread William Kenworthy
On Wed, 2010-08-18 at 14:09 +0300, Nganon wrote:
 
 
 On 17 August 2010 22:34, Enrico Weigelt weig...@metux.de wrote:
 For things I'd like to keep an history (eg. /etc) I'm using
 git, and
 pushing the repo to a remote server (denying non-fastfoward
 updates
 there, so an theorectical highjacker cannot destroy my
 history)
 
 
 Using git for /etc is a great idea. 
 Thanks. 
 
Another option is:
*  app-backup/dirvish
  Latest version available: 1.2.1
  Latest version installed: 1.2.1
  Size of downloaded files: 47 kB
  Homepage:http://www.dirvish.org/
  Description: Dirvish is a fast, disk based, rotating network
backup system.
  License: OSL-2.0


Works by first creating a copy (--init) and then hard-linking subsequent
versions of files/directories back to the original original if its
identical.  If a file is changed/new, it is copied instead of linked so
actual space usage quickly stabilises even with a varying number of
versions.  Backup over the network (this is how I have configured mine)
uses rsync over ssh with keys and is pull from a cron job on the
backup server or manual on demand (i.e., server initiated).

Version management is by a reasonably sophisticated date of version
scheme where by running dirvish-expire deletes out of date versions
(runs in a cron job).  The smart part is that once the last hard link to
file is deleted, its gone, otherwise its kept in the remaining
versions :)

Restore is a simple matter of identifying the version you want and
copying it back - Ive restored individual files through to complete
systems after total disk failure.

Can do includes/excludes, whole systems or just directories such as /etc
and can be easily automated.

Doesnt use compression, but most backup regimes (every day for a weekly
rota + a Sunday kept for 6 months) stabilise at about 2x the original
(gross) copy size, no matter how many copies with average changes
between versions.  Though large scale changes such as an emerge -e
world will take more as it will generate new copies of most files.

Downside is it will hammer the destination file system - reiserfs3 works
well, ext2/ext3 have been hopeless everytime I've tried - mass
corruption.  The file system will need a large number of inodes (for
links) if there are an excessive number of files x versions - again
reiserfs3 scores well here.

Highly recommended!

BillK










Re: [gentoo-user] how to remove HAL

2010-08-18 Thread Mike Edenfield
On 8/17/2010 3:49 PM, Enrico Weigelt wrote:
 * Neil Bothwick n...@digimed.co.uk wrote:
 
 USE only affects optional dependencies. euse -I hal will list packages
 that have a hal USE flag while emerge --depclean -pv sys-apps/hal will
 show those that depend o it. 
 
 I've just experimented a bit with that and it turned out that 
 --depclean doesn't clean up the buildtime-only deps. But if I
 remove one of them (eg. cabextract), they don't get pulled in again
 (that's indicating the depending ebuilds are written properly).
 
 Is this a bug ?

--depclean is supposed to pull in build-time dependencies, unless you
specify --with-bdeps n.  So if that's not happening, then I'd say it
is a bug.



[gentoo-user] Re: Typewriter sound

2010-08-18 Thread Grant Edwards
On 2010-08-18, Dale rdalek1...@gmail.com wrote:

 I think I got a old IBM AT/XT keyboard out in my shop.  It has the wrong 
 connector tho.  Those things are pretty loud.  You are right, they are 
 heavy tho.   Hmmm, could buy a adapter I guess.

I still use an IBM AT keyboard every day. Everything else from that AT
has long since been recycled, but the keyboard still works great after
almost 25 years.

-- 
Grant Edwards   grant.b.edwardsYow! Why is it that when
  at   you DIE, you can't take
  gmail.comyour HOME ENTERTAINMENT
   CENTER with you??




Re: [gentoo-user] Typewriter sound

2010-08-18 Thread Stefan G. Weichinger
Am 18.08.2010 01:44, schrieb Albert Hopkins:
 On Tue, 2010-08-17 at 19:41 -0400, Albert Hopkins wrote:
 Here is my edit of his Python script. 
 
 ... which I actually forgot to attach :|


funny stuff.

Unfortunately I get


# ./keypress.py
Traceback (most recent call last):
  File ./keypress.py, line 11, in module
from Xlib.display import Display
ImportError: No module named Xlib.display

What should I emerge??

;-)

thx, s



Re: [gentoo-user] Re: DVD borked: SysFS removed

2010-08-18 Thread Bill Longman
On 08/17/2010 04:38 PM, walt wrote:
 Well, not quite true.  I did change my /etc/fstab, but I'm now using disk
 labels in fstab instead of device names.  If you still use device names
 you'll need to change /dev/hd* to /dev/sd* in fstab when using the new
 disk drivers.

I'm an old-timer with *nix stuff so it took me ages to finally use disk
labels. It doesn't provide any benefit straight off, but in the long
run, man, is it so much easier.



Re: [gentoo-user] emerge 32bits on 64bits platform

2010-08-18 Thread Stéphane Guedon
Le Tuesday 17 August 2010 21:24:59, Bill Longman a écrit :
 On 08/17/2010 06:43 AM, Mike Edenfield wrote:
  On 8/16/2010 2:13 PM, Stéphane Guedon wrote:
  I have read several things about this, but never really solved !
  
  Can I emerge a 32bits software on 64bits platform with a multilib
  profile ?
  
  All my web browsers (konqueror, opera, chromium, firefox) are 64bits,
  whereas flash player exist currently in 32bits. So, I need to have
  32bits browser ! Can I emerge ?
 
 Well, you can certainly make a 32 bit chroot directory and compile
 things in there. That works on x86_64 quite nicely. (Never tried it on
 the sparcs 'coz I got rid of the SPARCstations long ago.)
 
 I don't know how you'd peel out the results of your compile and place
 them into your 64 bit host without mucking up things. I guess you
 could use binpkg or some such but you'd still have the problem of
 unwrapping the 32 bit pkg in your 64 bit host. Yuck.

I have simply used the 10.0.42 plugin which have a native 64 bit version...

Thanks !
-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


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


Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Bill Longman
On 08/18/2010 04:53 AM, Nganon wrote:
 I did not know that. I was thinking of, in couple of months, buying a
 notebook 
 with two HDDs with RAID1 installed and using the usb drive as a backup 
 destination. So if RAID got corruped, the backups, made since then,
 would be 
 useless? How would you resolve it? 

The ONLY thing RAID will save you from is hardware failure.

Copying data from one disk to another is not RAID. If you use dd to copy
from one corrupt filesystem to another, you have two corrupt filesystems.

If you want a robust filesystem, look into ZFS/BTRFS.



Re: [gentoo-user] Typewriter sound

2010-08-18 Thread meino . cramer
Paul Hartman paul.hartman+gen...@gmail.com [10-08-18 17:12]:
 On Tue, Aug 17, 2010 at 5:47 PM,  meino.cra...@gmx.de wrote:
  By the way (the same way! ;))
  I am  in search of such an model m IBM-keyboard. A colleque
  yesterday calls me and said, that he found one for me in the
  PC-junk at the basement of the building he is working in.
  Hopefully it is one which is 1.) fully working and 2.)
  with german keyboard layout. Fingers crossed.
 
 Unicomp owns the patent from the original IBM/Lexmark Model M
 keyboards, they still make  sell modern versions (with USB and
 Windows keys, if you want, also versions with PS/2 or without windows
 keys are available). And you can buy it with German configuration. You
 can even buy it with quiet keys, but what is the point of that?? ;)
 They are made in the USA but can be shipped worldwide.
 
 This is the model I have (in black with grey keys):
 http://pckeyboards.stores.yahoo.net/customizer.html
 
 It is the same size and weight like the old keyboards, very heavy,
 each key cap can be removed, it is loud  clicks nicely and is very
 awesome. For USD$69 I think it is a bargain, I type on the computer
 every day and this keyboard is simply perfect to me. After using cheap
 $5 and $10 keyboards for so many years, now I will never go back to
 those.
 
 Their website is http://www.pckeyboard.com and they have other
 keyboard variations such as a Linux keyboard.
 
 I highly recommend it for anyone who likes a huge and loud keyboard
 that feels incredible. :)
 

Hi Paul,

yes, I saw the sites/homepages of both sellers before. Unfortunately
shipping costs to germany is high and payment is complex.

If they only would have a distributor here in germany...

But with little luck, next week a colleque will give me one
of those really old, sturdy, heavy, loud and WONDERFUL original 
IBM keyboards. Fingers crossed that is a Model M with buckling
springs, german layout and all functional!

Happy hacking! 
Best regards,
mcc




Re: [gentoo-user] Typewriter sound

2010-08-18 Thread meino . cramer
Paul Hartman paul.hartman+gen...@gmail.com [10-08-18 00:20]:
 On Tue, Aug 17, 2010 at 12:20 PM,  meino.cra...@gmx.de wrote:
  Hi,
 
   on YouTube there was a Blender-2.5 tutorial with audio.
   There was an interesting detail: While there were spoken
   instructions one can hear one typing on its keyboard.
   Each hit on one of the keys made the sound of an old
   typewriter (no, it was not the sound of the legendary
   IBM Model M keyboard ;) ).
 
   How can I achieve this?
 
 I have not tried it, but a Google search showed me this:
 http://github.com/colszowka/linux-typewriter
 
 BTW - I have Unicomp keyboards (modern version of IBM Model M) and
 they are loud and awesome ;)
 

Hi,

I am still searching for a specific typewriter sound -- the one I heard
in the background of the video of the blender tutorial.

It sounds like a pure mechanical typewriter. And it sounds like
one is typeing onto a paper, which was put into the typewriter with
a little gap between the paper and the rubber platen roller (hopefully
I got these words right...), so each hit onto one of the keys is followed 
with a little PENG! (or should I call it BANG!) when the type
hits the paper and hammers it against the roller.
Little literarty shoots somehow. The incarnation of rhetorical power
in some way...;)

Does someone know of more typewrite sounds? I searched the net and
found another source but the sound wasn't there...

Keep hacking!
Best regards,
mcc







Re: [gentoo-user] Typewriter sound

2010-08-18 Thread meino . cramer
Albert Hopkins mar...@letterboxes.org [10-08-18 04:16]:
 On Tue, 2010-08-17 at 19:41 -0400, Albert Hopkins wrote:
  Here is my edit of his Python script. 
 
 ... which I actually forgot to attach :|
 
 -a
 

 #!/usr/bin/env python
 ## A tiny, nifty script for playing musical notes on each keypress.
 ##
 ##  Copyright Sayan Riju Chakrabarti (sayanriju) 2009
 ##  me[at]sayanriju[dot]co[dot]cc ##
 ##  Released under WTFPL Version 2
 ## (DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE)
 ##  Copy of license text can be found online at ##  
 http://sam.zoy.org/wtfpl/COPYING
 ## http://rants.sayanriju.co.cc/script-to-make-tick-tick-sound-on-keypress
 
 from Xlib.display import Display
 import subprocess
 import time
 
 KEYPRESSFILE = 'typewriter-key-1.wav'
 RETURNFILE = 'typewriter-line-break-1.wav'
 
 notes=[440,494,523,587,659,698,784]
 
 ZERO,SHIFT,ALT,CTL=[],[],[],[]
 ENTER = [0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
 for i in range(0,32):
 ZERO.append(0)
 if i==6:
 SHIFT.append(4)
 else:
 SHIFT.append(0)
 if i==4:
 CTL.append(32)
 else:
 CTL.append(0)
 if i==8:
 ALT.append(1)
 else:
 ALT.append(0)
 
 ignorelist=[ZERO,ALT,SHIFT,CTL]
 
 def main():
 disp = Display()# connect to display
 
 while 1:#event loop
 keymap = disp.query_keymap()
 if keymap not in ignorelist:
 filename = RETURNFILE if keymap == ENTER else KEYPRESSFILE
 subprocess.Popen(['aplay', filename], stderr=open('/dev/null',
 'w'))
 time.sleep(0.1)
 
 
 if __name__ == '__main__':
 main()

Hi,

 I checked the script -- it works :)
 But it is to slow (my computer is to slow, I am too fast?)
 I can press twice the number of keys which got sounded by
 the script.
 Or is something wrong with the setup of my sound interface?
 My computer is a Athlon XP2 64 (32 bit Gentoo) 3800+, so I
 think, that it is not /that/ slow :)
 Any ideas?
 Best regards,
 mcc





Re: [gentoo-user] Typewriter sound

2010-08-18 Thread Albert Hopkins
On Wed, 2010-08-18 at 18:20 +0200, meino.cra...@gmx.de wrote:
  I checked the script -- it works :)
  But it is to slow (my computer is to slow, I am too fast?)
  I can press twice the number of keys which got sounded by
  the script.
  Or is something wrong with the setup of my sound interface?
  My computer is a Athlon XP2 64 (32 bit Gentoo) 3800+, so I
  think, that it is not /that/ slow :)
  Any ideas?
  Best regards,
  mcc 

I can't say.  It works fine on the two machines I tested on (not
super-fast machines but modern).

-a





Re: [gentoo-user] Typewriter sound

2010-08-18 Thread Stefan G. Weichinger
Am 18.08.2010 17:10, schrieb Peter Ruskin:

 python-xlib

thank you, works now, it's fun (for a while ... ;-) )

S





Re: [gentoo-user] Access WDTLIVE Anonymous share from Linux

2010-08-18 Thread Stroller


On 18 Aug 2010, at 11:18, SpaceCake wrote:

...
how can I instruct these programs to use anonymous login first or  
at least try to use it if authentication is not succeed



Have you tried:
  smbmount {service} {mount-point} -o username=guest
?

Stroller

Re: [gentoo-user] Regenerate portage cache from scratch following a big toe crash?

2010-08-18 Thread Mark Knecht
On Tue, Aug 17, 2010 at 9:17 PM, Dale rdalek1...@gmail.com wrote:
 Mark Knecht wrote:

 OK, this is too funny. I'm sitting here in the dark browsing around on
 my home machine while I'm doing an eix-sync. I have my legs crossed,
 sitting in my chair that swivels, and guess what...my big toe is at
 __exactly__ the height of the main power button on my APC UPS, and
 darn if I don't hit it and power is gone!

 The machine booted and came back up with no obvious problems but when
 I tried to continue with the eix-sync I get some pretty messed up
 messages, ala:

 Can't read cache file
 /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
      Reading category 146|154 ( 94%): x11-libs ..
 Can't read cache file
 /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
      Reading category 146|154 ( 94%): x11-libs ..
 Can't read cache file
 /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
      Reading category 146|154 ( 94%): x11-libs ..
 Can't read cache file
 /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
      Reading category 146|154 ( 94%): x11-libs ..
 Can't read cache file
 /usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
      Reading category 154|154 (100%) Finished

 I tried removing the timestamp file to get it to sync again but that
 didn't fix it.

 How does a big-toe guy regenerate the database emerge --sync normally
 keeps for my machine?

 Too funny! (Hey - at least I provided a laugh I hope!) :-)))

 - Mark



 I think this will help:

 emerge-webrsync

 That should download the complete tree.  It will be a pretty good size file
 tho just in case you have dial-up or some other slow connection.

 Dale

 :-)  :-)

 P. S.  Careful with the toe next time.  lol

Thanks Dale, and to Andrea also.

On my machine I'm not finding a man page on emerge-webrsync so I'm a
bit hesitant to run it until I find maybe some information on line.

Andrea's emerge --metadata command is one thing I thought about last
night, along with maybe --regen, but decided it wasn't worth messing
things up. I think maybe the removal of eix completely, then removal
of the cache database, and then re-emerging eix and starting clean
with that program might be the safest first step, assuming that I
don't find a problem with emerge itself this evening.

Thanks for the ideas.

Cheers,
Mark



Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Nganon
On 18 August 2010 14:59, William Kenworthy bi...@iinet.net.au wrote:

 On Wed, 2010-08-18 at 14:09 +0300, Nganon wrote:
 
 
  On 17 August 2010 22:34, Enrico Weigelt weig...@metux.de wrote:
  For things I'd like to keep an history (eg. /etc) I'm using
  git, and
  pushing the repo to a remote server (denying non-fastfoward
  updates
  there, so an theorectical highjacker cannot destroy my
  history)
 
 
  Using git for /etc is a great idea.
  Thanks.
 
 Another option is:
 *  app-backup/dirvish
  Latest version available: 1.2.1
  Latest version installed: 1.2.1
  Size of downloaded files: 47 kB
  Homepage:http://www.dirvish.org/
  Description: Dirvish is a fast, disk based, rotating network
 backup system.
  License: OSL-2.0


 Works by first creating a copy (--init) and then hard-linking subsequent
 versions of files/directories back to the original original if its
 identical.  If a file is changed/new, it is copied instead of linked so
 actual space usage quickly stabilises even with a varying number of
 versions.  Backup over the network (this is how I have configured mine)
 uses rsync over ssh with keys and is pull from a cron job on the
 backup server or manual on demand (i.e., server initiated).

 Version management is by a reasonably sophisticated date of version
 scheme where by running dirvish-expire deletes out of date versions
 (runs in a cron job).  The smart part is that once the last hard link to
 file is deleted, its gone, otherwise its kept in the remaining
 versions :)

 Restore is a simple matter of identifying the version you want and
 copying it back - Ive restored individual files through to complete
 systems after total disk failure.

 Can do includes/excludes, whole systems or just directories such as /etc
 and can be easily automated.

 Doesnt use compression, but most backup regimes (every day for a weekly
 rota + a Sunday kept for 6 months) stabilise at about 2x the original
 (gross) copy size, no matter how many copies with average changes
 between versions.  Though large scale changes such as an emerge -e
 world will take more as it will generate new copies of most files.

 Downside is it will hammer the destination file system - reiserfs3 works
 well, ext2/ext3 have been hopeless everytime I've tried - mass
 corruption.  The file system will need a large number of inodes (for
 links) if there are an excessive number of files x versions - again
 reiserfs3 scores well here.

 Highly recommended!

 BillK




Thanks. It sound just it is made just for this. It even call itself 'time
machine'.
Obviously compression is left out by using links but it sounds kind of
overwhelming to me. I don't have a reiserfs partition and cannot afford to
have one at the mo..


Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Nganon
On 18 August 2010 17:53, Bill Longman bill.long...@gmail.com wrote:

 On 08/18/2010 04:53 AM, Nganon wrote:
  I did not know that. I was thinking of, in couple of months, buying a
  notebook
  with two HDDs with RAID1 installed and using the usb drive as a backup
  destination. So if RAID got corruped, the backups, made since then,
  would be
  useless? How would you resolve it?

 The ONLY thing RAID will save you from is hardware failure.

 Copying data from one disk to another is not RAID. If you use dd to copy
 from one corrupt filesystem to another, you have two corrupt filesystems.

 Clear now, thanks.


 If you want a robust filesystem, look into ZFS/BTRFS.


AFAIK ZFS is unmaintained and BTRFS is not stable, am I wrong?


Re: [gentoo-user] Regenerate portage cache from scratch following a big toe crash?

2010-08-18 Thread Dale

Mark Knecht wrote:

On Tue, Aug 17, 2010 at 9:17 PM, Dalerdalek1...@gmail.com  wrote:
   

Mark Knecht wrote:
 

OK, this is too funny. I'm sitting here in the dark browsing around on
my home machine while I'm doing an eix-sync. I have my legs crossed,
sitting in my chair that swivels, and guess what...my big toe is at
__exactly__ the height of the main power button on my APC UPS, and
darn if I don't hit it and power is gone!

The machine booted and came back up with no obvious problems but when
I tried to continue with the eix-sync I get some pretty messed up
messages, ala:

Can't read cache file
/usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
  Reading category 146|154 ( 94%): x11-libs ..
Can't read cache file
/usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
  Reading category 146|154 ( 94%): x11-libs ..
Can't read cache file
/usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
  Reading category 146|154 ( 94%): x11-libs ..
Can't read cache file
/usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
  Reading category 146|154 ( 94%): x11-libs ..
Can't read cache file
/usr/portage/metadata/cache/x11-libs/pixman-0.18.4: Success
  Reading category 154|154 (100%) Finished

I tried removing the timestamp file to get it to sync again but that
didn't fix it.

How does a big-toe guy regenerate the database emerge --sync normally
keeps for my machine?

Too funny! (Hey - at least I provided a laugh I hope!) :-)))

- Mark


   

I think this will help:

emerge-webrsync

That should download the complete tree.  It will be a pretty good size file
tho just in case you have dial-up or some other slow connection.

Dale

:-)  :-)

P. S.  Careful with the toe next time.  lol
 

Thanks Dale, and to Andrea also.

On my machine I'm not finding a man page on emerge-webrsync so I'm a
bit hesitant to run it until I find maybe some information on line.

Andrea's emerge --metadata command is one thing I thought about last
night, along with maybe --regen, but decided it wasn't worth messing
things up. I think maybe the removal of eix completely, then removal
of the cache database, and then re-emerging eix and starting clean
with that program might be the safest first step, assuming that I
don't find a problem with emerge itself this evening.

Thanks for the ideas.

Cheers,
Mark
   


What you described above is what emerge-webrsync does.  Remember during 
the install when you downloaded a snapshot of the tree?  That is 
basically what that does.  It replaces the whole tree.  Since you don't 
know what is corrupt, that is what I would do anyway.  When you run a 
regular sync, it just replaces the files that have been updated or 
changed in some way.


Actually, I would rm everything except distfiles and then sync.  That 
would do the same thing but then I know for sure anything corrupt is 
gone for sure and I have a fresh start.


Your mileage may vary tho.  ;-)

Dale

:-)  :-)



Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Bill Longman
On 08/18/2010 11:03 AM, Nganon wrote:
 Clear now, thanks.
  
 
 If you want a robust filesystem, look into ZFS/BTRFS.
 
 
 AFAIK ZFS is unmaintained and BTRFS is not stable, am I wrong? 

Not really. ZFS is only available on Solaris right now. I seem to
remember it was running on one of the BSD's, too, since it's a matter of
licensing that is the hurdle of greatest height. I've only played with
BTRFS on my dev box and the simple workout I gave it did not tax it in
any way--it worked okay.



Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Joerg Schilling
Bill Longman bill.long...@gmail.com wrote:

 On 08/18/2010 11:03 AM, Nganon wrote:
  Clear now, thanks.
   
  
  If you want a robust filesystem, look into ZFS/BTRFS.
  
  
  AFAIK ZFS is unmaintained and BTRFS is not stable, am I wrong? 

Why do you believe ZFS is unmaintained?

 Not really. ZFS is only available on Solaris right now. I seem to
 remember it was running on one of the BSD's, too, since it's a matter of
 licensing that is the hurdle of greatest height. I've only played with
 BTRFS on my dev box and the simple workout I gave it did not tax it in
 any way--it worked okay.

ZFS has a very free license. This was the reason, why it could be ported to the 
BSDs. So why do you believe there is a license hurdle?

Also note: btrfs now is three years old. ZFS was started aprox. 10 years ago.
For this reason, btrfs is expected to need another 7 years to readh the level 
of stability currently seen with ZFS.


Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Still Struggling With Wireless

2010-08-18 Thread Elmar Hinz
This is a full protocol of all steps I need to do to get wlan0 running
with wpa_supplicant:

http://en.gentoo-wiki.com/wiki/Asus_PRO52H#Network


Al



Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Nganon
On 18 August 2010 21:37, Bill Longman bill.long...@gmail.com wrote:

 On 08/18/2010 11:03 AM, Nganon wrote:
  Clear now, thanks.
 
 
  If you want a robust filesystem, look into ZFS/BTRFS.
 
 
  AFAIK ZFS is unmaintained and BTRFS is not stable, am I wrong?

 Not really. ZFS is only available on Solaris right now. I seem to
 remember it was running on one of the BSD's, too, since it's a matter of
 licensing that is the hurdle of greatest height. I've only played with
 BTRFS on my dev box and the simple workout I gave it did not tax it in
 any way--it worked okay.


Right, remembered after reading the 'licensing', it was only available
through FUSE.

I just checked on BTRFS. wiki.kernel.org says BTRFS is stable as of 2.6.29
but still
masked on Gentoo. I will read more about it later and decide whether to
convert.


Re: [gentoo-user] Re: [gentoo-user] [OT] £ sign in OpenOffice

2010-08-18 Thread Frank Steinmetzger
Am Dienstag, 17. August 2010 schrieb Mick:

I am puzzled by this problem.  One box of mine seems to be unable to
show the GBP sign in OpenOffice.  In any OOo application it shows a
capital A with umlauts and then shows the £ sign.

In the OOo Language Settings I have selected as Default Currency GBP
£ English (UK) just as I have on two other boxen, which work fine.

The locales are the same LC_MONETARY=en_GB.UTF-8 on all of them.
   
   Different font sets installed?

Seeing a character as Ä or à and someting looks more like an encoding problem, 
because usually à and something is unicode interpreted as single-byte.

   I don't use OO so I cannot speak to it's internal settings.
   
   Good luck,
   Mark
  
  I looked at this box again and it transpires that it also has this
  problem in Kmail, not just OOo.  There don't seem to be any other
  problems with the characterset or keyboard, only the GBP sign.
 
 Just adding to this, the £ sign works fine on the console.  It is the X
 applications (including terminals) that seem to have the problem with the
 '£' sign.

I assume you use KDE because you mention KMail. What have you set in KDE’s 
keyboard layout (Personal - Regional Settings)? (Or if not KDE, then in 
$your_DE’s settingss)
-- 
Gruß | Greetings | Qapla'
begin signature_virus
  Hi! I’m a signature virus.
  Please copy me to your signature to help me spread.
end


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


Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Nganon
On 18 August 2010 21:49, Joerg Schilling 
joerg.schill...@fokus.fraunhofer.de wrote:

 Bill Longman bill.long...@gmail.com wrote:

  On 08/18/2010 11:03 AM, Nganon wrote:
   Clear now, thanks.
  
  
   If you want a robust filesystem, look into ZFS/BTRFS.
  
  
   AFAIK ZFS is unmaintained and BTRFS is not stable, am I wrong?

 Why do you believe ZFS is unmaintained?


I was unsure, thats why I asked if I was wrong. My bad.

  Not really. ZFS is only available on Solaris right now. I seem to
  remember it was running on one of the BSD's, too, since it's a matter of
  licensing that is the hurdle of greatest height. I've only played with
  BTRFS on my dev box and the simple workout I gave it did not tax it in
  any way--it worked okay.

 ZFS has a very free license. This was the reason, why it could be ported to
 the
 BSDs. So why do you believe there is a license hurdle?


Because ZFS is licensed with Sun CDDL, which is incompatible with GNU GPL,
so it cant be distributed with Linux kernel. That's why it is ported to
FUSE.

 Also note: btrfs now is three years old. ZFS was started aprox. 10 years
 ago.
 For this reason, btrfs is expected to need another 7 years to readh the
 level
 of stability currently seen with ZFS.


ZFS was announced on 2004. So approximately six year, not ten. Besides,
things in
computer world do not always work that linearly, you know.


Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Bill Longman
On 08/18/2010 11:49 AM, Joerg Schilling wrote:
 Bill Longman bill.long...@gmail.com wrote:
 
 On 08/18/2010 11:03 AM, Nganon wrote:
 Clear now, thanks.
  

 If you want a robust filesystem, look into ZFS/BTRFS.


 AFAIK ZFS is unmaintained and BTRFS is not stable, am I wrong? 
 
 Why do you believe ZFS is unmaintained?

That's Nganon's comment. I'll let him answer.

 
 Not really. ZFS is only available on Solaris right now. I seem to
 remember it was running on one of the BSD's, too, since it's a matter of
 licensing that is the hurdle of greatest height. I've only played with
 BTRFS on my dev box and the simple workout I gave it did not tax it in
 any way--it worked okay.
 
 ZFS has a very free license. This was the reason, why it could be ported to 
 the 
 BSDs. So why do you believe there is a license hurdle?

Only for getting it to run on Linux. The CDDL doesn't play well with GPL.

 Also note: btrfs now is three years old. ZFS was started aprox. 10 years ago.
 For this reason, btrfs is expected to need another 7 years to readh the level 
 of stability currently seen with ZFS.

Might take even less!



Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Joerg Schilling
Nganon nganon+gen...@gmail.com wrote:

   Not really. ZFS is only available on Solaris right now. I seem to
   remember it was running on one of the BSD's, too, since it's a matter of
   licensing that is the hurdle of greatest height. I've only played with
   BTRFS on my dev box and the simple workout I gave it did not tax it in
   any way--it worked okay.
 
  ZFS has a very free license. This was the reason, why it could be ported to
  the
  BSDs. So why do you believe there is a license hurdle?
 
 
 Because ZFS is licensed with Sun CDDL, which is incompatible with GNU GPL,
 so it cant be distributed with Linux kernel. That's why it is ported to
 FUSE.

The CDDL is as incompatible to the GPL as the BSD license.

Both do not allow to change the license of the code and for this reason, a code 
combination cannot happen as a derivative work. If you like to create a 
derivative work from a GPL program and BSD code from another person, you would 
need to declare the code from another person to be _your_ modification. This
is something that would violate the Copyright law.

The GPL however permits code combinations as collective work. As the GPL 
then is only valir for the GPL part of the whole, this does not cause 
incompatibilities.


  Also note: btrfs now is three years old. ZFS was started aprox. 10 years
  ago.
  For this reason, btrfs is expected to need another 7 years to readh the
  level
  of stability currently seen with ZFS.
 
 
 ZFS was announced on 2004. So approximately six year, not ten. Besides,
 things in
 computer world do not always work that linearly, you know.

In 2002, the ZFS developers have already been forced to have their 
homedirectories on ZFS. In 2004, ZFS was already under test in universities.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



[gentoo-user] Kernel questions

2010-08-18 Thread Elmar Hinz
1.) Is there a Map: modules to configration parameters?

lspci -k lists me all modules of the running genkernel.
Unfortunately the configuration parameters of the kernel have
different names.


2.) Which approach would you recommend?

To customize the kernel I can either strip down the configuration of
the genkernel or start with an empty .config file.


3.) Is there a concept behind the default settings of make menuconfig
if you start with an empty .config?

I don't see it.


4.)  Is there a concept behind the default settings of make if .config is empty?

Similar question. Running make with an empty .config file starts a
questionary on the shell, with given default settings.

Accepting all defaults doesn't even contain ext2 or ext3 on the one
hand, but a few comparingly rare selections on the other.


5.) Where are my platform specific drivers?

 X86 Platform Specific Device Drivers  ---

I get them if I strip down genkernel.

Now I started with the shell questionary and than I edit the result
with menuconfig. The submenu doesn't open or is empty.

Al



Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Alan McKinnon
Apparently, though unproven, at 20:49 on Wednesday 18 August 2010, Joerg 
Schilling did opine thusly:

  remember it was running on one of the BSD's, too, since it's a matter of
  licensing that is the hurdle of greatest height. I've only played with
  BTRFS on my dev box and the simple workout I gave it did not tax it in
  any way--it worked okay.
 
 ZFS has a very free license. This was the reason, why it could be ported to
 the  BSDs. So why do you believe there is a license hurdle?

You appear to not fully understand the licenses.

Remember that the Linux kernel is GPL-2 and it's modules are considered 
derivative works. The GPL-2 license demands that all derivative works be 
either GPL-2 licensed or 100% compatible with the GPL-2.

ZFS is licensed CCDL which although free and liberal, is not GPL-2 compatible. 
It is BSD-compatible which is why the BSDs can (and some do) ship it.

The ZFS license is thus not a mere hurdle, it is an un-overcomeable barrier in 
it's current form. If Oracle were to re-license it then the problem could be 
solved, but few in this game hold any hope of that ever happening.

But all of this has been hashed to death many many many times here and in 
other places - to the point where it is now conclusive. Google will reveal the 
entire discussion in all it's painful detail. Start with lkml.

Let's not rehash it here again. Please, I beg of you. Let us not do that.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Kernel questions

2010-08-18 Thread Nganon
On 18 August 2010 22:30, Elmar Hinz oss.el...@googlemail.com wrote:

 1.) Is there a Map: modules to configration parameters?

 lspci -k lists me all modules of the running genkernel.
 Unfortunately the configuration parameters of the kernel have
 different names.


Submit your lspci -n output here and get amused by the magic
http://kmuto.jp/debian/hcl/
You can then search the modules in menuconfig using / and shift+insert

For the rest of your questions, in short, all I can say is I followed the
instructions in the gentoo handbook:
cd /usre/srx/linux
make menuconfig
and spend hours for customizing my kernel using menuconfig and its help.

I am sure more experienced users will show you a better way in a minute.


Re: [gentoo-user] Kernel questions

2010-08-18 Thread Andrea Conti
Hello,

 1.) Is there a Map: modules to configration parameters?

I don't think so.
The help text for most modules has a reference to the actual module name
(something like the module will be called ). If you're looking for
something specific you could try grepping for that in the
/usr/src/linux/**/Kconfig files and see what setting it belongs to.

 To customize the kernel I can either strip down the configuration of
 the genkernel or start with an empty .config file.

I generally start with a .config from a similar machine :)
Failing that, I prefer the empty config route.

 3.) Is there a concept behind the default settings of make menuconfig
 if you start with an empty .config?

AFAIK every time you have no .config you get the default settings for
the current arch, which are created by running make defconfig. I guess
they're what Linux is using... (just kidding -- I have no clue)

 5.) Where are my platform specific drivers?
 
  X86 Platform Specific Device Drivers  ---

Most settings in that submenu depend on specifig things being enabled
elsewhere (e.g. an ACPI driver). If you have actually selected
X86_PLATFORM_DEVICES=Y, and you get an empty submenu, chances are the
rest of your configuration is such that nothing in there can be selected.

For more information check the contents of
/usr/src/linux/drivers/platform/x86/Kconfig

HTH,
andrea



Re: [gentoo-user] How to build a time machine on Gentoo

2010-08-18 Thread Joerg Schilling
Alan McKinnon alan.mckin...@gmail.com wrote:

  ZFS has a very free license. This was the reason, why it could be ported to
  the  BSDs. So why do you believe there is a license hurdle?

 You appear to not fully understand the licenses.

Well, I of course fully understand the licenses. It may however be that you 
are missinformed because you have been listening to the wrong people. 

 Remember that the Linux kernel is GPL-2 and it's modules are considered 
 derivative works. The GPL-2 license demands that all derivative works be 
 either GPL-2 licensed or 100% compatible with the GPL-2.

This is a claim that in conflict with the US copyright law.

Check out:

http://www.osscc.net/en/gpl.html

There are verious statements from various lawyers that explain this and even 
give evidence for their claims.

The GPL tries to redefine the definition for the term derivative work but 
this 
is forbidden by US Copyright law title 17 section 106. See my other posting for 
more information.


 ZFS is licensed CCDL which although free and liberal, is not GPL-2 
 compatible. 
 It is BSD-compatible which is why the BSDs can (and some do) ship it.

 The ZFS license is thus not a mere hurdle, it is an un-overcomeable barrier 
 in 

The only hurdle is in the brain of some Linux developers.

I know of not a single lawyer that could claim such incompatibility and gives 
evidence for his statements.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Kernel questions

2010-08-18 Thread Paul Hartman
On Wed, Aug 18, 2010 at 3:03 PM, Andrea Conti a...@alyf.net wrote:
 Most settings in that submenu depend on specifig things being enabled
 elsewhere (e.g. an ACPI driver). If you have actually selected
 X86_PLATFORM_DEVICES=Y, and you get an empty submenu, chances are the
 rest of your configuration is such that nothing in there can be selected.

Also, in menuconfig you can type / which will allow you to search. The
search results will tell you which other options the items depend on
and which menu they are located in, so you can find them and enable as
needed.



[gentoo-user] LINGUAS

2010-08-18 Thread Elmar Hinz
The gentoo wiki suggests in different places to set the LINGUAS
environment variable in make.conf.

What has LINGUAS todo with make? I would expect it in rc.conf near the
UNICODE setting.

Al



Re: [gentoo-user] LINGUAS

2010-08-18 Thread Alan McKinnon
Apparently, though unproven, at 23:25 on Wednesday 18 August 2010, Elmar Hinz 
did opine thusly:

 The gentoo wiki suggests in different places to set the LINGUAS
 environment variable in make.conf.
 
 What has LINGUAS todo with make? I would expect it in rc.conf near the
 UNICODE setting.


It has nothing to do with make. It has everything to do with portage.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: [gentoo-user] [OT] £ sign in OpenOffice

2010-08-18 Thread Mick
On Wednesday 18 August 2010 19:58:14 Frank Steinmetzger wrote:

  Just adding to this, the £ sign works fine on the console.  It is the X
  applications (including terminals) that seem to have the problem with the
  '£' sign.
 
 I assume you use KDE because you mention KMail. What have you set in KDE’s
 keyboard layout (Personal - Regional Settings)? (Or if not KDE, then in
 $your_DE’s settingss)

Yes, this box is running KDE.

The regional settings show United Kingdom.

The only thing that is different to other boxen of mine is that I have not set 
up /etc/hal/fdi/policy/10-keymap.fdi to define:

merge key=input.xkb.layout type=stringuk/merge

When I set up such a file in /etc/ then I can no longer use the keyboard in 
KDE.  I have to fall back to a console and work from there.
-- 
Regards,
Mick


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


Re: [gentoo-user] Still Struggling With Wireless

2010-08-18 Thread Jake Moe
 On 18/08/10 12:56, CJoeB wrote:
  On 08/18/10 01:12, Jake Moe wrote:
  On 18/08/10 09:04, CJoeB wrote:
  On 08/17/10 10:55, Jake Moe wrote:
  On 08/17/10 11:55, Adam Carter wrote:
 Hi,

 I'm biting the bullet here and asking for help.  Yes! I've posted
 before.  And before anyone asks, I have read the responses to my
 previous posts which helped little.  I have read the documentation and
 the wikis - ad nauseum.  I'm still having problems with wireless.

 I use wpa_supplicant to provide the wifi crypto.
 So, I'm left with trying to use the iwl3945 driver in the kernel.  I
 followed the wiki for setting this up and thought I had succeeded.  I
 got to the point where I was told to type the following:
 ifconfig wlan0 up (this does activate the wireless led on my computer)
 iwlist wlan0 scan
 iwconfig wlan0 essid network name  (where the network name is the
 essid that has been set)

 When I got this to work, I thought I was home free despite the kludgy
 way of getting wireless working.  However, I rebooted and now, when I
 type iwlist wlan0 scan I get told that scanning is not supported.  Yes,
 I have iwl3945-ucode installed and yes, it was recompiled after the
 kernel was rebuilt.

 I have no idea what I'm doing wrong.
 Forgetting to post up your configs :) eg /etc/conf.d/net etc
 I've used the iwl3945 on a few HP laptops without much problem.  The few
 problems I had were related to switching the wireless on and off; I'd
 have to rmmod and modprobe kernel modules to get it working again.

 Does ifconfig list the interface?  If not, what does ifconfig wlan0
 up do?  What about the output of iwconfig?  And going for the obvious
 here, any chance that the wireless is turned off?

 Jake Moe


 iwconfig lists the interface as wlan0

 I discovered last night after sending my original message that my
 symlink was wrong - I used to have net.eth0 and net.eth1 pointing to
 net.lo.  However, last night I removed the net.eth1 symlink and created
 the net.wlan0 symlink to net.lo.  Now when I boot the computer, my
 wireless comes up and the LED comes on, but then it times out because (I
 assume) it can't establish a connection.

 This is my /etc/conf.d/net file.  Note that the any used to work when
 I used the ipw3945 driver.  I would scan for available networks.  I
 tried last night to change the any to the essid printed on my Bell
 router, but that didn't work. 


 # This blank configuration will automatically use DHCP for any net.*
 # scripts in /etc/init.d.  To create a more complete configuration,
 # please review /etc/conf.d/net.example and save your configuration
 # in /etc/conf.d/net (this file :]!).

 #preup() {
 #  if [[ ${IFACE} = wlan0 ]]; then
 # sleep 3
 #  fi
 #  return 0
 #}

 modules=( iwconfig )
 iwconfig_wlan0=mode managed
 config_eth0=(dhcp)
 config_wlan0=(dhcp)
 wpa_timeout_wlan0=15
 essid_wlan0=any

 Regards,

 Colleen
 This is the wireless part of mine:

 modules=( iwconfig )
 config_wlan0=( noop dhcp )
 dhcpcd_wlan0=( -d -t 15 )
 associate_order=( forcepreferredonly )
 associate_timeout=( 5 )
 preferred_aps=( firstessid secondessid )
 key_firstessid=( THIS-ISMY-KEY1-1234-5678-90AB-CD )
 key_secondessid=( THIS-ISMY-KEY2-ABCD-EFGH-IJKL-MN )


 I've removed anything not having to do with the wireless for clarity. 
 From memory, the only lines needed are modules, config_wlan0, and
 preferred_aps (I have two because I also use wireless at my g/f's
 mum's house).  Oh, and I use forcepreferredonly so it'll try to
 connect even though it can't find my essid by scanning (because I've
 told my router to stop broadcasting the essid of my wireless network),
 and it'll only try to connect to networks I specifically tell it to, no
 others.  If your essid is hidden as well, you'll probably need to add
 either forcepreferredonly or forceany if you want it to auto-connect
 to any it finds if it can't connect to yours.

 Reading through the wireless.example file, I came across this:

 
 ##
 # SETTINGS
 
 ##
 # Hard code an ESSID to an interface - leave this unset if you wish
 the driver
 # to scan for available Access Points
 # Set to any to connect to any ESSID - the driver picks an Access
 Point
 # This needs to be done when the driver doesn't support scanning
 # This may work for drivers that don't support scanning but you need
 automatic
 # AP association
 # I would only set this as a last resort really - use the preferred_aps
 # setting at the bottom of this file

 Which is why I used perferred_aps instead of essid_wlan0.  Give that a
 try, perhaps?

 Jake Moe


 Haven't tried this yet - just got the e-mail and it's almost 11:00 p.m.
 and time for me to hit the sack.  However, I wanted to point this
 out.  This test was copied from dmesg.  Unless, I 

Re: [gentoo-user] Re: [gentoo-user] [OT] £ sign in OpenOffice

2010-08-18 Thread Mick
On Tuesday 17 August 2010 23:10:31 Peter Ruskin wrote:
 On Tuesday 17 August 2010 20:23:08 Mick wrote:
  On Tuesday 17 August 2010 08:28:11 you wrote:
   On Friday 06 August 2010 21:13:06 Mark Knecht wrote:
On Fri, Aug 6, 2010 at 12:11 PM, Mick
 
 michaelkintz...@gmail.com wrote:
 I am puzzled by this problem.  One box of mine seems to be
 unable to show the GBP sign in OpenOffice.  In any OOo
 application it shows a capital A with umlauts and then
 shows the £ sign.
 
 In the OOo Language Settings I have selected as Default
 Currency GBP £ English (UK) just as I have on two other
 boxen, which work fine.
 
 The locales are the same LC_MONETARY=en_GB.UTF-8 on all
 of them.
 
 Any ideas?
 --
 Regards,
 Mick

No real idea but possibly:

Different font sets installed?

Incorrect/different font paths in xorg.config?

I don't use OO so I cannot speak to it's internal settings.

Good luck,
Mark
   
   I looked at this box again and it transpires that it also has
   this problem in Kmail, not just OOo.  There don't seem to be
   any other problems with the characterset or keyboard, only the
   GBP sign.
  
  Just adding to this, the £ sign works fine on the console.  It is
  the X applications (including terminals) that seem to have the
  problem with the '£' sign.
 
 Why not use xmodmap? Here's a line from my $HOME/.Xmodmap:
   keycode  12 = 3 sterling threesuperior Greek_OMEGA
 
 Evoke using xmodmap ~/.Xmodmap
 
 Shift+3=£; Shift+AltGr+3=Ω; AltGr+3=³

Thanks Peter, I've tried this and it does not work.  :-(
-- 
Regards,
Mick


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


[gentoo-user] Re: emerge 32bits on 64bits platform

2010-08-18 Thread Nikos Chantziaras

On 08/16/2010 09:13 PM, Stéphane Guedon wrote:

I have read several things about this, but never really solved !

Can I emerge a 32bits software on 64bits platform with a multilib profile ?

All my web browsers (konqueror, opera, chromium, firefox) are 64bits, whereas
flash player exist currently in 32bits. So, I need to have 32bits browser ! Can
I emerge ?

Thanks !


Welcome to hell.  No, that's possible, as others pointed out.  There was 
an initiative to bring true multilib to Gentoo a year or so back (maybe 
more) but it seems it died and no one's working on it.


For your browser this is probably not so problematic.  But imagine 
someone running the latest graphics stack (libdrm, mesa, etc.) on his 
64bit machine, but its totally useless because proprietary Linux games 
are 32bit and thus won't run.


It's 2010 and Gentoo still hasn't solved that :-/




[gentoo-user] autodepclean script (was how to remove HAL)

2010-08-18 Thread Walter Dnes
On Tue, Aug 17, 2010 at 09:49:22PM +0200, Enrico Weigelt wrote

 I've just experimented a bit with that and it turned out that 
 --depclean doesn't clean up the buildtime-only deps. But if I
 remove one of them (eg. cabextract), they don't get pulled in again
 (that's indicating the depending ebuilds are written properly).

  This reminds me of a script I've been working on to remove unnecessary
cruft.  Everything that follows is run as root, because it runs
emerge.  The attached script autodepclean parses the output from
emerge --pretend --depclean and generates a script cleanscript that
you can run to clean up your system.  This should handle your situation,
but it's also a general solution to the entire class of problems of
cleaning up when you remove all programs or USE flags that pull in a
lib.  It is not restricted to just HAL

  Warning, this script is beta.  Use with care.  It will remove
gentoo-sources versions higher than your current kernel.  This is
technically correct for removing unused ebuilds.  But it may not be what
you want.

-- 
Walter Dnes waltd...@waltdnes.org
#!/bin/bash
# autodepclean script v 0.01 released under GPL v3 by Walter Dnes 2010/08/18
# Generates a file cleanscript to remove unused ebuilds, including
# buildtime-only dependancies.
#
# Warning; this script is still beta.  I recommend that you check the output
# in cleanscript before running it.  It is agressive about removing unused
# gentoo-sources versions.  This includes those that are higher than your
# current kernel.  This is technically correct for removing unused ebuilds,
# but it may not be what you want.
#
echo #!/bin/bash  cleanscript
echo #  cleanscript.000
emerge --pretend --depclean |\
  grep -A1 ^ .*/ |\
  grep -v ^ \* |\
  grep -v ^-- |\
  sed :/: {
N
s:\n::
s/selected: /-/
s/^ /emerge --depclean =/
}  cleanscript.000
while read
do
  echo ${REPLY}  cleanscript
  if [ ${REPLY:0:6} == emerge ]; then
echo revdep-rebuild  cleanscript
  fi
done  cleanscript.000
chmod 744 cleanscript


Re: [gentoo-user] Re: [gentoo-user] [OT] £ sign in OpenOffice

2010-08-18 Thread Frank Steinmetzger
Am Mittwoch, 18. August 2010 schrieb Mick:
 On Wednesday 18 August 2010 19:58:14 Frank Steinmetzger wrote:
   Just adding to this, the £ sign works fine on the console.  It is the X
   applications (including terminals) that seem to have the problem with
   the '£' sign.
  
  I assume you use KDE because you mention KMail. What have you set in
  KDE’s keyboard layout (Personal - Regional Settings)? (Or if not KDE,
  then in $your_DE’s settingss)
 
 Yes, this box is running KDE.
 
 The regional settings show United Kingdom.

Hm.. either here’s a misunderstanding or you looked at the wrong place 
(because in Regional Settings, there is also a tab with Region in its name). 
I meant the active layout in the Keyboard Layout tab, where you have dozens 
of countries to chose from and where you can enable/disable the display of a 
flag in the tray area. Did you mean that one?
-- 
Gruß | Greetings | Qapla'
Pilot: Radar, Good Day, Airforce Blackbird, request FL 600
Controller (with a chuckle): Sir, if you can reach, you are cleared FL 600
Pilot: US Air Force Blackbird, leaving FL 800, descending Level 600


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