Re: iptables; some IPs are getting through netmasks

2012-12-23 Thread Jonathan Matthews
On 23 December 2012 16:41, Mark Ford  wrote:
> Here is a shortened version of the output from iptables-save (full version 
> simply has more "-A pests" lines).
>
> # Generated by iptables-save v1.4.8 on Sun Dec 23 16:24:43 2012
> *filter
> :INPUT ACCEPT [252417:278747603]
> :FORWARD ACCEPT [0:0]
> :OUTPUT ACCEPT [255016:258290199]
> :pests - [0:0]
> -A INPUT -p tcp -j pests
> -A pests -s 1.85.17.0/24 -p tcp -j DROP
> -A pests -s 67.228.245.0/24 -p tcp -j DROP
> COMMIT
> # Completed on Sun Dec 23 16:24:44 2012
>
>
> Here is the complete header from the spam email...
[snipped]

I would trust what you find in /var/log/{mail,exim} more readily than
Received: lines in a spam mail, no matter how correctly you think
you're reading them. I'd check there instead.

As an aside, I wouldn't block /24s like this myself. Use something in
protocol (i.e. configured in Exim), perhaps, and be /really/ careful
about blocking entire /24s. The collateral damage could be more than
you intended.

Cheers,
Jonathan
-- 
Jonathan Matthews // Oxford, London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cakstx7a_nwcj81ewwfv+h8n4aunhtuebd3hft_jjnc0ho60...@mail.gmail.com



Re: file systems

2011-04-19 Thread Jonathan Matthews
On 19 April 2011 19:45, prad  wrote:
> we are thinking of redoing our existing servers and workstations in
> june. our servers is low volume and run out of our home via cable.
>
> right now the servers are running freebsd and our personal machines use
> arch linux, but we'd like to unify everything onto debian because
> a) we've liked it in the past
> b) we like the social contract
> c) we appreciate the no-nonsense attitude about 'free'

++ to these. They don't get enough credit for being as important as
they are, IMHO.

> we are contemplating the fs to use:
> ext4 (which we've used for a couple of years)

Yes, this. Regardless of length of experience with it, I suggest
having a good read through the entirety of
http://www.kernel.org/doc/Documentation/filesystems/ext4.txt to check
the data integrity options.  IIRC they differ from ext3 in places.

> zfs (we've heard this is really good)

It is nice - the iSCSI is especially useful, IME - but requires a
separation of your storage systems from your non-storage (e.g. web,
DB, etc) systems if you require Linux environments for that second
group.

Also, unless you go the NFS route, you'll need to layer a Linux FS on
top of the exported ZFS block devices /anyway/, so you'd still need to
choose which FS to use.

FWIW, I'm finding ZFS-on-opensolaris/nextenta => iSCSI =>
ext4-under-KVM to be a decent solution. YMMV.

> btrfs (ditto - though it's still 'new' and 'lacking' features)

Nope. Not production ready.

Cheers,
Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlkting-xb7olc8v0bkibzdwa9znms...@mail.gmail.com



Re: Re: changing my e-mail address

2011-04-17 Thread Jonathan Matthews
On 17 April 2011 21:19, PMA  wrote:
> Dear List,
>
> My cat, much enjoying this thread, would like to know:
> "What please, referencing particular persons, is a 'git'?"

Tell it to have a look at http://www.urbandictionary.com/define.php?term=git
It's a predominately British insult.

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktimuq-zm4fbngn1ygswvegum8f7...@mail.gmail.com



Re: Reformat/salvage old LaCie drive?

2011-04-17 Thread Jonathan Matthews
On 17 April 2011 19:55, Brian Flaherty  wrote:
> Hello,
> I have an old LaCie 500 GB hard drive. I opened it up last night and see
> that it is two 250 ATA/133 hard drives: one master, one slave on a single
> IDE ribbon connector. (Hope my words are right.) It is connected to my
> laptop via USB. (recent Debian Squeeze install on a Lenovo X201)
>
> How do I reformat and test if the drive is reliable?

Don't. It's 8/9/10 year old technology which has already started to
tell you it's going south. Just bin it.

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/BANLkTi=uOC4TpYdRMQ-6-2Zcyv-8=_6...@mail.gmail.com



Re: User cannot set process priority nice --10 despite changes in limits.conf

2011-04-17 Thread Jonathan Matthews
On 17 April 2011 11:21, Sebastian Tarach  wrote:
> Hello,
>
> I'm trying to allow user hlds to be able to start game server daemon with
> higher priority. Even though I've added fallowing line in
> /etc/security/limits.conf
>
> hlds -   nice-20
>
> I'm still getting
>
> starach@debian:/> nice --5 cat logfile
> nice: cannot set niceness: Permission denied
>
> What could I have done wrong?

Doesn't look to me like you're running the command as the user you
specified in limits.conf.

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktim570oohx04lbl_qfssx2wheht...@mail.gmail.com



Re: HALF SOLVED!! :) - 2 encrypted VG's on 1 disk - HOW?

2011-04-17 Thread Jonathan Matthews
On 17 April 2011 12:49, johhny_at_poland77  wrote:
> I "half solved" it!! :P

Well done.  As I believe you were previously informed, this is a
mailing list for debian-specific traffic. Please use it as such. You
may have better luck over here: https://lists.ubuntu.com/.

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktimsy4rqnjuxe-fxost_rbgsaqy...@mail.gmail.com



Re: changing my e-mail address

2011-04-17 Thread Jonathan Matthews
On 16 April 2011 18:39, Pierre Frenkiel  wrote:
> On Sat, 16 Apr 2011, Lisi wrote:
>
>>  To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
>> with a subject of "unsubscribe". 
>>
>> Have you tried this?  You don't mention it.
>
>  And did you read my post?
>  The question was not
>     "how to unsubcribe?",
>     but
>     "how to modify my address without doing unsubscribe/subscribe?"

What difference do you think there is between those 2 operations?
Hint: none at all.

>  It's curious that I got 5 replys, all about the PS, but
>  not a single answer to my question !

Your question was boring as you self-answered in your original mail.
Just do the damn unsubscribe/subscribe dance. If it causes you
problems, please reconsider the wisdom of owning a complex bit of kit
like your computer.

Also, learn how to respond to people trying to help you with your
questions whilst /not/ sounding like a git. If this is a
secondary-language thing, hence you didn't otherwise realise it: your
email, above, made you sound like a git. Stop that.

HTH,
Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktikkhqchnr7gp1mwb+tknskpmlm...@mail.gmail.com



Re: How to install Fedora&Ubuntu with encrypted VG's on one disk?

2011-04-13 Thread Jonathan Matthews
On 13 April 2011 23:43, johhny_at_poland77  wrote:
> I installed a Fedora 14 first, then an Ubuntu 10.04. I installed them using 
> dm_crypt/aes256/lvm, so i used encrypted VolumeGroups. ok.
[snip]
> p.s.: i posted to Debian list too, because i don't think it's a 
> Distro-specific question.. :\

I think you're wrong. Please use the appropriate lists; this list is
for Debian-specific traffic.

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktinor5xhsb2bpkbr5bcvpmz3_qy...@mail.gmail.com



Re: New to Linux

2011-04-12 Thread Jonathan Matthews
On 12 April 2011 16:34, shawn wilson  wrote:
> On Tue, Apr 12, 2011 at 10:53 AM, Chris Brennan  wrote:
>> On Tue, Apr 12, 2011 at 10:12 AM, shawn wilson  wrote:
>>>
>>> another thing about times changing - virtuals are great. download some
>>> popular distros (don't limit yourself to linux either). i'd suggest
>>> debian, fedora, centos, ubuntu, and freebsd. then get virtual box and
>>> have fun. go, install, snapshot and then mess everything up. if you
>>> can't figure out how to put it back together again, revert to the
>>> snapshot.

I suggest Debian, CentOS and a BSD are enough to get started with :-)
No need to scare the chap off /that/ soon ;-)

>> You'll need VMWare or VirtualBox (VBox is free but because it's not Oracle
>> owned, it's licence might radically change without warning ... If you
>> *really* want to make a project out of it, try Gentoo too, fair warning
>> though, it can be time consuming.
>
> virtualbox, vmware, xen, hyperv, kvm, qemu, virtual iron (are they
> still in business?)

They got borged by Oracle, IIRC, leaving them with at least 3
different virtual platforms: virtualbox, solaris zones, virtual iron.
Ooo, and maybe one more whose name escapes me. They also bought up
Q-Layer, who were *great* ... and then dropped it entirely.

OVM - that's what I was thinking of. Oracle VM, a RHEL-based Xen
product with a web UI. Not too shabby, but why would you /bother/?

> and i'm probably missing some others. the reason
> i just mentioned virtualbox is because it's easy. there is also
> proxmox which is a bare metal environment but that requires spare
> hardware and isn't as mature as virtualbox.
>
> per the source of virtualbox - oracle owns it. however, it is all
> under a gpl type license exept the usb driver which is close source.

ISTR there are some more exceptions than /just/ USB, but can't recall
them at the moment.

I'd honestly not recommend an Oracle-owned product at this point.
They're showing themselves to be too hostile to FLOSS to trust them.
And while I /know/ virtualbox is good and useful, the (relatively
small!) extra work required to get KVM+libvirt (i.e. virt-manager)
going will repay you many times over for the greater control and
understanding you'll have of the underlying system. IMHO.

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktikgqoxe-7ogrfxuj1mqot_gmyf...@mail.gmail.com



Re: Your favorite bug tracking system

2011-04-11 Thread Jonathan Matthews
On 11 April 2011 09:31, Enno Gröper  wrote:
> Hi,
>
> Am 11.04.2011 09:55, schrieb Frank Van Damme:
>> 2011/4/7 Carlos Miranda Molina (Mstaaravin) :
>>>
>>> http://www.redmine.org/
>>>
>>> Integrate issues, wiki, etc.
>>
>> Very practical piece of software indeed, I have also used Trac which
>> has more or less the same basic set of features (integration
>> bugtracking-wiki-project management etc) and I consider Trac to be the
>> more user friendly option (it accepts email "in", in the release I
>> used it was a not-hard-to-add-on feature). Redmine allows a lot more
>> flexibility in roles though, you can also run multiple projects in one
>> instance which is not possibly in Trac (need to create differenc
>> instances + you can't have the same level in integration, pe. type
>> #441 in a wiki page to link to bug in an other project).
> I'm not sure what you guys are talking about, when writing about "email
> in" and "email ingestion", but redmine support controlling it using
> email (change issues, create issues).
> http://www.redmine.org/projects/redmine/wiki/RedmineReceivingEmails#How-it-works

I wrote earlier in this thread "It doesn't do ingestion out of the
box, and needs fairly nasty ad-hoc scripting to do with any
regularity". The link you posted, you may notice, doesn't address
*any* of the tooling around email ingestion - just how it's done,
once, on demand.  I assure you, having *implemented* it for working
Redmine setups, that my statement is correct. Redmine is far better
suited to Web UI interactions from a known set of actors who you can
beat the system's rules into with a stick.

> Perhaps it could be a problem,
> that it doesn't allow this for unregistered users.

Yes, it does. It is an annoying thing to have to work around, but the
scripts to deal with email ingestion do support unregistered users. It
can be set up to create users on email ingestion, too, if you hit it
hard enough. As above, though, it's not *nice*. It's not a priority
for the Redmine devs.

If there's enough demand (again, it's OT for this list, I recognise)
I'll pop some scripts I wrote around email ingestion up on the Redmine
wiki. They're not fool-proof, but they do work, I guess. I mean,
no-one's /told/ me they don't work. By logging a ticket. Via email ...
>:-)

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktin4dm5q+xfhtxemzeyj7zzax_j...@mail.gmail.com



Re: Your favorite bug tracking system

2011-04-08 Thread Jonathan Matthews
On 7 April 2011 21:06, Carlos Miranda Molina (Mstaaravin)
 wrote:
> On Thu, Apr 7, 2011 at 4:20 PM, Jason Hsu  wrote:
>> I need a bug tracking system for Swift Linux (www.swiftlinux.org).

I submit that this is somewhat OT for debian-user and should be marked
as such or discussed elsewhere.

> http://www.redmine.org/
> Integrate issues, wiki, etc.

Nice tool (I (have) run it in a few places), but it has a real
weakness when it comes to email. It doesn't do ingestion out of the
box, and needs fairly nasty ad-hoc scripting to do with any
regularity.

Also, be aware that when sending email /out/, it can only have one
emission address configured - globally. YMMV but that rules it out for
some specific uses that I'd otherwise have considered it for. It's
also, AFAICT, not high on the developers' list of things that need
fixing as Redmine is "[a] flexible project management web
application", not a trouble ticket system or bug tracker in the first
instance.

HTH
Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktimkvabcpgduxjxg3itxgqkhbys...@mail.gmail.com



Re: When ram memory is critical ?

2011-04-08 Thread Jonathan Matthews
[Sorry for the toppost, but I can't be arsed to edit the
already-buggered quoting]

I'm not sure why you'd want to warn about systems using the full
resources you've provisioned them with, but if you are going to, you
probably want to make the test as light-weight as possible as you'll
presumably be repeating it frequently.

The output of "free" is fairly stable and unlikely to change. You want
the 3rd line, 3rd field (memory used)


user@host:~$ free -m | awk 'NR==3{print $3}'
95


But that requires modification for each different server you
provision. Why not monitor the amount /unused/ and then spam your
phone at 3am when cron kicks off?


user@host:~$ free -m | awk 'NR==3{print $4}'
392


But even if the tool output weren't stable, and you still had to
pattern match to discover the line you wanted, you could still avoid a
seperate grep process as awk can do it all:


user@host:~$ free -m | awk '/buffers\/cache/{print $4}'
392


Regardless, I suggest you *collect*, *graph* and *trend*  these
values, but don't alert or warn based on them. On the other hand, you
may dislike a good night's sleep.

Jonathan

