Re: [gentoo-user] Looking for advice on shared file system.

2007-02-27 Thread Peter Lewis
On Monday 26 February 2007 19:14, Alan McKinnon wrote:
 On Monday 26 February 2007, Michal 'vorner' Vaner wrote:
  Hello,
 
  On Mon, Feb 26, 2007 at 04:54:31PM +, Peter Lewis wrote:
   I've been looking around for a while now for some sort of shared
   file system which might meet my needs a little better than that
   which I am currently using.
 
  Maybe coda? Thought I only heard of it, not used.
 
  Have a nice day

 Yeah, that was my first thought as well. Code is marketed as being able
 to work in a disconnected state. Whatever that means, I'm sure it is
 good.

Thanks guys - I'd not heard of Coda. It looks like it might well do the trick.

Cheers,

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



[gentoo-user] Looking for advice on shared file system.

2007-02-26 Thread Peter Lewis
Hi,

I've been looking around for a while now for some sort of shared file system 
which might meet my needs a little better than that which I am currently 
using.

I regularly use two different computers (desktop and laptop) for the same work 
and have always had a network (samba) drive mounted from a server box in 
order to be able to have one documents repository for all three machines. 
This works fine, so long as I am connected to the network (or at a push, the 
internet via ssh and fuse), but it leaves me at a loss whilst I am working 
from the laptop and not able to be connected. There is also the added 
negative point that when I am not on a fast connection, working on a network 
drive can slow things down quite a bit.

For a while, I have been getting around this by using rsync on a seperate 
directory, which I keep mirrored between all three machines. I have a simple 
shell script which will check out the files from the server to the local 
machine and another which will check them back in when I have finished 
working with them. The basic idea is to use something like

rsync -rvzu --delete rest of command

This does work, though I have to remember to check them back in before I 
finish. Once, I forgot and the script deleted all the changes. Also, it is 
quite inflexible and I just know that I am going to trip up by having various 
versions of the files on different computers.

So... what I am looking for is some kind of file system a bit like IMAP is for 
mail, which will keep the files synchronised with each other (preferably 
automatically, or via a cron job or something) but also maintain a local copy 
of the files so that I can unplug from the network, carry on working and plug 
back in later - all seamlessly.

Does anyone know of anything like this, or can make a recommendation?

Alternatively, is it possible to mount a filesystem over a disconnected IMAP 
connection (perhaps using fuse) in a similar way to with mail? Is this a daft 
idea?

Many thanks,

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



[gentoo-user] Portage can't see ebuilds in PORTDIR_OVERLAY.

2007-02-22 Thread Peter Lewis
Hi people,

I have been trying to add an ebuild to my /usr/local/portage tree, but am 
having problems.

I dropped the ebuild into /usr/local/portage/kde-misc/foo-1.2.3-r4.ebuild and 
have also set PORTDIR_OVERLAY=/usr/local/portage in /etc/make.conf.

I have chown'd portage:portage everything under /usr/local/portage, including 
the ebuild.

The ebuild in question is keyworded as ~amd64 ~x86, so I tried an:

$ ACCEPT_KEYWORDS=~x86 emerge --search foo

and it gave me nothing.

On the advice of someone on IRC, I tried:

$ ebuild foo-1.2.3-r4.ebuild digest

from the /usr/local/portage/kde-misc directory, and I get the following:

Appending /usr/local to PORTDIR_OVERLAY...
!!! /usr/local does not seem to have a valid PORTDIR structure.

which seems quite odd to me. Why would it think that /usr/local should be my 
overlay tree?

Can anyone suggest anywhere I'm going wrong?

Thanks,

Pete :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Portage can't see ebuilds in PORTDIR_OVERLAY.

2007-02-22 Thread Peter Lewis
On Thursday 22 February 2007 13:01, Peter Lewis wrote:
 I have been trying to add an ebuild to my /usr/local/portage tree, but am
 having problems.

Ah... solved it. The thing needs to be in:

/usr/local/portage/category/packagename/ebuild

I'd missed out packagename.

Sorry for the noise... :-)

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



Re: [gentoo-user] Re: Simple Linux Router on a live CD?

