Re: [gentoo-user] ntp.conf keeps getting rewritten

2004-01-29 Thread A. Craig West
On Thu, 29 Jan 2004, Thomas T. Veldhouse wrote:

 Yes, I am running dhcp ... however this does not happen on my FreeBSD
 box also running dhcp.  Is this perhaps a bug in dhcpcd?  FreeBSD uses
 isc-dhcp for its client software, and there is no trouble with
 overwriting this file.  I do know that my dhcp server is not setup at
 all to configure ntp resources on the client.
 
 So ... what can I do to fix this?

To quote my own sig file, it's not a bug, it's a feature. I happen to think
that the dhcpc guys implemented the feature in a really irritating way, but
that's how it is. The intent of the feature is to allow the dhcp server to
update the client with ntp settings based on the local network configuration.
This is a bit of a problem, though, seeing as very few dhcp servers appear to
be configured to actually DO so, so it ends up by default updating it to
either something useless, or removing the file entirely.
The solution is, as Spider said, to add a -N flag to your dhcpc options in
the dhcpcd_eth0= line. I have also added a -Y on mine, because it pulls the
same nonsense with I think ypbind.conf (something like that, anyways).

-- 
Craig West Ph: (416) 666-1645   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how NOT to start net.eth0?

2003-11-24 Thread A. Craig West
On Mon, 24 Nov 2003, Matthieu Amiguet wrote:

 I've got a network interface configured but I don't want it to be started at boot 
 (this is a laptop).
 
 I don't know why, but it is started anyway. 

Is pcmcia started? It is probably some combination of pcmcia and/or hotplug
that is starting it. We need a better way of dealing with pcmcia network
cards, I've noticed, as it seems very difficult to keep the system from either
not starting the net.eth0 up at all or starting it twice. Our startup scripts
don't seem to like having dependencies on things that may or may not be
present at boot. No idea how to deal with it, though...

-- 
Craig West Ph: (416) 666-1645   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] system time/hw clock

2003-11-18 Thread A. Craig West
On Tue, 18 Nov 2003, Javier Gostling wrote:
 Actually, Windows assumes the hw clock to be set to local time, so if you
 set Linux to UTC, then Linux will mess your time. I had this happen some
 time ago, and instructing Linux that the hw clock is in local time solved
 the issue.

I've never really understood why it is that Microsoft does not allow a UTC
hardware clock. Because of daylight savings time, having the hardware clock
set to localtime causes the actual hardware clock to be reset twice a year.
This can result in flakiness with any process that happened to be waiting for
a time to occur at that instant.

My solution, which isn't particularly good, is to run any dual boot machines
in UTC and tell windows that my timezone is Greenwich Mean Time, and set it to
not adjust the clock for daylight savings. I would rather have to deal with
times in GMT than have random intermittent flakiness.

-- 
Craig West Ph: (416) 666-1645   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Cuecat barcode reader

2003-11-03 Thread A. Craig West
Is anybody successfully using a cuecat barcode reader under gentoo? I applied
the 2.4.21 patch to vanilla-sources-2.4.22, but it doesn't seem to be working
properly. It is possible that there are changes from 2.4.21 to 2.4.22 that
require modifications to the patch, but it applied quite cleanly...
Any help would be appreciated, I have a LOT of books that need cataloging :-)

-- 
Craig West Ph: (416) 666-1645   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...

--
[EMAIL PROTECTED] mailing list



[gentoo-user] Rebuilding kernel module ebuilds

2003-11-03 Thread A. Craig West
Some time ago, somebody posted a script to re-emerge any ebuilds for kernel
modules after recompiling the kernel. alsa-driver and pcmcia-cs come to mind
as likely candidate ebuilds. I have been trying to find this script both in the
list archives and on the forums but have had no luck. Does this ring a bell
with anybody?

-- 
Craig West Ph: (416) 666-1645   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] (Successful)Installing KDE and Xfree problem

2003-10-21 Thread A. Craig West
On Tue, 21 Oct 2003, Dennis Robertson wrote:

 On Tue, 21 Oct 2003 13:15, Donnie Berkholz wrote:
  Personally, I merge them manually in a second term while viewing the
  diff etc-update shows me because it's still too annoying.
 Thanks for that advice. I'll follow it.