On 8 April 2011 22:08, Ron Johnson  wrote:
>
> It should be '{print $3}'.
>
> $ free -m
>          total     used     free     shared    buffers     cached
> Mem:       8059     6249     1810          0         20       3485
> -/+ buffers/cache:  2743     5316
> Swap:     15624      139    15485
>
>
> $ free -m | grep buffers/cache | awk '{print $3}'
> 2743
>
>
> On 04/08/2011 03:59 PM, Fabio DellaCorte wrote:
>>
>> So i think the correct thing to do is  "free -m | grep buffers/cache | awk
>> '{print $4}" is right for me to place a warning system that monitors the
>> RAM
>> .
>>
>> 2011/4/8 Ron Johnson
>>
>>>
>>> The actual "used by kernel+applications" is, I think, 371.
>>>
>>>
>>> On 04/08/2011 02:53 PM, Fabio DellaCorte wrote:
>>>
>>>> OK! Thank you for the explanations. But raising this case, what is the
>>>> parameter to be controlled? And compared to the controls I mentioned
>>>> above which
>>>> of the two actually fit the occupation of RAM ?
>>>> 2011/4/8 Stan Hoeppner
>>>>
>>>>  Fabio DellaCorte put forth on 4/8/2011 12:13 PM:
>>>>>
>>>>>> root@debian-cq2:/etc/pandora# free -m
>>>>>>              total       used       free     shared    buffers
>>>>>> cached
>>>>>> Mem:          8006        790       7215          0        210
>>>>>>  208
>>>>>> -/+ buffers/cache:        371       7634
>>>>>> Swap:        22883          2      22881
>>>>>>
>>>>>
>>>>> You have 7GB+ free out of 8GB.  And you're concerned with memory usage?
>>>>>  LOL
>>>>>
>>>>> Why do you have 20GB of swap?  Given your memory usage, assuming the
>>>>> above is "typical", and the fact you have 8GB RAM, I'm going to guess
>>>>> you could likely get by with no swap device at all.
>>>>>
>>>>> You have nothing to worry about.  Unless of course this is an "idle"
>>>>> state, and you run some gargantuan simulation app that eats all 8GB
>>>>> when
>>>>> launched.  I doubt that's the case, as you'd not be asking this
>>>>> question
>>>>> if you used such an app.
>>>>>
>>>>>>  From what you've provided, you don't need to worry about memory.
>>>>>
>>>>>
>>> --
>>> "Neither the wisest constitution nor the wisest laws will secure
>>> the liberty and happiness of a people whose manners are universally
>>> corrupt."
>>> Samuel Adams, essay in The Public Advertiser, 1749
>>>
>
> --
> "Neither the wisest constitution nor the wisest laws will secure
> the liberty and happiness of a people whose manners are universally
> corrupt."
> Samuel Adams, essay in The Public Advertiser, 1749
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/4d9f7936.3000...@cox.net
>
>



-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/banlktinmdc_zzczuafunfsko1gktbso...@mail.gmail.com



Re: aptitude over-zealous on removals?

2011-03-23 Thread Jonathan Matthews
On 22 March 2011 13:06, Scott Ferguson  wrote:
> On 22/03/11 23:56, Jonathan Matthews wrote:
>> It looks to me (http://packages.debian.org/squeeze/cwebx) that perhaps
>> the only reason gcc is /on/ your machine is due to aptitude pulling it
>> down when you installed cwebx. Hence it knows that, as it satisfied
>> the dependency (well, recommendation) initially, it should be fine to
>> remove it now.
>>
>> Just tell aptitude you explicitly /want/ gcc and you should be good to
>> remove cwebx. I'd be interested to see if "aptitude install gcc  ;
>> aptitude remove cwebx" achieves this directly - do let the list know
>
> You can try using -R (ignore recommended)

Hmmm, I'm not sure that'd work here. Surely the recommendation has
already been applied long ago and the state that's being reacted to,
and which is leading to the auto-removal of gcc, is solely the fact
that there would exist no packages installed that depend (or
recommend:) on gcc.

I may be wrong :-)
Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTikrB80LagQihgNqm89yXZhif-ZJ12rOO=+2a...@mail.gmail.com



Re: aptitude over-zealous on removals?

2011-03-22 Thread Jonathan Matthews
On 22 March 2011 12:28, Charles Blair  wrote:
>   I decided I wanted to remove the package cwebx, which is a
> system for documenting C programs.  When I put a minus sign
> next to that package, I was told that aptitude wanted to then
> remove a whole bunch of other stuff, including gcc.  I definitely
> did NOT want that to happen and exited from aptitude immediately.
>
>   How do I get aptitude to cancel that request from future
> sessions?

It looks to me (http://packages.debian.org/squeeze/cwebx) that perhaps
the only reason gcc is /on/ your machine is due to aptitude pulling it
down when you installed cwebx. Hence it knows that, as it satisfied
the dependency (well, recommendation) initially, it should be fine to
remove it now.

Just tell aptitude you explicitly /want/ gcc and you should be good to
remove cwebx. I'd be interested to see if "aptitude install gcc  ;
aptitude remove cwebx" achieves this directly - do let the list know
...

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktin3uz0-qrphcikzfgwgvue4u1aunpjrigvfz...@mail.gmail.com



Re: raid10 and lvm problem on new lenny install

2011-03-20 Thread Jonathan Matthews
On 20 March 2011 02:24, Jim Green  wrote:
> http://www.gagme.com/greg/linux/raid-lvm.php

That looks like an LVM1 article.

Here's a readable one about LVM2:
http://www.ibm.com/developerworks/library/l-lvm2/

"With LVM2, there's no limit on the maximum numbers of extents per PV/LV."

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTi=K0fDpyWeEjzGT=8iflk__ro9fko_vwa_nz...@mail.gmail.com



Re: Question about mii-tool

2011-03-14 Thread Jonathan Matthews
On 14 March 2011 00:48, Daniel Bareiro  wrote:
> Hi all!
>
> Doing several tests with mii-tool, I'm noting that it works on some
> hardware but in others it does not. In all cases I'm using Debian
> GNU/Linux Squeeze with Linux 2.6.32 from Debian repositories.

I'm not sure if this is 100% applicable, but AIUI ethtool superseded
mii-tool for all purposes a while ago. I've certainly not used
mii-tool in the last few (5?) years. It's possible that this is more a
server-side thing (where one hopes to have "better" NICs, FSVO
"better"), but if you can achieve what you want with ethtool, just use
that.

Cheers,
Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktin8f0807s37g36sgyw+o9poyw_r-qmxsupaf...@mail.gmail.com



Re: regular user can't umount automount drive

2011-03-13 Thread Jonathan Matthews
On 11 March 2011 06:32,   wrote:
> Howdy,
>
> Here's the option line from the auto.media file:
>
> /media/thingy  -fstype=vfat,users,flush,rw,umask=   :/dev/ipod
>
> I could have sworn this was working...
>
> I posted a while back and found out that the "users" option had to be in
> there.

The option specified by mount(8)'s manpage is "user", not "users". I
don't recall if that relates to the automounter at all.

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimvcgg+thufbscwvtyzh5ghty+lbthpmfxgj...@mail.gmail.com



Re: VMware Workstation

2011-03-03 Thread Jonathan Matthews
On 3 March 2011 11:57, shawn wilson  wrote:
> A few general comments on the thread:
> First, I'd recommend VMWare if you want to also buy their support - its
> really quite good.

Good comment. *If* you have the dosh to flaunt on VMWare support
and/or PS, and are set on buying something corporate, then do so.
Personally, I'd choose KVM on the server these days.  VMWare being
EMC, you'll find there is *never* an end to the amount you could pay
them. The services and licenses they offer are as deep as your pockets
:-)

Personally, what puts me off VMWare is - as others have mentioned -
the license wrangling, but also the actual cost of support. In a
former role, I had to go into a client and discover&point out that,
because they made a hardware choice of X as opposed to Y before
engaging with $myEmployer, the (minimum) cost of ESXi licensing
actually *exceeded* the (5 figure) cost of their shiny new,
fully-loaded Dell hardware. Yes, they didn't do their requirements
gathering correctly but daaamn is VMWare expensive!

Getting back on topic, to non-server/workstation, I'd recommend
virtualbox like others on this thread. If you can get VMWare for free
(site license/etc), or if you have very deep pockets, take a look.
Otherwise - vbox. For server-side virtualisation - KVM.

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinb_qbjtvkktt-crjay1zm1pf3adcybtkkju...@mail.gmail.com



Re: creating a pv guest Ubuntu on a Ubuntu desktop is failing on pv-ops Dom0 kernel

2011-03-02 Thread Jonathan Matthews
Tapas -

As someone else already pointed out, this isn't an ubuntu mailing
list. You probably want to retry your request here:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users.

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTimO=wxxjpxhb-jfwruwp_c_5e8oggroct5ov...@mail.gmail.com



Re: How do I get this dialog back?

2011-03-01 Thread Jonathan Matthews
On 1 March 2011 15:21, Hugo Vanwoerkom  wrote:
> Igor Sverkos wrote:
>>
>> Hi,
>>
>> while upgrading from Lenny to Squeeze, I got this dialog:
>>
>> http://f.666kb.com/i/breb9xzqa8abc1ls7.jpg
>>
>> I am asking myself, how do I get this dialog back again (for example,
>> when I want to add another service, which should be restarted, when libc
>> got updated...).

You don't need to get it back. It's just asking you "during this
install, given that I'm upgrading libc, which services shall I restart
to complete the upgrade?". To "add to this list", just manually
restart the service now with "service foobar restart" or
"/etc/init.d/foobar restart".

> [OT] How did you get that image, with a camera?

Looks like a screenshot of a putty session running on a vista machine to me.

Jonathan
-- 
Jonathan Matthews
London, UK
http://www.jpluscplusm.com/contact.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktiktc-zcksyc5lh_uqzul8tojxomr1+rm7p+z...@mail.gmail.com



Re: Virtual Hosts/Domains

2006-03-09 Thread Jonathan Matthews-Levine
On 3/8/06, Rich Johnson <[EMAIL PROTECTED]> wrote:
> Folks up for a discussion of a ''canonical'' implementation of
> virtual hosts and/or domains?
[snip]
> - vdomain-webmin?

I'd say that it's a great idea in geneneral, but this last
"reseller-friendly" addition would be very, *very* useful.

I'd /love/ to delegate responsibility of my dad's domain to him :-)

Is webmin the way forward, however?  Last time I used it, I really
disliked the interface - it felt quite non-standard and clunky.
This was a while ago, however ...

Cheers,
Jonathan

--
Don't anthropomorphize computers. They don't like it.



Re: How to set time

2004-07-29 Thread Jonathan Matthews
David P James had the gall to say:
> Considering that the user is (1) on ALO and (2) using a Windows 
> mailer (ALO it looks like) I have my doubts that the above is much 
> help...

Agreed.  Does anyone else find it easy to filter out such obvious 
"noise" solely on where the text versus the header appears in mutt?

> On a related note, what's with all these LOA users asking about 
> removing ALO a.r.t files?

Text above is obfuscated a touch to avoid what I'm about to describe.

I reckon it's a vicious circle - they google/$BIG_ISP_SEARCH_ENGINE for 
the phrase "ALO a.r.t file" and since - waay back - someone asked on 
debian-user about it and d-u is presumably a fairly well-respected 
source in google's eyes, they get pointed here.  Cycle repeats itself, 
leading to more and more OLA-users making their way to d-u to ask that 
one question.

I keep meaning to set up a simple "Hello, user of $BIG_ISP.  Here's 
where to go to get info on your a.r.t. files" page and post a link to it 
in reply to future questions on this subject.

Has anyone dealt with a mom/pop/mum/dad and actually *solved* this 
problem?  Where /should/ they go for instructions?  Please avoid the 
unobfuscated versions of the words ALO and a.r.t. in your reply!

Cheers,
jc


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



Re: Moving to a dedicated host...

2004-06-23 Thread Jonathan Matthews
[EMAIL PROTECTED] had the gall to say:
> Hi all,
[snip]
> Any
> experiences with other providers of decent non-managed Debian boxes with
> a monthly datalimit of about 100GB?

FWIW, I find www.bytemark.co.uk to be very good.  They provide UML 
machines for a very reasonable amount.  I can't remember what their 
bandwidth charges are, but I do recall a conversation with someone 
who indicated that b/w is at cost, not for profit.

I'm just a happy customer - I've no other relationship with them!

jc


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



Re: DVD+RW gone missing on moving to kernel 2.6.6

2004-05-22 Thread Jonathan Matthews
Graham Williams had the gall to say:
> My "_NEC DVD+RW ND-2100AD, ATAPI CD/DVD-ROM drive" that is easily
> identified under 2.4.25 (as /dev/hdc) goes missing under my 2.6.6
> kernel. dmesg has no hint at all of the DVD. This is my only IDE
> device (using a SATA hard drive).
> 
> Is this a matter of finding the right module? The machine is sid,
> up-to-date.

Just hit this problem myself.  Here's what I did - let me know if it 
works:

1) Remove any "hdc=ide-scsi" lines from /etc/lilo.conf (grub? No 
idea...) and then run "lilo" as root.

2) # modprobe ide-cd

3) $ cdrecord dev=ATA -scanbus

... and use the x,y,z triple that cdrecord reports, as in

$ cdrecord dev=ATA:x,y,z 

HTH,
jc


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



Re: OT: Viruses on lists

2004-05-10 Thread Jonathan Matthews
Paul Johnson had the gall to say:
> "Derrick 'dman' Hudson" <[EMAIL PROTECTED]> writes:
[snip]
> > Almost.  murphy generates a bounce and sends it to the list manager
> > (mailman, majordomo, ezmlm, etc. - I don't know what one murphy is
> > running).  The list manager then counts that against you in its
> > determination of which addresses are invalid and need to be removed
> > from the list.
> 
> It takes quite a few bounces before you get removed, though.

Does anyone know a definitive figure or rate here?

> > My choice is to simply drop viruses.  I don't expect to have any legit
> > messages falsely identified as viral, and dropping the message simply
> > removes waste from the network bandwidth and disk storage of the
> > world.  I see no need to push the bounce back at someone else,
> > particularly since the offender is rarely the one punished in that
> > case.

Drop /after/ accepting?  Would that not mark you (in the virus' eyes, 
anyway) as a potential target?  What with viruses having their own 
builtin SMTP engines these days and hence knowing for sure what response 
was given to the SMTP session, is that not potentially inviting future, 
smarter viruses (with memories for this sort of thing) to hit you first?

> Which is why I reject at SMTP.  Doesn't push a bounce back to forged
> addresses.

I should have said - I've followed Paul's instructions on ursine.ca to 
set this up, and am consequently rejecting at SMTP time.

I'm unsure as to the difference between accepting a mail and bouncing 
later and rejecting at SMTP time as far as murphy is concerned.  (I'm 
fine with the general difference for normal mail.)  Can anyone venture 
an opinion?  Do both bounces (is it correct to call a 5xx reject a 
"bounce"?) count similarly negatively when working out who shouldn't be 
on the list anymore?  Should I stop asking questions (sort of like this 
one?) inside other questions?

Answers on a postcard, please ...

Cheers,
Jonathan


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



Re: No access but root

2004-05-09 Thread Jonathan Matthews
Pritpal Dhaliwal had the gall to say:
> no one else has a clue?
> 
> come on guys ( and girls).. its the debian users list.. If I wanted to 
> start doing fresh install when things get messed up.. I could stick to 
> windows...
> 
> help me out please

Please remember you're talking to /volunteers/ here.  Also, please learn 
not to put your replies at the top of email.