2007-02-21 Thread Peter Lewis
On Wednesday 21 February 2007 13:54, Bo Ørsted Andresen wrote:
 On Tuesday 20 February 2007 19:26:21 Peter Lewis wrote:
   The arrogance of these responses is astounding. Does anyone believe
   in civility any more?

 [SNIP]

  Quite. I know very little about the topic which the OP was asking about,
  Gentoo solutions or otherwise. I was merely defending the guy's right to
  ask the question without being shot down for being lazy.

 I really don't see how suggesting that the OP might be lazy is so arrogant.
 If it's not actually the case then he can just say so. Thus far he hasn't
 replied to any of the replies in this thread anyway and the original post
 contained so little information that I gave up on deciphering it. Even if
 it's a language issue he can just say that...

I don't really think that it's arrogant, as you put it, just not that helpful.

All I'm really saying is that it's good to try to maintain a friendly 
atmostphere where people feel like they can post without feeling like they 
might be acting too silly. Perhaps some people are lazy, perhaps some aren't, 
but like another poster said, you can just ignore the post if you don't like 
it.

I'm a big fan of the there are no stupid questions, just stupid answers way 
of thinking. IMO this list should be as non-threatening for 
people-who-want-to-find-out-stuff-they-don't-know as possible.

:-)

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



Re: [gentoo-user] Re: Simple Linux Router on a live CD?

2007-02-21 Thread Peter Lewis
On Wednesday 21 February 2007 16:03, Neil Bothwick wrote:
 On Wed, 21 Feb 2007 15:17:45 +, Peter Lewis wrote:
  I'm a big fan of the there are no stupid questions, just stupid
  answers way of thinking.

 A job providing technical support will soon cure you of that :)

Ha ha, perhaps :-)

 More seriously, there is such a thing as a bad question, and they
 significantly outnumber the good. Most questions provide too little
 information to get a really useful answer.

That may well be true, but it doesn't make the question invalid - just perhaps 
in the wrong forum.

 GIGO applies here as much as 
 anywhere else.

Too true. I wouldn't want to encourage the asking of questions!

So, and I ask this as an honest question, is it generally accepted that the 
level of technical knowledge expected on this list is higher than, say, on 
the forums? Or the IRC channels?

I'm relatively new to the Gentoo community, though not to online or computing 
communities generally, and am finding that there are a lot more unspoken 
norms or rules than I am used to (or perhaps the seasoned members are less 
forgiving of them being broken), which can be quite a disincentive to a 
newcomer.

This is all just my opinion, of course, but I was just wondering.

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



Re: [gentoo-user] Re: Simple Linux Router on a live CD?

2007-02-21 Thread Peter Lewis
On Wednesday 21 February 2007 16:36, I wrote:
 Too true. I wouldn't want to encourage the asking of questions!

D'oh! That was supposed to be the asking of *stupid* questions...

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



Re: [gentoo-user] Re: Simple Linux Router on a live CD?

2007-02-21 Thread Peter Lewis
On Wednesday 21 February 2007 18:06, Nelson, David (ED, PARD) wrote:
  From: Boyd Stephen Smith Jr. [mailto:[EMAIL PROTECTED]
  Sent: 21 February 2007 17:53
  It would be helpful for at least
  some people
  if we would let them know about our 5 pillars: Plain-Text Only, No
  Top-Posting, No Thread Hijacking, Attachments Only By
  Request (and
  consider private mail), and Trim Quoted Material.

 IMO it would be useful if all new mailing list subscribers were told these
 5 pillars when signing up. Makes for a happier mailing list overall.

Yeah, that sounds like a good idea.

Well, I found this discussion quite helpful in the end - and sorry for 
hijacking the thread ;-)

I hope I can be of some use on the list.

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



Re: [gentoo-user] Simple Linux Router on a live CD?

2007-02-20 Thread Peter Lewis
On Tuesday 20 February 2007 00:48, Albert Hopkins wrote:
 On Mon, 2007-02-19 at 19:46 -0300, Norberto Bensa wrote:
  Mikie wrote:
   Anyone out there know where I could DL an iso file with a simple
 
  route
 
   only linux?
 
  Is _really_ that hard to use Google?

 Maybe they've never heard of Google.  Or maybe they live in a country
 where Google is forced to censor their search results or something like
 that.

 ... or maybe they're just lazy.

Or maybe they actually wanted a recommendation from someone rather than just 
picking something off the shelf based on how good its website was.

Stranger things have happened...

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



