Re: [gentoo-user] Question about items on the main menu

2008-05-01 Thread Robert Bridge
On Thu, 2008-05-01 at 15:25 -0500, Michael Sullivan wrote:
 I looked it up and found the file.  The Exec line was
 gnome-cups-manager.  Should gnome-cups-manager have some visible GUI,
 because it doesn't.  When I run it at the terminal prompt, it just gives
 me a blinking cursor until I Cntrl+C it...

For me it opens a browser tab to the localhost cups admin page. Is cups
running on the computer in question?

Rob.



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


Re: [gentoo-user] Re: re-appearance of `waiting for lock' bug?

2008-05-01 Thread Robert Bridge
On Thu, 2008-05-01 at 23:21 +0200, Alan McKinnon wrote:
 I've seen similar messages a few times on my boxes recently, but each 
 time the emerge got going again after a short while. So I never really 
 bothered finding out exactly what is going on.

I believe portage recently switched to using parallel-fetch by default,
which causes a similar message to appear if the build thread catches up
with the fetch thread. In this situation, it is, essentially, harmless,
and is just a message to say I haven't died.

Rob.


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


Re: [gentoo-user] Re: Best anti-virus

2008-05-10 Thread Robert Bridge
On Sat, May 10, 2008 3:58 pm, 7v5w7go9ub0o wrote:
 forgottenwizard wrote:
 Realtime Linux Anti-Trojan signature scanning overhead is simply cheap
 (almost free) insurance IMHO, and may be most important when compiling
 and installing new or updated sourcecode. Or installing a new plugin to
 your browser; or opening a media file.

 But I sure acknowledge the majority opinion - almost ALL Linux users,
 and many Windows users as well, choose not to run real-time
 AntiMalware scanners.

Actually, they are not cheap and certainly are not almost free. Real
time scanning is a nice way to bring even high-spec systems to their
knees.

The reality is that an intelligent user doesn't really need the services
they offer, and certainly doesn't need it at the performance cost it
carries.

I expect my operating system to be sufficiently secure (Linux is) that
such threats are minimal, if I'm buying high-spec hardware, I want to be
the one using it, not some silly real-time-scanner package.

And yes, it is possible to lockdown Windows as tightly as a Linux box, you
just need to know what you are doing.

RobbieAB

-- 
RobbieAB Actually, I kinda like the thought of useing CGI to do my
project in Fortran
bonsaikitten that's quite sane

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re enter chroot install

2008-05-14 Thread Robert Bridge
On Thu, 15 May 2008 00:56:29 + (UTC)
James [EMAIL PROTECTED] wrote:
 I have a installation that did not complete successfully. 
 I need to re enter the chroot environment, using a
 install cd.  For argue purposes, let's assume the hard drive
 is formatted exactly as the example in the handbook.  All I want to
 do is emerge an older kernel and compile it.  According 
 to what I glean from the handbook, these are the minimal steps
 to re enter the chroot environment after a failed reboot:
 
 # mount /dev/sda3 /mnt/gentoo

check...

 # mkdir /mnt/gentoo/boot

shouldn't be needed, you did this the first time right?

 # mount /dev/sda1 /mnt/gentoo/boot
 # mount -t proc none /mnt/gentoo/proc
 # mount -o bind /dev /mnt/gentoo/dev
 # chroot /mnt/gentoo /bin/bash
 # env-update
 # source /etc/profile
 # export PS1=(chroot) $PS1

check...

 Anything else I missed?

No, that looks about right.

 Any of the above steps that are not necessary?

the mkdir...

Rob.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] OT: Linux/Standards-friendly mobile phone

2008-05-19 Thread Robert Bridge
On Mon, 19 May 2008 13:29:21 -0500
Albert Hopkins [EMAIL PROTECTED] wrote:

 Well after acquiring my first very own mobile phone only three years
 ago I've come to destroying it last night.  So now I'm in the market
 for a new phone.  I'd prefer something Linux/OSS friendly, but I
 really have no idea right now what's out in the (U.S.) market other
 than iPhone which I'm not interested in.  Anyone got any
 recommendations.  I know OpenMoko and Android are pretty much not
 available to the masses at this point.

It depends on what you mean by Linux/OSS friendly. Motorola have Linux
based mobiles, IIRC, but they are one of the more expensive designs
and they aren't particularly Linux desktop friendly, though they
supposedly follow the standards for OBEX and USB Mass Storage, so
should work, and if they don't, just get the code and look.

OpenMoko is definitely the way forward if you want a device you can
play with though.

Rob
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Mailing list and PGP/MIME

2008-05-29 Thread Robert Bridge
On Fri, 30 May 2008 02:05:42 +0300
Daniel Iliev [EMAIL PROTECTED] wrote:

 On Thu, 29 May 2008 08:38:27 + (UTC)
 [EMAIL PROTECTED] wrote:
 
  W. Canis wrote:
   OK, I can't bring myself a proof of concept.
  
  Allow me to help you with that part.
  
  Personally I still think signatures in public mailing lists are
  overrated.
  
  NOT signed by
  Some Gentoo user with a security job and 5 minutes of time
  
  P.S. Daniel - I really hope this is ok with you. I took your dare
  literally for this one time. Your personality won't be abused by me
  again.
 
 
 No problem,..ehh..PSZ, I presume? :)
 
 It was I who gave the idea and the challenge. Don't worry, it's really
 fine by me.
 
 I admit I looks very much as if the message was sent by me and could
 be deceiving at first glance, but:
 
 
 FAKE:
 ===
 Received: from observed.de (observed.de [81.169.134.89])
   by pigeon.gentoo.org (Postfix) with ESMTP id AE151E05BC
   for gentoo-user@lists.gentoo.org; Thu, 29 May 2008 08:38:27
 + (UTC)
 ===
 
 
 NOT FAKE:
 ===
 Received: from fg-out-1718.google.com (fg-out-1718.google.com
 [72.14.220.153])
by pigeon.gentoo.org (Postfix) with ESMTP id 3E5ACE0229
for gentoo-user@lists.gentoo.org; Mon, 26 May 2008 00:30:07
 + (UTC)
 ===

Except that even that can be faked.

The header is part of the payload, so can be whatever the user decides
to put in, simply fake some a set of relay lines, and how do you know?

Rob.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] gcc-4.3.x and Core 2 Duo, safe way

2008-06-09 Thread Robert Bridge
On Mon, 09 Jun 2008 06:43:41 +0100
Graham Murray [EMAIL PROTECTED] wrote:

 Andrew Gaydenko [EMAIL PROTECTED] writes:
 
  gcc-4.3.1 is umasked now. I'm on ~amd64 with Core 2 Duo CPU. Is it 
  sufficient just to set 
 
  CFLAGS=-O2 -march=core2 -mtune=core2 -pipe
 
  instead of
 
  CFLAGS=-O2 -march=native -mtune=native -pipe
 
  which I have in make.conf now? Are there any other things to do?
 
 Should the two not be equivalent? On a core2 processor, should
 -march=native not generate code for the core2?

If we are going to get picky about this, it should be noted the -march
implies -mtune, at least according to the gcc man pages, and I will
trust them to know. 

I can't remember which will actually be implemented if both are
specified, but march is a essentially a stronger version of mtune which
breaks compatibility with other CPUs within the same ARCH type. (i.e.
march=pentium4 may not run on a pentium3, but should run faster than
mtune on a pentium4)

RobbieAB
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Ati or Nvida

2008-06-18 Thread Robert Bridge
On Wed, 18 Jun 2008 22:04:40 +0200
Enrico Weigelt [EMAIL PROTECTED] wrote:
 I've made the big mistake of bying an notebook w/ geforce go 6100.

There is your problem. A notebook card. Even the nVidia site admits
that the notebook cards are weird. The drivers support the chipset, but
there are no guarantees about the rest of the card, which may cause the
drivers to fail.

I would say that I have a geforce Go 5200, and it works cleanly and
stably with the nVidia drivers, though almost all the hotkey related
features fail. If it didn't work, would I blame nVidia? No, I would
blame Dell, it's Dell laptop after all.

So before you go flaming nVidia for a mobile card, check it is
not actually a problem with the notebook, as notebooks frequently get
customised cards.

Cheers,

Rob.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Microphone help

2008-06-30 Thread Robert Bridge
On Mon, 30 Jun 2008 06:24:44 -0400
Michael Pobega [EMAIL PROTECTED] wrote:
 I bought a Creative NX Pro 2 webcam a few years back, and got it
 working with no problems in Gentoo using the gspcav1 drivers from
 Portage. Now, when I plug in the microphone (Which isn't a USB, but a
 regular microphone) nothing happens. I can't hear it through my
 speakers no matter how high I make the sound and I'm not sure if
 there are any drivers I need to load before it will work.
 
 Running `cat /proc/asound/cards` doesn't do much...It _should_ show my
 device, but in actuality shows:
 
  ackbar linux # cat /proc/asound/cards
   0 [Intel  ]: HDA-Intel - HDA Intel
HDA Intel at 0xfeb38000 irq 16
 
 So at the moment I'm pretty sure my microphone isn't being detected at
 all. Perhaps there is a kernel driver I missed (looked through two
 times) or something I need to emerge?
 
 If this driver is unusable in Gentoo, can someone recommend me a
 (relatively cheap) replacement? Because I'd like to be able to use it
 as soon as possible. Thank you.

Have you checked that the microphone is unmuted? Does your card have
multiple options for the microphone port (line-in as well as mic)?
Have you adjusted the microphone volume?

These are all issues I have had with the microphone on my webcam. The
drivers which matter are the soundcard drivers if you are plugging the
microphone into it, so I am 99.99% sure it will work with the current
setup, once you find the correct combination of settings for the
sound card.

Good luck with it,
Rob.

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Re: Append string on Kernel builds

2009-01-17 Thread Robert Bridge
On Fri, 16 Jan 2009 19:36:42 -0600
rea...@newsguy.com wrote:
 What I asked was if there is some tricky syntax I could use on that
 kernel setting that would do:  linux-2.6.26-gentoo-$HOST-N
 Where N is an incremented number every time I build the kernel without
 running `mrproper'.

Not quite what you are asking, but would appending a timestamp to the
name work instead? It would pretty much guarantee a different name for
every build.

Just a thought,
RobbieAB.


signature.asc
Description: PGP signature


Re: [gentoo-user] Crossover Office and Word 2007

2009-01-26 Thread Robert Bridge

Alan McKinnon wrote:

Other than Office 2007 is there any software out there that can *write* .docx?