As to your problem, I believe you've hit the fact that, if a script file 
does an action that is not permitted, then the individual line that 
causes the problem is not automatically echoed (giving you a clue about 
how to debug it) but instead just says

"bash: : ".

In other words, I believe that your problem is caused by a line /inside/ 
/etc/bash.bashrc, not the permissions on the file itself.

Have a look through, and see if there's anything that you wouldn't 
expect a normal user to be able to do.

As a last resort (you /should/ be able to fix this!) post the contents 
of the file here for people to look at.

Cheers,
Jonathan


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



OT: Viruses on lists

2004-05-09 Thread Jonathan Matthews
Evenin' all.

I've installed ClamAV+Exim4 to reject viruses at SMTP time.  d-u's 
headers don't seem to mention anything about /virus/ scanning (as 
opposed to SpamAssassin), so I guess I'm ok asking this question here:

The whole point of having virus scanning while the sender still has an 
open connection is a) to reduce email processing load on your system and 
b) to reduce bounces to forged headers - which must be sent if the email 
is accepted and only scanned later.

I'm fine with (a) - I think that still holds - but is (b) incorrect when 
dealing with listmail?  Since the mail has already been received and 
accepted by murphy, am I just pushing the sending of spoofed bounce 
messages one stage back up the email processing ladder? Is it an 
unfriendly thing to do to murphy - should I be whitelisting it instead?

Any thoughts on this, or how to configure the exceptions inside Exim 
would be appreciated!

Cheers,
jc


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



Re: devfs.rules vs. udev.rules

2004-04-24 Thread Jonathan Matthews
csj had the gall to say:
> What's the relationship between /etc/udev/devfs.rules and
> /etc/udev/udev.rules?  With the latest udev upgrade (0.024-6), I
> lost my video for linux devices.  Before the upgrade they were in
> /dev/v4l/*.
> 
> Sure enough I found that the rules for them had disappeared from
> /etc/udev/udev.rules.  They're now in /etc/udev/devfs.rules.  As
> a hack (rather than disabling udev entirely), I copied the
> relevant entries from /etc/udev/devfs.rules to
> /etc/udev/udev.rules.

I've just installed udev, and I found that moving devfs.rules to 
udev.rules (after backing udev.rules up ...) solved the problems I had.  

I think that devfs.rules is a compatability ruleset that creates /dev as 
if devfs were running.  I can't see any harm in this, so I've left my 
box running with these rules active.  I don't know what rules the 
"native" udev.rules file propagates - my advice is not to use them until 
it settles down a bit!

Cheers!
jc

-- 
jaycee . without . spam {at} jaycee [dot] uklinux (dot) net


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



Imap && imap-ssl && pop3-ssl

2004-02-12 Thread Jonathan Matthews
[Sorry for the cross-post - I think it's applicable to both -isp and 
-user.]

I need to offer imap, imapssl and pop3ssl services. FWIW, imap would be 
localhost only, but -ssl services would be publically accessible.

My reading thus far leads me towards Courier-imap with Exim 4 
backported to stable so I can interface with ClamAV, but feel free to 
point out something important that I've missed.

Do I need to have a different instance of the server running for each 
protocol?  i.e. one listening on each port that the three services use 
as standard?

Is there a server that would do the job with just one instance listening 
on all three ports?  Would there be any advantages or disadvantages to 
this?  I'm thinking locking/concurrency/that-sorta-thing.

How do you deal with this situation?  Are there any gotchas I need to 
know about?  I'm guessing that using Maildirs will alleviate many of the 
problems that mboxes would create ...

Any pointers/suggestions/cluebats appreciated!

jc

-- 
Have a nice cup of tea and a biscuit. Fifty-five million Britons can't 
be wrong.  Ooo - jammy dodgers!!


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



[OT] Taking notes

2004-02-08 Thread Jonathan Matthews
Fairly OT for d-u, but I'm wondering what people use to take notes for 
courses.

I'm studying T171 with the Open University (it's a compulsory course on 
the way to their BSc in PeeCees), and a lot of the assessment is writing 
up what you thought about various resources (websites, reports, etc) 
that they throw at you.  The important thing is the note-taking and 
subsequent writing up - /not/ the opinions you actually express in the 
notes.

So - I'm looking for packages which let me keep a structured record of 
what I was looking at, where it was, when I looked, and what my thoughts 
were.  I've found hnb, but that's about it.

Any suggestions?  Would a custom (v.v.v.v. simple) DTD be an idea?  What 
emacs packages let me input the notes into a valid XML file adhering to 
my simple DTD in a pointy-clicky sort of way?  Is this not the way 
forward?

Cheers!
jc

-- 
This signature no verb.


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



Xfree setup: does AGP require anything special?

2004-01-17 Thread Jonathan Matthews
Doing a bit of advocay, I've managed to convince a friend to try Debian 
on his newly put-together PC for a bit, while he saves up the £165 WinXP 
tax.

Unfortunately, I'm not doing a great job.  I did a netinstall from 
debian-installer (12-01-04, FWIW, and it *rocks*!), but can't seem to 
get X to come up at all.

I'll happily post any config files here, but (off the top of my head) 
the problem is that X bombs after a couple of seconds with "no screens 
found".  He's got a NVidia FX mumble in there.

If I could get the damn thing to work with even the vesa driver, I'd 
know where to start - but I can't.  I've got mdetect, read-edid and 
discover installed (all before apt-get installing xserver-xfree86), but 
this doesn't seem to help.

So -

o any AGP gotchas I should look out for?  I've only installed on a PCI 
  system before ..

o What's the lowest common denominator driver that I should be starting 
  with to get over the absolutely-no-GUI-accessible hurdle?

o What files can I post here to help you help me?

TIA - I really need some advice!
jc


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



Woody-->Sid - any current gotchas?

2004-01-12 Thread Jonathan Matthews
Evenin' all.

I'm about 2 hours away from getting my SOs new (well, third-hand) 
desktop machine up and running.  Because she's a fairly non-technical 
sort, I want to give her the friendliest DE/WM I can - and I'm guessing 
that means something Gnome 2.4-y, which I'm only really going to get in 
Sid. (This isn't the main point of this email, but am I right here?)

The install CDs I have are woody.r0, and I'm wondering if there any 
dist-upgrade gotchas in Sid at the moment?  Also (it's been so long 
since I did it last) is it recommended to go Woody->Sarge->Sid, or is
Woody->Sid preferred?

Finally, is a net install a good/bad/indifferent idea?  I'm fairly keen 
to try it for the first time, so any pointers would be appreciated!

cheers,
jc

-- 
Please don't CC: me - reply on list instead.


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



Re: need advice on fixing my home lan

2004-01-09 Thread Jonathan Matthews
Paul E Condon had the gall to say:
> I have a small LAN in my home. I need some advice on tuning it. 
> 
> I've started working on a project wherein I move large files (>3GB)
> between two Debian boxes. This is a slow process. I would like to be
> sure that it goes as fast as is reasonable. I think all my LAN cards
> are claimed by their makers to be 10/100, but for some this might be
> marketing hype. All my cables are 'CAT5'. So, some questions:
> 
> How do I determine whether my lan is passing data at 10 or 100 MHz?

I'd set up some sort of plain (i.e. not scp) data transfer test between 
the hosts.  A temporary internal ftp/http server should do fine.

Then do a "wget http://my.other.local.ip/a.large.file/"; and see what the 
average data rate is.  ~1 meg per second == 10Mbps connection, ~10 megs 
per second == 100 Mbps connection.

Cheers,
jc


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



Re: printer icon

2003-10-02 Thread Jonathan Matthews
Sebastian Kapfer had the gall to say:
> On Thu, 02 Oct 2003 04:30:15 +0200, Zeeblanc wrote:
> 
> > I have a Lexmark z 11 printer.Until I was connected to aol 9.0 optimized
> > it worked fine the icon was on my task bar.
> 
> Can anyone enlighten me why _Windows_ users keep posting their [CENSORED]
> questions to this list?

As I said on deb-vote recently (obviously a bit OT ... :-), I /strongly/ 
believe these mails to be email-gathering ploys.

You'll notice that many of these 1- or 2-liners are very general, with 
many possible ways of diagnosing/solving the problem.  I believe that 
this is to increase the number of replies from helpful PeeCee users who 
think "finally - someone with a problem that *I* can help with!!".

I'd suggest tagging them as spam and letting 
bogofilter/spamassassin/$FILTER get rid of them.

HTH,
jc


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



Re: OT: BT Broadband - which ADSL modem?

2003-09-19 Thread Jonathan Matthews
On Thu, Sep 18, 2003 at 11:15:35PM +0100, Oliver Elphick wrote:
> On Thu, 2003-09-18 at 18:21, Jonathan Matthews wrote:
[snip]
> > Which ADSL modem
> > 
> > o has an ethernet port
> > o works with BT broadband
> > o offers most bang per buck
> 
> I have combined the modem and firewall by installing a Bewan adsl card,
> which has Linux support:
> http://www.bewan.com/bewan/products/adsl/bwadslpcist.php

Cheers for that - it looks rather nice.  Hope you don't mind if I ask a  
couple of questions.

Are there any issues with it being internal, as with winmodems?
Does it steal much cpu (I hope to put this in a P60)?

The PDF techspec says "standard ATM driver" - does this take much 
figuring out?  Is it a kernel configuration issue?

What spec PC do you have it in, and how many other NICs are there in it?  
Does it provide any other services?  How loaded does it get?

Thanks!
jc


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



OT: BT Broadband - which ADSL modem?

2003-09-18 Thread Jonathan Matthews
After a couple of years of um-ing and ah-ing, my dad's finally got round 
to installing broadband.  Specifically, BT broadband (here in the uk).

He's asked me to slip in a 486 class router/firewall inbetween his 
Windows machines and the ADSL modem, so I'd much rather go with a modem 
that has RJ45 (ethernet) connections over any USB-type port.

I'm sure there are some debian users out there who can help me make this 
choice -

Which ADSL modem

o has an ethernet port
o works with BT broadband
o offers most bang per buck

where bang/buck is measured ... however you want.

The baseline is "get connected", but I'd be interested to hear any other 
pluses that different models provide.

So - any thoughts?

Cheers!
jc


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



How do I make quality PDFs from LaTeX?

2003-09-09 Thread Jonathan Matthews
Hi all.

I've tried googling lists.debian.org, but I don't get anything coming up 
that seems to address my problem.

I'm trying to get a "nice" looking PDF from a latex document.  I'm using 
the normal article class, with no other packages loaded.  I'm using a 
couple of symbols that I wouldn't expect to find on a keyboard (namely 
\times and \equiv) but apart from that I don't think I'm using anything 
unusual.

I'm using pdflatex to output the PDF, and I'm aiming for print quality, 
not screen quality, if they're not related.

I'm seeing a variety of problems in the .pdf output, but latex by itself 
doesn't exhibit any of them when I create DVI output.

The problems I'm seeing include:

o Missing characters
- lowercase "a", fagawdsake!

o Wierd quoting
- the source document has
''a quote''
- the .dvi has
"a quote" - but with 66s and 99s (as I'd expect)
- however, the .pdf has
\a quote''

o Missing symbols
- \times
- \equiv

Generally, not a great looking document.

I'm hoping that someone can say "just install the 'foo' package, and 
you're set", but I'd be willing to do a fair bit of digging around if 
anyone thinks it'll help.  On the other hand, I hope that maybe there's 
another font package that needs installing?  Prrrlease?

I'm running up-to-date sid with tetex-{base,bin,extra} installed.  No 
manual configuration's been done beyond apt-get's efforts.

Thanks for any help!
jc


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



Re: Reliably transferring a large amount of data from one machine to another over DSL

2003-08-14 Thread Jonathan Matthews
On Sat, Aug 09, 2003 at 12:17:08AM +0100, Shri Shrikumar wrote:
> Hi,
> 
> I have two machines connected to the internet using DSL. What I would
> like to do is backup one machine to the other. The files are compressed
> and encrypted and then transferred usinc SCP. Atleast, thats what its
> supposed to do. It does the first two steps fine but the transfer is
> regularly unsuccessful - it aborts with "connection lost" or similart
> (cant remember exact error message). The procedure is run from cron.

Could it be to do with the CMs renewing their leases?  Even if the IP 
doesn't change, perhaps the connection tracking "forgets" their 
connection after a new lease is acquired ... ?

> Any ideas on a reliable way to transfer 1 or 2 gb of data over dsl ?

How about setting up an rsync server on the machine to be backed up, and 
cron'ing a "get" job on the machine that hosts the backups?

HTH,
  jc


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



Re: Mouse Pointer Problem

2003-08-14 Thread Jonathan Matthews
On Wed, Aug 06, 2003 at 05:56:41PM -0300, Guilherme A. Mendes wrote:
> Hi everyone,
> 
> I have a big problem with my mouse pointer: suddenly it loses the focus,
> for example if I put the pointer under an icon, the pointer is not
> exactly under that icon, it's some pixels left.
> 
> I'm looking for the solution for a long time and anyone can figure out
> what is happenning (I know 2 or 3 people with the same problem).
> 
> I dont know if I can explain better, it's a strange bug!
> 
> Does anyone know what is happening?

You've got a Trident graphics card?  Google for "trident xfree 
swcursor", possibly with my domain in there and you should come up with 
a solution.

HTH,
  jc


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



Re: pipes, dpkg and default screen width (sort of)

2003-07-18 Thread Jonathan Matthews
On Fri, Jul 18, 2003 at 10:15:03AM -0400, charlie derr wrote:
> Hi,
>   Often I find myself executing the following:
> 
> $ dpkg -l '*foo*'
> 
> to find all packages with foo in the name.
> When instead I look for only installed foo packages as follows:
> 
> $ dpkg -l '*foo*' | grep ii
> 
> the output is truncated, and if there's a foo package with a
> particularly long package name, I won't see the full name.
> 
> Is there an envrironment variable I could set to prevent this?
> Or some other workaround simpler than redirecting the first
> command to a temporary file (and then using grep on that)?

try COLUMNS=200 dpkg -l ...

HTH,
jc


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



woddy-proposed-updates vs. security

2003-07-05 Thread Jonathan Matthews
Just a quickie -

Is there any difference between woody-proposed-updates and 
security.debian.org, for a stable machine?

In other words, if I have stable and security in sources.list, am I 
missing out on /anything/ that's been updated by not having 
proposed-updates in there too?

In other, other words, does proposed-updates carry non-security 
related updates that wouldn't be distributed on security.d.o?

Any replies on-list, please ... :-)

Cheers!
  jc


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



Re: simple bash loop problem ...

2003-06-29 Thread Jonathan Matthews
On Sat, Jun 28, 2003 at 03:03:27PM +0100, David selby wrote:
> Hello,
> 
> I am writing bash a bash & sed script, it has been going suprisingly 
> well. I need a loop to count 9 times & the variable n to the count ..
[snip]

for N in 1 2 3 4 5 6 7 8 9
do
 echo $N
done

I'm sure someone will point out a more elegant first line than this.

HTH,
  jc


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



Re: Debian-user, PASSIVE MONEY GENERATOR!!!

2003-06-24 Thread Jonathan Matthews
On Sun, Jun 22, 2003 at 02:02:45AM +, Staver wrote:
[snip]
> JUST GO TO http://www.euroinvclub.com AND DEPOSIT NOW!!!
[snip]

$ wget http://www.euroinvclub.com 2>/dev/null >/dev/null
$ grep "as" index.html
This Account Has Been Suspended
Please contact the billing/support department as soon as possible.
$

Anyone else get warm fuzzies when they see this? :-)

  jc


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



Re: "cut" command not working as expected

2003-06-17 Thread Jonathan Matthews
On Tue, Jun 17, 2003 at 08:54:59PM +0100, David selby wrote:
> I need to get the first two file names from a directory ...

If that's the spec, then I'd do

ls | head -2

and that'd give you the first two files, unless you have 'ls' aliased to 
something else (ls -C, perhaps ..?)

> My code
> 
> directory=$(ls -r --format=single-column)
> 
> works perfect and gives me ...
> 
> 20030617Jun17.tar.gz 20030616Jun16.tar.gz 20030615Jun15.tar.gz 
> 20030614Jun14.tar.gz 20030613Jun13.tar.gz 20030612Jun12.tar.gz 
> 20030611Jun11.tar.gz 20030610Jun10.tar.gz 20030609Jun09.tar.gz 
> 20030608Jun08.tar.gz 20030607Jun07.tar.gz 20030606Jun06.tar.gz 
> 20030605Jun05.tar.gz 20030604Jun04.tar.gz 20030603Jun03.tar.gz 
> 20030602Jun02.tar.gz 20030601Jun01.tar.gz 20030531May31.tar.gz 
> 20030530May30.tar.gz 20030529May29.tar.gz 20030528May28.tar.gz 
> 20030527May27.tar.gz 20030526May26.tar.gz 20030525May25.tar.gz 
> 20030524May24.tar.gz 20030523May23.tar.gz 20030522May22.tar.gz 
> 20030521May21.tar.gz 20030520May20.tar.gz 20030519May19.tar.gz 
> 20030518May18.tar.gz 20030517May17.tar.gz 20030516May16.tar.gz 
> 20030515May15.tar.gz 20030514May14.tar.gz 20030513May13.tar.gz 
> 20030512May12.tar.gz 20030511May11.tar.gz 20030510May10.tar.gz 
> 20030509May09.tar.gz 20030508May08.tar.gz 20030507May07.tar.gz 
> 20030506May06.tar.gz 20030505May05.tar.gz 20030504May04.tar.gz 
> 20030503May03.tar.gz 20030426Apr26.tar.gz 20030419Apr19.tar.gz 
> 20030412Apr12.tar.gz 20030405Apr05.tar.gz 20030329Mar29.tar.gz 
> 20030322Mar22.tar.gz 20030315Mar15.tar.gz 20030308Mar08.tar.gz 
> 20030301Mar01.tar.gz 20030222Feb22.tar.gz 20030215Feb15.tar.gz 
> 20030208Feb08.tar.gz 20030205Feb05.tar.gz
> 
> I want to cut the first two file names from the list ... To my way of 
> thinking this should be easy ...

So you mean the first two files from each triple?
That's not what your "ls -r --format=single-column" is going to give 
you, I'm afraid.

> cut -d' ' -f2 $directory

Notwithstanding what I've just said, I'd do the following instead of 
that line:

echo $directory | cut -d' ' -f2

> The xterm goes nuts and ends up in hyroglyphics ! At a guess I would say 
> that the white space between .gz & 200... may not be space but may have 
> a different ascii value. I have not found a utility to display raw ASCII 
> for a file yet to check this out.

No idea, sorry.  Have you any reason to believe that the filenames have 
wierd characters in them?

> I am a relative begginer at learning bash ...

Don't worry - there's a definate "ah HA" point when it clicks :-)

HTH,
  jc


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



Re: Plw

2003-06-16 Thread Jonathan Matthews
On Mon, Jun 16, 2003 at 12:50:36PM -0700, frosty frees wrote:
>Hi there, u wont know me, but im wondering if you can take five minutes
>out and help me out.
[snip]

Preaching to the converted, I guess, but I strongly suspect this to be 
email-address gathering spam.  Reply off-list at your own risk.

  jc


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



Re: Networked sound - any ideas?

2003-06-16 Thread Jonathan Matthews
On Mon, Jun 16, 2003 at 12:32:25PM -0600, Jamin W. Collins wrote:
> On Mon, Jun 16, 2003 at 07:58:21PM +0200, Andreas Schulz wrote:
> > what's about setting up a sound server (streaming )on each machine,
> > and the one with the hifi-plug joins the streams ??
> 
> Any suggestion on the package(s) to use for such a solution?

Speaking as the OP - seconded!  Are you talking icecast, or something 
like that?

The whole idea (for me, anyway) of running a sound server on the hifi 
machine is that I can offload some of the processing overhead onto the 
server machine.  The clients are 550/600/700Mhz boxes, so I'm 
trying to leave them as free as possible.  Wouldn't running something 
like an icecast server on each client (so to speak) box defeat this aim?  
Yes - I know I didn't mention this in the OP :-P

Also, I 'spose should mention that, while I /like/ the Esd idea of 
wrapping up /dev/dsp for all child processes of a specific 
early-init-time task so that all attempts to access /dev/dsp 
automatically use Esd without knowing it , I have heard 
that it can be a performance bottleneck if you have lots of processes.  
Has anyone any experience of this or have I been misinformed?

Cheers!
  jc


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



Networked sound - any ideas?

2003-06-16 Thread Jonathan Matthews
Hi all.

I've got a few machines on the internal LAN that I'd like to network the 
sound on.

Only one of them is connected to the hi-fi, but they all have sound 
cards in.

I've had a look at Esound and ARTS, but never had any luck with 
implementing a system-wide solution that my non-techie partner can "just 
use" by changing the hi-fi amp input selector to aux and firing up xmms.

So - does anyone have any ideas and/or suggestions and/or experience 
with this sort of thing?

Any help much appreciated, but if we're talking preferences, then I'd 
like it to be multi-user safe so that when two clients use it then it 
mixes the sound OR drops one silently on the floor - no "force the 
second client to hang until we can get a lock" problems.

And finally, if it were possible to keep traffic low, that'd be nice. 
None of the clients really has the horse-power to encode high-quality 
oggs in realtime, but I imagine that there's a "just try to /halve/ the 
bandwidth - don't work /too/ hard" option out there somewhere ...

Anything, anyone?

Cheers!
  jc


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



Re: Problem with sqwebmail login (repost)

2003-06-15 Thread Jonathan Matthews
On Sun, Jun 15, 2003 at 02:49:58PM +0200, Sasa Babic wrote:
> /* Sorry if this is double post. I'm not sure if it got to the list (seems
>  * not). */
> 
> Debian stable & sqwebmail.
> 
> I must be doing something wrong, because I'm not able to authenticate trough
> sqwebmail interface. Searched through Google already, but of no avail.
> 
> /var/log/syslog:
> Jun 15 14:08:47 hygia webmail: authdaemon: s_connect() failed: Connection refused
[snip]
>
> Still, no success with login. What should I look for?

