Re: USB not working, Need Help

2003-10-06 Thread Marshal Wong
On Sun, 2003-10-05 at 14:57, Ralph F. De Witt wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hello:
> I am new to debian and still very much unfamilliar with Debian. Yesterday I 
> had my USB subsystem working. Today after an update and a reboot I find no 
> USB devices listed in the system. Could someone help me, by talking me thru 
> the checks I need to make, etc. I would like to get the system fixed and gain 
> the knowledge so that I can correct  this myself should this happen again. 
> Thanks for any help.

First off, did you recompile the kernel or are you using a stock
kernel?  Did you load the usb modules?

I don't know how well you know linux, so if you've already done all
that, please forgive.  Let us know what steps you've taken and any error
results and maybe we can help you more.

Good luck.

Marshal

> - -- 
> Ralph
> **
> Debian Linux: testing/unstable
> 2.4.22 xfs kernel
> ralphfdewitt on Yahoo and Aim ralphdewitt on Jabber
> Signed and Encrypted Mail Encouraged
> **
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQE/gJP3u29DXA3iCF0RAk0PAJ9DUu1lbhHM2HBQ1HqKQIQT2nE07QCghbBY
> oPsT8Dn1eUTflrU6PtfO55Y=
> =9kKv
> -END PGP SIGNATURE-
> 


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



Mutt & Sylpheed

2003-10-06 Thread Naitik Shah
Its a repeated question, I know, but after considerable digging on
google, I still haven't been able to figure out the best way to be able
to use sylpheed (claws) and mutt together. There's just way too much
information out there!! If anyone knows of a good document that can help
me set this up, please email away!

>From what I've read, I believe there's a few ways:

fetchmail -> procmail -> MH, mbox, maildir
fetchmail -> procmail -> cyrus -> IMAP

I understand that using IMAP I would essentially be able to use it with
any email client, as long as it supports IMAP. I would even be able to
check it through a web interface, when I'm on a PC without ssh!

It'll be great if someone could post configuration files (fetchmail,
procmail, mutt)  I'm sure I'll be able to figure something out from
those.

I promise, if I get it working, I'll write a HOW-TO and post it online!

Naitik.


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



Re: simple text formatting

2003-10-06 Thread Ashish Ariga
On Mon, 2003-10-06 at 12:07, Mike Egglestone wrote:
> Hi,
> 
> I have a file in this format of words:
> 
> joe jill bill bob frank tom harry
> 
> and want to convert the file to this format:
> 
> joe
> jill
> bill
> bob
> frank
> tom
> harry
> 
> Is there an easy way to this? The file I have has hundreds of entries.

Then you should probably consider using sed, rather than building a huge
args list with `cat file`

Try
sed -ri 's/[ \t]+/\n/g' file

This will modify the existing file, replacing any spaces or tabs with
carriage returns. If you do not wish to modify the existing file,
exclude the "i" option and pipe the output to a new file.



-- 
 ---
| My problem lies in reconciling my gross habits with my net income.|
 ---


signature.asc
Description: This is a digitally signed message part


Apache goes haywire, NSCD fixes it. Odd (solved) problem.

2003-10-06 Thread Tyler Morgan
Hi,

I have recently surmounted an odd problem involving Apache 1.3.27.0-2
on Debian testing/unstable (with a 2.4.22 kernel) and thought it may be
worthwhile to explain what happened to a group of people who might care,
in hopes that others find the information useful.

A few days ago my machine, which is a Dell P4 2.4 GHz box (pretty generic),
started experiencing extremely high load averages and CPU usage. A couple of
apache processes (anywhere from 1 to 5) had decided to eat 100% of CPU and
100% of RAM (1G physical 1G swap) between themselves (evenly distributed)
for no apparent reason. Restarting apache would temporarily fix these
runaway processes for anywhere from 30 seconds to 12 hours. Typically it
would start up again within 10 or 15 minutes.

Not being able to figure out what the hell these processes were doing by
examining logs and the server-status page, I started stracing the runaway
pids. The output looked like this:

<-- strace output -->
# strace -p 
close(7)= 0
mremap(0x44735000, 304750592, 304754688, MREMAP_MAYMOVE) = 0x44735000
open("/etc/passwd", O_RDONLY)   = 7
fcntl64(7, F_GETFD) = 0
fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
_llseek(7, 0, [0], SEEK_CUR)= 0
fstat64(7, {st_mode=S_IFREG|0644, st_size=4158, ...}) = 0
mmap2(NULL, 4158, PROT_READ, MAP_SHARED, 7, 0) = 0x403f4000
_llseek(7, 4158, [4158], SEEK_SET)  = 0
fstat64(7, {st_mode=S_IFREG|0644, st_size=4158, ...}) = 0
munmap(0x403f4000, 4158)= 0
close(7)= 0

<-- end strace -->

That would happen over and over about a hundred thousand times until the
system ran out of memory and the process was killed by the kernel.

I was stuck at this point. Why the hell is apache freaking out and eating
tons of CPU while attempting to open /etc/passwd? Who knows? You wouldn't
believe the amount of troubleshooting I did. New kernels, new source
compiled apache binaries with default configurations, confirmed md5 sums
of all apache binaries and linked libraries against a problem-free machine,
a complete hardware swap, and even a run with apache-ssl. I tried everything
and this was still happening.

About to give up hope, I started looking at strace output again. I didn't
notice this before:
<-- more strace -->
connect(7, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 \
ENOENT (No such file or directory)
close(7)= 0
open("/etc/passwd", O_RDONLY)   = 7
<-- end strace -->

Hmm.. It.s trying to connect to NSCD before trying (and failing) to open
/etc/passwd. It only was trying NSCD about once every 50 attempts.

Not knowing what NSCD even is I Googled around and found out it provides
cached passwd lookups (among other things). That sounded promising!
Installed NSCD and, well, look at the graphs yourself:

http://discore.org/cpusum-day.png
(Daily CPU usage % updated every 5 min)

NSCD was installed just after 3PM and the problem magically disappeared.

Bug? Maybe. Error on my part? More likely. Odd? I think so. Fun? Not at all.

I still don't know why apache couldn't just open /etc/passwd to get the
information that NSCD provides more readily. The permissions are fine
and nothing but apache is having problems.

I'd be available to do further testing of this if anyone is interested.
Mostly the point of this post is just to provide information on something
that happened to me and was fixed quite easily after far too much
troubleshooting.

Thanks for reading,
Tyler Morgan


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



Re: Release statusus

2003-10-06 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Oct 05, 2003 at 11:57:37AM +0200, Neo wrote:
>   is sid frozen? I hardly got any updates last week.

Nope, but sarge should be, soon, if sarge is going to go stable by
December.

- -- 
 .''`. Paul Johnson <[EMAIL PROTECTED]>
: :'  :
`. `'` proud Debian admin and user
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/gSDzUzgNqloQMwcRApr3AJ93usAue/ddarIirOV2LKeHVAFsxgCfeUED
gv5+UQRy9YUgzInl3eMl/E0=
=zTxH
-END PGP SIGNATURE-


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



Re: USB not working, Need Help

2003-10-06 Thread Ralph F. De Witt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 06 October 2003 12:12 am, Marshal Wong wrote:
> First off, did you recompile the kernel or are you using a stock
> kernel?  Did you load the usb modules?
>
> I don't know how well you know linux, so if you've already done all
> that, please forgive.  Let us know what steps you've taken and any error
> results and maybe we can help you more.
Marshal:
Thanks for your quick reply. To answer your questions. This Debian install 
start out as Knoppix 3.2. As I failed to get Woody to install, could not get 
x to work. This is the stock kernel that installed from Knoppix. It is the 
2.4.22 xfs kernel. I did a upgrade to SID. I did a lsmod and it showed the 
usbcore and usb-uchi modules loaded. Yesterday my three usb devices and the 
usb system stuff showed in the KDE info center today after a upgrade to SID 
and reboot they do not show and xsane cannot find the scanner. My thinking is 
that in converting the Knoppix install to Sid something broke the USB system, 
I can see the usb modules loaded with lsmod but do not know what else to do 
to trouble shoot the problem.
- -- 
Ralph
**
Debian Linux: testing/unstable
2.4.22 xfs kernel
ralphfdewitt on Yahoo and Aim ralphdewitt on Jabber
Signed and Encrypted Mail Encouraged
**
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/gSFYu29DXA3iCF0RAjcHAJ9HVO2Fgsi9TxgQURKjdnRbfROaKQCeMuFg
rw/M/PEr+5wzWIoVBr8Whf0=
=CH4N
-END PGP SIGNATURE-


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



Re: USB not working, Need Help

2003-10-06 Thread Marshal Wong
On Mon, 2003-10-06 at 01:01, Ralph F. De Witt wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Monday 06 October 2003 12:12 am, Marshal Wong wrote:
> > First off, did you recompile the kernel or are you using a stock
> > kernel?  Did you load the usb modules?
> >
> > I don't know how well you know linux, so if you've already done all
> > that, please forgive.  Let us know what steps you've taken and any error
> > results and maybe we can help you more.
> Marshal:
> Thanks for your quick reply. To answer your questions. This Debian install 
> start out as Knoppix 3.2. As I failed to get Woody to install, could not get 
> x to work. This is the stock kernel that installed from Knoppix. It is the 
> 2.4.22 xfs kernel. I did a upgrade to SID. I did a lsmod and it showed the 
> usbcore and usb-uchi modules loaded. Yesterday my three usb devices and the 
> usb system stuff showed in the KDE info center today after a upgrade to SID 
> and reboot they do not show and xsane cannot find the scanner. My thinking is 
> that in converting the Knoppix install to Sid something broke the USB system, 
> I can see the usb modules loaded with lsmod but do not know what else to do 
> to trouble shoot the problem.
> - -- 

Check if /proc/bus/usb is mounted.  That maybe where KDE info center
gets its information.  (I don't use KDE, so I can't really help you
there).  If not, it can be mounted by "mount -t usbdevfs none
/proc/bus/usb" as root.

also check that /dev/ and/or /dev/usb/ has the device files for your usb
stuff.  (what do you have beside the scanner?) 

With xsane, check the configuration files for xsane.  They should be
/etc/xsane or something like that.  You may have to edit the
configuration files to point xsane in the right direction.

But lets make sure that usb is up and running first before tackling
xsane.  You got a USB mouse or something easy to test?

Good luck.

Marshal

> Ralph
> **
> Debian Linux: testing/unstable
> 2.4.22 xfs kernel
> ralphfdewitt on Yahoo and Aim ralphdewitt on Jabber
> Signed and Encrypted Mail Encouraged
> **
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQE/gSFYu29DXA3iCF0RAjcHAJ9HVO2Fgsi9TxgQURKjdnRbfROaKQCeMuFg
> rw/M/PEr+5wzWIoVBr8Whf0=
> =CH4N
> -END PGP SIGNATURE-
> 
> 


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



Re: Ticker

2003-10-06 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Oct 06, 2003 at 12:53:05AM +0100, Rus Foster wrote:
> Does anyone know of any program that could scroll a messages across the
> root window or some sort of news ticker? Ideally works with sawfish

Well, it's not for sawfish, but knewsticker does something fairly
similar.

- -- 
 .''`. Paul Johnson <[EMAIL PROTECTED]>
: :'  :
`. `'` proud Debian admin and user
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/gSbdUzgNqloQMwcRAgbsAKCsgFqdFcYARDpL968dIrsMzPo2sACffQ9s
iKCEY2bV/aEGjK8vXLPkd1o=
=6fZj
-END PGP SIGNATURE-


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



Re: USB not working, Need Help

2003-10-06 Thread kmark


On Mon, 6 Oct 2003, Ralph F. De Witt wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Monday 06 October 2003 12:12 am, Marshal Wong wrote:
> > First off, did you recompile the kernel or are you using a stock
> > kernel?  Did you load the usb modules?
> >
> > I don't know how well you know linux, so if you've already done all
> > that, please forgive.  Let us know what steps you've taken and any error
> > results and maybe we can help you more.
> Marshal:
> Thanks for your quick reply. To answer your questions. This Debian install
> start out as Knoppix 3.2. As I failed to get Woody to install, could not get
> x to work. This is the stock kernel that installed from Knoppix. It is the
> 2.4.22 xfs kernel. I did a upgrade to SID. I did a lsmod and it showed the
> usbcore and usb-uchi modules loaded. Yesterday my three usb devices and the
> usb system stuff showed in the KDE info center today after a upgrade to SID
> and reboot they do not show and xsane cannot find the scanner. My thinking is
> that in converting the Knoppix install to Sid something broke the USB system,
> I can see the usb modules loaded with lsmod but do not know what else to do
> to trouble shoot the problem.
 is there any relevant info in /var/log/messages
is usbmgr installed?
I use usbview to view the usb info.
HTH
-Kev


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



MPC decoder

2003-10-06 Thread Jose Luis Ayala
Hi guys!

I've just found a new sound format for me :) MPC (what seems to come
from "Mousetrack").

I'd like to convert this to something more useful for me, like mp3 or
so. I've tried with lame, xmms, madplay... but I wasn't able.

Does anybody have any idea of what I can use for decoding this sound
format?

Thanks a lot!

Jose

-- 

Jose L. Ayala Rodrigo   Phone: 34-91-5495700 ext.420
Dpto. Ingenieria ElectronicaFax:   34-91-3367323
ETSI Telecomunicacion
Ciudad Universitaria s/nEmail: [EMAIL PROTECTED]
28040 Madrid (Spain)Web:   www.lsi.die.upm.es/~jayala

Linux Registered User #182215
-
"Theory is when you know everything and nothing works;
 practice, when everything works but no one knows why."


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



Re: KDE+Kmail

2003-10-06 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Oct 05, 2003 at 09:58:21PM -0300, Frederico Rodrigues Abraham wrote:
> I tried to uninstall exim, which led me to a question... why does 
> KDE depend on KMail? Isnt KDE a Desktop Environment and KMail a mail 
> client/service?

It doesn't, according to aptitude.  kdebase-libs suggests it, though.

- -- 
 .''`. Paul Johnson <[EMAIL PROTECTED]>
: :'  :
`. `'` proud Debian admin and user
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/gSmjUzgNqloQMwcRAvQ/AKCp+p8D4JeVFRRNkrw07BeDC8kQ2wCdFWFE
mKY0nVLpsfduNJtrerBCcEM=
=F0bw
-END PGP SIGNATURE-


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



Re: Microsoft-Fonts

2003-10-06 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Oct 06, 2003 at 12:05:38PM +0800, Uwe Dippel wrote:
> There are those collections of Microsoft-Fonts around. Do we have a
> package in Debian ? I tried apt-cache, but no success.$

msttcorefonts?

