Re: Replacement for webmin in Debian? was: Debian Weekly News - January 17th, 2006

2006-01-18 Thread Mike Fedyk

Johannes Wiedersich wrote:


Mike Fedyk wrote:


Michael Bellears wrote:

I have a few installs that are using webmin.  What packages in 
debian provide similar functionality in a web based interface?  I 
looked at gosa, but it is ldap centric and didn't seem to provide 
the general purpose web config interface that webmin does.



No reason why I can't.  It's just that one of the reasons why I like 
Debian is that most of what I need is already packaged, and another 
thing I don't have to worry about from the perspective of security 
updates.




but webmin is packaged for debian (package webmin)

http://packages.debian.org/stable/admin/webmin

--at least for stable that I am using.


Yes, but it was just removed from unstable, so it won't be in the next 
stable.



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




Replacement for webmin in Debian? was: Debian Weekly News - January 17th, 2006

2006-01-17 Thread Mike Fedyk



Removed Packages. 22 packages have been [76]removed from the Debian
archive during the past week:

76. http://ftp-master.debian.org/removals.txt

* webmin-* -- Web interface for system maintenance, and modules
  [94]Bug#343897: Request of maintainer, outdated; unmaintained
 

[ please reply to my address also because I am not subscribed to 
debian-user ]


I have a few installs that are using webmin.  What packages in debian 
provide similar functionality in a web based interface?  I looked at 
gosa, but it is ldap centric and didn't seem to provide the general 
purpose web config interface that webmin does.


Thanks,

Mike


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




Re: Replacement for webmin in Debian? was: Debian Weekly News - January 17th, 2006

2006-01-17 Thread Mike Fedyk

Michael Bellears wrote:

I have a few installs that are using webmin.  What packages 
in debian provide similar functionality in a web based 
interface?  I looked at gosa, but it is ldap centric and 
didn't seem to provide the general purpose web config 
interface that webmin does.
   



Any reason you can't use the source version directly from
http://www.webmin.com/? It's trivial to install (Unpack, run setup.sh),
then all future updates are done within webmin.
 

No reason why I can't.  It's just that one of the reasons why I like 
Debian is that most of what I need is already packaged, and another 
thing I don't have to worry about from the perspective of security updates.



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




Re: VMware

2005-07-25 Thread Mike Fedyk




Matias Rollan wrote:

  Hola !

  
  
--- [EMAIL PROTECTED] wrote:



  I just checked out VMware's site and it did not list
Debian as a distro
that it supports.  Has anyone had any problems with
this?  The cost is
$189.00 for the download.  If there is a problem
with VMware, is there an
alternative?

  

  
  
As long as I remember after wmware there was a bunch of people making
something similar called "plex86".

[EMAIL PROTECTED]:~$ apt-cache search 86 |grep -i virtu
plex86 - PC virtualization program to run x86 OSes [dummy package]

Don't forget that the win4lin that supports winxp is based on qemu

apt-get install qemu

If you want it for personal use, qemu might be good, but there are many
enhancements in win4lin that haven't been sent upstream (but will be
eventually).

I haven't used it but read up about it on the qemu lists a while back.

Mike




Re: Making spamassassin nice?

2005-07-25 Thread Mike Fedyk

David Baron wrote:

I am running through procmail. I find that this spawns multiple processes and 
they run at normal priority and bog the system. Do I run with nice in the 
procmail file or better to set somewhere (where?) in a conf file?
 

Use spamc from procmail, and limit the number of spamd processes with 
the command line switch in the /etc/defaults/spamassassin


Mike


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




Re: Making spamassassin nice?

2005-07-25 Thread Mike Fedyk




Jon Dowland wrote:

  On 7/25/05, David Baron [EMAIL PROTECTED] wrote:
  
  
Thanks. /etc/default/spamassassin has limits on child processes and nicelevel
as well.

  
  
Can anyone report on what sort of resources are needed to run
spamassassin adequately? Since the upgrade to sarge, SA has totally
killed our virtual machine. We have the lowest-tier bytemark VM (64MB
mem). With a prefork limit of four processes and maximum nice, spamd
still brings it to its knees. How does dspam compare in resources
usage terms?
  

I would say, set the limit to 1 or 2. Last time I checked, spamd used
~15MB ram per process, but I forget how much was shared between the
processes.

Mike




Re: why do PPP connections die with heavy disk usage?

2005-07-24 Thread Mike Fedyk




Miquel van Smoorenburg wrote:

  On Thu, 2005-07-21 at 14:04 -0400, Daniel B. wrote:
  
  
Miquel van Smoorenburg wrote:



  In article [EMAIL PROTECTED],
Daniel B. [EMAIL PROTECTED] wrote:

  
  
Does anyone know why Linux can't seem to maintain a diald-dialed serial
PPP connection while performing lots of disk I/O, especially on a PIO-mode
IDE disk?

  
  
Because the IDE driver turns off interrupt processing completely
when issuing commands to / reading data from the drive. With DMA,
you don't really notice, in PIO mode, you do ..
  

If it turns off interrupt processing completely, how would, say,
keyboard and timer interrupts get processed?  Wouldn't I be seeing
keystrokes getting dropped occasionally?

  
  
It blocks them, ofcourse. The hardware still sets the interrupt bit.

  
  
Do you mean that interrupt handling is _suspended_ when writing
to/reading from the drive (that is, other interrupts aren't ignored
entirely; just deferred)?

  
  
Same difference :)

  
  



  
Does the kernel not handle serial port interrupts with higher priority
than disk interrupts to make sure that serial data doesn't overrun
buffers?

  
  
Because the IDE driver simply turns all interrupts *off* ...
  

I would think that even if the kernel IDE code had to disable
interrupts while performing a PIO-mode transfer, as soon as it
re-enabled interrupts (at the end of the IDE operation), pending
interrupts would be handled.

Does one IDE operation (in PIO mode) take so long that the
serial port buffer overflows before the disk operation is done?

  
  
Indeed.
  

Are you using a 2.4 or 2.6 kernel?

In the 2.6 kernel, each interrupt is locked and disabled/enabled
individually to avoid problems like this.

  
  
  
Or are pending interrupts not all processed before a subsequent
IDE operation is started?




  To change this, see "man hdparm", -u option.
  

Well, given that the manual page says:

   -u ... Use this feature with caution: some drive/controller
  combinations do not tolerate the increased I/O latencies
  possible when this feature is enabled, resulting in massive
  filesystem corruption.

I'm not about to try that, since the reason I'm using PIO mode
in the first place is because I get massive file system corruption
when I use DMA mode with IDE controllers on my motherboard (Asus
A7M266-D; AMD 762(?) chipset).

  
  
Have you reported this to the kernel IDE maintainers ?
  

Yes, this needs to be reported and fixed or worked around.

Where is your kernel from, and how is it configured? Does it try to
use dma with your drive automatically, or did you have to force it with
hdparm? Post the output from lspci also.

  
  
  
Would setting one of hdparm's sector-count options to a small value
decrease the length of time interrupts are disabled and reduce the
chances of problems with serial communication?

  
  
I don't know, I try to avoid broken hardware :)

Mike.
  

Many times, it is broken drivers.

Mike




Re: Mega Problem with SATA / 2.6.8.* und 2.6.12.*

2005-07-24 Thread Mike Fedyk

news.gmane.org wrote:


Hi NG!

I've got a mega problem with SATA and the above mentioned kernels under
Debian 3.1. I have installed Debian to a PATA 120GB IBM drive on the onboard
controller. As well I have a RAID-5 set (software raid) consisting of 4
samsung sata drives on two pci-controllers with si3112 chipset. Whenever I
 

Get rid of those si3112 based cards, and get a good promise, via or 
3raid based card.


Also, get a 4 port card.  In disaster recovery (replacing a failed 
drive) you don't want to accidentally replace the wrong drive.  And it 
is easy to do that when the drive order can change just by reordering 
the module loading.


Mike


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




Re: cahnging debian version

2005-07-24 Thread Mike Fedyk




Hendrik Boom wrote:

  On Sun, Jul 24, 2005 at 04:30:11PM -0700, Brian Nelson wrote:
  
  
[EMAIL PROTECTED] writes:



  Quoting Alan Ianson [EMAIL PROTECTED]:

  
  

  

  security team.
  

  
  Are you sure i cannot go back to stable ?
  

I don't think so, at least not without reinstalling. You can upgrade

  
  from
  
  
Woody (old stable) to sarge (current stable) or from stable to testing

  
  or
  
  
unstable. But there is no easy way to downgrade.


  
  Yes, you can downgrade. You use the pinning fuction of apt to set
negative
pin numbers on packages.

http://linuxmafia.com/faq/Debian/downgrade.html
  

It's also completely unsupported and fairly likely to break your
system...


  
  
And given the number of packages he'd have to do it to,
not easy.
  

Actually these lines in /etc/apt/preferences would downgrade an
unstable system to testing:

package: *
pin: release a=unstable
Pin-Priority: 711

package: *
pin: release o=Debian
Pin-Priority: 7221

I have done it with a few packages, but never with more than 15
packages or so.

That being said, if you are not on a critical system, and are willing
to learn how to fix things if they break, it's a great way to get
started. ;)




Re: apt-move stable[/-]updates problem

2005-07-24 Thread Mike Fedyk

W M Brelsford wrote:


I've been using apt-move update to populate a local hierarchy for use
by my other machines via nfs:

deb file:/n/di/var/debian stable main contrib non-free
deb file:/n/di/var/debian stable/updates main contrib non-free

Since the sarge release, however, the security updates seem to be
creating/using the directory /var/debian/.apt-move/dists/stable-updates
(rather than .../stable/updates?).  And /var/debian/dists/stable
contains both updates/main/binary-i386/Release and
updates/updates/main/binary-i386/Release etc.  The updated packages, of
course, are not found by apt-get on the other machines.
 


Why not just change the line to:

deb file:/n/di/var/debian stable-updates main contrib non-free



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




exim4, tls failing message delivery

2004-12-16 Thread Mike Fedyk
Hi,
I have a Debian sarge exim4 mail server that is having some trouble 
delivering messages to several clients behind Postini's mail service.

I see these errors in my logs:
2004-12-16 18:35:22 1Cf1IT-0007mU-Ry TLS recv error on connection to 
oomc.com.s8a1.psmtp.com [64.18.7.10]: A TLS packet with u
nexpected length was received.

After doing some googling I found references to Debian bug #249210, but 
exim4 is compiled against libgnutls11, not libgnutls10 which the bug is 
about.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249210
I'm looking for any known workarounds for this bug to get this working.
Here is the relevant information from reportbug:
Package: exim4-daemon-light
Version: 4.34-8
Severity: normal

-- Package-specific info:
Exim version 4.34 #1 built 20-Nov-2004 11:30:44
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (May 26, 2004)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz 
dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'