Total guess - /etc/hosts.{allow,deny}?

HTH,
  jc


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



Strange iptables behaviour (success/failure depends on presence of "harmless" logging line)

2003-06-03 Thread Jonathan Matthews
[ SUMMARY: Why does adding a "harmless" logging line to my iptables 
script let traffic pass (the desired behaviour) that is otherwise 
stopped? ]

I'm having problems doing port forwarding through my old 486/25sx NAT 
box here.  The only reason I mention its spec/age is that I'm having 
difficulty seeing what the issue is if it isn't a timing one.

I've attached my firewall script.  Any general or non-related comments 
are welcome, but the specific issue I have is that (after adding some 
forwarding lines to enable me to bypass the rather nasty "it's for 
performance reasons, not for security" http proxy at work so that I can 
connect to my home ssh server) the success or failure of the extra 
iptables filters seems to depend on whether I have the following line 
commented out or not:

$IT --append drop-and-log --jump LOG --log-level info --log-prefix "Firewall: "

where IT=/sbin/iptables, of course.

When it's commented out, all external traffic (e.g. pinging 
www.google.com) doesn't return, but when it's active the traffic passes 
fine.  As it should.

The four lines (1 logging one, as above, and 3 "forward port 443 through 
into the lan" ones) are marked with # comments immediately before 
them for your ease of identification.  I've included the whole file 
(it's only 3kb) because something this strange probably means I've 
fscked up somewhere /else/.

Can anyone throw me a fricking clue - PLEASE?

Cheers!
  jc

PS Yes, I realise that I don't have to have the internal server running 
on port 443, but it's late and I've run out of coffee ...
#!/bin/bash
#
# your system's details go here
IT="/sbin/iptables"

INTIP="192.168.0.1"
INTIFACE="eth0"
INTNET="192.168.0.0/24"
EXTIP="$3"
EXTIFACE="$2"

DNS_SERVERS=""

# what policy shall we follow when we've run out of ideas?
POL="drop-and-log"

# tell the kernel what we're going to be doing
#echo "1" > /proc/sys/net/ipv4/ip_always_defrag
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
echo "1" > /proc/sys/net/ipv4/conf/$EXTIFACE/rp_filter
echo "1" > /proc/sys/net/ipv4/conf/$INTIFACE/rp_filter

# set all chains to DROP - we'll never reach these ordinarily,
# but they'll be useful when packets coming in while this
# script is running, and the rules aren't all in place
$IT --policy OUTPUT  DROP
$IT --policy INPUT   DROP
$IT --policy FORWARD DROP

# flush all chains, all tables
$IT --table filter --flush
$IT --table nat--flush

# delete user chains
$IT --delete-chain

# create new chains
$IT --new-chain drop-and-log
$IT --new-chain int-in
$IT --new-chain int-out
$IT --new-chain ext-in
$IT --new-chain ext-out

# start adding rules
# drop-and-log chain

# LOSE THE "#" AT THE START OF THE NEXT LINE, AND EVERYTHING WORKS 
# FINE!!!

#$IT --append drop-and-log --jump LOG --log-level info --log-prefix "Firewall: "
$IT --append drop-and-log --jump DROP

# input chain
$IT --append INPUT --jump ext-in --in-interface $EXTIFACE
$IT --append INPUT --jump int-in --in-interface $INTIFACE
$IT --append INPUT --jump ACCEPT --in-interface lo
$IT --append INPUT --jump $POL

# output chain
$IT --append OUTPUT --jump ext-out --out-interface $EXTIFACE
$IT --append OUTPUT --jump int-out --out-interface $INTIFACE
$IT --append OUTPUT --jump ACCEPT  --out-interface lo
$IT --append OUTPUT --jump $POL

# forward chain
$IT --append FORWARD --jump ACCEPT --in-interface $EXTIFACE --out-interface $INTIFACE 
--match state --state ESTABLISHED,RELATED
$IT --append FORWARD --jump ACCEPT --in-interface $INTIFACE --out-interface $EXTIFACE


# LINE ADDED #1

$IT --append FORWARD --jump ACCEPT --in-interface $EXTIFACE --out-interface $INTIFACE 
--protocol TCP --destination-port 443 --match state --state NEW,ESTABLISHED,RELATED
$IT --append FORWARD --jump $POL

# ext-in chain

#for PROTO in UDP TCP
#do
# for IP in $DNS_SERVERS
# do
#  $IT --append ext-in --jump ACCEPT --protocol $PROTO --source $IP --destination 
$EXTIP --destination-port domain
# done
#done
$IT --append ext-in --jump ACCEPT --match state --state ESTABLISHED,RELATED


# LINE ADDED #2

# accept connections to the ssh server running internally
$IT --append ext-in --jump ACCEPT --protocol TCP --destination-port 443

$IT --append ext-in --jump $POL

# ext-out

$IT --append ext-out --jump ACCEPT --source $EXTIP --destination ! $INTNET
$IT --append ext-out --jump $POL

# int-in

# nasty hack to firewall off di's laptop,
# except for routing to the 'net.
$IT --append int-in --jump $POL   --source 192.168.0.129 --destination $INTNET

# standard int-in chain
$IT --append int-in --jump ACCEPT --source $INTNET
$IT --append int-in --jump $POL

# int-out

$IT --append int-out --jump ACCEPT --destination $INTNET
$IT --append int-out --jump $POL

# masquerade stuff going out on the external interface
$IT --table nat --append POSTROUTING --jump MASQUERADE --out-interface $EXTIFACE


# LINE ADDED #3

# forward traffic to bigdaddy
$IT --table nat --append PREROUTING --jump DNAT --protocol TCP --destination $EXTIP 
--destination-port 443 

Re: default run level

2003-04-06 Thread Jonathan Matthews
On Sun, Apr 06, 2003 at 07:20:12AM +0500, Ramsay D. Seielstad, KC2GMW wrote:
>   Timing is everything ... after several months with the basic, nothing-X
> installed, I finally got around to adding sound and Xfree86.  I also ended
> up rebooting and rather than the usual text consoles for login got the X
> login screen.
> 
>   I was going to post asking how to get rid of X unless I deliberately 
> started X, but rather than trying to remove the automatic start up I think
> I'll use this solution for a while.

# apt-get --purge remove xdm gdm kdm

>   Two items I'm not terribly clear about though - if I  from
> X into a text console, am I simply suspending X?  And, can I return to X
> when I'm done with my text console session or do I need to stop & restart X?

Just return to it.  It's still running there in the background - you're 
just not looking at it :-)

Some graphic cards have a problem with this, evidenced by them 
displaying a blank screen when you change away from your X session and 
back again.  I solved this by upgrading to X4.2.  Before solving it, I 
just only started X when I needed a GUI, and closed it down when I'd 
finished.

HTH,
  jc


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



Re: Security Questions

2003-04-06 Thread Jonathan Matthews
On Sun, Apr 06, 2003 at 09:09:47AM -0500, Thomas H. George,,, wrote:
> I have read Security-Quickstart-HOWTO.
> 
> I believe my home network has been compromised (my daughter received 
> returned emails she neversent) and plan to take drastic action.  The 
> network consists of DSL modem, a wireless router and four computers.  I 
> have no concerns about the family members and the houses in the 
> neighborhood are widely separated so it is very unlikely that the 
> wireless connection has been used by outsiders.  The DSL link to the 
> internet is my concern.  Here are my quesions:
> 
> 1.  How to erase hard drives?  I plan to pull one computer off line and 
> reinstall Debian Woody and Windows from CD's (Regretably I still need 
> Windows for a few applications).  Is reinstallation enough or must, and 
> can, the hard drives be wiped clean of any residual programs?

