Re: [gentoo-user] new box DRI problem : more

2007-10-30 Thread Benno Schulenberg
Philip Webb wrote:
 The kernel is 2.6.22-r8 : I will try 2.6.23 tomorrow.

No need, sorry, I was pointing you in the wrong direction.  Kernel 
2.6.22 already knows about 29c2 for i915.

 I checked the wiki paragraph  the subdir it refers to
  the modules are already built  'lsmod' shows them installed:
 is there any sense in rebuilding them ?

No.  But do build the Mesa modules from git, the 1.2.2 and 1.4 part:

  http://dri.freedesktop.org/wiki/Building

These three lines were added to i915/intel_context.h since 7.0.1:

#define PCI_CHIP_G33_G  0x29C2
#define PCI_CHIP_Q35_G  0x29B2
#define PCI_CHIP_Q33_G  0x29D2

So, time to install git and do a big pull.  :)

(Don't build libdrm, the x11-libs/libdrm-2.3.0 you have is fine.)

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] eth0 fallback configuration is ignored

2007-10-30 Thread Mark Shields
On 10/29/07, Mick [EMAIL PROTECTED] wrote:

 On Sunday 28 October 2007, Dan Farrell wrote:
  On Sun, 28 Oct 2007 12:19:13 +
 
  Mick [EMAIL PROTECTED] wrote:
   On Saturday 27 October 2007, Dan Farrell wrote:
On Sat, 27 Oct 2007 21:58:11 +0930
   
Iain Buchanan [EMAIL PROTECTED] wrote:

This behaviour is called APIPA (Automatic PRivate IP Addressing)
(from /etc/conf.d/net.example):
# APIPA is a module that tries to find a free address in the range
# Automatic Private IP Addressing (APIPA)
# use APIPA to find a free address in the range
# 169.254.0.0-169.254.255.255
   
It provides DHCP-like functionality without a DHCP server.  Pretty
useless, unless you use it to configure all your IPs or a route for
that subnet.
  
   Even worse, if your DHCP server comes up later, your PC will still
   hold on to APIPA - not sure how this feature can be of any use to be
   honest, but most devices these days from MS Windows to PDAs tend to
   behave like this.

 Let me correct myself here: my Gentoo boxen behave like this.  A WinXP
 that I
 tested for this purpose does not.  It comes up with the APIPA address and
 when a router becomes available in the network later on, it readily
 obtains a
 dhcp address and drops the APIPA.  Any idea how to configure Gentoo to do
 the
 same?


I think ifplugd does this.

 eix ifplugd
* sys-apps/ifplugd
 Available versions:  0.28-r7 ~0.28-r8 {doc}
 Homepage:http://0pointer.de/lennart/projects/ifplugd/
 Description: Brings up/down ethernet ports automatically with
cable detection





-- 
- Mark Shields


[gentoo-user] usb tv - compro u300

2007-10-30 Thread William Kenworthy
I am having another go at getting a compro u300 usb receiver working
under gentoo for mythtv.  Is there anyone who has this running who can
give me a list of kernel modules loaded and extra software needed (i.e.,
are mercurial and hg needed - they are not building for me at the
moment, or are the dib7700 or an em28xx module needed? - getting very
confused by google!)

BillK

-- 
William Kenworthy [EMAIL PROTECTED]
Home in Perth!
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Encrypted Backups

2007-10-30 Thread Florian Philipp

Hi list!

I'm in need of a backup tool and an advice would be helpful because I 
need some special functionality.


I want to make backups from my laptop to a cardreader (pcmcia), making 
daily full and hourly incremental backups *if the card is plugged in* 
(which might not be the case for as long as two days).


Additionally I need some kind of encryption. The key could reside on my 
home partition which is encrypted itself and maybe pam-mount + luks is a 
solution but I'd like to hear some opinions on that topic.


If no one comes up with a better solution, I think two cronjobs with 
tar, gpg and find will do it, don't you think? The alternative would be 
rdiff-backup with some kind of encrypted and possibly compressed file 
system.


Thanks in advance!

Florian Philipp
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Encrypted Backups

2007-10-30 Thread Ed Santiago
Hi,

I want to make backups from my laptop to a cardreader (pcmcia), making 
daily full and hourly incremental backups *if the card is plugged in* 
...
Additionally I need some kind of encryption. 