Re: [gentoo-user] Simple Linux Router on a live CD?

2007-02-20 Thread Peter Lewis
On Tuesday 20 February 2007 11:44, Neil Bothwick wrote:
 On Tue, 20 Feb 2007 08:27:09 -0300, Norberto Bensa wrote:
  Hm. It sounded like he was lazy to do a research work. I have to
  confess it didn't even cross my head that OP just wanted a
  recommendation on available router distros. In that case, I feel very
  sorry.

 Don't be too hard on yourself, the OP didn't ask for a recommendation,
 only a download location.

No, I didn't mean it as a criticism anyway. I just find that it helps to 
assume the best on mailing lists. It all helps for a happy community.

:-)

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



Re: [gentoo-user] Re: Simple Linux Router on a live CD?

2007-02-20 Thread Peter Lewis
James,

On Tuesday 20 February 2007 15:46, James wrote:
 Peter Lewis prlewis at letterboxes.org writes:
  No, I didn't mean it as a criticism anyway. I just find that it helps to
  assume the best on mailing lists. It all helps for a happy community.

 Dear Pompous Jerks:

Are you including me in that?

If you read what I wrote, you will find that I was indeed advocating the use 
of the mailing list for people to ask for advice / experiences, rather than 
flaming someone for not using Google.

I too am surprised by the lack of civility on this and other Gentoo mailing 
lists sometimes. This is something which can only put people off asking for 
help on them.

 The arrogance of these responses is astounding. Does anyone believe
 in civility any more?

 If google is so wonderful, and all of the aforementioned geniuses
 so bright, how did you guys miss the most glaring response of all?

 http://www.gentoo.org/proj/en/base/embedded/gnap-userguide.xml

Quite. I know very little about the topic which the OP was asking about, 
Gentoo solutions or otherwise. I was merely defending the guy's right to ask 
the question without being shot down for being lazy.

 After all, since he asked on a gentoo list, might we not all assume
 that he's inquiring about a gentoo_ish solution, without explicit
 statement thereof?


 You guys should be ashamed of your behavior. Just because somebody
 does not write a politically correct question, does not mean
 they don't need help. If you are not will to *HELP* then just
 ignore the email.. 

I could not agree more.

 Besides, Gentoo's greatest strength is 
 the help the community provides to one another. Do you think this
 guy is now going to go to his friends and say hey checkout this
 firewall I found and set up with the help of the gentoo community?

Like I said, I think this list could be a LOT friendlier. Just because someone 
is a Gentoo user does not mean that we can assume all sorts of knowledge and 
skills. They may well just be curious or like the thing.

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



Re: [gentoo-user] What about kernel 2.6.19 ?

2007-02-17 Thread Peter Lewis
Hi Alain,

On Saturday 17 February 2007 18:55, [EMAIL PROTECTED] wrote:
 Just compiled kernel 2.6.19-r5, with same config as 2.6.18-r6.
 When trying to boot it, I get a kernel panic, grub not finding (hd0,0),
 when booting 2.6.18 doesn't cause any problem. What's new in 2.6.19 that
 causes this? What's the solution ? Help welcome.

I had exactly the same problem.

When I upgraded from 2.6.18 to 2.6.19, for some reason make oldconfig didn't 
work (maybe my misunderstanding of it).

This meant that though I thought that the old settings were copied across, in 
fact they weren't. I found the culprit of this to be that the default/generic 
IDE controller wasn't enabled in the kernel. Try going through your kernel 
config checking that your IDE/SATA controller is being built.

HTH,

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



Re: [gentoo-user] revdep-rebuild keeps building gcc

2007-02-15 Thread Peter Lewis
On Thursday 15 February 2007 17:46, [EMAIL PROTECTED] wrote:
 You have to fix some paths in the two mentioned files. I can't remember if
 it's both files or just one of them. But at least in one of the files the
 paths are wrong. Check bugs.gentoo.org to find more.

Will do... Thanks!

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



Re: [gentoo-user] revdep-rebuild keeps building gcc

2007-02-15 Thread Peter Lewis
On Thursday 15 February 2007 18:20, Bo Ørsted Andresen wrote:
 In the future please create a new thread by choosing new mail rather than
 replying to another thread and changing the subject...

Sorry... I didn't know there was a difference.

 https://bugs.gentoo.org/show_bug.cgi?id=125728#c29