Using Debian's installation program you can zero out all partitions 
easily (skipping, say, existing /home partitions ) and reinstall what 
you need on them.  I don't believe that you need to do a low-level wipe 
of the disk.  If you boot from CD 1, then even code/a virus in the 
boot sector of the disk won't be executed.

> 2.  What is the best Firewall?  I have an old Compaq 486 machine with no 
> math coprocessor.  I assume I can install two ethernet cards (I believe 
> it has two PCI slots, must look though), load Woody, set up iptables and 
> a sniffer and place it between the DSL modem and the wireless router.   
> When I am ready to put this firewall in place I have all the computers 
> off line.  I will bring up the one that has its operating systems and 
> applications reinstsalled from CD's and download all the security 
> updates from Debian and Microsoft.  The procedure can then be repeated 
> for the other computers.

My firewall here:
Dell 486sx/25Mhz, 1.2GB disk, 2 ISA NICs - one to the hub, one to my 
cable modem.  PCI would be better, but if your f/w is only used as the 
router between inside and out, then you're unlikely to max out the ISA 
bus.  I don't on my 600kbps connection.

> 3.  DHCP or static addresses?  I have been using static addresses.  I 
> believe I have seen in the references that it is possible to set the 
> wireless router to receive and transmit to these addresses only?  If so, 
> is this the best approach?

DHCP if you'd like to have the ability to plug random PCs into the 
network and have them find it, otherwise you'll not have a problem with 
static addresses.

> 4.  How to deal with a rogue computer?  The fly in this ointment is my 
> grandson's laptop, a gift from his father (my daughter's ex-husband). 
> It came with XP Professional and I don't have the CD's to reistall it. 
> My grandson likes to go on the internet and also use our wireless 
> network to print his homework on one of the printers attached to the 
> fixed computers.  Would it work and not compromise the system if I give 
> it a static address and instruct the other computer's on the network to 
> refuse any transmissions from this address?  And could I then attach one 
> of the printers to the computer serving as the firewall and allow all 
> the computers on the network to use this printer without cmpromising the 
> system? 

Unfortunately not.

I've got this problem with my SO's Win98 laptop.  I just gave it an 
internal address that's iptable'd off by all the other machines.  It 
isn't, though, secure.  Any code that manages to execute on the XP box 
as Windows' equivalent of root (which is usually the result of the next 
exploit du jour) can just send out packets with any source address it 
likes.  Also, it can just sit there and sniff your traffic.

Without two physically distinct networks, you can't (AFAIK) really 
ensure that traffic isn't intercepted, and that traffic actually comes 
from where you think it does.  That's why you should be putting 
everything (even locally) over ssh.  That includes NFS, SMTP, whatever.  
A Bit Of A Bugger(tm), but neccessary.

> I would greatly appreciate responses to the above questions and any 
> recommendations of alternate and, or additonal steps to secure the network.
> 
> Tom George

Hope this helps!

If it's wrong, bring it back for a FULL refund ...

  jc


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



Re: startx problem

2003-04-06 Thread Jonathan Matthews
On Sun, Apr 06, 2003 at 05:08:14PM +0300, yaron wrote:
> Tran Tuan Anh wrote:
> 
> >Hi all,
> > 
> >I've just installed Debian, but cannot bring the window system up.
> >When I run startx it gives "Fatal server error: no screens found".
> > 
> >I am using Philips 107S monitor,
> >Video adapter: GeForce2 MX, 64 MB
> > 
> >Could anyone tell me how to set this up?
> > 
> >Thanks a lot!
> >Tuan Anh
> > 
> 
> Yeah, RTFM.

Useful, really useful.

Tran, try this:
man XF86Config-4

If it's more technical than you're used to - try again!
Come and ask again if you've /really/ tried to work it out.

People here aren't all as rude as the last answer you got, but they're 
not a hand-holding community - you get what you pay for :-)

Hope this helps,
  jc


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



Re: X screen shifts right !!.