Work requires me to use this format sometimes (it's not negotiable) and I can 
get around it 95% of the time, but the 5% causes me insane amounts of grief. 
Even though Office2007 runs perfectly well in CrossOver, I have to put up 
with that stupid bouncing ribbon, menus that are not there and shock 
horror disgust a productivity app that insists on launching all it's 
windows undecorated (this last is the worst of the worst...).


Ooo-3 can read these docs but not write them.


Why can't you use .doc? Anything that can read .docx can read .doc no 
problems. I know in work, we are pretty much pushing the sections with 
Office 2007 (2008) to use .doc and not .docx...


RobbieAB



Re: [gentoo-user] Mpd doesn't play ogg files

2009-03-14 Thread Robert Bridge
Damian wrote:
 Hello,
 
 When I try to play an ogg file, mpd says it is playing it, but there
 is no sound.
 
 Mps has been built with the following use flags:
  Use flags:   (aac) (alsa) (-ao) (-audiofile) (-avahi)
 (flac) (-icecast) (iconv) (ipv6) (-jack) (-libsamplerate) (-mikmod)
 (mp3) (-musepack) (ogg) (-oss) (-pulseaudio) (unicode) (vorbis)
 
 So ogg is enabled. This is quite frustrating :(
 
 Any ideas?

I'm going to ask the really irritating tech support question: Is ALSA
muted? Is the volume set to zero on the speakers?

Probably checked already, but...

RobbieAB



Re: [gentoo-user] What do I mask to go back to xorg-server-1.3.0.0-r6

2009-04-14 Thread Robert Bridge

Michael Sullivan wrote:

I'm trying to roll back xorg-server, and I keep getting stuck:

camille log # emerge -pvuD world

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

Calculating dependencies... done!

!!! All ebuilds that could satisfy =x11-base/xorg-server-1.5 have
been masked.
!!! One of the following masked packages is required to complete your
request:
- x11-base/xorg-server-1.5.3-r5 (masked by: package.mask)
/etc/portage/package.mask:
#   xorg-server masking  #

- x11-base/xorg-server-1.5.3-r4 (masked by: package.mask, ~x86 keyword)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
(dependency required by
x11-drivers/xf86-video-intel-2.6.3-r1 [ebuild])
(dependency required by x11-base/xorg-server-1.3.0.0-r6 [installed])
(dependency required by x11-libs/gtk+-2.14.7-r2 [installed])
(dependency required by app-text/ghostscript-gpl-8.64-r2 [installed])
(dependency required by kde-base/kdegraphics-3.5.9 [installed])
(dependency required by kde-base/kde-3.5.9 [installed])
(dependency required by world [argument])

How do I get passed (sp?) this?
  


You need to mask the most recent intel drivers 
(x11-drivers/xf86-video-intel)


RobbieAB



Re: [gentoo-user] xfce and screen resolution

2009-04-18 Thread Robert Bridge

Michael Sullivan wrote:

A few months ago my wife switched from gnome to xfce because gnome was
just too slow. I performed the X upgrade on her computer last night, and
now she can't get her usual screen resolution of 1024x768 because it's
not on the list.  Is there a way I can get it on the list?  She
doesn't have an /etc/X11/xorg.conf file, as the upgrade guide
recommended getting rid of it.  Several sites on the 'Net suggested
using the xf86Config file, but she doesn't seem to have one.  
  


Is there an entry, default, at the top of the list? What resolution is 
it using for that?


I had a similar problem with XFCE until I realised that default was 
the setting I wanted.


RobbieAB



Re: [gentoo-user] xfce and screen resolution

2009-04-18 Thread Robert Bridge

Jacques Montier wrote:

I had a similar problem with XFCE until I realised that default was
the setting I wanted.

RobbieAB


I think that the default setting in Xfce depends on the first Mode in
the  Subsection Display of xorg.conf.
But i may be wrong...


I didn't have any modes in xorg.conf, the driver was generating them 
automagically from the EDID.


RobbieAB.



Re: [gentoo-user] Nokia PC Suite on VMware

2009-05-09 Thread Robert Bridge

Sergey A. Kobzar wrote:

I have laptop running Gentoo and VMware Server on it. I need Nokia PC
Suite to manage my Nokia mobile phone.

Does anybody have Nokia PC Suite working on VMware or I need setup Win
on my laptop? - I'd want avoid this if possible...


I don't, but I will suggest an alternative, which is trying gammu or 
gnokii. Both have GUIs (wammu and gnocky respectively) and claim to 
support most Nokia phones.


RobbieAB.



Re: [gentoo-user] more tripleE SSD fs controversy

2009-06-06 Thread Robert Bridge

Maxim Wexler wrote:

Hi group,

More and more I'm coming across references to cheap ssds in the EEEs.

http://www.hohndel.org/communitymatters/eeepc/best-filesystem-choice-for-the-eeepc/

recommends ext2. Which I found surprising, but the guy seems knowlegeable.

Here is Theodore T'so:

# mke2fs -t ext4 -E stripe-width=32,resize=500G /dev/ssd/root

In his discussion of formatting the pricy Intel product. He doesn't
say if this would be worthwhile for the cheap type.

hohndel doesn't specify any options, just says, use ext2. What does
the group recommend?

Maxim



Theodore T'so is playing with Intel SSDs if I recall correctly, which 
are in a totally different class to what you get in EEEs, like they cost 
about the same as the EEE does. His recommendations are based on a SSD 
with good built in wear leveling, and fast read/write performance.


ext2 is normally recommended for cheap SSDs such as are in the EEE 
because it is a non-journalled FS, which is kind of important when your 
disk has severely limited write life.


At least, that is my understanding of the situation
RobbieAB




Re: [gentoo-user] VFS: cannot open root device sda2 or unknown-block(2,0)

2008-07-09 Thread Robert Bridge
On Wed, 9 Jul 2008 13:48:46 +0200
Miernik [EMAIL PROTECTED] wrote:

 I am installing a new system with 2008.0 on an USB pendrive as the
 only disk in the machine, and at boot I get this error:
 
 VFS: cannot open root device sda2 or unknown-block(2,0)
 Please append a correct root= boot option; here are the available
 partitions:

My experience of USB drives is that they take about 20 seconds to come
up, meaning a root device on one will fail with that error message.
There are (at least) 2 working fixes that I am aware off. 

The first is us an initrd to delay the mounting root until the USB
device is available. The second is to pass an argument to the kernel
that does the same thing, IIRC sleep=30, but I have never used this
particular trick, so you will want to check it.

Either way, my money, based on my experience with using a USB
hard-disk, is on it being a problem with /dev/sda2 not being available
at mount. 

Rob
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools

2008-07-09 Thread Robert Bridge
On Wed, 09 Jul 2008 17:32:34 +0200
Jan Seeger [EMAIL PROTECTED] wrote:

 I'd say this has gone on quite long enough. There *were* some nuggets
 of information among Jörgs lunatic ravings, but I think it would be
 best if we ended the thread. Also, who would I have to contact to get
 Jörg removed from the list?

Userrel I believe, however there are issues involved in such a move as
it (currently) goes against gentoo policy. Wait for the next council
meeting, where permitting such measures is being debated would be my
suggestion.

Rob.

P.S. I intend this post purely to be a reply based on my following the
-dev mailing list and hence having a vague idea of what is going before
council soon.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] emerge -avC cdrkit emerge -av cdrtools

2008-07-09 Thread Robert Bridge
On Wed, 9 Jul 2008 21:13:23 +0100
Neil Bothwick [EMAIL PROTECTED] wrote:

 On Wed, 9 Jul 2008 18:58:52 +0200, Volker Armin Hemmann wrote:
 
  Neil, Alan, Daniel, Sebastian, Stroller,... are all guilty of not
  just ignoring him.
 
 Mea culpa :(
 
 Yes, before anyone comments, I know that's not English :P

Do we have a Gentoo latin list?
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] how does Gentoo's mke2fs determine how many inodes to create?

2008-07-11 Thread Robert Bridge
On Fri, 11 Jul 2008 17:45:58 +0200
Alan McKinnon [EMAIL PROTECTED] wrote:

 On Friday 11 July 2008, Miernik wrote:
  I installed Gentoo using the handbook, and the root partition has
  4094951424 bytes (a 4 GB USB pendrive), and mke2fs -j /dev/sda2 as
  on
  http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1chap=
 4#doc_chap4 created me a partition with only 249984 inodes. That was
  REALLY SILLY of him, because:
 
  przehyba ~ # df -i /dev/sda2
  FilesystemInodes   IUsed   IFree IUse% Mounted on
  /dev/sda2 249984  249739 245  100% /
  przehyba ~ #
 
 Actually it's really silly of you to have done that for a gentoo root 
 partition. You have 16k per inode on average, much more than enough
 for normal purposes so it's a sane default for ext2/ext3.
 
 I'll bet your problem is this:
 
 [EMAIL PROTECTED] ~ $ find /var/portage/ | wc
  143970  143970 7612245
 
 That 65% of your inodes consumed right there in a required directory 
 structure. If so, easiest way out is to boot off a LiveCD, get access 
 to the pendrive and reduce it by about 350M or so. Create a new 
 filesystem in that space, mount it to $PORTDIR and move your portage 
 tree to it.
 
 Someone else will need to confirm how big PORTDIR is on ext2/ext3, as 
 mine isn't. Also make sure distfiles is also a separate filesystem.

My experience when I was playing with Gentoo on a 2GB USB stick was
that fragmenting the device was a BAD idea, a much more efficient trick
is reducing the block size to 1k. This reduces the portage tree size
massively, and increases the number of inodes a lot, as inodes are
allocated proportional to the number of blocks.

YMMV,
Rob.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Installing Gentoo from USB stick

2008-07-12 Thread Robert Bridge
On Sat, 12 Jul 2008 09:43:11 +0200
Alan McKinnon [EMAIL PROTECTED] wrote:

 You don't need a Gentoo system to install Gentoo, all you need is 
 something that can deal with the filesystem you want to use, tar and 
 zip/bzip. Theoretically, even Windows could do it.

Argh... Now I feel this urge to achieve that! 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] gentoo install on Dell restore partition... live?

2008-07-14 Thread Robert Bridge
On Mon, 14 Jul 2008 22:31:03 -0700
Michael Higgins [EMAIL PROTECTED] wrote:

 Can this be done without physical access to the machine which is
 currently running windows XP? I am administrator and get 'there' via
 RDP.

Yes. If there is nothing easier, a coLinux set-up would let you do the
first step, I don't know about cygwin, it may also let you install to
the restore partition. 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] OT : DSL modems changing ISP

2008-08-26 Thread Robert Bridge
On Tue, 26 Aug 2008 00:51:51 -0500
Dale [EMAIL PROTECTED] wrote:

 Philip Webb wrote:
  (2) IIRC I'm signed up for Gentoo lists as '[EMAIL PROTECTED]',
  so it looks as if I will need to resubscribe under the new ISP
  (I have a reply-to header pointing to my UoT address,
  but I delete it from e-mails to lists, as it caused problems in the
  past).
 
  Has anyone had other problems in this area I should know about
  (smile) ?
 

 
 When I changed ISPs a good while back, I did it this way.  Get my new 
 ISP and everything working as far as the connection and making sure 
 email works.  Once that is done, subscribe to the mailing list and 
 confirm the subscription.  After a little while you should start
 getting emails from the list.  After you are sure that you will be
 getting list emails to the new email account, you can unsubscribe
 from the old list.
 
 I have done this a couple times and it has always worked well for
 me. Hope that helps.

