Re: HD about to die?

2004-06-27 Thread John Summerfield
Bob Proulx wrote:
Silvan wrote:
 

Michael Bellears wrote:
   

Googling on the above errors has given me very little hope of fixing the
issue - But I am welcome to any suggestions as the server is about
1000km away!
 

Buy a plane ticket?
   

:-)
Install the SMART tools?  Assuming the drive is smart capable.
 apt-cache show smartsuite
Or on sid:
 apt-cache show smartmontools
Then see if that shows anything useful.
 

Hard drives sure don't seem to be as robust as they used to be.  My
experience has been that once you get a glitch or two, the countdown
has started, and it's a short fuse before the drive becomes
completely useless.  All efforts to stave off the inevitable seem to
amount to rearranging deck chairs on the Titanic.
   

My experiences too.
For critical servers such as that I would always use disk mirroring or
other raid capability.
Bob
 

You can also do software RAID across a network (but take care with 
bandwidth requirements!).
Choices include
nbd (included in standard kernel, never seen it recommended!)
enbdhttp://www.it.uc3m.es/~ptb/nbd
drbd   http://www.drbd.org/

See also http://linux-ha.org/
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ide: Assuming 33MHz

2004-06-28 Thread John Summerfield
Dan Jacobson wrote:
Upon boot, one sees
"ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx".
But upon reading e.g.,
http://storagereview.com/guide2000/ref/hdd/if/ide/modesUDMA.html
one feels their computer sounds more like the 100Mhz kind.
How can one tell if one is taking full advantage of the hardware?
Maybe I am, as I see "IDE UDMA100 controller" in dmesg etc. output
(that I put in http://jidanni.org/comp/system.zip)
 

That's the PCI bus, not UDMA etc. Unless your hardware is broken or 
miscovfigured, you're not using PIO. PIO is CPU-intensive, and you 
really orght be using DMA. And probably are.


 


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



Re: mobile disk racks

2004-06-28 Thread John Summerfield
Dan Jacobson wrote:
The following message is a courtesy copy of an article
that has been posted to comp.sys.ibm.pc.hardware.storage as well.
I'm wondering just when it's OK to pull in and out those mobile disk
racks. (Where you can slide in and out one of your PC's IDE hard disks
with "the ease of a floppy").  It seems one should slide one in only
if one plans to reboot.  And slide one out only if it has already been
unmounted. Are there any other concerns here on Debian GNU/Linux?
(Wonder if the fan on the rack will hopefully go off when the disk is
out, as it is 99% of the time.)
 

IDE is not hot pluggable. Assume it's only safe to replug when the power 
is off at the wall.

Some (eg Vipower) are supposedly hot-pluggable. I spent quite some 
effort, did lots of trickery involving building special kernels with the 
IDE driver(s) as modules, loading one to not recognise the other 
interface and then loading/unplugginh the second when I wanted to 
replug. I asked questions on lkml.

Nothing worked.
If there is anything left worth trying, it's the 2.6 kernel.
Better, get a USB2 case. They _are_  hot-pluggable, can't conflict with 
existing drives etc etc.

If you're going to  be plugging/unplugging ATA drives, be sure to use a 
dedicated IDE controller for the purpose so you can't have master/slave 
conflicts, and if you can't do that,

avoid WD drives. WD drives require different settings depending on 
whether they are
master, no slave
master, slave present
slave.

Getting that wrong on some systems (and I have such) causes system 
lockups and failure to boot IN THE BIOS.

I've no objection to firewire, I just don't know whether it works as 
reliably. I've had 100% success, but the same of one system's a little 
small.

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



Re: help on masquerading

2004-06-29 Thread John Summerfield
Ritesh Raj Sarraf wrote:
Hello all,
I have a masquerading server with 2 ethernet cards, eth0(202.52.x.x) to the internet 
and eth1(192.168.100.x) to my local network customers. I've enabled nat and my 
customers are able to browse the internet well (My customer are cyber cafe owners). 
I've limited their bandwidth. The issue is that I've limited their bandwidth on 
ipbasis ( say 192.168.100.6 is assigned 64kbps). My view is that they can change their 
ip to something else (say 192.168.100.15) and consume full bandwidth because i've not 
limited or given more bandwidth to that particual ip.
To accomplish my condition, I thought of:
#iptables -P FORWARD DROP
To disable all packet forwarding by default.
and then
#iptables -A FORWARD -s 192.168.100.6 -i eth1 -j ACCEPT
To allow my that particular ip to access the net.
But after this command the customer isn't able to browse the net. He's still able to 
ping my masquerading server. Where am i wrong and what could be a solution ? Please 
help !
I also think my approach to be insufficient. Because still my customer with ip 
(192.168.100.6) can connect to the net if he changes the ip to my some other customers 
ip (192.168.100.15), say if his machine is shutdown at that time.
Is there a better approach ?
Any reply will be greatly appreciated.
 

You didn't say whose machines they are nor what OS they're running. If 
they're yours you can lock them down so the users can't do those things.

You can run arpwatchd which will email ou whenever a new host arrives on 
your LAN and whenever anyone changes IP.

You can configure DHCPD to serve out IP addresses, require all your 
clients to use DHCP. In your configuration you can hard-code IP 
addresses for everyone who's authorised to connect and use a dynamic 
range for everyone else. You may choose to not route them outside the 
LAN, give them IP addresses on a different subnet (they're all on the 
same wire) and generally be devious, even to regularly changing the 
allowed IP addresses!

Google for pebble and nocat. They're wireless kit, but probably useful 
to you to. Their purpose is to provide public Internet access and 
require everyone to be authenticated. In a free (gratis) environment, 
people can decline authentication and be authenticated as anonymous, 
with different access rights.

From what you have said, that could suit you very well. Especially if 
you (want to) allow people to bring their wirelss laptops.


Ritesh
 


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



Re: iptables start on boot

2004-06-29 Thread John Summerfield
[EMAIL PROTECTED] wrote:
I recently installed debian testing (sarge) on a clients machine and am
trying to
get the firewall to load on reboot.  AFAIK there was a
/etc/init.d/iptables script in
previous releases of debian but it doesn't seem to be there anymore.
Is this correspond to others experiences?  Has this script been replaced
with a
different mechanism for starting iptables at boot time?
 

The script has been superceded: I've not discovered by what: I'm not 
interested. The author clearly wasn't happy with it.

Since you're asking I guess, like me, you're not entirely comfortable 
with rolling your own.

I'm using shorewall on some Woody boxes. I just installed it on Sarge 
and decided it's going to take well over five minutes to configure. 
There _is_ a webmin module for it; I've not looked at it yet though.

There are also other firewall packages: fwbuilder comes to mind.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: can not compile kde, some xmkmf problem

2004-06-29 Thread John Summerfield
Antonio Rodriguez wrote:
On Fri, Jun 25, 2004 at 04:48:24PM +1000, Rob Weir wrote:
 

Since XFree86 4.4.0 isn't in Debian, you must have installed it from
a tarball or something.  You'll need to point the KDE configure
script at the location you unpacked it to.  Or just install the
Debian packaged X headers.
   

The /usr/X11R6 install path is standard, so the configure must find the 
dir
 

Um, you installed a binary tarball of X to /usr/X11R6?  That's a
*really* bad idea.  Nonetheless, Debian has the X headers packaged.  Or
get them from XFree86.
   

If nothing gets resolved about that 4.4 release in the future, I am
considering installing 4.4 in my system too, so, I would like to hear
recommendations about making it happen.
 

Red Hat and others are packaging their kit from x.org. I expect that 
will be better-supported, at least in the short term: there are quite a 
few Red Hatters around.

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



Re: help on masquerading

2004-06-29 Thread John Summerfield
Ritesh Raj Sarraf wrote:
On Tue, 29 Jun 2004, John Summerfield wrote:
 

You didn't say whose machines they are nor what OS they're running. If 
they're yours you can lock them down so the users can't do those things.

   

I think, here the issue isn't what OS they'll be running. It's okay if they run TCP.
 

If  yours, you are entitled to configure them (indeed, you must). How 
you do it depends on the OS.

 

You can run arpwatchd which will email ou whenever a new host arrives on 
your LAN and whenever anyone changes IP.

   

That's a good option. But it'll be too late if they do such activity at night (when I'm not at office) and use it till my next working day at office.
 

So learn what the mail looks like and write a script to  do something 
sensible about it.

You can configure DHCPD to serve out IP addresses, require all your 
clients to use DHCP. In your configuration you can hard-code IP 
addresses for everyone who's authorised to connect and use a dynamic 
range for everyone else. You may choose to not route them outside the 
LAN, give them IP addresses on a different subnet (they're all on the 
same wire) and generally be devious, even to regularly changing the 
allowed IP addresses!

   

I hadn't thought of DHCPD. I'll give a look at it. Thank you.
 


Google for pebble and nocat. They're wireless kit, but probably useful 
to you to. Their purpose is to provide public Internet access and 
require everyone to be authenticated. In a free (gratis) environment, 
people can decline authentication and be authenticated as anonymous, 
with different access rights.

From what you have said, that could suit you very well. Especially if 
you (want to) allow people to bring their wirelss laptops.

   

Another gentleman on the debian-isp list provided a better suggestion (as I think). 
Restricting my customers with MAC address. I think this would be enough for my 
requirement.
iptables -P FORWARD DROP
iptables -A FORWARD -s xx:xx:xx:xx -o eth0 -j MASQUERADE
 

I didn't suggest that because it's trivial to fake.
ifconfig eth0 hw fe:ee:fe:fe:ee
man ifconfig # for  more
You do need to know other acceptable MAC addresses, of course.
Besides, hardwiring IP addresses in DHCP uses the MAC address.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: dcopserver would not run

2004-06-29 Thread John Summerfield
Ogya Chief wrote:
Hi All,
Last night I wanted to install Konqueror on my Sarge box and I decided 
to use dselect for the installation. Dselect indicated that Konqueror 
was installed so I marked it for deletion and went ahead and deleted 
it but it deleted about 50 other KDE packages. I noted down all the 
packages that were being deleted. I had to press control-C several 
times to abort the operation.

All the packages deleted were reinstalled but KDE would not start; I 
got the following error messages:
  There was an error setting up inter-process communications for KDE.
  The message returned by the system was:
  Could not read network connection list. /home//.DCOPserver-
  debian_0.
  Please check that the "dcopserver" program is running.

The dcopserver program was not running and I attempted to run it 
manually as root user but I got the following error:
  dcopserver: relocation error: /usr/lib/dcopserver.so: undefined
  symbol: _KDE_IcePoMagicCookielProc.

I cannot run any KDE application anymore. Man page on dcopserver is 
terse and Dwww does not work either so getting more information on my 
system is impossible.

Does anybody what what is broken on my system?
Thanks in advance for any leads/pointers.
try these commands:
apt-get -q update
apt-get -fu install
# If that doesn't look harmful, reply "y."
apt-get install konqueror
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



A small difficulty with Net::IMAP

2004-06-29 Thread John Summerfield
I installed libnet-imap-perl on Sarge so I could chat up an imap server, 
did a quick cut and paste from the two samples provided and it does not 
Work For Me.

Here-s my code:
#!/usr/bin/perl -wI..
use Net::IMAP;
my $Host="192.168.9.4";
my $imap = new Net::IMAP($Host, Debug => 1)
 or die("can't connect to $Host: $!\n");
$response = $imap->noop
 or die("noop failed");
print "noop returned: ", $response->status, "\n";
print "noop text: ", $response->text, "\n";
if ($imap->has_capability('namespace')) {
 $response = $imap->namespace
   or die("namespace command failed");
} else {
 warn("server doesn't implement namespace extension");
}
$response = $imap->logout
 or die "error sending logout: $!";
Here's what happens when I  run it under strace:
[EMAIL PROTECTED]:~$ strace -f -F -e trace=network imap.getmail
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(143), 
sin_addr=inet_addr("192.168.9.4")}, 16) = -1 EINPROGRESS (Operation now 
in progress)
connect(3, {sa_family=AF_INET, sin_port=htons(143), 
sin_addr=inet_addr("192.168.9.4")}, 16) = 0
<- Net::IMAP=HASH(0x81717a4) 19:29:05 [* OK ns Cyrus IMAP4 
v2.1.16-IPv6-Debian-2.1.16-6 server ready]
can't connect to 192.168.9.4: Bad file descriptor
[EMAIL PROTECTED]:~$

I'm inclined to reportbug this, but I'd like to have it working. Any hints?
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Moving from RedHat/KDE to Debian/KDE