2003-04-01 Thread Jonathan Matthews
On Tue, Apr 01, 2003 at 03:34:58PM +0100, Dave Restall - System Administrator wrote:
> Hi,
> 
> I'm having an irritating problem with Debian 3.0 on Intel.  I'm using
> olvwm on top of XFree86 Version 4.1.0.1.  (it is over 12 months old).
> Hardware is on board Trident Microsystems CyberBlade/i1 (rev 0).
> 
> Machine runs fine, just a standard install, nothing special.  However
> from time to time (and I suspect it's xscreensaver related) I am unable
> to move the mouse cursor to the far left of the screen (about 5%), I can
> move it to the far right, in fact it goes off the edge of the visible
> area.  Top to bottom is all fine.  I have tried resetting olvwm from
> inside the system but the only certain way to cure the problem is to
> close X _AND_ reset the box.  If you don't reset, the problem is still
> apparent when you reload olvwm.  I have worked through the problem,
> simply by moving the mouse cursor to the right of what I want to select
> and clicking.  If I am lucky and manage to catch the keyboard/mouse at
> the right time (I think this is when xscreensaver is just about to start
> a new sequence) then the cursor reverts back to its normal operation.
> 
> The best way I can think of the problem is that the 'virtual' screen has
> been offset to the right of the physical screen by about 5%.  Everything
> else remains the same, none of the applications move.
> 
> Has anybody else seen this ?  I've stfw and can't find anything.
> Unfortunately, the problem is not easily repeatable.

Used to have this myself.
Solution seems (in that doing this solved it AFAICS) to be putting the 
SWCursor line in your X config file.

Here's my compete section -

Section "Device"
Identifier  "Trident Cyberblade 7i"
Driver  "trident"
Option  "SWCursor" "on"
EndSection

HTH,
  jc


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



Re: kdm vs xdm

2003-04-01 Thread Jonathan Matthews
On Tue, Apr 01, 2003 at 11:09:08AM +0200, Mark Annandale wrote:
> Hi guys
> 
> This is probably a stupid question, but here goes.
> 
> At the moment I boot into KDE using xdm. How do I change my setup to use kdm 
> instead. I changed the line in /etc/X11/default-display-manager from xdm to 
> kdm, however this then requires a startx to boot into kde.

One way of doing this is to remove xdm.  I'm sure others will point you 
to more satisfactory methods.

# apt-get --purge install kdm xdm-

Note the "-" after "xdm" - it says to remove the package even though 
you've specified an "install" command.  The "--purge" is just there for 
tidyness - leave it out if you might reinstall xdm and want to keep its 
config files around in the interim period.

Hope this helps,
  jc


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



Re: buying a cd writer

2003-03-29 Thread Jonathan Matthews
On Sat, Mar 29, 2003 at 08:01:33PM +0100, [EMAIL PROTECTED] wrote:
[snip]
> Yes, agree, I have an old 12x lite on and a newer 40x. Works fine on 
> both windoze and debian. I'm also useing a Plextor 48x, very nice. And a 
> old Sony 12x and a Teac scsi 12x, also very nice.
> 
> I'm useing scsi emulation on everything exept for the Teac ofcourse:) . 
> The good ting about scsi emu is that when you have a burner and a cd/dvd 
> you are able to copy cd's "on the fly".

I've always wondered about this.

Is it the case (as a local PC shop assistant tried to convince me 
recently) that having the reader and burner on the same IDE interface 
means that copying CDs is faster?  As though the reader can put the data 
on the wire and the burner read it directly, without it having to go
reader -> ide bus -> cpu (or mainboard) -> ide bus -> writer.

Totally aside from this, how /do/ I copy a CD directly (in my case, 
from /dev/dvd to /dev/cdrom)?  Can I do something like

$ dd if=/dev/dvd | cdrecord -

assuming that all of cdrecord's options are set correctly in 
/etc/default?  Any caveats for audio CD versus data?

cheers,
  jc


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



Re: Limit a process's CPU usage?

2003-03-28 Thread Jonathan Matthews
On Fri, Mar 28, 2003 at 12:26:54PM +0100, Joerg Johannes wrote:
> Hi List
> 
> I'm running [EMAIL PROTECTED] on my laptop, but the near 100% CPU usage results in 
> my 
> processor fan constatly being on. Is there a way on telling [EMAIL PROTECTED] to use 
> the CPU at no more than, say 30%?
> I have already set it to nice 19, but this affects only the priority, so that 
> an other process can take over the CPU more easily, this does not reduce CPU 
> load.

I think this might fit the bill -
http://www.tls-technologies.com/CPU/cpu-main.html

Any good?

  jc


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



Re: apt-get dist-upgrade bails

2003-03-27 Thread Jonathan Matthews
On Thu, Mar 27, 2003 at 08:40:39AM -0500, Patrick Wiseman wrote:
> I decided to go to 'testing', so edited my sources.list, did 'apt-get
> update', 'apt-get dist-upgrade' which, after installing lots of packages,
> bailed with the following error:
> 
> Errors were encountered while processing:
>  /var/cache/apt/archives/gdk-imlib-dev_1.9.14-6_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> So, how badly hosed is my system, and what do I need to do to complete the
> upgrade?

FWIW, it's advised to do


apt-get update
apt-get install apt dpkg tar ( ... any others anyone?)
apt-get dist-upgrade

... rather than just a straight update; dist-upgrade.

In this case, what does /another/ apt-get dist-upgrade do?

  jc


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



name conflict: ud / ud-ldap

2003-03-27 Thread Jonathan Matthews
I've just noticed that "man ud-ldap" gives the same manpage as "man ud", 
which is also the name of the uptime daemon package and binary.

The ud-ldap manpage says that it represents the binary "ud", but I know 
from another debian box that both root and users can execute ud to get a 
summary of their highest uptimes.  Tab-completing on "ud" without the 
ud package installed expands to ud-ldap, so it's not a binary name 
conflict, just a minor glitch in the ud-ldap manpage.  I think.

Is this something that is catered for in the installation of packages, 
or is it a conflict for which I should file a bug?  If the latter, which 
package should it be under?  Neither ldap-utils nor ud have any bugs 
associated with this ...

Running mostly testing & a little unstable.

  jc


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



Re: Is my hard drive dying?

2003-03-24 Thread Jonathan Matthews
On Mon, Mar 24, 2003 at 10:16:28PM -, Andrew Pritchard wrote:
> I've been looking through the logcheck on one of my machines, and I've seen
> a lot of these types of messages:
> 
> Mar 24 17:14:51 orion kernel: hda: dma_intr: status=0x51 { DriveReady
> SeekComplete Error }
> Mar 24 17:14:51 orion kernel: hda: dma_intr: error=0x40 {
> UncorrectableError }, LBAsect=3994439, sector=63232
> Mar 24 17:14:51 orion kernel: end_request: I/O error, dev 03:01 (hda),
> sector 63232
> 
> Does this mean my drive is dying? I've not had any problems with the machine
> till now.

I'd tend to say yes - get your backups done now!

Can you tell from the logs if there was a hard start date, or did 
the errors just start to trickle in?  How often are they occuring?

  jc


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



Re: I need a little help

2003-03-17 Thread Jonathan Matthews
On Mon, Mar 17, 2003 at 04:00:43PM -0700, Didier Caamano wrote:
> Is not that I don't want to share or soimething like that, is just I have 
> some scripts that need to be part of the web page code but they compromise 
> in some ways the security  of the site and the privacy of those who are 
> part/members of the organization.
> 
> As a result, I was wondering how could I hide the code, or the part of the 
> code that I don't want my visitors to see. I see now that there is no way, 
> or at least with apache. But I still need to hide at least those path for 
> the scripts that could compromise the site.

The problem you're having is thinking that it's anything to /do/ with 
Apache - it's not!

Even if you manage to "hide" the scripts, you're still going to come 
down to a single problem: if the scripts are destined to be run on the 
client - on the user's machine, not your server - then someone /will/ 
get hold of the source to them.

So I'd suggest that the question then becomes "how can I write these 
scripts in a way that they don't compromise the security of the 
site/server/whatever?"

The simple - but totally useless - answer is "don't trust the client."

Why useless?  Well, it doesn't tell you about /how/ to do it, just 
/what/ to do.  That's all I can tell you, but I'm fairly sure it's the 
way you should be going.

Remember - if your scripts can pass back information to your servers 
from the client machine, then anyone malicious can pass back carefully 
crafted data to take advantage of your servers.  You /have/ to assume 
that this will be done so as to make sure that it has as little affect 
as possible!

> By the way, thank very much to you guys for your answers. Have a nice day.
> Didier.

  jc

[CC'd you because - I don't know why - I just get the feeling 
that perhaps you're not subscribed :-]


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



Re: Mozilla stops accepting typed input

2003-03-13 Thread Jonathan Matthews
On Thu, Mar 13, 2003 at 12:40:51PM -0800, Martin J. Hillyer wrote:
> I'm having an irritating problem with Mozilla.  After what appears to
> be a random length of time (often very short, eg, after one entry), it
> stops accepting typing in, for example, the address box, or in a
> google text input area.  I have to kill that instance and start
> another to get it to accept typed input.  Clicking on links still
> works normally.  Does anyone have any ideas?  
> 
> I've thought that perhaps I'd remove a config file and let it
> reconfigure, but I don't see any obvious rc files - 'locate mozillarc'
> only gives /etc/mozilla/mozillarc, which has only one line.  Nothing
> obvious pops out from my ~/.mozilla directory - there's a binary file
> in there called appreg, and two folders - /fonts, and
> /; the latter only has the rather mysteriously named
> folder /b3nzixf2.slt, which has lots of stuff relating to bookmarks,
> cookies, etc, but nothing seems to stand out as possibly corrupted.
> Nothing I've looked for in Google has turned up any clues, so I'm
> turning to the list...
> 
> I'm running testing, kernel 2.4.20, X 4.2.1 with an Athlon XP1500+,
> 512 MB RAM and an nVidia GeForce2/MX-400 64MB video card.  I have been
> bitten by the AMD-AGP issue, but this seems to be pretty much under
> control with the 2.4.20 kernel (it was a problem through 2.4.18).
> 
> Please hold suggestions that I use a different browser; I know that
> (and I've used various), but I would like to get this Mozilla problem
> fixed because I like its many features (popups, cookie and login
> management, eg).

Well, I think you've just found another "feature" :-)

Recent builds (can't remember how long ago it started) of Mozilla have 
included a "type-ahead" feature, roughly translating to the "find-next" 
feature in, say, lynx.  It's loaded with the same key too - "/" - and I 
haven't personally found a way of telling Mozilla (Galeon, really) 
forget that it's in type-ahead mode.

For now, I find lots of pressing of "/", , and other keys can 
flick it out of type-ahead.

HTH,
  jc


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



Re: [Possibly OT] can't I turn off message delivery?

2003-03-13 Thread Jonathan Matthews
On Thu, Mar 13, 2003 at 09:54:05AM -0800, linux learner wrote:
> > Like it says at the bottom of every message:
> > 
> > To UNSUBSCRIBE, email to
> > [EMAIL PROTECTED]
> > with a subject of "unsubscribe".
> 
> Okay *MY BAD*, it was ambiguous perhaps.
> 
> How do i turn off message delivery without losing my
> posting privilages?

Witness the occasional bit of spam getting through to the list - 
/everyone/ has posting rights, as it's not a subscribers-only list.

You can safely unsubscribe and still post here, though I believe that 
you'll miss out on the most rewarding part of being here - reading 
interesting looking threads and helping out as your knowledge grows.

HTH,
  jc


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



Re: Mouse/X

2003-03-13 Thread Jonathan Matthews
On Thu, Mar 13, 2003 at 10:06:16AM +, Olivier wrote:
> Quoting  "Paul M Foster" :
> > -- was [EMAIL PROTECTED] on Mar 12, 2003 at 10:59:50 --
> 
> > I'll give you the solution someone gave me on my system. I'm using a 
> > Trident Cyberblade i/1 video card, so YMMV.
> 
> That's quite interesting because my video card is a 
> Trident Cyberblade i/7 ...

Same here ...

> 
> > Go to your XF86Config-4 file (in /etc/X11) and find the section 
> > pertaining to your video card. Within that section, add the following:
> > 
> > Option  "SWCursor" "on"
> > 
> > What I was told is that this causes X to position the cursor, rather 
> > than the video card (which apparently gets it wrong). Naturally, restart 
> > X afterward.
> 
> I will investigate this way and test a little (since the problem
> only appears from time to time) before reporting the results.

I missed the start of this thread, but if it's "X thinks I'm clicking 
Zcm to the $LEFT_OR_RIGHT of where my mouse cursor actually is" (where 
Z=1.5 and LEFT_OR_RIGHT=left for me), then this advice is correct.

I used to see the problem at least once a day (only solution was a 
reboot, though I learned to mentally adjust the cursor position and 
carry on regardless :-) but haven't seen it at all since adding the 
SWCursor line (as detailed above) to my X config file about 1 month ago.

HTH,
  jc


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



Re: Onboard rtl8139 works in 2.2 kernel but not in 2.4 kernel, please help

2003-03-12 Thread Jonathan Matthews
On Wed, Mar 12, 2003 at 07:07:22PM +0100, PeterG wrote:
> "Jonathan Matthews" <[EMAIL PROTECTED]> schrieb im
> Newsbeitrag news:[EMAIL PROTECTED]
> > On Tue, Mar 11, 2003 at 11:07:10AM -0500, Fraser Campbell wrote:
> > > Hi,
> > [snip rtl8139 problems]
> >
> > No idea if this is feasible here, but my favourite way of solving 8139
> > problems is to put a decent nic in the box (Intel EtherExpress, Tulip,
> > LinkSys - maybe, etc.) and ignore the PoS RTL.
> >
> > Seriously - drop £20-30 on a well thought-out nic and you'll not go far
> > wrong :-)
> >
> > Sorry if that's not a possibility in this case, but it's the simplest
> > and best way to deal with it!
> >
> > Cheers,
> >   jc
> >
> Hi,
> 
> this cant´t be the solution.
> 
> I´m suffering and going crazy about this problem.
> 
> I have a 3com 3c905b!
[Please don't top-post]

I wasn't addressing the problem of the nic working in 2.2 but not 2.4 
(I've had this myself with a few RTL8139's), but the more general 
problem of using a RTL8139 at all.  Friends don't let friends use 
Realtek nics!

IIRC, the OP had a problem with which driver (rtl8139 vs. 8139too) to 
use - or if he didn't, he'd find that problem around the corner - which 
I don't think is your problem, seeing as neither driver relates to your 
card at all.

So - what problem are /you/ having?

> 
> peter

  jc


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



Re: Onboard rtl8139 works in 2.2 kernel but not in 2.4 kernel, please help

2003-03-11 Thread Jonathan Matthews
On Tue, Mar 11, 2003 at 11:07:10AM -0500, Fraser Campbell wrote:
> Hi,
[snip rtl8139 problems]

No idea if this is feasible here, but my favourite way of solving 8139  
problems is to put a decent nic in the box (Intel EtherExpress, Tulip, 
LinkSys - maybe, etc.) and ignore the PoS RTL.

Seriously - drop £20-30 on a well thought-out nic and you'll not go far 
wrong :-)

Sorry if that's not a possibility in this case, but it's the simplest 
and best way to deal with it!

Cheers,
  jc


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



Re: [newbie] Setting up network

2003-03-10 Thread Jonathan Matthews
On Tue, Mar 11, 2003 at 12:32:27AM +0200, Aryan Ameri wrote:
> Hi there:
> 
> Untill now, I only got online using a dial up connection. Now i am going to 
> dormitory, and in order to get online I have to connect to my dormitory's 
> LAN. I can setup the network using the following two commands:
> 
> ifconfig eth0 my.ip.add.ress up
> route add default gw my.gw.ip.address
> 
> but it is so frustrating to issue these commands whenever I reboot my 
> computer. I know there are ways to automate this proccess and there are 
> progrms which setup the network on each boot. But I am not able to find out 
> how. Can anyone please help?

Take a look at /etc/network/interfaces

try adding an entry like this: (don't touch the "lo" entries!)

auto eth0
iface eth0 inet static
address your.ip.add.ress
netmask your.ne.tm.ask   #probably 255.255.255.0 or 255.255.0.0
network your.net.work.address
broadcast your.broad.cast.address
gateway your.default.gate.way

and then you'll find that it comes up and down when you turn your 
computer on and off.

You can even take it up and down manually while the computer's on with
ifup eth0
and
ifdown eth0

HTH,
  jc


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



Re: Apt-get, downloading a single package

2003-03-10 Thread Jonathan Matthews
On Mon, Mar 10, 2003 at 05:31:39PM -0500, Radek Zajkowski [Deb] wrote:
> What would like a command to apt-get look like if I wanted to download a
> single package.

# apt-get install 

This might pull in some extra packages.  If you're hoping to avoid this, 
I'd suggest you don't, as apt-get only pulls in the minimum required to 
install the one packge you /actually/ asked for.

What is it you're really trying to do?

  jc


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



Re: SpamAssassin weightings - am I missing something?

2003-03-10 Thread Jonathan Matthews
On Mon, Mar 10, 2003 at 03:36:09PM -0500, Alan Shutko wrote:
> Jonathan Matthews <[EMAIL PROTECTED]> writes:
> 
> > I think we're talking at cross purposes - I meant "I find it strange 
> > that the excuses cited should be taken as reasons for the mail to be 
> > less likely to be spam", not any other reading.
> 
> Spamassassin default scores are set using a genetic algorithm[1].
> Basically, there's a large corpus of spam and non-spam, the scores
> are set at some default value, then modified by the algorithm until
> they accurately categorize the spam in the test corpus.
[snip]

Yes, Joey's already put me straight about upstream using a GA to 
determine the default weightings.  I was replying (without enoguh 
context) to someone who I'd managed to mislead with my poor grammar :-)

Cheers!
  jc


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



Re: SpamAssassin weightings - am I missing something?

2003-03-10 Thread Jonathan Matthews
On Mon, Mar 10, 2003 at 02:39:49AM -0800, Paul Johnson wrote:
> On Sun, Mar 09, 2003 at 11:31:02AM +0000, Jonathan Matthews wrote:
> > SPAM: EXCUSE_16  (-0.3 points) BODY: I wonder how many emails they sent in 
> > error...
> > SPAM: EXCUSE_14  (-0.2 points) BODY: Tells you how to stop further spam
> > 
> > It seems strange to me that these two reasons should /decrease/ the 
> > probability of the email being spam.
> 
> They do.  Hence minus points instead of adding them.

I think we're talking at cross purposes - I meant "I find it strange 
that the excuses cited should be taken as reasons for the mail to be 
less likely to be spam", not any other reading.

Were you perhaps reading it differently?

-- jc


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



Re: How to find out apt-get's reasoning

2003-03-09 Thread Jonathan Matthews
On Fri, Feb 28, 2003 at 05:34:12PM -0500, Travis Crump wrote:
> Colin Watson wrote:
> >On Fri, Feb 28, 2003 at 03:05:36PM -0500, Travis Crump wrote:
> >
> >>The more likely cause of this behavior is the "Replaces" field of 
> >>kdelibs-data.  I think apt-get will automatically try to install on 
> >>dist-upgrade any package that claims to replace an installed package. 
> >
> >
> >I really hope not. That would be a misinterpretation of Replaces, which
> >on its own simply means that some files from the named package(s) have
> >moved to the package containing the Replaces field.
> >
> >Replaces in combination with Conflicts or maybe Provides, possibly ...
> >
> 
> Well, the 'Replaces' theory sounds much more reasonable to me than the 
> 'Depends' theory.  No packages were being upgraded on OP's dist-upgrade 
> so the depends of every other package on his system must remain 
> constant.  In order for a depends to cause a new package to be 
> installed, it follows that there was a package that somehow got 
> installed with an unsatisfied 'Depends'.  I don't know how this could 
> happen without the OP knowing what was going on[ie he had been using 
> dpkg --force-depends].

It's still confusing me, as I'm getting kdelibs-data installed with a 
dist-upgrade, and removing it doesn't force any other packages out too.

The three-liner that Travis posted earlier in this thread produces no 
output (and I'm not quite sure enough of what it does to work out if  
there's a simple typo/thinko in there).

Another suggestion that came up earlier was to use aptitude, examine  
the package and then look at the "Packages which Depend on kdelibs-data" 
line.  This showed only one package (kdelibs4) which was not installed.

I've had a download.kde.org site in there prior to being able to get 
GNOME 2.2 under testing, which might have resulted in some weird 
dependancies.  I don't mind /having/ them, though, It'd just be nice to 
/see/ them!

All in all, a bit puzzling :-|
Any suggestions?  Any packaging command incantations that'll spit 
out any installed package even /mentioning/ kdelibs-data?  I've having a 
go, but am getting nowhere, fast ...

-- jc


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



[SOLVED] Re: SpamAssassin weightings - am I missing something?

2003-03-09 Thread Jonathan Matthews
On Sun, Mar 09, 2003 at 10:19:17AM -0500, Joey Hess wrote:
> Jonathan Matthews wrote:
[snip]
> > I'd just like to get some confirmation that these weightings are wrong.  
> > It's the stock install of SpamAssassin in testing, with no alterations 
> > made to the config at all.  Should I file a bug, change my own 
> > weightings or go away in shame, having made a fool of myself publicly?
> 
> The deal is that spamassassin's scores are generated using a genetic
> algorithm. They "breed" scores against a corpus of known spam and
> non-spam, starting with random scores and mutating them up or down, then
> seeing how that does and letting the winning mutations thrive. The aim
> is to get as few false positives as possible while still catching as
> much spam as possible of course. So the scores are not something
> hand-tweaked by a human. 
> 
> What happens sometimes is it seems that making a score negative reduces
> the number of false positives, while not catching any less spam, at
> least in their body of spam. And the SA guys, rightly or wrongly, trust
> their GA to get it right, and leave these negtive scores in. I have
> mixed feelings about this, but it seems to work.

Thanks Joey - I was sure there was /something/ behind it, but I had no 
idea a GA was used upstream.  Seems almost overkill, but if it works ...

Think I'll let their best guesses take precedence over mine :-)

-- jc


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



SpamAssassin weightings - am I missing something?

2003-03-09 Thread Jonathan Matthews
Quick Spamassassin question:

I've got SpamAssassin 2.43 installed, and it's working well.

However, I noticed the two lines quoted below in the altered body of 
some spam that it caught recently:

SPAM: EXCUSE_16  (-0.3 points) BODY: I wonder how many emails they sent in 
error...
SPAM: EXCUSE_14  (-0.2 points) BODY: Tells you how to stop further spam

It seems strange to me that these two reasons should /decrease/ the 
probability of the email being spam.

I know that the weightings attached to different rules are 
user-definable, so I'm not asking "how do I stop this behaviour" - I can 
easily go and redefine the weights.

I'd just like to get some confirmation that these weightings are wrong.  
It's the stock install of SpamAssassin in testing, with no alterations 
made to the config at all.  Should I file a bug, change my own 
weightings or go away in shame, having made a fool of myself publicly?

Cheers!
-- jc


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



Re: Using one mailbox at ISP for many people

2003-02-28 Thread Jonathan Matthews
On Fri, Feb 28, 2003 at 04:32:57PM +, Glyn Millington wrote:
> Jonathan Matthews <[EMAIL PROTECTED]> writes:
> 
> > Hi all
> >
> > [BRIEF SUMMARY - How do I segregate one mail stream from one mailbox 
> > at my ISP into different users locally?]
> 
> > What combination of programs do I use to get one mailbox successfully 
> > segregated when it hits my machine?  I'm using fetchmail -> exim -> 
> > procmail at the moment, but I've lurked on the procmail list long enough 
> > not to ask about using it as a MDA (or is it an MTA that it shouldn't 
> > be treated as?).
> 
> Procmail is _exactly_ what you want for this!  The package description:-
[snip]

Thaks Glyn - I've already got procmail doing list sorting, a bit of spam 
catching and so on.

I'm wondering how to get a machine-wide procmail set up so that each 
user (well, me, really - I doubt my SO'll be at that stage for a while 
:-) can have their own .procmailrc applied /after/ the mail hits the box 
and is seperated to different users.

> Have a look at man  procmail  
> procmailrc
> procmailex
> 

procmailex gives me one match for "user", and a few for "different", 
none of which seem to address this problem.

I know it's a very powerful program as I've gone through setting it up a 
few times as different hard disks have gone down (backups - I've heard 
of them ...), but the procmail list does seem flame people quite often 
for daring to ask about using procmail in this manner.  "It's not an 
MDA", apparently.

So, how do I get mail from /one/ incoming mailbox to be delivered to 
different local accounts and not have to make the account owners take 
any special precautions because of this?

Thanks!

-- jc


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



How to find out apt-get's reasoning

2003-02-28 Thread Jonathan Matthews
Having just installed the Gnome 2.2 backport, I'm trying to drop kde 
from my box totally.  Never liked the "underline the desktop icons" 
thing anyway[1] :-)

I thought I'd got it all out, but witness the following:

bigdaddy:/home/jaycee# apt-get dist-upgrade -u
[snip]
The following NEW packages will be installed:
  kdelibs-data 
The following packages have been kept back
  gnu-smalltalk imagemagick libcurl2 liblcms1 liblcms1-dev libmng-dev 
libmng1 libpng12-0 libpng12-0-dev libpng3 libwmf0.2-7
  mpeglib tetrinetx 
0 packages upgraded, 1 newly installed, 0 to remove and 13  not 
upgraded.

I'm not asking anyone to tell me why my particular mix of sources is 
doing this, I'm wondering more if there's a grep-available or grep-dctrl 
invocation that might tell me which *installed* packages *depend* on 
kdelibs-data.  Yes, I know "kdelibs & kdelibs4", but neither of them is 
installed.

Any takers?

Cheers!
jc

--

[1] Joke. JOKE!


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



Using one mailbox at ISP for many people

2003-02-28 Thread Jonathan Matthews
Hi all

[BRIEF SUMMARY - How do I segregate one mail stream from one mailbox 
at my ISP into different users locally?]

At the moment, I'm the only person using my machine.  However, having 
installed the GNOME 2.2 backport, I've finally got a desktop that I feel 
happy in sitting my SO down in front of and not worrying that she'll 
find it so confusing that she runs screaming from the room.  Yes, she's 
not the most technical of sorts, but she tries hard :-)

I'm trying to set her up using, for the sake of simplicity and general 
"nicely-integrated" reasons, balsa as her MUA.

She's been using mail.com for a web-based account for a while, but it 
sucks (slow AND featureless).  I'd like to get her up and running with 
my machine, and using my email ISP.

I receive all email to @jaycee.uklinux.net.  I'd like her to 
have a specific one at that domain.  For the benefit of any 
bottom-feeders harvesting the archives, let's say she's going to get 
[EMAIL PROTECTED] :-)

The problem is that I get only one actual physical mailbox at 
uklinux.net, and all email to @jaycee.uklinux.net gets delivered to it.  
The username it's sent to /is/ preserved in the headers, however.

What combination of programs do I use to get one mailbox successfully 
segregated when it hits my machine?  I'm using fetchmail -> exim -> 
procmail at the moment, but I've lurked on the procmail list long enough 
not to ask about using it as a MDA (or is it an MTA that it shouldn't 
be treated as?).

Any help gratefully received and appreciated.

-- jc
-- 
$ cat .me/contactdetails/home
[listmail]
$ cat .me/contactdetails/work
[listmail]


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



Re: Taking over your desktop, one box at a time

2003-02-24 Thread Jonathan Matthews
On Sun, Feb 23, 2003 at 02:08:57AM -0500, Patrick McFarland wrote:
> This is probably offtopic for this list, but can everyone download 
> http://freshmeat.net/projects/debian_gel_logo/ (Debian Gel/Aqua Logo 
> Background) and tell me what they think of it?