Or just run your own email server... It makes life so much easier. :)



Re: [gentoo-user] [Way OT] dial-up, switching isp's and other thoughts.

2008-09-12 Thread Robert Bridge
On Fri, 12 Sep 2008 08:42:09 +0200
Alan McKinnon [EMAIL PROTECTED] wrote:

 On Friday 12 September 2008 02:51:21 Dale wrote:
  Get a Yahoo email account and pay for POP access, about $20.00 a
  year I think.  I think this will make it so that I never have to
  change email addresses when I switch ISPs and will get the same
  service regardless of who I connect to the internet with in the
  future.  This is a long term fix to my email switching issue.
 
 Use Gmail rather. It's cheaper - can't get cheaper than free - and
 just works better. Plus their anti-spam measures are very very good.
 I get about 1000 spams a month and average about 2 or 3 false
 positives and false negatives a month.

I second the Gmail suggestion, though Yahoo does provide free POP
access as it happens (I have it).

My logic for seconding the suggestion is I have recently experienced
e-mails from my server going missing after entering the Yahoo system.
They are the ONLY email provider where this has happened to me.

Just my 2 cents,
Rob.


signature.asc
Description: PGP signature


Re: [gentoo-user] Enforcing passphrase protected ssh keys

2008-09-17 Thread Robert Bridge
On Wed, 17 Sep 2008 14:21:41 +0200
Alan McKinnon [EMAIL PROTECTED] wrote:

 On Wednesday 17 September 2008 13:16:57 Jil Larner wrote:
  Hello,
 
  You cannot. The reason for this is simple : you can copy as many
  times as you wish it your private key in any place. Even if you
  were able to check-up that a private key is passphrase-protected,
  it wouldn't mean every single copy of that key is protected so. And
  the interest of the private key is that only the owners possesses
  it and hides it; thus you shouldn't think about a mensual
  submission of the keyfile to automatically check it is protected,
  because it would open a serious security hole.
 
 Agreed. The hole I would like to close (or make smaller) is that the
 key is the main security between the user's desktop machine and the
 core routers on my network. We originally switched to ssh keys
 because users will gladly share passwords with each other without
 regard for consequences, and the administration of this is a
 nightmare.
 
 Keys make for better security, but I would like it to be even better.
 I also want to have my facts 100% straight - if I tell my boss it
 can't be done I like to show research to back it up. There's nothing
 worse than saying something can't be done, and someone else in the
 room immediately says how it can be done ... :-)

You could use keys AND passwords for the SSH. It should be trivial to
set PAM up for it...


signature.asc
Description: PGP signature


Re: [gentoo-user] Automatic host switching

2008-09-21 Thread Robert Bridge
On Sun, 21 Sep 2008 15:08:18 +0200
Momesso Andrea [EMAIL PROTECTED] wrote:

 My home server is 192.168.1.5 in my home wan, the hostname of the
 machine is fandango, and the the /etc/hosts in my laptop looks like
 this:
 
 [...]
 192.168.1.5 fandango
 
 Sometimes I need to connect to the server while I'm far from home, so
 the server has also a dyndns address, let's say fandango.dyndns.org.
 
 When I connect from outside my wan I use fandango.dyndns.org, when
 I'm at home just fandango.
 
 Is there a way to tell my laptop to always use fandango and, 
 if 192.168.1.5 is available, to resolve it this way, otherwise to
 resolve it as fandango.dyndns.org.
 
 This way I will avoid double configurations, double password stored
 in firefox, ecc...
 
 Any ideas?

Well, when I used to switch my laptop between college (college didn't
use DHCP!) and home networks, I was reduced to a script to switch
configs for eth0...

It sounds like all you need to do is swap out the hosts file depending
on which network you are on, this shouldn't be difficult...

Rob.


signature.asc
Description: PGP signature


Re: [gentoo-user] Automatic host switching

2008-09-21 Thread Robert Bridge
On Sun, 21 Sep 2008 19:19:46 +0200
Momesso Andrea [EMAIL PROTECTED] wrote:

 On Sunday 21 September 2008 18:47:24 Robert Bridge wrote:
  On Sun, 21 Sep 2008 15:08:18 +0200
 
  Momesso Andrea [EMAIL PROTECTED] wrote:
   My home server is 192.168.1.5 in my home wan, the hostname of the
   machine is fandango, and the the /etc/hosts in my laptop looks
   like this:
  
   [...]
   192.168.1.5 fandango
  
   Sometimes I need to connect to the server while I'm far from
   home, so the server has also a dyndns address, let's say
   fandango.dyndns.org.
  
   When I connect from outside my wan I use fandango.dyndns.org,
   when I'm at home just fandango.
  
   Is there a way to tell my laptop to always use fandango and,
   if 192.168.1.5 is available, to resolve it this way, otherwise
   to resolve it as fandango.dyndns.org.
  
   This way I will avoid double configurations, double password
   stored in firefox, ecc...
  
   Any ideas?
 
  Well, when I used to switch my laptop between college (college
  didn't use DHCP!) and home networks, I was reduced to a script to
  switch configs for eth0...
 
  It sounds like all you need to do is swap out the hosts file
  depending on which network you are on, this shouldn't be
  difficult...
 
 Like having a /etc/hosts.home and a /etc/hosts.world and a script
 that sysmlinks them to /etc/hosts depending on the fact that i can
 ping or not 192.168.1.5?

Basically, I would probably look at methods of hooking it onto the IP
assigned to the device (ifplugd should be able to do this), but that is
the basic idea.


signature.asc
Description: PGP signature


Re: [gentoo-user] Problem with exim and mail destinations

2008-10-02 Thread Robert Bridge
On Thu, 02 Oct 2008 08:41:43 -0500
Michael Sullivan [EMAIL PROTECTED] wrote:

 I have three boxes:  camille.espersunited.com,
 catherine.espersunited.com, and baby.espersunited.com .
 Traditionally, baby has been our server, but the power supply went
 bad last April and I wasn't able to get it fixed until very
 recently.  Since baby went down, camille has been our server.  But
 now baby is back up again, and acting as a server, and everything has
 been going well except this:  camille and catherine as still trying
 to send mail from cron jobs to camille instead of to baby.  AFAIK
 I've updated all the appropriate DNS records on all machines, so how
 can I fix this?  Is it possible to set camille's exim to forward all
 mail it receives to the equivalent accounts on baby?

Yes, simply configure exim on camille to accept all, and to deliver all
to baby.

Rob.


signature.asc
Description: PGP signature


Re: [gentoo-user] eth1 won't show up

2008-10-02 Thread Robert Bridge
On Thu, 2 Oct 2008 08:05:11 -0700
Grant [EMAIL PROTECTED] wrote:

 I have this:
 
 # lspci
 05:0a.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX
 [Cyclone] (rev 34)
 05:0b.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX
 [Cyclone] (rev 30)
 
 but from ifconfig I only have eth0.  Can anyone tell me how to
 investigate this?

Is that ifconfig, or ifcongif -a ?

Or in a less pedantic answer, have you started eth1?


signature.asc
Description: PGP signature


Re: [gentoo-user] eth1 won't show up

2008-10-02 Thread Robert Bridge
On Thu, 2 Oct 2008 09:16:27 -0700
Grant [EMAIL PROTECTED] wrote:

  I have this:
 
  # lspci
  05:0a.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX
  [Cyclone] (rev 34)
  05:0b.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX
  [Cyclone] (rev 30)
 
  but from ifconfig I only have eth0.  Can anyone tell me how to
  investigate this?
 
  Is that ifconfig, or ifcongif -a ?
 
  Or in a less pedantic answer, have you started eth1?
 
 I didn't think that through, sorry.  I think this is what I should
 have posted:
 
 # /etc/init.d/net.eth1 start
  * Starting eth1
  *   Bringing up eth1
  * 192.168.1.1
  * network interface eth1 does not exist
  * Please verify hardware or kernel module (driver) [ !! ]

No problem, I just gave the first answer that came to mind when I saw
your post ;)

ifconfig -a will tell you if there are any cards detected which haven't
come up. Worth checking to see if the card has been allocated a
different number.

Rob.


signature.asc
Description: PGP signature


Re: [gentoo-user] Asus Eee Gentoo install - no CD drive

2008-10-06 Thread Robert Bridge
On Mon, 6 Oct 2008 08:01:51 -0700
Grant [EMAIL PROTECTED] wrote:

 I'm very familiar with installing Gentoo via LiveCD, but I'm not sure
 how to go about it without a CD drive.  I'm sure there are many exotic
 options to choose from, but I'd rather not have to learn too much new
 stuff to get this done.  Can anyone recommend a simple method?  I have
 a wired/wireless LAN/internet connection and 3 systems on the LAN
 running Gentoo.  No USB drive though.

If you already have a linux install on the machine, you could install
from that.

-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


signature.asc
Description: PGP signature


Re: [gentoo-user] get rid of xf86-video-* drivers

2008-10-09 Thread Robert Bridge
On Fri, 10 Oct 2008 00:52:17 +0200
Alan McKinnon [EMAIL PROTECTED] wrote:

 On Thursday 09 October 2008 23:42:00 Mike wrote:
  Willie Wong wrote:
   Besides: if one is already using the bandwidth to send mail in
   HTML, why not make it MIME-multipart with a plain text version
   included too?
 
  I agree there should be a plain text version included AND the html
  should be standards compliant, in a perfect world.
 
 I'm still looking for a solution to the idiots in the HR department
 that insist on sending all their touchy-feely-it's-a-wonderful-world
 motivational mails as a single giant jpeg...
 

/dev/null not do it?

-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


signature.asc
Description: PGP signature


Re: [gentoo-user] strange block issue

2008-10-09 Thread Robert Bridge
On Fri, 10 Oct 2008 12:14:10 +0800
Zhang Weiwu [EMAIL PROTECTED] wrote:

 I was told virtual/jre-1.6, a package that I do /not/ have installed,
 is blocking another package.
 
 How do I manage to install dev-java/jdictrayapi? Thanks for hints in
 advance! 
 [EMAIL PROTECTED]:~$ sudo emerge -av dev-java/jdictrayapi
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies   waiting for lock
 on /var/db/.pkg.portage_lockfile ...
 done! [ebuild  NS   ] dev-lang/python-2.5.2-r8  USE=berkdb gdbm ipv6
 ncurses readline ssl threads -bootstrap -build -doc -examples -sqlite
 -tk -ucs2 -wininst 9,606 kB [ebuild  N] virtual/jre-1.6.0  0 kB
 [ebuild U ] dev-java/javatoolkit-0.3.0-r2 [0.2.0-r1] 17 kB
 [ebuild  N] dev-java/jdictrayapi-0.9.1-r3  USE=-doc -examples
 -source 925 kB [blocks B ] =virtual/jre-1.6* (is blocking
 dev-java/jdictrayapi-0.9.1-r3)
 
 Total: 4 packages (1 upgrade, 2 new, 1 in new slot, 1 block), Size of
 downloads: 10,547 kB
 
 !!! Error: The above package list contains packages which cannot be
 installed !!!at the same time on the same system.
 
 For more information about Blocked Packages, please refer to the
 following section of the Gentoo Linux x86 Handbook (architecture is
 irrelevant):
 
 http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
 
 [EMAIL PROTECTED]:~$ sudo emerge --unmerge virtual/jre
 
 --- Couldn't find 'virtual/jre' to unmerge.
 
  No packages selected for removal by unmerge