I highly recommend dar:

http://dar.linux.free.fr/

It handles incrementals well; has built-in encryption (with
optional unencrypted catalog, which is *very* nice); it groks
hardlinks and device nodes; it can create fixed-size slices,
e.g. for burning CDs/DVDs; and it handles deletes on restore.

The downside is that it can be a little clunky to invoke.
But that's what scripts are for.  I wrote my own front end.

Good luck,
Ed
-- 
Ed Santiago   Toolsmith   [EMAIL PROTECTED]

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Encrypted Backups

2007-10-30 Thread Albert Hopkins

On Tue, 2007-10-30 at 14:03 +0100, Florian Philipp wrote:
 Hi list!
 
 I'm in need of a backup tool and an advice would be helpful because I 
 need some special functionality.
 
 I want to make backups from my laptop to a cardreader (pcmcia), making 
 daily full and hourly incremental backups *if the card is plugged in* 
 (which might not be the case for as long as two days).
 
 Additionally I need some kind of encryption. The key could reside on my 
 home partition which is encrypted itself and maybe pam-mount + luks is a 
 solution but I'd like to hear some opinions on that topic.
 
 If no one comes up with a better solution, I think two cronjobs with 
 tar, gpg and find will do it, don't you think? The alternative would be 
 rdiff-backup with some kind of encrypted and possibly compressed file 
 system.

I do pretty much the same on my laptop. I use good ol' tar and pipe it
through GPG.  I don't do incrementals though, so that might be more a
pain, then again maybe not if your index file is left plaintext.

-a

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new box DRI problem : more

2007-10-30 Thread James Ausmus
On 10/30/07, Benno Schulenberg [EMAIL PROTECTED] wrote:
 Philip Webb wrote:
  The kernel is 2.6.22-r8 : I will try 2.6.23 tomorrow.

 No need, sorry, I was pointing you in the wrong direction.  Kernel
 2.6.22 already knows about 29c2 for i915.

  I checked the wiki paragraph  the subdir it refers to
   the modules are already built  'lsmod' shows them installed:
  is there any sense in rebuilding them ?

 No.  But do build the Mesa modules from git, the 1.2.2 and 1.4 part:

   http://dri.freedesktop.org/wiki/Building

 These three lines were added to i915/intel_context.h since 7.0.1:

 #define PCI_CHIP_G33_G  0x29C2
 #define PCI_CHIP_Q35_G  0x29B2
 #define PCI_CHIP_Q33_G  0x29D2

 So, time to install git and do a big pull.  :)

You don't have to go to all that, the media-libs/mesa-7.0.1 works fine
*IF* you apply the attached patch (either hack the ebuild, or CTRL-Z
immediately after emerge gets done unpacking the source). I had the
same problem you did, did the Googling, found the patch, and
everything works fine for me now.

HTH

