Re: 16MB not enough to install

2003-02-17 Thread Richard Hector
On Mon, Feb 17, 2003 at 04:49:13AM -0500, Tom Allison wrote:
> Hugh Saunders wrote:
> >yeah should be possible but slow... cheat; put the disk in another
> >machine for installation then put it back.
> 
> Can't.
> Notebook.

Can.
Did. :-)

Mine was a Toshiba T1950CT (486DX2/40) with only 8M. Took a while to work
out how to dismantle it (though newer ones are easier), and needed an
adapter to fit the 2.5" disk in the desktop, but other than that it was
fine. Oh, I did get slightly confused with how to deal with the PCMCIA
stuff, but I think I was thinking too much rather than just doing what
should have been obvious - don't uninstall it, and reconfigure it once
the disk is back in the notebook.

This was all some years ago, with potato, so your milage and my memory
may vary :-)

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: FTP active getting blocked [solved]

2003-02-18 Thread Richard Hector
On Tue, Feb 18, 2003 at 04:10:35PM -0500, Kevin Coyner wrote:
> 
> Rob's suggestions did the trick!  I didn't have ipt_nat_ftp and
> ipt_conntrack_ftp loaded.

Should that (ip_conntrack_ftp) work for a non-NAT filter as well?

Or is there some other trick for that?

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Group ID

2003-02-18 Thread Richard Hector
On Thu, Feb 20, 2003 at 03:04:25AM +1100, Russell Shaw wrote:
>
> If i had to regenerate a config file that a program uses, is it possible to
> detect what GID the program uses if it is set from within the program?

If it changes its gid, you could watch for a call to setgid with strace.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: FTP active getting blocked [solved]

2003-02-19 Thread Richard Hector
On Wed, Feb 19, 2003 at 04:39:57AM -0800, Paul Johnson wrote:
> On Wed, Feb 19, 2003 at 03:02:33PM +1300, Richard Hector wrote:
> > Should that (ip_conntrack_ftp) work for a non-NAT filter as well?
> > 
> > Or is there some other trick for that?
> 
> I don't imagine it would, but then again, I've never tried it so I
> don't know firsthand.  Care to try it and post the results?

I tried it briefly - that is, I used modconf to install ip_conntrack_ftp.
It didn't work (still logged dropped packets when I tried to ls).

Then I read something that suggested to me that maybe this module just
updates a table, and I need extra iptables rules to allow related
traffic.

The combination of the hassle of reading about and doing this, and the
other article I read on 2.4/ftp vulnerabilities, and the fact that I
actually don't use ftp very much, made me decide it wasn't worthwhile
going further (at the moment, anyway).

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: can anyone recomend an application ??? ...

2003-02-19 Thread Richard Hector
On Wed, Feb 19, 2003 at 03:08:07PM -0500, Levi Waldron wrote:
> On February 19, 2003 12:22 pm, DvB wrote:
> > I usually set up cron jobs to remind me of recurring things (man
> > crontab). This, of course, only works if the computer is turned on when
> > the reminder time comes around, but you just mentioned "being logged
> > on."
> 
> apt-get install anachron

anacron perhaps?

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: cache for packages

2003-02-19 Thread Richard Hector
On Thu, Feb 20, 2003 at 04:43:02PM +1000, Alan E. Davis wrote:
> I have four or five machines running linux on our local network.  Can
> someone point me to the easy instructions for setting up a cache of
> packages on one system, so that if packages are already on a local
> machine, they won't be ftped again?  

I've found apt-proxy to be very good - debian stable is running on 6 or 7
machines here, with very few packages needing to be downloaded. I've also
run jigdo through it for the first 2 CDs; that primed it nicely :-)
I wouldn't have bothered if I hadn't needed to install a machine that
is offsite, though. And the jigdo was nice and fast with lots of the stuff
already here.

I did have a bit of hassle setting up the conf file in the first place,
but I think that was me trying to be clever and set up multiple sources
for the packages - the official NZ mirror is close to my ISP, but my ISP
has one as well. The ISP one is free but slightly less reliable; the
official one doesn't cost much either though, so I'm now only using that.
I do also have a source set up for security, so that comes through the
cache as well.

I'm not sufficiently confident to post my conf, though, and anyway the
sources will be wrong for most people.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: /var/log/messages

2003-02-20 Thread Richard Hector
On Thu, Feb 20, 2003 at 09:23:05PM -0700, Andreas J Guelzow wrote:
> Richard Beri wrote:
> 
> >My /var/log/messages and messages.0 are getting very large. messages alone 
> 
> you may want to install logrotate, that will rotate those log files for you.

Um - doesn't hte existence of messages.0 indicate that the logs are being
rotated?

It might be necessary to adjust logrotate, and/or figure out why so much
log traffic is being generated.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Loging to Debian Linux via SSH

2003-02-21 Thread Richard Hector
On Fri, Feb 21, 2003 at 10:22:39AM -0500, Roberto Sanchez wrote:
> >
> >How old?  SSH negotiation is *very* computationally intensive.  Maybe
> >you should just leave the ssh connection open, or use something like
> >fsh?
> 
> AHA! I have always wondered why my Pentium Pro 200 seemed to take so long 
> to open an SSH connection. DUH!

PPro 200 takes a long time?? OK, that explain the slowness of
my DX2/66 :-)

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unable to apt-get dist-upgrade

2003-02-21 Thread Richard Hector
On Fri, Feb 21, 2003 at 08:39:41PM -0500, John covici wrote:
> I am wondering if your problem is that the space (not disk space) for
> your cash has been exceeded.

I wish I had that problem :-)

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cd destroyed in cd drive

2003-02-22 Thread Richard Hector
On Sat, Feb 22, 2003 at 11:47:54AM -0800, nate wrote:
> > Hi, I was wondering how a cd could break into pices in a cd drive?
> 
> spin it too fast and it will explode.
> 
> some faster drives(48x+) will do this. some media is lower quality
> and will explode at lower speeds then the higher quality stuff.

Is it possible to limit the speed of a drive via software? Other than
writing, of course.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



moving conf files

2003-02-26 Thread Richard Hector
I think this is a general question though I have a specific example.