Try masking virtual/jre-1.6

Also, it might be worth checking if the jdictrayapi has be included in
the Java 6 jdk, which would account for the block.

Rob.


signature.asc
Description: PGP signature


Re: [gentoo-user] expat... once again

2008-10-11 Thread Robert Bridge
On Sat, 11 Oct 2008 19:19:48 +0200
Alex Schuster [EMAIL PROTECTED] wrote:

 Hi there!
 
 Yes, there are still gentoo machines out there running libexpat-1,
 and I am upgrading one now. I survived several of those upgrades yet,
 but those were PCs I had better access to, and where a huge
 revdep-rebuild was no big problem. 
 
 But this machine here is slow, and I do not have powerful distcc
 hosts for it. And it is powered off in the night. But it should come
 up back and be able to be used.
 
 Couldn't I just save /usr/lib/libexpat.* before upgrading libexpat,
 start revdep-rebuild, and put the old libraries back, so all
 applications stil have their libraries until revdep-rebuild has
 finished?.
 
   Wonko
 

Stupid idea, but would the current ~ portage now make the whole upgrade
a lot easier with FEATURES=preserve-libs ?


signature.asc
Description: PGP signature


Re: [gentoo-user] ftp transfer dies

2008-10-21 Thread Robert Bridge
On Tue, 21 Oct 2008 08:21:49 +0100
Mick [EMAIL PROTECTED] wrote:

 On Tuesday 21 October 2008, Paul Hartman wrote:
  On Tue, Oct 21, 2008 at 12:15 AM, Mick [EMAIL PROTECTED]
  wrote:
   Hi All,
  
   Any idea why this happens:
   
   150 Ok to send data.
   100% |***|   224 MiB   46.74
   KiB/s 00:00 ETA
   226 File receive OK.
   235279855 bytes sent in  1:21:59 (46.70 KiB/s)
   local: xab remote: xab
   227 Entering Passive Mode (205,178,145,65,166,71)
   150 Ok to send data.
34% |***|   115 MiB   46.80
   KiB/s 1:19:27 ETAtnftp: Writing to network: Connection reset by
   peer 0% |   |-10.00
   KiB/s --:-- ETA
   500 OOPS: child died
   
  
   It is rare that I am able to complete more than a single file
   transfer before the connection is reset by peer.  As these are
   relatively large files and the upload is unattended this is
   rather annoying. --
   Regards,
   Mick
 
  That used to happen to me when I was using a piece-of-junk D-Link
  router. It was one of those $29.99 consumer-grade deals. It would
  reboot itself constantly when it was under any kind of load. I
  replaced it with a $50 router with DD-WRT and things have been fine
  ever since. Might not have anything to do with your problem, but I
  figured I'd mention it. Check your router logs to see if it's having
  any problems.
 
 Thanks Paul,
 
 On the client side I am running a $500 professional grade router and
 I assume that the server ISP is also running something upmarket in
 their data center.
 
 On this topic the client-server arrangement straddles the Atlantic
 ocean, so who knows how many routers and switches it jumps across.
 That said the failure pattern is consistent:  first file always
 transfers cleanly, then second transfer fails after a while.  Could
 it be some configured disk/account quote, dropping transfers above a
 certain size on the (Unix) server?

Are you running through a proxy?


signature.asc
Description: PGP signature


Re: [gentoo-user] {OT} An old iBook G3 as server

2008-10-23 Thread Robert Bridge
On Thu, 23 Oct 2008 12:49:27 +0200
Momesso Andrea [EMAIL PROTECTED] wrote:

 I alredy have a gentoo home server up and running with decent hardware
 (a FUJITSU SIEMENS Amilo M3438 laptop, Pentium M 1.86GHz, 1.5Gb ram)
 that I use for general purpose (backup, portage-rsync, bittorrent,
 groupware) and also for my wife's work (a joomla site, a ftp server,
 and a mailing list manager).
 
 The work my wife does as a researcher for the university is growing
 fast, her group relays in the ftp server for uploading important
 documents, and she also required me to set up a wiki.
 
 I now think it's time to set up something more hardened and to have
 a separated box for her work, to reduce the risk that I break things
 while trying experimental stuff, masked packeges ecc.
 
 It comes that they had from their  mentor an old iBook G3 to see if
 it fits their needs.
 
 I will recive the machine tonight and start to work on it this
 weekend, so yet I don't know the amount of memory it has, but I know
 for sure it's expandible to 544Mb, and I will surely do the upgrade
 if needed.
 
 Here are my questions:
 
 - Is gentoo pcc stable enough to work on a server?
 
 - What kind of checks should I do to verify that the hardware
   (expecially the disk) is fine? 
 
 - Is it possible to use the other server (x86) to build packages for
 the ppc?
 
 - Due to my limited space I'd like to mount some non-vital stuff on
 nfs shares. Is it aviceable to mount /usp/portage on nfs? or maybe
 just the distfiles?
 
 - What would you suggest for automatic daily backups?
 
 - I use gentoo as the only os on all my machines and it is the distro
 I fell confortable with, but is it really a good choiche in this case?
   Would a compiled distro better fit my needs?
 
 Thank yo in advance for your answers.

If you are round a university, I would actually suggest asking around
and seeing if there are old P3 workstations being thrown out. With a
little TLC, gentoo runs nicely on such hardware, especially as a
headless server in a corner. Such a box would also offer a LOT more
flexibility than an old laptop would, and they will probably be
delighted to get rid of it!

Rob.

(Has a little collection of such rescued machines.)


signature.asc
Description: PGP signature


Re: [gentoo-user] Circular blocks after last night's sync?

2008-10-28 Thread Robert Bridge
On Tue, 28 Oct 2008 13:08:32 -0400
James Homuth [EMAIL PROTECTED] wrote:

 During an update attempt this afternoon, these little surprises were
 waiting for me. I took a look at the archives, and naturally, google,
 but all I found were lots of the same error, and no information on
 it/what's broken. Anyone else having this particular problem? The
 block errors are below.
 
 [blocks B ] sys-libs/ss (is blocking
 sys-libs/e2fsprogs-libs-1.41.2)
 
 [blocks B ] sys-fs/e2fsprogs-1.41 (is blocking
 sys-libs/e2fsprogs-libs-1.41.2)
 
 [blocks B ] sys-libs/com_err (is blocking
 sys-libs/e2fsprogs-libs-1.41.2)
 
 [blocks B ] sys-libs/e2fsprogs-libs (is blocking
 sys-libs/ss-1.40.9,
 sys-libs/com_err-1.40.9)   
 
 This was during an emerge --update world.
 
 

emerge -C e2fsprogs, ss, com_err  emerge -1 e2fsprogs 

e2fsprogs is being restructured, which is causing the problem.


signature.asc
Description: PGP signature


Re: [gentoo-user] package.keywords syntax?

2008-10-28 Thread Robert Bridge
On Tue, 28 Oct 2008 19:34:31 -0200
Jorge Peixoto de Morais Neto [EMAIL PROTECTED] wrote:

  Run autounmask, it creates a new file
  in /etc/portage/package.unmask/
 
  Run a quick awk on it to get it into shape
 
  Move file to /etc/portage/package.mask/
 
  Problem solved in a neat elegant insightful way.
 
 awk? I assumed it was an obsolete language included for compatibility.
 People should use Python, Perl, or sed's s command. Am I wrong?

Yes. You are wrong.

Awk is a useful tool, if you know it. It's just less people bother
learning it these days.


signature.asc
Description: PGP signature


Re: [gentoo-user] Circular blocks after last night's sync?

2008-10-28 Thread Robert Bridge
On Tue, 28 Oct 2008 13:21:28 -0700
Kevin O'Gorman [EMAIL PROTECTED] wrote:

 On Tue, Oct 28, 2008 at 10:27 AM, Daniel Pielmeier
 [EMAIL PROTECTED] wrote:
  Robert Bridge schrieb am 28.10.2008 18:21:
  On Tue, 28 Oct 2008 13:08:32 -0400
  James Homuth [EMAIL PROTECTED] wrote:
 
  During an update attempt this afternoon, these little surprises
  were waiting for me. I took a look at the archives, and
  naturally, google, but all I found were lots of the same error,
  and no information on it/what's broken. Anyone else having this
  particular problem? The block errors are below.
 
  [blocks B ] sys-libs/ss (is blocking
  sys-libs/e2fsprogs-libs-1.41.2)
 
  [blocks B ] sys-fs/e2fsprogs-1.41 (is blocking
  sys-libs/e2fsprogs-libs-1.41.2)
 
  [blocks B ] sys-libs/com_err (is blocking
  sys-libs/e2fsprogs-libs-1.41.2)
 
  [blocks B ] sys-libs/e2fsprogs-libs (is blocking
  sys-libs/ss-1.40.9,
  sys-libs/com_err-1.40.9)
 
  This was during an emerge --update world.
 
 
 
  emerge -C e2fsprogs, ss, com_err  emerge -1 e2fsprogs
 
  e2fsprogs is being restructured, which is causing the problem.
 
  If you go the route of uninstalling things first, make sure that you
  have the sources prepared as wget might not work for some use flag
  combinations when you remove e2fsprogs, ss, com_err in advance.
 
 Sadly, I did not read this until these were all unmerged, and wget is
 truly broken.
 
 Happily, I do run with buildpkg on all the time, but an this the
 first time I've really needed them.  Getting back to a running system
 was pretty easy.
 
 However, this does not really solve the problem.  What's a safe way to
 do this emerge?

Sorry, my systems came through this a while ago, with the ~ portage, so
I never really noticed.

For a safe solution:

$ emerge -uDf world # fetch the code
$ emerge -C e2fsprogs, ss, com_err  # clear the blockers
$ emerge -uD world  # fix the system.

Sorry again,
Rob.


signature.asc
Description: PGP signature


Re: [gentoo-user] Touchscreen does not react