heh - have had it as my b/g for a week or so now.  V nice.

Only concern would be to perhaps have "DEBIAN" centred or L-or-R 
aligned, as opposed to "almost left aligned".

Alternatively (and this would get my vote, cause of where my fluxbox 
slit is located - top left, vertical), have the text going from the top 
right downwards -  hella cool.

cheers,
-- jc

-- 
$ cat .me/contactdetails/home
[listmail]
$ cat .me/contactdetails/work
[listmail]


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



Re: Odd 'which' behaviour - not finding shell script [SOLVED]

2003-02-22 Thread Jonathan Matthews
On Fri, Feb 21, 2003 at 10:53:27AM -0800, Craig Dickson wrote:
> nate wrote:
> 
> > Jonathan Matthews said:
> > > Here's a transcript from a shell session.
> > 
> > > [EMAIL PROTECTED]:~$ echo $PATH
> > > ~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
> > > [EMAIL PROTECTED]:~$ ls ~/bin
> > 
> > just a guess but I say your problem is there. The shell did not
> > expand the ~ when setting the path.
> 
> Perhaps it was in quotes?

Perhaps both:

It /was/ in quotes in .bash_profile (I'm sure I'm using the stock potato 
.bash_profile), and also had ~/bin rather than $HOME/bin.

I've corrected both, though I'm slightly worried that the quotes were 
there for a reason - perhaps to cater for spaces in directory names?

Obviously not a great idea, but would 'PATH="$HOME/bin:$PATH"' do this?
Would it let you have, say, "$HOME/binary files" in there without 
barfing?

Anyway, for all reasonable paths, it's working.

For the list archives, changing the line

PATH="~/bin:${PATH}"
to
PATH="$HOME/bin:${PATH}"

seems to work.
If you have the double quotes in there is up to you - see any replies to 
this post to get the opinion of people who know more than I do.

-- jc

-- 
$ cat .me/contactdetails/home
[listmail]
$ cat .me/contactdetails/work
[listmail]


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



Re: Odd "which" behaviour - not finding shell script

2003-02-21 Thread Jonathan Matthews
On Fri, Feb 21, 2003 at 05:50:03PM +, Jonathan Matthews wrote:
[snip] 
> According to which's manpage, it examines all the directories in
> $PATH, and doesn't reply on a previously generated index.

s/reply/rely/

   jc


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




Odd "which" behaviour - not finding shell script

2003-02-21 Thread Jonathan Matthews
Here's a transcript from a shell session.

Can anyone explain why the "which" line doesn't find the script
when both tab-completion and running it do?

jaycee@bigdaddy:~$ echo $PATH
~/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
jaycee@bigdaddy:~$ ls ~/bin
firewall-up.ipchains  jc.disconnect  jc.mail.newplan oggbitrateaverage  x
firewall-up.iptables  jc.getwww  jc.ssh-agent-start  old
jc.background jc.hdparm  jc.template run.and.log
jc.connectjc.mailogg2cd  run.on.kanyon
jaycee@bigdaddy:~$ ls -l ~/bin/ogg2cd
-rwxr-xr-x1 jaycee   jaycee114 2003-02-21 17:04 /home/jaycee/bin/ogg2cd
jaycee@bigdaddy:~$ which ogg2cd
jaycee@bigdaddy:~$ #GRR

According to which's manpage, it examines all the directories in
$PATH, and doesn't reply on a previously generated index.

So - what gives?

TIA,
   jc

-- 
$ cat .me/contactdetails/home
 [listmail - contact removed]
$ cat .me/contactdetails/work
 [listmail - contact removed]


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




PCI graphics cards recommendations

2003-02-14 Thread Jonathan Matthews
Hi everyone.

Can anyone recommend/warn me off any PCI graphics cards that 
are still available at retail?

I've googled a bit, but can't find any info written in the last year or 
so, or any relevant to X4.x

FWIW I'm running X4.2, with a 15" CRT and a K6-III/550Mhz.
I'd be looking to try Quake I/II/III (or as far as the K6 will let me
go), and general desktoppy stuff.  I'd like to have the facility to run 
in as high a resolution as possible at a reasonable refresh rate (where 
reasonable is, I spose, >65Hz).

Thanks in advance,

  jc

-- 
[EMAIL PROTECTED]


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




Re: X whacking monitor

2003-02-03 Thread Jonathan Matthews
On Mon, Feb 03, 2003 at 12:51:53PM -0500, Mike M wrote:
[snip]
> This is also known as the Trident 9880 chip.  It is on a Jaton 107AGP card.
[snip]
> I might be swapping out the Trident video cards for something else if the 
> problems persist.
> Mike M.

Mike -

I think the prevailing wisdom when I enquired about this chip was "get
another card"!  It's a joke of a chip, with the only advantages being
hardware functions that aren't (yet) available in linux.  Something
like video units or 3d something-or-others that are just dead silicon
under linux.

Yes, it works.  Just not very well.

If it wasn't soldered onto the d*mn motherboard, I'd have it straight
out of there.  If you have the option, because it's on a card, just
dump it and get something decent.

As far as I recall, it was being touted for mobile use because of
integrated video stuff and low power - not differentiators that you're
/really/ looking for in a desktop system, so $DEITY only knows why
it's on my mobo!  Grr.

-- jc


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




[SOLVED] Re: muttrc parse error - why??

2002-11-16 Thread Jonathan Matthews
On Fri, Nov 15, 2002 at 05:17:20PM +, Jonathan Matthews wrote:
> Hi all -
> 
> I'm having a problem with my .muttrc config.
> 
> When starting mutt, it barfs over the line
> send-hook "~b [EMAIL PROTECTED]" my_hdr From: Name Surname <[EMAIL PROTECTED]>
> 
> complaining 
> "b: not supported in this mode".
> 
> What's wrong with it?
> Can I not use ~ notation in a send hook?
> 
> The online mutt manual gives the example of
> send-hook ~[EMAIL PROTECTED] my_hdr from: [EMAIL PROTECTED]
> which would suggest otherwise ...

As the manual says, when evaluating one of send-hook, save-hook, 
fcc-hook or message-hook:

"Mutt allows the use of the search pattern language for matching 
messages in hook commands. This works in exactly the same way as it 
would when limiting or searching the mailbox, except that you are 
restricted to those operators which match information mutt extracts from 
the header of the message (i.e. from, to, cc, date, subject, etc.)."

I was trying to match on stuff that wasn't just in the header.

Thanks to those who made suggestions.

-- jc

-- 
[EMAIL PROTECTED]


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




Re: muttrc parse error - why??

2002-11-15 Thread Jonathan Matthews
On Fri, Nov 15, 2002 at 08:08:57PM +0100, Jens Kubieziel wrote:
> On Fri, Nov 15, 2002 at 05:17:20PM +0000, Jonathan Matthews wrote:
> > When starting mutt, it barfs over the line
> > send-hook   "~b [EMAIL PROTECTED]" my_hdr From: Name Surname <[EMAIL PROTECTED]>
> ^  ^ ^
> Delete the '"' and the Space.

Have done.  Same error occurs.
The line is now
send-hook ~b [EMAIL PROTECTED] my_hdr From: name surname <[EMAIL PROTECTED]>
and mutt tells me that
b: not supported in this mode.  Grr.

> > The online mutt manual gives the example of
> > send-hook ~[EMAIL PROTECTED] my_hdr from: [EMAIL PROTECTED]
> > which would suggest otherwise ...
> 
> Take a closer look at manual. ;-)

Believe you me, I've spent many long hours at work looking at the manual 
- that's why I've posted here, since I simply can't see what's wrong 
with it!

Has anyone any ideas how to say to mutt

"If I'm writing a message where [EMAIL PROTECTED] appears /anywhere/ 
in the body or headers, then set the From: line to [EMAIL PROTECTED]"?

-- jc

PS Is it just me, or has the mutt-users mailing list dropped off the 
face of the earth in the last few weeks?

-- 
[EMAIL PROTECTED]


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




Re: Proposal - non-free software removal

2002-11-15 Thread Jonathan Matthews
On Fri, Nov 15, 2002 at 08:50:33AM -0800, Steve Juranich wrote:
> On Fri, 15 Nov 2002 10:42:14 -0200, Klaus Imgrund wrote:
> 
> > why do people that don't want non-free .deb's just remove it from
> > their sources line?
> 
> Amen.
> 
> Where is the original of this posting?  All I can find on the
> debian-user archives is the two responses.
[snip]

-vote, about a week ago, or so.

-- jc

-- 
[EMAIL PROTECTED]


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




muttrc parse error - why??

2002-11-15 Thread Jonathan Matthews
Hi all -

I'm having a problem with my .muttrc config.

When starting mutt, it barfs over the line
send-hook   "~b [EMAIL PROTECTED]" my_hdr From: Name Surname <[EMAIL PROTECTED]>

complaining 
"b: not supported in this mode".

What's wrong with it?
Can I not use ~ notation in a send hook?

The online mutt manual gives the example of
send-hook ~[EMAIL PROTECTED] my_hdr from: [EMAIL PROTECTED]
which would suggest otherwise ...

Cheers for any help!

-- jc

-- 
[EMAIL PROTECTED]


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




Preload Openoffice.org at X startup

2002-11-13 Thread Jonathan Matthews
Hi all -

anyone got any hints on preloading Openoffice.org when X starts, sort of 
like the galeon -s option ... ?

It's great, n'all, but a bit of a pig to start on my 550 K6-3!

Failing any built-in, background server type functionality, would
"cat  > /dev/null &" in my .xinitrc be of any
/real/ use?

Thanks for any suggestions!

-- jc
-- 
[EMAIL PROTECTED]


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




Re: [OT] Moving away from KDE to what?

2002-11-12 Thread Jonathan Matthews
On Tue, Nov 12, 2002 at 10:26:25PM +0100, Alex Polite wrote:
> 
> > Here are the requirements:
> > 
> > 1) Must be able to "maximize window to available space" a la
> >enlightenment.
> > 2) Must support multiple sequence key bindings a la emacs.
> > 3) Must be fast.
> > 4) Must be faster.
> 
> Thanks everyone for all the input.
> 
> I've installed blackbox. I doesn't meet requirements 1 and 2, contrary
> to what someone in the thread said, but it does meet 3. I'll stay
> with it for a couple of weeks.

1) Try "Full Maximisation" or "Maximise over slit" in the config menu.  
   Can you describe a situation that would explain this better, if I've 
   misunderstood?

Try fluxbox, for a different take on the blackbox idea.  I prefer it 
solely as it has a a better name.

-- jc

-- 
[EMAIL PROTECTED]


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




[OT] Practical differences between Netgear models

2002-11-12 Thread Jonathan Matthews
Evening all -

I'm looking to take my home network up to 100Mbps,
and I wondered if anyone could give me a clue
as to the difference between a couple of netgear
models that I've seen advertised at a fairly decent
price (~35UKP+tax, I think)

I'm looking at the FS105 & FS108, versus the
FS608.

The datasheets just don't give me much, except the
number of ports and other /physical/ attributes.

Are there any real, practical differences between these
models that I should be aware of?  The model I get will
not be public facing in any way, so I believe that security,
e.g. ARP spoofing, won't really be an issue.  Having said that,
you probably know more than I do ... in fact, I'd bet on
it :-)

Many thanks,
-- jc

PS how /do/ you spell "won't"?  "wont"?  Grr.

-- 
[EMAIL PROTECTED] - use brain to mail


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




Re: address book for mutt

2002-11-08 Thread Jonathan Matthews
On Fri, Nov 08, 2002 at 09:08:02AM -0500, Matthew Weier O'Phinney wrote:
> -- Jonathan Matthews <[EMAIL PROTECTED]> wrote
> (on Friday, 08 November 2002, 01:40 PM +):
> > Look at abook for a simple addressbook written for mutt.  Its manpage 
> > says that it can use the --convert option to import different formats, 
> > including csv files.
> > 
> > It's not graphical, flash, fancy, and doesn't use the mouse, but it 
> > works - sort of like mutt, in that respect :-)
> > 
> > Also, take a look at the lbdb package - it might be of interest to you.  
> > I don't use it personally (yet), but have heard good things about it 
> > from others on this list.
>
> I have my addresses on a Palm, and use jpilot to sync to my debian box.
> I use lbdb to grab that database, and thus I can use it with mutt. 
> 
> lbdb has quite a number of backends, and can be used very easily with
> mutt. If you find an address book program you like, chances are you'll
> be able to get at the data with lbdb.
> 
> If you go with abook, mutt can directly query it with patches that are
> included in the debian package -- in that case, you wouldn't need lbdb.