I want to move my webalizer config file from /etc/webalizer.conf
to /etc/webalizer/*.conf to deal with different configs for different
virtual hosts, as suggested in the Webalizer FAQ.

However I'm worried that this will confuse dpkg etc - I don't want
a new conf file to be put there when I upgrade webalizer.

If so, are there tricks I can use (like leaving a dummy file there) to
work around this?

Similar issues will perhaps arise from modifying
/etc/cron.daily/webalizer, though modifying one existing file shouldn't
be so much of a hassle I guess.

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Want to creat a CD with indexed HTML content

2003-02-27 Thread Richard Hector
On Thu, Feb 27, 2003 at 11:32:16AM +, Pat Colbeck wrote:
> Hi
> 
> I am working on a little project to produce some reference materail on a
> CD. Basically it will be a canned web site. The idea being that you
> could stick it in your CD drive and browse all the content easily. What
> I would like to do is have an option to search teh CD without the use
> having to index it themselves.
> 
> Does anyone know of a search engine that you can install on Windows that
> will let you point it at a pre made index file and that is
> free. Preferably one that is compatable with indexing produced by HTdig
> as the live copy of the web site is running on Woody with HTdig and
> Apache.

Just a thought - rather than a Windows app, could this be done with
Java or Javascript (will a browser load a Java applet from a local disk?)
or similar, and therefore remain internal to the browser, and (mostly)
cross platform (and on-topic :-).

http://www.google.com/search?q=client-side+search+engine came up with
some interesting hits that could be useful.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Subdomain - node ?

2003-02-27 Thread Richard Hector
On Thu, Feb 27, 2003 at 07:31:47AM -0600, Dan Hunt wrote:
> What is it called when you set up foo.mydomain.com
> I have Googled for domain node and I have nothing.

You mean you have the domain mydomain.com and want to also have
foo.mydomain.com? I think you want a subdomain. Or perhaps you want a
hostname. Either way you need a DNS entry, on whatever server is
authoritative for mydomain.com.

> I want to make a directory mybuddys-stuff and have it resolve to either
> foo.mydomain.com/mybuddys-stuff or mybuddys-stuff.foo.mydomain.com

I assume this is for a web server? If your web server is already called
foo.mydomain.com, you don't need to do much for the former - perhaps
use an alias directive if mybuddys-stuff is not in the normal document
root (I'm assuming apache). For the second, you need the extra DNS name,
and you need to look into name based virtual hosting.

You need to read about DNS and about configuring your web server.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Browser string of Mozilla?

2003-02-27 Thread Richard Hector
On Thu, Feb 27, 2003 at 02:52:55PM +0100, Tom wrote:
> Hi all,
> 
> Here at work, I (have to) use Windows 2000. In only now dared to
> install Mozilla, and wondered if there's any way at all to make
> Mozilla look like IE to the outer world... I don't mean the theme or
> something (already changed that :-), but the browser string it leaves
> behind. Accessing the internet via a proxy, in the end someone over
> there will notice my usage of another browser...
> 
> Is there anything I can edit to make Mozilla behave like it was
> Internet Explorer?

I have a couple of thoughts on this - first, it's nothing to do with
Debian. Second, I'd prefer to look for a more friendly job _before_
getting the boot for using a non-approved browser :-)

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Can debian detect a tape drive without rebooting?

2003-02-27 Thread Richard Hector
On Thu, Feb 27, 2003 at 05:49:34PM +0100, Yildiz, Murat wrote:
> I have installed the package and run rescan-scsi-bus.sh:
> 
> It couldn't detect the tape drive connected to aic7xxx.Is there anything
> else I can check?

That the tape drive is turned on? :-)

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Power off

2003-03-01 Thread Richard Hector
On Sat, Mar 01, 2003 at 11:16:46AM +0100, daniel huhardeaux wrote:
> 
> I have 4 computers running kernel 2.4.18 or 2.4.19 and all of them, when 
> I ask to power down, *never* really dot it. They stay switch on with 
> last message on the screen "power down" It's a problem for one of them 
> which is connected to an UPS. He will never restart if power is coming 
> back before UPS switch off :-( 

Other people have answered about the power off - but I can't see how
this will help the machine to restart. If it powers off, but the mains
power never goes away (due to the UPS), there will still be nothing to
make it power on again, will there?

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kernel-image install doesn't work

2003-03-04 Thread Richard Hector
On Tue, Mar 04, 2003 at 12:54:45PM +0100, Rudy Gevaert wrote:
> 
> I just tried to install the kernel-image-2.4.18 on woody. 
> When I reboot my machine I get:
> 
> request_module[block-major-3]: Root fs not mounted

Hmm. Did it not warn you during the installation to add a line for
initrd to your lilo.conf? While I haven't seen that (I saw the warning :-),
it looks like a likely symptom to me.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Installing a KZPSA card with debian (woody) on intel machine

2003-03-04 Thread Richard Hector
On Tue, Mar 04, 2003 at 05:21:08AM -0600, Ron Johnson wrote:
> On Mon, 2003-03-03 at 22:06, Nick Boyce wrote:
> > 
> > Erm .. isn't a KZPSA a DEC-brand card intended for use in DEC Alpha
> > systems (the kind with PCI buses, rather than Futurebuses) (where
> > DEC=Compaq=Hewpaq as necessary) ?
> 
> > I'm not at all sure you should expect it to work in an 1386 machine.
> 
> It may work.  Do SCSI BIOSs run on the host CPU or on a built-in
> CPU?

I think the ones intended for i386 do. I have an adaptec Open Firmware
card which I gather is what you get for a Mac or (where I got this one
from) a Sun - maybe a DEC as well. As I understand it, it has the
firmware in a variant of Forth, which can be run on different platforms,
but still in the host CPU. Naturally my (i386 architecture) box can't
handle that. So it doesn't boot, but other than that runs fine. I just
have a smallish IDE disk to boot off.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Semi OT: Strange source display in Konqueror

2003-03-06 Thread Richard Hector
On Thu, Mar 06, 2003 at 01:33:55PM +, cirrus wrote:
> 
> On Thursday 06 Mar 2003 6:06 am, Leo Spalteholz wrote:
> > Go to http://www.daniel-kuefner.de/j1/installation.html
> > and then view source in Konqueror.  For some reason it looks really
> > wonky on my system.  Every other page works just fine...
> >
> > theres a space between each character (or kinda half a space) and the
> > text does strange stretchy things when you highlight it.
> >
> > looks like this:
> > http://leo.spalteholz.ca/useless/fckedupsource.png
> 
> Yours look really nice.. Check out how mine is:
> http://www.the-penguin.org.uk/fucked.png

When I looked, I thought maybe it was using 2-byte characters - and
"charset=unicode utf-16" seems to back that up.

Then while copying & pasting for this email, I noticed something else:

charset=unicode utf-16"

There's no opening quote. So perhaps Konq is failing to recognise that
it is 16bit?

This was kind of interesting too:

[EMAIL PROTECTED]:~/temp$ wget http://www.daniel-kuefner.de/j1/installation.html

10:49:29 (170.62 KB/s) - `installation.html' saved [7338/7338]

[EMAIL PROTECTED]:~/temp$ file installation.html 
installation.html: MPEG 1.0 layer 3 audio stream data,  48 kBit/s layer 2 audio stream 
data,  56 kBit/s, stereo

MPEG??? but I guess perhaps file can't cope with 16bit data either.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Bad Debian (L.A.H.)

2003-03-09 Thread Richard Hector
On Sun, Mar 09, 2003 at 09:53:08PM -0600, Nathan E Norman wrote:
> 
> Doesn't anyone remember the horror of the monolithic /etc/rc* files
> that Slackware had?

Still has, doesn't it?

Anyway, the init scripts were one reason I held off switching from
Slackware to anything else for ages - at least I could read and understand
them; that took a while with the debian/RH way. I like it better now
though.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



security.debian.org - woody/stable

2003-03-11 Thread Richard Hector
Hi all,

In my sources.list, I have:

deb http://security.debian.org/ woody/updates main

Actually I don't, I have:

deb http://emerald.fake:/security woody/updates main

because I'm using apt-proxy, but never mind - apt-proxy points to
http://security.debian.org/.

Unfortunately, that's stopped working - I had to change it from woody
to stable. When I try connecting directly with wget, I get a 200 OK,
but it times out. (I think it might just have happened on the Release
file)

Is this a known problem? I prefer to keep everything pointing to the code
name, so I don't get hit by a large unintentional upgrade when sarge goes
stable.

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Apache Not Serving Up Documents

2003-03-11 Thread Richard Hector
On Tue, Mar 11, 2003 at 08:24:03AM -0600, Joseph A Nagy Jr wrote:
> Nicolas Kratz wrote:
> >
> >Here are known good iptables rules for SMTP, edit as necessary:
> >
> >iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport 25 -j DNAT \
> >--to `host balrog | sed -e 's/^.*address //'`:25
> >iptables -I  FORWARD 2 -o eth0 -p tcp --dport 25 -j ACCEPT
> >
> 
> [EMAIL PROTECTED]:~$ iptables -t net -A PREROUTING -i ppp0 -p t
> cp --dport 25 -j DNAT \ --to 'host balrog | sed -e 's/^.*address
> //' :25
> >
> 
> It brings me a gt sign prompt. I'm off to read the iptables how to as 
> I'm not sure what I need to change.

I haven't studied what that rule does, but you haven't copied it accurately.

You've misspelled nat, turned backticks into quotes (` -> '), and missed a
backtick completely. It's the mismatched quotes that give you the ">"; it's
waiting for you to finish. Also, the backslash is there to continue a line;
it doesn't make sense in the middle of a line.

HTH,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: default gateway

2003-03-11 Thread Richard Hector
On Wed, Mar 12, 2003 at 12:28:51AM +0200, Pavlos Parissis wrote:
> Hello all,
> I am looking for the file that I have to modify in order to have static route
> enabled.
> I add the gateway manually with route add -net default gw 192.168.100.1 
> and I would like to find the config file.
> I am using woody 3.0.r1,any ideas?

/etc/network/interfaces

You need a line like

  gateway 192.168.100.1

in the section for the relevant card.

If you're using ppp I'm not sure; if you're using PCMCIA then I think
you want /etc/pcmcia/network.opts, but I'm always getting lost with that.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: No "File -> Save" in gimp

2003-03-18 Thread Richard Hector
On Tue, Mar 18, 2003 at 04:49:08PM +, Pigeon wrote:
> The subject says it all really... I've just installed gimp1.2 on my
> woody system and there are no Save, Save As etc. options in the File
> menu.
> 
> I can still save files by hitting Ctrl-S, but only over the top of the
> original file. I don't get prompted for a filename to save under, nor
> do I get a chance to save it into a different directory.

The File menu in the main window doesn't have it - it wouldn't know which
image to save if you have several open. There's another one if you right
click in the image window, and Save and Save As are in there.

HTH,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: fetchmail problem

2003-11-10 Thread Richard Hector
> > > On Sun, Nov 09, 2003 at 11:27:59AM +0100, David Jardine wrote:
> > > > On Sun, Nov 09, 2003 at 03:01:45PM +1300, Paul William wrote:
> > > > > Hi
> > > > > 
> > > > > I am running fetchmail on woody. I want fetchmail to get mail from a
> > > > > pop3 account and deliver to mail to two local accounts. I want both to
> > > > > receive all the mail - not multi-drop. Can this be done?
> > > > 
> > > > If there's no other way, you could always fetch it twice:
> > > > 
> > > > user james pass pass1 is jim here keep
> > > > user henry pass pass2 is harry here

I would have thought you could just fetch it once, and deliver it to an
alias:

user henry pass pass2 is both here

and in /etc/aliases:

both: jim harry

Untested, and I'm not that familiar with fetchmail; fetchmailconf did
mine IIRC :-)

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Kdevelop & htdig

2003-01-27 Thread Richard Hector
Hi all,

I have problems right at the end (I think) of Kdevelop Setup - it wants
to use htdig to index all the docs (and I think that's a good idea), but
complains about the lack of a htdig.conf file.

>From googling, I've discovered that at least at one stage, a README file
on this topic existed in /usr/share/doc/kdevelop (which it doesn't now),
which said a custom version of htdig was required. An examples directory
was also there, with the conf file.

Does the fact that these things are missing from the package I've just
installed mean that this issue has changed, and it should all work
smoothly, or has the package just lost some docs along the way, and I
should follow the archived docs I found on the web?

Thanks,

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: /var still counts /var/cache

2003-01-27 Thread Richard Hector
On Tue, 2003-01-28 at 10:23, [EMAIL PROTECTED] wrote:
> On Mon, Jan 27, 2003 at 03:54:57PM -0500, Emma Jane Hogbin wrote:
> > I made a new partition for /var/cache since that's where all my data is.
> > Unfortunately /var is still counting the contents of /var/cache and thinks
> > that /var is full. I'm not sure how to tell /var that it doesn't hold
> > /var/cache anymore.
> [snip]
> 
> Emma -
> 
> Did you delete the contents of /var before mounting the new
> /var/cache directory on top of it?

You don't want to delete all of /var if you're only moving /var/cache
...
> 
> I'm _not_ suggesting you just do
> 
> # umount /var/cache
> # rm /var/cache

Not quite - rm won't remove a directory, and you don't want to anyway.
"rm /var/cache/*" might be more useful.

> # mount /var/cache
> 
> but that would solve it.
> Make sure you know what each of these steps does before trying it!

Good plan :-)

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Lag test.

2003-01-27 Thread Richard Hector
On Tue, 2003-01-28 at 16:57, Mike Dresser wrote:
> On Mon, 27 Jan 2003, Mike Dresser wrote:
> 
> > The current time here is 8:58, January 27th, and if it gets bad enough,
> > 2003.
> >
> > Just curious what the current lag is.
> 
> two hours, for those who care :D

My last post got back to me in about 42 min.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: /var still counts /var/cache

2003-01-28 Thread Richard Hector
On Tue, 2003-01-28 at 20:37, will trillich wrote:
> On Tue, Jan 28, 2003 at 05:00:58PM +1300, Richard Hector wrote:
> > On Tue, 2003-01-28 at 10:23, [EMAIL PROTECTED] wrote:
> > > I'm _not_ suggesting you just do
> > > 
> > > # umount /var/cache
> > > # rm /var/cache
> > 
> > Not quite - rm won't remove a directory, and you don't want to anyway.
> > "rm /var/cache/*" might be more useful.
> 
> or even "rm -r /var/cache/*" :)

It was there in my mind, honest! :-)

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: what's fstype 83? "Linux"?

2003-01-28 Thread Richard Hector
On Tue, 2003-01-28 at 20:20, will trillich wrote:
> On Tue, Jan 28, 2003 at 12:00:18AM -0500, Shaun ONeil wrote:
> 
> > # dd if=/dev/hda6 bs=1k count=50 | file -
> > 50+0 records in
> > 50+0 records out
> > 51200 bytes transferred in 0.116208 seconds (440589 bytes/sec)
> > standard input:  Linux rev 1.0 ext2 filesystem data 
> > (mounted or unclean)
> > 
> > There may be a good reason not to do this, but it's always worked for me
> 
> there may indeed, but THAT'S A REALLY COOL TIP. cut it out.

There's a switch for file, too:

diamond:/home/richard# file -s /dev/hda2
/dev/hda2: Linux rev 1.0 ext2 filesystem data (mounted or unclean)

That reads the file despite it being a special file.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: what's wrong with rsync?

2003-01-28 Thread Richard Hector
On Tue, 2003-01-28 at 20:42, will trillich wrote:
> apparently it does a remote diff somehow and then sends only the
> parts that need changing? i can't imagine that it's possible to
> compare two 1mb text files for differences without at least
> sending one across the wires -- yet the manpage certainly has me
> thinking that's what they claim it does. hmm?

Briefly - sending checksums.

Check out
http://olstrans.sourceforge.net/release/OLS2000-rsync/OLS2000-rsync.html
it describes the algorithm in a fair amount of detail, and is quite
entertaining too - and has tips for alternative uses for rsync.

I'm only half way through it so far ...

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: what's wrong with rsync?

2003-01-28 Thread Richard Hector
On Tue, 2003-01-28 at 22:39, Jeffrey L. Taylor wrote:
> 
> Be sure and use it only behind a good firewall, in a trusted LAN.  The
> whole r* (rsync, rsh, etc.) series is wildly insecure.

Well, (according to the manpage) it uses rsh by default, but it can use
ssh as an alternative.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Bash terminal beep - how to shut it up?

2003-01-29 Thread Richard Hector
On Wed, 2003-01-29 at 22:26, [EMAIL PROTECTED] wrote:
> Hi,
>I'm running Debian 3.0r1 on my laptop. Whenever I'm working in a bash
> terminal or the console certain actions cause the terminal to BEEP through
> the PC Speaker. This is annoying the hell out of my missus when she's
> trying to watch TV and I've just scrolled a man page too far! What is the
> invocation to shut it up? Which of my .bash files should I put it in?
> 
> Come to think of it, how can I shut this up system-wide?

You could try looking here:

http://tldp.org/HOWTO/mini/Visual-Bell.html

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Packages for Debian 3.0 (Alpha 12)

2003-01-29 Thread Richard Hector
On Thu, 30 Jan 2003 01:07:38 +0100
"Adrian Bunk" <[EMAIL PROTECTED]> wrote:

> I have prepared some packages that update some packages that are not or
> only in an older version in Debian 3.0r1. Please read [1] for more
> information (and read the FAQ before sending mails to me).

>  * OpenOffice.org 1.0.2

I've got a feeling this has been asked before, but couldn't find it easily
in the archive. Is there a way to add a source for apt that is only used
for a specific package? For example, I would like to use Adrian's up to
date OpenOffice.org, but I don't want my system automatically upgraded to
everything else he has as well.

Or do I just have to download the packages manually?

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




apt-proxy backup question

2003-02-07 Thread Richard Hector
Hi all,

Is /var/cache/apt-proxy self contained? If I back up that directory,
together with /etc/apt-proxy, can I then just reinstall apt-proxy
and unpack those 2 to be back where I was? Or are there some indexes
or something hidden away?

Many thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Can't start X apps from su

2003-02-09 Thread Richard Hector
On Sun, Feb 09, 2003 at 01:53:10AM +0200, Johan Ehnberg wrote:
> Yeah, I got annoyed because of this too. Anyway it's not a big problem. 
> What happens when you 'su' is that your env.vars. are changed to root's. 
> Thus, apps don't know where the user's X session is. What you can do is 
> use the -p flag for su. 'su -p' will preserve the user's env.vars. for 
> the invoked su session (or login for 'su -'). Now you can run X apps as 
> root.

Yes, but not if you need some of root's other environment - like PATH etc.
I had trouble when I tried running that X-based apt tool that I can't
remember the name of - it couldn't find anything :-(

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: apt-proxy backup question

2003-02-10 Thread Richard Hector
On Mon, Feb 10, 2003 at 09:37:26AM +0100, Chris Halls wrote:
> Hi Richard,
> 
> On Sat, Feb 08, 2003 at 06:24:09PM +1300, Richard Hector wrote:
> > Is /var/cache/apt-proxy self contained? If I back up that directory,
> > together with /etc/apt-proxy, can I then just reinstall apt-proxy
> > and unpack those 2 to be back where I was? Or are there some indexes
> > or something hidden away?
> 
> Backing up those two directories is all you need.  There are some indexes in
> 'hidden' directories, but those are under /var/cache/apt-proxy/.
> So backing up those two trees should be all you need.
> 
> One thing to note: apt-proxy uses the last access time (atime) of the files
> to determine when they should be cleaned up.  If your backup/restore does
> not save those (e.g. tar does not, star can save them), you may find that
> some files stay around for longer than you expect.  This is probably only a
> concern if your disk space is limited.
> 
> I'll add this information to the FAQ in the package.

Thanks for the info - in my case, I'm not worried about losing my cache in
the event of a disk crash or something; I'll take my chances - I don't have
space for that kind of backup (currently around 1.4G). This was more
for a rebuild of the machine. So far I've remounted my old /var filesystem;
when I get round to moving it to a fresh filesystem I'll bear your points in
mind.

Many thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




moving fs to new disk using tar

2003-02-10 Thread Richard Hector
Hi all,

I thought I was being very careful, but this didn't work like I'd hoped.

Basically I want to move my /usr fs from one disk to another - the first
will eventually be repartitioned, to use LVM and ReiserFS. Other
filesystems will follow.

So I used this command from / (in single user mode - that's what "init 1"
does, right?):

tar -c --atime-preserve -l usr |tar -C /spareide -x -v --atime-preserve
  --preserve --same-owner

I wasn't entirely clear from the man page which options were intended for
use with creating and which with extracting the archive, so when in doubt
I used it for both.

Now, my understanding was that the "-C /spareide" should have started the
extraction from where my nice empty filesystem was mounted on
/spareide/usr - but this didn't happen. It appears to have extracted over
itself in /usr, giving lots of warnings about files changing while they
were being read (not all of them - maybe only the big ones?), and changing
dates on some of them (again not all - dunno why) as well.

I'm guessing I've made some fairly fundamental mistake somewhere - any
suggestions?

My other thought was that it would be nice to do all this with both
filesystems unmounted - are there tools for that?

Many thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: moving fs to new disk using tar

2003-02-10 Thread Richard Hector
On Tue, Feb 11, 2003 at 12:48:34AM -0500, sean finney wrote:
> heya,
> 
> On Tue, Feb 11, 2003 at 05:11:08PM +1300, Richard Hector wrote:
> > tar -c --atime-preserve -l usr |tar -C /spareide -x -v --atime-preserve
> >   --preserve --same-owner
> 
> may i suggest a less confusing alternative:
> 
> rsync -a usr/ /spareide

Yes, thanks - with the addition of -x (cf -l for tar) because I didn't want
/usr/local (sep filesystem), that's more or less what I did. I also
remounted /usr read-only.

The only thing I couldn't find was an equivalent to the "--atime-preserve"
switch - perhaps rsync does that by default?

Many thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kde package dependencies broken (kde relies on everything?)

2003-02-14 Thread Richard Hector
On Fri, Feb 14, 2003 at 11:45:10PM +, Colin Watson wrote:
> On Fri, Feb 14, 2003 at 03:38:34PM +0100, Jeff Elkins wrote:
> > 
> > How would one -uninstall- KDE in one fell swoop?
> 
> Remove the basic libraries and watch the dependencies sort it out?

Is there a case for introducing that kind of metapackage as well?

The inverse of each existing metapackage, which everything depends on,
so it will do what you've just suggested, but it is more obvious
what package needs to be removed.

I guess there would be difficulties with packages that _can_ be used
with KDE but don't have to.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




docs via www behaviour

2003-02-14 Thread Richard Hector
Hi all,

I've just discovered something interesting - when I view docs for
my installed packages via apache, there are some files I don't see.

I _think_, this is because apache treats files starting with
"README" specially.

Is the appropriate solution to turn this behaviour off in apache,
or would it be better for package maintainers not to put such
files in the doc directory?

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: docs via www behaviour

2003-02-15 Thread Richard Hector
On Sat, Feb 15, 2003 at 01:45:03AM -0600, Nathan E Norman wrote:
> On Sat, Feb 15, 2003 at 06:00:20PM +1300, Richard Hector wrote:
> > Hi all,
> > 
> > I've just discovered something interesting - when I view docs for
> > my installed packages via apache, there are some files I don't see.
> > 
> > I _think_, this is because apache treats files starting with
> > "README" specially.
> > 
> > Is the appropriate solution to turn this behaviour off in apache,
> > or would it be better for package maintainers not to put such
> > files in the doc directory?
> 
> Here's the Apache config line responsible:
> 
>   IndexIgnore .??* *~ *# HEADER* README.* RCS CVS *,v *,t

Thanks for that; done.

That's half of it. My thinking is though, if this is a standard
assumption for a webserver configuration, and the doc directory
is intended to be viewed like that, perhaps README is a bad name
for things to be given?

On the other hand, perhaps it's a bad assumption for a webserver to
make, except when done intentionally for a specific purpose.

I don't know if either is worthy of even a wishlist bug - but it
had me stuck, and assuming that various other packages had
inadequate documentation, simply because I couldn't find it.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




kernel-package

2003-02-15 Thread Richard Hector
I haven't found this in the docs - does make-kpkg create a new initrd
image for me, or do the package scripts do that as part of the install
process, or do I need to do it myself (presumably after installing the
kernel package and before rebooting)?

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




more kernel questions

2003-02-15 Thread Richard Hector
I've just compiled and installed a new kernel, using make-kpkg. However,
I'm not sure it's actually running. uname -a still gives me 2.4.18-586tsc,
which is the old one - my new kernel doesn't have the 586tsc bit on the
end of the name, and in any case is a 686 kernel - I've recently upgraded
the motherboard. Also, all the references during boot are to 
/lib/modules/2.3.18-586tsc, rather than /lib/modules/2.4.18.

lilo was run by the install script, and I've run it again to make sure.

Is there something else I've missed?

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kernel-package

2003-02-15 Thread Richard Hector
On Sat, Feb 15, 2003 at 07:18:35AM -0500, Seneca wrote:
> On Sat, Feb 15, 2003 at 11:39:37PM +1300, Richard Hector wrote:
> > I haven't found this in the docs - does make-kpkg create a new initrd
> > image for me, or do the package scripts do that as part of the install
> > process, or do I need to do it myself (presumably after installing the
> > kernel package and before rebooting)?
> 
> man make-kpkg.

You mean the section on the --initrd flag? Yes, I read that. It isn't
explicit about whether it creates the initrd image itself, or gets the
install script to do it or whatever.

I assume it does just work without my further intervention, though I still
don't know whether the image is included in the package or created at
install time. I assume the latter, since it needs to know what modules to
include.

Many thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: more kernel questions

2003-02-15 Thread Richard Hector
On Sat, Feb 15, 2003 at 09:58:29AM -0500, sean finney wrote:
> 
> On Sun, Feb 16, 2003 at 12:54:02AM +1300, Richard Hector wrote:
> > I've just compiled and installed a new kernel, using make-kpkg. However,
> > I'm not sure it's actually running. uname -a still gives me 2.4.18-586tsc,
> > which is the old one - my new kernel doesn't have the 586tsc bit on the
> > end of the name, and in any case is a 686 kernel - I've recently upgraded
> > the motherboard. Also, all the references during boot are to 
> > /lib/modules/2.3.18-586tsc, rather than /lib/modules/2.4.18.
> > 
> > lilo was run by the install script, and I've run it again to make sure.
> > 
> one thing i'd check is if lilo is configured correctly.  for example,
> perhaps lilo is set to boot from /vmlinuz (where that is still a symlink
> to /boot/vmlinuz-2.3.16-586tsc) and the kernel package installed it in
> /boot/vmlinuz (as a symlink to /boot/vmlinuz-2.4.18)?

Thanks, but no, I checked the symlinks, and /vmlinuz and the old version
both point to the correct places (as do the initrd ones).

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: more kernel questions

2003-02-15 Thread Richard Hector
On Sat, Feb 15, 2003 at 03:44:01PM -0500, sean finney wrote:
> On Sun, Feb 16, 2003 at 09:11:47AM +1300, Richard Hector wrote:
> > Thanks, but no, I checked the symlinks, and /vmlinuz and the old version
> > both point to the correct places (as do the initrd ones).
> 
> hmm... well, could you post your 
> 
> - lilo.conf 

D'oh! Thanks for that - I read it more closely this time, including
the bits at the top, which I didn't think were relevant (hadn't
changed). However, when I rebuilt the machine, with some recently
acquired hardware, I just copied my /etc directory from the old disk
to the new disk - including /etc/lilo.conf, which is installing lilo
successfully on /dev/sda. Unfortunately, my new SCSI card is an
ex-Sun one, which won't boot a PC, so I have an IDE disk for that.

Come to think of it, that's what probably screwed up the LVM setup I
was playing with on /dev/sda - there's no room on the PV for an
mbr, so it got overwritten. Luckily I hadn't started copying data
over :-)

If after fixing that I still have problems, I might make that stuff
available, but I don't see much point at the moment :-)

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




wtd - old package

2002-11-09 Thread Richard Hector
Hi all,

I'm after a copy of libapache-mod-ssl_2.8.9-2_i386.deb

It's been superseded - it's the one I'm upgrading from, but I'd like a
copy available on the offchance the upgrade breaks something. I've just
started working on this box, and unfortunately /var/cache/apt/archives
is empty.

Anybody got a copy hanging round? I think it's a non-US package, so I
guess it should be a non-US person, if that matters ... I'm in New
Zealand.

Many thanks,

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: wtd - old package

2002-11-09 Thread Richard Hector
On Sun, 2002-11-10 at 00:25, J.H.M. Dassen (Ray) wrote:
> On Sun, Nov 10, 2002 at 00:03:46 +1300, Richard Hector wrote:
> > I'm after a copy of libapache-mod-ssl_2.8.9-2_i386.deb
> 
> dpkg-repack is your friend.

Awesome, thanks - I was wondering whether it was possible to write
something like that :-)

Thanks,

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Restarting X after graphical login

2002-11-09 Thread Richard Hector
On Sun, 2002-11-10 at 00:34, Chris Lale wrote: 
> I installed Woody 3.0 from official CDs and it gave me a graphical login 
> (gdm). I prefer it to the command line login, but it means that 
> configuration requiring restarting X presents problems. Often, a reboot 
> is the only sure way.
... 

> 4. The original instance of X is still running  and may 
> be unaffected by the changes until X is restarted. The only way to 
> restart is to reboot!
> 
> Is there a better way?

You could try 

/etc/init.d/gdm restart

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Apt-move question

2002-11-19 Thread Richard Hector
On Wed, 2002-11-20 at 06:50, Arthur H. Johnson II wrote:
> 
> This package may work, however I only want to mirror the packages that are
> installed on my server, nothing else.

Have you looked at apt-proxy? Works very nicely here.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: bug tracking

2002-11-19 Thread Richard Hector
On Tue, 2002-11-19 at 21:36, Rob Weir wrote:
> 
> When the kernel crashes, there's no way for it to be able to know that
> it's state is consistent.  Because of this, it's not safe for it to try
> to write to disks (since it could easily destroy everything on the
> disks).
> 
> The best it can manage is to write an 'oops' to the screen.  You';; have
> to either write this down manually off the screen, or plug in a serial
> console and tell the kernel to dump oopses onto the serial port.

Other unixes seem to manage to dump to the swap partition - is there
some significant difference that make this impractical/more dangerous
for Linux?

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: manual for vim

2002-11-19 Thread Richard Hector
On Wed, 2002-11-20 at 17:41, Sandip P Deshmukh wrote:

> what is a dead-tree manual? sorry if it is a basic or off-topic question

Paper :-)

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Java & Galeon

2002-11-20 Thread Richard Hector
Having taken Colin Watson's advice the other day about my sources.list
for blackdown java, I upgraded (it had been on hold for ages). But then
later I noticed that java no longer works in galeon.

I also decided at that point to ditch the official stuff (those horrible
EULAs) and installed jikes & kaffe. Should that be enough to run java
applets in galeon? It doesn't seem to work, and I can't see any obvious
extra packages to make the link.

Many thanks,

Richard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Problem with mount floppy

2002-11-21 Thread Richard Hector
On Fri, 2002-11-22 at 13:05, Egor Tur wrote:
> Hi folk!
> Now I see this message:
> /dev/fd0: Input/output error
> mount: block device /dev/fd0 is write-protected, mounting read-only
> when I do `mount /floppy' and I can only read data on floppy but cannot
> write. What 's happened? How can I solve this problem?

Have you checked the write-protect tab on the floppy?

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Stripping EOL feeds...

2002-11-24 Thread Richard Hector
On Mon, 2002-11-25 at 17:34, Sandip P Deshmukh wrote:

> replace EOL with nothing.

It might be better to replace it with a space, to avoid the last word of
one line running into the first of the next.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: debian filesystem inside a file

2002-11-25 Thread Richard Hector
On Mon, 2002-11-25 at 23:31, Rob Weir wrote:
> On Sun, Nov 24, 2002 at 09:15:24PM -0600, Jason Pepas wrote:
> > i was wondering if it is possible to install debian, using a file as a 
> > partition.  Sort of like how BeOS will install inside windows, creating its 
> > filesystem in a file.
> > 
> > I think this has been done with umsdos, but what about under NTFS?  Is there 
> > any hope of that?
> 
> I doubt it.  While you can load a file system from a file (it's called
> loopback mounting), you can't on an NTFS partition.  MS not only refuses
> to document it, but they keep changing the format in various new and
> exciting (and incompatible) ways, and there are no Free drivers which
> understand NTFS well enough to safely write to it.

I guess if debian was running under NT in something like VMWare, it
could do all its FS calls via NT. Or you could run NT under debian with
VMWare, and NFS mount the disk ...

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Output on Diff moniter

2002-11-25 Thread Richard Hector
On Tue, 2002-11-26 at 04:47, [EMAIL PROTECTED] wrote:
>  
> 
> Hi, 
> 
> I have this idea and I have no idea how to go implementing it. It makes no
> sense but just wanna do for kicks to see if can be done. 
> 
> I have 2 computers A and B on my desk and 2 moniters and 2 keyboards and all
> and both run debian. 
> 
> Say I am working on computer A and i ssh to computer B. I am using the
> console here and not the graphical interface. 
> 
> What I am trying to do is, while I working on computer A and ssh to Computer
> B , I want the ssh session displayed on moniter B and not that of moniter A. 

This might not be quite what you were asking for, but it's cool
nonetheless :-)

Check out x2x (debian package) - it lets you move your mouse off one
screen on to the other, like a multi headed display. They don't have to
be debian boxes even - I use it with an NC X-terminal, or you could use
a Sun or whatever.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: audio problems

2002-11-25 Thread Richard Hector
On Tue, 2002-11-26 at 05:08, ernst wrote:
> Hi
> 
> Can u get sound working if u are root? If so, do 'chmod a+rw /dev/dsp'.

I'm no audio expert, so I don't know if this applies to /dev/dsp - but
I'd rather not have somebody I've given shell access to able to turn on
my microphone at any time and listen to what I'm saying ... or shout
obscenities at me through the speakers, for that matter (I've seen
similar things done at university)

Better just to have it available to the group, and only put certain
people in the group.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Correction: ext2 vs ext3 vs xfs vs reiserfs

2002-11-25 Thread Richard Hector
On Tue, 2002-11-26 at 12:18, Cameron Hutchison wrote:
> In a previous email to this list I stated:
> 
> > The authors of XFS seem to think that because it is a journalling
> > filesystem, a filesystem repair tool is not necessary.
> 
> This was in response to the fsck.xfs man page that says it does nothing.
> 
> I was too hasty in saying this.
> 
> There is another tool called xfs_repair that is used to repair XFS
> filesystems.
> 
> I apologise to the XFS developers for making that unfounded statement
> without checking my facts first.

Perhaps it would be useful if the fsck.xfs manpage directed you to
xfs_repair, though.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Calculator for X

2002-11-26 Thread Richard Hector
On Wed, 2002-11-27 at 00:32, [EMAIL PROTECTED] wrote:
> Hi there,
> 
> I might be totally stupid, but when I do a dselect, I just cannot find a calculator 
>for an X-Window system. The only module I've found is named 'calc', but dosn't work 
>in an X-window system, does it??

xcalc is in xbase-clients, for one.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: How do you recover a long filename that Wndows squashed?

2002-11-27 Thread Richard Hector
On Thu, 2002-11-28 at 02:48, Wathen, Metherion wrote:
> Hi,
> when i use dpkg -i with the shortened name, dpkg returns no such file error.
> so that's why i have to go back to the windows machine and get the long
> name. it's like mc or the system knows the correct name it just doesnt
> display it. kinda weird, huh.

So what do conventional tools such as ls show?

I just tried renaming a package and it installed fine, so the name
itself isn't a problem.

I take it you're looking at the file on the CD; you haven't copied it to
the hard disk?

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Partition size

2002-11-27 Thread Richard Hector
On Thu, 2002-11-28 at 10:43, Mark L. Kahnt wrote:
> On Wed, 2002-11-27 at 16:39, Mike Dresser wrote:
> > On 27 Nov 2002, Mark L. Kahnt wrote:
> > 
> > > rather than Linux itself. That said, do you split it into several
> > > partitions and use RAID on them - I can't see that as providing a hint
> > > of a fraction of the actual disk operation performance ;)
> > 
> > Erm, raid on the same drive?
> > 
> > I guess if you had a bad sector and it couldn't be remapped that this
> > might save you a bit.
> > 
> > But you're going to absolutely kill your performance, cause you'll be
> > seeking all over the place to the two partitions.
> 
> Yes - that was the point I was seeking to make - if we shouldn't go over
> 6 GB/partition, how the heck are we ever going to use the bulk of these
> 80GB+ drives on the market? ;)

You could use the linear version, where you just concatenate the
partitions together. That shouldn't take any longer to seek over than
one big one - each byte is still only in one place.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Partition size

2002-11-27 Thread Richard Hector
On Thu, 2002-11-28 at 12:52, Mike Dresser wrote:
> On 28 Nov 2002, Richard Hector wrote:
> 
> > You could use the linear version, where you just concatenate the
> > partitions together. That shouldn't take any longer to seek over than
> > one big one - each byte is still only in one place.
> >
> > Richard
> 
> Well, wouldn't the raid partition be bigger than 6 gig, defeating the
> whole purpose of having under 6 gig partitions?

I guess so. I was thinking, in an unclear sort of fashion, that you
could fsck them seperately - but now you mention it, I suppose that's
impractical.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




modconf has changed

2002-11-28 Thread Richard Hector

Sorry about the vague question/statement:

Modconf appears to have changed at some point. All my boxes run woody,
but some run 2.2 and some run 2.4 kernels. The ones with 2.4 have a
different looking modconf screen - IMHO, harder to use. The tree is
wider (more per screen), and shows full pathnames. However I'm not
convinced that this happened at the same time I upgraded to 2.4.

Does anyone know what my problem is, and how to fix it? (assuming 'fix'
is the right word)

Thanks,

Richard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ISP does not 'support' Linux

2002-11-29 Thread Richard Hector
On Fri, 2002-11-29 at 23:35, Chris Lale wrote:
> Here's an idea arising from the 'Non-Linux-aware ISP: please spoon feed' 
> thread. How many ISP's helplines say 'we do not support Linux'? Most 
> ISP's seem to have a webpage with connection instructions for Windows 
> users. Why not instructions for Linux?
> 
> Suppose everyone with a dialup account were to email their ISP(s) with a 
> customised set of instructions suitable for them to put on their 
> website? They might at least start to think about it. I have attached a 
> possible template. Comments welcome!

I had some thoughts on this, but my plan was a rather larger project.

Create an XML file format for all the details required:

DNS servers
Dialup number
Authentication type
etc

Write a config utility (or modify pppconfig or whatever) to read it, and
only ask the remaining questions such as username and password.

There might need to be some way of specifying multiple entries with
descriptions to be displayed by the config program - for example, names
of cities displayed which can then be mapped to dialup numbers.

Then the tricky bits - persuade other distros to use the same XML files
(maybe even write a windows one to help it along), and persuade the ISPs
to make it available on their CDs and websites - or even on websites of
local LUGs if the ISPs won't do it. You could also supply a cgi or
similar thingy to display the info nicely on the website for people
using OSes that don't have compatible configurators.

There's more work in this plan, of course ...

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Printing text files

2002-12-02 Thread Richard Hector
Hi all,

This I think should be simple ...

I have an old dot matrix printer - ugly, slow, but cheap and handles
lineflow.

When I set it up with CUPS, I used the Epson driver, but that seems to
insist on using Postscript - converts my text file to Postscript and
then renders it using Ghostscript (presumably) to print. This slows
things down, and the output is even uglier (IMHO) than the native
printer font (which is matched to the resolution.

I then set it to Raw, but that ignores page size; it just keeps going
over the perforations.

Is there some good way to get the best of both worlds? I want my pages
neatly broken at the perforations, and I'd rather the system kept the
required records, so that after every job, the printer is lined up at
the top of the next page.

Page numbers and filename headers would be nice too, though I think
emacs adds its own, and I don't want two - I guess 2 queues would solve
that.

The 'pr' utility looks like it will do some of what I want - can I just
install that as a filter somewhere?

Oh - and I like the CUPS networking stuff; I'd rather not leave that
behind if possible.

Am I asking the impossible here?

Any pointers on FMs to R, FAQs, HOWTOs etc would be most welcome.

Thanks,

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




modifying initrd.img

2002-12-04 Thread Richard Hector
Hi all,

I just attempted to upgrade one of my boxes to a 2.4 kernel (using
kernel-image-2.4.18-586tsc)

Unfortunately, the loadmodules script tries to load INI9100 for my SCSI
card, but that module doesn't exist, so I end up with a kernel panic
(can't mount root fs).

I've mounted the initrd.img (on another box; when I use the old 2.2
kernel I can't mount cramfs) using

mount -o loop initrd.imf initrd

on a directory I created for the purpose.

I discovered a module called initio.o (haven't confirmed that that will
work yet btw)

But when I tried to edit loadmodules, I can't save it, and the file is
truncated instead. However, if I umount and re mount the image, the file
is unchanged.

I guess this is all to do with the mounting of the cramfs fielsystem -
I've seen references to losetup, but have never used it - is this a
consequence?

More generally, is there a better way to get my SCSI card working?

Thanks,

Richard





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: best traffic shaper solution for modem line?

2002-12-04 Thread Richard Hector
On Thu, 2002-12-05 at 18:39, [EMAIL PROTECTED] wrote:
> 
> [EMAIL PROTECTED] said:
> >  I have only a dial up connection (stone age, I know).  I notice there
> > a number of traffic shaper/QoS solutions around now and I am wondering
> > if anyone has an opinion which is the best.  I want the usual things,
> > in this order: 
> 
> What are you trying to achieve? To give preference to some incoming traffic 
> over other?
> 
> If so, tough. You can only shape outgoing traffic. Think about it.

You can actually shape incoming traffic too.

When the network gets congested, routers will start dropping packets. A
TCP sender will detect this and send packets more slowly (less
frequently).

So if you want to be sent stuff more slowly, drop some packets. The TCP
sender will assume the network is congested and slow down.

Shaping UDP would be more of a problem, though ...

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: modifying initrd.img

2002-12-05 Thread Richard Hector
On Thu, 2002-12-05 at 21:36, Herbert Xu wrote:
> Richard Hector <[EMAIL PROTECTED]> wrote:
> > 
> > Unfortunately, the loadmodules script tries to load INI9100 for my SCSI
> > card, but that module doesn't exist, so I end up with a kernel panic
> > (can't mount root fs).
> 
> Make sure you've got initrd-tools >= 0.1.23 and regenerate the initrd
> image:
> 
> mkinitrd -o /boot/initrd.img-xxx /lib/modules/xxx
> lilo

Thanks Herbert - after reading your mkinitrd manpage and editing
/etc/mkinitrd/modules to include my initio driver, that worked perfectly
(although sloowly - I think I need more RAM :-)

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Need help installing from floppy/ls-120 to Thinkpad R31

2002-12-05 Thread Richard Hector
On Fri, 2002-12-06 at 03:46, Scott Ehrlich wrote:
> Hello to all:
> 
> Whenever I boot from a rescue disk created with Potato or Woody, then 
> switch to the root disk, I constantly get an end_request error.
> 
> I've tried every configuration I can think of, including:
> 
> - Switching disable/enable legacy floppy support in BIOS
> 
> - Using the LS-120 drive and external "normal" USB floppy drives
> 
> - Custom kernel with no RAMDISK support, but with USB and IDE floppy (for 
> the LS-120) and the new Intel E100 NIC.
> 
> - Telling Boot: combinations of  rescue root=/dev/fd1 and the thinkpad option
> 
> - Booting with only the USB floppy for both rescue and root and no drive 
> (LS-120 or DVD) in the internal bay
> 
> 
> I've successfully installed from CD-ROM, but I want to install from normal 
> 1.4 Meg floppies from the LS-120.  When I reformatted (due to other issues) 
> I got kernel crashes twice after per subsequent reinstallation attempts.
> 
> Windows XP has worked flawlessly on it, so I know the laptop itself is good.
> 
> The custom kernel is based on 2.4.20 since it is the latest stable which 
> also supports the new E100 NIC in this Thinkpad.
> 
> It is a Thinkpad R31, model 2656 E5U.

Is the LS-120 an IDE device? Are you telling it to look at /dev/hd?
instead of /dev/fd? Something like root=/dev/hdc

(I'm interested to know hot you get it to work; I might have to install
with one of these at some point - not a laptop though)

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Kernel panic: VFS: Unable to mount root fs

2002-12-06 Thread Richard Hector
On Fri, 2002-12-06 at 17:54, Paul Johnson wrote:
>  You can't get away with having your root partition being a
> filesystem for which you must load a module to support.  Unless you
> use initrd, but that's messy and not very failproof.

It is? I thought that was the usual way to do it (with 2.4 kernels,
anyway) ... should I look at recompiling my kernel with my SCSI drivers
built in instead? Or are you specifically referring to filesystem
drivers rather than all drivers necessary to mount the filesystem?

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ipchains DENY question

2002-12-06 Thread Richard Hector
On Sat, 2002-12-07 at 10:59, martin f krafft wrote:
> also sprach nate <[EMAIL PROTECTED]> [2002.12.06.0136 +0100]:
> > firewall-and-forget.
> 
> maybe for a private system. this is *not* the way to practice
> security. security involves ongoing monitoring.

I get stuck in a loop when I try to figure out what to monitor.

If I'm filtering it out, I know (more or less) what it is, and it's not
getting in, so why bother logging?

If I've missed something, well, I don't know how to log it either.

If I log everything (even everything I don't block), I've got a lot of
reading to do - or I'm stuck with grepping for something I haven't
identified.

I'm not saying it's a bad idea; I'm just saying I don't know how to do
it. Any suggestions?

Thanks,

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: How can one edit the env info?

2002-12-08 Thread Richard Hector
On Mon, 2002-12-09 at 11:34, Sam Rosenfeld wrote:
> running env from my $HOME directory gets me a bunch of wrong entries;
> e.g. MAIL=/var/mail/root, LOGNAME=root, DISPLAY=:0.0.  How can I change
> these (and other) settings?

Who are you logged in as? Your environment depends on that, not on your
current directory (except PWD of course).

Richard
(PS Sam: sorry about the direct email)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: debconf wonky

2003-08-07 Thread Richard Hector
Apologies for not replying to the thread; I didn't realise it was of
interest to me until I found it in the archives, by which time I'd
deleted it.

Anyway, in case anyone else is struggling with this:

Taking hints from Joey Hess, I did something like:

cd /var/lib/dpkg/info
cp xserver-xfree86.templates xserver-xfree86.templates.old
sed s/^_// xserver-xfree86.templates.old > xserver-xfree86.templates

(I actually did that sed transformation to
/var/cache/debconf/templates.dat first; it probably wasn't necessary)

And it worked.

Thanks Joey, Marcelo, Antony.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: whinging (was Re: rms on debian : background noise)

2003-08-19 Thread Richard Hector
On Tue, Aug 19, 2003 at 06:21:58PM +1200, cr wrote:
> On Tuesday 19 August 2003 01:40, Chris Metzler wrote:
> >
> > The word "whinge," meaning "to moan fretfully," actually predates
> > the word "whine."
> 
> Hmm, I rarely heard it used in England (though I haven't lived there for 30+ 
> years), but I've heard it used all the time here in New Zealand

Though often (I'm not sure why) used to describe the English :-)

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



mutt, sent mail, pgp/gpg

2003-08-19 Thread Richard Hector
I know I've seen something about this, but can't find it again.

When I send an encrypted email, the copy that is saved in my Sent folder
(IMAP in my case) is useless to me, because it's encrypted with the
recipient's key.

Is there a way that my copy can be encypted with my own public key, so I
can read it myself?

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apt-proxy cache limit

2003-08-24 Thread Richard Hector
Hi all,

I've read that a MAX_CACHE_SIZE is on a TODO list, but not implemented yet
(though perhaps that has changed; I can't get to the apt-proxy list archives
at the moment).

In the absence of that, how will apt-proxy react if I put it on its own
filesystem and consequently it simply runs out of space?

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-proxy cache limit

2003-08-24 Thread Richard Hector
Tom - I hope you don't mind me posting your reply back to the list.

[ and then of course I forget to send it to the list anyway. Sorry Tom.
Hopefully forwarding it from my Sent folder works ...]

On Sun, Aug 24, 2003 at 06:53:35AM -0400, Tom Allison wrote:
> Richard Hector wrote:
> >Hi all,
> >
> >I've read that a MAX_CACHE_SIZE is on a TODO list, but not implemented yet
> >(though perhaps that has changed; I can't get to the apt-proxy list 
> >archives
> >at the moment).
> >
> >In the absence of that, how will apt-proxy react if I put it on its own
> >filesystem and consequently it simply runs out of space?
> >
> Same way anything will react.
> It will stop running and throw and error.

OK. I was hoping it might then and only then start throwing away infreqently
accessed files, or whatever is appropriate.

> Do you know why/how it gets so big?  Can you do anything about it?

It's about to get big, because I'm going to use jigdo to suck the first 3 CDs
through it :-)

> I'm asking because maybe you can put in a crontab entry to periodically 
> check or report the size of that partition/directory using du or df and 
> mailing the results to you.

Given my current plan, I think it's all going to happen a bit quick for a
cron job to be much use.

I guess what I really want in this case is to use whatever's there, but
somehow get it not to bother caching anything that isn't there already;
it's obviously stuff I don't use much.

In particular, it would be handy if it _didn't_ throw away all the security
stuff simply because it isn't on the CDs.

Any suggestions?

Thanks,

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Acron A5000

2003-03-31 Thread Richard Hector
On Fri, Mar 28, 2003 at 03:24:32AM -0800, Paul Johnson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Fri, Mar 28, 2003 at 09:11:09AM +, Paul Grenyer wrote:
> > Anyway, can someone tell me if I can install Debian on my Acron A5000, 
> > please?
> 
> Only if you can answer me this:
> 
> Does your current OS install on my Yoyodyne 75/20A4500 Mark II?  8:o)
> 
> For example, my computer is...
> 
> AMD Athalon XP 2100+

Um - I've never heard of an Athalon either :-)

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How long is linux going to be free ?

2003-03-31 Thread Richard Hector
On Sat, Mar 29, 2003 at 04:12:41PM +0200, Aryan Ameri wrote:
> 
> Do you have to remind someone a thousand times about his mistake, even after 
> he confesses that he was wrong?

Not everybody receives email with the same delay ... he might not have seen
either your confession or even the other correction before posting.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [~OT] tax program for linux

2003-03-31 Thread Richard Hector
On Mon, Mar 31, 2003 at 03:07:58PM -0800, Eric G. Miller wrote:
> On Mon, Mar 31, 2003 at 08:43:26AM -0800, Paul Johnson wrote:
> > 
> > I'm amazed nobody's asked this before, but why doesn't irs.gov do it
> > themselves?  Seems like the obvious answer...or is this some sort of
> > "privatize the revenue service" boondogle?
> 
> I vaguely recall there was an Executive Order under Bush I making it
> policy for federal agencies to not compete with private companies.
> Although, I can't find a reference at the moment...

Then the answer's obvious - start a company that collects tax, and the IRS
will have to stop :-)

Richard (not in US, so doesn't apply to me :-( )


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Home network router does not forward LAN traffic

2003-06-06 Thread Richard Hector
On Fri, Jun 06, 2003 at 04:45:18PM +0200, Kosta Porotchkin wrote:
> Hello, experts!
> My feeling that I have a simple problem, which I cannot solve alone.
> Would appreciate any help from community.
> 
> I have a 3-computer network at home:
> First Windows workstation: 192.168.1.2/16, gw 192.168.1.1
> Second Windows workstation 192.168.2.2/16, gw 192.168.2.1
> Linux server/NAT firewall/gateway running Debian Woody 3.0: 
>eth0: 10.0.0.150/24 connected to ADSL modem/router (10.0.0.138)
>eth1: 192.168.1.1/24 connected to the first workstation
>eth2: 192.168.2.1/24 connected to the second workstation

With those addresses and 16 bit masks, the Windows boxes think they're on
the same subnet, so they'll try to send direct rather than through the
router. To match the router's config, they should also be /24.

In more detail, the /16 is saying that the first 16 bits of the address
specify the network, and the remainder (16 to make 32 total) specify the host.
Each section of the address is 8 bits, so the network is 192.168.0.0, and
the host parts are 1.2 and 2.2. With the /24 mask, the networks are
192.168.1.0 and 192.168.2.0, which is almost certainly what you were after.

HTH,

Richard
(who happens to have a very similar setup at home, but (naturally) no windows
boxes ;-)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Home network router does not forward LAN traffic

2003-06-07 Thread Richard Hector
On Sat, Jun 07, 2003 at 01:47:38AM -0700, Paul Johnson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Fri, Jun 06, 2003 at 04:45:18PM +0200, Kosta Porotchkin wrote:
> >eth0: 10.0.0.150/24 connected to ADSL modem/router (10.0.0.138)
> 
> Is eth0 really 10.0.0.150?  If so, your problem is on your ISP's side,
> not yours.

This is a DSL _router_, not a bridge - it's just another internal network,
so the ISP has nothing to do with it. Assuming of course the router is doing
NAT, like mine does.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: New User

2003-05-29 Thread Richard Hector
On Wed, May 28, 2003 at 08:47:30PM -0400, Mark L. Kahnt wrote:
> On Wed, 2003-05-28 at 20:18, Jonathon B. Craw wrote:
> > 
> > 1.  Permissions on /dev/mix*  /dev/dsp/*: give yourself read/write access
> > I might do something like chmod a+rw /dev/mix* /dev/dsp*  -- see chmod
> > 
> Umm, no...
> 
> Also known as "NO! NO! NO!"
> 
> Do NOT go mucking around with chmod'ing /dev entries! They are the way
> they are for a reason.
> 
> Instead, do an ls -l of the /dev entries that you need - in this case
> you are looking at sound so you will likely see something like:
> 
> crw-rw1 root   audio 14,   3 1969-12-31 19:00 /dev/sound/dsp

While that's true of audio stuff, can you still recommend the same approach
(leave it alone) for other devices? IIRC I had to "chgrp scanner /dev/sg0"
to give myself permission to use my scanner - the alternative is to add
myself to the root group, which is a bit loose ...

Is there a reason I shouldn't have done what I did?

Thanks,

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Knoppix ISO image is 715MB - How Do I burn it ?

2003-06-04 Thread Richard Hector
On Tue, Jun 03, 2003 at 09:47:12PM +0100, Karsten M. Self wrote:
> on Mon, Jun 02, 2003 at 09:55:33PM -0400, Kevin McKinley ([EMAIL PROTECTED]) wrote:
> > 
> > Actually the term for 1024^3 bytes is mebibyte, and 1024 of them is a
> > gibibyte:
> > 
> > http://kerneltrap.com/node.php?id=340&PHPSESSID=cc5d94e5ff669af1a325ba1d5196c985
> 
> 
> Or perhaps more authoritatively:
> 
> http://physics.nist.gov/cuu/Units/binary.html
> 
> See also:
> 
> http://twiki.iwethey.org/twiki/bin/view/Main/SiPrefixesForBinaryMultiples

Except that as the nist site points out, it's not an SI standard.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Knoppix ISO image is 715MB - How Do I burn it ?

2003-06-04 Thread Richard Hector
On Wed, Jun 04, 2003 at 02:21:45AM -0700, Paul Johnson wrote:
> > 
> > I didn't say I liked it, I just pointed out the "correct" usage.
> 
> Actually, as R. Hector pointed out in this thread, it's not.

I didn't say it was incorrect, I said it wasn't SI. It is (as far as I can
see) an IEC standard.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Knoppix ISO image is 715MB - How Do I burn it ?

2003-06-04 Thread Richard Hector
On Wed, Jun 04, 2003 at 02:09:05AM -0700, Paul Johnson wrote:
> 
> On Tue, Jun 03, 2003 at 01:56:58PM +0100, Pigeon wrote:
> > So a megabyte *is* 1048576 bytes, etc, and I don't think this usage is
> > particularly likely to change.
> 
> I know I'm not switching just because some industry marketroids think
> they can bastardize several decades of standardization, and I really
> think it's a bad plan to change now.

The trouble is it isn't standard. SI is a standard; the binary stuff has
broken it. But it hasn't even broken it consistently; when talking about
storage we use powers of 2, but when talking about bandwidth we don't. So
how long will it take me to transfer this file? Beats me.

And "It's a bad plan to change now" usually also means "It will be worse
to change later". Just look at the way all you Americans [ducks away from
Paul] have resisted ditching your obsolete feet, miles, pounds etc. [ducks
away from every other American].

> > Of course, a megabyte is also 1024000 bytes, eg. when some program
> > gives you an output of a figure quoted in kilobytes and you mentally
> > shift it three places to the right to get the megabytes.
> 
> I've never seen anybody use that definition of a megabyte, it's always
> been the (incorrect) 1,000,000 bytes or the (correct) 1,048,576 bytes.

Never seen a 1.44MB floppy? That's actually 1440kB, or 1440 * 1024 bytes.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Knoppix ISO image is 715MB - How Do I burn it ?

2003-06-05 Thread Richard Hector
On Wed, Jun 04, 2003 at 04:01:14AM -0700, Paul Johnson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Wed, Jun 04, 2003 at 09:53:15PM +1200, Richard Hector wrote:
> > The trouble is it isn't standard. SI is a standard; the binary stuff has
> > broken it. But it hasn't even broken it consistently; when talking about
> > storage we use powers of 2, but when talking about bandwidth we don't. So
> > how long will it take me to transfer this file? Beats me.
> 
> You sure about that?  If bandwidth isn't base 2, then I *really* suck
> at math and still come up with the right answer to "how long will it take?"

Pretty sure. I think what's commonly referred to as a 14.4k modem goes at
14400bps, and I think 10Mbps Ethernet goes at 10 million (10,000,000)bps.
But I also saw it on that (physics.nist.gov) website quoted earlier, in the
"Historical Context" section.

> > And "It's a bad plan to change now" usually also means "It will be worse
> > to change later". Just look at the way all you Americans [ducks away from
> > Paul] have resisted ditching your obsolete feet, miles, pounds etc. [ducks
> > away from every other American].
> 
> What's with the "All you?"  First off, I'm Oregonian, not American.

I'm aware of your history of claiming Oregon isn't part of America. This was
intended as a humourous dig, hence all the [duck]ing. I apologise if no
smiley was inferred from that - or if this is too serious an issue for you
to joke about.

Same deal with bundling all Americans together for the second part.

> Second, given that I've been planning for far longer than America's
> currently messed up national situation to emigrate,

To Canada, right? Which last I heard was in North America and hence America.
Just not in the US.

Note that I have no disagreement with you _wanting_ to be disassociated
with America; accepting reality is a different issue.

> > > I've never seen anybody use that definition of a megabyte, it's always
> > > been the (incorrect) 1,000,000 bytes or the (correct) 1,048,576 bytes.
> > 
> > Never seen a 1.44MB floppy? That's actually 1440kB, or 1440 * 1024 bytes.
> 
> I don't count marketroids as people,

Ah, that reality thing again :-)

> But I did forget about the floppy manufacturers pulling the same BS
> that the hard drive guys are.

The HDD guys have the excuse that they're following a standard. But a 1.44Mb
floppy is a weird mixture.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: kdm init files and xmodmap

2003-06-05 Thread Richard Hector
On Wed, Jun 04, 2003 at 03:17:23PM -0700, Vineet Kumar wrote:
> 
> Just FYI, here[1]'s a screenshot that should demonstrate what "threading"
> is, for anyone using a non-threading mailer.
> 
> [1] http://www.doorstop.net/thread_hijack.png

Hmm. Other interesting things can be inferred too :-)

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: make menuconfig

2003-06-05 Thread Richard Hector
On Wed, Jun 04, 2003 at 11:15:12PM +0200, Christof Hurschler wrote:
> I can't find some drivers in the menutree when setting up a compile.  In
> particullar I can't fint bttv for my TV card.  It's *not* under
> multimedia-video where I guess it should be.
> 
> Any suggestions, I'm at a loss.

Try turning on Character Devices-->I2C and I2C bit-banging first - then BT848
under Video4Linux.

(result of cd /usr/src/linux; find .|grep bttv (yes I know there are probably
easier ways to do it) and reading the README file)

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: your mail

2003-06-08 Thread Richard Hector
On Sun, Jun 08, 2003 at 07:46:23PM -0700, Paul Johnson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Mon, Jun 09, 2003 at 01:06:03AM +0100, Fred Bowker wrote:
> > I am new to the mailing list and simply testing please ignore this e
> > mail
> 
> If your email normally works, posting mailing lists will work.  Duh.

All useful except the last word. Pity you have to use it (or expressions to
a similar effect) so often :-(

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mysterious network traffic

2003-06-08 Thread Richard Hector
On Mon, Jun 09, 2003 at 01:13:32AM -0400, ScruLoose wrote:
> 
> To start with, can anyone recommend what command or program I would use
> to simply see what process is using bandwidth...  (anything out there 
> like top for the network?)
> Any other ideas or suggestions?

You could try using something like ethereal or iptraf to watch the traffic
on the approprate interface. That will tell you what it is, but not
necessarily what is causing it. Unless of course this traffic is only on
the outside of your modem, in which case you'll have trouble sniffing it.

Richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: questions about mutt

2002-12-12 Thread Richard Hector
On Thu, 2002-12-12 at 21:18, Cameron Matheson wrote:
>   I tried a line like 'color body
> cyan black ^gpg:', but that only colors 'gpg:', how would i make that go
> to the end of the line?

Untested RE-newbie guess: '^gpg:.*$' ?

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: restricting wireless access

2003-01-13 Thread Richard Hector
On Sat, 2003-01-11 at 11:56, martin f krafft wrote:
> i have a cheap-ass wireless access point which doesn't even do
> MAC-based authentication, and neither can I get WEP64 to work between
> it (Addtron AWS-110) and the Orinoco Silver card.
> 
> I would like to have wireless in my appartment, but I need to prevent
> folks on the street from linking into the network. The question is
> how. I want to prevent them from using my internet connection just as
> much as accessing local computers behind the firewall.

An idea that springs to mind (well, it sprung some time ago, but I had
no-one to tell it to) is pppoe to your firewall. Then you block all IP
traffic on the interface talking to the AP (or not even configure IP at
all) and only allow from authenticated ppp interfaces. No encryption I
guess, but it's a start.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: restricting wireless access

2003-01-13 Thread Richard Hector
On Tue, 2003-01-14 at 01:49, martin f krafft wrote:
> also sprach Richard Hector <[EMAIL PROTECTED]> [2003.01.13.1127 +0100]:
> > An idea that springs to mind (well, it sprung some time ago, but I had
> > no-one to tell it to) is pppoe to your firewall. Then you block all IP
> > traffic on the interface talking to the AP (or not even configure IP at
> > all) and only allow from authenticated ppp interfaces. No encryption I
> > guess, but it's a start.
> 
> this seems very excessive, but not a bad idea. i don't like the
> processor and packet size overload, and another problem is also not
> solved: a wlan-freerider might not be able to get across my FW to the
> 'net, but he'll have direct access to my LAN.

Not if your AP is on a dedicated NIC, he won't.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: email-fax gateway - need suggestions

2003-01-15 Thread Richard Hector
Apologies for not responding to the start of the thread - it had gone
before I realised I wanted to contribute ...

> On Mon, Jan 13, 2003 at 09:36:05PM -0500, Neal Lippman wrote:
> > 
> > My project is basically to provide a mechanism so someone can email to a
> > an address in my office (eg "[EMAIL PROTECTED]") and have that email
> > automatically faxed out.

Wouldn't it be easier, and perhaps more intuitive, to send these emails
to [EMAIL PROTECTED]? That way the sender can just specify all
the recipients on the To (or CC or BCC) line in the normal way, instead
of mucking round with putting stuff in the first line of the message or
the Subject. The mailer could probably handle the LDAP lookups too, so
the address would end up as [EMAIL PROTECTED]

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Compiling Kernel - ncurses and wish

2003-01-16 Thread Richard Hector
On Fri, 2003-01-17 at 07:41, Doug MacFarlane wrote:
> 
> make menuconfig 
> 
> tells me I don't have ncurses installed, but I've installed every package
> in the Debian Package archive with ncurses in the name . . .  

Including libncurses5-dev? I think that's the one you want. It is listed
as 'suggested' for kernel-source packages.

> make xconfig
> 
> can't find a "wish" script . . . . 

That sounds like Tcl/Tk, but I don't know about specific packages.

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




VIA bug?

2003-01-17 Thread Richard Hector
Hi all,

After a fresh install on a newish PC, I get an error like this:

probable hardware bug: clock timer configuration lost - probably a
VIA686a
probable hardware bug: restoring chip configuration

This machine also had problems such as the mouse freezing, and sound
playback (and recording) was slow, under WinXP - that's part of the
reason for switching, but I'm not sure if it's relevant.

Anyway, I've discovered that that message does not exist in the 2.4.18
kernel source - does that mean that kernel avoids the problem, and
therefore all my problems will be over once I upgrade?

Is this something I should be able to get a warranty replacement on?

Thanks,

Richard




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: VIA bug?

2003-01-17 Thread Richard Hector
On Sat, 2003-01-18 at 08:33, Ron Johnson wrote:
> On Fri, 2003-01-17 at 06:20, Richard Hector wrote:
> > Hi all,
> > 
> > After a fresh install on a newish PC, I get an error like this:
> > 
> > probable hardware bug: clock timer configuration lost - probably a
> > VIA686a
> > probable hardware bug: restoring chip configuration
> > 
> > This machine also had problems such as the mouse freezing, and sound
> > playback (and recording) was slow, under WinXP - that's part of the
> > reason for switching, but I'm not sure if it's relevant.
> > 
> > Anyway, I've discovered that that message does not exist in the 2.4.18
> > kernel source - does that mean that kernel avoids the problem, and
> > therefore all my problems will be over once I upgrade?
> > 
> > Is this something I should be able to get a warranty replacement on?
> 
> What motherboard, chipset and kernel?

Soltek SL-65KV2-CT, socket 370 (Celeron 1300).
The front of the manual says VIA 694T series
Inside, more specifically, it says
  North Bridge - VIA VT82C694T.
  South Bridge - VIA VT82C686B.

I don't have the machine in front of me at the moment, but will later
today.

The kernel is whatever 2.2 kernel is installed by default from a fresh
3.0r1 CD.

My plan for today is to upgrade it to 2.4.18.

(OT - Any suggestions on whether this is affecting XP and how to work
around it gratefully accepted too ... this is my father's box and he
still needs CorelDRAW! 7)

Note that this error didn't stop anything; it all carried on, so maybe
it doesn't matter too much under linux - the mouse was a bit hesitant
though, in the same way as it had been under XP.

Many thanks,

Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




  1   2   3   4   5   6   7   8   9   10   >