2008-11-23 Thread Robert Bridge
On Sun, 23 Nov 2008 11:55:58 + (GMT)
JC D [EMAIL PROTECTED] wrote:

 (http://210.64.17.162/web20/TouchKitDriver/linuxDriver.htm)

Please provide URLs by domain name, I will NEVER click on an IP based
URL, unless I explicitly trust the provider.

RobbieAB


signature.asc
Description: PGP signature


Re: [gentoo-user] Using projector as my monitor

2008-11-23 Thread Robert Bridge
On Sun, 23 Nov 2008 04:15:38 -0800 (PST)
Norman Hakim [EMAIL PROTECTED] wrote:

 hi all,
 
 Do i have to configure anything so that i can connect my pc using
 projector as my monitor?or do i just directly connect without any
 configuration?

Depends on the graphics card, the drivers, and how you want the
projector to work (e.g. clone desktop, extend desktop...).

RobbieAB


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Touchscreen does not react

2008-11-23 Thread Robert Bridge
On Sun, 23 Nov 2008 15:16:52 -0600
»Q« [EMAIL PROTECTED] wrote:

 On Sun, 23 Nov 2008 16:29:39 +
 Robert Bridge [EMAIL PROTECTED] wrote:
 
  On Sun, 23 Nov 2008 11:55:58 + (GMT)
  JC D [EMAIL PROTECTED] wrote:
  
   (http://210.64.17.162/web20/TouchKitDriver/linuxDriver.htm)
  
  Please provide URLs by domain name, I will NEVER click on an IP
  based URL, unless I explicitly trust the provider.
 
 Is
 http://sw64-17-162.adsl.seed.net.tw/web20/TouchKitDriver/linuxDriver.htm
 really any more assuring to you?  ;)

No, but I didn't bother even looking... ;)

And a healthy dose of paranoia with links is always a good idea.

RobbieAB.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: ati-drivers-8.501 does not compile with kernel gentoo-sources 2.6.26-r3

2008-11-24 Thread Robert Bridge
On Mon, 24 Nov 2008 21:14:40 +0200
Nikos Chantziaras [EMAIL PROTECTED] wrote:

 Arttu V. wrote:
  On 11/24/08, Volker Armin Hemmann
  [EMAIL PROTECTED] wrote:
  On Montag 24 November 2008, Christian wrote:
  Hi all,
 
  I wanted to update my kernel to 2.6.26-r3 today. But the
  ati-drivers version 8.501 won't compile.
  is there a good reason to use acient drivers?
  
  They're the latest stable on x86 -- and amd64 stable ones are even
  older.
 
 Use the non-stable ones.  8.552-r2.  The stable ones in portage are
 too old.

If the stable ones are unstable due to age, file a bug specifically
against this matter. Simply switching to ~ ebuilds is treating the
symptom, not the problem.

RobbieAB

 


signature.asc
Description: PGP signature


Re: [gentoo-user] gparted - safe on NTFS hardware RAID?

2008-12-06 Thread Robert Bridge
On Sat, 6 Dec 2008 09:25:01 -0800
Mark Knecht [EMAIL PROTECTED] wrote:

 Anyone have any knowledge about this? Would it be mostly an issue of
 finding a Linux driver for the hardware card or does it work at all?

If it is genuine hardware RAID linux should just see it as a single
device, so that should not be a problem as I understand it.

RobbieAB


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] One line script for md5sum

2008-12-13 Thread Robert Bridge
On Sat, 13 Dec 2008 23:49:50 +
Mick michaelkintz...@gmail.com wrote:

 Hi All,
 
 Is there a clever way to enter a string (rather than write a script
 file) so that md5sum will check a whole series of files in one go and
 report success or error;  I was thinking along the lines of if $value
 is ... then md5sum -c ..., but my non-existent scripting knowledge
 won't take me any further.  I want it to check a series of files
 named tokena, tokenb, tokenc, ... , etc.

purely in the spirit of coming up with the simplest one...

md5sum -c token*

RobbieAB


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] One line script for md5sum

2008-12-17 Thread Robert Bridge
On Wed, 17 Dec 2008 15:33:35 -0500
Willie Wong ww...@princeton.edu wrote:

 On Wed, Dec 17, 2008 at 08:48:52AM +, Mick wrote:
  On Sunday 14 December 2008, Neil Bothwick wrote:
   On Sun, 14 Dec 2008 11:47:51 +0200, Alan McKinnon wrote:
That's why I suggested them :-) I use them a lot, especially
when I have to run the same set of commands on 15 different
hosts, then I do something like:
   
for I in $(seq 1 15) ; do
  
   If you're using bash or zsh,you can speed this up with
  
   for I in {1..15}; do
  
  Hmm, I tried this with a sequence of files that look like
  name0001stat.txt to name0198stat.txt, but when I run {0001..0198}
  it fails because it seems to ignore the zeros in 0001 and start
  counting from 1.  Do I need to use some escape character for this?
 
 This is one place bash's brace expansion is sorely lacking compared to
 zsh. In this case you need to use the seq command from coreutils. See
 man seq for more info.
 
 In your particular case, you can do 
 
 for I in $(seq -w 198); do ... 0$I ; done
 
 seq is more flexible in that it allows arbitrary formatting of the
 sequence using printf floating-point format. 

Or use a wildcard based match.

namestat.text works, as would name*stat.text

Both are slightly less specific, but if you have other matches which
the seq excludes, you really should look at your nameing patterns.

RobbieAB


signature.asc
Description: PGP signature


Re: [gentoo-user] [OT] One line script for md5sum

2008-12-17 Thread Robert Bridge
On Thu, 18 Dec 2008 00:17:18 +0200
Alan McKinnon alan.mckin...@gmail.com wrote:

 On Wednesday 17 December 2008 22:42:34 Robert Bridge wrote:

  Or use a wildcard based match.
 
  namestat.text works, as would name*stat.text
 
 pedantic
 name0[01][0-9]{2}stat.text
 /pedantic
 
 would be better still
 

nitpick
more typing...
/nitpick

Depends on the measure, most times I have seen this kind of thing, the
shorter pattern I had would have been good enough. YMMV though, and I
won't try to argue that yours is more precise.

RobbieAB


signature.asc
Description: PGP signature


Re: [gentoo-user] video driver discovery

2008-12-20 Thread Robert Bridge
On Fri, 19 Dec 2008 18:35:35 + (UTC)
James wirel...@tampabay.rr.com wrote:
 How can I verify which driver(version) it is using?

Read /etc/log/Xorg.0/log
It will tell you which driver it loaded.



signature.asc
Description: PGP signature


Re: [gentoo-user] Re: video driver discovery