I use vim -d to do my merges. The appropriate settings are in etc-update.conf.
This is only really recommended if you are familiar with vi. The advantage is
that you can see the before and after versions of the file, and can copy lines
between them easily.
The appropriate setting are:
pager=
diff_command=vim -d %file1 %file2
using_editor=1
merge_command=sdiff -s -o %merged %orig %new

-- 
Craig West Ph: (416) 666-1645   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ifconfig

2003-10-14 Thread A. Craig West
On Tue, 14 Oct 2003, Tom Hosiawa wrote:

  No, I meant is it built-in to the laptop.  Or is it a PCMCIA card?
 
 Sorry, its built-in

It's quit possible that internally, it is actually PCMCIA. If this is the
case, hotplug may be starting it up for you.

-- 
Craig West Ph: (416) 666-1645   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...

--
[EMAIL PROTECTED] mailing list



[gentoo-user] File corruption issues

2003-09-24 Thread A. Craig West
I've been getting some strange file corruption issues using ext3 with
vanilla-sources-2.4.22. The corruption is particularly noticeable during emerge where 
I get strange compilation errors, and examination of the files in
/usr/tmp/portage shows that the files have been corrupted. The weird part is
that fsck finds no problems with the files. Does anybody have any ideas on
how this can happen?

-- 
Craig West Ph: (416) 666-1645   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: Light Linux Laptop?

2003-07-24 Thread A. Craig West
On Thu, 24 Jul 2003, Stroller wrote:

 On 24/7/03 6:11 pm, Alex [EMAIL PROTECTED] wrote:
 
  Does anyone know of a good laptop to run linux on (preferably gentoo)?
 ... 
  I was wondering, since gentoo is a source-based distrobution, how *slow*
  of a computer can be useful?
  
  Would mozilla run well on a Pentium II-266 Mhz? I realize there are other
  browsers like links  lynx, but they don't seem to render most pages
  correctly.

I run gentoo on a PII - 266, and it works fine, although I REALLY don't
recommend using KDE with it, it takes 5 days or so to compile. It certainly
isn't the fastest thing to build with, but it is quite usable.

-- 
Craig West Ph: (416) 567-1491   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Threaded email client for gentoo-user?

2003-06-23 Thread A. Craig West
On Mon, 23 Jun 2003, Peter McCracken wrote:
 On Mon, 2003-06-23 at 21:09, Spundun Bhatt wrote:
  Another thing mentioned last time in a similar thread was top-posting. 
  While I have harrassed the online community a lot with my top posted 
  mails, I am trying to change that, is there any guidelines available for 
  this? Sometimes I feel that if my message is starting on the second page 
  of the mail, no-one is going to read it.

Spundun,
If your message is starting on the second page, you probably need to trim the
post you are replying to a little more thoroughly...

 And perhaps someone could answer why bottom-posting is better, anyway? 
 I'll obey it, if that's etiquette.  But I would have thought top posts
 were easier to read.

Peter,
The recommended method replying is actually not strict bottom-posting. It is
EDITED bottom posting, where you only keep enough of the previous message to
keep the context obvious. I this particular case, I replied to two separate
parts of the previous message. This keeps the context clear, and cuts down on
bandwidth usage.
The biggest problem with top-posting is that it tends to encourage the
inclusion of the entire previous thread in each message. This is particularly
bad if the message was from a message digest... The theory is that if your
message makes sense without reading the included bits of the previous message,
then you probably didn't need to include them at all.

-- 
Craig West Ph: (416) 567-1491   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Package management for non-ebuild software

2003-04-03 Thread A. Craig West
On Thu, 3 Apr 2003, Tom Wesley wrote:

 I'm new here, but if the skel.ebuild file fits well in this case it would 
 probably be doable with a script.
 One thing that strikes me as being more urgent would be to allow sources to
 be built as non-root and installed as root.

The biggest problem I find with cooking up ebuilds is sandbox violations,
where some package doesn't necessarily follow the rules about where to
install stuff. I occasionally have to make a patch to fix it...

-- 
Craig West Ph: (416) 567-1491   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] ntpd keeps blowing away my custom /etc/ntp.conf