- -- 
 .''`. Paul Johnson <[EMAIL PROTECTED]>
: :'  :
`. `'` proud Debian admin and user
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/gSsLUzgNqloQMwcRArl+AJ0YbFD+EZbh8TAhHHRRx+FX/pNEIQCgtFEp
lG1uBR25kfzn0WH+jaLJ1pM=
=SppO
-END PGP SIGNATURE-


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



Re: USB not working, Need Help

2003-10-06 Thread Ralph F. De Witt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 06 October 2003 01:16 am, Marshal Wong wrote:
> Check if /proc/bus/usb is mounted.  That maybe where KDE info center
> gets its information.  (I don't use KDE, so I can't really help you
> there).  If not, it can be mounted by "mount -t usbdevfs none
> /proc/bus/usb" as root.
This seems to be part of the problem. When I issued the mount command the 
three USB Root hubs now show up in the KDE INfo Center. However no USB 
devices are shown.


> also check that /dev/ and/or /dev/usb/ has the device files for your usb
> stuff.  (what do you have beside the scanner?)
The device files for the scanner are the only things in dev.
Besides the scanner I have a USB web camera and a three in one card reader. 
The easiest for me to check is the scanner.

>
> With xsane, check the configuration files for xsane.  They should be
> /etc/xsane or something like that.  You may have to edit the
> configuration files to point xsane in the right direction.
I have already edited the epson scanner config file to point to the proper USB 
device.

>
> But lets make sure that usb is up and running first before tackling
> xsane.  You got a USB mouse or something easy to test?
The easiset for me to test is the scanner.

Some things I noticed in synaptic is that devfsd is not installed, usbmgr is 
also not installed and could not be installed unmet dependencies. I am still 
using the knoppix initscripts and 2.4.22 xfs kernel. I am not sure if the 
devfsd is used.

>
> Good luck.
>
> Marshal

- -- 
Ralph
**
Debian Linux: testing/unstable
2.4.22 xfs kernel
ralphfdewitt on Yahoo and Aim ralphdewitt on Jabber
Signed and Encrypted Mail Encouraged
**
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/gSwFu29DXA3iCF0RAkgOAJ94+GDQd/QUsSJb7Eqq8bLgQb+jogCfRrgS
1jxH6Mc/IF90iCTHg/nYC6A=
=JVY8
-END PGP SIGNATURE-


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



Re: USB not working, Need Help

2003-10-06 Thread kmark


On Mon, 6 Oct 2003, Ralph F. De Witt wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Monday 06 October 2003 01:16 am, Marshal Wong wrote:
> > Check if /proc/bus/usb is mounted.  That maybe where KDE info center
> > gets its information.  (I don't use KDE, so I can't really help you
> > there).  If not, it can be mounted by "mount -t usbdevfs none
> > /proc/bus/usb" as root.
> This seems to be part of the problem. When I issued the mount command the
> three USB Root hubs now show up in the KDE INfo Center. However no USB
> devices are shown.
>
>
> > also check that /dev/ and/or /dev/usb/ has the device files for your usb
> > stuff.  (what do you have beside the scanner?)
> The device files for the scanner are the only things in dev.
> Besides the scanner I have a USB web camera and a three in one card reader.
> The easiest for me to check is the scanner.
>
> >
> > With xsane, check the configuration files for xsane.  They should be
> > /etc/xsane or something like that.  You may have to edit the
> > configuration files to point xsane in the right direction.
> I have already edited the epson scanner config file to point to the proper USB
> device.
>
> >
> > But lets make sure that usb is up and running first before tackling
> > xsane.  You got a USB mouse or something easy to test?
> The easiset for me to test is the scanner.
>
> Some things I noticed in synaptic is that devfsd is not installed, usbmgr is
> also not installed and could not be installed unmet dependencies. I am still
> using the knoppix initscripts and 2.4.22 xfs kernel. I am not sure if the
> devfsd is used.

usbmgr depends on libc6 so which version of usbmgr did you try to install?
apt-get install usbmgr/stable
apt-get install usbmgr/testing
apt-get install usbmgr/unstable
---
Running: apt-cache show usbmgr
Package: usbmgr
Priority: extra
Section: admin
Installed-Size: 168
Maintainer: Yoshiaki Yanagihara <[EMAIL PROTECTED]>
Architecture: i386
Version: 0.4.8-8
Depends: libc6 (>= 2.3.1-1)
Filename: pool/main/u/usbmgr/usbmgr_0.4.8-8_i386.deb
Size: 37612
MD5sum: fd873c8580f9d7e9421a3951f40a30f5
Description: User-Mode daemon which loads/unloads USB kernel modules
 When USB devices connect into or disconnect from a USB hub,
 the usbmgr works as follows, according to configuration:
 .
   a) Load and unload Linux kernel modules.
   b) Execute scripts to setup USB devices.
 .
 usbmgr is available under linux kernels having "/proc/bus/usb".

Package: usbmgr
Priority: extra
Section: admin
Installed-Size: 172
Maintainer: Yoshiaki Yanagihara <[EMAIL PROTECTED]>
Architecture: i386
Version: 0.4.8-5
Depends: libc6 (>= 2.2.4-4)
Filename: pool/main/u/usbmgr/usbmgr_0.4.8-5_i386.deb
Size: 35934
MD5sum: b1547e46839f7a857771a7882965f2f4
Description: User-Mode daemon which loads/unloads USB kernel modules
 When USB devices connect into or disconnect from a USB hub,
 the usbmgr works as the following according to configuration.
 .
   a) Loads and unloads files Linux kernel modules.
   b) Execute file to setup USB devices.
 .
 usbmgr is available under linux kernel have "/proc/bus/usb".



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



Re: KDE+Kmail

2003-10-06 Thread Andreas Janssen
Hello

Frederico Rodrigues Abraham (<[EMAIL PROTECTED]>) wrote:

>  I tried to uninstall exim, which led me to a question... why does
> KDE depend on KMail? Isnt KDE a Desktop Environment and KMail a mail
> client/service?

KMail is the KDE email client. The KDE desktop itself does not depend on
kmail. The kde package that depends on kmail is not KDE itself, it is
empty. The only purpose of the kde package is to depend on many common
KDE packages like konqueror, kmail, kdebase and so on, so that upon
installing, you can simply install the kde package instead on having to
select all the packages on your own. However, after installing KDE you
can safeley remove the kde package because it is not needed to run KDE
- it is only there to make installing kde more convenient.

best regards
Andreas Janssen

-- 
Andreas Janssen
[EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976


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



Re: Apache goes haywire, NSCD fixes it. Odd (solved) problem.

2003-10-06 Thread kmark


On Mon, 6 Oct 2003, Tyler Morgan wrote:

> Hi,
>
> I have recently surmounted an odd problem involving Apache 1.3.27.0-2
> on Debian testing/unstable (with a 2.4.22 kernel) and thought it may be
> worthwhile to explain what happened to a group of people who might care,
> in hopes that others find the information useful.
>
> A few days ago my machine, which is a Dell P4 2.4 GHz box (pretty generic),
> started experiencing extremely high load averages and CPU usage. A couple of
> apache processes (anywhere from 1 to 5) had decided to eat 100% of CPU and
> 100% of RAM (1G physical 1G swap) between themselves (evenly distributed)
> for no apparent reason. Restarting apache would temporarily fix these
> runaway processes for anywhere from 30 seconds to 12 hours. Typically it
> would start up again within 10 or 15 minutes.
>
> Not being able to figure out what the hell these processes were doing by
> examining logs and the server-status page, I started stracing the runaway
> pids. The output looked like this:
>
> <-- strace output -->
> # strace -p 
> close(7)= 0
> mremap(0x44735000, 304750592, 304754688, MREMAP_MAYMOVE) = 0x44735000
> open("/etc/passwd", O_RDONLY)   = 7
> fcntl64(7, F_GETFD) = 0
> fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
> _llseek(7, 0, [0], SEEK_CUR)= 0
> fstat64(7, {st_mode=S_IFREG|0644, st_size=4158, ...}) = 0
> mmap2(NULL, 4158, PROT_READ, MAP_SHARED, 7, 0) = 0x403f4000
> _llseek(7, 4158, [4158], SEEK_SET)  = 0
> fstat64(7, {st_mode=S_IFREG|0644, st_size=4158, ...}) = 0
> munmap(0x403f4000, 4158)= 0
> close(7)= 0
> 
> <-- end strace -->
>
> That would happen over and over about a hundred thousand times until the
> system ran out of memory and the process was killed by the kernel.
>
> I was stuck at this point. Why the hell is apache freaking out and eating
> tons of CPU while attempting to open /etc/passwd? Who knows? You wouldn't
> believe the amount of troubleshooting I did. New kernels, new source
> compiled apache binaries with default configurations, confirmed md5 sums
> of all apache binaries and linked libraries against a problem-free machine,
> a complete hardware swap, and even a run with apache-ssl. I tried everything
> and this was still happening.
>
> About to give up hope, I started looking at strace output again. I didn't
> notice this before:
> <-- more strace -->
> connect(7, {sa_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 \
> ENOENT (No such file or directory)
> close(7)= 0
> open("/etc/passwd", O_RDONLY)   = 7
> <-- end strace -->
>
> Hmm.. It.s trying to connect to NSCD before trying (and failing) to open
> /etc/passwd. It only was trying NSCD about once every 50 attempts.
>
> Not knowing what NSCD even is I Googled around and found out it provides
> cached passwd lookups (among other things). That sounded promising!
> Installed NSCD and, well, look at the graphs yourself:
>
> http://discore.org/cpusum-day.png
> (Daily CPU usage % updated every 5 min)
>
> NSCD was installed just after 3PM and the problem magically disappeared.
>
> Bug? Maybe. Error on my part? More likely. Odd? I think so. Fun? Not at all.
>
> I still don't know why apache couldn't just open /etc/passwd to get the
> information that NSCD provides more readily. The permissions are fine
> and nothing but apache is having problems.
>
> I'd be available to do further testing of this if anyone is interested.
> Mostly the point of this post is just to provide information on something
> that happened to me and was fixed quite easily after far too much
> troubleshooting.
>
> Thanks for reading,
> Tyler Morgan
Is your apache serving static pages or dynamic? What modules is it using?
Can you think of anything that need authentication (checking a password)?
This may have fixed your problem but I don't thing it was the real
solution.
-K


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



Re: exim/fetchmail config

2003-10-06 Thread Clive Menzies
On (05/10/03 22:55), Jeff Elkins wrote:
> 
> I've recently switched to a system where fetchmail picks up all my pop3 email 
> and routes it to a local address, wherespamassassin analyzes it. Thus far, 
> it's been working great, except for one caveat...
> 
> Certain family members are Windows/Outlook Express users and when they attempt 
> to reply to an email it's routed to [EMAIL PROTECTED] or [EMAIL PROTECTED] 
> rather than jeffelkins(at)earthlink.net or jeff(at)elkins.org 
> 
> Thus their replies bounce.
> 
> I'm stumped. Is this a problem with my exim/fetchmail config or is it a OE 
> problem?  How can I overcome this?
> 
> (this is a resend...please assist if you can)
Hi Jeff

I sent this to the list yesterday but here it is cc'd as well:

Hi Jeff

I had the same problem and struggled for days to find a way around it ;)

I then found this from Rob Lister:
http://www.exim.org/pipermail/exim-users/Week-of-Mon-20010903/029627.html

It worked for me ;)

Regards

Clive



> 
-- 
http://www.clivemenzies.co.uk
strategies for business


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



Re: MPC decoder

2003-10-06 Thread Haim Ashkenazi
Jose Luis Ayala wrote:

> Hi guys!
> 
> I've just found a new sound format for me :) MPC (what seems to come
> from "Mousetrack").
> 
> I'd like to convert this to something more useful for me, like mp3 or
> so. I've tried with lame, xmms, madplay... but I wasn't able.
> 
> Does anybody have any idea of what I can use for decoding this sound
> format?
Hi

try xmms-musepack (a plugin for xmms, google for it). then  you can use xmms
to output wav and then convert to mp3.

Bye
--
Haim


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



Diffing arbitrary deb-source packages

2003-10-06 Thread Tom
I've installed apt-listchanges and started reading the associated bug 
reports in changelogs when I upgrade unstable, so I'm doing a lot better 
understanding what's going on with my packages.

However, sometimes I find reading the source code helps me understand 
the developer's comments better.  Is there any easy way to "view a diff" 
of two versions of an arbitrary Debian source package?  My first choice 
would be online, ala CVSweb.  Ideally, I could read the changelog, bug 
reports, and code deltas side by side in an automated, general way, when 
I upgrade.

Thanks


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



Xv video driver expires after xfree86 upgrade

2003-10-06 Thread Alphonse Ogulla
Hi all,
Up to very recently, I could watch vcd movies on my box using xine video 
player with Xv as the video driver. However, I came to discover yesterday 
that Xv video driver had become inoperative after either upgrading xfree86 
from version 4.1.0 to 4.2.1 using the deb package or installation of mplayer 
0.9 from the source tarball.

I'm not pretty sure which of the two packages/applications is the culprit as I 
installed both of them more or less on the same day but somehow I'm convinced 
it must be xfree86 since mplayer too does not show any pictures (only a blue 
window screen) with the Xv video driver. Have no dependancy issues though.

After trying all other available video drivers in xine, I finally settled on 
XShm as the work around. So, I'm just wondering if somebody else has 
experienced similar problems with Xv video driver and xserver-xfree86 4.2.0 
or probably this may just happen to be a bug. 

Regards,

-- 

Alphonse Ogulla
Nairobi, Kenya
Debian 3.0r1 "woody"




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



Installing a kernel off CD-ROM

2003-10-06 Thread cr
Is there any way to install a kernel on the hard drive off the install 
CD-ROMs   (without going through the whole Install process)?

Currently, I have the 2.4.18-k6  kernel installed on my hard drive, but it 
doesn't seem to have ppp enabled   (dmesg brings up no mention of ppp).   
I'm a little surprised, I would've thought a kernel I downloaded as a .deb 
off debian.org would have ppp enabled, but still...(did I do something 
wrong during the install, I wonder?)

If I want to reach the Internet I currently have to boot the 2.4.18-bf2.4 
kernel off the world's slowest floppy boot disk   ;)  

Plus, floppy booting, it doesn't read  Grub's  menu.lst  so never invokes  
hdb=ide-scsi  that I need for cdrecord, though I assume I could change 
syslinux.cfg on the floppy:
DISPLAY message.txt
TIMEOUT 40
PROMPT 1
DEFAULT linux.bin
APPEND root=/dev/hdc2 ro 

by changing the last line to 

APPEND root=/dev/hdc2  dhb=ide-scsi  ro