dc_eximconfig_configtype='internet'
dc_other_hostnames='lists.matchmail.com:quickmail.matchmail.com:matchmail.com'
dc_local_interfaces=''
dc_readhost=''
dc_relay_domains='pinetreepreschool.com:pinetree123.com:pinetreeabc.com'
dc_minimaldns='false'
dc_smarthost='mail.pacbell.net'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname=''
mailname:matchmail.com
-- System Information:
Debian Release: 3.1
 APT prefers testing
 APT policy: (7221, 'testing'), (711, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C
Versions of packages exim4-daemon-light depends on:
ii  exim4-base  4.34-8   EXperimental Internal 
Mailer -- a
ii  libc6   2.3.2.ds1-13 GNU C Library: Shared 
libraries an
ii  libdb3  3.2.9-20 Berkeley v3 Database 
Libraries [ru
ii  libgnutls11 1.0.16-9 GNU TLS library - runtime 
library
ii  libpcre34.5-1.1  Perl 5 Compatible Regular 
Expressi

-- no debconf information

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.5.4 - Release Date: 12/15/2004
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: raid

2004-11-02 Thread Mike Fedyk
Huston wrote:
raiddev /dev/md0
raid-level  5
nr-raid-disks   3
nr-spare-disks  0
persistent-superblock 1
parity-algorithmleft-symmetric
chunk-size  32
device  /dev/sda3
raid-disk   0
device  /dev/sdb1
raid-disk   1
device  /dev/sdc1
raid-disk   2
First of all, I suggest you use mdadm, it has a lot of safe guards that 
are helpful.

And second, but the most important, which device is your root 
partition?  You probably overwrote something.

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



Re: raid

2004-11-02 Thread Mike Fedyk
Huston wrote:
sda3 is the partition for the whole drive where my root, and Linux 
partition reside.  I have three: Linux, root, and whole, which 
encompasses the other two.  Could that have been my problem?  Should I 
have just chosen root or native instead of whole.  Should I partition 
the other disk to be exact replicas of the first one?
I don't understand.
where is / mounted?
where is Linux mounted?
where is whole mounted?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: raid

2004-11-02 Thread Mike Fedyk
Your data is gone.
I don't know why you have a partition that overlaps your others, but you 
have just erased all of your data.

Only use empty partitions for raid.  Then you create a filesystem on 
that and then put data in the partition.

Sorry, I hope you didn't have anything important on that drive, and that 
you had backups.

Mike
Huston wrote:
guess my formatting didn't stay
Device flagStartEndBlock 
IdSystem
/dev/sda10170001708000 
83Linux
/dev/sda2   1700017272278528 
82Linux Swap
/dev/sda3017272
17686528 5Whole disk

That is what I get for getting in a hurry..
- Original Message - From: Huston [EMAIL PROTECTED]
To: Mike Fedyk [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 8:14 PM
Subject: Re: raid

Here is how it is when I hit p after putting in the disk and 
entering the partition a hard drive command.  They are in columns so 
you may have to maximize the window.

Device flagStartEndBlock 
Id System
/dev/sad0170001708000 
83 Linux
/dev/sad1700017272278528 82 
Linux Swap
/dev/sad017272
17686528 5 Whole disk

Those are how my partitions are set.   You can tell me if they are 
wrong, but that is how I have them  I probably should put my swap at 
the beginning of the drive.  Anything else you can throw at me would 
be helpful.
- Original Message - From: Mike Fedyk [EMAIL PROTECTED]
To: Huston [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 7:48 PM
Subject: [Norton AntiSpam] Re: raid


Huston wrote:
sda3 is the partition for the whole drive where my root, and Linux 
partition reside.  I have three: Linux, root, and whole, which 
encompasses the other two.  Could that have been my problem?  
Should I have just chosen root or native instead of whole.  Should 
I partition the other disk to be exact replicas of the first one?

I don't understand.
where is / mounted?
where is Linux mounted?
where is whole mounted?


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





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



Re: raid

2004-11-02 Thread Mike Fedyk
Hardware raid only works with entire disks, but Linux MD raid is more 
flexable.

For a three drive raid5 array, create one partition on each drive that 
is the same size (and doesn't overlap enything else!).  It looks like 
you only have two unused drives -- that's fine.  Create a raid5 array 
sdbX and sdcX and one missing drive (where X is the partition number 
you just created.)

copy over your filesystems, (if you're using an initrd, make sure it 
will detect your array) and boot off of your md array.
Now add your the partition that was in use to your array and you're set.

That is a general overview of the steps, I'm sure more details can be 
found with google, and I strongly suggest you use mdadm, and scrap the 
raidtools package.

Mike
Huston wrote:
That is the way it was recommended by the software to have a whole 
disk partition.  I am okay with the data.  I have it someplace else 
too.  So how should I have my partitions set up?  Get rid of the 
overlapping partitionI am getting that...so I should just have 
a Linux and swap partition
So what partition should I be looking at raiding. the Linux 
partition? What should I have put in my raidtab where the question 
marks are?  I had a 3 for the whole disk.  I am assuming that I should 
just do the Linux partition..  Should my first device be my hard drive 
at 0?I have the OS residing on disk 0.Thanks in advance.

raiddev /dev/md0
   raid-level  5
   nr-raid-disks   3
   nr-spare-disks  0
   persistent-superblock 1
   parity-algorithmleft-symmetric
   chunk-size  32
   device  /dev/sda??
   raid-disk   0
   device  /dev/sdb1
   raid-disk   1
   device  /dev/sdc1
   raid-disk   2

- Original Message - From: Mike Fedyk [EMAIL PROTECTED]
Newsgroups: linux.debian.user
Sent: Tuesday, November 02, 2004 8:40 PM
Subject: Re: raid

Your data is gone.
I don't know why you have a partition that overlaps your others, but 
you have just erased all of your data.

Only use empty partitions for raid.  Then you create a filesystem on 
that and then put data in the partition.

Sorry, I hope you didn't have anything important on that drive, and 
that you had backups.

Mike
Huston wrote:
guess my formatting didn't stay
Device flagStartEndBlock 
Id System
/dev/sda1017000
1708000 83 Linux
/dev/sda2   1700017272278528 82 
Linux Swap
/dev/sda3017272
17686528 5 Whole disk

That is what I get for getting in a hurry..
- Original Message - From: Huston [EMAIL PROTECTED]
To: Mike Fedyk [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 8:14 PM
Subject: Re: raid

Here is how it is when I hit p after putting in the disk and 
entering the partition a hard drive command.  They are in columns 
so you may have to maximize the window.

Device flagStartEnd
Block Id System
/dev/sad017000
1708000 83 Linux
/dev/sad1700017272278528 82 
Linux Swap
/dev/sad017272
17686528 5 Whole disk

Those are how my partitions are set.   You can tell me if they are 
wrong, but that is how I have them  I probably should put my swap 
at the beginning of the drive.  Anything else you can throw at me 
would be helpful.
- Original Message - From: Mike Fedyk [EMAIL PROTECTED]
To: Huston [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 02, 2004 7:48 PM
Subject: [Norton AntiSpam] Re: raid


Huston wrote:
sda3 is the partition for the whole drive where my root, and 
Linux partition reside.  I have three: Linux, root, and whole, 
which encompasses the other two.  Could that have been my 
problem?  Should I have just chosen root or native instead of 
whole.  Should I partition the other disk to be exact replicas of 
the first one?

I don't understand.
where is / mounted?
where is Linux mounted?
where is whole mounted?


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





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



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



MD software raid multiple disk failure recovery help script

2004-11-01 Thread Mike Fedyk
Hi all,
I just wrote a script runs a brute force attack against a raid5 array 
that has had multiple drives removed from an active array.

Yep, that's what I did, and the last resort was (from everywhere I could 
find with google) was to use the old mkraid tool if I had a raidtab.  I 
have been using mdadm for a while now and was not looking forward to 
working with the old tools, and modifying the array manually.

This script will take two arguments, the md device, and then a space 
separated list of devices that are within the array.

Then it will create a new array (make sure you have one missing drive so 
that it doesn't try syncing the disks) with the old disks.  What you're 
trying to do is find the original disk order, and if you fail multiple 
disks, that ordering info is lost AFAIK.

Here[1] are the combinations that would be tried for a four drive raid 
array.  That's 24 combinations for 4 drives, 120 for 5 drives and a 
whopping 720 for 6 drives.  I have four drives, but even running the 
commands and keeping track of the combinations on paper 24 times is enough.

I developed against ash since I need to be able to run this under 
busybox.  It just outputs combinations like[1], and doesn't call any 
commands in this version.  I just need some review of the code for logic 
errors and bashisms (which is what I usually write shell scripts against).

I have attached, and pasted[2] the code.
Thanks,
Mike
[1]
sda3 sdb3 sdc3 sdd3
sda3 sdb3 sdd3 sdc3
sda3 sdc3 sdd3 sdb3
sda3 sdc3 sdb3 sdd3
sda3 sdd3 sdb3 sdc3
sda3 sdd3 sdc3 sdb3
sdb3 sdc3 sdd3 sda3
sdb3 sdc3 sda3 sdd3
sdb3 sdd3 sda3 sdc3
sdb3 sdd3 sdc3 sda3
sdb3 sda3 sdc3 sdd3
sdb3 sda3 sdd3 sdc3
sdc3 sdd3 sda3 sdb3
sdc3 sdd3 sdb3 sda3
sdc3 sda3 sdb3 sdd3
sdc3 sda3 sdd3 sdb3
sdc3 sdb3 sdd3 sda3
sdc3 sdb3 sda3 sdd3
sdd3 sda3 sdb3 sdc3
sdd3 sda3 sdc3 sdb3
sdd3 sdb3 sdc3 sda3
sdd3 sdb3 sda3 sdc3
sdd3 sdc3 sda3 sdb3
sdd3 sdc3 sdb3 sda3
[2]
#!/bin/ash
set -e
#set -x
rotate() {
  local last_var=$1
  shift
  echo $@ $last_var
}
rotate_part() {
   local no_rotate=
   local r_to_shift=$1
   shift
   while [ $r_to_shift -gt 0 ]; do
   no_rotate=${no_rotate# }$1 
  shift
   r_to_shift=$(( $r_to_shift - 1 ))
   done
   echo $no_rotate$(rotate $@)
}
do_it() {
   local shift_factor=$1
   shift
   local my_partitions=$@
   local d_shift=$(( $num_drives - $shift_factor ))
   if [ $shift_factor -lt $(( $num_drives - 1 )) ]; then
   while [ 0 -lt $d_shift ]; do
   do_it $(( $shift_factor + 1 )) $my_partitions
   my_partitions=$(rotate_part $shift_factor $my_partitions)
   d_shift=$(( $d_shift - 1 ))
   done
   else
   echo $my_partitions
   fi
}
#partitions=missing disc0/part2 disc2/part2 disc3/part2
array_dev=$1
shift
partitions=$@
num_drives=0
for i in $partitions; do
   num_drives=$(( $num_drives + 1 ))
done
do_it 0 $partitions
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: MD software raid multiple disk failure recovery help script

2004-11-01 Thread Mike Fedyk
Mike Fedyk wrote:
Then it will create a new array (make sure you have one missing drive 
so that it doesn't try syncing the disks) with the old disks.  What 
you're trying to do is find the original disk order, and if you fail 
multiple disks, that ordering info is lost AFAIK.

Here[1] are the combinations that would be tried for a four drive raid 
array.  That's 24 combinations for 4 drives, 120 for 5 drives and a 
whopping 720 for 6 drives.  I have four drives, but even running the 
commands and keeping track of the combinations on paper 24 times is 
enough. 
I have an update that enforces the missing to avoid array 
reconstruction (which would destroy the data on an array if 
reconstructed improperly).

This version includes code to create the array, and use tune2fs, mount, 
and e2fsck for array construction verification.  Oh, there is a hard 
coded setting of 256K sized chunks, which is very important in recovery.

With all of these combinations, I still haven't found one that passes 
the tests.  Anyone have any ideas?

Thanks,
Mike
#!/bin/ash
set -e
#set -x
rotate() {
   local last_var=$1
   shift
   echo $@ $last_var
}
cut_one() {
shift
echo $@
}
rotate_part() {
local no_rotate=
local r_to_shift=$1
shift
while [ $r_to_shift -gt 0 ]; do
no_rotate=${no_rotate# }$1 
   shift
r_to_shift=$(( $r_to_shift - 1 ))
done
echo $no_rotate$(rotate $@)
}
do_it() {
local shift_factor=$1
shift
local my_partitions=$@
local d_shift=$(( $num_drives - $shift_factor ))
if [ $shift_factor -lt $(( $num_drives - 1 )) ]; then
while [ 0 -lt $d_shift ]; do
do_it $(( $shift_factor + 1 )) $my_partitions
my_partitions=$(rotate_part $shift_factor $my_partitions)
d_shift=$(( $d_shift - 1 ))
done
else
echo -n $my_partitions:
mdadm -S $array_dev  /dev/null 21
mdadm -C $array_dev -c 256 -l 5 -n $num_drives $my_partitions --force --run 
 /dev/null 21 \
 tune2fs -l $array_dev  /dev/null \
 echo tune2fs: $my_partitions  /tmp/abc.log \
 mount -t ext3 $array_dev /mnt/test -o ro \
 echo mount: $my_partitions  /tmp/abc.log \
 umount $array_dev \
 e2fsck -fn $array_dev  \
 echo e2fsck: $partitions  /tmp/abc.log \
 sleep 10
echo
fi
}

#partitions=missing disc0/part2 disc2/part2 disc3/part2
array_dev=$1
shift

#Add missing drive to keep the MD RAID driver from 
#starting a reconstruction thread.
partitions=$@

#Start counting at -1 to account for added missing drive.
num_drives=0
for i in $partitions; do
num_drives=$(( $num_drives + 1 ))
done

[ ! -e /mnt/test ]  mkdir /mnt/test
[ -e /tmp/abc.log ]  mv --backup=numbered /tmp/abc.log /tmp/abc.log.bak

for i in $partitions; do
do_it 0 missing $(cut_one $partitions)
partitions=$(rotate $partitions)
done


Where to put module config with module-init-tools?

2004-09-13 Thread Mike Fedyk
Hi,
What file should I edit to set options for a module at boot time?
I looked at /etc/modules.conf, and it is generated by update-modules, 
but that is a deperciated command, so what is the new way of doing things?

I created /etc/modutils/options[1], and ran update-modules but the 
options I set don't seem to be used by the module.

[1]  echo 'aic7xxx aic7xxx=verbose,pci_parity:1,global_tag_depth:1'  
/etc/modutils/options

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



Re: Where to put module config with module-init-tools?

2004-09-13 Thread Mike Fedyk
Prashant Kumar wrote:
what to do for kernel 2.6 I have similar problem
everytime after reboot  I have to issue modeprobe -k psmouse
in kerne 2.6 and xfree86 how to get rid of it
Why do you have to do that?
The problem should be fixed.  Have you filed a bug report?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Where to put module config with module-init-tools?

2004-09-13 Thread Mike Fedyk
Andreas Janssen wrote:
Add
options aic7xxx aic7xxx=verbose,pci_parity:1,global_tag_depth:1
to some file in /etc/modprobe.d (2.6) or /etc/modutils (2.4). If you use
2.4, run update-modules or update-modules.moditils. Also make sure
that /etc/modprobe.conf does not exist if you use a current version of
module-init-tools.
OK, thanks.
Now, wtf is wrong with this module?!
I can
modprobe aic7xxx aic7xxx=global_tag_depth:1
And get the specified tag depth
and I can:
modprobe aic7xxx aic7xxx=verbose
And it will be verbose.
But I can't:
modprobe aic7xxx aic7xxx=global_tag_depth:1,verbose
When I do I get
aic7xxx: can only take 1 arguments
aic7xxx: `global_tag_depth:1' invalid for parameter `aic7xxx'
or
modprobe aic7xxx aic7xxx=verbose,global_tag_depth:1
and when I do I get
aic7xxx: can only take 1 arguments
aic7xxx: `verbose' invalid for parameter `aic7xxx'
to get both at the same time.
WTF?

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



Strange nss-ldap auth failure

2004-09-10 Thread Mike Fedyk
Hi,
I just did a dist-upgrade to sarge today.  I can login as root 
(obviously) and su to an account via libnss-ldap, but if I try to su 
from any normal user to any other (or the same) user who has their 
account defined in ldap, the authentication fails.

Also, I have other debian linux systems that auth against the same ldap 
server without trouble.  I've gone to the trouble of installing 
libpam-ldap on this system, and that works as well as account names in 
ls -l listings.

-- System Information:
Debian Release: 3.1
 APT prefers testing
 APT policy: (7221, 'testing'), (711, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=C, LC_CTYPE=C
Versions of packages libnss-ldap depends on:
ii  debconf 1.4.30.2 Debian configuration 
management sy
ii  libc6   2.3.2.ds1-13 GNU C Library: Shared 
libraries an
ii  libdb4.24.2.52-17Berkeley v4.2 Database 
Libraries [
ii  libkrb531.3.4-3  MIT Kerberos runtime libraries
ii  libldap22.1.30-3 OpenLDAP libraries

-- debconf information:
* libnss-ldap/dblogin: false
 libnss-ldap/override: true
* shared/ldapns/base-dn: dc=matchmail, dc=com
* shared/ldapns/ldap-server: ldap
* libnss-ldap/confperm: false
* shared/ldapns/ldap_version: 3
 libnss-ldap/binddn: cn=proxyuser,dc=example,dc=net
* libnss-ldap/nsswitch:

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



How to send jobs to a SCSI printer with cups?

2004-09-09 Thread Mike Fedyk
Does the scsi backend use SG (SCSI Generic) device files to send the 
jobs to a printer?

I have been unable to find device file names to use for the backend.
Also my goal is to be able to send PCL to this printer:
Host: scsi1 Channel: 00 Id: 05 Lun: 00
 Vendor: HP   Model: HP5000/C50   Rev: 305
 Type:   Printer  ANSI SCSI revision: 02
It is an Oce PageStream 372 high speed continuous printer.
Any ideas or hints welcome.
P.S.  This is an effort to switch our print spooling from proprietary 
main frame IPDS over Bus  Tag to PCL over SCSI[1] using open source 
software[1].  Anyone interested in this project, send me a message.

[1]
Native TCP/IP is not supported on this printer controller without an 
upgrade to the printer costing several tens of thousands of dollars.

[2]
Actually there are two steps, the first outlined above with DocuRight 
generating the PCL, and cups spooling it to the printer.  The next step 
is to use PlanetPress to generate PostScript that GhostScript RIPs to 
PCL.  If anyone knows of a production quality open source layout program 
that is targeted toward printing variable data and generates PostScript 
optimized for high (400PPM) print rates, then please let me know.  If 
not, then I'm still looking for OSS PS and EPS manipulation tools.

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



Re: Load shoots very high with disk activity

2004-09-07 Thread Mike Fedyk
Danie Roux wrote:
On Mon, Sep 06, 2004 at 02:09:47PM -0700, Mike Fedyk wrote:
 

Danie Roux wrote:
   

Using XFS, and kernel 2.6.8.
In the past two weeks I noticed that my PC load shoots up on anything that
needs disk activity. The CPU's are quiet during all this:
top - 17:04:09 up  6:07,  3 users,  load average: 2.25, 1.88, 1.37
Cpu0  : 10.3% us,  4.0% sy,  0.0% ni, 76.3% id,  8.7% wa,  0.7% hi,  0.0%
Cpu1  : 11.3% us,  3.3% sy,  0.0% ni, 70.4% id, 15.0% wa,  0.0% hi,  0.0%
It gets so bad that the mouse starts jerking!
Does anyone have some advice on where to start looking for optimizing?
(hdparm -t looks fine)
 

How about disk subsystem info?  IDE, SATA, or SCSI?  Controller?  Memory?
Are you reading a bunch of small files or large files?
   

Sorry about that:
512M RAM
Single IDE drive: 
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
On my running 

hdparm:
/dev/hda:
 Timing buffered disk reads:  168 MB in  3.03 seconds =  55.51 MB/sec
And a simple aptitude dist-upgrade would make my mouse start jerking.
Are you running any binary modules?
What is the prioroty of your X server?
run vmstat 1 during the jerkiness. Is it swapping?
Mike
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Using debian as backup authentication for win2003 AD server?

2004-09-07 Thread Mike Fedyk
Leandro Guimaraens Faria Corsetti Dutra wrote:
Em Tue, 07 Sep 2004 02:50:04 +0200, Mike Fedyk escreveu:
 

Can I setup a linux based system to act as a backup kdc to the
win2003 server?
   

Youd better check up the Samba documentation for that.
	It was scheduled to be included in Sambas capabilities, but
perhaps youll have to run a quite recent package from unstable or
even an experimental one.
 

No, I'm thinking of using kerberos and ldap instead of samba for this.
But you're probably right that the samba people would know best.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: how to know whether the sarge iso including sata_via

2004-09-06 Thread Mike Fedyk
Li Daobing wrote:
Hello,
I want to install debian-sarge on my computer. the harddisk on my
computer is  VIA-SATA, my debian sarge install cdrom can't detect my
harddisk, I want to download the newest version, but i don't know
whether the newest version include sata_via module to detect my
harddisk. how to know whether the sarge iso include sata_via?
Or may i create a sata_via driver softdisk, how to do that?
Any advice, comment, RTFM with pointers is welcome.
 

I booted into linux26 at the sarge iso boot prompt and installed on 
such a system.

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



Re: need iptables port forwarding help!

2004-09-06 Thread Mike Fedyk
Tom Vier wrote:
On Thu, Sep 02, 2004 at 05:45:31PM -0700, Mike Fedyk wrote:
 

I suggest you use the shorewall package.
It adds enough abstraction to be powerful without getting in your way, 
and has very good documentation.
   

unforunetly, i can't even get masq to work right with it. 8(
also, i can't get any of the rules anyone posted in this thread to work. i
appreciate the replies, though.
Did you copy the apropriate files to /etc/shorewall?
What changes did you make?
did shorewall restart give any errors?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Load shoots very high with disk activity

2004-09-06 Thread Mike Fedyk
Danie Roux wrote:
Using XFS, and kernel 2.6.8.
In the past two weeks I noticed that my PC load shoots up on anything that
needs disk activity. The CPU's are quiet during all this:
top - 17:04:09 up  6:07,  3 users,  load average: 2.25, 1.88, 1.37
Cpu0  : 10.3% us,  4.0% sy,  0.0% ni, 76.3% id,  8.7% wa,  0.7% hi,  0.0%
Cpu1  : 11.3% us,  3.3% sy,  0.0% ni, 70.4% id, 15.0% wa,  0.0% hi,  0.0%
It gets so bad that the mouse starts jerking!
Does anyone have some advice on where to start looking for optimizing?
(hdparm -t looks fine)
How about disk subsystem info?  IDE, SATA, or SCSI?  Controller?  Memory?
Are you reading a bunch of small files or large files?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: need iptables port forwarding help!

2004-09-06 Thread Mike Fedyk
Tom Vier wrote:
On Mon, Sep 06, 2004 at 01:43:36PM -0700, Mike Fedyk wrote:
 

Did you copy the apropriate files to /etc/shorewall?
What changes did you make?
did shorewall restart give any errors?
   

no errors. here's a tarball of my config. i didn't add the stuff for dnat.
thanks for the help.
First of all before I even look at the contents of the files, gunzip the 
masq.gz file in /etc/shorewall.

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



Re: gnumeric or oocalc

2004-09-06 Thread Mike Fedyk
Richard Lyons wrote:
On Monday 06 September 2004 21:43, Paul Gear wrote:
[...]
 

I have another criteria which you may or may not find relevant: is it
cross-platform.  This is a critical issue to me, because i need to be
able to recommend the tool to the end users i support, and most of them
still use Windows or Mac.  Therefore, if there is a cross-platform
solution that works (i.e. OpenOffice.org), i recommend it.  I do the
same with browsers and email (Mozilla/Firefox/Thunderbird).
   

But gnumeric can read and write excel format files, so less of a problem...
He meant will gnumeric run on windows or mac...
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Using debian as backup authentication for win2003 AD server?

2004-09-06 Thread Mike Fedyk
Right now, I have one win2003 server running AD, and all of my (debian) 
linux servers authenticating against an openldap server with libnss-ldap 
(but not libpam-ldap).

After doing a little research, it looks like I can easily install 
libpam-krb5 point it at the win2003 server, and use that for password 
verification, but that brings up another issue.

Can I setup a linux based system to act as a backup kdc to the win2003 
server?  Or should I just setup the kdc and ldap servers on linux and 
have the windows machines authenticate against that?

Also, what about krb5 and heimdal?  Both are available in debian, but 
why would I want to use one or the other?

Opinions, tips and links welcome.
Mike
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: need iptables port forwarding help!

2004-09-02 Thread Mike Fedyk
Tom Vier wrote:
i've tried several times, using multiple different rules i've found from
different sites, and i still can't get port forwarding working. does anyone
have working rules they could send me? i'm trying to forward packets from my
isp to port  to an internal ip (i use nat) and port 22.
I suggest you use the shorewall package.
It adds enough abstraction to be powerful without getting in your way, 
and has very good documentation.

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



[OT]Ghostscript Lists?

2004-07-23 Thread Mike Fedyk
I've looked at the archives for AFPL and GNU Ghostscript, and it doesn't
seem like very many people are there, except for a couple here and there
exchanging patches on the AFPL list, and complete spam on the GNU list.
I'm looking at using GhostScript to convert PostScript to PCL for an Oce
PS372 production printer.  It prints 372 images per minute on
continuous paper, and since the pages are 2up (two pages next to each
other on the same paper to be cut down the middle later) that's 744
pages per minute.
While I expect I'll be able to handle the setup myself, it would be nice
to have a list of other GhostScript users to work with.  Anyone know
where all of the ghostscript hackers and users hang out?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Network Filesystem: NFS or Distributed?

2004-07-02 Thread Mike Fedyk
Stephen Patterson wrote:
On Fri, 02 Jul 2004 01:00:15 +0200, Mike Mestnik wrote:
 

I see the need for a distributed database and all, what I'm not finding is
a step by step howto.  Something on the lines of type this in.  I had
installed openafs-fileserver(deb-pkg) on paladen but that didn't seam to
help any.  Any one with experiance might help by inproving the pkg's
debconfig:)
Is NFS still the right choice for me?
To set that up, I echo $path-to-share client(rw)  /etc/exports; and
apt-get.
   

NFS will work, though that is centred on having 1 server and multiple
clients connected to it. For a more distributed setup, you may find
coda useful, though when I checked 2+ years ago it only supported
~15MB shares.
No, I don't think so.  If you want anything it's OpenAFS for distributed 
network filesystems.

With coda, you have to wait until the entire file is transferred to your 
system before you can see one byte in userspace and that's a design 
decision because of their disconnected operation feature.

OpenAFS has a larger community around it, but it does take a lot of 
setup to get it working (I plan to, but haven't set it up myself yet).

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



Debian Installer + MD RAID? was: Debian Installer + LVM

2004-07-01 Thread Mike Fedyk
Alexei Chetroi wrote:
  I've just tried beta-3 of Sarge installer and I have to say that I'm
impressed. Great job, folks. I've installed my current system from
beta-2 on lvm, beside root partition, but in beta-2 me had to format
physical volume from shell, as I didn't find how to do it from
installer. 
When will there be MD support in the debian installer?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



sh scripting framework project?

2004-07-01 Thread Mike Fedyk
I have a few scripts I've written, that each have various levels of 
reporting errors.

I'd like to unify the error reporting, and initialization as much as 
possible.

One thing I just thought of was to write a wrapper that creates a 
different email based on exit code.

The thing is, I'd rather work with a project than roll my own.
Does anyone know of an OSS project that does something like this?
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Graphical resolution changer for Xfree86?

2004-03-17 Thread Mike Fedyk
Hi,

I was reading some reviews of other distributions, and they had a 
graphical control panel that allowed you to change your resolution 
without restarting X11.

Does Debian have anything like that?

Thanks,

Mike

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



Clicking on a folder in the left pane of the KDE 3.1 file manager tries to drag folder

2004-03-17 Thread Mike Fedyk
Hi,

I'm running KDE 3.1 in Sarge, and whenever I click on a folder in the 
left pane of the KDE file manager, it acts as if I was dragging the 
folder but I have lifted my finger off of the mouse button.

Has anyone else seen this?

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



Re: Graphical resolution changer for Xfree86?

2004-03-17 Thread Mike Fedyk
Haim Ashkenazi wrote:
Mike Fedyk wrote:


Hi,

I was reading some reviews of other distributions, and they had a
graphical control panel that allowed you to change your resolution
without restarting X11.
Does Debian have anything like that?
if you're using sid and KDE 3.2 you can use krandrtray. I remember that
gnome had one too, but I don't remember the details.
OK, I found gvidm[1] (doesn't depend on Gnome), but it only changes the 
resolution of the screen, but the resolution of the X desktop.

Does anyone know if krandrtray will change the desktop resolution also?

[1]
Package: gvidm
Priority: optional
Section: x11
Installed-Size: 66
Maintainer: Ola Lundqvist [EMAIL PROTECTED]
Architecture: i386
Version: 0.3.1-4
Depends: libc6 (= 2.2.4-4), libglib1.2 (= 1.2.0), libgtk1.2 (= 
1.2.10-4), xlibs ( 4.1.0)
Filename: pool/main/g/gvidm/gvidm_0.3.1-4_i386.deb
Size: 13682
MD5sum: 21e54672a7c2f6b45a89fba2ff1b1dfd
Description: Gtk app to quickly and easily change video resolutions in X.
 Running gvidm will pop up a list of available modes and allows the user
 to select one if desired. This makes it perfect for running from an
 application menu or a hotkey, so you don't have to use ram for an applet
 constantly running. If you are running dual or multi-head displays, it
 will give you a list of screens so you can select the appropriate one.

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



Re: Graphical resolution changer for Xfree86?

2004-03-17 Thread Mike Fedyk
Paul Johnson wrote:
Mike Fedyk [EMAIL PROTECTED] writes:


I was reading some reviews of other distributions, and they had a
graphical control panel that allowed you to change your resolution
without restarting X11.
Does Debian have anything like that?


C-M-+ and C-M-- are your friends.
Yes, I know about those.  Sorry I didn't mention that.

That changes the resolution of your screen, but not your working area 
resolution.

Is there anything that does this without restarting X?

Thanks,

Mike

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



Tiered bayesian spam filtering

2004-03-09 Thread Mike Fedyk
I've been thinking of setting up a two tier bayes system for my users.

Have a global (wait! hear me out...) bayes database used by all users,
and a user specific bayes database also.
When you train the per user bayes database, you're also training the
global bayes database.
The global database would have 50% or 75% of the scoring or something
like that.
Has this already been done?

Mike

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



Re: Remote shutdown windows server from Debian Linux?

2004-03-07 Thread Mike Fedyk
Philippe Marzouk wrote:
On Sat, Mar 06, 2004 at 11:06:30PM -0800, Mike Fedyk wrote:

Hi,

I have a few Linux and Windows servers hooked up to the same UPS.

Is there command that will send the signal to a windows server to 
shutdown and turn off in Debian Linux (ie, already packages)?  And if 
not, is there something like that at all?



There is a NUT client called WinNUT which could maybe do what you want.
NUT is packaged in Debian; for WinNUT see http://www.networkupstools.org
in the 'client projects' section.
This looks great.  I'll give it a try.

Mike

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



Send Page not working with Mozilla-FireFox Mozilla-ThunderBird

2004-03-07 Thread Mike Fedyk
When I select the menu option in FireFox, there is no response.

I checked /etc/alternatives, but there wasn't anything there for MUA.

What do I need to do to get this working?

Mike

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



Remote shutdown windows server from Debian Linux?

2004-03-06 Thread Mike Fedyk
Hi,

I have a few Linux and Windows servers hooked up to the same UPS.

Is there command that will send the signal to a windows server to 
shutdown and turn off in Debian Linux (ie, already packages)?  And if 
not, is there something like that at all?

Thanks,

Mike

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



Gigabit Ethernet switch using Linux?

2004-03-02 Thread Mike Fedyk
Hi guys,

I've been looking at prices for a managed gigabit Ethernet switch, and 
thought the prices are a bit up there... :-/

All of the features I need could be provided by Linux, but the question 
is.  Can I get hardware that'll give me 12-16 gigabit ports in one computer?

Are there multi-port gigabit Ethernet cards?

I'm sure I'd need 64bit PCI as well as 64bit PCI cards to handle the 
bandwidth.

Anyone ever looked into this before, and have any pointers?

Thanks in advance.

Mike

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



Re: LILO

2004-03-01 Thread Mike Fedyk
Kent West wrote:
No. Boot up off your installer CD, go through the installation as far as 
mounting / and /usr, but DO NOT partition/initialize (skip those steps). 
Then shell out via Alt-F2. Run chroot /target. Now you can edit 
/etc/lilo.conf to fix whatever problems it has, then run lilo. exit, 
Alt-F1 back to the installer, choose Reboot system and remove the 
installer CD. Hopefully you're now fixed. If not, provide more info 
(error messages, etc) (and please, don't top post).
And what if your root is on raid1?  Woody's installer doesn't support 
that AFAIK, so I typically boot into knoppix and reconstruct my arrays 
manually (since they don't fscking build in the raid modules to be able 
to do auto-detection ARGH!) and re-run grub/lilo.

More recently, I've had to switch back to lilo since update-grub refuses 
to work if your / or /boot is on a raid1.  :(

Mike

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



Re: system performance monitor

2004-02-26 Thread Mike Fedyk
Andy Fish wrote:
Hi,

I am new to debian and I'm looking for some kind of performance monitor that
gives an instantaneous readout of typical performance indicators like
memory, cpu and network bandwidth. it should be terminal based if at all
possible as the machine is hosted and doesn't have X installed.
You might want to check out an rrdtool based graphing system.  I use 
lrrd/munin but there are others like cricket and etc.  You can view the 
output in a local web browser.

Also, check out ntop and top for console based tools.

Mike

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



Re: Thunderbird empty - anyone else ?

2004-02-26 Thread Mike Fedyk
Stewart wrote:
Uwe Dippel wrote:

After the latest upgrade, Thunderbird opens without problem, but does not
show anything. Just the title. No Icon, no menu. It does not complain
either.
Any idea; anybody else experiencing this ?
 

Yes.

It happened when I upgraded TB from 0.5-1 to 0.5-2.

The old mozilla solution appears to work:  move
~/.mozilla-thunderbird, purge thunderbird, reinstall, move 
~/.mozilla-thunderbird back.

It's far from the ~debian way~, but maybe something more elegant may yet 
appear. In the meantime, I'm using balsa and dabbling with thunderbird 
until it's a little less unstable.
in TB 0.5-2 there was a major packaging change, and there was a mixup. 
TB itself is quite stable at this point, this was just a packaging issue.

I'm sure the maintainer will find the problem and make a -3 sometime 
next week.

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



Re: [Fwd: Re: Anti-aliasing fonts in OpenOffice vncserver]

2004-02-24 Thread Mike Fedyk
Mike Fedyk wrote:
Mike Fedyk wrote:

Tim Waugh wrote:

The fontconfig library does client-side text rendering.


Thanks.  I looked it up and it looks like it's freetype that does the 
rendering.

There's a new package in Debian Unstable and the changelog mentions 
freetype changes.  I'm downloading that now.

Boo!  That didn't help. :(

Changed my color depth from 16bit to 24bit, and now OpenOffice has 
anti-aliased fonts!

With 16bpp, xvncviewer 3.3.7 is very snappy, but vncviewer 3.3.7 on 
Win2k Pro is not nearly as snappy and uses a lot of CPU on the client. 
Raising my color depth to 24 also made the viewer faster on windows 
(over a 100Mbps LAN) surprisingly enough.

I'm happy.  :-D

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



PostScript - samba - PDF - email attachment

2004-02-21 Thread Mike Fedyk
Hi,

I'm going to setup PDF printing, instead of Adobe Acrobat Pro to 
generate PDFs for my users.

I could write up a shell script, but why duplicate work if it's already 
done?  Anyone know of anything that'll help me with this, or any tips 
and tricks I should know?

Thanks.

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



xf4vnc packaged for debian?

2004-02-21 Thread Mike Fedyk
Hi,

I'm setting up a Linux Terminal Server and the lack of anti-aliasing for 
some applications isn't very appealing to the eye.

xf4vnc supports the Render X11 extension, and I'm writing to this list 
looking for experiences with it, and to see if it happens to be packaged 
for debian on some external repository...

Thanks,

Mike

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



Re: [OT?] Re: PostScript - samba - PDF - email attachment

2004-02-21 Thread Mike Fedyk
Mark Roach wrote:

On Sat, 2004-02-21 at 00:19 -0800, Mike Fedyk wrote:


I'm going to setup PDF printing, instead of Adobe Acrobat Pro to 
generate PDFs for my users.


I assume this means that your users are on Windows, right? If that is
the case, you should check out redmon. That would almost certainly be
easier than writing a new cups driver. See http://www.dominux.co.uk/
ghostscript.html for more info. 
Hmm, interesting.  It's good to know it can be done easily in a 
windows-only shop.

But I'm not interested in installing that on all of my workstations.

I'm more looking for a solution that uses cups/lprng/lpr to queue to 
ps2pdf then to a file that will be emailed to the user.

If there are scripts already in debian I'd like to use them, or extend 
them for my needs.

Thanks,

Mike

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



Re: [OT?] Re: PostScript - samba - PDF - email attachment

2004-02-21 Thread Mike Fedyk
Marc Wilson wrote:

On Sat, Feb 21, 2004 at 07:59:58PM -0800, Mike Fedyk wrote:

I'm more looking for a solution that uses cups/lprng/lpr to queue to 
ps2pdf then to a file that will be emailed to the user.


How about this, which is more than likely a gross hack, but works for me?
OK, this looks workable.  I'll send you a cleanup patch once I get it 
working the way I want.

Which debian package do you think would be a good candidate to submit 
this to (after the cleanup of course) as an example script?

Mike

*
/etc/printcap:
*
pdf|pdfwriter|PDF_Writer
:sd=/var/spool/lpd/pdf
:lp=/dev/null
:if=/usr/local/bin/pdffilter
:mx#0
:sh
:rg=printers
*
/usr/local/bin/pdffilter:
*
#!/bin/bash
# pdffilter - take in postcript, output PDF, mail to submitter
# Marc Wilson ([EMAIL PROTECTED])

# uncomment the following line to enable entirely too much output...
#DEBUG=yes
ENSCRIPT=/usr/bin/enscript
ENSCRIPTOPTS=-Bh -M letter -p -
GS=/usr/bin/gs
GSOPTS=-q -dNOPAUSE -dSAFER -sBATCH -sDEVICE=pdfwrite -r600 -dPDFSETTINGS=/default
MUTT=/usr/bin/mutt
LOGGER=/usr/bin/logger
FACILITY=lpr.debug
TEMPORARY=`mktemp /tmp/pdfwrite_`

JOBNO=000`echo $CONTROL | cut --delim=+ -f 2 | cut --delim=  -f 1`
CONTROLFILE=hfA`echo $JOBNO | sed 's/.*\(...\)$/\1/'`
MAILTO=`cat $CONTROLFILE | grep ^P | cut --delim== -f 2`
INPUTFILE=`cat $CONTROLFILE | grep ^J | cut --delim== -f 2`
OUTPUTFILE=/tmp/`echo $INPUTFILE | rev | cut --delim=/ -f 1 | rev`.pdf
if [ ! -x $MUTT ] || [ ! -x $ENSCRIPT ] || [ ! -x $GS ]; then exit 1 ; fi

if [ $DEBUG ]; then
$LOGGER -p $FACILITY pdf: TEMPORARY   = $TEMPORARY
$LOGGER -p $FACILITY pdf: JOBNO   = $JOBNO
$LOGGER -p $FACILITY pdf: CONTROLFILE = $CONTROLFILE
$LOGGER -p $FACILITY pdf: MAILTO  = $MAILTO
$LOGGER -p $FACILITY pdf: INPUTFILE   = $INPUTFILE
$LOGGER -p $FACILITY pdf: OUTPUTFILE  = $OUTPUTFILE
fi
# save the input stream

cat  $TEMPORARY

# let's make sure of what this job is BEFORE we try to print it, shall we?

if (file $TEMPORARY | grep PostScript /dev/null 21); then
# ok, it's PS, use ghostscript to print it
if [ $DEBUG ]; then $LOGGER -p $FACILITY pdf: Input to PDF filter is 
PostScript ; fi
$GS $GSOPTS -sOutputFile=$OUTPUTFILE $TEMPORARY
if [ $DEBUG ]; then $LOGGER -p $FACILITY pdf: Mailing result to $MAILTO ; fi
$MUTT $MAILTO -s Your PDF print job '$INPUTFILE' -a $OUTPUTFILE  /dev/null
rm $TEMPORARY
exit 0
elif (file $TEMPORARY | grep text /dev/null 21); then
# not PS, file(1) thinks it's text so go with that
if [ $DEBUG ]; then $LOGGER -p $FACILITY pdf: Input to PDF filter is ASCII 
text ; fi
$ENSCRIPT $ENSCRIPTOPTS $TEMPORARY | $GS $GSOPTS -sOutputFile=$OUTPUTFILE -
if [ $DEBUG ]; then $LOGGER -p $FACILITY pdf: Mailing result to $MAILTO ; fi
$MUTT $MAILTO -s Your PDF print job '$INPUTFILE' -a $OUTPUTFILE  /dev/null
rm $TEMPORARY
exit 0
else
# it's not PostScript, and it's not text, so fail out
if [ $DEBUG ]; then $LOGGER -p $FACILITY pdf: ERROR: Unrecognizable input to 
PDF filter ; fi
exit 1
fi
Ugly, huh?  But it works.



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



Stampeeding heard of kdeinit processes

2004-02-20 Thread Mike Fedyk
Hi,

I have several users running KDE on one of my servers, and whenever I 
upgrade a package that changes the menu, all of the KDE users re-parse 
the entire menu list.

Has anyone else seen this?

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



Disabling artsd on multi-user VNC server

2004-02-20 Thread Mike Fedyk
Hi,

I have several users running KDE desktops through VNC on one of my 
servers.  The only problem, is that every user starts artsd and a 
message comes up saying it couldn't initialize the sound system.

I searched for arts|audio|sound in /etc/kde3 but didn't find anything 
promising.

How do I keep the artsd package installed (I want all KDE packages, (I 
just don't have sound on the server), and disable the automatic startup 
of it for each user centrally?

Mike

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



Re: Hard copy books for Debian?

2004-02-18 Thread Mike Fedyk
Katipo wrote:
Hello Mike,

On Tue, 17 Feb 2004 20:52:29 -0800
Mike Fedyk [EMAIL PROTECTED] wrote:

Hi,

I have a friend who is looking for a hard copy book to debian Linux. 
Can anyone point me to some good ones?

Thanks

A thread has just ended to this effect within the last couple of days.
You will find some excellent references in an appropriately named thread
in the archive.
Regards,
You're right, they were two threads in my debian IMAP folder.  Should 
have done a search for book first.  Now there is a third.

Thanks for the reference.

Mike

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



Re: Anti-aliasing fonts in OpenOffice vncserver

2004-02-18 Thread Mike Fedyk
Jan Suchy wrote:
I believe you can't get anti-aliased fonts with vncserver
because it doesn't support OpenGL. You'll probably
get an error message similar to this one:
Xlib:  extension GLX missing on display :3.0

when you try to start an application which normally has
anti-aliased fonts. AFAIK the only vnc server implementation
which has the GLX extension is xf4vnc (http://xf4vnc.sourceforge.net).
I have no personal experince with it but I'll appreciate
yours if you're going to give it a try.
Why do I get anti-aliased fonts with vncserver 3.3.7-1 in all of KDE, 
Mozilla FireBird 0.7, and Mozilla Thunderbird 0.5 and not OpenOffice?

Could one of these libraries be providing the anti-aliasing instead of 
depending on GLX/Render in the X server?

Package: mozilla-firebird
Version: 0.7-7
Depends: fontconfig, psmisc, libatk1.0-0 (= 1.4.1), libc6 (= 
2.3.2.ds1-4), libfontconfig1 (= 2.2.1), libfreetype6 (
= 2.1.5-1), libgcc1 (= 1:3.3.2-1), libglib2.0-0 (= 2.2.3), libgtk2.0-0 
(= 2.2.1), libidl0, libjpeg62, libpango1.0-0
(= 1.2.1), libpng12-0 (= 1.2.5.0-4), libstdc++5 (= 1:3.3.2-1), 
libxft2 ( 2.1.1), libxrender1, xlibs ( 4.1.0), zl
ib1g (= 1:1.2.1)

Package: mozilla-thunderbird
Version: 0.5-1
Depends: libatk1.0-0 (= 1.4.1), libc6 (= 2.3.2.ds1-4), libfontconfig1 
(= 2.2.1), libfreetype6 (= 2.1.5-1), libgcc1
(= 1:3.3.2-1), libglib2.0-0 (= 2.2.3), libgtk2.0-0 (= 2.2.1), 
libidl0, libjpeg62, libpango1.0-0 (= 1.2.1), libstdc+
+5 (= 1:3.3.2-1), libxft2 ( 2.1.1), libxrender1, xlibs ( 4.1.0) | 
libx11-6, xlibs ( 4.1.0) | libxext6, xlibs (
 4.1.0) | libxp6, xlibs ( 4.1.0) | libxt6, zlib1g (= 1:1.2.1)

Package: openoffice.org-bin
Version: 1.1.0-6
Depends: libart-2.0-2 (= 2.3.8), libaudio2, libc6 (= 2.3.2.ds1-4), 
libcurl2 (= 7.11.0-1), libdb3++c102 (= 3.2.9-19)
, libfontconfig1 (= 2.2.1), libfreetype6 (= 2.1.5-1), libgcc1 (= 
1:3.3.2-1), libmyspell3, libstdc++5 (= 1:3.3.2-1),
 libxaw7 ( 4.1.0), xlibs ( 4.1.0) | libice6, xlibs ( 4.1.0) | 
libsm6, xlibs ( 4.1.0) | libx11-6, xlibs ( 4.1.
0) | libxext6, xlibs ( 4.1.0) | libxt6, zlib1g (= 1:1.2.1), debconf 
(= 1.2.0), openoffice.org (= 1.1.0-2)

Package: vncserver
Version: 3.3.7-1
Depends: libc6 (= 2.3.1-1), libgcc1 (= 1:3.3-0pre9), libstdc++5 (= 
1:3.3-0pre9), xlibs ( 4.1.0), zlib1g (= 1:1.1.
4), perl, xbase-clients, xserver-common, vnc-common (= 3.3.6-1)

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



Anti-aliasing fonts in OpenOffice vncserver

2004-02-17 Thread Mike Fedyk
Hi,

I'm sorry if this is a FAQ, but maybe I'm doing something a little 
different.

I'm setting up what I call a Linux Desktop Server.  It uses a similar 
idea to Citrix and MS Terminal server, but with VNC instead.

Anyway, if I point OpenOffice to an Xfree86 Xserver, I get anti-aliased 
fonts, but not with the vncserver as the Xserver.

They're seperate machines, so I'm hoping there is some package I forgot 
to install, or some config option that needs to be set so I can have 
anti-aliased fonts through the VNC server.

Mike

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



Hard copy books for Debian?

2004-02-17 Thread Mike Fedyk
Hi,

I have a friend who is looking for a hard copy book to debian Linux. 
Can anyone point me to some good ones?

Thanks

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



Re: Anti-aliasing fonts in OpenOffice vncserver

2004-02-17 Thread Mike Fedyk
Mike Fedyk wrote:
Anyway, if I point OpenOffice to an Xfree86 Xserver, I get anti-aliased 
fonts, but not with the vncserver as the Xserver.

They're seperate machines, so I'm hoping there is some package I forgot 
to install, or some config option that needs to be set so I can have 
anti-aliased fonts through the VNC server.
Forgot to mention package name and version:

ii  vncserver   3.3.7-1 Virtual network 
computing server software

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



Re: Remote access PC support

2004-02-17 Thread Mike Fedyk
On Tue, Feb 17, 2004 at 06:46:38PM -0800, Karsten M. Self wrote:
 I've worked with VNC and several other technologies (radmin, WTS, and
 another which fails to come to mind...).  For intermittent support work,
 they are acceptable.  Wouldn't want to work on 'em full time though.

I'm working on a Linux Desktop Server for all of the windows machines on my
network, and everything except for the smooth scrolling in firefox VNC responds
almost like a local X server.


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



Re: CLI

2004-02-17 Thread Mike Fedyk
On Mon, Feb 16, 2004 at 12:45:20PM -0700, Monique Y. Herman wrote:
 (Now if only I played FPS games with any skill ...)

Hey, you're not the one that started chatting with me only to get my hand
off of the mouse to get a head shot are you?!

;)


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



Re: default destination in exim?

2004-02-17 Thread Mike Fedyk
On Tue, Feb 17, 2004 at 05:49:12PM -0700, Monique Y. Herman wrote:
 On 2004-02-17, Ken Gilmour penned:
  
  Try adding the following to exim.conf
 
  [EMAIL PROTECTED] ${lookup{$1}lsearch*{/etc/email-addresses}
  {$value}fail}
 
 In which section would this go?
 
  You will also need to put * into /etc/email-addresses
 
 Um, something here is making me nervous.  Would I have to then enumerate
 every possible mail user in /etc/email-addresses as well?
 
 Ie, if joe, bob, and dan are actual users on my machine, but do not have
 entries in /etc/email-addresses, and I put the rewrite rule you suggest
 into my config, will all of their email go to the user defined for * ?
 
 I don't understand why putting
 *: username
 in my /etc/aliases file doesn't seem to work =/

Search for /etc/aliases in your exim.conf, and s/lsearch/lsearch*/ to put
a literal * after lsearch.

Then put *: destination username at the end of /etc/aliases and your
concerns will be taken into account.

Mike


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



Re: Rejecting viruses the Right Way[tm]

2004-02-17 Thread Mike Fedyk
On Tue, Feb 17, 2004 at 04:52:30PM -0800, Karsten M. Self wrote:
 For the second time:  I'm not saying you have to move *all* your
 services to another provider, address, or pipe.  Given current spam
 filtering realities, you probably *will* have to find someone -- a major
 ISP, a friend, a small botique mail services provider, foo -- to provide
 outbound mail services.

They'd have to receive smtp traffic on port ! 25.  Remember, port 25 is
blocked for him...


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



Re: HOWTO - Speed up IDE HD's

2004-02-08 Thread Mike Fedyk
On Sat, Feb 07, 2004 at 11:32:55PM -0800, Roger Chrisman wrote:
  fun stuff
 
 RAID 1 is one strategy for getting 'faster' read going.
 
 Redundant Array of Inexpensive Devices (RAID) comes in various flavors. 
 
 RAID 1 is a flavor where you take two disks of the same size and have the 
 computer treat them as one disk. The computer mirrors the identical data onto 
 both disks and can read one part of a file from one drive simultaneously as 
 it reads the other part of the file from the other drive. Thus reading the 
 whole file in half (roughly half I think) the time it would take to read the 
 whole file from one drive.
 
 Of course rather than paying for two drives, you might want to just pay for 
 one faster drive, more RAM, or some other speed enhancer. If you already have 
 the drives sitting around thought, RAID 1 is something you might like.
 
 Linux can do Software Raid. So you do not need to buy special hardware 
 controllers.
 
 If you do Software Raid, to achieve the speed advantage you should put the two 
 disks that make up your one logical device on separate cables.
 
 md0 stands for 'zeroeth (1st) multiple device,' a notional drive made up of 
 more than one real drives.
 
 I did Software RAID 1 with two drives and SuSE 9's Installer for my desktop 
 box (just before converting to the Debian way :-). It was kinda tricky. I 
 actually bought a 2 Channel Controller PCI card so that I could have four 
 total (including the two on my mother board) channels and thus not have more 
 than one drive per cable. I have four drives you see. CD drive, back up IDE 
 hard drive, and two IDE drives as my RAID 1 md0.
 
 These fancy tricks might not be worth it though if your system bus is 33MHz. 
 My two PIII servers have 33MHz system bus (PCI host bridge). So I don't think 
 it would be worth the trouble on my servers.
 
 Someone who knows more about RAID please tell me if I am mistaken about that.

Oh, I think it'll be useful.  Remember, PCI at 32bits and 33Mhz can transfer
132MBytes/sec, and your drives won't fill that up.  Also, once you start
seeking, your disk throughput goes down radically.


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



Re: mymail worm

2004-02-08 Thread Mike Fedyk
On Wed, Feb 04, 2004 at 10:07:22AM -0700, s. keeling wrote:
#  Put A TAB Character Between [] Brackets Below.
 *  1^0  ^[ ]charset=.?Windows-1252.?

Can't you use \t or $'\t' there instead of using an actual tab character?


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



Only 16 groups max with nss-ldap?

2004-02-02 Thread Mike Fedyk
Hi,

I have a working setup with a ldap server hosting my unix accounts and
groups, and both the server and clients are running debian sarge.

The problem starts when I have users that are members of more that 16
groups.  with th 17th and up group all access is denied to directories
marked 770 and owned by that group.

Also, these groups are at the end of the list in the output of the id and
members commands.

Has anyone seen this before?

Also, I created a test with 20 groups on one system not using nss-ldap with
all users and groups in the /etc/ flat files and it all works as expected
(no permission denied messages).

Mike


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



Re: Default profile settings in mozilla-thunderbird

2004-01-15 Thread Mike Fedyk
On Tue, Jan 13, 2004 at 04:48:49PM -0800, Mike Fedyk wrote:
 OK, I have this in /etc/mozilla-thunderbird/pref/mailnews.js

Do I need to make a /etc/mozilla-thunderbird/pref/prefs.js file?

What do I need to do to change the default settings for new profiles
mozilla-thunderbird?


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



Re: Default profile settings in mozilla-thunderbird

2004-01-13 Thread Mike Fedyk
On Tue, Jan 13, 2004 at 07:09:05PM +0100, Alexander Sack wrote:
 mozilla  its next generation standalone-apps (fbird, tbird) do hold all 
 global configuration within their own tree. For debian that would be:
 /usr/lib/mozilla-thunderbird/default/prefs. the prefs folder is linked 
 to /etc/mozilla-thunderbird/prefs/. You may edit the entries there to 
 change default settings. This will always works. You won't have to force 
 it. These settings should not become silently overwritten when upgrading 
 the next time. To do something that really works for you is a matter of 
 if you know what you are doing  where you wanna get after having done so.

OK, I have this in /etc/mozilla-thunderbird/pref/mailnews.js

pref(ldap_1.number_of_directories, 6);

pref(ldap_1.directory1.description, Personal Address Book);
pref(ldap_1.directory1.dirType, 2);
pref(ldap_1.directory1.isOffline, false);

pref(ldap_1.directory2.description, Four11 Directory);
pref(ldap_1.directory2.serverName, ldap.four11.com);

pref(ldap_1.directory3.description, InfoSpace Directory);
pref(ldap_1.directory3.serverName, ldap.infospace.com);

pref(ldap_1.directory4.description, WhoWhere Directory);
pref(ldap_1.directory4.serverName, ldap.whowhere.com);

pref(ldap_1.directory5.description, Bigfoot Directory);
pref(ldap_1.directory5.serverName, ldap.bigfoot.com);

But none of them show up as selections for a ldap server to verify my
addresses.  That's not what I'm after, it's just an example.  I have a local
ldap server that I want all of my users to have automatically in their fbird
setups.

How come it's not there?

Do I need to re-create my profile?

... Just tried that, and all I get for ldap in my prefs.js is:
user_pref(ldap_2.prefs_migrated, true);

Hey, I could just append the data to each user's prefs.js file, but then
what are the files in /etc for then?


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



Re: single desktop per user with vncserver through inetd

2004-01-13 Thread Mike Fedyk
On Tue, Jan 13, 2004 at 08:25:44AM +0100, John Smith wrote:
how about defining multiple ip-addresses on your 'server', with each
 having their own hostname and running a user unique vnc server on
 each?

Well, that would eliminate the need to put :NN after the hostname, but not
the elegant solution I was looking for, and a large usage of IP addresses...  

I thought of starting a script in the Xsession file that would lookup what
port the user should be using, and then connect to that port after a login
with [gkx]dm, but that would add more overhead with the X clients
communicating with the Xvnc server, which sent data to xvncviewer in
(possibly) the same machine, and then sending it to another Xvnc server that
was created from the inetd connection and then finally going out over the
network to my client.  As you can see not very effecient.

Anyway, I'm using the one port per user thing right now and it's working ok...

But don't hesitate to let me know if you have any more ideas that might help.

Mike


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



Re: single desktop per user with vncserver through inetd

2004-01-12 Thread Mike Fedyk
On Sun, Jan 11, 2004 at 09:45:22AM -0800, Marc Wilson wrote:
 I really don't see what the OP's problem is... the vncserver package comes
 with documentation on how to set it up through inetd to provide an xdm
 chooser on connect via XDMCP.  I have it configured so on all the other
 boxen in the house so that anyone can use any box from anywhere.

I have tried that thank you.

But there is one thing that it doesn't do that I want. 

*one persistant desktop per user accessable from seperate hosts*.

If you use the inetd trick, you can get several sessions with the same user,
and if you want to login from another host you get a different instance of
your desktop and apps.

The only way I've been able to get this is with one port per user, and tell
my users what port is theirs, and load all of the user's desktops on startup
of the server (a linux desktop server to win32 clients).

If you have more suggestions I'm all ears (or eyes ;).

Mike


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



Re: Change default browser for Mozilla-Thunderbird

2004-01-12 Thread Mike Fedyk
On Sat, Jan 10, 2004 at 09:54:43AM -0600, Paul Stolp wrote:
 * Mike Fedyk [EMAIL PROTECTED] [2004-01-09 23:47]:
  Currently they open up with konqueror, how do I change that to
  mozilla-firebird?
 
 I use mutt from unstable, but I had to:
 # update-alternatives --config x-www-browser

That did the trick.

Thanks


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



Default profile settings in mozilla-thunderbird

2004-01-12 Thread Mike Fedyk
Hi,

I'm using running thunderbird[1] debian testing, and noticed these[2]
files in /etc, but they don't seem to affect my configuration.  For
instance, there are references to ldap servers in [2], but prefs.js in
my $home doesn't say anything until ldap until I added it manually.
How do I set the defaults in a way that won't be overwritten on new
upgrades, and will be followed by new thunderbird profiles created after
 the changes?
Thanks,

Mike

[1]
mozilla-thunderbird:
  Installed: 0.4-1
[2]
/etc/mozilla-thunderbird/pref/security-prefs.js
/etc/mozilla-thunderbird/pref/all.js
/etc/mozilla-thunderbird/pref/mailnews.js
/etc/mozilla-thunderbird/pref/editor.js
/etc/mozilla-thunderbird/pref/unix.js
/etc/mozilla-thunderbird/pref/xpinstall.js
/etc/mozilla-thunderbird/pref/mdn.js
/etc/mozilla-thunderbird/pref/smime.js
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Change default browser for Mozilla-Thunderbird

2004-01-09 Thread Mike Fedyk
Currently they open up with konqueror, how do I change that to
mozilla-firebird?


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



single desktop per user with vncserver through inetd

2004-01-06 Thread Mike Fedyk
Hi,

I like the feature where I can have my users login through one port and then
login to their user with [xgk]dm, but last time I tried it I was able to
make several instances of desktops, but not login to the same desktop again
from another vncviewer (say, from another host).

Is there a way to do this with one port and inetd, or will I have to use
several ports, and tell my users which port is theirs (and start desktops
for 50 users from init.d).

Thanks,

Mike


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



/proc/meminfo for 2.0, 2.2 2.4.x

2003-12-10 Thread Mike Fedyk
Hi everyone.

I'm working on a script that parses /proc/meminfo for output to rrd-tool.

It's part of lrrd-client, and currently it parses the Mem: and Swap: lines
for its information, and if they're not there, it goes through rest of the
file to parse the output.  I'm thinking of reversing that parsing, or
eliminating the Mem: and Swap: line parsing completely (the information is
available lower in the file).

I'm planning on supporting 2.4 (stock, rmap and aa VM), as well as 2.6
kernels, but I don't run 2.0 or 2.2 kernels anymore.

Instead of booting a bunch of old kernels, maybe you guys could post the
output of /proc/meminfo to the list.

I'm interested in:
 o 2.0 and any variations (fond memories :)
 o 2.2 and any variations (haven't booted this in a while)
 o 2.4 with rik's origional VM (similair to rmap, but don't have any examples)
 o 2.4 with -aa VM (should be same as stock)
 o 2.4 with rmap VM (adds some fields for active, and inactive lists)
 o 2.4 with stock VM (no VM patches!)
 o 2.4 and any variations (if there's anything else in 2.4 that modifies
   /proc/meminfo!!!)
 o 2.6 and any variations

Let the posting begin! :)

Here's what I get on a 2.4.20-rmap15e kernel:
total:used:free:  shared: buffers:  cached:
Mem:  923860992 835952640 879083520 94367744 427601920
Swap: 493322240  8093696 485228544
MemTotal:   902208 kB
MemFree: 85848 kB
MemShared:   0 kB
Buffers: 92156 kB
Cached: 413944 kB
SwapCached:   3636 kB
Active: 643084 kB
ActiveAnon: 243232 kB
ActiveCache:399852 kB
Inact_dirty: 41488 kB
Inact_laundry:   36340 kB
Inact_clean: 16300 kB
Inact_target:   147440 kB
HighTotal:   0 kB
HighFree:0 kB
LowTotal:   902208 kB
LowFree: 85848 kB
SwapTotal:  481760 kB
SwapFree:   473856 kB

Here's another with the 2.4.23 stock VM:
total:used:free:  shared: buffers:  cached:
Mem:  526766080 339722240 1870438400 17928192 160370688
Swap: 6420725760 642072576
MemTotal:   514420 kB
MemFree:182660 kB
MemShared:   0 kB
Buffers: 17508 kB
Cached: 156612 kB
SwapCached:  0 kB
Active:  56060 kB
Inactive:   249868 kB
HighTotal:   0 kB
HighFree:0 kB
LowTotal:   514420 kB
LowFree:182660 kB
SwapTotal:  627024 kB
SwapFree:   627024 kB


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



Re: migration from RedHat to Debian, general question about Debian (dpkg, kernel, config)

2003-11-21 Thread Mike Fedyk
On Wed, Nov 19, 2003 at 10:05:42AM -0800, Valentine Kouznetsov wrote:
 And about kernel. Thanks for comments that
 kernel-source is already shipped with all necessary
 patches. Roberto asked about which mount options I
 used
 to mount cd.
 /dev/cdrom  /mnt/cdrom 
 udf,iso9660 user,noauto,ro 0 0

Hmm, did you compile in ide-scsi too?

If so, then it can be initialized before ide-cd (I always build it as a
module, so I don't know if/when that was a problem).

Try mounting /dev/sr0 instead.

Mike


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



Re: Anaconda, where's the beef?

2003-11-20 Thread Mike Fedyk
On Sat, Nov 15, 2003 at 05:35:19AM -0800, Karsten M. Self wrote:
 http://www.debian.org/devel/debian-installer/
 
 ...though I see no mention of Anaconda on it.  Anyone know?

I've read it a few days ago, and it mentioned anaconda in passing saying why
we're using debian-installer instead of anaconda (all of the 11 arch, plus
the many sub-arches).

Mike


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




Re: Building XFree 4.3

2003-11-20 Thread Mike Fedyk
On Sun, Nov 16, 2003 at 11:28:01PM +, . . wrote:
 Hi everyone I'm tring to build Xfree 4.3 on my debian system because I 
 need a patch to the siliconmotion driver that has only been committed in 
 4.3.99.
 
 I'm trying two separate paths, and I'm stuck in either.
 
 If you send us a diff, we can include it in the next release. Why do you
 need this patch?
 
 It's a bug affecting support for an external monitor. You can find more 
 info (and the patch itself)
 at http://bugs.xfree86.org/show_bug.cgi?id=727. It could be very handy if 
 you could backport it ;-)

I really doubt that they would be back porting it, rather they'd probably
add it to the work they're doing to get 4.3 packaged for sarge (it's
currently in experemental -- so be careful before you try it!)

Mike


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



Re: Spamassassin, keep feeding messages for bayes?

2003-11-14 Thread Mike Fedyk
On Fri, Nov 14, 2003 at 05:12:35PM -0800, Daddy Vaughan wrote:
 Sorry about the lateness of this question, but in furthering  
 spamassassin's training, should one _not_ have SA write a log into the  
 spam being used for training?

sa-learn will filter out the spamassassin report, and only look at the
origional message contained within, so you don't have to worry about that.

Mike


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



Re: kde in testing ?

2003-11-12 Thread Mike Fedyk
On Mon, Nov 10, 2003 at 01:07:10PM -0800, Cam Ellison wrote:
 * Mike Fedyk ([EMAIL PROTECTED]) wrote:
  On Sun, Nov 09, 2003 at 03:28:30PM -0900, Greg Madden wrote:
   so KDE 3 went into testing about a week ago and will replace any 
  
  Since when?  I haven't seen kde3 in sarge.
  
 It's there, all right, and so is KDE2.  Don't try to install KDE3 from

You're right, there's a partial transition from kde2 to kde3 in sarge.
Neither are usable if you install a new system now.  (unless you go to
unstable)

The testing scripts should keep this partial transition from making it into
testing... Was it manually hinted?

 scratch, because libsensors-1debian1 does not exist and most of the
 rest of the setup depends on it.  There was a bug report cleared a few

Luckily I installed kde3 when that package was available...

apt-cache policy libsensors-1debian1
libsensors-1debian1:
  Installed: 2.7.0-6
Candidate: 2.7.0-6
  Version Table:
   *** 2.7.0-6 0
   100 /var/lib/dpkg/status
   
 weeks ago that should have cleared the matter up, but it looks as
 though the maintainer has not been able to (has not had time to?)

Was the bug closed in the BTS, or by a package upload?

 debianise libsensors2.  The failure to install is classified
 grave. (In the meantime, my kids are making do with icewm.)

Too bad you didn't install when you had the chance (or stick with kde2)
until all of kde3 makes it into testing...


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



Re: Spamassassin, keep feeding messages for bayes?

2003-11-12 Thread Mike Fedyk
On Wed, Nov 12, 2003 at 10:19:01PM +0100, Benedict Verheyen wrote:
 Hi,
 
 my Spamassassin's bayes stuff finally kicked it as i now
 see bayes_00 and similar stuff in the headers.
 Do i need to keep feeding spam and ham to sa-learn?

Yes, especially ham.

And the spam that hasn't been taught enough in the bayes system yet.


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



Another dpkg-reconfigure xserver-xfree86 question

2003-11-12 Thread Mike Fedyk
On Wed, Nov 12, 2003 at 04:18:11PM +0100, Jimmy Johansson wrote:
 Hi,
 
 I tried to do dpkg-reconfigure xserver-xfree86 yesterday expecting it to
 create a new XF86Config-4 file, but it didn't. I moved the old
 XF86Config-4 to my /home/username directory and ran dpkg-reconfigure
 xserver-xfree86. Am I supposed to do something else?
 
 I am asking because I want to try some different settings but I don't
 want to do it by hand...
 

I have a similair question.

With xserver-xfree86 it suggests a few hardware detection packages, that
should detect the hardware I have.  (I tested discover, and read-edid
manually, and they did discover the hardware I have).  So how do I get
xserver-xfree86 to use them?

Version: 4.2.1-13
Suggests: discover, mdetect, read-edid, libglide2 ( 2001.01.26)


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



Re: Another dpkg-reconfigure xserver-xfree86 question

2003-11-12 Thread Mike Fedyk
On Thu, Nov 13, 2003 at 03:03:01PM +0900, Nick Hastings wrote:
 * Mike Fedyk [EMAIL PROTECTED] [031113 14:20]:
 snip
  
  With xserver-xfree86 it suggests a few hardware detection packages, that
  should detect the hardware I have.  (I tested discover, and read-edid
  manually, and they did discover the hardware I have).  So how do I get
  xserver-xfree86 to use them?
  
  Version: 4.2.1-13
  Suggests: discover, mdetect, read-edid, libglide2 ( 2001.01.26)
 
 dpkg-reconfigure -plow xserver-xfree86

   -pvalue, --priority=value
  Specify the minimum priority of question that will be
displayed.  dpkg-reconfigure normally shows
   low priority questions no matter what your default priority is.
   
That should be the default, but I'll give it a try anyway later (I'm in the
middle of some things in X right now...)

Thanks,

Mike


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



Re: Searching for an editor...

2003-11-10 Thread Mike Fedyk
On Sun, Nov 09, 2003 at 02:29:38PM -0800, Tom wrote:
 On Sun, Nov 09, 2003 at 10:46:33PM +0100, Otto Wyss wrote:
   On Sun, 19 Oct 2003 18:32:47 +0200, Tom [EMAIL PROTECTED] wrote:
All in all, the built-in editor of Anjuta is exactly what I'm looking Tom
   
   Try Scite, you'll love it. Anjuta's editor is based on it.
   
  Sorry for being late but have a look at wxGuide-Editor
  http://wxguide.sourceforge.net/indexedit.html;. It is also based on the
  Scintilla edit control as the above ones.
  
 
 Ug.  I just tried scite, and looked at the GTK scintilla screenshots.  
 Those fonts/colors are garish and ugly.  The screenshots of 
 wxguide-editor running on Win32 looked nice (naturally).

Did you think of changing the colors and font sizes (they're already
changed, so there's a good chance it's configurable!).

Maybe if you made a different color/font/size scheme, you could submit it
for inclusion...


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



Re: kde in testing ?

2003-11-10 Thread Mike Fedyk
On Sun, Nov 09, 2003 at 03:28:30PM -0900, Greg Madden wrote:
 so KDE 3 went into testing about a week ago and will replace any 

Since when?  I haven't seen kde3 in sarge.

http://bjorn.haxx.se/debian/testing.pl?package=meta-kde

Mike


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



Re: Testing system from stable install

2003-11-06 Thread Mike Fedyk
On Thu, Nov 06, 2003 at 03:19:34PM +, Tim Milstead wrote:
 Thanks for the advice I'll give it ago tonight.
 
 It looks like you are assuming I'm not installing the base with a 2.4 
 kernel e.g. bf2.4. Is it okay to do so (and still upgrade it)?
 
 After I cahnge to testing will I have to stay in testing or can I get 
 packages from anywhere e.g. stable or other sites?

Once you go to testing, you will most likely want to stay there...

That being said, you can install packages from stable (some packages are easier than
others), and other sources, but they will have to be integrated with testing.

You'll probably end up waiting for some package from unstable to make it in
once all of the dependancies are satisfied for all 10 archatectures debian
supports.

Mike


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



Re: Stable Debian == obsolete??

2003-11-04 Thread Mike Fedyk
On Tue, Nov 04, 2003 at 09:01:49PM +1100, Rob Weir wrote:
 Configure X by hand?  Why?  The Debian X packages have a very
 sophisticated configuration system which walks you through the
 configuration.  With a little googling, you'll even find that installing
 hotplug, mdetect and read-edid before X will enable it to
 auto-detect most everything for you anyway.

Well now isn't that nice, and here I've been using debian since dec 1998,
and I didn't know about those packages!!! :(

Installed now.

Hmm, detect doesn't seem to work fully on 2.6 kernels, but maybe it's
because it wasn't run on boot yet.  Will file bugs reports as I identify
them. :)


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



Re: Stable Debian == obsolete??

2003-11-04 Thread Mike Fedyk
On Tue, Nov 04, 2003 at 06:48:14PM -0800, Mike Fedyk wrote:
 Hmm, detect doesn't seem to work fully on 2.6 kernels, but maybe it's

Err, I mean the discover package...


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



Re: rms on debian

2003-08-19 Thread Mike Fedyk
On Mon, Aug 18, 2003 at 01:19:42AM +1000, Tom Massey wrote:
 * Kevin Mark [EMAIL PROTECTED] [2003-08-17 15:06]:
   RMS: When I recommend a GNU/Linux distribution, I choose based on
  ethical considerations. Today I would recommend GNU/LinEx,
 
 Hmm. I respect Mr Stallman's ethical position, but shouldn't he
 be a bit more consistent? If he wants to credit GNU as in GNU/Linux,
 shouldn't he also credit Linux as in GNU/Linux? Has the government
 of Extramadura written a kernel called LinEx that can be run as the
 kernel of a GNU system? Quite seriously, recognising the role that GNU
 has had to play, I think it's equally necessary to recognise the role
 of Linux. Why should anybody call it GNU/Linux over Linux if RMS endorses
 GNU/LinEx?

God!  (oh, wait this is the Debian list, nevermind)

LinEx uses the same Linux that Debian does.


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



Re: Linux defragmenter?

2003-08-18 Thread Mike Fedyk
On Mon, Aug 18, 2003 at 08:49:02PM -0500, DePriest, Jason R. wrote:
 Like a moron, I requested a read-receipt with the last message I sent.
 Sorry!
 
 However, I did come across a 'defrag' command by doing this: apt-cache
 show defrag
 
 See if that will fix your problems or not.  I've never used it, but it
 supposedly works with ext2, minix, and xiafs.

And look at how old minix and xiafs are... that was probably the last time
the tool was maintained.

And IIRC, it only works on ext2/3 with 1k blocks and only on unmounted
filesystems, so you won't be defragmenting your root fs unless you run it
from a bootable dist like knoppix.


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



Re: Poor performance with 1GB of RAM

2003-08-14 Thread Mike Fedyk
On Mon, Aug 11, 2003 at 10:27:35PM +0200, J. Zidar wrote:
 Thanks to all the people that helped me clear this issue. Is there a way to 
 repartition my swap and root partition the Partition Magic way (no need to 
 format etc.) as it seems that my swap partition is to big (2gigs for 1 1gig 
 o'ram)?

Yes, you can.  Try parted 1.6.

Also consider using a swap file instead, or in addition to a swap partition.
That way it is much easier to control how much swap you have available.

Also check out the swap device priorities, and you can have the swap
partition used before the swap file.


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



Re: Automated security updates?

2003-08-14 Thread Mike Fedyk
On Mon, Aug 11, 2003 at 08:23:36PM -0400, Johann Koenig wrote:
 On Mon, 11 Aug 2003 20:10:48 -0400
 Kevin McKinley [EMAIL PROTECTED] wrote:
 
  Is there a way to use cron to apply updates from security.debian.org?
  
  Is there any reason I shouldn't do this?
 
 apt-cache show cron-apt

How would this work with something like testing or unstable?

I doubt it would be a good idea, but I wonder if anyone has tried it anyway.
(thinking of all the times I have had to run through the packages and choose
one by one which ones I wanted to install or leave just to avoid one causing
apt to want to remove a bunch of my packages, this might not be a good idea
to do with my mixed testing/unstable system, though a pure testing system
might work...)


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



Mixed testing/unstable system, and dist-upgrade

2003-07-31 Thread Mike Fedyk
Hi,

I have kde, and gnome installed from unstable, and as packages get upgraded,
and dependancies change, or new versions are available in unstable, I more
often than not, have apt-get trying to remove 50-100 packages instead of
getting the needed packages from unstable.

If I read the apt_preferences manual correctly, once a package has been
installed from unstable, and it hasn't been put into my highest priority
entry (testing), then future upgrades should be from unstable for that
package.

Did I do something wrong, or is this a bug?

# apt-get -ut unstable install kdelibs-data
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  kdelibs-bin kdelibs4 libarts1
The following packages will be upgraded
  kdelibs-bin kdelibs-data kdelibs4 libarts1
4 packages upgraded, 0 newly installed, 0 to remove and 170 not upgraded.
Need to get 12.6MB of archives.
After unpacking 643kB disk space will be freed.
Do you want to continue? [Y/n]

Compare this to:
Reading Package Lists...
Building Dependency Tree...
The following packages will be REMOVED:
  amor ark artsbuilder atlantik cdbakeoven eyesapplet fifteenapplet flashkard
  kaboodle kaddressbook kalarm kalzium kamera kandy kaphorism kappfinder karbon
  karm kasteroids kate katomic kaudiocreator kbackgammon kbattleship kbear
  kblackbox kbounce kcalc kcharselect kchart kcmlinuz kcoloredit kcontrol
  kcpuload kcron kdat kde kde-amusements kde-core kdeaddons
  kdeaddons-kfile-plugins kdeadmin kdeadmin-kfile-plugins kdeartwork
  kdeartwork-style kdebase kdebase-bin kdebase-kio-plugins kdeedu kdegames
  kdegraphics kdegraphics-kfile-plugins kdelibs kdelibs-bin kdelibs4
  kdemultimedia kdemultimedia-kfile-plugins kdemultimedia-kio-plugins
  kdenetwork kdenetwork-kfile-plugins kdepasswd kdepim kdepim-kfile-plugins
  kdepim-libs kdeprint kdesktop kdessh kdetoys kdeutils kdf kdict kdm kdvi
  kedit keduca kenolaba kfax kfind kfloppy kformula kfouleggs kgeo kget
  kghostview kgpgcertmanager khangman khelpcenter khexedit kicker
  kicker-applets kiconedit kile kit kiten kivio kjots kjumpingcube
  klaptopdaemon klettres klickety klines klipper kmahjongg kmail kmailcvt
  kmenuedit kmerlin kmessedwords kmid kmidi kmines kmix kmoon kmplot kmrml
  knapster2 knetfilter knetload knewsticker knode knotes kodo koffice
  koffice-data koffice-libs kolf konq-plugins konqueror konqueror-nsplugins
  konquest konsole kontour kooka korganizer korn koshell kpackage kpager kpaint
  kpat kpercentage kpersonalizer kpf kpilot kpoker kpovmodeler kppp kpresenter
  krdc krec krecord kreversi krfb krita kruler krusader ksame kscd kscreensaver
  kshisen ksim ksirc ksirtet ksmiletris ksmserver ksnake ksnapshot ksokoban
  kspaceduel ksplash kspread kstars ksync ksysguard ksysv ktalkd kteatime
  ktexmaker2 ktimer ktip ktouch ktron ktuberling ktux kugar kuickshow kuser
  kverbos kview kviewshell kvoctrain kweather kwin kwin4 kword kworldclock
  kxconfig kxmlrpc libarts1-mpeglib libkdeedu1 libkdegames1 libkdenetwork2
  libkonq4 libkregexpeditor libkscan1 lskat megami mpeglib noatun
  noatun-plugins qtella-kde quanta secpolicy
The following packages will be upgraded
  kdelibs-data
1 packages upgraded, 0 newly installed, 213 to remove and 0 not upgraded.
Need to get 0B/5060kB of archives.
After unpacking 278MB disk space will be freed.
Do you want to continue? [Y/n] 

here is my apt preferences file:
package: *
pin: release a=unstable
Pin-Priority: 711

package: *
pin: release o=Debian
Pin-Priority: 722

sources.list:
#Stable
#deb http://http.us.debian.org/debian/ stable main non-free contrib
#deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free

#Testing
deb http://http.us.debian.org/debian/ testing main non-free contrib
deb http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free

#Unstable 
deb http://http.us.debian.org/debian/ unstable main non-free contrib
deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib non-free

#Security
deb http://security.debian.org/ stable/updates main contrib non-free
deb http://security.debian.org/ testing/updates main contrib non-free

#Proposed Updates
deb http://http.us.debian.org/debian/ stable-proposed-updates main non-free contrib
deb http://http.us.debian.org/debian/ testing-proposed-updates main non-free contrib

#Open Office
#deb ftp://ftp.vpn-junkies.de/openoffice unstable main contrib
#deb http://www.phy.olemiss.edu/openoffice/ testing main contrib
#deb http://ftp.freenet.de/pub/ftp.vpn-junkies.de/openoffice/ unstable main contrib

#Coda
#deb http://www.coda.cs.cmu.edu/pub/coda/linux debian/binary-$(ARCH)/

#Samba Stable  
#deb http://people.debian.org/~peloy/samba stable main  



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



Re: gaim: keyboard shortcut for switching between tabbed IM/Chat tabs?

2003-07-18 Thread Mike Fedyk
On Fri, Jul 18, 2003 at 03:20:22PM -0400, Aaron wrote:
 On -4665-Thu, Jul 17, 2003 at 09:57:44PM -0500, Alex Malinovich [EMAIL PROTECTED] 
 spake thus,
  On Thu, 2003-07-17 at 17:35, Mike Fedyk wrote:
   On Thu, Jul 17, 2003 at 04:56:31PM -0500, Nathan Poznick wrote:
Thus spake Mike Fedyk:
 Hi,
 
 Is there a keyboard shortcut in gaim to switch between IM/Chat tabs when
 they're in one window with seperate tabs?

Alt-N, where N is one of the numeric keys, such as 1, 2, 3, etc... will
jump you to tab N
   
   Thanks, that did the trick.
  
  You can also use Ctrl-PgUp or Ctrl-PgDn to go to the next or previous
  tab. I'm not sure if this is a true standard but every tabbed
  application I've ever used has honored it.
 
 You can Ctrl-Tab to move sequentially through the tabs, or
 Ctrl-Shift-Tab to move sequentially backwards. I guess there are about
 sixteen ways to change tabs in gAIM without a mouse ;-)

Ctrl+(shift+)?tab changes desktops in KDE for me...

Yes, all of those work for me in gaim, except of course the ctrl+tab.

Thanks guys.


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



Re: Suggestions on choosing an IMAP server

2003-07-17 Thread Mike Fedyk
On Thu, Jul 17, 2003 at 10:05:36AM -0700, Mark Ferlatte wrote:
 Neal Lippman said on Wed, Jul 16, 2003 at 08:28:56PM -0400:
  The reason that I selected cyrus over courier was that it provided me
  with the ability to use fetchmail to retrieve my email from all of my
  pop3 mailboxes and forward the mail via lmtp into the imap store,
  because cyrus provides an lmtp daemon; this means that I don't have to
  run a full smtp daemon. I could not figure out whether courier does or
  does not include the capability to recieve incoming messages via lmtp.
  
 AFAIK, courier doesn't support this... (the IMAP server certainly doesn't, and
 I'm not sure if the Courier local delivery agent supports LMTP either).
 
 Cyrus is the only open source solution I'm aware of for large mail stores, but
 I found that courier-imap-ssl was much easier to setup and maintain for the
 typical small-medium office setup, especially when combined with ReiserFS.

I have an office with about 50 computers, so that seems right.

I'll give courier a spin.


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



gaim: keyboard shortcut for switching between tabbed IM/Chat tabs?

2003-07-17 Thread Mike Fedyk
Hi,

Is there a keyboard shortcut in gaim to switch between IM/Chat tabs when
they're in one window with seperate tabs?

Thanks,

Mike


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



Re: gaim: keyboard shortcut for switching between tabbed IM/Chat tabs?

2003-07-17 Thread Mike Fedyk
On Thu, Jul 17, 2003 at 04:56:31PM -0500, Nathan Poznick wrote:
 Thus spake Mike Fedyk:
  Hi,
  
  Is there a keyboard shortcut in gaim to switch between IM/Chat tabs when
  they're in one window with seperate tabs?
 
 Alt-N, where N is one of the numeric keys, such as 1, 2, 3, etc... will
 jump you to tab N

Thanks, that did the trick.

Mike


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



Re: rsync or wget?

2003-07-16 Thread Mike Fedyk
On Wed, Jul 16, 2003 at 09:06:09AM +0200, David Fokkema wrote:
 On Tue, Jul 15, 2003 at 03:22:37PM -0700, Mike Fedyk wrote:
  On Sat, Jul 12, 2003 at 03:53:31AM +1000, bob parker wrote:
   On Sat, 12 Jul 2003 00:48, David Fokkema wrote:
Hi group,
   
I've just installed apt-proxy. Should I use rsync or wget for fetching
packages? I don't really understand the differences. I do understand
that rsync can sync to filesystems by only downloading the differences,
but apt-proxy knows what it needs to download, right? Only one package,
or a list or something like that, not a whole filesystem. And once a
transfer is started, what is the difference in speed between rsync and
wget? Does rsync do something very smart?
   
So, basically: should I use rsync or ftp or http servers in my
apt-proxy.conf?
   
   I know nothing about apt-proxy but I do know that wget saturates my rubber 
   band powered dial-up connection and makes browsing very unpleasant while it's 
   going on. rsync does not saturate the link but it gets ~70meg / 8hours 
   whereas ftp/http gets ~100meg in the same time.
  
  I would suggest wget then.  Because apt-proxy requests the file immediately
  once it has received a request you want to get the data to the requester
  (apt-get) ASAP.
  
  And if you're worried about your line being saturated, you need to setup
  QoS.  There are some seperate pagkages, but fiaif includes firewalling, and
  QoS features in one and has taken my average ping time time down from 500ms,
  to 30-50ms on a 384/1.5 DSL link.
 
 Yes, wget it is, :-) I'll look into QoS. I know what it is, of course,
 but I never thought I would need it. I'm not that concerned with slow
 browsing, but I have some ssh connections open from time to time. It
 would be nice to keep them responsive while my other programs saturate
 my internet connection. I'll take a look at fiaif.

It integrates the wondershaper from lartc.org.  You should read the
documentation for it to tune it to your modem.


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



Re: wireless/cat5 bridge

2003-07-16 Thread Mike Fedyk
On Wed, Jul 16, 2003 at 05:28:52PM -0500, Todd Pytel wrote:
 I'm looking to set up a transparent wireless/cat5 in the uncommon
 direction - i.e. the network and rest of the world are on the wireless
 side and the LAN is on the cat5 side.  At some point, I'll probably go
 with a hardware solution, but for the moment Debian is what I've got.  I
 don't need firewalling, filtering, routing, or NAT - just a transparent
 bridge.  So what is the Debian proper way to do this?  From what I've
 read online, I need to ultimately do...
 
 brctl addbr br0
 brctl addif br0 eth0
 brctl addif br0 eth1
 ifconfig eth0 0.0.0.0
 ifconfig eth1 0.0.0.0
 ifconfig br0 netmask 255.255.240.0 broadcast 10.36.127.255
 
 Is the last line correct (assuming my numbers are right)?  That is, I
 don't assign an IP address to br0 because it's transparent?  For the
 same reason, I shouldn't be doing any routing, correct?  Also, do I need
 entries in interfaces for eth0 or eth1?  Or should I just write
 everything I need into a script, dump that into init.d, and create
 links appropriately?
 

# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

#auto br0
iface br0 inet static
address 10.0.0.122
netmask 255.255.255.0
broadcast 10.0.0.0
gateway 10.0.0.1
bridge_ports all


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



Suggestions on choosing an IMAP server

2003-07-16 Thread Mike Fedyk
Hi D-U :)

I'm going to switch from pop3 to imap, and I'd like to know what you guys
think is the best debian packaged IMAP server, and why.

I'd really like to use MailDir mailboxes.

Thanks.


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



  1   2   3   >