2003-03-30 Thread A. Craig West
On Sun, 30 Mar 2003, Raptorfan wrote:

 Howdy. I've a small problem that is really starting to piss me off. I have a
 custom ntp.conf on my plaything gentoo box; all ntpd does on this box is
 maintain peer connections amongst all my home unix boxen (one of which syncs
 to outside sources). Whenever this box is rebooted (which is frequent as its
 also a new-kernel playground) something (I presume the ntpd startup script)
 proceeds to nuke my custom ntp.conf and replace it with the default
 ntp.conf, looking only at the internal clock. Well, I HAVE my own ntp.conf
 and I WANT it used. Can anyone help me make this thing keep blowing my
 desired conf file away?

It's not ntpd that is messing you up, it's dhcpc. In your /etc/conf.d/net file
is a line dhcpcd_eth0= line (eth0 should be replaced with whatever interface
you are actually using dhcpc on)
I think the line defaults to
dhcpcd_eth0=
but mine is now
dhcpcd_eth0=-Y -N

the -N tells it to stop messing around with the ntp.conf file, and the -Y
tells it not to mess around with yp.conf. You can also add -R to protect the
resolv.conf file, but I happen to want this one to update dynamically.

On the other hand, if the dhcp server is under your control, you can have it
send reasonable values for the ntp server settings and have it updated
across your entire network. I personally don't thing they should have made
this the default, but it is a lot easier to maintain a large network this
way.

-- 
Craig West Ph: (416) 567-1491   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: failure notice

2003-03-16 Thread A. Craig West
On Sun, 16 Mar 2003, Evan Powers wrote:

 Out of curiosity, is there a cultural/historical reason you can think of which 
 explains why the name of this particular street is pronounced differently? 
 Does Winnipeg have a smaller French-Canadian influence?

Winnipeg definitely has a smaller Fench-Canadian influence, but they pronounce
it the French way when referring to carrying canoes. It's a little odd, really.

I just checked Merriam-Webster, and they list both pronunciations, with the
French version I favour being only valid for the third definition:
Pronunciation: 'pOr-tij, 'por-, 3 is also por-'t?zh
Function: noun
Etymology: Middle English, from Middle French, from porter to carry
Date: 15th century
1 : the labor of carrying or transporting
2 archaic : the cost of carrying : PORTERAGE
3 a : the carrying of boats or goods overland from one body of water to another or 
around an obstacle (as a rapids) b : the route followed in making such a transfer

-- 
Craig West Ph: (416) 567-1491   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Portage question

2003-03-15 Thread A. Craig West
On Sat, 15 Mar 2003, Don Smith wrote:

 Renat Golubchyk wrote:
 
 Hi!
 
 Since English is not my native language I was wondering how do you
 pronounce Portage. With two stresses like two different words
 port age or with one stress like in sausage?

The pronunciation is normally the French pronunciation for the word, although
I think in English we lose an accent somewhere. So the word is pronounced with
two separate stresses, por - tage, but the age is pronounced more like auzh.
English doesn't really have anything like it, which is odd because it IS an
English word now.

 
 Just curious ;-)
 
 Maybe we need an audio version from Daniel Robbins with
 Hello, I'm Daniel Robbins and I pronounce Portage as Portage. :-)

This could be a good idea...

 It is por tauge so yes, like in sausage.  I am Canadian and Americans 
 may say it different.  They say we have a accent but I do not know what 
 that it aboot, eh? :)