I understood that mutt didn't need any patches to talk to abook - it's 
just a setting in the muttrc, and away you go - or is  the "it" in 
"directly query it" your palm, and not abook?

lbdb does look nice, tho, for when I actually get my ldap server up and 
running :-)

Anyone got any nice pointers to locally serving ldap on a small scale?  
Went to the bookshop the other day, and there were maybe 15 published 
books from the last 5 years to date with "ldap" in the title!  None by 
O'Reilly, either :-(

cheers,
-- jc

-- 
It may stop, it may not.  And stop calling me "dj".


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




Re: address book for mutt

2002-11-08 Thread Jonathan Matthews
On Fri, Nov 08, 2002 at 05:34:47PM +0530, Sandip P Deshmukh wrote:
> On Fri, Nov 08, 2002 at 09:52:11PM +1100, Sam Varghese wrote:
> > On Fri, Nov 08, 2002 at 03:51:28PM +0530, Sandip P Deshmukh spake thus:
> > 
> > > i have recently migrated from windows to linux. currently i use woody 3.0.
> > > in windows i used outlook and one of the important portions i will like to carry 
>over
> > > in linux is the address book. i have converted ms outlook addressbook into csv 
>format. it
> > > has several headings - first name, last name, work tel, home tel, etc.
> > > i want to know is there anyway i can port it into linux and integrate it with 
>mutt?
> > > if not, can someone suggest a solution?
> > 
> > If it's Outlook 97, you can use the script available here:
> > http://www.tuxedo.org/~esr/lookout/
> 
> sad - it is outlook 2000. but as i said, i already have the data in csv format - 
>fairly
> universal?
> 
> and how do i integrate it with mutt?

Look at abook for a simple addressbook written for mutt.  Its manpage 
says that it can use the --convert option to import different formats, 
including csv files.

It's not graphical, flash, fancy, and doesn't use the mouse, but it 
works - sort of like mutt, in that respect :-)

Also, take a look at the lbdb package - it might be of interest to you.  
I don't use it personally (yet), but have heard good things about it 
from others on this list.

Hope this helps,
-- jc

-- 
It may stop, it may not.  And stop calling me "dj".


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




Re: Playing sound over the network

2002-10-28 Thread Jonathan Matthews
On Mon, Oct 28, 2002 at 09:32:55PM +0100, Michael Schulze wrote:
> > So, is there a way of getting /dev/dsp (or whatever) to be forwarded 
> > over the network, so that I can play stuff locally with apps not 
> > having to know that any jiggery-pokery is going on?
> 
> i once used esound (Enlightened Sound Daemon) to forward sound over the
> network. i.e. xmms comes with a output plugin for esound.

Thanks Michael, but I'm really looking for something not tied into a 
gui, not needing any userspace programs to even know it's there.  Maybe 
a kernel patch, or summat.

Don't mind if the server box is running something hefty, but I'd like to 
keep things tight and lean on the client box ...

Any takers?

-- jc

It may stop, it may not.  And stop calling me "dj".


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




Playing sound over the network

2002-10-28 Thread Jonathan Matthews
Hi list -

I've got one server/music box attached to my hifi, networked to my main 
work box.

My main box /has/ got a soundcard attached, but I'd really like to avoid 
having to compile soundcard support in to the kernel.  Also, it's got 
on-board AC97, which I gather is a PoS.

So, is there a way of getting /dev/dsp (or whatever) to be forwarded 
over the network, so that I can play stuff locally with apps not 
having to know that any jiggery-pokery is going on?

It's a 10Mbps network, so bandwidth isn't /really/ a problem.  The 
lower, the better, of course ...

Any suggestions?  Thanks in advance!

cheers,
-- jc

-- 
It may stop, it may not.  And stop calling me "dj".


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




Re: phpgroupware and php4

2002-06-25 Thread Jonathan Matthews
On Tue, Jun 25, 2002 at 03:17:57PM -0400, Erik Mathisen wrote:
> Try apt-get install  4>
> 
> I think I tried this a while back and it worked.
> 
> Erik
> 
> -- 
> Erik Mathisen <[EMAIL PROTECTED]>
> http://erik.mathisen.us

>  
> On Tue, Jun 25, 2002 at 08:15:03PM +, Jonathan Matthews wrote:
> > Does anyone know how to convince an "apt-get install phpgroupware"
> > not to remove php4, php4-pgsql and phppgadmin and install them with
> > php3 based packages?
> > 
> > Here's the apt-get log:
> > 
> > Reading Package Lists...
> > Building Dependency Tree...
> > The following extra packages will be installed:
> >   libc-client2001 libiodbc2 php3 php3-cgi php3-cgi-ldap php3-imap php3-pgsql
> >   phpgroupware-admin phpgroupware-api phpgroupware-core
> >   phpgroupware-preferences phpgroupware-setup slapd 
> > The following packages will be REMOVED:
> >   php4 php4-pgsql phppgadmin 
> > The following NEW packages will be installed:
> >   libc-client2001 libiodbc2 php3 php3-cgi php3-cgi-ldap php3-imap php3-pgsql
> >   phpgroupware phpgroupware-admin phpgroupware-api phpgroupware-core
> >   phpgroupware-preferences phpgroupware-setup slapd 
> > 0 packages upgraded, 14 newly installed, 3 to remove and 0  not upgraded.
> > Need to get 4639kB of archives. After unpacking 13.1MB will be used.
> > Do you want to continue? [Y/n] Abort.
> > 
> > Can I have phpgroupware and php4 running happily together?
> > 
> > cheers,
> > jc

Thanks Erik - that's perfect :)
Some apt-get "this package isn't available, but here's a nice one
instead" cufuffle, but all was fine after doing what apt-get asked.

Cheers!
jc

-- 
It may stop, it may not.  And stop calling me "dj".


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



phpgroupware and php4

2002-06-25 Thread Jonathan Matthews
Does anyone know how to convince an "apt-get install phpgroupware"
not to remove php4, php4-pgsql and phppgadmin and install them with
php3 based packages?

Here's the apt-get log:

Reading Package Lists...
Building Dependency Tree...
The following extra packages will be installed:
  libc-client2001 libiodbc2 php3 php3-cgi php3-cgi-ldap php3-imap php3-pgsql
  phpgroupware-admin phpgroupware-api phpgroupware-core
  phpgroupware-preferences phpgroupware-setup slapd 
The following packages will be REMOVED:
  php4 php4-pgsql phppgadmin 
The following NEW packages will be installed:
  libc-client2001 libiodbc2 php3 php3-cgi php3-cgi-ldap php3-imap php3-pgsql
  phpgroupware phpgroupware-admin phpgroupware-api phpgroupware-core
  phpgroupware-preferences phpgroupware-setup slapd 
0 packages upgraded, 14 newly installed, 3 to remove and 0  not upgraded.
Need to get 4639kB of archives. After unpacking 13.1MB will be used.
Do you want to continue? [Y/n] Abort.

Can I have phpgroupware and php4 running happily together?

cheers,
jc
-- 
It may stop, it may not.  And stop calling me "dj".


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



Re: howto kill old screen sessions?

2002-06-11 Thread Jonathan Matthews
On Tue, Jun 11, 2002 at 02:04:07PM -0700, justin cunningham wrote:
> Hello, who shows some old screen sessions but ps aux doesn't show the
> associated pts/x so I can't simply kill them.  Screendump will show the
> output but depends on the session name for further use.  I know I can
> reboot but there must be a better way.  Please reply to the email
> address since I'm not currently on the list.  thank you, Justin

Justin - 

Try screen -list to show you all the screens that are on the system.
Ones that say "Detatched" need you to do "screen -r ", but
ones that are still "Attached" need a "screen -rd ", where
 is related to the information you find on each line (Can't
remember it offhand).

HTH,
jc

-- 
It may stop, it may not.  And stop calling me "dj".


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



Lite-ON LTR-32123S cdrw - any successes?

2002-06-11 Thread Jonathan Matthews
Hi - just wondering if anyone has had any luck using a Lite-ON
LTR-32123S CD rewriter. 

I've only found one reference to it in a linux context, and that was
on linux-kernel - where no-one replied to a mail asking about how to
deal with some errors when booting/using it.  Sorry - not online as I
write this, but it's the /only/ mail at MARC with "LTR-32123S" in the
body :)

I'd like to get this, as it seems to have good performance at a damn
good price, but only if it can write nicely under linux.

TIA,
jc

-- 
It may stop, it may not.  And stop calling me "dj".


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



Re: Problem: wall-clock jumping like Mexican bean

2002-06-10 Thread Jonathan Matthews
On Mon, Jun 10, 2002 at 11:45:22PM +, Jonathan Matthews wrote:
> On Mon, Jun 10, 2002 at 11:43:17PM +0000, Jonathan Matthews wrote:
> > On Mon, Jun 10, 2002 at 03:46:45PM -0500, Rich Puhek wrote:
> > > 
> > > 
> > > Jonathan Matthews wrote:
> > > > 
> > > > I think it's possibly a dodgy RTC on the motherboard.  I saw
> > > > this exact complaint come up on linux-kernel a while ago, and
> > > > someone mentioned that it was specific to a certain brand
> > > > of mobo.
> > > > 
> > > > No URLs for you, I'm afraid, but if you google a bit, I'm sure
> > > > it'll appear.
> > > > 
> > > 
> > > But I thought that the RTC was ignored after boot? If so, a bad RTC
> > > would explain a clock that comes up bad on boot every now and then, but
> > > not why a running system would suddenly shift time.
> > 
> > I might be using the wrong terminology - I'm just remembering
> > the symptoms from the l-k thread.
> > 
> > Here's what I found from l-k.  Not the thread I was 
> > originally thinking of, but might fit as well.
> > 
> 
> Oops.  Here's the link:
> http://marc.theaimsgroup.com/?l=linux-kernel&m=102348147820343&w=2

And another one.
The 1 hour 11 minutes (I think ..?) described in the OP is
obviously a known issue.  Hope this helps.

http://marc.theaimsgroup.com/?l=linux-kernel&m=102212413728493&w=2

jc

-- 
It may stop, it may not.  And stop calling me "dj".


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



Re: Problem: wall-clock jumping like Mexican bean

2002-06-10 Thread Jonathan Matthews
On Mon, Jun 10, 2002 at 11:43:17PM +, Jonathan Matthews wrote:
> On Mon, Jun 10, 2002 at 03:46:45PM -0500, Rich Puhek wrote:
> > 
> > 
> > Jonathan Matthews wrote:
> > > 
> > > I think it's possibly a dodgy RTC on the motherboard.  I saw
> > > this exact complaint come up on linux-kernel a while ago, and
> > > someone mentioned that it was specific to a certain brand
> > > of mobo.
> > > 
> > > No URLs for you, I'm afraid, but if you google a bit, I'm sure
> > > it'll appear.
> > > 
> > 
> > But I thought that the RTC was ignored after boot? If so, a bad RTC
> > would explain a clock that comes up bad on boot every now and then, but
> > not why a running system would suddenly shift time.
> 
> I might be using the wrong terminology - I'm just remembering
> the symptoms from the l-k thread.
> 
> Here's what I found from l-k.  Not the thread I was 
> originally thinking of, but might fit as well.
> 

Oops.  Here's the link:
http://marc.theaimsgroup.com/?l=linux-kernel&m=102348147820343&w=2

jc

-- 
It may stop, it may not.  And stop calling me "dj".


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



Re: Problem: wall-clock jumping like Mexican bean

2002-06-10 Thread Jonathan Matthews
On Mon, Jun 10, 2002 at 03:46:45PM -0500, Rich Puhek wrote:
> 
> 
> Jonathan Matthews wrote:
> > 
> > I think it's possibly a dodgy RTC on the motherboard.  I saw
> > this exact complaint come up on linux-kernel a while ago, and
> > someone mentioned that it was specific to a certain brand
> > of mobo.
> > 
> > No URLs for you, I'm afraid, but if you google a bit, I'm sure
> > it'll appear.
> > 
> 
> But I thought that the RTC was ignored after boot? If so, a bad RTC
> would explain a clock that comes up bad on boot every now and then, but
> not why a running system would suddenly shift time.

I might be using the wrong terminology - I'm just remembering
the symptoms from the l-k thread.

Here's what I found from l-k.  Not the thread I was 
originally thinking of, but might fit as well.

Y

jc

-- 
It may stop, it may not.  And stop calling me "dj".


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



Re: Problem: wall-clock jumping like Mexican bean

2002-06-10 Thread Jonathan Matthews
On Mon, Jun 10, 2002 at 10:24:28AM -0700, Kevin Buhr wrote:
> Damien <[EMAIL PROTECTED]> writes:
> > 
> > The problem must have occurred often enuff to other people, IMHO, but I
> > can't find the solution online. My 'wall-clock' (as xscreensaver calls it
> > in the error messages) keeps jumping ahead -- then back, semi-randomly. It
> > seems to do so by always the same amount(?): @ 1 hr 11 minutes.
> 
> I assume you aren't running an NTP daemon and that there are no
> messages in the logs about the time being stepped forward or back.
> 
> Does "@" mean "approximately"?  Is it closer to one hour, eight
> minutes, and 16 seconds?  That would be 4096 seconds, and a most
> suspicious number of seconds to be jumping.
> 
> Does it jump back and forth between two values, or does it jump
> several times in the same direction (so it quickly becomes many hours
> off)?
> 
> If it's jumping continually back and forth by 4096 seconds, I'd guess
> you have a bad SIMM.  One bit (which just happens to be where your
> kernel is storing the time-of-day clock) isn't being reliably set, and
> you see jumps forward and backward every 20 or 30 times (seconds) the
> kernel bumps the seconds counter.
> 
> If this is the case, you might try swapping SIMMs around.  However,
> I'd suggest labelling their original positions very carefully.  If the
> problem does "disappear", you want to be able to get back to where you
> can reliably reproduce it and eliminate the offending SIMM.

I think it's possibly a dodgy RTC on the motherboard.  I saw
this exact complaint come up on linux-kernel a while ago, and
someone mentioned that it was specific to a certain brand
of mobo.

No URLs for you, I'm afraid, but if you google a bit, I'm sure
it'll appear.

As I recall, there was no solution or workaround - the
board simply reports the wrong time every so often.  It's
a bug.

jc

-- 
It may stop, it may not.  And stop calling me "dj".


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



  1   2   >