-James



 (Don't build libdrm, the x11-libs/libdrm-2.3.0 you have is fine.)

 Benno
 --
 [EMAIL PROTECTED] mailing list




g33.patch
Description: Binary data


Re: [gentoo-user] Encrypted Backups

2007-10-30 Thread Neil Bothwick
On Tue, 30 Oct 2007 14:03:48 +0100, Florian Philipp wrote:

 If no one comes up with a better solution, I think two cronjobs with 
 tar, gpg and find will do it, don't you think? The alternative would be 
 rdiff-backup with some kind of encrypted and possibly compressed file 
 system.

You could try duplicity, for the same author as rdiff-backup, which
offers what you want.


-- 
Neil Bothwick

When childhood dies, its corpses are called adults.


signature.asc
Description: PGP signature


Re: [gentoo-user] Adding fonts in LaTeX (app-text/tetex-3.0_p1-r4)

2007-10-30 Thread Stroller


On 29 Oct 2007, at 20:07, Liviu Andronic wrote:

This is not a solution in itself, but you might try this.

... This is a recent TeX distribution,
compared to the ancient TeTeX one. Check to see if it provides the
fonts you need. If it does, you might attempt to remove TeTeX by
following the correspondent removal guide [2], sync Portage, tweak the
USE flags so as to suit your needs and emerge =texlive-2007.

... TeXLive contains more recent
fonts ... and is probably more or less up to date and complete
if you enable the needed USE flags.


Hi Liviu,

Thanks for your reply.

Since the teTeX homepage has for some time carried a de-support  
notice I'm quite happy to upgrade to TeXLive, irrespective of  
whether the fonts I need are preinstalled. Since teTeX has been  
unsupported so long I'm glad that TeXLive has finally made it into  
portage, and it will be a necessary upgrade at some point or another.


I'll get on the case with this this evening, but in the meantime, any  
idea how to add fonts to TeXLive, in case I need to?


Cheers,

Stroller.




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Writing an ebuild, #gentoo-dev-help best place?

2007-10-30 Thread Grant
   I'm writing an ebuild and need some help.  Is #gentoo-dev-help the
   best place to get it?
 [...]
   I've been checking it all morning here:
  
   http://cgiirc.blitzed.org/
  
   and it always seems to be empty.  Is that a real client?
 
  If it show it's empty, then it's a non-functioning one. #gentoo-dev-help
  has 72 users right now.

 It's not exactly non-functioning. It's just on the wrong irc network.
 #gentoo-dev-help is on freenode..

Got it, thanks guys.

- Grant
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Encrypted Backups

2007-10-30 Thread Florian Philipp

Albert Hopkins schrieb:

On Tue, 2007-10-30 at 14:03 +0100, Florian Philipp wrote:

Hi list!

I'm in need of a backup tool and an advice would be helpful because I 
need some special functionality.


I want to make backups from my laptop to a cardreader (pcmcia), making 
daily full and hourly incremental backups *if the card is plugged in* 
(which might not be the case for as long as two days).


Additionally I need some kind of encryption. The key could reside on my 
home partition which is encrypted itself and maybe pam-mount + luks is a 
solution but I'd like to hear some opinions on that topic.


If no one comes up with a better solution, I think two cronjobs with 
tar, gpg and find will do it, don't you think? The alternative would be 
rdiff-backup with some kind of encrypted and possibly compressed file 
system.


I do pretty much the same on my laptop. I use good ol' tar and pipe it
through GPG.  I don't do incrementals though, so that might be more a
pain, then again maybe not if your index file is left plaintext.

-a



Could I see that script? How do you invoke it, anacron/fcron?
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Encrypted Backups

2007-10-30 Thread Albert Hopkins

On Tue, 2007-10-30 at 15:32 +0100, Florian Philipp wrote:
 Could I see that script? How do you invoke it, anacron/fcron?

--
#!/bin/sh

OUTFILE=/root/backup.tar.pgp

tar -c --one-file-system -X /etc/mybackup.exclude -C / . ./boot | \
gpg --encrypt -r [EMAIL PROTECTED] --yes  $OUTFILE
---

I do this manually, about once a month.  No cron jobs.. just kick it off
and then write the image to DVD.

You could of course put in in cron, and then just prepend an 'if'
statement that checks to see if the output devices is inserted/mounted.



-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] sshd Authentication Restrictions

2007-10-30 Thread Josh Cepek
I want to harden my ssh server by restricting most users to Public Key
authentication only.  I can set ChallengeResponseAuthentication no in
the config file, but I can't figure out how to then allow a user or
group within a Match section to use Keyboard-Interactive authentication.
 ChallengeResponseAuthentication is not valid within a Match section.
 When this directive is added globally there seems to be no way to
enable it again under a Match section.  I also tried to set the global
option KbdInteractiveAuthentication no, but this doesn't seem to be
valid outside of a Match section since users can connect without public
keys (the sshd process does accept this option, but it doesn't seem to
actually do anything outside of a Match section.)

At this point the only way I've found to do what I want is to add all
users I want to restrict to a group, create a Match section for this
group, and use the directive KbdInteractiveAuthentication no.  While
this works, I'd like to know if there is a way I can disable it as part
of the global sshd config and enable this authentication only for
specific users.

Thanks for any ideas.

-- 
Josh



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] eth0 fallback configuration is ignored

2007-10-30 Thread Mick
On Tuesday 30 October 2007, Mark Shields wrote:
 On 10/29/07, Mick [EMAIL PROTECTED] wrote:
  On Sunday 28 October 2007, Dan Farrell wrote:
   On Sun, 28 Oct 2007 12:19:13 +
  
   Mick [EMAIL PROTECTED] wrote:
On Saturday 27 October 2007, Dan Farrell wrote:
 On Sat, 27 Oct 2007 21:58:11 +0930

 Iain Buchanan [EMAIL PROTECTED] wrote:

 This behaviour is called APIPA (Automatic PRivate IP Addressing)
 (from /etc/conf.d/net.example):
 # APIPA is a module that tries to find a free address in the range
 # Automatic Private IP Addressing (APIPA)
 # use APIPA to find a free address in the range
 # 169.254.0.0-169.254.255.255

 It provides DHCP-like functionality without a DHCP server.  Pretty
 useless, unless you use it to configure all your IPs or a route for
 that subnet.
   
Even worse, if your DHCP server comes up later, your PC will still
hold on to APIPA - not sure how this feature can be of any use to be
honest, but most devices these days from MS Windows to PDAs tend to
behave like this.
 
  Let me correct myself here: my Gentoo boxen behave like this.  A WinXP
  that I
  tested for this purpose does not.  It comes up with the APIPA address and
  when a router becomes available in the network later on, it readily
  obtains a
  dhcp address and drops the APIPA.  Any idea how to configure Gentoo to do
  the
  same?

 I think ifplugd does this.

Not on my laptop . . .  :(
-- 
Regards,
Mick


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


Re: [gentoo-user] Adding fonts in LaTeX (app-text/tetex-3.0_p1-r4)

2007-10-30 Thread Liviu Andronic
On 10/30/07, Stroller [EMAIL PROTECTED] wrote:
 I'll get on the case with this this evening, but in the meantime, any
 idea how to add fonts to TeXLive, in case I need to?

I could only suggest to look at the installation instructions found in
cm-super, or some other well maintained font.


Liviu
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Encrypted Backups

2007-10-30 Thread James
Florian Philipp f.philipp at addcom.de writes:


 I'm in need of a backup tool and an advice would be helpful because I 
 need some special functionality.

 I want to make backups from my laptop to a cardreader (pcmcia), making 
 daily full and hourly incremental backups *if the card is plugged in* 
 (which might not be the case for as long as two days).

 Additionally I need some kind of encryption. 

Hello Florian,

I do not have any suggestions (yet) but as of today, I've been thinking
about writing an application to process financial data, using some type
of robust encryption, where the (encrypted) data files are stored
onto a usb stick. The only time the app can run is when it detected the
encrypted usbstick is ready I do not want to even store the data on the
computer's HD.


Not exactly the same thing, but similar.  I'll be curious to see
what ideas or existing solutions get posted to your question


James



-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] A week of struggle

2007-10-30 Thread econti

Hi all,
as the subject says! ;-)
Now my system should be updated. gcc, world and, to-day, the kernel. 
Well, everything seems to work fine . . . but:


1 among the boot options I had vga=0x317. Now this option gives me:
  You passed an undefined mode number.
  Press RETURN to see video modes available, SPACE to continue or 
wait 30 secs.

  Video adapter: VESA VGA
  Mode:   COLSxROWS:
  0  0F00  80 x 25
  1  0F01  80 x 50
  2  0F02  80 x 43
  3  0F03  80 x 28
  4  0F05  80 x 30
  5  0F06  80 x 34
  6  0F07  80 x 60
  Why this? What have I forgotten in kernel configuration?

2 (this is really incredible) fonts disappeared on the Realplayer 
window! Instead of chars . . . boxes. i.e. file = 4 boxes, settings 
= 7 boxes, etc ??

Realplayer works fine but it is the only one app with this problem.

I need some tips. ;-)

Regards

emilio

--
[EMAIL PROTECTED] mailing list



[gentoo-user] (OT) ksmoothdock quirk

2007-10-30 Thread Mick
Hi All,

I have set up a KDE desktop for my wife to have ksmoothdock at the bottom and 
the default KDE menu panel at the top.

On the left edge of the desktop I have in a column various shortcuts (desktop 
icons).

The problem is that each time the desktop is loaded and ksmoothdock is 
launched, the icons get progressively bunched up at the top of the screen, 
under the KDE menu panel.  After the machine is rebooted a few times, or the 
desktop reloaded all the icons are hidden under the KDE menu panel at the 
top.

To avoid a domestic and calls for buying an applemac for Christmas could you 
please tell me how to nail those icons on the desktop so that they do not 
shift?  :)
-- 
Regards,
Mick


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


Re: [gentoo-user] A week of struggle