Anyway, back to the CD-ROM, is there any way to use the kernel images on that 
to just put a   vmlinuz-xxx   in  /bootthat I can call with Grub, without 
going through the Install process again   (because last time I did that, I 
broke things  :(

Or do I need to do another 5MB download of a .deb from  debian.org?

Regards 

cr


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



Re: Games for 1-2 year old child. Recommendations wanted.

2003-10-06 Thread Carlos Sousa
On Mon, 6 Oct 2003 01:10:41 +0100 Pigeon wrote:
> ...
> The television regulating authorities ought to legislate that the PDC
> code information should contain a flag to indicate whether the current
> material being transmitted is programme content, advertising or
> trailers. This could then be decoded by the receiving apparatus to
> mute the sound and blank the screen during adverts.

This will *never* happen, I don't think. The whole purpose of broadcast
television is to sell adds, all the rest that is broadcast is just to
draw the viewers to the screen so they can see the ads. To do what you
(and many others) suggest would effectively bring an end to broadcast TV
(no financing).

> The advertisers would hate it, but fsck 'em. The viewers hate the
> adverts, and we're in the majority, by a long long way.

Since the viewers of broadcast TV do not pay for it, but advertisers do,
that majority is largely irrelevant. Irrelevant and harmless, since any
actions of protest involving boycot, and thus giving up our favorite
shows, will hardly get off the ground, and TV broadcasters are fully
aware of that.

This driving force behind television (the selling of adds) is so powerful
that you can see more and more ads creeping up on viewer-financed TV
distribution media such as cable, which you'd think would be a bit more
under viewer control.

So, the solution will have to be a spamassassin-like one. Smart receivers
will have to analyse image/sound content as it's coming in, apply some
heuristic criteria, and decide on that basis whether to block it on the
fly. Even so, I doubt many equipment makers will take the trouble, since
they would be fighting the industry that ultimately justifies their
existence on the market.

-- 
Carlos "Human-Nature-Fan" Sousa
http://vbc.dyndns.org/


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



sarge-i386-netinst.iso

2003-10-06 Thread François Chenais
Hello, 

I just have burnt the sarge-i386-netinst.iso disk. I try to install it
on a laptop using pcmcia xircom card. 

It seems the CD doesn't support pcmcia. How can I resolv it ?

TIA

François
-- 
Debian SID
Linux tanna 2.6.0-test2 #10 Tue Aug 5 13:36:17 CEST 2003 i686 GNU/Linux
Linux Counter #59413
PGP fingerprint : 9AFA 15EC 96C9 F607 EBC1  DD41 70C5 F0E0 25A5 105B



signature.asc
Description: Ceci est une partie de message	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?=


Re: Microsoft-Fonts

2003-10-06 Thread Uwe Dippel
Mario,

thanks, done !

(Could anyone point me to a comprehensible handbook or so about Debian
?? It is so nice and so undocumented. And, if documented, uses too much
insider language. And I don't feel like repeatedly asking for all those
small things ... !)

Uwe

-- 
Which is worse, ignorance or apathy? Who knows! Who cares?


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



Re: Diffing arbitrary deb-source packages

2003-10-06 Thread Colin Watson
On Mon, Oct 06, 2003 at 02:37:16AM -0700, Tom wrote:
> I've installed apt-listchanges and started reading the associated bug 
> reports in changelogs when I upgrade unstable, so I'm doing a lot better 
> understanding what's going on with my packages.
> 
> However, sometimes I find reading the source code helps me understand 
> the developer's comments better.  Is there any easy way to "view a diff" 
> of two versions of an arbitrary Debian source package?

If you have both source packages downloaded then you can use debdiff
(from the devscripts package) to do it. You can get the older versions
from snapshot.debian.net.

I don't think anyone's done a webbified version of this yet, though.

-- 
Colin Watson  [EMAIL PROTECTED]


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



Re: Xv video driver expires after xfree86 upgrade

2003-10-06 Thread Nicos Gollan
On Monday 06 October 2003 11:21, Alphonse Ogulla wrote:
> Up to very recently, I could watch vcd movies on my box using xine video
> player with Xv as the video driver. However, I came to discover yesterday
> that Xv video driver had become inoperative after either upgrading xfree86
> from version 4.1.0 to 4.2.1 using the deb package or installation of
> mplayer 0.9 from the source tarball.
>
> I'm not pretty sure which of the two packages/applications is the culprit
> as I installed both of them more or less on the same day but somehow I'm
> convinced it must be xfree86 since mplayer too does not show any pictures
> (only a blue window screen) with the Xv video driver.

That's a problem with X itself. Most likely, the currently used graphics 
driver has a limited or broken implementation of the Xv extensions.

What graphics driver are you using (what video card)? Ist the XVideo extension 
listed in xdpyinfo?

-- 
Got Backup?


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



Disable / override meta-refresh?

2003-10-06 Thread Karsten M. Self
I'm looking for information on blocking or disabling the meta refresh
tag:

http://bugzilla.mozilla.org/show_bug.cgi?id=83265

I'm currently doing research on sites in which it's convenient to load
many pages and browse them at leisure offline.  However they reset at 30
minutes...  Gah!


Approaches I'm looking at:

  - Disabling or overriding meta refresh with CSS.  E.g.:  if I can set
in an override value of '' and '#', most
of the worse abuses should be dealt with.  Or 'ignore'.  I can't
find any obvious CSS selectors for this though

  - An HTML proxy rewrite.  If I could simply 
  
s/]*>//

...the problem would go away.  Any suggestions for a rewriting
proxy?  There are a number of evils I'd like to fix

wwwoffl looks like it has an option to ignore meta-refresh.

  - A browser plugin.  Something that will block the action at the
browser.


Interestingly enough, it appears that MSIE actually has the option to
block meta refresh, while Galeon doesn't.  I'm shocked that there are
actually user-friendly features in MS that GNU/Linux browsers lack.

Anyone knowing where current Mozilla / Galeon / Firebird development is
headed -- this information is also appreciated.


Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
  The revolution will not be televised.
  You can apt-get it from the usual mirrors, however. http://www.debian.org/


signature.asc
Description: Digital signature


Re: can't open yahoo mail in konqueror

2003-10-06 Thread Alphonse Ogulla
On Thursday 02 October 2003 20:10, Dan Anderson wrote:
> FWIW I just checked my mail @ mail.yahoo.com using konqueror.
>
> -Dan
>
> On Thu, 2003-10-02 at 10:35, Alphonse Ogulla wrote:
> > Unable to open mail.yahoo.com in konqueror as non root for the simple
> > fact that yahoo wants to dump some cookies at / (root) directory for
> > which I have no permissions. Anybody experience this strange behaviour?
> >
Now, not even root can open yahoo mail despite enabling cookies, accepting all 
cookies by default and sending out browser information. Previoulsy I could 
open yahoo mail as root but not as an ordinary user. Just get the following  
error over and over.
"The browser you're using refuses to sign in (cookies rejected)

Anybody else experiencing this *very* strange behaviour? Please try out and 
revert.

-- 

Alphonse Ogulla
Nairobi, Kenya


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



Re: Diffing arbitrary deb-source packages

2003-10-06 Thread Tom
On Mon, Oct 06, 2003 at 10:54:30AM +0100, Colin Watson wrote:
> On Mon, Oct 06, 2003 at 02:37:16AM -0700, Tom wrote:
> > I've installed apt-listchanges and started reading the associated bug 
> > reports in changelogs when I upgrade unstable, so I'm doing a lot better 
> > understanding what's going on with my packages.
> > 
> > However, sometimes I find reading the source code helps me understand 
> > the developer's comments better.  Is there any easy way to "view a diff" 
> > of two versions of an arbitrary Debian source package?
> 
> If you have both source packages downloaded then you can use debdiff
> (from the devscripts package) to do it. You can get the older versions
> from snapshot.debian.net.
> 
> I don't think anyone's done a webbified version of this yet, though.
> 
> -- 
> Colin Watson  [EMAIL PROTECTED]
> 

Thanks, that's absolutely perfect.  I should be able to fully automate 
this.  Debian rocks!


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



Re: Installing a kernel off CD-ROM

2003-10-06 Thread Andreas Janssen
Hello

cr (<[EMAIL PROTECTED]>) wrote:

> Is there any way to install a kernel on the hard drive off the install
> CD-ROMs   (without going through the whole Install process)?
> 
> Currently, I have the 2.4.18-k6  kernel installed on my hard drive,
> but it doesn't seem to have ppp enabled   (dmesg brings up no mention
> of ppp). I'm a little surprised, I would've thought a kernel I 
> downloaded as a .deb off debian.org would have ppp enabled, but 
> still...
> (did I do something wrong during the install, I wonder?)

Check if the ppp support is built as modules. On my system (self
compiled kernel with ppp support as modules), the following modules are
loaded:

sirius:/home/andreas# lsmod | grep ppp
ppp_deflate 3008   1  (autoclean)
zlib_inflate   18592   0  (autoclean) [ppp_deflate]
zlib_deflate   17984   0  (autoclean) [ppp_deflate]
ppp_async   6624   1  (autoclean)
ppp_generic17164   3  (autoclean) [ppp_deflate bsd_comp
ppp_async]
slhc4704   1  (autoclean) [ppp_generic]

A quick search on  shows that your kernel
package has the ppp_async.o module (I didn't check for the other ones).

Try this to find out:

cat /boot/config-2.4.18-k6 | grep PPP

On my system, these drivers are loaded automatically. There is a file
/etc/modutils/ppp with the following lines:

alias /dev/ppp  ppp_generic
alias char-major-108ppp_generic
alias tty-ldisc-3   ppp_async
alias tty-ldisc-14  ppp_synctty
alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate

Please check your /etc/modutils/ppp file and your /etc/modules.conf to
make sure it also has these lines (if not, try to run update-modules).

> If I want to reach the Internet I currently have to boot the
> 2.4.18-bf2.4 kernel off the world's slowest floppy boot disk   ;)
>
> [...]
>
> Anyway, back to the CD-ROM, is there any way to use the kernel images
> on that to just put a   vmlinuz-xxx   in  /bootthat I can call 
> with Grub, without going through the Install process again   (because 
> last time I did that, I broke things  :(
> 
> Or do I need to do another 5MB download of a .deb from  debian.org?

First, you can use apt-get to install the package for the 2.4bf version.
It is located on the fifth CD. Second, I wouldn't use it because the
kernel images from the Woody r0 and r1 CDs have several security
issues, so I would use an updated version from security.debian.org.
Please note that the bf24 package still has the same name, the other
updated 2.4 packages however have slightly different names. So if you
want to update your current kernel package, you have to install
kernel-image-2.4.18-1-k6.

best regards
Andreas Janssen

-- 
Andreas Janssen
[EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976


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



Re: Microsoft-Fonts

2003-10-06 Thread Uwe Dippel
Sorry, not even. Everything installed (it said so), but the fonts are
not (yet ?) available in any application (Galeon, term, Theme Selector).
What is necessary to add them to the available fonts ?

Thanks,

Uwe



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



Re: can't open yahoo mail in konqueror [solved]

2003-10-06 Thread Alphonse Ogulla
On Monday 06 October 2003 13:06, Alphonse Ogulla wrote:
> On Thursday 02 October 2003 20:10, Dan Anderson wrote:
> > FWIW I just checked my mail @ mail.yahoo.com using konqueror.
> >
> > -Dan
> >
> > On Thu, 2003-10-02 at 10:35, Alphonse Ogulla wrote:
> > > Unable to open mail.yahoo.com in konqueror as non root for the simple
> > > fact that yahoo wants to dump some cookies at / (root) directory for
> > > which I have no permissions. Anybody experience this strange behaviour?
>
> Now, not even root can open yahoo mail despite enabling cookies, accepting
> all cookies by default and sending out browser information. Previoulsy I
> could open yahoo mail as root but not as an ordinary user. Just get the
> following error over and over.
> "The browser you're using refuses to sign in (cookies rejected)
>
> Anybody else experiencing this *very* strange behaviour? Please try out and
> revert.

Changed log in mode on yahoo's site from standard to secure to get it.

Thanx


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



Re: exim/fetchmail config

2003-10-06 Thread Jeff Elkins
On Monday 06 October 2003 5:20 am, Clive Menzies wrote:
>I had the same problem and struggled for days to find a way around it ;)
>
>I then found this from Rob Lister:
>http://www.exim.org/pipermail/exim-users/Week-of-Mon-20010903/029627.html
>
>It worked for me ;)

Thanks a buch Clive. I'll give this a shot.

Jeff


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



Re: Looking for backup solutions

2003-10-06 Thread Karsten M. Self
on Sun, Oct 05, 2003 at 12:48:16PM -0400, Dan Anderson ([EMAIL PROTECTED]) wrote:

> I have a 40 GB hard disk I want to back up to CD.  I figure I could
> run dd but the man page was unintelligible.  

How do you plan to dd 40 GiB of disk to 650 MiB of CD?

> Can anyone offer any suggestions?

Tape and tar.

There's a short FAQ on GNU/Linux system backups you may find useful, at:

http://kmself.home.netcom.com/Linux/FAQs/backups.html


Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
In 2002, everyone discovered that everyone else is using Linux.


signature.asc
Description: Digital signature


Re: apt-proxy

2003-10-06 Thread wjl
Roberto Sanchez wrote:

> BACKEND_FREQ=240
> 
> Check to make sure you do not have this set too high.  I.e., mine is set
> at 4 hours, to after an update by any client, the server won't refresh
> the archive for 4 hours.  If your is set really high, that may be the
> cause of the problem.
> 
> -Roberto

Hmmm - I tried to change the backend frequency - but that still doesn't
solve the problem. Even the proxy machine itself doesn't update/upgrade
when set to itself in /etc/apt/sources.list...

Does someone know more about this?

TIA,
wjl aka Wolfgang Lonien
-- 
NTV '94 RedSue 24-42Mm running on fuel
everything else here runs Debian


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



Re: mailing list

2003-10-06 Thread Karsten M. Self
on Sun, Oct 05, 2003 at 11:52:15PM -0500, John Carline ([EMAIL PROTECTED]) wrote:

> It's ironic isn't it, we have people turning ugly because they can't 
> figure out how to unsubscribe and all that's required is to let your 
> mailbox get full or have some mail bounce.

Not true in all cases.  If your list mail is being relayed to you from
somewhere, your own mailbox bouncing messages *won't* unsubscribe you
from the Debian listslargely because you weren't subscribed in the
first place.

Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?


signature.asc
Description: Digital signature


Re: Microsoft-Fonts

2003-10-06 Thread Johann Spies
On Mon, Oct 06, 2003 at 05:55:04PM +0800, Uwe Dippel wrote:
> 
> (Could anyone point me to a comprehensible handbook or so about Debian
> ?? It is so nice and so undocumented. 

apt-get install the following packages:

newbiedoc
linuxcookbook
rutebook

as well as your choice of output of the following command:

apt-cache search reference | grep debian

Then use a browser like w3m or lynx to read the documentation in
/usr/share/doc/(newbiedoc or linuxcookbook or rutebook) or
/usr/share/doc/Debian/reference

Rutebook is not specifically Debian-focussed but it is a valuable
source of information with references to the Debian way of doing
things.

Linuxcookbook is easy to understand and full of usefull hints.

Regards
Johann
-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "Blessed is the man that walketh not in the counsel of 
  the ungodly, nor standeth in the way of sinners, nor 
  sitteth in the seat of the scornful. But his delight 
  is in the law of the LORD; and in his law doth he 
  meditate day and night." Psalms 1:1,2 


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



Re: Diffing arbitrary deb-source packages

2003-10-06 Thread Colin Watson
On Mon, Oct 06, 2003 at 03:27:47AM -0700, Tom wrote:
> On Mon, Oct 06, 2003 at 10:54:30AM +0100, Colin Watson wrote:
> > On Mon, Oct 06, 2003 at 02:37:16AM -0700, Tom wrote:
> > > However, sometimes I find reading the source code helps me
> > > understand the developer's comments better.  Is there any easy way
> > > to "view a diff" of two versions of an arbitrary Debian source
> > > package?
> > 
> > If you have both source packages downloaded then you can use debdiff
> > (from the devscripts package) to do it. You can get the older
> > versions from snapshot.debian.net.
> > 
> > I don't think anyone's done a webbified version of this yet, though.
> 
> Thanks, that's absolutely perfect.  I should be able to fully automate
> this.  Debian rocks!

I think it would be a good idea to have an online version that didn't
require downloading source packages, incidentally, although I've no idea
how you'd go about doing it. It would help in the process of
peer-reviewing changes.

-- 
Colin Watson  [EMAIL PROTECTED]


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



Re: simple text formatting

2003-10-06 Thread Gregory Seidman
On Sun, Oct 05, 2003 at 11:37:57PM -0700, Mike Egglestone wrote:
} Hi,
} 
} I have a file in this format of words:
} 
} joe jill bill bob frank tom harry
} 
} and want to convert the file to this format:
} 
} joe
} jill
} bill
} bob
} frank
} tom
} harry
} 
} Is there an easy way to this? The file I have has hundreds of entries.