2004-06-29 Thread John Summerfield
James Sinnamon wrote:
Dear KDE/Debian users,
(Similar e-mail previously sent to [EMAIL PROTECTED])
I have an established Red Hat 9.0 system and I am trying to migrate to a 
Debian/Sarge  system using all the same /home/* subdirectories.  I am 
simply hoping to have a desktop and display that has the same resolution 
and roughly the same functionality, to begin with, as I had with RedHat.
 

I moved from RHL 7.3 to Woody, taking my home directories with me, and 
that was pretty painless.

When you go to Debian user/group numbers, you'll need to chown -R the 
directories to fix ownership.

Sadly, at RHL 8.0, Red Hat borked the KDE look & feel so much it 
inflamed the KDE people, and Bero (the RH KDE guru) left Red Hat.

It should be possible to simply find the existing configuration settings
on my RedHat system and copy them to my Debian system, but
I don't really know where to locate the essential information.
At the moment, my Debian/KDE system has the following problems:
1. Resolution reduced from 1024x768 to 800x600 on 19" monitor.
 

I find configuring X on Debian a never-ending challenge. A technique I 
(and a few other I know) use is to boot Knoppix and copy its 
configuration file. Works a treat.


--
I am not able to keep the same resolution as I can on my Redhat system.  
My Debian system only achieves 800x600, whilst my existing 
RedHat achieves 1024x768.  I can't think of any obvious reason why the 
resolution can't be the same.

2.  Konsole tab 'icon size' context sensitive menu  missing
--
This feature is inexplicably missing in Debian KDE,
(I prefer the smallest possible icon size to preserve desktop space.)
3.  Lost access to menus and other Kpanel features

 

These problems may well result from RH's changes.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: inetd & inetd.conf

2004-06-29 Thread John Summerfield
Keith O'Connell wrote:
Hi,
   I just had to edit the /etc/inetd.conf file. In order for the
   changes to take effect the machine had to be rebooted.
 

No it didn't:
Dolphin:~# /etc/init.d/inetd reload
Dolphin:~#


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



Re: A small difficulty with Net::IMAP

2004-06-29 Thread John Summerfield
John Summerfield wrote:
I installed libnet-imap-perl on Sarge so I could chat up an imap 
server, did a quick cut and paste from the two samples provided and it 
does not Work For Me.

Here-s my code:
#!/usr/bin/perl -wI..
use Net::IMAP;
my $Host="192.168.9.4";
my $imap = new Net::IMAP($Host, Debug => 1)
 or die("can't connect to $Host: $!\n");

More info:
   215   $self->{ResponseCallback} = $self->imap_response_callback;
   216
   217   STDERR->autoflush(1);
   218
   219 #  $self->_get_banner or return undef;
   220  print "Banner\n";
   221
   222   # the little back-flip here with the Synchronous option 
ensures that

Line 219 in this list was the culprit.  The line nos aren't quite as in 
the original, I have a couple of lines of debugging code.

I'm inclined to reportbug this, but I'd like to have it working. Any 
hints?


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



Re: Mouse strangeness

2004-06-29 Thread John Summerfield
Jon Schneider wrote:
A few days ago I posted a problem with testing beta4 where a Genius KYE
wheelemouse behaved strangely under X even though the same mice work
fine with other Debians and even the same machine with Knoppix for
example.
It is for a rack machine where the idea is that a USB keyboard/mouse
will be plugged in as and when and not when the thing boots.
I suspected my problems were to do with the kernel modules and was
right, sort of.
I can get the mouse to behave properly by reloading
mousedev and usbmouse when in a console (the script uses chvt to
accomplish this otherwise the things won't unload) window before
restarting X. But X does then need restarting  (CTRL-ALT-BSP) rather
than switching back to it. Then the USB mouse/mice can be (un)plugged
anytime and everything behaves.
But as far as I can tell it's no good just loading the modules before X
starts for the first time if a USB mouse hasn't yet been plugged in.
Arggh.
 

Is hotplug installed?
You X config file needs a stanza for the mouse. This may work:
Section "InputDevice"
   Identifier  "Generic Mouse"
   Driver  "mouse"
   Option  "SendCoreEvents""true"
   Option  "Device""/dev/input/mice"
   Option  "Protocol"  "ImPS/2"
   Option  "Buttons"   "5"
#   Option  "Emulate3Buttons"   "true"
   Option  "ZAxisMapping"  "4 5"
EndSection
That's what drives my Logitech Optical.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: inetd & inetd.conf

2004-06-29 Thread John Summerfield
Keith O'Connell wrote:
"RA" == Ronny Aasen <[EMAIL PROTECTED]> writes:
   

   RA> On Tue, 2004-06-29 at 13:23, Keith O'Connell wrote:
   >> I just had to edit the /etc/inetd.conf file. In order for the
   >> changes to take effect the machine had to be rebooted.
  >> 
   >> Is this the wrong approach. Is there a way for changes in
   >> inetd.conf to be enacted without the need to take the machine
   >> down and up again?
   >> 

   RA> /etc/init.d/inetd restart
   That was actually the first thing I tried, but it appeared not
   to work. I installed swat ti administer samba shares on this
   machine. The default debian configuration in /etc/inetd.conf
   is for the swat line to be commented out. I removed the
   comment and ran /etc/init.d/inetd restart, but could not get
   into swat via http://localhost:901. I then rebooted the
   machine and it worked straight away.
   I then put the comments back into the file and ran
   /etc/init.d/inetd restart. Swat still worked. Only after a
   reboot did it deny me access. I posted the first message
   because /etc/init.d/inetd restart appears not to reload
   /etc/inetd.conf.
   Could someone advise me what I am missing?
Keith.
 

Are you using update-inetd?

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



Re: A small difficulty with Net::IMAP, encore

2004-06-29 Thread John Summerfield
John Summerfield wrote:
John Summerfield wrote:
I installed libnet-imap-perl on Sarge so I could chat up an imap 
server, did a quick cut and paste from the two samples provided and 
it does not Work For Me.

Here-s my code:
#!/usr/bin/perl -wI..
use Net::IMAP;
my $Host="192.168.9.4";
my $imap = new Net::IMAP($Host, Debug => 1)
 or die("can't connect to $Host: $!\n");

More info:
   215   $self->{ResponseCallback} = $self->imap_response_callback;
   216
   217   STDERR->autoflush(1);
   218
   219 #  $self->_get_banner or return undef;
   220  print "Banner\n";
   221
   222   # the little back-flip here with the Synchronous option 
ensures that

Line 219 in this list was the culprit.  The line nos aren't quite as 
in the original, I have a couple of lines of debugging code.

I'm inclined to reportbug this, but I'd like to have it working. Any 
hints?

I seem to be talking to myself here:-(
I've reported a second bug. Here's the latest code:
#!/usr/bin/perl -wI..
use Net::IMAP;
my $Host="192.168.9.4";
my $imap = new Net::IMAP($Host, Debug => 0)
 or die("can't connect to $Host: $!\n");
$response = $imap->noop
 or die("noop failed");
print "noop returned: ", $response->status, "\n";
print "Logging in $ARGV[0], $ARGV[1]\n";
$response = $imap->login($ARGV[0], $ARGV[1])
   or die "error logging in: $!";
print "login text: ", $response->text, "\n";
if ($imap->has_capability('namespace')) {
 $response = $imap->namespace
   or die("namespace command failed");
} else {
 warn("server doesn't implement namespace extension");
}
$response = $imap->logout
 or die "error sending logout: $!";
Here's what happens:
[EMAIL PROTECTED]:~$ imap.getmail zz yy
noop returned: ok
Logging in xx, yy
login text: User logged in
Can't use string ("NIL") as an ARRAY ref while "strict refs" in use at 
/usr/share/perl5/Net/IMAP.pm line 2398,  line 6.
[EMAIL PROTECTED]:~$

The "banner" line above is commented out.
The code in Net/IMAP.pm leaves me scratching my head. Anyone more 
familiar than I with Perl care to take a look?

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



Re: Problems with Courier-Imap, It cannot login more than 5 users.

2004-06-29 Thread John Summerfield
Caba wrote:
Hi all,
I have been looking for information about it, but couldn`t find anything.
The fact is that my email-imap-domains can login in just 5 email-acounts,
and What happened with the other once?
 Sorry if my question is silly.
Thanks in advanced.
 

Take a look at _my_ imap problem and run my Perl code against your 
server. In my first post I show how to run it under strace and found out 
what network operations it's doing. The last post contains the best code 
to use. Just cut and paste it into a text file, "chmod +x" it and run it 
against your server.

You might want to run it more like this:
strace -f -F -e trace=network,file imap.getmail summer jest
because some network operations are actually file operations (on *x 
everything is a file).

It will show you just what's going on.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: raise user accounts max fd

2004-06-29 Thread John Summerfield
Ross Tsolakidis wrote:
Hi,
I am running "Linux [hidden] 2.4.25-bf2.4 #1 SMP Wed Mar 10 10:35:09 PST
2004 i686 unknown" and would like to know how to raise a user accounts
max file descriptors (FDs, shown via ulimit -n) from the default 1024 to
4096, to allow an IRC daemon more permitted open files.
After adding the lines:
ircd hard nofile 4096
ircd soft nofile 4096
to /etc/security/limits.conf at the end of the file (they are not
commented out), and re-logging into the ircd user terminal and typing:
ulimit -n
The count still appears as 1024, not the new 4096 figure.
What am I doing wrong?
Any help is appreciated,
 

[EMAIL PROTECTED]:~$ ulimit -n
1024
[EMAIL PROTECTED]:~$ root
Dolphin:~# ulimit -n
1024
Dolphin:~# ulimit -n 4096
Dolphin:~# ulimit -n
4096
Dolphin:~# su - summer
[EMAIL PROTECTED]:~$ ulimit -n
4096
[EMAIL PROTECTED]:~$



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



Re: Moving from RedHat/KDE to Debian/KDE

2004-06-29 Thread John Summerfield
Kent West wrote:
James Sinnamon wrote:
I have an established Red Hat 9.0 system and I am trying to migrate 
to a Debian/Sarge  system using all the same /home/* subdirectories.  
I am simply hoping to have a desktop and display that has the same 
resolution and roughly the same functionality, to begin with, as I 
had with RedHat.

1. Resolution reduced from 1024x768 to 800x600 on 19" monitor.
-- 

I am not able to keep the same resolution as I can on my Redhat 
system.  My Debian system only achieves 800x600, whilst my existing 
RedHat achieves 1024x768.  I can't think of any obvious reason why 
the resolution can't be the same.
 

This might just be a matter of settings  (try "dpkg-reconfigure 
xserver-xfree86") or it might be that RH shipped a proprietary video 
driver that you don't have by default in Debian (I'm thinking 
particularly of the Debian "nv" driver as opposed to the proprietary 
nVidia driver).

Red Hat doesn't do that.

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



skype: Internet telephony

2004-06-29 Thread John Summerfield
Has anyone tried this?
http://www.desktoplinux.com/news/NS2762250480.html
Given its parentage I'd pay close attention to my firewalls and what 
hosts it accesses and how.

I'm very curious as to how well it does what a sane user would want:-)

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



Re: raise user accounts max fd

2004-06-29 Thread John Summerfield
nx13372 wrote:
John Summerfield wrote:
Ross Tsolakidis wrote:
Hi,
I am running "Linux [hidden] 2.4.25-bf2.4 #1 SMP Wed Mar 10 10:35:09 
PST
2004 i686 unknown" and would like to know how to raise a user accounts
max file descriptors (FDs, shown via ulimit -n) from the default 
1024 to
4096, to allow an IRC daemon more permitted open files.

After adding the lines:
ircd hard nofile 4096
ircd soft nofile 4096
to /etc/security/limits.conf at the end of the file (they are not
commented out), and re-logging into the ircd user terminal and typing:
ulimit -n
The count still appears as 1024, not the new 4096 figure.
What am I doing wrong?
Any help is appreciated,
[EMAIL PROTECTED]:~$ ulimit -n1024
[EMAIL PROTECTED]:~$ root
Dolphin:~# ulimit -n
1024
Dolphin:~# ulimit -n 4096
Dolphin:~# ulimit -n
4096
Dolphin:~# su - summer
[EMAIL PROTECTED]:~$ ulimit -n
4096
[EMAIL PROTECTED]:~$
I'm using kernel-2.4.26-1 and repeat the text above. After close the 
session and log again the default values (1024) appears.
Of course. I didn't log out.
Set the limits as root, then start your daemon. It seems it will inherit 
the desired settings.

[EMAIL PROTECTED]:~$ uname -r
2.4.25-1-686
[EMAIL PROTECTED]:~$


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



Re: ide: Assuming 33MHz

2004-06-29 Thread John Summerfield
Kirk Strauser wrote:
On Monday 2004-06-28 09:11 pm, Alvin Oga wrote:
 

if your cpu is running at say less than 75% load, your system is NOT being
used to the fullest extent for the $$$ you paid :-) 
   

Exception: we spec our webservers for *latency*, not *throughput*.  Even if 
we only get 20 hits per day, I want them to be served quickly.
 

Did you not observe the smiley?

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



Re: skype: Internet telephony

2004-06-29 Thread John Summerfield
Mike Ward wrote:
I've only used it on windows 2000, but for what it's worth, I've had
no problems with it there.
 

I was wondering whether it has any phone-home capability. I've not heard 
of any spyware on Linux,but of courxe it's possible, especially with 
closed-source software.


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



Re: interfaces lo:1 lo:2 lo:3? (for remote ssh tunnels)

2004-06-29 Thread John Summerfield
Will Trillich wrote:
On Sat, Jun 26 at 08:33PM +0800, John Summerfield wrote:
 

I don't understand why the server would be making the
connexion request.  By definition, the client does that.
   

it's not "by definition" -- it's "in the VAST majority of cases".
as in "very seldom, and it's surely suspicious behavior that
should be investigated by at least three government agencies at
the highest level, there will be a case for forwarding server
ports to the client, not that there's anything wrong with that."
 

I'll stick with "by definition." ftp in active does things a little 
oddly: when the client requests a transfer, it sends the port command: I 
don't know the full details,but some of the information it provides is 
the IP address and port for ftpd to connect to to send the data. So far 
as the protocol is concerned, the server makes a client connexion 
request to the client program which in consequence becomes a server.
   

aha. i see your perspective -- you're calling quickmate a
server, even tho it's on the user's client-side machine. by that
arrangement, yes, it's the server.
 

That's standard terminology.
Also, some server software (sendmail is an example) makes a client 
request to a connecting host to discover the identity of its client. The 
server is identd (service auth).

but the tunnel is initiated locally, so we forward a remote port
to the local machine in order to accomplish our task. :)
 

aha! but, as you said:
> You don't want loopback devices. The loopback device is
> for me to send messages to myself: the client and server
> are on the same box.
"i'm talking to myself"! 127.0.0.1 is the loopback interface,
so you "don't want that"... :) unless you've got the port
forwarded elsewhere. right? yes? hmm?
 

My web browser is talking to a server on my loopback device,
yes. What the server does is respond validly to HTTP requests.
Whether it gets the date from local store (Apache with static
html) or generates it (Apache with CGI or PHP and a database
backend) or entirely from across a network (as Squid does) is
irrelevant.
I'm not routing traffic from the loopback device, and that's
what you were talking about.
   

ssh -L80:192.168.0.1:80 distant.server.there
lynx localhost:80
lynx thinks it's talking to its own selfsame machine, tho the
request gets beamed to 192.168.0.1 instead.
 

It is. As I alreadt explained, it's talking to a proxy server (ssh) on 
your machine. How the server satisfied the request is irrelevant.


ssh -R10001:127.0.0.1:10001 distant.server.there
quickmate localhost:10001 &
quickmate thinks it's listening to locally-originating
connections, but it's gonna be getting them from the remote
end of the tunnel instead.
 

No, it's getting it from a client on _its_ local host. Whether the 
client is sshd (as in this case) or the client program in your hands is 
irrelevant.

So far as you're concerned, the server is on your peecee.
OTOH quickmate sees its client as being on the same hardware it's 
running on.

same thing, different direction.
THAT's what i'm talking about.
 

Best you become accustomed to standard terminology. The "Using C on the 
UNIX System" book has sample code to illustrate my point.

 

You don't want loopback devices. The loopback device is for
me to send messages to myself: the client and server are on
the same box.
   

they APPEAR to be on the same box, thanks to the magic of
port-forwarding tunnels. whether it's -R (coming) or -L (going)
it's magic, either way.
 

Clients do not listen and clients do not accept questions.
That has caused most of our confusion.
A TCP client uses socket() and connect().  A TCP server uses
socket(), bind(), listen() and accept().
See using C on the Unix system, O'Reilly & Assoc.
   

conceptually quickmate fills the definition of a client -- it
gives the user a menu to work with to converse with the remote
database server; operationally, it's serving requests to port
10001 like a server would.
and to get it to work we use a remote-to-local tunnel. works
like a dream!
 

Did you check the book? There are other documents you could check: I 
once had documents on client/server  programming in REXX (and did some), 
and Perl has heaps of support for it.

See this illustration:
[EMAIL PROTECTED]:~$ ssh -L2022:127.0.0.1:22 192.168.1.121
Linux Echidna 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i686 unknown
No mail.
Last login: Tue Jun 29 21:50:05 2004 from 192.168.9.114
[EMAIL PROTECTED]:~$
and then
[EMAIL PROTECTED]:~$ ssh -p 2022 127.0.0.1
@@@
@WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @

Linux Echidna 2.4.18-bf2.4 #1 Son Apr 1

Re: Debian + The New PowerBook G4s

2004-06-29 Thread John Summerfield
Matthew T. Atkinson wrote:
'ello,
I am trying to justify buying a new PowerBook G4 (1.5GHz) over a far
cheaper x86 laptop.  I'm buying it for my final year at University (I
use a laptop in lectures because I'm visually impaired and also my
project requires me to be able to work in a number of places where
desktops may not be available).  It'll be my only computer whilst I'm
there.
 

I have a G4 17" Titanic here. I tried to install Woody on, but failed 
because it didn't recognise the hard drive:-(

I've not tried Sarge.
I'm not keen on the box itself (the mouse is on the turps, I swear it), 
and the single-button mouse I do not like at all. I've not persisted in 
Linux on it because OSX does so many things so well. I walk up to a 
wireless LAN (we use it at work) and it connects. I plug in a cable, it 
immediately gets an IP address. I took it into a camera shop, selected a 
camera and plugged it in, iphoto popped up and I could get the photos 
out of it. Configuring a USB printer (LJ1200) took seconds. USB disks 
just work.

At the commandline, much of what I learned on Linux applies - it uses 
BSD software rather than GNU in many cases so there are some differences 
there, and instead of cdrecord there's hdiutil & c.

I don't like Safari overmuch, but there's Mozilla and Firefox, right 
up-to-date. Thunderbird's available but I've only used that on Linux. 
There;s quite a selection of other free software available. OOo has been 
lagging, I'm not sure that the current release is available yet.

The one thing Linux did better is support my Logitech USB mouse. On OSX 
I had to install the driver.

Oh, there's speech software there too. In your circumstances I think I'd 
stay with OSX.

If you want a box to hack on Linux and can't be satisfied using much the 
same tools on OSX, then that's another matter.

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



Re: skype: Internet telephony

2004-06-29 Thread John Summerfield
Brian Potkin wrote:
On Tue, Jun 29, 2004 at 10:10:04PM +0800, John Summerfield wrote:
 

Has anyone tried this?
http://www.desktoplinux.com/news/NS2762250480.html
Given its parentage I'd pay close attention to my firewalls and what 
hosts it accesses and how.

I'm very curious as to how well it does what a sane user would want:-)
   

Depends on what you mean by a 'sane user'.  Such a user might want to
use a product which
(a) is capable of communicating with the rest of the VOIP world,
(b) doesn't tie you to a particular communications provider,
(c) supports standard protocols,
(d) is not closed and proprietary,
(e) is free.
Skype might be very good technically but it doesn't fulfill any of these
criteria whereas SIP based software and hardware is available which does.
 

Debian is a religion: it has nothing to do with being sensible or sane. 
You use close and proprietary software, so you shouldn't make that a 
requirement:-)

OTOH anyone with any sense would be concerned if it should prove to be 
sending information about them to some stickybeak who plans on making 
profit from it.



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



Re: skype: Internet telephony

2004-06-30 Thread John Summerfield
Brian Potkin wrote:
On Wed, Jun 30, 2004 at 08:38:07AM +0800, John Summerfield wrote:
 

Brian Potkin wrote:
   

Depends on what you mean by a 'sane user'.  Such a user might want to
use a product which
(a) is capable of communicating with the rest of the VOIP world,
(b) doesn't tie you to a particular communications provider,
(c) supports standard protocols,
(d) is not closed and proprietary,
(e) is free.
Skype might be very good technically but it doesn't fulfill any of these
criteria whereas SIP based software and hardware is available which does.
 

Debian is a religion: it has nothing to do with being sensible or sane.
   

I'd rather view Debian as a volunteer organisation endeavouring to
produce the best free operating system possible.  What could be more
sane and sensible than that?
 

And many religious organisations, Christian and other, will say much the 
same of themselves and their objectives

You use close and proprietary software, so you shouldn't make that a 
requirement:-)
   

Apologies if I misunderstand you here but I hope you are not asserting I
use non-free software.  If it was absolutely essential and there was no
free alternative I would, but as it happens I have not yet had that
situation arise.
 

You most certainly do.
The point I was trying to make was that there is standards based
software which is an alternative to Skype and which is well worth
investigating.
 

I was asking about Skype, not about alternatives. Given that it comes 
from the same stable as one of the better-known spyware programs, it 
sparked my interest.


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



Re: Bandwidth monitor perip

2004-06-30 Thread John Summerfield
Vijaya S wrote:
hi ,
Can anyone suggest a good Bandwidth monitor tool "PER IP" basis for a
network hainv gboth Windows and Linux mahcines.
 

ntop
mtrg
Both print product charts for you to view with your web  browser, so you 
need an http server such as Apache too.


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



Re: interfaces lo:1 lo:2 lo:3? (for remote ssh tunnels)

2004-06-30 Thread John Summerfield
Hendrik Boom wrote:
On Wed, Jun 30, 2004 at 08:05:05AM +0800, John Summerfield wrote:
 

Will Trillich wrote:
   

On Sat, Jun 26 at 08:33PM +0800, John Summerfield wrote:
 

I don't understand why the server would be making the
connexion request.  By definition, the client does that.
   

  ^
It's fun seeing this spelling.  The Oxford English Dictionary
actually considers this the correct version, and, IIRC, make a point
of saying so.  I've never seen this spelling anywhere else up to
now, nor havi I seen any other dictionaries that accept it.
 


I'm glad people notice.
A lot of Australians (and, othersI guess) get sick of Americans who 
think their way is the only way, and of Australians who pander to the 
notion. We're expected to accept American TV shows and flicks in 
American and to understand American jokes.

We're also expected to Americanise _our_ TV shows (I'n not sure there's 
much traffic in that direction) and flicks in case they don't understand 
our culture and our humour.

If my use of connexion rather than the more usual connection makes 
people think a moment, that's good.


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



Re: automatically restarting dying daemons?

2004-06-30 Thread John Summerfield
Mark Ferlatte wrote:
Will Trillich said on Wed, Jun 30, 2004 at 04:34:06PM -0500:
 

questions:
	1) what's the best way (e.g. debian way) to monitor active
	   daemons and restart them when necessary? maybe some
	   utility already exists for this? or /proc/something?
	   or `ps ax`?
   

monit can do this.
 

As can webmin.

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



Re: Comparision presentation of Debian with RedHat

2004-06-30 Thread John Summerfield
Ritesh Raj Sarraf wrote:
Dear Users,
I need a little help. We are an ISP and running RedHat distribution on our 
servers. I want to migrate them to Debian gradually because of the excellent features 
that Debian provides like policy, package management, release cycle, security updates 
and many more.
I'm looking for a presentation on "Differences between RedHat and Debian" so as to 
convince my management. I'd be thankful if anyone could help me in this regard.
 

I don't know of any papers, but I have moved from RHL to Debian.
My advice is do not convert.
Instead, Replace.
Running a RHL web server (or three?). Install one running Debian and 
start moving load across. Use it for new domains.

The web server's a pretty good one to start on because you can so easily 
share load.

If you plan on changing distro, this might be  a good time to consider 
consolidating hardware, even changing platform. If Apple, Sun, IBM 
hardware looks good to you, Debian runs on it.



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



Re: Changing from testing to unstable.

2004-06-30 Thread John Summerfield
Be lenient in what you accept. Some poor sod got a blast on a blind list 
I was on for a time because he didn't top-post and he, the blind bloke, 
didn't want to "read" all the other material before he got to the point.

OTOH someone else on that list told the blind bloke how to get past it.
Me, I'm happy with a kind, thoughtful reponse given in good humour. 
Preferable, (he says having just corrected one) free of speling eros.

Florian Ernst wrote:
Hello!
Please don't top-post, it kills the reading flow. True, many MUAs set
the cursor to the top of the message being edited, but that's just so
the user can weed out unneeded lines starting from top.
On Wed, Jun 30, 2004 at 06:12:05PM +0100, Ricky Clarkson wrote:
 

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



Re: Changing from testing to unstable.

2004-06-30 Thread John Summerfield
Sylvain Vedrenne wrote:
Thomas Adam wrote:
--- Adam Funk <[EMAIL PROTECTED]> wrote:
To change from testing to unstable, is is as simple as
s/testing/unstable in /etc/apt/sources.list, `apt-get update` and
`apt-get upgrade` (or do I need to use dist-upgrade for this)?

Basically, yes.
"dist-upgrade" implies "upgrade", but more importantly a dist-upgrade
installs dependant packages external to those not already installed, 
which
an upgrade does not (see the manpage for apt-get).
 

If I have problems with a package from unstable and want to revert to a
lower-numbered version, how would I do so?

In the first place, the package 'apt-listbugs' can help you avoid some 
critical bugs (those that are already known at the time you apt-get 
install ).

Bloody hell!
Dolphin:~# apt-get install apt-listbugs
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
 dpkg-ruby libdpkg-ruby1.8 libintl-gettext-ruby libintl-gettext-ruby1.8
 libzlib-ruby libzlib-ruby1.8
The following NEW packages will be installed:
 apt-listbugs dpkg-ruby libdpkg-ruby1.8 libintl-gettext-ruby
 libintl-gettext-ruby1.8 libzlib-ruby libzlib-ruby1.8
0 upgraded, 7 newly installed, 0 to remove and 3 not upgraded.
Need to get 182kB of archives.
After unpacking 786kB of additional disk space will be used.
Do you want to continue? [Y/n]

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



Re: Wireless and kernel 2.6

2004-06-30 Thread John Summerfield
[EMAIL PROTECTED] wrote:
Hello all,
I would like to ask you how to setup my wireless adapter using Sarge with a Kernel 2.6 series. It is a Presario 2580US P4 notebook that came with a  on board HP WLAN 54g W450 wireless adapter. It currently has SuSE 9.0 but I haven setup wireless. To make it simple I would like to erase SuSE and move it to Debian. Has anyone done wireless setup before? Help or input is much appreciated. Shall I build a custom kernel to it? What would be the correct driver?
 

To properly identify your card, do this as root:
lspci -v -v
Then cut & paste the stanza that reflects the wireless card.
Also, check the modules that are loaded. prism54 cards are supported in 
2.6.5 and SuSE may have incorporated the driver if they're using an 
earlier 2.6 kernel. If so, it may have been detected and (partially) 
configured when you installed.


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



Re: automounting

2004-06-30 Thread John Summerfield
Cheryl Homiak wrote:
I want to be able to have my floppy and cdrom automount. I have 
enabled automount support in the kernel and have installed autofs. I 
have looked at and tried to follow the information in the autofs man 
page, the automount minihowto, 
http://en.tldp.org/HOWTO/mini/automount.html
the quick autofs tutorial, www.linuxhq.com/lg/issue24//nielsen.html
and Poul's linux guide--automounter setup, 
www.poulpetersen.dk/linux/ukautofs.htm.
However, although I apparently have a running autofs and a valid 
/etc/auto.master, /etc/auto.floppy and /etc/auto.cdrom, and 
directories /mnt/cdrom and /mnt/floppy, I still don't have automount. 
Where else should i look? What else should I try? what else might I be 
leaving out?
thanks.


The standard location in Debian is /var/autofs/misc/
By changing /etc/auto.misc thus:
cd-fstype=iso9660,ro,sync,nodev,nosuid   :/dev/hdc
floppy  -fstype=auto,sync,nodev,nosuid  :/dev/fd0
you would have them appearing
at
var/autofs/misc/cd
var/autofs/misc/floppy
Note your CD might not be /dev/hdc.
You can also do other magic with autofs:
ppc1 -fstype=iso9660,ro,nodev,nosuid,noexec,loop 
:/var/ftp/pub/linux/debian-cd/debian-30r1-powerpc-binary-1.iso

On this system, /var/ftp/pub/linux is an NFS mount. I think it doesn't 
work on 2.2 kernels.

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



Re: Comparision presentation of Debian with RedHat

2004-06-30 Thread John Summerfield
Alvin Oga wrote:
On Wed, 30 Jun 2004, Ralph Katz wrote:
 

On 06/30/04 09:00, Ritesh Raj Sarraf wrote:
   

Dear Users, I need a little help. We are an ISP and running RedHat
distribution on our servers. I want to migrate them to Debian
gradually because of the excellent features that Debian provides like
policy, package management, release cycle, security updates and many
more. I'm looking for a presentation on "Differences between RedHat
and Debian" so as to convince my management. I'd be thankful if
anyone could help me in this regard.
 

that'd be a good idea ot use deb for now .. esp since rh is going the
ms route
 

What Are The Main Differences Between RH & Debian?
 

rh has commercial support $500 - $3,000 for the distro and than $50K for
annual support contract for teh big-boyz corp
 

There are alternative sources of support. Progeny and Lineox are two of 
them.

debian is NOT a company per se, so you cannot buy debian cd directly
debian has better package management
*.deb and *.rpm patches are readily available, but...
	except, you cannot necessarily get newer *.rpm security patches
	for the obsoleted/unsupported rh-9 

- you do might not want play with new security patches for
newer supported rh ( fedora, EL3, .. )
rh is a lot simpler/better installer for doing root raid installs
but it doesnt support reiserfs 
 

I've never used reiserfs, but I thought RHL does support it. XFS is 
another matter, though I think it will be now it's made it into the 
mainline kernel.

btw I wouldn't bet on Debian supporting reriserfs for much longer, 
certainly as free software. I've read that there are conflicts between 
Hans' conditions and DFSG.


there is no major differences at the app level between any
linux distro ( same kernel, same apache, same mta, same bash, same foo )
	- same 20,000 - 30,000 packages
 

RHL is a commercial product and commercial realities mean RHL contains 
many fewer packages. More packages means more support cost, more support 
staff and expertise, more CDs to create.

Debian, being uncommercial, doesn't have those constraints. So far as I 
can tell, if it comes with source, is packaged as a deb , is useful to 
someone and works it can get into some place in Debian. Apparently the 
last criterion isn't essential.


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



Re: fast, tabbed, gnome/wm- compliant terminal

2004-06-30 Thread John Summerfield
Zenaan Harkness wrote:
Does this exist?
Will gnome-terminal ever return to being performant?
 

  ^^
I don't understand.
According to dictionary.com,
  1 entry found for performant?.  

  Main Entry: performant
  Function: noun
  Definition: a performer
  Etymology: based on informant, etc.
Am I the only one going crazy just trying to edit files?
 

Edit files with gnome-terminal?
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: force rtl8139 card to 10Mbps Half duplex through module options?

2004-06-30 Thread John Summerfield
Micha Feigin wrote:
Is it possible to force the rtl8139 card (8139too module) to do 10Mbps
half duplex with no auto negotiation using module options instead of
one of the external programs?
It looks like the media option may be able to do it but couldn't get it
to work.
I am currently using the ethtool program for that, but module options
seem better if its possible (the interfaces file looks really dirty for
this to work).
I have a broken rtl8139 card on my laptop which only works for some
reason only in 10Mbps mode, if if autoneg is on it negotiates 100Mbps
and then can't sync. (Any suggestions on fixing that will be welcome
even more ;-)
 

This tells what parameters the driver accepts:
modinfo 8139too
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mozilla/Firefox "PostScript/default" security problems

2004-07-12 Thread John Summerfield
Magnus Therning wrote:
On Sun, Jul 11, 2004 at 07:28:56PM -0500, Brad Sims wrote:
 

On Saturday 10 July 2004 11:29 pm, Marc Wilson wrote:
   

The numerous bugs that have been filed, and the way they've been dealt
with, would seem to indicate that he's not interested in participating.
 

Indeed, his entire argument consists of "Me, Debian Developer.  you, user."
"Me make decision; you no make decision."
I will simply roll my own packages and he can go masturbate his ego in
his own little corner of the net.
   

Will you put those packages somewhere where others can reach them as
well?
 

I've been off the list a while due to a booboo I made, and I've not seen 
the early part of this thread.

I believe that if you have  a problem with a DD, you can take it up with 
the technical committee. The contact address is the mailing list, and 
anyone can post, but as usual, if you're not on the list mention the fact.

By getting the problem solved through official channels you benefit the 
whole project, whereas building the packages yourself leave the problem 
in place.


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



Re: Debian on a Dedicated Server

2004-07-12 Thread John Summerfield
Kevin Mark wrote:
On Sat, Jul 10, 2004 at 05:08:26PM -0700, Paul Johnson wrote:
 

Stelios Asmargianakis <[EMAIL PROTECTED]> writes:
   

I want to ask why to choose Debian than Fedora or ES for example that
comes with 2.6 kernel and latest packages.
 

Wrong question.  Right question is:  "Why should I chose Fedora or ES
when they ship by default with software that wasn't thoroughly tested,
when I can get a well-tested, rock solid OS from Debian instead?"
   


Hi Paul,
As someone who used to use redhat and now uses debian, I have become
aware of the 'process' that software goes through to get into 'stable'.
I never found out if Redhat had a similar process. Could you or anyone
else shed some light on this? (Because of RPM-hell I never plan to go
back but just are really curious)
-Kev
 

This is not a good place to get an unbiased opinion. If RHL ES is as 
unreliables as Debianistas would have you believe, nobody would be using 
it and Red Hat would be bankrupt.

As you might surmise, neither of those is true.
Warning: my knowledge may be supercede by Fedora.
Red Hat releases untested packages to the public: basically, anthing 
that the RH people are working on goes into rawhide. I'ts about 
equivalent to Sid.

It goes through one, two or even three beta cycles. These are open to 
the public, and I was one of many who participated in Taroon, the beta 
of the current Red Hat Enterprise series.

Problems are discussed and fixes released during the beta cycle. On my 
suggestion, RH opened its RHEN more fully to the beta users - initially 
one had to reregister. FOC, but annoying. RH uses bugzilla (which I 
don't like, but which does a competent job).

I expect that RHEL betas get some serious thrashing from many 
corporates, almost certainly including IBM, Sun, HP etc.After all, they 
want to get it certified on their hardware.

If you want to see who's beating up on Linux, take a look at the Linux 
Test Project which (I think) is at ltp.sf.net - it's not talking to me atm.

You will get any number of people here who will tell you how much more 
stable Debian is than xxx, but I doubt whether the actually have 
measurements to back that view up. Sometimes, newer software is more 
stable than old: I would expeft that in general new kernels are more 
robust than older ones I have a box running RHL 7.3: uses kernel 2.4.20 
whereas Woody is running 2.4.18.

Sometimes you want newer technology because the old won't do the job at 
all. Want to use 11g wireless? The prism54 driver is standard in 
Linux-2.6.5 (might be in the latest 2.4 too, but that's the latest, not 
what's in stable).

Sometimes you want newer technology because it helps get your work done 
better: do a quick check here and  suspect you'll find most  using 
either Sarge or Sid, at least for their desktop.

According to a chap at HP I exchanged email with, all current HP OJ, IJ 
and LJ products are supported on Linux. On Woody? I don't think so.

According to RH when Fedora was announced, it's for those who want 
cutting-edge technology. I guess that means that some will get their 
fingers cut.

RH EL is for those who want a stable, supported environment. To pricey 
for me, but it seems not so for all.

I recall a while back MS was advertising five-nines reliability for 
Windows Server 2000. My guess is that all mainline distros beat Windows 
Server 2000.

Now, if you find some of my posts to RH lists over the years, you will 
find a different view:-)


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



Opteron vs Athlon64 vs Athlon MP vs Athlon XP

2004-07-12 Thread John Summerfield
Okay, Athlon XP is significantly cheaper.
However, one can configure a system with Opteron 14{2,4}, 
Athlon64{28,30}00 and a dual Athlon MP for much the same price.

Has anyone seen any performance data to compare such systems, or have 
experiences to share?
Mobo or other recommendations?

ps I note the Athlon FX cpus are _very_ much dearer than the Opterons. 
Does anyone here know why?


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: Managing huge Mail/ folders (with mutt?)

2004-07-12 Thread John Summerfield
Karsten M. Self wrote:
on Sun, Jul 11, 2004 at 07:18:55PM +1000, James Sinnamon ([EMAIL PROTECTED]) wrote:
 

Dear List,
My ${HOME}/Mail directory is currently nearly 350 Megs in size.  
A lot of it is due to high volume mailing lists such as debian-user  
(48 Meg so far), and this can only get much worse as I join more 
and more high volume lists.

So could anyone tell me how they handle ever growing Mail
folders?  Perhaps 'mutt' is the way to go?
I had thought of splitting the {HOME}/Mail into two and
run a second instance of Kmail, with a different profile,
to handle the mailing lists, but KMail doesn't seem to allow
for this as far as I can tell (perhaps for some good reason).
   

What you want is procmail (or a similar utility).
 

Better, turn on Kmail's expiration processing.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: disk activity monitoring / util

2004-07-12 Thread John Summerfield
Gabriel Granger wrote:
Hi All,
I'm running a server with coldfusion MX 6.1and apache 2 under debian 
of course users are complaining about how slow things are running when 
coldfusion is working with SQL databases on another server.  The other 
server has been checked and seems to be working fine.  I would just 
like to prove to management that the hardware is working fine and the 
the issue is likely to be bad coding.

I've used things like top and free, but this does not give any 
information about what the disks are doing.   Any help would be great.

One of the good things about RH is the software it inflicts on its 
users;-) This one caused lots of confusion when it first appeared. It's 
probably what you want though.

[EMAIL PROTECTED]:~$ apt-cache search sysstat
isag - Interactive System Activity Grapher for sysstat
sysstat - sar, iostat and mpstat - system performance tools for Linux
[EMAIL PROTECTED]:~$
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: Managing huge Mail/ folders (with mutt?)

2004-07-12 Thread John Summerfield
Karsten M. Self wrote:
on Mon, Jul 12, 2004 at 03:49:25PM +1000, James Sinnamon ([EMAIL PROTECTED]) wrote:
 

Karsten and others,
Firstly, thank you all for the responses.
   

NP.
 

On Mon, 12 Jul 2004 02:35 pm, Karsten M. Self wrote:
   

on Sun, Jul 11, 2004 at 07:18:55PM +1000, James Sinnamon 
 


   

So could anyone tell me how they handle ever growing Mail 
 

folders?  Perhaps 'mutt' is the way to go?
   

Procmail, or its equivalents.
 

<...>
 

Of course you would be aware that Kmail's filtering capabilities 
can do something similar to what is done above.  Do you use procmail 
instead of, or as a complement to, a GUI e-mail client such as Kmail?
   

The difference is this:
 - If you use KMail's filtering tools, when you decide to switch to
   another mail client (permanently or temporarially), you lose the
   filtering.
 

It's a standard kmail feature. Most people do not want to come to terms 
with procmail: I've used it, I had some pretty fancy filters that could 
spot most mailing lists, even those I'd never seen before, and drop the 
email into the appropriate folder, creating it if necessary.

Of course, if I changed email client I'd have to change those filters 
too, because the email folder format would likely be different.

Now I have an IMAP email service where per-user procmail filters are not 
possible.

At the time I was using procmail, using it with kmail was unsafe - the 
authors said so.

 - If you use procmail, your filters are independent of your mailer.  I
   can access my mail with mutt, balsa, kmail, evolution, or the shell.
   Procmail doesn't care.
This is the advantage of proper scoping and modularization of tools.
It's a powerful concept.
 

Procmail is fine for handling email at the time of delivery. In this 
case, the email's already in the folders.Kmail folders. Kmail can expire 
old email, all by itself.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Winfax FXM viewer for KDE

2004-07-12 Thread John Summerfield
Clement wrote:
S.D.A. wrote:
On Mon, Jul 12, 2004 at 06:25:43PM +1000 or thereabouts, Clement wrote:
 

To my surprise, after a 2 hours search, I cannot find a KDE viewer 
that can view FXM fax files by Symentec Winfax.  Do you know one?
  

Why does it have to be KDE specific?
 

No, it doesn't.  I mentioned KDE just because I am using it.
There is GQView, which is nothing more than a _Fax viewer_. It should 
display
WinFax image files. I haven't tried it myself on WinFax images tho.

According to the GQView web site, it "Supports most file types if the 
libraries are available on the system".  This means JPG, PNG, TIFF, 
etc.  Unfortunately, the list does not include FXM.

Or do you know of any library that reads Winfax FXM files?
Did u try google?
http://www.google.com/search?num=100&hl=en&lr=lang_en&ie=UTF-8&c2coff=1&q=+linux++reads+Winfax+FXM+files&btnG=Search
http://www.google.com/search?num=100&hl=en&lr=lang_en&ie=UTF-8&c2coff=1&q=+linux++read+Winfax+FXM+files&btnG=Search
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: help

2004-07-12 Thread John Summerfield
Darlene Hunsinger wrote:
I, of course, am a newbie. I can't get my printer or my digital camera 
installed. My nephew installed debian then went to boot camp for 15 weeks. I 
have a root password, but I'm not sure what to do with it. My daughter just 
started college and I really need the printer. I just got the camera and I'd 
really like to download my pics and print some out if the printer worked. I 
have a HP PSC 2110 printer and a Canon PowerShot S410 Elph camera. Please 
tell a computer lingo illiterate how to install the proper linux drivers for 
these two pieces of hardware.
 

Oh well, I'd back your daughter against you, but then I'm not sure what 
"college" means in your area: here it would suggest your daughter is in 
her late teens.

The  good news is both should actually work.  I recently got email from 
a bloke at HP who should actually know saying all current and 
near-future HP PSC-type products are supported by the current HP 
Officejet software.

You didn't say which debian: I assume you're running Sarge and that is 
good news.

Plug in and turn on the camera and the printer.
As root, run this command:
apt-get  -u install hpoj hpoj-xojpanel hptalx hpijs hotplug gphoto2 digikam
It may offer to install more software, that's probably a good idea.
The hotplug packages deals with setting up USB devices you plug in and 
remove while the system's powered up. For you, that's your camera and 
printer.

I think after this your printer will be pretty-much configured, _but_ 
you can't print yet.

gphoto2 provides the drivers for your camera (we hope!), and digikam is 
one of several photo-handling programs. I think digikam (and other like 
programs) ask you a few questions first time you start them, and provide 
means to change their settings later.

You might also want to do this:
apt-get -u install cupsys cupsys-client cupsys-driver-gimpprint 
cupsys-driver-gimpprint-data

Again, if apt-get wants to install more, that's a good idea. These 
packages combine to give you enterprise-class printing support. It works 
well with KDE.

Once that's done, point Konqueror (or other web browser) at 
http://127.0.0.1:631/

Click "manage printers," "add printer" login as root and do what seams best.
When you get to choose the device, your printer should appear as one of 
the USB printers.

At least, my HP 3550 did yesterday:-)
If this is all too much for you
Tell us what town/city/country you live in. Likely someone lives nearby 
and can drop in and help you out, or point you at your local Linux Users 
Group  where someone will be sure to help.

Also, your absent nevvie may be able to help out across the Internet.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: TMDA considered harmful

2004-07-12 Thread John Summerfield
Paul Johnson wrote:
Ask Karsten M. Self. I have no idea where his stuff is. He has written
or researched on a myriad of things. TMDA included.
   

Is Karsten still posting here?
 

Here or d-i. Can't spell his name tho:-) He gave a broken link to his 
website in the last day or so.



--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How Might I Help?

2004-07-12 Thread John Summerfield
[EMAIL PROTECTED] wrote:
Greetings,
I have been using Debian with KDE since December and really love it.  I 
haven't found it to be too challenging, and most of my questions and issues 
were easily answered with research into lists like this one and google 
searching.

 

Don't forget Debian feeds off lots of other projects. You mention you 
use KDE, and some of the things you say lack are probably best addressed 
in KDE (or Gnome).


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: recommendations for a content filter on debian...

2004-07-12 Thread John Summerfield
Ross Tsolakidis wrote:
Hi all,
I'm looking to setup a content filter on Debian.
I need to be able to apply different rules to different IP addresses, if
that makes sense.
Eg:  blocking URL sex.com for 1 IP but not the other, etc...
I would like it to be more than just a URL filter though.
Has anyone had much experience with this, could you point me in the
right direction ?
 

I've tried Dansguardian, at least the Debian versions: there is at least 
one newer.

Waste of time unless you're prepared to spend a lot of time maintaining 
it. Gets too many false positives on innocent sites such as 
theregister.co.uk (try the security link). whirlpool.net.au (discussion 
of broadband issues). In a classroom, you'd want your teachers to have 
admin access to whitelist sites.

OTOH finding how to make ricin's a doddle.
I've used Squidguard: it's an URL filter  and does what it does very 
nicely. There hasn't been a new version of the software for years, but 
the associated blacklists are maintained.

Chastity doesn't seem useful, I didn't get past reading the docs. Seemed 
to have lapsed from lack of interest.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: what package to install a *working* X?

2004-07-12 Thread John Summerfield
Silvan wrote:
Once upon a time, on Woody, all I had to do was apt-get install konqueror, and 
that pulled in X, kdelibs, etc.

I've installed Sid a few different times lately (last few months), and I've 
always had problems getting X.  apt-get install kde pulls in xfree86-common, 
I think, but there's no X, no xinit, no xterm, etc.  I did an install today, 
and there was some breakage that made things even more difficult than usual.  
It was quite a pain in the ass getting an X server installed.  (I wound up 
having to add testing, unstable, *and* experimental to sources.list to get 
around all the broken deps and get everything I needed installed.)

Shouldn't there be one package, or one metapackage that installs a complete, 
working X server with all the support apps, all the screen fonts, etc. 
requires to make the thing useful?  If so, WTF is it?  And why doesn't 
installing konqueror or just any graphical application depend on the 
installation of a working X server anymore?  That hasn't been the case in 
months, and it seems completely broken and wrong-headed to me.  What good is 
konqueror if you can't run it?  Is there some way to run konqueror without an 
X server?  How about kdm?

 

Which xserver?
I install vnc on quite a few boxes. They don't need graphics cards. I 
don't run K on those boxes, but I could.

You don't have to have {x,g,k}dm either.
I suppose it's reasonable to barf if you have _no_ xserver, but it 
shouldn't mandate which one. Just like (IMV) Debian shouldn't inflict 
exim on us:-)


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: OT: Managing huge Mail/ folders (with mutt?)

2004-07-13 Thread John Summerfield
James Sinnamon wrote:
Thanks everyone for all your ideas.  My previously unmanageable
Mail directory will be manageable again very soon, but right now 
I will be putting it on hold until I get my own Mailman server 
working.

Some further questions (feel welcome to post any response to 
debian-user):

On Mon, 12 Jul 2004 09:17 pm, John Summerfield wrote:
 

Better, turn on Kmail's expiration processing.
   

Where do I find this? What sub-menu? Does it allow me the option of putting
e-mails into an archive, or does it just purge them?
 

Choose a folder
Click "Folder" on the menu bar, choose properties.
Read the form.
I think it gets ed.
You can also get the dialogue by right-clicking the folder.
 

Somewhere else, you get to choose _when_ it expires. Probably you don't 
want it asking silly questions all the time, or having to wait an hour 
or two:-)


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.7 questions

2004-07-13 Thread John Summerfield
Bradley Alexander wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I just took the plunge into the 2.6 world, and it rocks. I have a couple of 
lingering issues that I wanted to ask the list about.

1. USB devices - I have a number of USB devices, from an Archos 20GB mp3 
player (which works) to a Cruzer SD card reader and Lexar jump drive (which 
do not). I cannot get my Palm Tungsten E (/dev/ttyUSB1) to sync. All worked 
under 2.4.26. Another thing I noticed was that under 2.4, I would get a 
system beep when I plugged in a USB device. I do not under 2.6.

The Archos, when plugged in, creates /sys/block/hda/hda1, and I can mount 
that. However the SD card and the jump drive (both are 512MB, but it 
shouldn't matter). I have the built-in (on the motherboard) USB1.1 interface, 
and a Belkin 4-port USB2 switch connected to a PCI USB2 interface.

My 2.6 is configured as follows:
SCSI
*   legacy /proc/scsi support
m   SCSI disk support
m   SCSI generic support
*   Probe all LUNs
*   Verbose SCSI error reporting
USB subsystem
*   Host-side USB
*   USB device filesystem
*   EHCI HCD
*   UHCI HCD
*   USB Mass Storage
*   ISD-200
*   USB HID
*   USB input layer
*   USB serial support
*   Handspring/Visor/Palm/Clie driver
2. My wheel mouse-s calibration seems to have changed. When I run TVTime under 
2.4, one click of the wheel setting equalled one channel changed. Under 2.6, 
every click changes the tuner by two channels.

Anybody know a fix for  this behavior other than booting back into 2.4 to use 
usb?
 

_Which_ 2.6.7 kernel are you using?
If you're not using a Debian kernel, then try kernel-image-2.6.6-1-686 
or so as appropriate to your CPU.

A particular point to using a Debian kernel is that (if the kernel team 
got it right) it will pull in all the other stuff you need.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How I killed spam without TMDA

2004-07-13 Thread John Summerfield
Kirk Strauser wrote:
I've been following the thread about TMDA with some interest, mainly because 
I recently started rejecting about 99.9% of incoming spam *without* using 
challenge-response or other load-increasing methods.  For details, read:

   http://subwiki.honeypot.net/cgi-bin/view/Freebsd/FilterMailWithPostFix
 

Is this correct?
   check_sender_access hash:/usr/local/etc/postfix/sender_access
#   ^
   # Access maps for recipients that we always want to accept or reject.
   check_sender_access hash:/usr/local/etc/postfix/recipient_access
#   ^

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.7 questions

2004-07-13 Thread John Summerfield
Bradley M Alexander wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday 13 July 2004 08:22, John Summerfield wrote:
 

_Which_ 2.6.7 kernel are you using?
If you're not using a Debian kernel, then try kernel-image-2.6.6-1-686
or so as appropriate to your CPU.
A particular point to using a Debian kernel is that (if the kernel team
got it right) it will pull in all the other stuff you need.
   

I am using a self-compiled kernel-source-2.6.7-2. As I said, I have all of the 
USB options compiled into the kernel to see whether it was a problem loading 
modules or not. I will try the same with SCSI.

 

Since your setup does not work, try first (as I said) with a standard 
Debian kernel.If that does not work, then others may be able to 
reproduce your problem.

All I can say is I'm using a standard debian kernel and all works as 
expected.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: 2.6.7 questions

2004-07-13 Thread John Summerfield
Thomas Winischhofer wrote:

My wheel mouse-s calibration seems to have changed. When I run TVTime
under 2.4, one click of the wheel setting equalled one channel changed.
Under  2.6, every click changes the tuner by two channels.

I bet you have two mice configured in your XF86Config-4, don't you?
Remove one of them. Mouse events (be it from ps/2, USB or built-in 
whatever) are *all* routed into the *same* device (and oviously 
mirrored in other device nodes for compatibility).

There should only be one mouse section, and it should point to 
/dev/input/mice.

If you have two mouse section, X will see all events twice otherwise.
Thomas


_I_ have two mice configured and it works well. Red Hat has, ever since 
7.1, configured two mice. One day I bought a USB trackball, plugged it 
it and it worked. Without rebooting or even restarting my session.

Currently I'm using a Logitech optical mouse. Yesterday I had problems 
with X not recognising my keyboard - it had been working for days, then 
no-go. So I plugged in a USB keyboard (nicked from my Netvista) and 
plugged it in. The keyboard didn't work, but the PS/2 mouse plugged into 
it came up as a second USB mouse.

I could use either one, and both at once.
Two mice work together fine.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: any last words before I install kernel 2.6?

2004-07-13 Thread John Summerfield
Dan Jacobson wrote:
Any last words before I
# apt-get install kernel-image-2.6-k7
on my home (sid) PC?
Will things break that used to work in 2.4?
 

In those instances where 2,6 didn't work for me, 2.4 was just a boot away.
Be brave
Be bold
Be brash
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: network using processes

2004-07-14 Thread John Summerfield
Chris Hoefler wrote:
Does anybody know a quick way to determine which processes are using which 
network interfaces? Something like lsof, only for network interfaces? I 
have a Debian testing/unstable workstation that seems to be sending and 
responding to a bunch of dns traffic on the local network. It shouldn't 
be doing this, so I want to determine the process responsible.

-
 

Generally (there are probably some exceptions such as dhcpd, arpwatch) 
they don't.. IP/{UDP,TCP} applications open a socket, and having got 
organised send packets "into the air."  The kernel determines which 
interface to send traffic through - that's what the routing tables control.

To see what traffic is going through an interface, use tcpdump or ethereal.
Depending on your entwork topography you can run it on the box under 
question, any other box between the endpoints and/or on a machine on the 
same wired subnet (for this you have to use a non-switching hub)..

Someone the other day remarked how terrrific strace is. tcpdump and 
ethereal are the network equivalents. Ethereal prettier to look at is 
more instructive, but needs a GUI environment.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: tmda (was Re: Attach filter)

2004-07-14 Thread John Summerfield
Brian Nelson wrote:
David Fokkema <[EMAIL PROTECTED]> writes:
 

Probably spammers will invest a lot of time. BUT, so will C-R system
designers. Challenges may require more and more human logical thought,
like little riddles or something, or requiring to actually _read_
something or whatever. 
   

AAARRRGGG
 

Why do you disbelieve David?
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: file descriptor 0 (zero)

2004-07-14 Thread John Summerfield
leela wrote:
Can any one tell me why do u get a file descriptor 0 (zero) even after
not closing the stdin.
Here is my code (partial code)
#define FIFO1 "/tem/fifo1"
#define FIFO2 "/tem/fifo2"
ReadFd = open(FIF01, O_RDONLY, 0);
WriteFd = open(FIF02, O_WRONLY, 0);
When i tried to print ReadFd and WriteFd; i got both the values zero, my gcc 
version is 2.96 under redhat linux . Can any one help me.
 

Perhaps since you're using another distro, you should seek help from 
users of that other distro. I think redhat-devel is appropriate and you 
should be able to find how to subscribe starting from www.redhat.com

OTOH if you reproduce the problem using Debian tools, then you're 
welcome to seek help here.

Red Hat does things differently - such as use a Red Hat-supported fork 
of the compiler.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: any last words before I install kernel 2.6?

2004-07-14 Thread John Summerfield
John van Spaandonk wrote:
On Tuesday 13 July 2004 01:29, Dan Jacobson wrote:
 

Any last words before I
# apt-get install kernel-image-2.6-k7
on my home (sid) PC?
Will things break that used to work in 2.4?
   

I still stick with 2.4 for the following reason.
I use two ethernet cards:
eth0 is connected to the cable modem (it has to be this
particular card because of the MAC address)
eth1 is my home network
2.6 reverses the names eth0 and eth1 
Apparently the PCI scanning order
changed - right, why keep something the same if you can change it? :-)

So for me it will not be possible to simply install 2.6
next to a 2.4 kernel. Each time I will have to manually
reverse the cards in the computer.
In addition, booting 2.6 lost me some modules which I had to insert
manually before 2.4 would work again. I do not exactly remember, but I
think it was a usb module.
So for me it is difficult to try out 2.6 because of these changes.
I guess if I have a good solution for the eth0 eth1 problem I
will try and move towards 2.6. 
 

If your NICs use different drivers, use alias to load them:
alias eth0 3c59x
alias eth1 ee100
For more info:
man modprobe.conf
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: escape chracter

2004-07-14 Thread John Summerfield
Christian Christmann wrote:
Hi,
when I run a telnet session I get the message
"Escape character is '^]'."
I couldn't figure out which buttons I have to hit
to get this ^] .
Any hints?
Probably you all know it ;)
 

Probably.
^ means "hold down the control key," so hold down the control key while 
pressing ] -like holding down the shift key while pressing a to get A.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian Hangs

2004-07-14 Thread John Summerfield
Vijaya S wrote:
Hi all ,
A machine with Debian on it hangs suddenly for no reason.
Below are the snapshots of the file /var/log/syslog
I am not able to figure whats the reason.
The eth0 eepro100 goes down and after rebooting its fine.
But i doubted the line LOWMEM
Is that the reason or any other?
any ideas or suggestins?
718): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a
read-only config source at position 2
Jul 14 21:38:01 sun /USR/SBIN/CRON[782]: (mail) CMD (  if [ -x
/usr/lib/exim/exim3 -a -f /etc/exim/exim.conf ]; then
/usr/lib/exim/exim3 -q ; fi)
Jul 14 21:40:08 sun sz[789]: [ashok] hjtag/ZMODEM: got ZSKIP
Jul 14 21:40:08 sun sz[789]: [ashok] hjtag/ZMODEM: 21304 Bytes, 908 BPS
Jul 14 21:40:13 sun sz[789]: [ashok] mod_PJTAGS.o/ZMODEM: got ZSKIP
Jul 14 21:40:13 sun sz[789]: [ashok] mod_PJTAGS.o/ZMODEM: 4428 Bytes,
906 BPS
Jul 14 22:07:10 sun syslogd 1.4.1#10: restart.
Jul 14 22:07:10 sun kernel: klogd 1.4.1#10, log source = /proc/kmsg
started.
Cannot find map file.
Jul 14 22:07:10 sun kernel: Loaded 245 symbols from 5 modules.
Jul 14 22:07:10 sun kernel: Linux version 2.4.22 ([EMAIL PROTECTED]) (gcc version
3.3.2 (Debian)) #2 SMP Wed Dec 10 18:23:26 IST 2003
Jul 14 22:07:10 sun kernel: BIOS-provided physical RAM map:
Jul 14 22:07:10 sun kernel:  BIOS-e820:  -
0009fc00 (usable)
Jul 14 22:07:10 sun kernel:  BIOS-e820: 0009fc00 -
000a (reserved)
Jul 14 22:07:10 sun kernel:  BIOS-e820: 000f -
0010 (reserved)
Jul 14 22:07:10 sun kernel:  BIOS-e820: 0010 -
0fef (usable)
Jul 14 22:07:10 sun kernel:  BIOS-e820: 0fef -
0fef3000 (ACPI NVS)
Jul 14 22:07:10 sun kernel:  BIOS-e820: 0fef3000 -
0ff0 (ACPI data)
Jul 14 22:07:10 sun kernel:  BIOS-e820: ffb0 -
0001 (reserved)
Jul 14 22:07:10 sun kernel: 254MB LOWMEM available.
Jul 14 22:07:10 sun kernel: On node 0 totalpages: 65264
Jul 14 22:07:10 sun kernel: zone(0): 4096 pages.
Jul 14 22:07:10 sun kernel: zone(1): 61168 pages.
 

In some detail, what hardware? I'm guessing Sun (and not from the host 
name).

You might need to run a serial cable to another box and run syslog's o/p 
through it (if you can) and certainly the kernel messages: you can get 
the kernel messages out like so:
kernel=/boot/vmlinuz console=ttyS0,19200

Regards,
Vijaya
 


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Grid: Globus in Debian

2004-07-14 Thread John Summerfield
Joerg Johannes wrote:
Am Mi, den 14.07.2004 schrieb Dave Howorth um 13:43:
 

Leandro Guimaraens Faria Corsetti Dutra wrote:
   

is there a kind of Globus packet to Debian?
   

	http://apt-get.org./
 

I can't find any reference to globus at that site. Could you be more 
specific with the link, please?
   

You could read what is written there:

apt-get.org is intended as a place for people to share useful APT
(Advanced Package Tool) sources for the Debian operating system.
...
Things to do:
* Search for a package
...

Isn't that clear? Follow the "search" link, type in what you hope
somebody packaged, and you're done. How hard could that be?
joerg
 

Joerg
It would have been more useful had you checked for yourself that it's 
actually there. See:
http://www1.apt-get.org/search.php?query=globus&submit=&arch%5B%5D=i386&arch%5B%5D=all

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian Hangs

2004-07-14 Thread John Summerfield
Frederik Dannemare wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Wednesday 14 July 2004 19:45, Vijaya S wrote:
 

Its present is following directories
/boot/System.map-2.2.20-idepci
/usr/src/linux-2.4.22/System.map
   

Yes, but looking at your log, it seems that your system cannot find this 
file (at least not a System.map that corresponds to your current 
running kernel). Or maybe I'm just misinterpreting your log. 
 

Since when has System.map been important? I thought it was only needed 
for debugging - think ksymoops.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to write a script that recursively check files in a directory with md5sum

2004-07-14 Thread John Summerfield
j smith wrote:
md5sum checks one file a time. i want a script that
recursively check files in a directory.Thanks!
PS: the script's application: in DOS 6, there is
antivirus program called "msav" that check if
executables are changed or infected. such program is
no longer available is Windows, so i want a script
that does this job.
 

find  -type f -print0 | xargs -0 md5sum
-print0 so as to cope well with filenames containing spaces.
-0 to tell xargs the names in the list ar nul-terminated.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to write a script that recursively check files in a directory with md5sum

2004-07-14 Thread John Summerfield
Matthias Czapla wrote:
On Wed, Jul 14, 2004 at 10:09:18AM -0700, j smith wrote:
 

md5sum checks one file a time. i want a script that
recursively check files in a directory.Thanks!
PS: the script's application: in DOS 6, there is
antivirus program called "msav" that check if
executables are changed or infected. such program is
no longer available is Windows, so i want a script
that does this job.
   

find ~ -type f -exec cat {} \;
 

This fails because
cat doesn't check anything - it just copies all files to stdout
It doesn't handle files whose names contain spaces
It's slow because it invokes cat separately for each file. See my 
siggestion.


Regards
Matthias
 


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to write a script that recursively check files in a directory with md5sum

2004-07-14 Thread John Summerfield
Matthias Czapla wrote:
On Wed, Jul 14, 2004 at 02:31:10PM -0700, j smith wrote:
 

Thank you!
Windows has folder names that include space,
Example:"Program Files"
Will that cause trouble for your solution?
   

If the command after the -exec is a "real" program and not a shell
script or something else that interprets it's arguments, it should not
cause trouble.
 

It will cause problems for any program.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD Problem

2004-07-14 Thread John Summerfield
martin f krafft wrote:
also sprach Martin Fluch <[EMAIL PROTECTED]> [2004.07.14.1710 +0200]:
 

  hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
  hdc: packet command error: error=0x50
  hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
  hdc: packet command error: error=0x50
   

Get a new drive, and don't get the cheapest you can find. 20 EUR
drives are just going to suck by definition.
 

Before that,
apt-get install smartmontools
smartctl -a /dev/hdc
You will want to set it up to monitor /dev/hda too.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD Problem

2004-07-14 Thread John Summerfield
Curt Howland wrote:
Martin,
I'm getting exactly the same kind of errors, and the Sony drive I have 
is not a cheap one. Unfortunately, the warrentee is voided if I 
return it to Office Depot with Linux installed instead of XP, so I've 
been putting off letting them have it for fixing.
 

Check with your local consumer affairs people. Voiding the warranty on 
those grounds may be illegal. Also, the manufacturer of your peecee may 
have something to say to your advantage.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: a policy question about stable

2004-07-14 Thread John Summerfield
Ritesh Raj Sarraf wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dear Users,
I'm using Sarge and installed "gaim" to log on to MSN, Yahoo
messengers. I wasn't able to log on to Yahoo. Looking up at
Gaim's IRC channel, I found that the problem had been fixed in
Gaim 0.79.
I know testing(sarge) has delayed updates than stable/sid. My
question is when sarge gets into stable and such problems occur,
how do things get accomplished ?
Does packages like gaim and others remain unusable or their
versions are increased or they are patched ?
 

Packages often remain broken, even if they're completely useless. For 
example selinux. If you want selinux on Woody, Russell Coker will tell 
you where to get a version that works, and it aint Woody.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian policy and security fixes (Was: Re: Debian i386 binaries for Mozilla 1.7 with PostScript available)

2004-07-14 Thread John Summerfield
Jacob S. wrote:
On Wed, 14 Jul 2004 15:07:13 +0200
Paul Dwerryhouse <[EMAIL PROTECTED]> wrote:
 

On Tue, Jul 13, 2004 at 11:26:53PM +0200, Paul Seelig wrote:
   

Hopefully PostScript will soon be enabled in the official Debian
packages again.
 

It appears that it will be re-enabled in 1.7.1:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=256072
Why it can't be re-enabled in 1.7, I don't know. Has anyone worked
out why the maintainer was so stubborn about this issue?
   

Along those lines, isn't there some Debian-policy concerning stuff like
this? I saw someone else ask in a previous thread about Mozilla, but
never saw an answer to it.
Let me say I know it takes a lot of work to build packages and upload
them to the Debian server. I understand that it's not just a matter of
getting it to build right, but also to use the right config options so
that it Just Works(tm) the way Debian is famour for. I really appreciate
all the work Debian Developers do in this regard, but it seems to me
that the Debian Developer for Mozilla is lacking some crucial
experience. 

After all, what knowledgeable DD would remove a feature and upload a new
version based on 3 sentences from a non-dd, without at least 1) checking
with upstream about mentioned exploit 2) look in upstream forums and bug
reports for mentioned exploit 3) get the proper folks to issue a DSA
about the problem and explain why we have to use an inferior product to
fix a non-fixable hole in the superior product.
So, how did said DD become a DD for such an important package as Mozilla
and Firefox if they didn't know such standard procedures?
Is there a Debian policy for forcefully removing a package from a DD's
jurisdiction and assigning it to another DD? Not that I'm not willing to
give the Mozilla DD a second chance, just that this experience has made
me curious about what procedure might be.
 

This is a matter probably better directed to the technical committee.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Can anyone print to an HP inkjet after Cups upgrade? (libcupsys2-gnutls10)

2004-07-14 Thread John Summerfield
Joe Potter wrote:
Hello all,
The above says it all. 

If I am to keep Sarge upgraded, I will have to accept libcupsys2-gnutls10. :-(
This makes my HP 920c print graphics only. I lose text printing. I do not 
print many photos however. I do like to print a little text once in a while!

Any workarounds?
 

My HPIJ 3550 is fine. I'm using KDE & CUPS:
[EMAIL PROTECTED]:~$ dpkg --list '*cups*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: 
uppercase=bad)
||/ Name  Version   Description
+++-=-=-==
un  cups  (no description 
available)
ii  cupsomatic-ppd20040506-1
linuxprinting.org printer support - transition package
ii  cupsys1.1.20final+cvs20040330-4 Common UNIX 
Printing System(tm) - server
un  cupsys-bsd(no description 
available)
ii  cupsys-client 1.1.20final+cvs20040330-4 Common UNIX 
Printing System(tm) - client programs (SysV)
ii  cupsys-driver-gimpprint   4.2.6-7   Gimp-Print 
printer drivers for CUPS
ii  cupsys-driver-gimpprint-d 4.2.6-7   Gimp-Print 
printer drivers for CUPS
un  cupsys-pstoraster (no description 
available)
un  cupsys-pt (no description 
available)
ii  libcupsimage2 1.1.20final+cvs20040330-4 Common UNIX 
Printing System(tm) - image libs
rc  libcupsys21.1.20final+cvs20040330-3 Common UNIX 
Printing System(tm) - libs
ii  libcupsys2-gnutls10   1.1.20final+cvs20040330-4 Common UNIX 
Printing System(tm) - libs
[EMAIL PROTECTED]:~$

KDE got a big update in the past 24 hours, and I've not restarted it yet.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to write a script that recursively check files in a directory with md5sum

2004-07-14 Thread John Summerfield
Matthias Czapla wrote:
On Thu, Jul 15, 2004 at 06:07:26AM +0800, John Summerfield wrote:
 

Matthias Czapla wrote:
   

On Wed, Jul 14, 2004 at 02:31:10PM -0700, j smith wrote:
 

Thank you!
Windows has folder names that include space,
Example:"Program Files"
Will that cause trouble for your solution?
   

If the command after the -exec is a "real" program and not a shell
script or something else that interprets it's arguments, it should not
cause trouble.
 

It will cause problems for any program.
   

Why? Have you actually tried it?
 

I have been caught many times. I mostly remember to use '-print0' these days. 
Sometimes I get it right and use 'xargs -0' first time too,


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to write a script that recursively check files in a directory with md5sum

2004-07-14 Thread John Summerfield
Matthias Czapla wrote:
On Thu, Jul 15, 2004 at 06:06:26AM +0800, John Summerfield wrote:
 

find ~ -type f -exec cat {} \;
 

This fails because
cat doesn't check anything - it just copies all files to stdout
It doesn't handle files whose names contain spaces
   

Hu? I used cat solely for the purpose of showing how to execute
arbitrary commands recursively for each file in a directory tree.
How exactly does cat care about its argument containing spaces?
 

Since he specifically said he wants to use mdsum, it's clearer to use 
the program he said he wants to use.

Try it and see what happens.
The problem is that fragments of file names separated by spaces are 
indistinguishable from filenames separated by spaces.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD Problem

2004-07-14 Thread John Summerfield
Curt Howland wrote:
Oh well, it was a good try.
 

I will confess it suggested it more in hope than expectation, but it's 
an easy thing to try and, at worst, would provide no useful info. OTOH 
IMV everyone should be using it for all their ATA drives.

If you want to know your drive needs to be replaced _now_ this program 
will tell you:-)

---
# smartctl -a /dev/hdc
smartctl version 5.30 Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: SONYDVD RW DW-U50A
Serial Number:EA21DF5E
Firmware Version: 1.5b
Device is:Not in smartctl database [for details use: -P 
showall]
ATA Version is:   6
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:Wed Jul 14 19:16:15 2004 EDT
SMART support is: Unavailable - Packet Interface Devices [this device: 
CD/DVD] don't support ATA SMART
A mandatory SMART command failed: exiting. To continue, add one or 
more '-T permissive' options.
---

 


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to write a script that recursively check files in a directory with md5sum

2004-07-14 Thread John Summerfield
Matthias Czapla wrote:
On Thu, Jul 15, 2004 at 07:14:30AM +0800, John Summerfield wrote:
 

find ~ -type f -exec cat {} \;
 

This fails because
cat doesn't check anything - it just copies all files to stdout
It doesn't handle files whose names contain spaces
   

Hu? I used cat solely for the purpose of showing how to execute
arbitrary commands recursively for each file in a directory tree.
How exactly does cat care about its argument containing spaces?
 

Since he specifically said he wants to use mdsum, it's clearer to use 
the program he said he wants to use.
   

Generally true but in this case the specific command executed by find
is irrelevant.
 

Try it and see what happens.
   

Ok:
<[EMAIL PROTECTED] ~/tmp>find a -type f -exec echo .{}. \;
.a/b  b/file.
.a/ b/ c c/file.
.a/bb  b  /file  with spaces.
.a/file with  spaces.
<[EMAIL PROTECTED] ~/tmp>find a -type f -exec md5sum {} \;
d41d8cd98f00b204e9800998ecf8427e  a/b  b/file
d41d8cd98f00b204e9800998ecf8427e  a/ b/ c c/file
d41d8cd98f00b204e9800998ecf8427e  a/bb  b  /file  with spaces
d41d8cd98f00b204e9800998ecf8427e  a/file with  spaces
Where's the problem?
 

The problem is that fragments of file names separated by spaces are 
indistinguishable from filenames separated by spaces.
   

This is only true when the command line is being split into words, e.g.
by the shell. find's '{}' parameter is given to the command literally
as one of the strings in argv[], it is *not* parsed for token delimiter
characters or anything.
 


I don't use  -exec on find any more because it's slow. When you pipe the 
names into xargs as I do, then spaces cause the problem I described.

For slowness, consider this:
[EMAIL PROTECTED]:~$ find ~ -type f | wc -l
886076
[EMAIL PROTECTED]:~$
and this:
[EMAIL PROTECTED]:~$ find ~ -type f -print0 | xargs -0 | wc -l
3990
[EMAIL PROTECTED]:~$
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to write a script that recursively check files in a directory with md5sum

2004-07-14 Thread John Summerfield
Matthias Czapla wrote:
On Thu, Jul 15, 2004 at 09:05:54AM +0800, John Summerfield wrote:
 

I don't use  -exec on find any more because it's slow. When you pipe the 
names into xargs as I do, then spaces cause the problem I described.
   

Well, until now I didnt even know about xargs' purpose, thanks for the
pointer.
 

For slowness, consider this:
[EMAIL PROTECTED]:~$ find ~ -type f | wc -l
886076
[EMAIL PROTECTED]:~$ find ~ -type f -print0 | xargs -0 | wc -l
3990
   

You're right, xargs is faster (60 times in the case of ls), but only if
the actual command isn't doing very much. For md5sum there is practically
no difference in speed (have just done some measurements).
 

I think the results will depend
md5sum isn't the smallest binary around, but there are larger ones too.
If md5sum gets cached, that's RAM you can't use for something else for a 
while. If not, it may be larger than the files you're handling.

If you're processing a lot of small files, the difference will be huge. 
If you're processing 700 Mbyte ISOs or 9.4 Gbyte DVD images, the 
difference will be immeasurably small.


BTW, what are all those files in your home directory? I have only
about 14000 and thought that this is the biggest mess ever ;)
 

Oh, stuff. source of debs, built and otherwise. CVS checkouts of stuff. 
Documents. Photos (see my sig for some). IBM operating systems.

Lotsa stuff. 12 Gbytes of stuff. Too much stuff.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian Hangs

2004-07-14 Thread John Summerfield
Vijaya S wrote:
Host bridge: Intel Corp. 82810E DC-133 GMCH [Graphics Memory Controller Hub]
(rev 03)
:00:01.0 VGA compatible controller: Intel Corp. 82810E DC-133 CGC [Chipset
Graphics Controller] (rev 03)
:00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02)
:00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02)
:00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02)
:00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02)
:01:04.0 Serial controller: Timedia Technology Co Ltd PCI2S550 (Dual 16550
UART) (rev 01)
:01:05.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev
08)
 

What driver are you using for this NIC? There are two drivers that 
_will_ drive it. One gave me shocking performance and numerous error 
messages.
This one seems fine:
e100

Ny NIC is:
:00:0b.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 
100] (rev 01)

I'm running 2.6.6 now, but I'm pretty sure I fixed the problem on 2.4. 
Certainly I had the problem then.


:01:0a.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev
10)
:01:0a.1 Communication controller: C-Media Electronics Inc CM8738 (rev 10)
And frequently the eth0 goes down
When i reboot and run /sbin/ifup eth0 i get the following error
SIOCSIFADDR:No such device
SIOCSIFNETMASK: No such device
eth0: error while getting itnerface flags.
 

That suggests the driver's not recognising the NIC.
I doubt this eth0
Regards,
Vijaya
John Summerfield wrote:
 

Vijaya S wrote:
   

Hi all ,
A machine with Debian on it hangs suddenly for no reason.
Below are the snapshots of the file /var/log/syslog
I am not able to figure whats the reason.
The eth0 eepro100 goes down and after rebooting its fine.
But i doubted the line LOWMEM
Is that the reason or any other?
any ideas or suggestins?
 


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Debian Hangs

2004-07-14 Thread John Summerfield
Vijaya S wrote:
The driver is eepro100. Its taken automatically when rebooted.
 

That's the one that caused me problems. Try the other
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DVD Problem

2004-07-15 Thread John Summerfield
martin f krafft wrote:
also sprach John Summerfield <[EMAIL PROTECTED]> [2004.07.15.0009 +0200]:
 

apt-get install smartmontools
smartctl -a /dev/hdc
You will want to set it up to monitor /dev/hda too.
   

Uh, your CD-ROM drives are SMART-capable? None of mine are...
SMART support is: Unavailable - Packet Interface Devices [this
device: CD/DVD] don't support ATA SMART
SMART is for harddrives, not CD-R* drives.
 

I don't have any newish CD drives to test against - most of the boxes I 
use don't have CD drives at all, and the drive in front of me is UDMA2 
so I expect too old to be a useful sample.

I don't know  that any of my CD drives are smart-capable, but then I've 
not tested them all either. Do I know they don't exist? No, I don't.

Would it be useful? I think it would.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [Debian-User] NTP problem

2004-07-15 Thread John Summerfield
Didar Hussain wrote:
Hi,
I'm having a problem connecting to the public NTP servers.
I have tried clock.redhat.com, time.windows.com (well...uhmm)
and ntp.debian.org. I use `ntpdate' to synchronise my system 
when I connect to the ISP using dial-up. I have been using
the "-u" option consistently to query the NTP servers, but,
I get the error:

malaika:root# ntpdate -q -u ntp.debian.org
server 192.25.206.10, stratum 0, offset 0.00, delay 0.0
13 Jul 23:21:36 ntpdate[1006]: no server suitable for
synchronization found
Obviously, my ISP is blocking outgoing udp port 123. What, I 
want to know is, does ntp.debian.org have another port open
that will redirect to 123. I will have to use iptables NAT 
table to change the destination port, wonder if it is possible!
 

It's not obvious to me. I use pool.net.org
If you think your ISP's blocking it, why not
a) Ask your ISP whether it provides an NTP or simple NTP server?
b) Ask your ISP whether if does block NTP traffic.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Need help, superblock on reiserfs corrupt

2004-07-15 Thread John Summerfield
FAU wrote:
Hello,
my Debian (stable version) crashed and has corrupted my reiserfs 
partion. Can´t boot/mount it anymore :(.

I started Knoppix from CD and
I tried reiserfsck /dev/hda2 and it tolds me:
"If the partition table has not been changed, and the partition is
valid  and  it really  contains  a reiserfs  partition,  then the
superblock  is corrupted and you need to run this utility with
--rebuild-sb."
Ok then I tried it with the --rebuild-sb switch and it ask me:
"what the version of ReiserFS do you use[1-4]
(1)   3.6.x
(2) >=3.5.9 (introduced in the middle of 1999) (if you use 
linux 2.2, choose this one)
(3) < 3.5.9 converted to new format (don't choose if unsure)
(4) < 3.5.9 (this is very old format, don't choose if unsure)
(X)   exit"

Damn I don´t know the version, I assume it depends on the reiserfs tools
of my stable Debian version.
Does someone know what version is the right with stable Debian?
If at all possible, copy the paritition to a file (on another computer for  
preference) ising dd:
First, get your knoppix organised so you can do passwordless logins either from or to 
it. I'm assuming your doing it from the Knoppix box:
dd if=/dev/hda1 bs=4096 | buffer | ssh backup.example.com \| buffer \
\| dd bs=4096 of=/var/local/backup-reiser.img
or similar.
The use of buffer is optional. May buy something, might not. Also consider using gzip 
or bzip to compress/uncompress data as it crosses the LAN.
You can, of course, backup (more quickly) to a local device, and you can use, eg, nfs 
rather than dd & ssh.
You should read the docs on dd: I may have left something important or useful out.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: file descriptor 0 (zero)

2004-07-15 Thread John Summerfield
Wayne Topa wrote:
John Summerfield([EMAIL PROTECTED]) is reported to have said:
 

leela wrote:
   

John 

Why are you doing this?
From: John Summerfield <[EMAIL PROTECTED]>
Date: Thu, 15 Jul 2004 07:07:31 +0800
To: [EMAIL PROTECTED]   <--?
Cc: [EMAIL PROTECTED]   <--?
Or do I have mutt screwed up??  If so why is it only showing uop on
your mail?
 

It's not your dog.
What I try to remember to do is "replay-all."
Then, because I don't like personal replies, I remove off-list 
recipients. That often leaves the only recipient header being cc:

It may be that tbird gets confused at that point. It doesn't complain, 
but it may generate both cc: and to: headers.

Nobody should get duplicate mail on that account, so I rate it as a 
curio. I will watch though.

In this case there were no email addresses to prune and I fully expect 
one recipient header.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to write a script that recursively check files in a directory with md5sum

2004-07-15 Thread John Summerfield
Sturla Holm Hansen wrote:

BTW, what are all those files in your home directory? I have only
about 14000 and thought that this is the biggest mess ever ;)
 

Oh, stuff. source of debs, built and otherwise. CVS checkouts of 
stuff. Documents. Photos (see my sig for some). IBM operating systems.

Lotsa stuff. 12 Gbytes of stuff. Too much stuff.
Since I'm kinda new at this I just have to ask what's wrong with a
for-loop..
To slow?
I have no idea, but I use something like this to recurse down a tree and
do something with every file:
#!/bin/bash
for i in `find -type f`
do
 whatever you wan't to do, just use $i instead of the filename.
done
It's slower than find .. exec.
However, if I did this:
for f in `find ~'
etc
it would blow up with a too-long commandline. That's why xargs is so 
useful: it knows what the limit is and works around it.

If you want to do lotsa stuff to lotsa files you have two choices:
1. Write a script that does lotsa stuff to all the files mentioned on 
its commandline, and invoke it with the semanitcs I've been recommending or
2. Write a script like this:
find ~ -type f | while read stuff
do lotsa stuff
done.

Both approaches have their placees.
btw I prefer this:
for  f in $(find ~ -type d -depth)
over this:
for f in `find ~ -type d -depth`
Read the man page to find what -depth does. I embarrassed myself over 
that too.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: file descriptor 0 (zero)

2004-07-15 Thread John Summerfield
John Summerfield wrote:

It's not your dog.
What I try to remember to do is "replay-all."
Then, because I don't like personal replies, I remove off-list 
recipients. That often leaves the only recipient header being cc:

It may be that tbird gets confused at that point. It doesn't complain, 
but it may generate both cc: and to: headers.

Nobody should get duplicate mail on that account, so I rate it as a 
curio. I will watch though.

In this case there were no email addresses to prune and I fully expect 
one recipient header.


As predicted, this one only had one recipient address, Another, that I 
sent with just a CC: address arrived back here with two recipent addresses.

So tbird is odd.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: any last words before I install kernel 2.6?

2004-07-15 Thread John Summerfield
John van Spaandonk wrote:
If your NICs use different drivers, use alias to load them:
alias eth0 3c59x
alias eth1 ee100
For more info:
man modprobe.conf
--
   

well, I have two realtek cards, which use the same driver.
So I guess this will not work.
 

:-) You could always replace a card. Let's take a look through this box 
here of Intel and 3com cards.

In your case, there's no substitute for making up your mind real quick. 
In the meantime, be prepared to switch wires around whenever you change 
kernels.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: file descriptor 0 (zero)

2004-07-15 Thread John Summerfield
Wayne Topa wrote:
Nobody should get duplicate mail on that account, so I rate it as a 
curio. I will watch though.

   

Well 'yesterday' I was getting dups on 'most' of your mail.  Odd thing
is they were coming in 2-4 hours 'after' the original.  It was so
sporadic that it got me thinking I had done something here to cause it
 

In this case there were no email addresses to prune and I fully expect 
one recipient header.
   

yep, this mail didn't have the Cc:, or a dupe.
 

I've reported the bug, and asked for this list to get a copy. Feel free 
to add to the report, clarify my inaccuracies etc.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mailing to remote domains not supported

2004-07-15 Thread John Summerfield
Ryan Waye wrote:

A.  This is Debian/GNU Linux list, not a Fetchmail list
B.  Fetchmail does exactly what its name says: Fetch mail.  To send
mail, you need to use a program such as sendmail or exim.
 

Er Ryan
1. Fetchmail is part of Debian
2. The problem  doesn't look to me to be a fetchmail problem.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LPRng, Debian, and OS X

2004-07-15 Thread John Summerfield
Jim McCloskey wrote:
Has anyone here seen this problem, or does anyone know of a fix? And please don't 
let the fix be `change to CUPS'.
 

And what's wrong with CUPS? It's what's on your Mac.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Help compiling mozilla-firefox

2004-07-15 Thread John Summerfield
Reid Priedhorsky wrote:
Hello,
I am trying to build mozilla-firefox 0.8-12 from testing. I'm following
the directions at
. On an
unmodified source tree (fetched with "apt-get source mozilla-firefox"),
the build fails with the following error:
 gcc -o host_nsinstall.o -c -DXP_UNIX -pipe MOZ_OPTIMIZE_LDFLAGS =
-I../dist/include -I../dist/include 
-I/usr/local/src/mozilla-firefox-0.8/dist/include/nspr  -I/usr/include -I/usr/include 
-I/usr/include -I/usr/local/src/mozilla-firefox-0.8/dist/include/nspr  nsinstall.c
 gcc: cannot specify -o with -c or -S and multiple compilations
 make[2]: *** [host_nsinstall.o] Error 1
 make[2]: Leaving directory `/usr/local/src/mozilla-firefox-0.8/config'
 make[1]: *** [default] Error 2
 make[1]: Leaving directory `/usr/local/src/mozilla-firefox-0.8'
 make: *** [build-stamp] Error 2
After grepping around, I found the following lines in config/autoconf.mk,
which looks to me to be a stray backslash:
 MOZ_OPTIMIZE_FLAGS = -pipe\
 MOZ_OPTIMIZE_LDFLAGS = 

If I remove the backslash, then "make distclean" and try to rebuild, I
get the same error, and the backslash has reappeared when I reopen the
file. Furthermore, that file isn't present in the initial unpacking, so I
suspect it is a symptom rather than the problem. config/autoconf.mk.in
looks fine to me.
Can anyone help me fix this? I'm a little baffled.
 


Look for a Makefile.in

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ping server

2004-07-15 Thread John Summerfield
debian user wrote:
i would like to set up a ping server for my office.  I however have 
not found a simple way of  recieving a responce of "dead" or "alive".  
I am not to concerned about time etc?  I just want to ping a few 
servers and then send the results out in a email to a few key 
personal.  Right now I am doing "echo ping -c 3 server-name > file" 
for half a dozen boxes then i email the file to sevel people 
periodicly during the day.  I would like it to be a little eaiser to 
read i.e. "dead" or "alive" after the server name.
thank you,
alex


Don't reinvent the wheel. Install mon.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: hdparm and disk access

2004-07-16 Thread John Summerfield
Forrest Humphrey wrote:
I am getting wireless Internet access from my college and I am wanting
to put Debian on an old AMD K6-2 to serve as my Internet gateway for the
rest of my computers.  However, I want this box to run on as little
power as possible so my question is one from more of a hardware
perspective I guess.  I will be getting Internet access via a Linksys
 

If you want a low-power Linux box, a linksys wrt54g is hard to beat:-)
802.11b USB device plugged into the K6-2 box.  This box will also be the
firewall (using, of course, iptables for NAT and packet filtering), then
routing out through a PCI NIC.  Okay, now say I've used hdparm to
specify that my 2 hard drives in the box should spin down after, say 5
minutes:
hdparm -S 60 /dev/hda
hdparm -S 60 /dev/hdb
 

Why not take the drives out and deploy them elsewhere?
You can run a special-purpose distro such as ipcop or guardian (the 
latter is built from Debian), booting from CD.

Or, if some of the rest of your computers are running Linux, you can 
boot the AMD box off the LAN and mount its filesystem from nfs, ro.

It's hard to crack a box that has a ro-filesystem, and its especially 
hard to keep it cracked if it gets rebooted de temps en temps.

You could also look at pebble: I should have suggested this first, as it 
can turna supported NIC into an AP.

Wireless security is basically broken, so you might consider running a 
VPN (I like openvpn) between the end points and permit no other traffic.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: extern IP

2004-07-16 Thread John Summerfield
Borislav Petkov wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi there guys,
we have a wlan at our dorm and we get all itnernal IPs DHCP-ed. Everything 
works fine but I'd like to run an internal www and therefore need my external 
IP. The problem is, I don't have access to the D-Link router/DHCP server so 
that i could run ifconfig on it. Any ideas are appreciated.
 

If your audience is just the dorm inmates, you don't need to worry about 
any external IP.

If you want people outside to see it, you need to negotiate that with 
the owner of the router because they will need to make a configuration 
change.

Best you have a chat with the owner anyway: it's easier for others in 
the dorm to find you if you have a static IP and you might also want to 
set up a DNS so people can find you at, say, www.dorm.lan.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LPRng, Debian, and OS X

2004-07-16 Thread John Summerfield
Jim McCloskey wrote:
|> And what's wrong with CUPS? It's what's on your Mac.
Well, it's not *my* Mac .  More seriously, I've configured CUPS
before on a different system, and that experience was as horrific as
Eric Raymond's[1].  And using CUPS to solve this tiny problem seems
like overkill in the extreme,
Jim
[1] http://www.catb.org/~esr/writings/cups-horror.html
 

He wasn't using the tools you'd use. I set up an HP 3550 last week. I 
configured CUPS using my web browser. When I chose a "USB" printer, 
there it was.

There were more questions than there should have been, but it beat the 
last version of Red Hat's tool that I used (likely on RHL 7.3, I don't 
recall whether I set it up on my FC2 box and it's out at present).

In KDE, I had to say it's a CUPS printer on that there pooter and that 
was about it. I don't recall that it was harder than setting up a 
printer on my Mac.

If I didn't have all the right software in place, it would have been 
different: OSX installed pretty much everything so when  I came to set 
up an HP LJ1200 it had the drivers.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LPRng, Debian, and OS X

2004-07-16 Thread John Summerfield
Jim McCloskey wrote:
|> And what's wrong with CUPS? It's what's on your Mac.
Well, it's not *my* Mac .  More seriously, I've configured CUPS
before on a different system, and that experience was as horrific as
Eric Raymond's[1].  And using CUPS to solve this tiny problem seems
like overkill in the extreme,
Jim
[1] http://www.catb.org/~esr/writings/cups-horror.html
 

He wasn't using the tools you'd use. I set up an HP 3550 last week. I 
configured CUPS using my web browser. When I chose a "USB" printer, 
there it was.

There were more questions than there should have been, but it beat the 
last version of Red Hat's tool that I used (likely on RHL 7.3, I don't 
recall whether I set it up on my FC2 box and it's out at present).

In KDE, I had to say it's a CUPS printer on that there pooter and that 
was about it. I don't recall that it was harder than setting up a 
printer on my Mac.

If I didn't have all the right software in place, it would have been 
different: OSX installed pretty much everything so when  I came to set 
up an HP LJ1200 it had the drivers.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: LPRng, Debian, and OS X

2004-07-16 Thread John Summerfield
Jim McCloskey wrote:
|> And what's wrong with CUPS? It's what's on your Mac.
Well, it's not *my* Mac .  More seriously, I've configured CUPS
before on a different system, and that experience was as horrific as
Eric Raymond's[1].  And using CUPS to solve this tiny problem seems
like overkill in the extreme,
Jim
[1] http://www.catb.org/~esr/writings/cups-horror.html
 

He wasn't using the tools you'd use. I set up an HP 3550 last week. I 
configured CUPS using my web browser. When I chose a "USB" printer, 
there it was.

There were more questions than there should have been, but it beat the 
last version of Red Hat's tool that I used (likely on RHL 7.3, I don't 
recall whether I set it up on my FC2 box and it's out at present).

In KDE, I had to say it's a CUPS printer on that there pooter and that 
was about it. I don't recall that it was harder than setting up a 
printer on my Mac.

If I didn't have all the right software in place, it would have been 
different: OSX installed pretty much everything so when  I came to set 
up an HP LJ1200 it had the drivers.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ping server

2004-07-16 Thread John Summerfield
Simon Kitching wrote:
On Fri, 2004-07-16 at 16:50, John Summerfield wrote:
 

debian user wrote:
   

i would like to set up a ping server for my office.  I however have 
not found a simple way of  recieving a responce of "dead" or "alive".  
I am not to concerned about time etc?  I just want to ping a few 
servers and then send the results out in a email to a few key 
personal.  Right now I am doing "echo ping -c 3 server-name > file" 
for half a dozen boxes then i email the file to sevel people 
periodicly during the day.  I would like it to be a little eaiser to 
read i.e. "dead" or "alive" after the server name.
thank you,
alex

 

Don't reinvent the wheel. Install mon.
   


From the description above, I think the OP wants *statistics* about the
availability of servers, rather than an alerting system for server
failure. 

There are several good free monitoring packages, including "nagios",
"big sister" and mon.
 Nagios: http://sourceforge.net/projects/nagios
 Big Sister: http://sourceforge.net/projects/bigsister
But for nagios at least, gathering statistics is not its main purpose.
It can be done, but requires a fair bit of reading of manuals to set up.
I'm not familiar with mon or Big Sister, so don't know how good they are
at statistics.
 

Mon doesn't do stats (unless I missed somethng), but it can send alerts 
when something goes down and again when it comes up.

A script to analyse the alerts and generate pretty pics with gnuplot 
shouldn't be hard.



--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: extern IP

2004-07-16 Thread John Summerfield
Borislav Petkov wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi there guys,
we have a wlan at our dorm and we get all itnernal IPs DHCP-ed. Everything 
works fine but I'd like to run an internal www and therefore need my external 
IP. The problem is, I don't have access to the D-Link router/DHCP server so 
that i could run ifconfig on it. Any ideas are appreciated.
 

If your audience is just the dorm inmates, you don't need to worry about 
any external IP.

If you want people outside to see it, you need to negotiate that with 
the owner of the router because they will need to make a configuration 
change.

Best you have a chat with the owner anyway: it's easier for others in 
the dorm to find you if you have a static IP and you might also want to 
set up a DNS so people can find you at, say, www.dorm.lan.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Software to HTMLize a text file?

2004-07-16 Thread John Summerfield
stan wrote:
I've got some ssytem staus reports that are generated by shell scripts and
emailed to various people. Now Iwant to put these up in a wbserver.
Now I know I can just stick the plain old ASCI files in a directory, or I
could rewrite the scripts to add appropriate HTML formating directives. But
I was wondering if there was anything like the tools that convert a plain
old ASCU file to PostScript for HTML conversion?
 

mailman
Set up a mailing list,send the messages to the list.
The archive is in html, gets index for you. Subscribing folk is optional.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unknown Scancode Errors

2004-07-16 Thread John Summerfield
Thomas Adam wrote:
--- Duggan <[EMAIL PROTECTED]> wrote: ]
 

the command "dmesg -n 6" would stop the errors.  Unfortunately I have to
   

While that command can indeed by used at init, it will not solve your
underlying problems.
 

enter this every time I boot up the machine which is very frustrating, 
and I am also concerned that other errors may be filtered out by this 
command.  Can someone advise me how I should deal with this problem?
   

You should look at the scancodes in question. Have a read of 'loadkeys',
'dumpkeys', 'showkey'. They all have manpages. You might also consider
posting some of the errors here to the list. You'll find them in
/var/log/messages
 

They arise from pressing those wondeful Windows keys (second generation) 
such as "back," "forward" etc. I solved the problem by giving the 
keyboard to my wife who wants nothing more than a good GUI.

I will confess I'm surprised the kernel doesn't deal with them more 
silently, like it does with the first-generation Windows keys, by now.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: extern IP

2004-07-16 Thread John Summerfield
Joost De Cock wrote:
Quoting Jon <[EMAIL PROTECTED]>:
 

On Fri, 16 Jul 2004, Joost De Cock wrote:
   

To find out it's address, just do a traceroute:
traceroute debian.org
First address is the dlink internal interface, second address is the one
 

you
   

want. (the public address)
 

When I do this I get:
[EMAIL PROTECTED]:~$ traceroute debian.org
traceroute to debian.org (192.25.206.10), 30 hops max, 38 byte packets
1  * * *
2  * * *
3  * * *
4  * * *
5  * * *
6  * * *
7  * * *
8  * * *

How come? Blocked somewhere? I can't see my firewall blocking anything; do
I need to forward something from the router? I would prefer to use this
method than my links -dump parsing.
   

Yes, looks like the icmp packets are dropped. Oh well, here's another way:
 

traceroute uses UDP. Looks like a tight firewall:-)
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   3   4   5   6   7   >