2007-10-30 Thread Dan Farrell
On Tue, 30 Oct 2007 20:48:06 +0100
econti [EMAIL PROTECTED] wrote:

 Hi all,
 as the subject says! ;-)
 Now my system should be updated. gcc, world and, to-day, the kernel. 
 Well, everything seems to work fine . . . but:
 
 1 among the boot options I had vga=0x317. Now this option gives me:
You passed an undefined mode number.
Press RETURN to see video modes available, SPACE to continue
 or wait 30 secs.
Video adapter: VESA VGA
Mode:   COLSxROWS:
0  0F00  80 x 25
1  0F01  80 x 50
2  0F02  80 x 43
3  0F03  80 x 28
4  0F05  80 x 30
5  0F06  80 x 34
6  0F07  80 x 60
Why this? What have I forgotten in kernel configuration?

not exactly sure, but I'd look under menuconfig- Device Drivers-
Graphics support.  In particular: 
*   VESA VGA graphics support 
VESA driver type (vesafb)  (use vesafb-tng on 32-bit)
Console display driver support  ---
 [*]   Video mode selection support (you already have this i think)
 * Framebuffer Console support (you probably have this already)

 2 (this is really incredible) fonts disappeared on the Realplayer -
 Graphics support window! Instead of chars . . . boxes. i.e. file
 = 4 boxes,settings = 7 boxes, etc ??
 Realplayer works fine but it is the only one app with this problem.

I had the same problem with firefox-bin not so long ago.  I created a
forum thread about it:
http://forums.gentoo.org/viewtopic-p-4185590.html#4185590

don't know if it'll help or not.  

 Regards
 
 emilio
 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new box DRI problem : more

2007-10-30 Thread Philip Webb
071030 James Ausmus wrote:
 On 10/30/07, Benno Schulenberg [EMAIL PROTECTED] wrote:
 build the Mesa modules from git, the 1.2.2 and 1.4 part:
   http://dri.freedesktop.org/wiki/Building
 These three lines were added to i915/intel_context.h since 7.0.1:
   #define PCI_CHIP_G33_G  0x29C2
   #define PCI_CHIP_Q35_G  0x29B2
   #define PCI_CHIP_Q33_G  0x29D2
 You don't have to go to all that, the media-libs/mesa-7.0.1 works fine
 *IF* you apply the attached patch (either hack the ebuild
 or CTRL-Z immediately after emerge gets done unpacking the source).
 I had the same problem you did, did the Googling, found the patch
 and everything works fine for me now.

I did try unpacking the MesaLibs distfile, patching  repacking,
but of course Portage objected that the file size was incorrect !
I've looked at the Mesa ebuild, but have no idea how to hack it
nor am I confident of applying the patch during a suspended emerge.
I could try the 2nd, but could you fill out a few more details of the 1st,
which I will note for future occasions ?
This certainly looks like the solution to the DRI problem.

Meanwhile, what I believed to be a small irritant is proving a show-stopper.
Leaving aside DRI, the display from the new machine spills off the screen:
it's way off to the left (eg Gkrellm is invisible on the KDE desktop)
 loses about half the KDE panel when placed at top/bottom/right-side;
mouse-X starts left of centre  the fonts  icons are badly oversized.
KDE Control Centre tells me the display is 1680x1050 @ 60 Hz (as it sb).
Elsewhere, it does appear the screen's physical size ( 430 x 270 mm )
is being recognised, tho' perhaps it's not being applied correctly.

I believed the problem was due to faulty thro'put by my KVM switch,
but plugging the monitor directly into the new machine make no difference.
I don't see any obvious solution in the monitor manual (Samsung 206BW).
The current machine using an Nvidia card  direct monitor plug-in
produces none of these defects, suggesting the cause is the G33 chip.
I'm not keen to buy another Nvidia card, if I can avoid it ...

Any advice here too wb very welcome.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new box DRI problem : more

2007-10-30 Thread Dale
Philip Webb wrote:
 I did try unpacking the MesaLibs distfile, patching  repacking,
 but of course Portage objected that the file size was incorrect !
 snip 

 Any advice here too wb very welcome.

   

You may be able to use the --digest feature so it doesn't check the
tarball before using it.  I think that may work.

Hope that helps.

Dale

:-)  :-)  :-) 
-- 
[EMAIL PROTECTED] mailing list