I'm a Canadian, too, but it seems we disagree in either the pronunciation of
portage or sausage. When I says sausage, the first syllable has a much stronger
stress than the second, and the 'g' is pronounced with a 'j' sound. The only
similarity to portage is how many syllables it has...

 (Goes back to his Tim Horton's coffee)

-- 
Craig West Ph: (416) 567-1491   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...


--
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: failure notice

2003-03-15 Thread A. Craig West
On Sun, 16 Mar 2003, Evan Powers wrote:

 I am an American, and I also pronounce it roughly the same way as sausage. 
 I've never heard it pronounced by anyone who wasn't introduced to Gentoo by 
 me, though, so take that with a grain of salt.
 
 If I were to think about it, my chosen pronunciation was determined mostly by 
 cultural influences. For whatever reason my age/geographic group tends to 
 occasionally stick -age on random words and pronounce them in the same way. 
 And there's that Kia SUV, the Sportage; it's name is pronounced this way 
 too.

We rhyme Sportage with portage, with the French pronunciation. That seems to
be how Kia does it, too, at least here.

By the way, I do pronounce portage the way you do in one case, there is a
street named Portage Ave. in Winnipeg, and it is pronounced the sausage way.
I've also attached a sound clip.

-- 
Craig West Ph: (416) 567-1491   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...


myportage.wav.bz2
Description: BZip2 compressed data
--
[EMAIL PROTECTED] mailing list

Re: [gentoo-user] Gentoo as a firewall/router

2003-03-14 Thread A. Craig West
On Fri, 14 Mar 2003, Adrian Head wrote:

 I've been looking at replacing it with a Gentoo machine for quite a while; 
 however, whats stopping me is the fact that to keep things up-to-date you 
 either have to have gcc on the firewall! or go the precompiled binary package 
 route.
... 
 My next thought was to have a chrooted environment on the server that would 
 allow the base system to be updated where appropriate.  The disadvantage is 
 that the image couldn't be tested until it is moved to the firewall machine.
 
 Has anyone attempted this before?  How have you dealt with the updating of the 
 firewall and keeping the system secure and locked down?  Has anyone been able 
 to automate the process?  How is the system tested upon every upgrade?  Has 
 anyone worked out how to roll-back an upgrade if something happens?

I keep a chroot duplicate of the firewall on another computer and use rsync
to keep them in sync. Both systems are Gentoo, but the rsync scripts keep
the portage stuff off of the real firewall system. When I first set it up, the
intent was to use the chroot'ed system to build a bootable CD image for the
firewall, which would pretty much make it impossible for anybody to do lasting
harm to it. I started out using rsync to the firewall instead to test the
system, and found it so convenient I never went to CD's. Rsync will tell me
if anybody changes anything on the firewall, which is even better than
stopping them, from my point of view.
As far as testing it goes, I don't do any real testing, but I don't run any
packages on the firewall I haven't already used elsewhere, so that's sort of
like testing. As far as rolling back goes, you can always back up the
system before you make changes. If I go to CD's, the backup part is trivial,
just don't throw away the old CD.

-- 
Craig West Ph: (416) 567-1491   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Content (porn) Filter

2003-03-11 Thread A. Craig West
On Tue, 11 Mar 2003, Michael W. Holdeman wrote:

 My kids are getting to the point where they need internet access. Thay are 
 supervised to the best of our ability but I would like a content filtering 
 system, There are several for windoze type apps, what about Linux? I really 
 don't have an extra machine to set up squid/squidguard.

As far as I've been able to tell, the only content filtering system that
actually works is your kids brain, with help from advice from the parents.
There will always be sites that get past the filters, and in my opinion a
much worse case, there will always be sites that should get past the filters
but don't.
Unless the goal is not to filter their access, but to train them to avoid
filters:-) In that case, most of the systems out there will probably do the
trick.

Your best bet to find what you are looking for is to go to freshmeat and do
a search for content filter. To make it ultra-easy, as I just did it myself,
here is the URL:
http://freshmeat.net/search/?q=content+filtersection=projectsx=13y=7

At least some of the hits look like what you are looking for.

-- 
Craig West Ph: (416) 567-1491   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Problem with my latest emerge

2003-03-02 Thread A. Craig West
On Sun, 2 Mar 2003, Collins wrote:

 Even though this should be done automatically by portage, a frequent fix for 
 this symptom is:  `env-update; source /etc/profile`.
 
 Also, did you run `etc-update` to pickup any new config files?

I'm getting a similar problem to this, but I don't appear to have a copy of
the libstdc++.so.5 anywhere on my system. The weird thing is that this ocurred
during the initial bootstrap, right after compiling gcc. env-update doesn't
work, because python doesn't work without the library. I can't just manually
set up the environment to point the LD_LIBRARY_PATH to the correct libstc++
because I don't have it. I'm trying to figure out why this broke, but because
it happened during bootstrap, I haven't really had a chance to do anything
wrong yet...

-- 
Craig West Ph: (416) 567-1491   |  It's not a bug,
[EMAIL PROTECTED]   |  It's a feature...


--
[EMAIL PROTECTED] mailing list