The various for loop solutions are miserably inefficient and are overly
complex. The sed solution is almost reasonable. This is the simplest and
cleanest solution, however:

tr ' ' '\012' < infile > outfile

} Thanks
} Mike
--Greg


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



OT: Makefile & sed-Problem

2003-10-06 Thread Lukas Ruf
Dear all,

although I know it isn't anything that directly refers to Debian, I
dare to post since I have seen many similar questions.  Please excuse!

The Problem: from a friend, I receive text-files that have a lot of
whitespace before the end of a line or even lines consisting of only
whitespace.  For this reason, I set up a Makefile that would remove
all whitespaces:
##
receive: 
  cat in_file \
  | sed -e 's/\s*$$//' \
  > new_in_file
##
I expect this to remove all whitespaces '\s*'ending a line.

But, funny enough, it removes all 's' ending a line.  This has been
driving me mad for a couple of hours that's why I dare to post.

What's wrong with 's/\s*$$//' in a Makefile?
I tried 's/\\s*$$//' -- with no success.

Hopefully someone immediately sees the problem and can give me any
hint.

Thanks in advance,

wbr,
Lukas
-- 
Lukas Ruf   | Wanna know anything about raw |
 | IP?     |


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



Re: Microsoft-Fonts

2003-10-06 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, Oct 06, 2003 at 05:55:04PM +0800, Uwe Dippel wrote:
> (Could anyone point me to a comprehensible handbook or so about Debian
> ?? It is so nice and so undocumented. 

/usr/share/doc isn't enough?

- -- 
 .''`. Paul Johnson <[EMAIL PROTECTED]>
: :'  :
`. `'` proud Debian admin and user
  `-  Debian - when you have better things to do than fix a system
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/gVUJUzgNqloQMwcRAqx3AKDRFz/2Rde5qLCo1cXAvGXeHHWJYACg34oc
hErLqo0xViFwwu+187+VDSY=
=l547
-END PGP SIGNATURE-


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



Problems installing libc6 2.3.2-8

2003-10-06 Thread Ben Darlow
Hi,

I've just started setting up a new Debian box, and after installing from
the 3.0r1 woody CD, I switched to using unstable package sources from
ftp.uk.debian.org. One of the packages updated as a result of installing
Apache was libc6 (2.3.2-8) which failed to install correctly. The output
from dpkg (citing a line in libc6.postinst) was something like:

Illegal instruction sleep 1

I've tried reverting /etc/apt/sources.list to use stable sources and
then manually attempted to install an older version of libc6
(2.2.5-11.5) with dpkg, but this failed with an error message about
libdb1-compat.

I then began installing a few other packages and the libc6 error (from
dpkg) mysteriously disappeared (hence I can't recall it exactly). At
first I thought the problem had solved itself, but now I get the same
illegal instruction message when attempting to install mysql-server. It
appears libc6 is in some way broken.

Is there any means by which I can revert to an earlier version of libc6
without catastrophic consequences (I'm aware that it can't just be
removed and reinstalled)? Is this a known issue with unstable libc6 (I
couldn't find anything with a few googlings, nor in the debian-user
archive)?

Any help or advice would be much appreciated!

Ben Darlow

---Disclaimer---

Unless obviously public, this email is confidential to the intended recipient(s). If 
you received it in error please tell the sender and then delete it. We check emails 
from dyslexic.com and iansyst.co.uk, but you should virus check incoming emails. 
Emails do not always represent our official policy or a contract. Errors and omissions 
are excepted.

iANSYST Ltd, Fen House, Fen Road, CAMBRIDGE, CB4 1UN. T +44(0)1223 420101; Fax +44(0) 
1223 42 66 44; [EMAIL PROTECTED]



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



Re: Games for 1-2 year old child. Recommendations wanted.

2003-10-06 Thread Edward Murrell
On Mon, 2003-10-06 at 10:52, Jaldhar H. Vyas wrote:
> But I'd rather my daughter played with computers than watched TV.  She is
> not even 2 but already has memorised many advertising jingles.  I know we
> live in a consumer society but this is disgusting.

Solution. Ditch the TV (or remove it's ability to pick up
broadcast/cable).

- Edward

(I could go into a big anti-TV rant, and annoy everyone, but I
thought I'd keep it short and to the point.)




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



Re: Keyman

2003-10-06 Thread Edward Murrell
On Mon, 2003-10-06 at 14:35, Oki DZ wrote:
> What is the equivalent of Keyman (http://www.tavultesoft.com/) on Linux?

To my understanding, there is no direct equivalent, because Linux
supports all keyboards (and if it doesn't, it's fairly easy to add
support). For other Languages/char sets, the idea is to support them
at a system level, rather than at the application level, thus
allowing people to easily port all applications to a given language,
rather than just one or two. For example, there's are large efforts
underway to translate GNOME and KDE to Mongolian and Welsh.

- Edward

(Someone feel free to correct me if I'm wrong)


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



Re: OT: Makefile & sed-Problem

2003-10-06 Thread Oliver Elphick
On Mon, 2003-10-06 at 12:31, Lukas Ruf wrote:
> Dear all,
> 
> although I know it isn't anything that directly refers to Debian, I
> dare to post since I have seen many similar questions.  Please excuse!

It's not off topic for debian-user.

> The Problem: from a friend, I receive text-files that have a lot of
> whitespace before the end of a line or even lines consisting of only
> whitespace.  For this reason, I set up a Makefile that would remove
> all whitespaces:
> ##
> receive: 
>   cat in_file \
>   | sed -e 's/\s*$$//' \
>   > new_in_file
> ##
> I expect this to remove all whitespaces '\s*'ending a line.
> 
> But, funny enough, it removes all 's' ending a line.  This has been
> driving me mad for a couple of hours that's why I dare to post.
> 
> What's wrong with 's/\s*$$//' in a Makefile?
> I tried 's/\\s*$$//' -- with no success.
> 
> Hopefully someone immediately sees the problem and can give me any
> hint.

You are trying to use a Perl regular expression with sed; that doesn't
work.  Although the sed manpage refers to perlre, sed does not seem to
support Perl regular expressions.  You should look at
  man 7 regexp
instead.

Try:  sed -r -e 's/[[:space:]]+$$//'

NB, you don't need to do "cat in_file | sed [pattern]"; you can do "sed
[pattern] in_file"

-- 
Oliver Elphick[EMAIL PROTECTED]
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
 
 "Blessed is the man that walketh not in the counsel of 
  the ungodly, nor standeth in the way of sinners, nor 
  sitteth in the seat of the scornful. But his delight 
  is in the law of the LORD; and in his law doth he 
  meditate day and night." Psalms 1:1,2 


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



Re: OT: Makefile & sed-Problem

2003-10-06 Thread Lukas Ruf
> Oliver Elphick <[EMAIL PROTECTED]> [2003-10-06 14:09]:
>
> On Mon, 2003-10-06 at 12:31, Lukas Ruf wrote:
> 
> You are trying to use a Perl regular expression with sed; that doesn't
> work.  Although the sed manpage refers to perlre, sed does not seem to
> support Perl regular expressions.  You should look at
>   man 7 regexp
> instead.

ok, didn't know this.  Thanks!

> 
> Try:  sed -r -e 's/[[:space:]]+$$//'
> 

Thanks this worked as expected!

wbr,
Lukas
-- 
Lukas Ruf   | Wanna know anything about raw |
 | IP?     |


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



Re: huge amount of unsed kernel modules.

2003-10-06 Thread Rob Weir
begin Paul William quote from Sat, Oct 04, 2003 at 01:02:04PM +1200
> Hi,
> 
> I installed the 2.4.22-1-k7 kernel image. I had the 2.4bf kernel and now
> I find that a huge amount of kernel modules are bing loaded. I
> understand that the new kernel probably has more things compiled as
> modules than the 2.4bf but there are heaps of modules that are unused.
> 
> /etc/modules:
> 
> af_packet
> 8139too
> #sound
> es1371
> apm
> ide-scsi

Run "rmmod -a" to remove them.  Not sure why they're loaded to begin
with, though.

-- 
Rob Weir <[EMAIL PROTECTED]> | [EMAIL PROTECTED]  |  Do I look like I want a CC?
Words of the day:  SCUD missile Leitrim fraud Dateline LLNL STARLAN FBI Qaddafi
Hi, VeriSign!  [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: Anti-Spam ideas for usenet/list harvested email addresses

2003-10-06 Thread Karsten M. Self
on Fri, Sep 26, 2003 at 01:29:06AM -0700, Paul Johnson ([EMAIL PROTECTED]) wrote:
> On Tue, Sep 23, 2003 at 04:43:00PM -0300, Jeronimo Pellegrini wrote:

> > Make the list server PGP-sign the messages, maybe? You install the
> > list server key once, and never worry about it again?
> 
> That's self-defeating for PGP.  All PGP does is encryption and
> verification of identity.  Last I checked, murphy can't make it to
> keysigning parties.

If the spam scanning on murphy is sufficiently good, and the
listmaster's keys are both well-signed and used to sign murphey, you
might have cause to allow mail from the list to be passed as reliably
scanned, and trusted on the basis of your own GPG WoT.

Not entirely useless.  Useful in its own context.

Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
Reject EU Software Patents! http://swpat.ffii.org/


signature.asc
Description: Digital signature


Compaq Storage Agents on Debian Woody

2003-10-06 Thread Kianusch Sayah Karadji
Hi!

Check http://www.sk-tech.net/support/cmastor.html for installing Compaq
Storage Agents on Debian Woody.

Those tools will notify you when Hard-Discs fails on your Compaq
Hardware...

Please let me know if the tools work for you.

Regards
  Kianusch

---
  http://www.sk-tech.net/


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



Re: apt-proxy

2003-10-06 Thread Roberto Sanchez
wjl wrote:
Roberto Sanchez wrote:


BACKEND_FREQ=240

Check to make sure you do not have this set too high.  I.e., mine is set
at 4 hours, to after an update by any client, the server won't refresh
the archive for 4 hours.  If your is set really high, that may be the
cause of the problem.
-Roberto


Hmmm - I tried to change the backend frequency - but that still doesn't
solve the problem. Even the proxy machine itself doesn't update/upgrade
when set to itself in /etc/apt/sources.list...
Does someone know more about this?

TIA,
wjl aka Wolfgang Lonien
Please post the contets of /etc/apt-procy/apt-proxy.conf

Also, make sure you have port  open on the proxy machine's firewall 
(if it has one).

Make sure your /etc/hosts.allow has something like this:
apt-proxy: LOCAL, 192.168.0.0/255.255.255.0
Make sure your /etc/intetd.conf has something like this:
   stream  tcp nowait.400  aptproxy 
/usr/sbin/tcpd /usr/sbin/apt-proxy -c /etc/apt-proxy/apt-proxy.conf -l 
/var/log/apt-proxy.log

HTH,

-Roberto


pgp0.pgp
Description: PGP signature


Re: Holy Spam!

2003-10-06 Thread Frank Copeland
Jon Earle wrote:

> I sent _one_ post to the debian-users list yesterday.  One.  I neglected
> to use an alias I'd created for posting to that list, and, due to their
> open posting policy and their email-usenet gateway and the availability of
> addresses in the clear within the list archives, within _minutes_, I
> started receiving viruses, spam and other crap.  My mail logs since
> yesterday show a _ton_ of crap coming at me now!  Unbelievable!

I've been posting to this list with addresses that have been harvested
since the dawn of spam (one dates from 1994, the other from 1996). I
willfully insist on receiving mail to both addresses over two modem
connections (one of them a mere 33.6K) and uucp is also rumoured to be
involved.

I've survived the spam and viruses so far. The open nature of the
Debian mailing lists is a feature, not a bug, and is well worth
preserving.

-- 
Frank Copeland
Home Page: http://thingy.apana.org.au/~fjc/> 
Not the Scientology Home Page: http://xenu.apana.org.au/ntshp/>


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



How to rotate specific log files daily

2003-10-06 Thread Guillermo Hechem
Hi,

I just upgraded my system from potato to woody, and I noticed that now
some of my logs rotate weekly, when they used to rotate daily (eg.
auth.log, sendmail logs, etc.)
I´m trying to get sendmail logs to rotate daily, since the files are
too big now.
My Sendmail logs in its own files, as indicated in /etc/syslog.conf
(I´m only copying part of it):

*.*;mail.none;auth,authpriv.none-/var/log/syslog
mail.*  /var/log/mail/mail.log
mail.info   -/var/log/mail/mail.info
mail.warn   -/var/log/mail/mail.warn
mail.err/var/log/mail/mail.err

According to what I´ve read, this configuration is what makes them
rotate weekly:

donald:/# syslogd-listfiles --weekly
/var/log/daemon.log
/var/log/messages
/var/log/mail/mail.err
/var/log/lpr.log
/var/log/auth.log
/var/log/debug
/var/log/mail/mail.warn
/var/log/mail/mail.info
/var/log/kern.log
/var/log/uucp.log
/var/log/user.log
/var/log/mail/mail.log

So the big question is, how can I get the logs in their own files (not
in /var/log/syslog) and rotate daily at the same time?

Any help will be appreciated.


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



make-kpkg .deb seems to have problems

2003-10-06 Thread stan
I need to get one of my Debian machines to allow NFS V3. I downloaded the
kernel 2.4.22 tarball, unpacked it. Copide the config file from my
installed kernel, ran make menu-cinfig, made the changes. Them ran
make-kpkg clean ; make-kpkg kernel-imge, and now when I try ti dpkg -i the
resiltant ,deb, I get the following:

[EMAIL PROTECTED]:/usr/src# dpkg -i ker*22*om.1.2_*deb
(Reading database ... 72599 files and directories currently installed.)
Preparing to replace kernel-image-2.4.22 custom.1.0 (using
kernel-image-2.4.22_custom.1.2_i386.deb) ...
Unpacking replacement kernel-image-2.4.22 ...
Setting up kernel-image-2.4.22 (custom.1.2) ...
depmod: *** Unresolved symbols in
/lib/modules/2.4.22/kernel/drivers/net/eepro100.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.22/kernel/drivers/net/mii.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.22/kernel/drivers/scsi/aic7xxx/aic7xxx.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.22/kernel/drivers/scsi/sd_mod.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.22/kernel/fs/autofs4/autofs4.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.22/kernel/fs/binfmt_aout.o
depmod: *** Unresolved symbols in /lib/modules/2.4.22/kernel/fs/fat/fat.o
depmod: *** Unresolved symbols in
/lib/modules/2.4.22/kernel/fs/msdos/msdos.o
depmod: *** Unresolved symbols in /lib/modules/2.4.22/kernel/fs/vfat/vfat.o
Updating /boot/initrd-2.4.22.gz... done.
Configuring GRUB boot menus...

I'm now afraid to reboot this machine, for fear that it either won't come
back up, or that something (networking ?) won't work. It's a production
machine.

Does it look like I've done something wrong here?

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin


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



Gnu pgp

2003-10-06 Thread andun
Hi!
I've been wondering how GNU PGP(encrypted mail) is, and also if it works
good with a fetchmail, procmail, spamassassin, mutt based e-mail
system...

Can anyone tell me?

-- 
Kjetil Ørbekk <[EMAIL PROTECTED]>

HTML messages won't be read.
Outlook Users: Please remove my entry in you adressbook.

All mail clients suck. This one sucks less - www.mutt.org


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



Abiword Font Qqestion

2003-10-06 Thread Thomas H. George,,,
I have been using Abiword for some time on a Debian testing system. 
Each time it loads it advises me that it can't load the Abiword fonts 
and refers me to the FAQ in Abiword Help.   Although the latest version 
is installed there is no Abiword Help.  The X fonts are sufficient for 
my requirements but perhaps some day I may really need Abiword Help.   
Apt-cache search Abiword reports only Abiword and Abiword-common.  Is 
Abiword Help missing form the Debian distribution?

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



Re: Help, OSX vs Linux

2003-10-06 Thread Karsten M. Self
on Fri, Oct 03, 2003 at 02:26:37PM -0400, Roberto Sanchez ([EMAIL PROTECTED]) wrote:

> For example, a couple of months ago I transitioned my Lab's
> email/webserver from RedHat 9 to Debian.  The previous admin had
> tons-o-crap installed, including a full desktop environment, GNOME,
> KDE, and all the RedHat GUI server management tools.  

The SOP at a number of places I've worked, and others I've heard of,
some with very experienced admins, is to do a "kitchen sink" RH install.

You end up with a lot of extraneous crud.  OTOH, since it's such a pain
to add/remove packages after install, this is the tract a lot of shops
take.

> Now, space is not really a major concern since the hard drive has 40
> GB (in base-10) capacity, but is there ever really a legitimate need
> for a web/email server to run a graphical desktop.  I'm sure there are
> a few, but those are by far the exception.

My gripe is that the RH install leaves you with 8,000 packages (stock
8/9 install) to worry about.  With the Debian install, you've just got
the stuff you've put on the box.  Less shit == less shit to go wrong.
St. Exuperey.


Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
Reject EU Software Patents! http://swpat.ffii.org/


signature.asc
Description: Digital signature


Re: Help, OSX vs Linux

2003-10-06 Thread Karsten M. Self
on Fri, Oct 03, 2003 at 03:11:50PM -0400, Dan Anderson ([EMAIL PROTECTED]) wrote:
> > Total size with the install of Woody. the MySQL database, and the 
> > webconent for the two domains we host: 890 MB
> 
> FWIW I've installed sub 150MB debian installs.  

113 MiB ;-)

The Potato base2_2.tar.gz, unpacked, is about 30 MiB.  But that doesnt'
include a kernel.  Allow about 25 MiB for a stock 2.4 series kernel
(mostly modules).  Roll your own is much smaller.

> Also, to elaborate, all programs (packages) installed are potential
> security holes.  With a cut down distro you have that many less packages
> to install.

Bingo.


Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
  Backgrounder on the Caldera/SCO vs. IBM and Linux dispute.
  http://sco.iwethey.org/


signature.asc
Description: Digital signature


Re: Gnu pgp

2003-10-06 Thread Tom Badran
On Monday 06 October 2003 14:14, [EMAIL PROTECTED] wrote:
> Hi!
> I've been wondering how GNU PGP(encrypted mail) is, and also if it works
> good with a fetchmail, procmail, spamassassin, mutt based e-mail
> system...

It works great with mutt, see the aegypten project at 
http://www.gnupg.org/aegypten/development.en.html for more information and 
install instructions.

Tom

-- 
 ^__^| Tom Badran
 (oo)\__ | Imperial College
(__)\   )\/\ | Department of Computing
||w || ---
|| ||| Using Debian SID

Linux 2.6.0-test5-mm4 #6 Mon Sep 22 12:50:10 BST 2003 i686 GNU/Linux
 14:24:02 up 1 day, 35 min,  1 user,  load average: 7.23, 7.17, 7.06


pgp0.pgp
Description: signature


spamarchive.org (was Re: I want spam!)

2003-10-06 Thread Karsten M. Self
on Fri, Oct 03, 2003 at 02:41:22PM -0400, Info ([EMAIL PROTECTED]) wrote:
> Please send me lots and lots of spam, viruses, hoaxes, etc!
> 
> I'm testing filters and want real-world spam to hit me.
> 
> Send it all here!

You're an adult.  Go get it:  http://www.spamarchive.org/


Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
Ceterum censeo, Caldera delenda est.
SCO vs IBM Linux lawsuit info:  http://sco.iwethey.org


signature.asc
Description: Digital signature


Re: Gnu pgp

2003-10-06 Thread Aaron
[EMAIL PROTECTED] <[EMAIL PROTECTED]> said,
> Hi!
> I've been wondering how GNU PGP(encrypted mail) is, and also if it works
> good with a fetchmail, procmail, spamassassin, mutt based e-mail
> system...

Yeah, I use that combination, although I don't actually have GPG set
up at the moment (just switched to Debian a few weeks ago!). Nobody I
know really USES GPG, so I can't really encrypt anything. I find that
I don't really need that kind of security for the types of things that
I normally send people e-mails about.

However, when I did have GPG working, it worked just fine. The only
real issue (and this IS annoying) is that Outlook clients don't handle
MIME types properly, and your encrypted messages will appear as
attachments to them, unless you use the old-style inline text
encryption (which seems to bother people with sensible clients, e.g.
mutt).

Now, I've never been one to bend over backwards to satisfy the
majority (especially when they're the Outlook-using majority), but
even signing messages in the proper way caused this attachment
business and it became too difficult to explain to everyone how much
they need to abandon their e-mail system and use something "sensible".

You'd be surprised how many people think Outlook is sensible.

But you can definitely set up all the key bindings in mutt to make
working with GPG relatively easy, and I've never had any issues with
procmail or spamassassin.

Hope that helps.

> 
> Can anyone tell me?
> 
> -- 
> Kjetil ?rbekk <[EMAIL PROTECTED]>
> 
> HTML messages won't be read.
> Outlook Users: Please remove my entry in you adressbook.
> 
> All mail clients suck. This one sucks less - www.mutt.org
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
Aaron Bieber
-
Graphic Design // Web Design
http://www.fisheyemultimedia.com/
[EMAIL PROTECTED]


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



Re: How to kill X?

2003-10-06 Thread Kent West
cr wrote:

I've only had one sieze in recent times, what I've had several of recently is 
sudden complete power cut - possibly a power supply fault.   Either way, it 
has the same effect of discombobulating my hard drive so I have to do a lot 
of fscking on startup again.Occasionally this completely munges my X 
setup.

You might consider converting your partitions to ext3. It's quite easy.

# tune2fs -j /
# tune2fs -j /home
# tune2fs -h /other_partitions_you_want_to_convert
Then edit /etc/fstab and change the "ext2" to "ext3" for each partition 
on which you enabled a journal and reboot or remount those partitions. 
The conversion only takes a few tens of seconds for each partition, and 
you can always "back out" by simply changing your /etc/fstab back to 
"ext2" and/or remounting as ext2 instead of ext3.

This of course won't completely protect against file system corruption 
or the running of fsck, but it helps in my opinion.

--
Kent


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



Re: reiserfs vs ext3fs

2003-10-06 Thread Johan Van den Neste
On Mon, 2003-10-06 at 14:06, PF wrote:
> I found no faq or thread about comparing ReiserFS and Ext3FS for use on
> laptops.
> 
> Can someone tell me her/his impressions? I'd like to install a Debian 3.1 on
> a HP Omnibook and I wish using journaled fs principally to avoid fschk's...

I've been using reiserfs for quite a while now. (more than a year)
I've had some apm bios troubles that used to freeze my laptop
frequently. Reiserfs log replays at boot never take more than a second,
and I have yet to see anything go wrong.

Reiserfs is said to "greatly outperform ext3 on small files". All I can
say is I'm not unhappy about the performance.

And don't let people tell you it's unstable. (I think is considered
stable since kernel release 2.4.18, so you need at least that kernel)

---

nessie


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



Re: Network attached storage and backup

2003-10-06 Thread Ron Johnson
On Sun, 2003-10-05 at 21:03, Aaron wrote:
> Ron Johnson <[EMAIL PROTECTED]> said,
> > On Sat, 2003-10-04 at 13:55, Aaron wrote:
> > > Ron Johnson <[EMAIL PROTECTED]> said,
> > > > > [snip]
> > > > 
> > > > Specifics.  We need much more.
> > > > 
> > > > How much performance do you need?  I.e., how many users will be
> > > > hitting it at the same time, what kind of apps run on the box, etc?
> > > 
> > > Just me. Maybe myself and one other user. I don't need a lot of
> > > performance once it's up and running. It's network attached, so I
> > > don't really need more disk throughput than I can get out of my
> > > 100Base-TX network connection.
> > 
> > Ok, well that's easy enough to do.
> >  
> > > > When you say "100+ GB", do you mean 100-150GB, or something *much*
> > > > larger?
> > > 
> > > Between 100 and 300 gigs, I guess. I have almost 200 gigs of data that
> > > I'd be storing and backing up, but I can predict a need for more
> > > storage in the future.
> > 
> > Is this a database, or your MPEG2/MP3/JPEG collection, or
> > what?  I.e.:
> > Does it change a lot, or will you only be adding new stuff?
> > Can it be segmented easily?
> 
> It doesn't change a lot, and some parts of it can be easily segmented
> while others can't. Specifically, the 63 gigs of movies between 600
> megs and 800 megs each. That's a serious problem for backing up to any
> kind of CD or DVD media, so I was investigating tape solutions.

I'd *strongly* look at packages that can burn these to DVD (you 
could put 6 750MB movies on a 4.7GB DVD).  Thus, there's 63 less 
GB to archive by other methods.

Also, you can also then watch the movies directly from DVD, which
isn't possible if the movies are on tape.

> I really don't have much experience at all with backup solutions, only
> a basic conceptual understanding. I'm just wondering what other people
> do; do they use tapes? Travan? DLT? SCSI? Internal? External? What
> kinds of software are out there, how hard is it to set up an
> incremental backup job and how hard is it to restore specific
> portions?

How compressible is the (~200GB - 63GB =) ~137GB of other data
that has to get backed up?

How much of this ~137GB changes on a regular basis?  Any MP3 (like
the MP3s I ripped from my own CD collection)?

If the data is compressible, then that, of course, shrinks the
amount of data that needs to be backed up.

> Those are my basic concerns.

Don't worry, they're *everyone's* concern.

-- 
-
Ron Johnson, Jr. [EMAIL PROTECTED]
Jefferson, LA USA

"Our computers and their computers are the same color. The
conversion should be no problem!"
Unknown


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



Re: Help, OSX vs Linux

2003-10-06 Thread Hall Stevenson
At 09:21 AM 10/6/2003, Karsten M. Self wrote:
on Fri, Oct 03, 2003 at 03:11:50PM -0400, Dan Anderson 
([EMAIL PROTECTED]) wrote:
> > Total size with the install of Woody. the MySQL database, and the
> > webconent for the two domains we host: 890 MB
>
> FWIW I've installed sub 150MB debian installs.

113 MiB ;-)
~250mb Redhat install for me (back in RH 5.0 days). Granted, it might have 
taken me 3-4x longer than others because I went through and hand-selected, 
or de-selected, every possible package I wanted or didn't want, but I'm a 
"miser" when it comes to disk space. :-) Of course, if I un-selected 
something "required", it would get added back in automatically.

Hall 

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



Re: mailing list

2003-10-06 Thread Pascal Hakim
On Mon, Oct 06, 2003 at 11:58:40AM +0100, Karsten M. Self wrote:
> Not true in all cases.  If your list mail is being relayed to you from
> somewhere, your own mailbox bouncing messages *won't* unsubscribe you
> from the Debian listslargely because you weren't subscribed in the
> first place.
> 

Hey,

This isn't 100% true. In most cases, the bounce-handler
will figure out what address you subscribed with. Each message
being sent out by the list software has a unique Return-path, which
looks something like this:

<[EMAIL PROTECTED]>

If your mail server behaves correctly (99% of cases), it will
respect this header, even when mail is being relayed, and bounces
will work correctly, and get you unsubscribed.

Cheers,

Pasc

-- 
Pascal Hakim   +61-403-411-672
"Do not bend."


pgp0.pgp
Description: PGP signature


Debian-based distros ??

2003-10-06 Thread Hall Stevenson
I've recently built a new box for myself and would like to put Linux back 
on it. I started with RH back between their 5.0 and 5.1 release, switched 
to Mandrake for a while, and have been running Debian (unstable) for a 
couple years or more. I'm tempted to take the easy way out and just add the 
old hard drive to my new machine and run things this way, but there's a few 
good reasons not to. 1) Old cruft I don't want to deal with. 2) New, fresh 
installs from scrath are always better. 3) The old hard drive is 
partitioned up between EXT3, Fat32, and Fat16 partitions. It is a 20gb 
drive total, with approx 10gb as EXT3 (and likely not even half-filled at 
that). So for me, wiping it clean and running all 20gb for Debian may be 
wasted space, but still the easiest to do.

As mentioned, I ran Debian unstable for years with no problems. Why 
unstable ?? I often want newer versions of packages than stable provides... 
Why do 80% of unstable users use it ?? Probably the same.

So, would people suggest sticking with "pure" Debian or possibly going with 
a Debian-based distro ?? If an off-shoot, which one ?? I'm looking at 
Knoppix's site right now...

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



Re: reiserfs vs ext3fs

2003-10-06 Thread Johan Van den Neste
On Mon, 2003-10-06 at 15:40, Johan Van den Neste wrote:
> On Mon, 2003-10-06 at 14:06, PF wrote:
> > I found no faq or thread about comparing ReiserFS and Ext3FS for use on
> > laptops.
> > 
> > Can someone tell me her/his impressions? I'd like to install a Debian 3.1 on
> > a HP Omnibook and I wish using journaled fs principally to avoid fschk's...
> 
> I've been using reiserfs for quite a while now. (more than a year)
> I've had some apm bios troubles that used to freeze my laptop
> frequently. Reiserfs log replays at boot never take more than a second,
> and I have yet to see anything go wrong.
> 
> Reiserfs is said to "greatly outperform ext3 on small files". All I can
> say is I'm not unhappy about the performance.
> 
> And don't let people tell you it's unstable. (I think is considered
> stable since kernel release 2.4.18, so you need at least that kernel)

sorry, this was supposed to go in the debian-laptop mailing list.
(why is reply-to not set?)

---

nessie



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



Re: Xv video driver expires after xfree86 upgrade

2003-10-06 Thread Alphonse Ogulla
> On Monday 06 October 2003 11:21, Alphonse Ogulla wrote:
> > Up to very recently, I could watch vcd movies on my box using xine video
> > player with Xv as the video driver. However, I came to discover yesterday
> > that Xv video driver had become inoperative after either upgrading
> > xfree86 from version 4.1.0 to 4.2.1 using the deb package or installation
> > of mplayer 0.9 from the source tarball.
> >
> > I'm not pretty sure which of the two packages/applications is the culprit
> > as I installed both of them more or less on the same day but somehow I'm
> > convinced it must be xfree86 since mplayer too does not show any pictures
> > (only a blue window screen) with the Xv video driver.
>
> That's a problem with X itself. Most likely, the currently used graphics
> driver has a limited or broken implementation of the Xv extensions.
>
> What graphics driver are you using (what video card)? Ist the XVideo
> extension
> listed in xdpyinfo?

onboard Intel 810e graphics adaptor.
xdpyinfo lists XVideo amongst 27 other extensions

-- 
Alphonse Ogulla
Nairobi, Kenya


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



Re: How to kill X?

2003-10-06 Thread Pim Bliek | PingWings.nl
Just an important addition in my opinion:

> Then edit /etc/fstab and change the "ext2" to "ext3" for each partition
> on which you enabled a journal and reboot or remount those partitions.
> The conversion only takes a few tens of seconds for each partition, and
> you can always "back out" by simply changing your /etc/fstab back to
> "ext2" and/or remounting as ext2 instead of ext3.

DON'T forget to check that your kernel supports ext3 or that you load the
proper module at boot time. Otherwise your box will NOT boot after
changing fstab!

Pim


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



Re: simple text formatting

2003-10-06 Thread Paul Talacko
On Sun, Oct 05, 2003 at 11:37:57PM -0700, Mike Egglestone wrote:
> Hi,
> 
> I have a file in this format of words:
> 
> joe jill bill bob frank tom harry
> 
> and want to convert the file to this format:
> 
> joe
> jill
> bill
> bob
> frank
> tom
> harry
> 

Here's another way:

perl -p040 -e 's/\s/\n/' filename

This works too:

perl -p040 -l12 -e 'chomp' filename

:)


-- 


Paul Talacko


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



Re: reiserfs vs ext3fs

2003-10-06 Thread Roberto Sanchez
Johan Van den Neste wrote:
On Mon, 2003-10-06 at 14:06, PF wrote:

   I found no faq or thread about comparing ReiserFS and Ext3FS for use on
laptops.
Can someone tell me her/his impressions? I'd like to install a Debian 3.1 on
a HP Omnibook and I wish using journaled fs principally to avoid fschk's...

Since it is a new install, I would give XFS a shot.  I recently switched 
two of my three machines to XFS (from ext3) and am very happy so far.

I read somewhere (I can't find the reference anymore) that XFS actually 
fsck's (if necessary) at mount time, which is pretty nifty.

The Debian patch for XFS works with the Debian versions of 
kernel-source-2.4.21 and 2.4.22.  It was a cinch to install.

I've been using reiserfs for quite a while now. (more than a year)
I've had some apm bios troubles that used to freeze my laptop
frequently. Reiserfs log replays at boot never take more than a second,
and I have yet to see anything go wrong.
Reiserfs is said to "greatly outperform ext3 on small files". All I can
say is I'm not unhappy about the performance.
And don't let people tell you it's unstable. (I think is considered
stable since kernel release 2.4.18, so you need at least that kernel)
I don't know much about ReiserFS, but I believe that XFS is much more 
mature (it has been the native FS of IRIX for a long time).

-Roberto


pgp0.pgp
Description: PGP signature


Re: Atapi Zip detection woes!

2003-10-06 Thread Joachim Fahnenmueller
Hi,

AFAIK, there are 2 versions of ZIP drives, either connected to the
parallel port or to an SCSI controller. Which one do you have?

You need the following modules (you may have to recompile your kernel):
scsi_mod, sd_mod;
parallel port version only: imm, ide-scsi;
SCSI version: the correct driver for your SCSI card.

That should do, at least it does for me (with the parport vesion).

HTH 

On Sun, Oct 05, 2003 at 10:12:54PM -0500, Rthoreau wrote:
> On Wednesday 01 October 2003 01:10 am, rthoreau wrote:
> > Dear:  fellow Debian users;
> >
> > I am having a problem setting up my Atapi Iomega Zip drive under
> > Debian. I have followed the Zip disk howto, and have done all its
> > suggestions but I am still not able to have the device work.
> >
> > First off I have the Zip Drive attached to a Promise Ultra 133 ATA
> > controller card (yes according to promise it is able to load devices
> > other than hard drives).  The Bios of the card does not load due to
> > it being a Atapi device.  The drive does work under windows attached
> > to the controler card.  I have installed the promise 20269 driver and
> > my system does see the card per dmesg, which is in parts below.
> >
> > // this is my kernel parameters passed at boot time.
> > Kernel command line: ro noapic root=/dev/hdd6 hda=ide-scsi
> > hdb=ide-scsi
> >
> > // I also get this error message.
> > kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
> >
> > // this is a section that lists my ide devices.
> > ide: Assuming 33MHz system bus speed for PIO modes; override with
> > idebus=xx
> > hda: LITE-ON LTR-32123S, ATAPI CD/DVD-ROM drive
> > hdb: JLMS DVD-ROM LTD163D, ATAPI CD/DVD-ROM drive
> > hdc: Maxtor 6E040L0, ATA DISK drive
> > hdd: Maxtor 6Y120L0, ATA DISK drive
> > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> > ide1 at 0x170-0x177,0x376 on irq 15
> >
> > // this section reflects my controller card.
> > PDC20269: IDE controller at PCI slot 00:0b.0
> > PDC20269: chipset revision 2
> > PDC20269: not 100% native mode: will probe irqs later
> > ide2: BM-DMA at 0x1410-0x1417, BIOS settings: hde:pio, hdf:pio
> > ide3: BM-DMA at 0x1418-0x141f, BIOS settings: hdg:pio, hdh:pio
> >
> > // what is kind of weird the last few lines of dmesg show this.
> > parport0: PC-style at 0x378 (0x778) [PCSPP(,...)]
> > parport0: irq 7 detected
> > imm: Version 2.05 (for Linux 2.4.0)
> > // of course imm is the module name I am trying to install.
> >
> > Now after I have run update-modules, and depmod which I beleive is
> > the same thing.  When I try to modprobe imm I get this.
> >
> > Note: /etc/modules.conf is more recent than
> > /lib/modules/2.4.22-mpx/modules.dep
> > /lib/modules/2.4.22-mpx/kernel/drivers/scsi/imm.o: init_module: No
> > such device
> > Hint: insmod errors can be caused by incorrect module parameters,
> > including invalid IO or IRQ parameters.
> >   You may find more information in syslog or the output from
> > dmesg /lib/modules/2.4.22-mpx/kernel/drivers/scsi/imm.o: insmod
> > /lib/modules/2.4.22-mpx/kernel/drivers/scsi/imm.o failed
> > /lib/modules/2.4.22-mpx/kernel/drivers/scsi/imm.o: insmod imm failed
> >
> > If I try a insmod I get this:
> >
> > Using /lib/modules/2.4.22-mpx/kernel/drivers/scsi/imm.o
> > /lib/modules/2.4.22-mpx/kernel/drivers/scsi/imm.o: unresolved symbol
> > parport_claim_Rsmp_dc843753
> > /lib/modules/2.4.22-mpx/kernel/drivers/scsi/imm.o: unresolved symbol
> > parport_register_device_Rsmp_75a20b73
> > /lib/modules/2.4.22-mpx/kernel/drivers/scsi/imm.o: unresolved symbol
> > parport_unregister_device_Rsmp_0cffd5b6
> > /lib/modules/2.4.22-mpx/kernel/drivers/scsi/imm.o: unresolved symbol
> > parport_release_Rsmp_e2338255
> > /lib/modules/2.4.22-mpx/kernel/drivers/scsi/imm.o: unresolved symbol
> > parport_enumerate_Rsmp_b88956ae
> > Raiz-MPX:/home/rcall# modprobe imm.o
> > Note: /etc/modules.conf is more recent than
> > /lib/modules/2.4.22-mpx/modules.dep
> > modprobe: Can't locate module imm.o
> >
> > Which I beleive is the real problem, after googling for the above
> > error messages I came up empty.  I used the Iomega new driver as my
> > zip drive is only a couple of years old and is a atapi 250 iomega zip
> > drive.
> >
> > I have also used modconf to install the module but did not pass any
> > parameters, which I don't know any anyway, of course it failed.
> >
> > Below is what /proc/pci says.
> >
> > Bus  0, device  11, function  0:
> > Unknown mass storage controller: Promise Technology, Inc. 20269
> > (rev 2).
> >   IRQ 11.
> >   Master Capable.  Latency=64.  Min Gnt=4.Max Lat=18.
> >   I/O at 0x1438 [0x143f].
> >   I/O at 0x1430 [0x1433].
> >   I/O at 0x1428 [0x142f].
> >   I/O at 0x1424 [0x1427].
> >   I/O at 0x1410 [0x141f].
> >   Non-prefetchable 32 bit memory at 0xe000 [0xe0003fff].
> >
> > I have also looked at syslog which does not really show much, I have
> > a LCDproc daemon running which defaults to syslog.  So maybe some of
> > you guys could shed 

Re: simple text formatting

2003-10-06 Thread Michael D Schleif
Gregory Seidman <[EMAIL PROTECTED]> [2003:10:06:07:21:02-0400] scribed:
> On Sun, Oct 05, 2003 at 11:37:57PM -0700, Mike Egglestone wrote:
> } Hi,
> } 
> } I have a file in this format of words:
> } 
> } joe jill bill bob frank tom harry
> } 
> } and want to convert the file to this format:
> } 
> } joe
> } jill
> } bill
> } bob
> } frank
> } tom
> } harry
> } 
> } Is there an easy way to this? The file I have has hundreds of entries.
> 
> The various for loop solutions are miserably inefficient and are overly
> complex. The sed solution is almost reasonable. This is the simplest and
> cleanest solution, however:
> 
> tr ' ' '\012' < infile > outfile

Assuming, of course, that *all* whitespace is exactly one (1) character
wide, and that *no* whitespace is a tab . . .

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--


pgp0.pgp
Description: PGP signature


Re: RH to Debian conversion help

2003-10-06 Thread Scott
Excellent.  Thanks again VERY much to all of you for the very good
info and time to help.  Sincerely appreciated.

Cheers,
Scott



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



Re: raid1 and lilo second disk doesn't boot - testing

2003-10-06 Thread Rudy Gevaert
Hi Alvin,

On Sun, Oct 05, 2003 at 01:50:08PM -0700, Alvin Oga wrote:

> i assume that you have..
>   - software raid1 
>   - "FD" as your partition type
>   - lilo.conf or grub or other pointing to the /dev/mdxx devices
>   for booting
>   - raid is built into the kernel .. not a module

correct

>   - /etc/raidtab setup up right
>   - which version of raidtools are you using ??

i'm not using raidtools.  I'm using mdadm the version that is in
debian stable.


I browsed through the man files but couldn't find anything about
automatic syncing.

-- 
Rudy Gevaert[EMAIL PROTECTED]
Web pagehttp://www.webworm.org
Schamper sysadmin   http://www.schamper.ugent.be
GNU/Linux user and Savannah hacker http://savannah.gnu.org
Behind every great fortune there is a crime.   
- Honore de Balzac (1799-1850)


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



Still BIG problems with XFree on Dell C400

2003-10-06 Thread Jon Haugsand

The Dell C400 is troublesome, in particular with Debian since its
policy of conservative upgrades.  Anyway, I have downloaded the
following packages:

XFree86 Version 4.3.0 (Debian 4.3.0-0ds2.0.0woody1 20030307145421 marcelo@)
kernel-source-2.4.22

The kernel recompiled with settings as recommended.  However, when
issuing startx, the screens goes black, 30-60 seconds goes by,
suddenly the screen looks X like with the X mouse pointer, but then I
am back to console mode again.  Looking into the
/var/log/XFree86.0.log and grepping out (WW), (EE) and Warning, I get
this:


(WW) `fonts.dir' not found (or not valid) in "/usr/lib/X11/fonts/util".
(WW) `fonts.dir' not found (or not valid) in "/usr/lib/X11/fonts/encodings".
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) I810(0): Bad V_BIOS checksum
(WW) System lacks support for changing MTRRs
(WW) I810(0): Extended BIOS function 0x5f11 not supported.
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): Bad V_BIOS checksum
(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.
(WW) I810(0): Option "UseModeLine" is not used
Warning: font renderer for ".pcf" already registered at priority 0
Warning: font renderer for ".pcf.Z" already registered at priority 0
Warning: font renderer for ".pcf.gz" already registered at priority 0
Warning: font renderer for ".snf" already registered at priority 0
Warning: font renderer for ".snf.Z" already registered at priority 0
Warning: font renderer for ".snf.gz" already registered at priority 0
Warning: font renderer for ".bdf" already registered at priority 0
Warning: font renderer for ".bdf.Z" already registered at priority 0
Warning: font renderer for ".bdf.gz" already registered at priority 0
Warning: font renderer for ".pmf" already registered at priority 0

Any idea of what goes wrong?  Or how to debug my situation?

-- 
Jon Haugsand
  Dept. of Informatics, Univ. of Oslo, Norway, mailto:[EMAIL PROTECTED]
  http://www.ifi.uio.no/~jonhaug/, Phone: +47 22 95 21 52


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



Re: Mutt & Sylpheed

2003-10-06 Thread Bijan Soleymani
On Mon, Oct 06, 2003 at 03:16:39AM -0400, Naitik Shah wrote:
> Its a repeated question, I know, but after considerable digging on
> google, I still haven't been able to figure out the best way to be able
> to use sylpheed (claws) and mutt together. There's just way too much
> information out there!! If anyone knows of a good document that can help
> me set this up, please email away!
> 
> >From what I've read, I believe there's a few ways:
> 
> fetchmail -> procmail -> MH, mbox, maildir
> fetchmail -> procmail -> cyrus -> IMAP
> 
> I understand that using IMAP I would essentially be able to use it with
> any email client, as long as it supports IMAP. I would even be able to
> check it through a web interface, when I'm on a PC without ssh!
> 
> It'll be great if someone could post configuration files (fetchmail,
> procmail, mutt)  I'm sure I'll be able to figure something out from
> those.
> 
> I promise, if I get it working, I'll write a HOW-TO and post it online!

I have my configuration on my website at:
http://www.crasseux.com/linux/

Since then I've switched from mbox to maildir format and from uw-imapd
to courier-imapd, but the basic concepts are the same.

Bijan
-- 
Bijan Soleymani <[EMAIL PROTECTED]>
http://www.crasseux.com


signature.asc
Description: Digital signature


Re: simple text formatting

2003-10-06 Thread Dave Carrigan
On Sun, Oct 05, 2003 at 11:37:57PM -0700, Mike Egglestone wrote:
> Hi,
> 
> I have a file in this format of words:
> 
> joe jill bill bob frank tom harry
> 
> and want to convert the file to this format:
> 
> joe
> jill
> bill
> bob
> frank
> tom
> harry

fmt -w 1 filename > newfile

-- 
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL


signature.asc
Description: Digital signature


Re: Xv video driver expires after xfree86 upgrade

2003-10-06 Thread Roberto Sanchez
Alphonse Ogulla wrote:

What graphics driver are you using (what video card)? Ist the XVideo
extension
listed in xdpyinfo?


onboard Intel 810e graphics adaptor.
xdpyinfo lists XVideo amongst 27 other extensions
Is it a laptop?  I had a problem with my laptop where if the X server 
was started while I had video output going to an external monitor Xv 
playback would bluescreen.  If I started the X server with video to the 
builtin LCD it worked fine (even if I later plugged in the external 
monitor and redirected the video output).

HTH,

-Roberto


pgp0.pgp
Description: PGP signature


java executable for konqueror

2003-10-06 Thread Alphonse Ogulla
What package provides the java executable for konqueror or KDE3 in general? I 
enabled java globally in konqueror's settings but when trying to access a web 
site that requires java (eg yahoo chat), I get the Java executable not found 
error.

Regards,
-- 
Alphonse Ogulla
Nairobi, Kenya


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



Re: java executable for konqueror

2003-10-06 Thread Tom Badran
On Monday 06 October 2003 16:03, Alphonse Ogulla wrote:
> What package provides the java executable for konqueror or KDE3 in general?
> I enabled java globally in konqueror's settings but when trying to access a
> web site that requires java (eg yahoo chat), I get the Java executable not
> found error.

There is no package that provides a fully compatible jvm. You need to install 
one from sun, ibm or blackdown.org. I would reccomend the blackdown one for 
debian.

Tom

-- 
 ^__^| Tom Badran
 (oo)\__ | Imperial College
(__)\   )\/\ | Department of Computing
||w || ---
|| ||| Using Debian SID

Linux 2.6.0-test5-mm4 #6 Mon Sep 22 12:50:10 BST 2003 i686 GNU/Linux
 16:26:49 up  1:59,  1 user,  load average: 2.00, 2.00, 1.98


pgp0.pgp
Description: signature


Re: mailing list

2003-10-06 Thread Karsten M. Self
on Mon, Oct 06, 2003 at 11:44:03PM +1000, Pascal Hakim ([EMAIL PROTECTED]) wrote:
> On Mon, Oct 06, 2003 at 11:58:40AM +0100, Karsten M. Self wrote:
> > Not true in all cases.  If your list mail is being relayed to you from
> > somewhere, your own mailbox bouncing messages *won't* unsubscribe you
> > from the Debian listslargely because you weren't subscribed in the
> > first place.
> > 
> 
> Hey,
> 
>   This isn't 100% true. In most cases, the bounce-handler
> will figure out what address you subscribed with. Each message
> being sent out by the list software has a unique Return-path, which
> looks something like this:
> 
>   <[EMAIL PROTECTED]>
> 
> If your mail server behaves correctly (99% of cases), it will
> respect this header, even when mail is being relayed, and bounces
> will work correctly, and get you unsubscribed.

I should know better than to tangle with the list manager, but...

In this case, it's not the person complaining wh gets unsubscribed, but
the relay address.

E.g.:

   [EMAIL PROTECTED] subscribes to debian-user.
   [EMAIL PROTECTED] is forwarded mail by [EMAIL PROTECTED]

The bounce handler IIUC will be triggered if [EMAIL PROTECTED] starts
bouncing, but is *not* triggered by [EMAIL PROTECTED]  

...or am I missing something?


Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   zIWETHEY: Provocative, super smart, and oh yeah, just a little sexy.
 http://z.iwethey.org/forums/


signature.asc
Description: Digital signature


Bounced mail etc.

2003-10-06 Thread Ben Darlow
Apologies to all those receiving bounced mail error messages from the
mailer daemon at my company - I'm unsubbing now to stop this until the
sysadmin can change the filtering rules.

~B

---Disclaimer---

Unless obviously public, this email is confidential to the intended recipient(s). If 
you received it in error please tell the sender and then delete it. We check emails 
from dyslexic.com and iansyst.co.uk, but you should virus check incoming emails. 
Emails do not always represent our official policy or a contract. Errors and omissions 
are excepted.

iANSYST Ltd, Fen House, Fen Road, CAMBRIDGE, CB4 1UN. T +44(0)1223 420101; Fax +44(0) 
1223 42 66 44; [EMAIL PROTECTED]



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



Dyslexic demime autoresponses

2003-10-06 Thread Karsten M. Self
I've noticed a number of autoresponses from dyslexic.com's demimer tool
which is apparently rabidly afraid of my GPG signatures.

These have been in response to all list posts I've made in the past few
hours.

I've had a most charming conversation with dyslexic.com's system
administrator, and would recommend that anyone who'se having a similar
experience might post a friendly note indicating the problems of
autoresponses made in response to mailing list posts.

I'd also recommend that dyslexic subscribers consider subscribing
through an external address for the time being.


Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   A guide to GNU/Linux backups:
 http://kmself.home.netcom.com/Linux/FAQs/backups.html


signature.asc
Description: Digital signature


Re: Debian-based distros ??

2003-10-06 Thread Karsten M. Self
on Mon, Oct 06, 2003 at 09:51:59AM -0400, Hall Stevenson ([EMAIL PROTECTED]) wrote:
> 
> I've recently built a new box for myself and would like to put Linux back 
> on it. I started with RH back between their 5.0 and 5.1 release, switched 
> to Mandrake for a while, and have been running Debian (unstable) for a 
> couple years or more. I'm tempted to take the easy way out and just add the 
> old hard drive to my new machine and run things this way, but there's a few 
> good reasons not to. 1) Old cruft I don't want to deal with. 2) New, fresh 
> installs from scrath are always better. 3) The old hard drive is 
> partitioned up between EXT3, Fat32, and Fat16 partitions. It is a 20gb 
> drive total, with approx 10gb as EXT3 (and likely not even half-filled at 
> that). So for me, wiping it clean and running all 20gb for Debian may be 
> wasted space, but still the easiest to do.
> 
> As mentioned, I ran Debian unstable for years with no problems. Why 
> unstable ?? I often want newer versions of packages than stable provides... 
> Why do 80% of unstable users use it ?? Probably the same.

http://www.debian.org/releases/

Specifically:  see testing.


> So, would people suggest sticking with "pure" Debian or possibly going with 
> a Debian-based distro ?? If an off-shoot, which one ?? I'm looking at 
> Knoppix's site right now...

Knoppix aims to produce a bootable, runnable, fairly complete desktop
system.  It succeeds relatively well at this.  Installing to HD is
possible, but the mix of stable, unstable, testing, and other sources is
somewhat ungodly.  

I'd pick straight Debian myself.


Peace.

-- 
Karsten M. Self <[EMAIL PROTECTED]>http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
user-agent considered harmful.  Encourage W3M standards:
http://twiki.iwethey.org/Main/UserContentString


signature.asc
Description: Digital signature


Re: FW: Xv video driver expires after xfree86 upgrade

2003-10-06 Thread Alphonse Ogulla
On Monday 06 October 2003 18:18, Roberto Sanchez wrote:
> Is it a laptop?  I had a problem with my laptop where if the X server
> was started while I had video output going to an external monitor Xv
> playback would bluescreen.  If I started the X server with video to the
> builtin LCD it worked fine (even if I later plugged in the external
> monitor and redirected the video output).
>
Not a laptop. PIII Dell Optiplex GX10 desktop with normal 15" CRT monitor. 
I get bluescreen in the video output window only (not the whole screen) 
irrespective of whether I use mplayer or xine. 

Thanks and regards,
-- 
Alphonse Ogulla
Nairobi, Kenya


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



NFS V3, how do I get it working?

2003-10-06 Thread stan
I;ve recompiled my kernel enabling NFS V3, and rebooted. Yet rpcionfo still
reports:

132   udp   2049  nfs

What else do I need to configure to allow this machine to be an NFS V3
server?

-- 
"They that would give up essential liberty for temporary safety deserve
neither liberty nor safety."
-- Benjamin Franklin


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



pam_mkhomedir

2003-10-06 Thread martin f krafft
When I configure pam_mkhomedir in /etc/pam.d/ssh like so:

  session required pam_mkhomedir umask=0066 skel=/etc/skel

then it fails to do it's job. The log reports "unable to create
directory" and "Permission denied". I think this is because SSH uses
privilege separation, so the PAM stack is called after dropping
root. This is backed up by the fact that setting the permissions on
/home to 0777 allows a normal user to log in and have his/her
homedir be automatically created.

Is this a known problem? Is there anything one can do against this,
short of turning privilege separation off in SSH. Unless someone
shows me some counterproof, I still believe that privsep is a rather
useful addition to sshd.

Thanks,

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


pgp0.pgp
Description: PGP signature


Re: Debian-based distros ??

2003-10-06 Thread Hall Stevenson
At 11:49 AM 10/6/2003, Karsten M. Self wrote:
> So, would people suggest sticking with "pure" Debian or possibly going 
with
> a Debian-based distro ?? If an off-shoot, which one ?? I'm looking at
> Knoppix's site right now...

Knoppix aims to produce a bootable, runnable, fairly complete desktop
system.  It succeeds relatively well at this.  Installing to HD is
possible, but the mix of stable, unstable, testing, and other sources is
somewhat ungodly.
I sent this before I actually started *reading* Knoppix's page... :-) I 
guess I was thinking of Libranet instead, not Knoppix, espcially being that 
it normally runs off of a CD. I sure don't want that.

Hall 

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



ssh-add : where's the reaper.

2003-10-06 Thread Bill Moseley
How do programs get reaped from .xsession?

I'm using this (subsection) in .xsession:

$HOME/bin/root_window.pl &
ssh-add  $HOME/.ssh/id_dsa $HOME/.ssh/id_dsa_pine < /dev/null &
exec icewm-session

But I'm left behind with the ssh-add zombie.

Also, if I kill "root_window.pl" that's left as a zombie, too.

These all show as children of icewm-session, but I assume that's because
of the exec (which replaced .xsession)

 1102 tty1 S  0:00  \_ /bin/sh /usr/bin/X11/startx -- +xinerama
 1115 tty1 S  0:00  \_ xinit /usr/X11R6/lib/X11/xinit/xinitrc -- 
/usr/X11R6/bin/X +xiner
 1119 tty1 S  0:00  \_ icewm-session
 1169 ?S  0:00  \_ /usr/bin/ssh-agent sh 
/home/moseley/.xsession
 1170 tty1 S  0:02  \_ gkrellm
 1186 tty1 S  0:00  |   \_ gkrellm
 1171 tty1 S  0:00  \_ sh /home/moseley/.xsession
 1173 tty1 S  0:00  |   \_ perl MouseRemote.pl
 1174 tty1 Z  0:00  \_ [root_window.pl] 
 1177 tty1 S  0:01  \_ gbuffy
 1178 tty1 Z  0:00  \_ [ssh-add] 
 1182 ?S  0:00  \_ icewmbg
 1184 ?S  0:00  \_ icewmtray
 1185 ?S  0:02  \_ icewm
14035 ?S  0:01  \_ xterm



-- 
Bill Moseley
[EMAIL PROTECTED]


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



Re: GTK question

2003-10-06 Thread Mark Roach
On Sun, 2003-10-05 at 22:14, Roberto Sanchez wrote:
> Just out of curiousity ... is it possible to force GTK2 to render 
> GTK/GTK+ apps?  I hask because I have a few apps (Audacity and a 
> wxWindows based app that I am developing) that use GTK+, but would look 
> lots better if rendered with GTK2.

There is a gtk2 port of wxwindows. If you download the source package, I
believe you can just modify the debian/rules and add --enable-gtk2 to
the configure options.

> Are they so different as to not be compatible from v1 to v2?

Yes, that's why it is version 2, because it breaks compatibility.
Otherwise it would have been gtk 1.4.

-Mark


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



Re: mailing list

2003-10-06 Thread Pascal Hakim
On Mon, Oct 06, 2003 at 04:38:38PM +0100, Karsten M. Self wrote:
> I should know better than to tangle with the list manager, but...

I'm not *that* scary ;-)

> In this case, it's not the person complaining wh gets unsubscribed, but
> the relay address.
> 
> E.g.:
> 
>[EMAIL PROTECTED] subscribes to debian-user.
>[EMAIL PROTECTED] is forwarded mail by [EMAIL PROTECTED]
> 
> The bounce handler IIUC will be triggered if [EMAIL PROTECTED] starts
> bouncing, but is *not* triggered by [EMAIL PROTECTED]  
> 
> ...or am I missing something?

It depends how [EMAIL PROTECTED] is forwarding the mail. The
large majority of those relays will only change the envelope, and
won't change the Return-path. This means that when the bounce is
generated, even if it's bouncing on [EMAIL PROTECTED]'s server,
it will get sent to 
[EMAIL PROTECTED], so the
unsubscribe will work. If the MX server for faraway.bar ignores
the return-path it will usually bounce to the list's posters, 
which is surprisingly rare. I guess that with some setups, the
bounces would be sent to [EMAIL PROTECTED], but then we'd never
hear about it.

Have a look at http://cr.yp.to/proto/verp.txt for more info on 
VERP (Variable Envelope Retun Paths).

Cheers,

Pasc
-- 
Pascal Hakim   +61-403-411-672
"Do not bend."


pgp0.pgp
Description: PGP signature


Weird console output from eth0

2003-10-06 Thread Sudeep Mukherjee
Hi
Could someone help me with this. I keep getting this output on the
console and am unable to work on the console.

Output:

IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=270 TOS=0x00
PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=250
IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=235 TOS=0x00
PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=215
IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=270 TOS=0x00
PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=250
IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=235 TOS=0x00
PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=215

My /etc/network/interfaces file is like this:

auto eth0
iface eth0 inet static
address 10.62.0.15
netmask 255.255.255.0
gateway 10.62.0.15
#network 10.62.0.0
#broadcast 10.62.0.255

#auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
#network 192.168.1.0
#broadcast 192.168.1.255
#gateway 10.62.0.15



Thanks in advance
Sudeep


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



Forcing a device to use specific IRQ (pcmcia troubles)?

2003-10-06 Thread Joan Tur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hallo!

A friend's got a Compaq nx9005 laptop.  All works fine except pcmcia.  When I 
plug a card in (Benq 802.11b) the following lines are added to dmesg's 
output:

- -
cs: memory probe 0x0c-0x0f: excluding 0xc-0xc 0xdc000-0xd 
0xe4000-0xf
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.0.4 - 2003-07-27 (Jouni Malinen <[EMAIL PROTECTED]>)
hostap_cs: RequestIRQ: Resource in use
: card already removed or not configured during shutdown
hostap_free_data: ap has not yet been initialized - skip resource freeing
- -

I'm using 2.4.22 with acpi patch.  I've also tryed appending "pci=noacpi" or 
"pci=off" or "pci=bios" with no luck.

Any idea?  Thanks in advance!!  ;)

Note: before excluding IRQs 3 & 5 in /etc/pcmcia/config.opts the system hanged 
when pluging a card in (as read in the internet)
- -- 
  Joan Tur. Eivissa-Spain
Jabber, Yahoo & AIM: quini2k
www.ClubIbosim.org
Linux: usuari registrat 190.783
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/gZsDok8j9RhtetwRAhQFAJ0UjYMJB6MSnBYfOk2DvL33QZF19QCfSK/E
eVfFD5q1z7xYOsvTVxIdRnc=
=hb7t
-END PGP SIGNATURE-


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



Re: Weird console output from eth0

2003-10-06 Thread Nicos Gollan
On Monday 06 October 2003 18:31, Sudeep Mukherjee wrote:
> Hi
> Could someone help me with this. I keep getting this output on the
> console and am unable to work on the console.
>
> Output:
>
> IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=270 TOS=0x00
> PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=250
> IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=235 TOS=0x00
> PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=215
> IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=270 TOS=0x00
> PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=250
> IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=235 TOS=0x00
> PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=215

This is from iptables and indicates access to the ports used for Windows/Samba 
filesharing. Do

iptables -L

and check if there are entries with a LOG target. If you remove those entries, 
the output should cease. If you want to get rid of it permanently, you'll 
have to find out where they come from. Did you install something like 
Bastille or another security tool? Reconfiguring those should do the trick.

-- 
Got Backup?


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



Re: pam_mkhomedir

2003-10-06 Thread Colin Watson
On Mon, Oct 06, 2003 at 05:49:37PM +0200, martin f krafft wrote:
> When I configure pam_mkhomedir in /etc/pam.d/ssh like so:
> 
>   session required pam_mkhomedir umask=0066 skel=/etc/skel
> 
> then it fails to do it's job. The log reports "unable to create
> directory" and "Permission denied". I think this is because SSH uses
> privilege separation, so the PAM stack is called after dropping
> root. This is backed up by the fact that setting the permissions on
> /home to 0777 allows a normal user to log in and have his/her
> homedir be automatically created.

sshd currently runs PAM session modules as the authenticated user, not
as root. (I think 3.7 changes this.)

While this appeared at the same time as privilege separation, it's not
an intrinsic consequence of it.

> Is this a known problem?

Yes, very much so.

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]


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



Illegal Instructions

2003-10-06 Thread Doug MacFarlane
Team:

I'm at a loss about what is causing these, or how to fix it . . 

It's a Debian Sparc Stable system, Sparc 20 with 256 mb of RAM.


ranum:/home/madmac# ps


Signal 4 caught by ps (procps version 2.0.7).
Please send bug reports to <[EMAIL PROTECTED]>
ranum:/home/madmac# ps -elf
Illegal instruction
ranum:/home/madmac# ps 
Illegal instruction
ranum:/home/madmac# 

This all started when I was about 1/2 way through a dist-upgrade, when
dpkg started spitting out errors with "Illegal Instructions" during
install or conf stages.

apt-get update completes fine, but running apt-get dist-upgrade to
complete the uncompleted installs produces:

ranum:/home/madmac# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back
  apache2-common apache2-mpm-prefork 
3 packages upgraded, 0 newly installed, 0 to remove and 2  not upgraded.
11 packages not fully installed or removed.
Need to get 1797kB/3368kB of archives. After unpacking 32.8kB will be
freed.
Do you want to continue? [Y/n] y
Get:1 http://ftp.us.debian.org testing/main libssl0.9.7 0.9.7c-1
[1797kB]
Fetched 1797kB in 31s
(56.3kB/s)   
(Reading database ... 18534 files and directories currently installed.)
Preparing to replace ssh 1:3.4p1-1 (using
.../ssh_1%3a3.4p1-1.woody.3_sparc.deb) ...
dpkg: error processing
/var/cache/apt/archives/ssh_1%3a3.4p1-1.woody.3_sparc.deb (--unpack):
 subprocess pre-installation script killed by signal (Illegal
instruction)
Preparing to replace xlibmesa3 4.1.0-16 (using
.../xlibmesa3_4.1.0-16woody1_sparc.deb) ...
Unpacking replacement xlibmesa3 ...
dpkg: error processing
/var/cache/apt/archives/xlibmesa3_4.1.0-16woody1_sparc.deb (--unpack):
 dpkg: warning - old post-removal script killed by signal (Illegal
instruction)

dpkg: error while cleaning up:
 subprocess post-removal script killed by signal (Illegal instruction)
Preparing to replace libssl0.9.7 0.9.7b-2 (using
.../libssl0.9.7_0.9.7c-1_sparc.deb) ...
Unpacking replacement libssl0.9.7 ...
Errors were encountered while processing:
 /var/cache/apt/archives/ssh_1%3a3.4p1-1.woody.3_sparc.deb
 /var/cache/apt/archives/xlibmesa3_4.1.0-16woody1_sparc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

mutt runs fine, as does man.  

It seems that something (a library file??) is corrupted, and generating
these illegal instructions.  But how do I figure out what, and where
would I get the replacement?

TIA

madmac



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



Re: Weird console output from eth0

2003-10-06 Thread Sudeep Mukherjee
Nicos Gollan <[EMAIL PROTECTED]> writes:

> This is from iptables and indicates access to the ports used for Windows/Samba 
> filesharing. Do
>
> iptables -L
>
> and check if there are entries with a LOG target. If you remove those entries, 
> the output should cease. If you want to get rid of it permanently, you'll 
> have to find out where they come from. Did you install something like 
> Bastille or another security tool? Reconfiguring those should do the trick.
>
> -- 
Here is my output of iptables -L:


Chain FORWARD (policy DROP)
target prot opt source   destination
ACCEPT all  --  192.168.1.0/24   anywhere
ACCEPT all  --  anywhere 192.168.1.0/24
LOGall  --  anywhere 192.168.1.0/24 LOG level
warning
DROP   all  --  anywhere 192.168.1.0/24
LOGall  --  anywhere anywhere   LOG level
warning
DROP   all  --  anywhere anywhere

Chain OUTPUT (policy DROP)
target prot opt source   destination
ACCEPT all  --  anywhere anywhere
ACCEPT all  --  anywhere 255.255.255.255
ACCEPT all  --  anywhere 192.168.1.0/24
ACCEPT!tcp  --  anywhere BASE-ADDRESS.MCAST.NET/4
LOGall  --  anywhere 192.168.1.0/24 LOG level
warning
DROP   all  --  anywhere 192.168.1.0/24
ACCEPT all  --  anywhere 255.255.255.255
ACCEPT all  --   anywhere
ACCEPT all  --  10.255.255.255   anywhere
LOGall  --  anywhere anywhere   LOG level
warning
DROP   all  --  anywhere anywhere

I did not install Bastille. I installed ipmasq. I do not know these
entries were created.

Any pointers to how to change LOG to point to a file on the hardisk?

Thanks in advance.

Sudeep
 


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



Re: Weird console output from eth0

2003-10-06 Thread ZekeVarg
I got this problem after installing firestarter, the solution is to edit 
/etc/init.d/klogd and change the line 
KLOGD="" to
KLOGD="c 4" 

On Mon, 06 Oct 2003 22:01:27 +0530
Sudeep Mukherjee <[EMAIL PROTECTED]> wrote:

> Hi
> Could someone help me with this. I keep getting this output on the
> console and am unable to work on the console.
> 
> Output:
> 
> IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=270 TOS=0x00
> PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=250
> IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=235 TOS=0x00
> PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=215
> IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=270 TOS=0x00
> PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=250
> IN=eth0 OUT= MAC= SRC=10.62.0.15 DST=10.62.0.255 LEN=235 TOS=0x00
> PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=138 DPT=138 LEN=215
> 
> My /etc/network/interfaces file is like this:
> 
> auto eth0
> iface eth0 inet static
> address 10.62.0.15
> netmask 255.255.255.0
> gateway 10.62.0.15
> #network 10.62.0.0
> #broadcast 10.62.0.255
> 
> #auto eth1
> iface eth1 inet static
> address 192.168.1.1
> netmask 255.255.255.0
> #network 192.168.1.0
> #broadcast 192.168.1.255
> #gateway 10.62.0.15
> 
> 
> 
> Thanks in advance
> Sudeep
> 
> 
> -- 
> 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]



pam_pgsql problems

2003-10-06 Thread martin f krafft
I am trying to integrate a passwd/shadow table from an SQL database
into a cluster of Debian systems. There are a number of users
defined in the SQL database, way too many to allow for the standard
flatfile /etc/passwd. So I'd like to combine the two authorization
mechanisms and use the best of both worlds: Debian accounts in
flatfiles, everyone else in one centralised database.

I have already made NSS look in the database, then in the flatfiles,
and it works perfectly well. But with PAM authorisation, I am still
experiencing big problems.

Versions:
  libnss-pgsql1  1.0.0-4
  libpam-pgsql   0.5.2-7
  postgresql 7.3.3-1

Here are the most basic PAM settings I have:

/etc/pam.d/common-auth:
  auth sufficient pam_pgsql.so debug
  auth required pam_unix.so

This is supposed to let people in if pam_pgsql can authorise them.
Only if pam_pgsql fails, then pam_unix has the final call.

/etc/pam.d/common-passwd:
  password required pam_passwdqc.so min=disabled,16,12,8,6
  password sufficient pam_pgsql.so use_first_pass debug
  password required pam_unix.so md5 use_first_pass

We check the password, then exit if pam_pgsql reports a successful
change. If it cannot change the password, the task is on pam_unix

Here are the problems I experience:

(1) The su and pop3 modules can successfully authorize against
pam_pgsql. However, ssh does not work. I get the following log
entry:

postgres.log:
  failed to initialize SSL connection: No SSL error reported

and sshd receives a signal 11 (segmentation fault).

(2) If I try to change the password of a user in the database, it
fails with the following error:

passwd: Authentication service cannot retrieve authentication info.
At the same time, postgres reports:

  SSL SYSCALL error: EOF detected
  pq_recvbuf: unexpected EOF on client connecti

I can change the password of a user in /etc/passwd just fine.

(3) If I place the following into /etc/pam.d/common-account:

  account sufficient pam_pgsql.so debug
  account required pam_unix.so

then su and pop3 work as before, ssh still does not work, but
now I cannot even SSH into the machine with user credentials
from /etc/passwd anymore, sshd segfaults. The errors are:

postgres.log:
  failed to initialize SSL connection: No SSL error reported

SSH client:
  debug1: Authentication succeeded (publickey).
  debug1: channel 0: new [client-session]
  debug1: Entering interactive session.
  debug1: channel_free: channel 0: client-session, nchannels 1
  Read from remote host gaia.ailab.ch: Connection reset by peer
  Connection to gaia.ailab.ch closed.

All in all, this make pam_pgsql pretty unusable, and I don't really
know why. I have never told it to use SSL, and that's where the
errors seem to come from. Postgres allows cleartext access:

/etc/postgres/pg_hba.conf:
  hostallall   127.0.0.1   255.0.0.0   password

why in the world is SSL being used at all? What may be worth
noticing is that PostgreSQL started the use SSL when possible in
7.3.3-1. If I connect with psql to localhost, being allowed to use
clear text, I am told that I am using a

  SSL connection (cipher: DHE-RSA-AES256-SHA, bits: 256)
  
However, if I connect with psql to localhost on a 7.2.1-2woody2
machine, I do not get this notice and the connection is clear-text.

There is no mention in the changelog about this, so maybe Oliver has
a comment?

And anyone else with some tips or solutions or hints or
pads-on-the-back: please give them to me!

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


pgp0.pgp
Description: PGP signature


  1   2   >