2008-12-22 Thread Robert Bridge
On Mon, 22 Dec 2008 10:23:14 -0600
Harry Putnam rea...@newsguy.com wrote:

 Robert Bridge rob...@robbieab.com writes:
 
  On Fri, 19 Dec 2008 18:35:35 + (UTC)
  James wirel...@tampabay.rr.com wrote:
  How can I verify which driver(version) it is using?
 
  Read /etc/log/Xorg.0/log
  It will tell you which driver it loaded.
 
 Sorry to butt in here.. but Robert can you show a line from your log
 that IDs the driver... I'm getting really confused looking at that
 log.   It shows literally dozens of things `loading'.  Its not clear
 where whatever is being loaded came from... what installed package or
 driver.
 
 Its probably right in front of me, but I'm not seeing it, or not
 recognizing what I see as being very useful I guess.

(II) LoadModule: nvidia
(II) Loading /usr/lib/xorg/modules/drivers//nvidia_drv.so
(II) Module nvidia: vendor=NVIDIA Corporation
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver

Is the section from my Xorg.0.log which pretty clearly identifies which
driver is loaded ;)

And yes, it is in the middle of a sea of LoadModule lines.

RobbieAB.


signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo File Manager

2008-12-22 Thread Robert Bridge
On Mon, 22 Dec 2008 17:05:46 +
Mick michaelkintz...@gmail.com wrote:

 Hi All,
 
 I am trying out the Gentoo File Manager, but have run aground with
 the way it opens certain types of files.  How can I create an
 association to e.g. use xpdf to open pdf files and OOo (oowriter) to
 open .odt and .doc files?  All I get now is a plain text editor
 firing up and opening such files.  Same applies with pictures,
 videos, etc.

I'm guessing, as I have never used the Gentoo File Manager, but try
right clicking, selecting properties (or open with) and seeing if there
is an option in there to set the application...

RobbieAB.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: video driver discovery

2008-12-22 Thread Robert Bridge
On Mon, 22 Dec 2008 19:46:31 + (UTC)
James wirel...@tampabay.rr.com wrote:

 Robert Bridge robert at robbieab.com writes:
 
 
   How can I verify which driver(version) it is using?
 
  Read /etc/log/Xorg.0/log
  It will tell you which driver it loaded.
 
 
 Funny, I have not /etc/log dir on any gentoo system?
 
 I do not have an /etc/X11/log dir either
 
 
 How do you set up your systems to get /etc/log?

My bad, by typoing /etc where I mean /var

Now when you've quite finished kicking me when I'm down... :P

Cheers,

RobbieAB


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: video driver discovery

2008-12-22 Thread Robert Bridge
On Mon, 22 Dec 2008 21:42:20 + (UTC)
James wirel...@tampabay.rr.com wrote:

 Robert Bridge robert at robbieab.com writes:
 
 
  My bad, by typoing /etc where I mean /var
 
  Now when you've quite finished kicking me when I'm down... :P
 
 
 Sorry you took it that way

I'm not offended. If I was offended I wouldn't have replied ;)

I kinda meant the :P as an attempt to convey the fact I was not that
serious.

 Sure, I'm a little frustrated with the fact that discovering
 the actual video driver file is such a nightmare. It should
 be a simple little command of a script one can alias to
 a simple command string. I'm not  meaning to bash you,
 it's just I cannot belive there is not a simple method
 to find the actual video driver a given linux system is
 using. Parsing log files is not what I had in mind.

A simple method may well exist, I was only throwing out the only idea I
could think of.

 But, that is the best/only method?

Probably not. It's the only method that springs to mind.

RobbieAB


signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo File Manager

2008-12-22 Thread Robert Bridge
On Mon, 22 Dec 2008 20:34:26 -0600
Dale rdalek1...@gmail.com wrote:

 Mick wrote:
  Hi All,
 
  I am trying out the Gentoo File Manager, but have run aground with
  the way it opens certain types of files.  How can I create an
  association to e.g. use xpdf to open pdf files and OOo (oowriter)
  to open .odt and .doc files?  All I get now is a plain text editor
  firing up and opening such files.  Same applies with pictures,
  videos, etc. 
 
 For those that are stumped like I was, it looks neat.
 
 http://en.wikipedia.org/wiki/Gentoo_(file_manager)
 
 I wish this was in portage.  I'd like to give this a ride and see how
 I like it.  Any reason it is not in portage?  Does it look neat but
 suck in real use or something?  I use Konqueror for mine right now
 but curious.

It is in portage, app-misc/gentoo

However, it's a glib-1/GTK-1 package, so it's pretty outdated in terms
of toolkit.

RobbieAB.


signature.asc
Description: PGP signature


Re: [gentoo-user] Seeking advice about backup and partitioning; preparing to dual-boot Linux onto Vista drive

2008-12-23 Thread Robert Bridge
On Mon, 22 Dec 2008 22:39:17 -0800
Kevin O'Gorman kogor...@gmail.com wrote:

 Dude, I'm getting a Dell!
 
 It's gonna come with Vista, and I have to use it that way for work.
 But I want to
 put a Linux partition on there.  So I need to repartition.
 
 Having learned to be cautious, I'm wondering if there is a good
 open-source way to back up about 300GB of NTFS such that I can
 restore fairly smoothly.  It has to be fairly fast, so file-by-file
 copies are probably going to suck. I'll have 100MB
 ethernet to a big-enough drive.
 
 Then, I'm wondering about partitioning tools.  I can use
 PartitionMagic 7.0.  I've heard
 of gparted, but not used it.  Any advice?

Um, I thought Vista could resize it's own partitions...

Also, if it's a new machine, use the re-install disk for your back up ;)

RobbieAB


signature.asc
Description: PGP signature


Re: [gentoo-user] Suspend to ram: correct behavior?

2008-12-31 Thread Robert Bridge
On Wed, 31 Dec 2008 11:42:54 +0100
damian damian.o...@gmail.com wrote:

  LiveCD). If they manage to switch off the power to your USB-ports,
  that can give us a hint.
  That I can try, I still keep the Ubuntu (shame on me! :P) which I
  used to install Gentoo.
 Nope. I've booted with Ubuntu (damn it boots slow! :P) and after
 suspending the usb port was still yielding power. I guess it's better
 for me to find out if there actually is a way to prevent this.
 
 
  Best regards,
  Damian.

I think USB ports normally give power even without the appropriate
driver loaded. I know I have seen old computers used to charge USB
devices they couldn't communicate with...


signature.asc
Description: PGP signature


Re: [gentoo-user] file collision media-fonts/terminus-font-4.28

2009-01-02 Thread Robert Bridge
On Fri, 2 Jan 2009 19:02:15 +
Mick michaelkintz...@gmail.com wrote:

 I do not have collision-protect in my make.conf.
 
 Emerging media-fonts/terminus-font-4.28 gives me:
 =
 * This package will overwrite one or more files that may belong to
 other
  * packages (see list below). You can use a command such as `portageq
  * owners / filename` to identify the installed package that owns a
  * file. If portageq reports that only one package owns a file then do
  * NOT file a bug report. A bug report is only useful if it
 identifies at
  * least two or more packages that are known to install the same
 file(s).
  * If a collision occurs and you can not explain where the file came
 from
  * then you should simply ignore the collision since there is not
 enough
  * information to determine if a real problem exists. Please do NOT
 file
  * a bug report at http://bugs.gentoo.org unless you report exactly
 which
  * two packages install the same file(s). Once again, please do NOT
 file
  * a bug report unless you have completely understood the above
 message.
  * 
  * Detected file collision(s):
  * 
  *  /usr/share/fonts/terminus/encodings.dir
  * 
  * Searching all installed packages for file collisions...
  * 
  * Press Ctrl-C to Stop
  * 
  * None of the installed packages claim the file(s).

This line tells you it's an orphaned file.

  * Package 'media-fonts/terminus-font-4.28' merged despite file
  * collisions. If necessary, refer to your elog messages for the whole
  * content of the above message.
  Auto-cleaning packages...
 
  No outdated packages were found on your system.
 
  * GNU info directory index is up-to-date.
 =
 
 Could you please remind me what am I supposed to do with this?
 Should I rm /usr/share/fonts/terminus/encodings.dir and remerge 
 media-fonts/terminus-font-4.28 ?  I am not clear on the process,
 since I never had to deal with this manually in the past.

As no installed package claims the file, simply remove it and remerge
the fonts.

RobbieAB.


signature.asc
Description: PGP signature


Re: [gentoo-user] file collision media-fonts/terminus-font-4.28

2009-01-02 Thread Robert Bridge
On Fri, 2 Jan 2009 20:15:20 +
Mick michaelkintz...@gmail.com wrote:

 Thanks RobbieAB. Actually, it showed that the file was owned by the
 installed package:
 
 # portageq owners / /usr/share/fonts/terminus/encodings.dir 
 media-fonts/terminus-font-4.28
 /usr/share/fonts/terminus/encodings.dir

That shows that portage is only aware of one package owning the file
(as it should be). However, if media-fonts/terminus-font-4.28 is not
installed, it cannot be the package owning the file, and the line I
marked shows that portage was not aware of ANY installed packages
claiming the file. Hence the problem: Portage was installing a
package which wanted to install that file, but was not prepared to
overwrite a pre-existing file.

 Either way, I removed the file and reinstalled
 media-fonts/terminus-font-4.28.

Which in the event of an orphaned file is the only sane thing to do.

RobbieAB.


signature.asc
Description: PGP signature


Re: [gentoo-user] Best and most gentoo-compatible PC

2009-01-08 Thread Robert Bridge
On Thu, 8 Jan 2009 08:33:27 +0100
iprmaster iprmas...@gmail.com wrote:

 Hi everybody,
 
 I am going to buy a new desktop PC and, because of some reasons I
 cannot explain here in details, I have to choose among these
 configurations (ordered by increasing price ;-) ):
 
 1. FSC ESPRIMO P5625 E80+ uBTX: MCP78B Chipset AMD Phenom X3 8450
 (2,1 GHz) TripleCore(1,5MBSLC), 4*1024 MB DDR2 800, NVIDIA Geforce
 9500 512MB Dual DVI, SATA II 250 GB 7.2k, DVD RW SML. Price: 650 a.u.
 (arbitrary units)
 
 2. Dell Precision Workstation T 3400: Intel Core 2 Duo Processor
 E8200 (2.66GHz, 4MB Cache, 1066MHz FSB)375W,4GB (4 x 1024MB) 800 MHz
 ECC DDR2-SDRAM Memory, HD 250 GB SATA2 7.200,16x DVD+/-RW
 Dual 256MB nVidia Quadro FX 570. Price: 950 a.u.
 
 3. FSC Celsius W370: Core 2 Quad Q9400 4*2.66 GHz, 2 x 2GB DDR2 800, 
 NVIDIA Quadro FS 370 256 MB, 2xSATA II 500 GB 7.2k, DVD RW SML.
 Price: 900 a.u.
 
 4. Dell Precision Workstation T-5400: Single Quad Core Xeon 5410 
 (2,33GHz, 1333, 2x6MB), Intel 5000XChipset, 4GB (4 x 1024MB) Quad 
 Channel FBD 667Mhz Memory,250GB SATA Festplatte 7.2k, 16x DVD+/-RW,
 512 MB nVidia quadro FX1700(MRGA14L). Price: 1400 a.u.
 
 
 About my needs: I am a C-developer, have to compile/run/debug
 programs several tenths of time a day and analyse postprocessed,
 two-, three- and four-dimensional (space+time) results on the same
 PC. All under Gentoo, of course ;-) HD size is not a problem, there
 is a big NFS-Volume I can mount ;-)
 
 These are my questions:
 
 - is the most expensive PC (4.) worth to be considered? Does its 
 speed-up justify its price?
 
 - is there any compatibility problem with any of these configurations 
 and Gentoo? I do not want to run any other distribution! As far as I 
 know, nVidia and 2D acceleration issues should be solved by now...
 
 - additional ideas/comments are welcome, but on these configurations 
 only ;-).

Can you get Dell to spec a RHEL Precision workstation? Some of the
Precisions do have RHEL variants, which pretty much guarantees Linux
compatability.


signature.asc
Description: PGP signature


Re: [gentoo-user] non-PHP webmail in portage?

2009-01-10 Thread Robert Bridge
On Sat, 10 Jan 2009 10:04:31 -0800
Grant emailgr...@gmail.com wrote:

  Does anyone know of a good (or OK) webmail client in portage that
  doesn't use PHP?  I use squirrelmail now but I have PHP installed
  only for that and I think PHP slows apache2 down a bit.
 
  - Grant
 
 
  I don't think you'll find anything faster except maybe written in
  C, which is doubtful. The only other language you might find
  webmail written in is Perl/CGI and that is definitely not faster in
  my experience. PHP is about as good as you will get IMHO.
 
 I actually don't mean to speed up squirrelmail and PHP.  The main
 function of that system is to run a website in perl, and I thought I
 might be bogging down apache2 a bit just by opening it up to PHP
 interpretation (-D PHP).  Is that the case?  It would also be nice not
 to be exposed to PHP exploits.  It just seems kind of silly to
 maintain and run PHP just for webmail.

You could try running a second webserver instance for the webmail,
allowing the main one to run without PHP loaded.

RobbieAB.


signature.asc
Description: PGP signature


Re: [gentoo-user] problem reading zip files

2009-06-25 Thread Robert Bridge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Doug ONeal wrote:
 I have had a problem dumped on me that I cannot resolve.  A user
 archived some very large
 datasets using Info-zip (app-arch/zip-2.32-r1) and the original data has
 been deleted.  The zip
 executable is a 64-bit binary and the user assumed that large archives
 were possible.  A typical
 archive is on the order of 70GB and the largest is over 200GB
 (compressed sizes).  /usr/bin/zip did
 not complain about creating the archive and /usr/bin/unzip -l lists the
 contents correctly so the user
 did not think there were any problems until it came time to extract a
 file.  Extracting any file that
 is past the 4GB mark in the archive results in a 'bad zipfile offset'
 error.  This is consistent with the
 FAQ on Info-zip's web site.
 
 I am guessing that all of the data is actually present in the zip
 archives but I cannot get to it.  Trying
 version 3.0 of info-zip or any of the other linux  windows unzip
 programs has not been successful
 in extracting any of the later files in the archives.   I'm at a loss;
 does anybody have suggestions on
 how to retrieve this data?  Thanks.

The second thought that springs to would be be having a look at the
source code for unzip and seeing if you can tweak the zipfile offset
to allow for larger values than normal.

Assuming the data is there and correctly compressed, it should just be a
matter of getting the program to read it.

RobbieAB
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpDgAYACgkQZr0UhZgPVmya5QCePiJfsPo60LXuSh2d4RUj5CHv
BZcAn2Y9UUm42oAfd2IXj8RiqQcrXDc0
=Yeml
-END PGP SIGNATURE-



Re: [gentoo-user] [WAY OT] GUI programming for Linux (and Windows possibly)

2009-06-28 Thread Robert Bridge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mark Knecht wrote:
 Hi,
I know this is WAY off topic for this list but there's a lot of
 smart, experienced people here so I figured I'd look for a little
 guidance and then possibly join another email list that's more
 appropriate.
 
These days I'm trading stock index futures for a living. I have
 data files that I analyze in Excel over the weekend to help me make
 decisions about how to trade the coming week, but I'm always fighting
 Excel as it really isn't intended for the sort of math I want to do.
 The math's not difficult, but I need to look at various ranges,
 manage, sort and extract data from arrays, and amd then create charts.
 This is getting pretty difficult in Excel these days so I've started
 to wonder about writing a simple app to do what I need to do. It's not
 generally difficult stuff but it requires (or I prefer) a lot of small
 charts. I'm vaguely familiar with C  Pascal, but haven't programmed
 in years. I don't know C++ at all. I was trained as an EE.
 
So the main question is what sort of language (and possibly
 programming environment) should a complete novice look at to get his
 feet wet with GUI programming. I'd like something fairly light -
 performance probably won't be a huge problem - that I could run under
 Cygwin or maybe compile to run native in Windows should that ever
 become useful. For now it's probably a relatively simple Linux app
 that I'd likely run once a week on Saturday morning on 15 to 20
 databases I collect on Friday night.
 
If you can recommend a good list or forum for silly folks like me -
 know nothing about programming and have to ask lots os stupid beginner
 questions - I'd greatly appreciate that also.

#friendly-coders on freenode is full of friendly people.

Depending on how much effort you are willing to put in, I would probably
suggest looking at some form of macro set for a spreadsheet (Excel and
OO Calc both use basic variants, Gnumeric has a python interpreter.)

Another possibility if you don't need much interactivity on the GUI
would be to create a script + C-mini-app using GnuPlot to generate your
graphs.

Just a few thoughts...
Rob.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkpHrWMACgkQZr0UhZgPVmyffgCg97gheECMbXqdhH640aGkxuWM
fjoAoOwNt9vD+uNIt/iENZ0svkSR6B+4
=I+WH
-END PGP SIGNATURE-



Re: [gentoo-user] {OT} Preparing a laptop for sale

2009-12-16 Thread Robert Bridge
dd if=/dev/zero of=/dev/sda (or what ever)

On Wed, Dec 16, 2009 at 6:49 PM, Grant emailgr...@gmail.com wrote:
 I'm about to sell my old laptop and I'd like to wipe out the data and
 install any flavor of Linux via USB (the CD drive doesn't work any
 more).  I've got a bootable USB key that will get me into Gentoo.  How
 would you take it from there?  I'm looking for something quick and
 easy.  My data isn't too sensitive, but I'd like to do some type of
 wiping so it isn't all just sitting there with a deleted flag or
 however that works.

 - Grant





Re: [gentoo-user] {OT} Preparing a laptop for sale

2009-12-16 Thread Robert Bridge
dd is pretty thorough... afterall, it writes to every single block on the disk.



Re: [gentoo-user] gmonstart / jvregisterclasses in tons of binaries with commands,malware?

2009-12-16 Thread Robert Bridge
http://gcc.gnu.org/ml/gcc/2002-06/msg00112.html

They are GCC related.

Second result for _Jv_RegisterClasses on google :p



Re: [gentoo-user] {OT} Preparing a laptop for sale

2009-12-17 Thread Robert Bridge
On Thu, Dec 17, 2009 at 8:13 AM, Alan McKinnon alan.mckin...@gmail.com wrote:
 On Thursday 17 December 2009 02:37:54 Robert Bridge wrote:
 dd is pretty thorough... afterall, it writes to every single block on the
  disk.


 And the resulting effect from doing that once is:

 Trivially easy to recover the data that was there just before you did the dd

1) It's not trivial. Yes, a forensic lab can probably get enough to
convict, but that is NOT trivial... (And I have been talking to data
retrieval experts about similar stuff in the last week!)

2) The OP has admitted it's not that sensitive.

3) dd DOES write to every sector of the disk. It does what it does
pretty thoroughly.

The major weakness of dd (and any other OS based tool) is the
potential for drives doing sector remapping. The only absolutely
guaranteed way to eliminate this is a furnace.



Re: [gentoo-user] usb HD cannot boot without initramfs

2009-12-18 Thread Robert Bridge
Try passing a rootdelay option to the kernel to allow the kernels USB
probe to complete before it tries to mount the USB device.

e.g. kernel /boot/kernel root=/dev/usbhdd rootdelay=30 in grub



Re: [gentoo-user] usb HD cannot boot without initramfs

2009-12-18 Thread Robert Bridge
On Sat, Dec 19, 2009 at 1:59 AM, Kyle Bader kyle.ba...@gmail.com wrote:
 Is it rootdelay or scandelay?

rootdelay according to the stuff I found online. It's a delay to the
mounting of the root file-system.

And regarding 30s, I picked that on the basis of better too long than
too short. I had similar problems at one point, and found anything
less than 10 was unreliable, and even at 10 it would occasionally
fail.



Re: [gentoo-user] Re: Externel drive should be /dev/sda1, but /dev/sda1 does not exist [SOLVED somehow]

2010-01-02 Thread Robert Bridge
On Sat, Jan 2, 2010 at 2:37 PM, Michael Sullivan msulli1...@gmail.com wrote:
 I guess I should have checked before I sent that last post because
 now /dev/sda is there.  Now, how do I make it be there when I first boot
 into Linux?

If your / filesystem is on the USB drive, you need to insert a delay
before mounting it to allow the USB system to stabilise. This is
either done using an initrd or by passing a command line option to the
kernel in the boot loader. Essentially, there is a race condition
between USB initialisation and mounting /.

Appending rootdelay=10 to the kernel line in your bootloader should solve it.

http://www.reactivated.net/weblog/archives/2005/11/booting-linux-userland-from-an-external-usb-flash-disk/
has more details of the problem.



Re: [gentoo-user] {OT} Laptop wifi find more than external antenna

2010-01-08 Thread Robert Bridge
On Tue, Jan 5, 2010 at 5:37 PM, Grant emailgr...@gmail.com wrote:
 I travel with a USB wifi dongle and one of these directional antennas:

 http://www.newegg.com/Product/Product.aspx?Item=N82E16833164110

 Lately I've noticed there are some APs that my laptop's internal wifi
 connects to perfectly, but the external antenna can't find whatsoever,
 even after a lot of directional experimentation.  I've tried 2
 different USB dongles with the same result.  Has anyone had a similar
 experience?  I'm baffled because the external antenna is able to make
 strong connections to some APs, but it can't even find others that the
 laptop's internal card finds and connects to no problem.

A lot of laptops now have wireless antennas in the display, so the
internal wifi may be using better antennae than you expect.



Re: [gentoo-user] Problem with script calling OOCalc on amd64

2010-03-23 Thread Robert Bridge
On Wed, Mar 17, 2010 at 10:57 PM, Mick michaelkintz...@gmail.com wrote:
 That's interesting ... which Xresources is xterm reading?  I have this in my
 ~/.Xresources:

 aterm*loginShell:true
 aterm*saveLines:32767
 aterm*transparent:true
 aterm*transpscrollbar:true
 aterm*shading:40
 aterm*fading:55
 aterm*font:-*-fixed-*-*-*-*-20-*-100-*-*-*-*-*

 but xterm (judging by the size of the font) does not use it.

xterm isn't aterm is it? So it really shouldn't use the settings for a
different program.

Just a random thought.
RobbieAB



Re: [gentoo-user] Gfx for Linux Gaming

2010-04-08 Thread Robert Bridge
nVidia at the moment is a bit of a risk, as there is a whole raft of
issues going on with nVidia hardware. If their drivers work, they will
likely give better performance and features than AMDs options, and so
long as the hardware holds up. Read up on nVidia bumps issue for more
information.

However... AMD have an open-source strategy and an official
open-source driver stack. Their open-source drivers are good, and
getting better, but are not feature complete yet, nor really
competitive for performance in 3D games. I'm not aware of any major
issues surrounding AMD graphics, except the general complaints that
the FOSS drivers aren't yet good enough.

YMMV,
RobbieAB



Re: [gentoo-user] {OT} dumb ethernet mover

2010-05-31 Thread Robert Bridge
You mean a long ethernet cable?

On Mon, May 31, 2010 at 11:19 PM, Grant emailgr...@gmail.com wrote:
 My cable internet outlet is across the room from my TV, and my Gentoo
 desktop attaches to my TV.  I'm using a small wireless router to send
 the signal from the cable modem to my Gentoo system across the room.
 I don't like using a non-Gentoo decision-making device in my network,
 but I also don't want to build and maintain another Gentoo system for
 only firewall/router duties.  Am I overlooking another option?  I want
 a dumb device to move the ethernet connection from one side of the
 room to the other.

 There may not be anything like that.  I just thought I'd ask.

 - Grant





Re: [gentoo-user] One hard drive much slower for some reason.

2010-06-05 Thread Robert Bridge
Hi Dale,

On Thu, Jun 3, 2010 at 5:46 AM, Dale rdalek1...@gmail.com wrote:

 Here is that info.  I included all the IDE drives.  Sort of see if there is
 something different about them.

 smoker-new ~ # smartctl -A /dev/hda
  5 Reallocated_Sector_Ct   0x0033   253   253   063    Pre-fail  Always
   -       0
  7 Seek_Error_Rate         0x000a   253   252   000    Old_age   Always
   -       0
  9 Power_On_Minutes        0x0032   210   210   000    Old_age   Always
   -       1025h+05m
 199 UDMA_CRC_Error_Count    0x0008   199   196   000    Old_age   Offline
    -       3

 smoker-new ~ # smartctl -A /dev/hdb
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always
   -       0
  7 Seek_Error_Rate         0x000b   200   200   051    Pre-fail  Always
   -       0
  9 Power_On_Hours          0x0032   032   032   000    Old_age   Always
   -       50209
 199 UDMA_CRC_Error_Count    0x000a   200   253   000    Old_age   Always
   -       1155

 smoker-new ~ # smartctl -A /dev/hdc
  5 Reallocated_Sector_Ct   0x0033   253   253   063    Pre-fail  Always
   -       0
  7 Seek_Error_Rate         0x000a   253   252   000    Old_age   Always
   -       0
  9 Power_On_Minutes        0x0032   134   134   000    Old_age   Always
   -       1004h+16m
 199 UDMA_CRC_Error_Count    0x0008   199   193   000    Old_age   Offline
    -       6

From the above, the reallocated sector count is fine, none of the disk
seem to be having surface problems.

The UDMA errors are MUCH higher for sdb, as is the power-on hours. It
is claiming about 6 years powered on, which is a bit weird alright. If
it is having to recover UDMA errors, it will be much slower to
operate.

Cheers,
RobbieAB



Re: [gentoo-user] One hard drive much slower for some reason.

2010-06-05 Thread Robert Bridge
On Sat, Jun 5, 2010 at 8:54 PM, Dale rdalek1...@gmail.com wrote:
 The powered on hours is most likely about right.  I rarely turn my machine
 off.  That drive is about that old too.  I don't always have it mounted but
 it is a pain to remove so I just left it in there in case I needed it.

Is it a WD Caviar Black by any chance? I have vague memories of seeing
something saying they don't power off in firmware if unused...

Anyway, those UDMA errors are a bigger problem I suspect, as they will
slow things down as the disk has to recover from the errors. Are you
seeing any of the numbers change as you leave it running?

RobbieAB



Re: [gentoo-user] (II) NV(0): Setting screen physical size to 508 x 317

2010-07-16 Thread Robert Bridge
On Thu, Jul 15, 2010 at 10:15 AM, Erik esi...@gmail.com wrote:
 (There are other issues with this video device; it shows only 25 × 80
 characters in the virtual terminals (should be 75 × 240). This is the
 new Dell vostro|1720 from November, that replaced the old INSPIRON|8600
 aquired 5 years earlier, with radeon driver. That old device worked fine
 without any configuration files. The physical screen size was detected
 and the virtual kernel output switched to 75 × 240 characters as soon as
 the device was detected.)

Hi Erik,

It would help if you actually told us which driver you are using, and
what the actual hardware is. I'm guessing it's an nVidia card in the
new laptop, and some form of ATI card in the old one. It sounds like
the driver is over-riding the xorg.conf with (incorrect) readings it's
getting from the EDID for the display.

Cheers,
RobbieAB.



Re: [gentoo-user] Problems booting my server - ext2 - e2fsck

2010-07-24 Thread Robert Bridge
On Sat, Jul 24, 2010 at 9:21 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 I think you might need to fsck without the journal. I know there's a way to do
 this but a cursory glance at the man page didn't reveal it. Maybe an ext user
 will chip in with the correct method

e2fsck -f should run the full system check after replaying the journal.

RobbieAB



Re: [gentoo-user] Rooted/compromised Gentoo, seeking advice

2010-08-09 Thread Robert Bridge
On Mon, Aug 9, 2010 at 8:09 PM, Mick michaelkintz...@gmail.com wrote:
 There have been discussions on this list why sudo is a bad idea and sudo on
 *any* command is an even worse idea. You might as well be running everything
 as root, right?

sudo normally logs the command executed, and the account which
executes it, so while not relevant for single user systems, it STILL
has benefits over running as root.

RobbieAB



Re: [gentoo-user] system lag with gentoo-sources-2.6.35-r2

2010-08-22 Thread Robert Bridge
On Sun, Aug 22, 2010 at 8:01 PM, Alan Warren bluemoonsh...@gmail.com wrote:
 Is there a proper venu for debugging such matters, or should I just wait for
 this kernel to go prime-time?

Can you reliably reproduce the problem? If so, and you have a kernel
that works git-bisect should allow you to pinpoint the offending
commit.

By the sounds of it though, this could be related to the problems
Linux has when under heavy I/O, in which case you best bet would be to
look to the upstream git as there are supposed to be fixes in it.

Cheers,
RobbieAB.



Re: [gentoo-user] system lag with gentoo-sources-2.6.35-r2

2010-08-22 Thread Robert Bridge
On Sun, Aug 22, 2010 at 8:35 PM, Alan Warren bluemoonsh...@gmail.com wrote:
 I think you are correct though. It does seem to only happen while the system
 is under heavy I/O.

 I've never experienced anything like this in previous versions of the linux
 kernel,
 and resorting back to gentoo-sources-2.6.34 fixes the issue completely.

 If there are I/O fixes upstream, then I am assuming you are referring to a
 cut
 that is more recent then gentoo-sources-2.6.35-r2 that the Gentoo devs have
 yet to provide their patches to?  ( I see vanilla sources has 2.6.35 .3)

Well, the fix is in the line for 2.6.36 IIRC, so wouldn't be in an
2.6.35 kernel.

That said, the problem supposedly being fixed goes back well before
2.6.34, so if that kernel works, it suggests that it is a different
issue you are hitting. However... If there was a FF update, that could
be triggering the bug, as FF3.5+ are pretty stinky for I/O levels.



Re: [gentoo-user] Feckless xdm not much of a manager

2010-08-25 Thread Robert Bridge
On Wed, Aug 25, 2010 at 8:33 PM, Kevin O'Gorman kogor...@gmail.com wrote:
 Sorry, but that has several bits of misinformation.

 xdm is not a generic term, or at least I didn't mean it that way. It's the
 package x11-apps/xdm.

Gentoo uses the term xdm in two ways, one is for the xdm display
manager, provided by that package. The other is for the init scripts
used to launch a display manager. The init script launches the display
manager specified in the config files, kdm being the common one
choosen for KDE.

You are complaining about kdm not shutting down, this is nothing at
all to do with x11-apps/xdm, which is an entirely separate package. If
you have both running, than, again, kdms inability to behave is NOT a
problem of x11-apps/xdm, though, arguably, it could be said to be a
problem of openrc.

RobbieAB



Re: [gentoo-user] Re: OT: advice sought on new laptop for Gentoo

2010-09-07 Thread Robert Bridge
I don't know how well it works with Linux, but if screen estate really
matters, has anyone looked at the Lenovo ThinkPad W700ds? I know
pretty much every CAD person I know drools over it as a mobile
workstation...

RobbieAB



Re: [gentoo-user] Re: webrsync {SOLVED}

2020-02-29 Thread Robert Bridge


> On 29 Feb 2020, at 13:57, Rich Freeman  wrote:
> 
> Maybe something has changed in the last few years and swap is actually
> useful, but I'm skeptical.  I always tend to end up with GB of free
> RAM and a churning hard drive when I enable it.  On SSD I'm sure it
> will perform better, but then I'm running through erase cycles
> instead.

It may be a stupid question, but are you setting vm.swappiness to a reasonable 
value? 

The default setting of 60 does tend to lead to swapping far earlier than is 
reasonable for modern desktops with 8+GB RAM.

Cheers,
Robert.


Re: [gentoo-user] speedup remote portage

2020-02-26 Thread Robert Bridge
> On 27 Feb 2020, at 00:08, William Kenworthy  wrote:
> 
> Hi,
> 
> due to space considerations on my laptop I have moved portage onto a
> network share (moosfs, mfsmounted) - slower but works fine.  However,
> being a laptop trying to update/install when out and about is both very
> slow and network intensive through a vpn - again, it works but is even
> slower to the point of not always being practical
> 
> Is there a way to localise/speedup portage scanning parts of the
> update/install process?
> 

I used to use a portage tree shared over NFS. One thing that is worth 
considering, if you haven’t, is having the remote host manage tree syncing. 
This would remove the need for the laptop to be involved in the sync.

Also, I generally would try to avoid updating the system while out and about, 
so that when I am updating it is a local network operation. Obviously this 
won’t work if you need a package when out and about, but if you are local to 
the server every night or couple of nights, it would significantly reduce the 
pain of updates.

Cheers,
RobbieAB.




Re: [gentoo-user] Globally disabling colour

2020-01-05 Thread Robert Bridge
I had this issue many moons ago, which lead to my discovery of the
ansifilter package:

> # emerge -pv ansifilter | ansifilter
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies  . ... done!
> [ebuild   R] app-text/ansifilter-2.15::gentoo  USE="qt5" 0 KiB
>
> Total: 1 package (1 reinstall), Size of downloads: 0 KiB

It strips all the terminal escape chars which are how applications do the
color in their terminal output. Very handy when combined with pastebin
utilities.

Cheers,
Robert.

>
>


Re: [gentoo-user] Globally disabling colour

2020-01-05 Thread Robert Bridge
But it can easily strip the garbage from that file when you need to use the
contents...

> # ansifilter /var/log/portage/elog/summary.log-20200105 | less

On Sun, 5 Jan 2020 at 12:45, Dr Rainer Woitok 
wrote:

> Robert,
>
> On Sunday, 2020-01-05 12:17:23 +, you wrote:
>
> > I had this issue many moons ago, which lead to my discovery of the
> > ansifilter package:
> >
> > > # emerge -pv ansifilter | ansifilter
>
> Nice find.  However, this only produces a clean terminal window but does
> not prevent all the garbage in "/var/log/portage/" :-\
>
> Sincerely,
>   Rainer
>
>


Re: [gentoo-user] Alternate Incoming Mail Server

2020-04-06 Thread Robert Bridge
On 6 Apr 2020, at 16:35, Ashley Dixon  wrote:
> 
> On Mon, Apr 06, 2020 at 05:24:03PM +0200, J. Roeleveld wrote:
>> You'd need to install a SMTP server on the backup system and configure it to
>> relay emails to your primary mailserver.
>> 
>> In the DNS you can configure priorities in the MX entries.
> 
> Hi, cheers for your response, however as Michael pointed out, such a server
> would be unnecessary. I wasn't aware of the S.M.T.P.\ standard which mandates
> M.T.A.s retry for four or five days, and given that my server won't be down 
> for
> longer than a few minutes, I think I'm going to stick with a single MX.

It is still commonly considered good practice to have a secondary MX server. I 
have encountered some DNS control panels which actually refuse to allow you to 
only configure a single MX record!

Why trust another party to correctly handle your email when your main system is 
offline?


Re: [gentoo-user] Alternate Incoming Mail Server

2020-04-06 Thread Robert Bridge
On 6 Apr 2020, at 18:20, J. Roeleveld  wrote:
> 
> On 6 April 2020 19:14:35 CEST, Michael Orlitzky  wrote:
>>> On 4/6/20 1:02 PM, Grant Taylor wrote:
>>> On 4/6/20 10:43 AM, Michael Orlitzky wrote:
 Well, I can't refute an anecdote without more information, but if 
 you're worried about this you can create the same MX record twice so
>> 
 that the "backup" is the primary.
>>> 
>>> That's not going to work as well as you had hoped.
>>> 
>>> I've run into many MTAs that check things and realize that the hosts
>> in 
>>> multiple MX records resolve to the same IP and treat them as one.
>>> 
>> 
>> Why don't you say which MTA it is that both (a) combines MX records
>> with
>> different priorities, and (b) doesn't retry messages to the primary MX?
> 
> I have missed emails coming from mailing lists, this one for example, due to 
> no retries.
> The proof for that is that I got replies to emails I never received.

But that is just an anecdote. 


Re: [gentoo-user] update remote system in background

2020-04-24 Thread Robert Bridge

> On 24 Apr 2020, at 09:22, Raffaele BELARDI  wrote:
> 
> 
> Wonderful, thanks! I’m going with screen, just because the first link is a 
> shorter read.
> raffaele

If you ever need to work with other platforms (specifically Macs) they use 
tmux, which is a minor plus for that. 

Otherwise for your purposes here they are basically indistinguishable barring 
slightly different keybindings. 



Re: [OBORONA-SPAM] Re: [OBORONA-SPAM] Re: [gentoo-user] Is Gentoo dead?

2020-04-24 Thread Robert Bridge
On 24 Apr 2020, at 18:37, Caveman Al Toraboran  
wrote:
> 
> On Friday, April 24, 2020 8:30 PM, inasprecali  
> wrote:
> 
>> There is no rational reason for the core of Portage to be written in
>> C.
> 
> curious.. are you also cool if busybox was written
> in python?

The argument for a statically linked C portage is really two arguments: one 
about linking and a separate though slightly related argument about language 
choice.

Regarding the statically linked argument: while there is some justification for 
eliminating dependencies, unless and until your statically linked portage is 
going to include a minimal C computer capable of bootstrapping gcc and a 
toolchain, you are still going to have to deal with the risk of external 
components breaking.

Regarding the argument about language: portage should be written in whatever 
language the portage writers are most comfortable with. The benefits of any 
individual language are really going to be less than the benefits of a tool 
that mostly works with developers who are willing to support it.