Many thanks,

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



Re: [gentoo-user] revdep-rebuild keeps building gcc

2007-02-15 Thread Peter Lewis
On Thursday 15 February 2007 18:32, John Blinka wrote:
 Following a suggestion on this list, here's what I did to correct this
 problem:

 Use your favorite text editor to correct the dependency_libs line
 in each of these files.  Each line starts with something like
 dependency_libs=' /usr/lib/gcc/some library ...
 but should start with
 dependency_libs=' /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/some library

Thanks... there's also a symlink option on the bug page which Bo linked to.

It's working now. :-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: revdep-rebuild keeps building gcc

2007-02-15 Thread Peter Lewis
On Thursday 15 February 2007 19:30, Grant Edwards wrote:
 When you hit reply the message will contains headers that
 indicate what message it's a reply to.  Real mail/news programs
 use that header information to sort messages into threads.

I've just turned threads on in my mail client and I see what you mean!

Thanks for the heads up.

:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Network start delay?

2007-02-08 Thread Peter Lewis
On Wednesday 07 February 2007 23:12, Iain Buchanan wrote:
 On Wed, 2007-02-07 at 10:37 +, Peter Lewis wrote:
  I start my wireless network with the script
 
  /etc/init.d/net.eth2
 
  which is started by init in the default runlevel.
 
  I also have
 
  /etc/init.d/netmount
 
  to mount some samba shares, and which is also started my init in the
  default runlevel, but depends on net from the line:
 
  local myneed=net
 
  So, as I understand it, this makes sure that init starts net.eth* before
  starting netmount. That's good. However, eth2 is on a DHCP-enabled
  connection and takes a few seconds to come up after starting the script.
  By the time netmount is started, net.eth2 has not finished coming up, so
  netmount fails and the samba shares are never mounted automatically.
 
  Is there a way to make the netmount script wait for a route to exist
  before attempting to connect?

 net.eth2 shouldn't return (by default) until it has a dhcp address,
 which means all other scripts starting after it will wait until you have
 an address.

 Things you might have done to change the default behaviour include
 RC_PARALLEL_STARTUP, and RC_NET_STRICT_CHECKING in /etc/conf.d/rc.

 You can set them to no, and yes respectively and see if the
 following scripts wait...

Thanks for this. I just checked and I have those variables set up correctly.

Yes, upon closer inspection, the problem is slightly weirder.

I'm using an Intel ipw3945 wireless device, which requires a daemon to run 
to regulate it or something. So, I also have /etc/init.d/ipw3945d start at 
boot. This must start before I can access eth2. However, I've actually just 
noticed that I don't explicitly start net.eth2 in any runlevel. It seems that 
this is kicked into action by ipw3945d somewhere (though I can't see where). 
The /etc/init.d/net.eth2 process just seems to fork off to the background, 
meaning that init carries on booting, and hence fails on netmount.

Anyone any experience with this?

Cheers,

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



[gentoo-user] Network start delay?

2007-02-07 Thread Peter Lewis
Hi all,

I have a quick question about my init scripts.

I start my wireless network with the script

/etc/init.d/net.eth2

which is started by init in the default runlevel.

I also have

/etc/init.d/netmount

to mount some samba shares, and which is also started my init in the default 
runlevel, but depends on net from the line:

local myneed=net

So, as I understand it, this makes sure that init starts net.eth* before 
starting netmount. That's good. However, eth2 is on a DHCP-enabled connection 
and takes a few seconds to come up after starting the script. By the time 
netmount is started, net.eth2 has not finished coming up, so netmount fails 
and the samba shares are never mounted automatically.

Is there a way to make the netmount script wait for a route to exist before 
attempting to connect?

Thanks!

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



Re: [gentoo-user] Licenses

2007-01-31 Thread Peter Lewis
Hi there folks...

I'm new to the list, so thought I'd say hello.

On 00:54 Wed 17 Jan , Fredrik Tolf wrote:
 Btw., shouldn't portage have some kind of flag to at least warn if a
 proprietary package is being pulled in through dependencies? I just
 discovered that I have realplayer installed, which was pulled in by
 mplayer.

Have you taken a look at GLEP 23? I for one hope that this gets implemented 
pretty soon. :-)

http://www.gentoo.org/proj/en/glep/glep-0023.html

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