Re: Reply To Field in emails

2003-02-18 Thread Dennis Stosberg
Sharninder Singh,,, wrote:

> This only happens with debian user ... all the other lists that i
> subscribe to set their reply-to addresses back to the list itself. Am i
> the only one facing this problem (or feature) or anyone else also
> irritated with this ?

There are several good reasons not to have the Reply-To header set
to the list address. You may have a look into this document:

http://www.unicom.com/pw/reply-to-harmful.html

I don't know Squirrelmail, but every mail client I have met so far,
has a group reply function.  Some, as for example mutt, even have a
special "reply to list"-feature for this purpose.

Regards, 
Dennis


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




Re: OT - Programming Languages w/o English Syntax

2003-10-17 Thread Dennis Stosberg
Am Fr, den 17.10.2003 schrieb Tom um 13:15:

> [OT, sorry -- but question is obscure, will be hard to google]
> 
> Are any non-english-speaking readers aware of High-level programming 
> languages using non-English syntax?  Like, could I find a French C 
> compiler that uses "pour" instead of "for" and "si" instead of "if"?

You can (mis-)use the C preprocessor to allow a non-English syntax in C
and add a non-English counterpart for every single keyword. It works for
almost everything except the preprocessor directives themselves.

But why should anyone want this?

--- german.h: 
#define ganzzahl int
#define solange while
#define schreibef printf


--- test.c:
#include 
#include 

ganzzahl main() {
ganzzahl a = 0;
solange(a < 5) {
schreibef("Dies ist Zeile %d\n", a);
a++;
}
}
---

Regards, 
Dennis


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



Re: lilo+ext3 guru needed...

2003-11-06 Thread Dennis Stosberg
Am 06.11.2003 um 18:03 schrieb LeVA:
 
> So it seems I can not use data=journal with my root partition. I have to 
> edit /etc/fstab , and change /dev/hda7 ...,data=ordered, if I want 
> to start my system.
> Is this normal? I don't think so... Anybody knows the cure for this 
> problem? Is there a way to specify some mount options to lilo, so I can 
> put data=journal, and lilo mounts the root partition with journal data 
> mode. Or do I have to use another boot manager (grub?) instead of lilo, 
> to use data=journal with my root partition?

Have you tried the "rootflags" boot option?  With that option you
should be able to pass mount options for the root file system to the
kernel:

rootflags=data=journal

Does this work?

Regards, 
Dennis


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



Re: how to extract attachments from an email?

2003-11-06 Thread Dennis Stosberg
Am 05.11.2003 um 16:44 schrieb Adam Galant:
> > > I need a script to extract all attachments from emails and do an action an
> > > each of them (scp to a different machine). How to do this?
> >
> > As they are passing through the MTA, or are they statically sitting
> > somewhere?
> 
> Yes, messages come directly from MTA. I know procmail is my friend here
> ;-) but I still don't know how to handle attachments here. A quick recipee
> will be of great help.

Perl is your friend here ;-) This little script will save all mails
decoded in ~/tmp.

#!/usr/bin/perl
use strict;
use MIME::Parser;
use Date::Format;

my $datadir = '/home/user/tmp';

my @lt = localtime(time);
my $date = strftime("%Y%m%d-%k%M", @lt);
my $parser = new MIME::Parser;

system('mkdir -p '.$datadir.'/'.$date);
$parser->output_dir($datadir.'/'.$date);
my $entity = $parser->parse(\*STDIN) or die;

Regards,
Dennis


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



Re: cd to dir with dashes

2003-02-02 Thread Dennis Stosberg
Am 02.02.2003 um 06:45 schrieb Bill Moseley:

> Hum, what's the trick to cd in bash in this case?
> [..]
> moseley@bumby:~/wusage-accounts$ cd \-\-SIMPLE\-ACCOUNT\-\-  
> -bash: cd: --: invalid option
> cd: usage: cd [-L|-P] [dir]

Try this:

cd -- --SIMPLE_ACCOUNT--

Regards,
Dennis


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




Re: ext3 to ext2 convertion

2003-02-13 Thread Dennis Stosberg
Bruno Diniz de Paula wrote:

> how can I convert a ext3 partition to ext2? Is it only to change the
> type in fstab and reboot? How can I synchronize the modification stored
> in the journal file?

Simply mounting it is the easy way and should be ok if your
filesystem has been correctly unmounted.  If you want to delete the
journal itself, run "tune2fs -O ^has_journal /dev/xxx", run e2fsck
and delete the ".journal" file.

Regards, 
Dennis





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




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

2002-11-12 Thread Dennis Stosberg
Am 12.11.2002 um 10:08 schrieb Alex Polite:

> I tried out the minimalistic ratpoison an ion wms and kind of like
> them. At least they are fast. But they don't handle apps like gimp or xmms to
> well. Now I'm looking something in  the middle ground.

I have been happily using GTK-based XFCE for a some time.
Although it is rather a desktop environment than a window
manager it is fairly fast and light-weight.


Regards, 
Dennis

-- 
Dennis Stosberg
  eMail: [EMAIL PROTECTED]
gpg key: http://stosberg.net/dennis.asc
icq: 63537718


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




Re: natsemi driver with 2.2.20 vs 2.4.18 kernel?

2002-11-12 Thread Dennis Stosberg
Am 12.11.2002 um 01:47 schrieb Everett Anderson:

> ...no network apps work (mozilla, ping, etc).  When I boot back into
> my 2.2.0 kernel, things are fine again.

Have you compared ifconfig's outputs in both configurations?
Just to be sure...


Rgds, 
Dennis

-- 
Dennis Stosberg
  eMail: [EMAIL PROTECTED]
gpg key: http://stosberg.net/dennis.asc
icq: 63537718


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




Re: natsemi driver with 2.2.20 vs 2.4.18 kernel?

2002-11-12 Thread Dennis Stosberg
Am 12.11.2002 um 11:03 schrieb Everett Anderson:

> They seem about the same [see below], except the 2.4.18 seems to show
> it hasn't gone through DHCP yet.  Also, the 2.2.20 ifconfig shows a
> tap0 device (?). 

tap0 is not important here.

> ...but the eth0 devices seem to both correspond to
> the same hardware.  Does this give you any further ideas?  

You note the difference? eth0 has no IP address assigned
yet with 2.4. The question is: Where do you get your IP address
from? DHCP? Will 

   /etc/init.d/networking restart

print any useful messages? 

> Is it possible I could have left out some DHCP support in my
> kernel?  Is there a way to force DHCP negotiation?

DHCP support in the kernel is not important here. People
usually use it to mount a root filesystem via network, etc.

In your case, dhcpclient will probably the work. 


Rgds, 
Dennis

-- 
Dennis Stosberg
  eMail: [EMAIL PROTECTED]
gpg key: http://stosberg.net/dennis.asc
icq: 63537718


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




Re: audio problems

2002-12-02 Thread Dennis Stosberg
Am 02.12.2002 um 13:09 schrieb Bruce Park:

>  I have a sound blaster live value card and it seems that I cannot
> get this to work. I have this driver 'EMU10k1' for this card. When
> I try to play an mp3 using xmms, at the prompt it tells me that it
> cannot access /dev/dsp.  Then xmms pops open a window with three
> things basically asking me it cannot access sound, to check if I'm
> blocking the audio device.  I'm running KDE 2.2 and have the
> appropriate audio library already in place. Can anyone help me
> figure out this mistery?

KDE uses a sound daemon named "artsd", which opens the dsp device
when you start KDE. Every program that wants to play sound has to
use this sound server. You have several options (in order of
preference): 

  - Use the arts output plugin for xmms
  - Use the artsdsp command
  - Kill artsd


Regards, 
Dennis



msg16603/pgp0.pgp
Description: PGP signature


Re: Wireless Network Setup Problem

2002-12-02 Thread Dennis Stosberg
Am 02.12.2002 um 14:12 schrieb Thomas H. George:

> I switched the transmiter back on (led steady on) so my only problem may 
> be how to set the SSID.  

Depending on the driver you use, you may set up your ssid (and other
parameters like channel, wep, transmitting power...) with iwconfig
or wlanctl-ng.

If you're using a wlan-ng driver, don't bother meditating over the
wlan-ng help (you can't call it documentation) too long.  Get a
frontend instead. 


Regards, 
Dennis



msg16622/pgp0.pgp
Description: PGP signature


Re: audio problems

2002-12-02 Thread Dennis Stosberg
Am 02.12.2002 um 14:49 schrieb Bruce Park:

> ** warning **: oss_open() failed to open audio device (/dev/dsp): 
> Permission denied.
> 
> As for the other window, it's just tellin me to check that everything is 
> correct. I'm currenty using OSS driver or esound. They both don't work. 
> What else should I check out?

What information does "ls -l /dev/dsp*" give you?

As Micheal said, check the permissions on /dev/dsp. It should be
writable for the audio group. Also, make sure your user account is a
member of that group.


Regards, 
Dennis




msg16650/pgp0.pgp
Description: PGP signature


Re: audio cd

2002-12-03 Thread Dennis Stosberg
Am 03.12.2002 um 16:21 schrieb Bruce Park:

> I'm having a problem loading any audio cds. I currently have KDE as a 
> desktop and I can run mp3 and ogg files. I know the cables are plugged from 
> the CDRW to the sound card because they work in Windows2000.
> Is there something speical I need to do because this is a CDRW?

CDRW is not different from CD-ROM as long as you don't try to write
something. Are you sure that your mixer channels are not muted?  Do
other sound sources work and/or respond to the mixer controls?

Regards, 
Dennis


msg16826/pgp0.pgp
Description: PGP signature


Re: bad error

2002-12-03 Thread Dennis Stosberg
Am 03.12.2002 um 13:29 schrieb J Q Private:

> Both of the other heretofore bootable kernels on the machine (all
> 2.4.18) result in the same error during the boot process, and
> booting from A: results in a similar message.

Take this as a lesson: Always keep a known good kernel image in your
boot manager.

You may want to get a cdrom-based rescue system like knoppix, or
the one from cdrescue.sf.net.  Alternatively, if your system does
not contain any problematic components, you may simply copy a
working kernel from any other system onto a floppy disk and use this
disk to boot your system (after setting the correct root device with
rdev). 

Regards, 
Dennis


msg16833/pgp0.pgp
Description: PGP signature


Re: audio cd

2002-12-03 Thread Dennis Stosberg
Am 03.12.2002 um 16:39 schrieb Bruce Park:

> I'm thinking that I should at least able to see the files in the cdrom 
> directory. 

There are no "files" on an audio cd. Everything konqueror shows
you is just a virtual representation of the audio tracks. 

> When I use konqueor to go in there, I see nothing. I also try to 
> open the files using xmms. I have the audio plugin and it seems to be doing 
> nothing. 

Have you set te correct device in KDE's control center? Do you have
permission, to access this device?

> Data cds work fine and that's great but I'm one of those people 
> that believe mp3 lose sound quality. I could convert them to ogg-vorbis 
> because its really just so much better but at the same time, I have many 
> many cds.

I do neither have the sense of hearing nor an audio equipment good
enough to tell any difference between a 160kb+ MP3 and an original
CD.  If you're going to convert a lot of audio cds you may want to
check out "grip".

Regards, 
Dennis



msg16839/pgp0.pgp
Description: PGP signature


Re: Mutt mail to Mozilla

2002-12-05 Thread Dennis Stosberg
Am 05.12.2002 um 07:37 schrieb Harvey Kelly:

> I know this might be a stupid question, but can I read Mutt mail/folders
> with Mozilla?  The only import option is for Netscape 4 :( but is there
> a plugin perhaps - I fancy using nice graphics instead of command-line
> for a bit.

You don't even need an import plugin. Mozilla uses plain old mbox
files to store your mail, but with windows linebreaks. Simply
create a new folder in Mozilla, copy your original mbox over the
newly created Mozilla mbox. Then "recode latin1..ibmpc mbox" and
you're done. 

But still I wonder why anyone should want to use Mozilla instead of
Mutt... 


Regards,
Dennis





msg17129/pgp0.pgp
Description: PGP signature


Re: DWL-650 Wireless NIC

2002-12-08 Thread Dennis Stosberg
Am 08.12.2002 um 12:32 schrieb Tom Allison:

> Now I am looking at an Orinoco WAP.  Wireless connectivity (signal 
> strength and reported speed) is excellent, better than the D-Link.
> But there's no sustainable throughput.  If I try to download 
> anything like a medium sized web page, or open email and ssh, the 
> [..]
> Is this a problem of brand mixing on 802.11b products or is there 
> something wrong with the DWL-650 card?  I am unable to return to 
> the D-Link router for testing as I no longer have it with me.

Do you use the in-kernel orinoco driver? I've had similar
problems with that one.  The more recent orinoco-0.13beta1
from http://ozlabs.org/people/dgibson/dldwd works for me!


Regards,
Dennis


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




Re: How to Identify Mailing Lists

2003-06-05 Thread Dennis Stosberg
Jürgen A.Erhard wrote:

> What I'm looking for is a way to tell a mail filtering tool how to
> automatically sort mails from mailing lists.

Just two days ago Sascha Andres has announced on [EMAIL PROTECTED]
that he started to host a list of procmail recipes for mailing
lists.  At the moment there are only about ten recipes listed, but
with our contributions it will probably soon be more.

Find the annoncement at
http://lists.suse.com/archive/suse-linux/2003-Jun/0207.html

And the list (in German) itself at:
http://procmail.livingit.de/

Regards, 
Dennis


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



Re: usb printer and vmware

2005-05-03 Thread Dennis Stosberg
Am Dienstag, 3. Mai 2005 10:32 schrieb David Garamond:

> Whenever the printer is turned on and USB cable plugged in, the
> 'printer' kernel module is automatically installed. I had to do
> an 'rmmod printer' first before VMWare could claim/use the USB
> device. And if the printer is turned off and then on again, I
> had to do this again. How do I prevent the kernel module from
> being automatically installed?

Add the module's name to "/etc/hotplug/blacklist".

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: kernel installation problem

2005-05-06 Thread Dennis Stosberg
Am Freitag, 6. Mai 2005 07:43 schrieb jenea:

> None of them works on my system ;I have mkinitrd v 1.201 , my
> system's kernel is v  2.4.27-1-386 ; I use debian distro.
>
> When I type ( I try to build 2.6.10 kernel ) :
>   > mkinitrd /boot/initrd-2.6.10.img 2.6.10
>
> it gives me mkinitrd help , saying how to use it:
>
>   /usr/sbin/mkinitrd [OPTION]... <-o outfile> [version]

This line tells you, how it works. I'd suggest:

mkinitrd -o /boot/initrd-2.4.27-1-386 2.4.27-1-386

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: AMD cooling utility in debian

2005-05-09 Thread Dennis Stosberg
Am Montag, 9. Mai 2005 12:27 schrieb Wackojacko:

> How do you change which governor it uses though.  I have
> recently compiled my own kernel with the 'userspace' governor
> set as default and compiled the ondemand governor into the
> kernel, but I'm not sure its made any difference. Any help would
> be appreciated.

If you want to use the kernel policies, look at the files 
in /sys/devices/system/cpu/cpu0/cpufreq. 

You can see which governors are available:

  $ cat scaling_available_governors
  ondemand userspace performance

Also which governor is currently active:

  $ cat scaling_governor
  performance

And of course you can change the active govenor:

  $ echo -n ondemand > scaling_governor
  $ cat scaling_governor
  ondemand

Alternatively, you can use a userspace program like cpufreqd or 
powernowd to control the frequency.  This allows much finer 
control, based on user-definable rules, battery status, a/c 
status, time, ...

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Broken part of ram -- 100% broken?

2005-05-09 Thread Dennis Stosberg
Am Montag, 9. Mai 2005 21:44 schrieb Alexander Toresson:

> Could linux be setup to not use this area of the ram? Getting
> new ram for this computer may not be easy, it's a compaq, so it
> may need special compaq ram... dunno if pc100/pc133 would do...

Such a kernel patch does exist:

http://rick.vanrein.org/linux/badram/index.html

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: no mouse under 2.6.8 kernel

2005-05-09 Thread Dennis Stosberg
Am Montag, 9. Mai 2005 21:17 schrieb [EMAIL PROTECTED]:

> i tried modprobe mousedev.  That did create the /dev/psaux
> and /dev/input/mice. But neither of them work.  It allows me to
> start X, but the mouse won't move.

You need mousedev for the generic mouse support and a second module 
specific to your mouse. For example "psmouse" for PS/2, "sermouse" 
for serial mice, or "usbhid" for USB mice. 

You can put the names of the modules you need into /etc/modules to 
have them loaded when the system boots.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Limiting ssh scans

2005-05-10 Thread Dennis Stosberg
Am Mittwoch, 11. Mai 2005 06:56 schrieb Bill Wohler:

> What sort of precautions have folks taken against ssh scanners?
> [...]
> A Google search was unfulfilling and not relevant with my Debian
> system.

There has been long thread on this list about this topic a few days 
ago and you will find pointers to many possible countermeasures 
there. 

The subject was "SSH Blocking" and it started on April, 25th.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: how do you protect from spammers in Debian lists?

2005-05-13 Thread Dennis Stosberg
Am Freitag, 13. Mai 2005 12:20 schrieb Nacho:

> So I think it's very easy for anybody to automatically extract
> all of the email addresses from the web archive.

It _is_ very easy and many spammers do that.

Your best option probably is to use a second email address for 
mailing lists only.  

I use [EMAIL PROTECTED] to subscribe to this list (and others), 
and I have a procmail-based filter on my mail server, which 
filters out all mails not coming over one of the mailing lists.  
Most mailing lists insert a "X-Mailing-List:" header into the 
mails, which makes filtering very easy.


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Howto make a boot floppy for my broken system.

2005-05-17 Thread Dennis Stosberg
Am 17.05.2005 um 12:40 schrieb Alex Polite:

> My RAID array broke down the other day.  Using Knoppix I've managed to
> reassemble the array but it won't boot any longer. (Maybe due to the
> fact that I've moved the drives around.)

Maybe you can move them back into the original order?
 
> Rather than figure out how to get system to boot from RAID I'd like to
> make a boot floppy or boot CD for it.

If you need an initrd, you will need to install a bootloader like
GRUB (preferably) or LILO onto the floppy anyway.  I do not see why
installing GRUB on a floppy is easier than installing it on your
harddisk.

Unless you provide more information about your setup, no one will be
able to help you.  Which kernel?  Type of disks?  Raid type?
Partition layout?  And "won't boot any longer" is not a very exact
error description, too.

> Could someone please point me to a relevant howto? I've tried googling
> but get swamped with irrelevant results.

Enter "install grub on floopy" in Google.  Follow third result to:
http://gentoo-wiki.com/HOWTO_Bootable_Floppy_with_GRUB


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Bash script problem

2005-05-17 Thread Dennis Stosberg
Am 17.05.2005 um 11:50 schrieb [EMAIL PROTECTED]:

> I have a problem with a bash script. The script (example) is very simple:
> 
> #!/bin/bash
> 
> echo hello
> ssh PT-AGCMLX1 "while true; do date; sleep 10s; done" 
[..] 
> How can I change my script so that it kills all its child processes, if it 
> is killed itself ? I tried to use the "trap" function of bash, but it 
> never used the correct pid...

Have you tried to use "exec ssh PT-..." instead?  

"exec ssh" will replace the shell process with ssh, so there will be
no shell process left after you've killed the ssh process. 


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: network boot cd?

2005-05-17 Thread Dennis Stosberg
Am 17.05.2005 um 12:19 schrieb Matt Johnson:

> What I'd really like is this...
> 
> A cd (knoppix like) that boots, configures network,
> configures x, then (and this is the crux)
> automatically does an X -query 192.168.0.250 (the ip
> of my wonderful terminal server). This makes a

Have a look at PXES [1].  They provide a ~20 MB iso image, which
contains X11, VNC, Citrix, NX and RDP clients. 

Regards, 
Dennis

[1] http://pxes.sourceforge.net

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: sar

2005-05-17 Thread Dennis Stosberg
Am 17.05.2005 um 08:12 schrieb stan:

> Is there no sar in Linux/Debian? apt-get seems to anly offere something
> called searchaandrescue in it's palce. This doesn't sound right.

Does the "atsar" package provide the functionality, you're looking
for?


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Is there a way to get 30 GB files through the net ...

2005-05-23 Thread Dennis Stosberg
Am 22.05.2005 um 13:26 schrieb Ibrahim Mubarak:

> I am in a bit of weird situation. I am running a dual boot system. I
> need to be able to let someone I know but lives far be able to upload
> 30 GB or so of data to my PC or download stuff off of it. I also need
> to be able to get it all to the windows side. Yeah, I know you don't
> like win, but it is a must in this situation.
> 
> I also need a good solution (not just a quick fix) as I might have to
> get those 30 GB back and forth to my friend quite a few times.

You will definitely want a solution which is able to resume from
a broken connection.  A tool which also checksums your data, to
ensure the correctness of the data is desirable, too:

If both machines were running Linux/Unix I'd recommend "rsync" over
ssh.  You might get rsync to work on Windows, too, with Cygwin [1].

Have you thought about Bittorrent? There are clients like Azureus [2],
which can protect the tracker url with a username/password combination
to make sure that noone else downloads your data.  Azureus is written
in Java and will run well on Linux, Windows and other systems.


Regards,
Dennis

[1] http://www.cygwin.com 
[2] http://azureus.sourceforge.net/

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: K3b

2005-05-23 Thread Dennis Stosberg
Am 23.05.2005 um 06:53 schrieb Michael Satterwhite:

> Without thinking, I closed the project portion of the K3b window. 
> Opening it again wasn't a problem, but I can't find any way to redock 
> the project window with the main window. There has got to be a way to 
> put the two windows back together.
> 
> Can anyone suggest a way to do this. All help will be greatly appreciated.

Try the small array pointing south-east in the upper right corner of
the project subwindow.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Error message when insmod realtek 8180 WLAN driver

2005-05-23 Thread Dennis Stosberg
Am 23.05.2005 um 13:23 schrieb Mohammad Halawah:

> Context: I want to install the WLAN driver for realtek 8180 using the driver 
> provided by the manufacturer.
> 
> Problem: When I insert the module using 
> insmode 8180_26_private.ko
> 
> I get in the shell the following:
> insmod: error inserting './8180_26_private.ko': -1 Invalid module format
> 
> >From dmesg I see:
> 8180_26_private: disagrees about version of symbol struct_module
> 
> I have tried with debian kernel 2.6.10-1-686 also with compiled kernel 
> 2.6.11.8

A kernel module will usually only work for exactly the kernel
version it was compiled for.  You can find out the kernel version,
your module was compiled for, with "modinfo 8180_26_private.ko".

AFAIK Realtek does not provide any source code with their drivers,
only a pre-compiled module for one specific kernel.  This means,
even if it that driver would work for you now, it would stop working
after an update of the kernel.  Such a driver is hardly worth more
than no driver at all. 

There is a project [1], which is trying to develop an opensource
driver for that card, although I do not know how well it is working
at the moment.

Another option is ndiswrapper, which is a wrapper around the windows
driver, to make it work on Linux. 


Regards,
Dennis 

[1] http://rtl8180-sa2400.sourceforge.net/

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: K3b

2005-05-24 Thread Dennis Stosberg
Am 23.05.2005 um 09:37 schrieb Michael Satterwhite:

> I'd love to, but there is no subwindow. The project window is now
> standalone, and the upper right corner only has the normal windows
> minimize, maximize and close buttons. I'm trying to get the project
> window back to being a subwindow.

Alternatively, you can reset all k3b settings by removing
".kde/share/config/k3brc".  


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: renice and CGI

2005-05-24 Thread Dennis Stosberg
Am 24.05.2005 um 03:33 schrieb Willie Gnarlson:

> Can someone suggest a solution for having an often out of control
> search.cgi script run at a certain nice setting?

The best solution is probably to fix the CGI itself ;-)

> I've looked into auto nice daemon (and) and I don't think that's the
> right tool for the job. It would have to poll every few seconds, as
> far as I can tell. It's a perl CGI, but I'm unable to uncover anything
> in the perldocs for having a script renice itself.

The nice() function is in the POSIX module.  You use it like this:

use POSIX ();
POSIX::nice(19);

See "man POSIX" and "man 2 nice" for details.

But seriously: Fix the script instead.  If it's stuck in a loop, fix
the loop.  If your system load is too high because of too many CGIs
beeing executed, have a look at mod_perl.


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Terratec TerraTV+ doesn't work

2005-05-28 Thread Dennis Stosberg
Am 27.05.2005 um 11:35 schrieb martin schmidt:

> I`ve attached the dmesg output.

The last few lines look very good.  It seems like the bttv driver
recognizes the bt chip.  It does _not_ recognize the tuner, though,
because it assumes a wrong card type.  But you should already be able to
watch TV via Composite and SVHS.  

The bttv module knows five different types of Terratec cards so you might
try all those.  You'll find the type list in the Documentation/video4linux
directory of your kernel sources.

And make sure you unload all bttv- and tuner-related modules before you
try a new card type.

If none of those card types works, you can still set card=0 to make bttv 
assume a generic card.  Then you can try to find the correct tuner type
passing the tuner=xx parameter to the tuner module.


Gruß, Dennis



Re: vesafb-tng

2005-05-28 Thread Dennis Stosberg
Am 27.05.2005 um 20:17 schrieb Gutemberg A. Vieira:

> Anyone is using the vesafb-tng[1] for framebuffer? I am trying to patch the
> kernel-source-2.6.11 but I can't do it right. Have anyone succeded? I get
> something like this:
> 
> # cat ../vesafb-tng-0.9-rc6-2.6.11-rc1.patch | patch -p1 --dry-run
> patching file Documentation/fb/vesafb.txt
> patching file arch/i386/boot/video.S
> patching file drivers/video/Kconfig
> Hunk #1 FAILED at 329.
> 1 out of 1 hunk FAILED -- saving rejects to file drivers/video/Kconfig.rej
> patching file drivers/video/Makefile
> Hunk #1 succeeded at 100 with fuzz 1 (offset 4 lines).
> patching file drivers/video/fbmem.c
> Hunk #1 succeeded at 52 (offset 1 line).
> Hunk #2 succeeded at 1204 (offset 25 lines).
> patching file drivers/video/vesafb-thread.c
> patching file drivers/video/vesafb-tng.c
> patching file include/video/vesa.h

The patch applies almost completely.  You can probably easily apply
the single failed hunk manually.


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: e2fsck problem

2005-06-14 Thread Dennis Stosberg
Am 15.06.2005 um 10:21 schrieb Marco Calviani:

> I've tried to run  e2fsck /dev/hda but here are the results:
> 
> e2fsck 1.38-WIP (09-May-2005)
> Couldn't find ext2 superblock, trying backup blocks...

/dev/hda is your complete hard disk.  The ext2 file system you want
to check is (almost) always in a partition of your hard disk.

These partitions can be addressed as /dev/hda1, /dev/hda2, etc.

If you don't know, what partition your file system is on, you can
use "mount" to find out.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Newbie needs help fine tuning sarge

2005-06-14 Thread Dennis Stosberg
Am 14.06.2005 um 01:38 schrieb j Mak:

> 1  My /apt/sources.list is empty, where can i find
> repository addresses.

There is a tool called "apt-setup", which will help you to make
entries for mirrors near you and/or the cdroms you have.

Of course, you can always edit your sources.list manually later. 

> 2.Currntly, I can start synaptic only form the command
> line but not from the menu, how can i fix this.

This depends your desktop or your window manager.  You'll want to
run something like "gksu synaptic" or "kdesu synaptic" in that menu
entry. 

> 3.I connet to the internet using pon from the command
> line, is there a   graphical interface for pon.

bbppp, gpppon, maybe more.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Sarge Upgrade Problem Webmail (Imap)

2005-06-14 Thread Dennis Stosberg
Am 14.06.2005 um 09:06 schrieb VFJ - Damiaan Peeters:

> When i try to log in i get the error message: 
> ERROR:
> Bad request: The IMAP server is reporting that plain text logins
> are disabled. Using CRAM-MD5 or DIGEST-MD5 authentication instead
> may work. Also, the use of TLS may allow SquirrelMail to
> login. Please contact your system administrator and report this
> error.
> 
> I am not very familiar with (very) advanced server configuration
> (mail & apache), but i do understand very good the basics and
> basic security issues.
> 
> What is the best (easiest?) way to fix this?  

The error message tells you that your imap server does not allow a
plain text login.  This is usually good practice, since passwords
are transmitted over the wire in clear text with this authentication
method.

However, your squirrelmail was configured to do plain authentication
only.  So squirrelmail and your imap server share no common
authentication method and thus cannot communicate. 

Option 1: Allow plain text logins on your imap server.  Only do 
  this if your squirrelmail web server and the imap server
  are on the same machine.  And even then make sure the
  imap server accepts plain text logins from the loop
  interface only. 

Option 2: Make squirrelmail use a more secure authentication
  method.  Have a look at "/etc/squirrelmail/conf.pl",
  esp. on $imap_auth_meth and $use_imap_tls.

To see which authentication methods your imap server supports you can
telnet into it:

[EMAIL PROTECTED]:~# telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
* OK IMAP4 ready.
001 capability
* CAPABILITY IMAP4 IMAP4rev1 IDLE AUTH=LOGIN AUTH=CRAM-MD5
001 OK CAPABILITY completed
001 logout


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Marvell Gigabit not working (SuSE 9.3 ok)

2005-06-17 Thread Dennis Stosberg
Am 17.06.2005 um 16:52 schrieb Gebhardt Thomas:

> Any hint what I might have missed? (Yes, I've configured
> PCI Express support within the kernel)

The sk98lin driver in the vanilla kernel does not support all cards,
esp. Yukon2 cards.

You should try the vendor driver:

http://www.syskonnect.com/syskonnect/support/driver/


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: postfix configuration

2004-07-01 Thread Dennis Stosberg
Am 01.07.2004 um 12:24 schrieb Pau Novella:

> Now I had found out that I can modify the name and adress using differents 
> options in the MUA, but I would like to have the corrects ones fixed in the 
> postfix configuration.
> 
> Can anybody help me?  

Use sender_canonical_maps.  Put the mapping 

localuser  [EMAIL PROTECTED]

into a new file called /etc/postfix/sender_canonical and run postmap
on that file.  Then, put a reference to that file into your postfix
main.cf:

sender_canonical_maps = hash:/etc/postfix/sender_canonical

This will cause postfix to rewrite the sender address in all mails
coming from your localuser to [EMAIL PROTECTED]

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only. Mails going to [EMAIL PROTECTED]
will not reach me unless they are sent via the list address.


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



Re: postfix configuration

2004-07-01 Thread Dennis Stosberg
Am 01.07.2004 um 19:15 schrieb Dennis Stosberg:

> This will cause postfix to rewrite the sender address in all mails
> coming from your localuser to [EMAIL PROTECTED]

To make "mail" use your correct real name, make sure to have it set
in your /etc/passwd.  Each user can change this information himself
using the command "chfn".

Regards, 
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only. Mails going to [EMAIL PROTECTED]
will not reach me unless they are sent via the list address.


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



Re: Pick up a shell session after ssh timeout

2004-07-08 Thread Dennis Stosberg
Am 08.07.2004 um 14:11 schrieb LeVA:

> > Oh, but it is, by using screen(1), for example.
> That is not a solution for the original problem. If you've read that 
> mail, then you should know that it was about a ping timeoutted session, 
> which is irrecoverable... The solution which you are talking about, is 
> for *keeping* alive that session while not logged in.

Sure, this is not a solution this time.  But maybe it is a solution
for the next time:

$ ssh [EMAIL PROTECTED]
Welcome to remotehost
$ screen
$ long_task

When you press C-a C-d now, you detach yourself from your screen
session, which means that long_task will continue to run using a
virtual terminal simulated by screen. 

Log out, go for lunch.

When you return, you can rejoin your previously opened screen
session:

$ ssh [EMAIL PROTECTED]
Welcome to remotehost
$ screen -x

And zap! You are exactly where you came from before you detached
from your old session.  And this is just a little bit of what screen
can do for you.  I found it to be very useful and quite addictive.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only. Mails going to [EMAIL PROTECTED]
will not reach me unless they are sent via the list address.


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



Re: Number of Loop devices

2004-05-21 Thread Dennis Stosberg
Am 20.05.2004 um 22:52 schrieb david:

> I would like to know how to mount more than 8 loop devices (if this is
> permited by the kernel).

You probably have loop loaded into the kernel as a module. The loop
module has a parameter to specify the number of available devices.

To set this option permanently, add this line to a new file called
/etc/modutils/loop:

  options loop max_loop=16

Make sure that loop is not in use and run 

  update-modules
  rmmod loop 
  modprobe loop

If your loop driver is compiled into the kernel, append "max_loop=16" 
(or an other suitable number) to the kernel command line in your boot
loader.


Regards, 
Dennis

-- 
Send private mail to [EMAIL PROTECTED] only. Mails going to [EMAIL PROTECTED]
will not reach me unless they are sent via the list.


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



Re: in which package ??

2004-05-11 Thread Dennis Stosberg
Am 11.05.2004 um 09:52 schrieb Roelof Wobben:

> Which command can tell me which package i have to install to make 
> everything good.
> 
> I know that in Suse the command was pin but apt-get couldn't find
> it.

SuSE has a file named ARCHIVES.gz on their CDs that contains all
filenames from all packages on that installation set.  You can get
the Debian equivalent here:

http://ftp.XX.debian.org/debian/dists/$YOURDIST/Contents-$YOURARCH.gz

This file is easily searched with zgrep.


Regards,
Dennis

-- 
Private Mails bitte an [EMAIL PROTECTED] Alles, was an [EMAIL PROTECTED]
geht und nicht über die Liste kommt, verschwindet ungesehen im Müll.



Re: Make local KDM connect to remote KDM automatically?

2004-05-11 Thread Dennis Stosberg
Am 11.05.2004 um 02:50 schrieb Silvan:

> I currently have a script out of /etc/init.d that runs X -query [server].  
> This works fine as far as my users ever notice, but if there's ever any 
> reason to kill X, it doesn't respawn, and I have to intervene manually.
> 
> Seems to me like there's some bit of magic I can work to get the terminal's 
> KDM or XDM to query the server automatically.  That way I can be running ?DM 
> on the terminal in the usual respawning fashion, and still have it manifest 
> itself as a login screen for the server.

You don't need to have kdm or xdm installed on your terminal at all.
Just start your local X-server from /etc/inittab like this (untested):

8:345:respawn:/usr/X11R6/bin/X :1 vt8 -query [server]

Also have a look at "man 5 inittab".

Regards,
Dennis

-- 
Private Mails bitte an [EMAIL PROTECTED] Alles, was an [EMAIL PROTECTED]
geht und nicht über die Liste kommt, verschwindet ungesehen im Müll.



Re: Komodo IDE C library incompatibility

2004-05-11 Thread Dennis Stosberg
Am 11.05.2004 um 12:23 schrieb Andrew Malcolmson:

> What Debian package provides this libc version (I don't
> understand the difference of the version numbering for 'libc' &
> 'libc6)?

wget http://ftp.de.debian.org/debian/dists/sarge/Contents-i386.gz
zgrep libstdc++-libc6.2-2.so.3 Contents-i386.gz

This shows that the missing file is in a package named 
"libstdc++2.10-glibc2.2".

> How can I prevent installation of an earlier libc from conflicting with
> the current one? 

This package does not depend on an older libc. IMHO the intention of
this package is to keep compatiblity between your current libc and
programs using the old libstdc++.

Regards,
Dennis

-- 
Send private mail to [EMAIL PROTECTED] only! Mails going to [EMAIL PROTECTED]
will not reach me, unless they are sent via the list.


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



Re: clearing all arp records ?

2006-05-12 Thread Dennis Stosberg
S t i n g r a y wrote:

> Well i cant seem to find a way to clear all the
> records in arp cache ... 
> in other unix versions this commands works
> 
> # arp -a -d
> 
> but here it isnt working ?
> 
> what can i do ?

for host in `arp -n | cut -f1 -d' '`; do arp -d $host; done

Regards,
Dennis


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



Re: howto autosave email attachments?

2006-05-12 Thread Dennis Stosberg
Johannes Wiedersich wrote:

> We have a shiny new printer/copier/scanner. It sends scanned pages as email 
> attachments. Instead of manually selecting individual email adresses on the 
> cumbersome telephone-like local keyboard, it would be handy to mail all of 
> them to the same e-mail address and have the attachments automatically 
> extracted and saved on a network share of the email server.
> 
> The idea is to have a special user 'scanner'. All email attachments of any 
> mail to this user are saved to /folder/for/scans and email deleted.
> 
> How would this be done?

For example with a perl script to which you pipe the messages with
"procmail" or "maildrop":

$ cat ~/bin/mail-archiver
#!/usr/bin/perl

use strict;
use MIME::Parser;
use Date::Format;

my $datadir = '/tmp';

my @lt = localtime(time);
my $date = strftime("%Y%m%d-%k%M", @lt);
my $parser = new MIME::Parser;

system('mkdir -p '.$datadir.'/'.$date);
$parser->output_dir($datadir.'/'.$date);
my $entity = $parser->parse(\*STDIN) or die;


Regards,
Dennis


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



Re: Making an ext2 filesystem on a DVD+RW

2006-11-09 Thread Dennis Stosberg
Roberto C. Sanchez wrote:

> > modprobe pktcdvd
> > pktsetup /dev/pktcdvd0 /dev/hdd
> > ioctl: Inappropriate ioctl for device
> > 
> > Can anyone advise me on this?

Make sure that your kernel has pktcdvd support. Then try:

  pktsetup 0 /dev/hdd

If you use udev, the device file /dev/pktcdvd/0 should appear
instantly.  Using that device you can use any filesystem you
want on the disc.  Be sure to run

  pktsetup -d 0

after unmounting to flush all buffers to the disk.  To write to
the disc, you need the packetcd driver, reading works without
it, too.

> IIRC, you can only use iso9660 or udf filesystems on DVD or CD media.

I regularly use ext2 on DVD+RW discs. No problem.

Regards,
Dennis


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



Re: install KDE 3.5 on Debian 3.1

2005-12-27 Thread Dennis Stosberg
Chong Zan Kai wrote:

> May I know what is the steps to update KDE of Debian 3.1 to KDE 3.5 ?
> Is there any guideline that can recommend to me?

I have rebuilt the KDE 3.5.0 packages from alioth for Sarge.  You
are welcome to try them, but please remember that those packages are
backports of _experimental_ packages. Although they are running well
here on several machines, there may still be problems:

   http://deb.stosberg.net 

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Inetd vs. Xinetd

2005-12-27 Thread Dennis Stosberg
Rick Friedman wrote:

> Simply put... being the relative newbie that I am, is there an advantage to 
> having the xinetd package rather than netkit-inetd? Currently, I have 
> netkit-inetd installed. Would I be better off removing it and installing 
> xinetd? 

That depends solely on your needs. "apt-cache show xinetd" will show
you an overview of xinetd's features.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Resize jfs partition

2005-12-27 Thread Dennis Stosberg
dclemen wrote:

> Hi, I have "/" directory on a partition with jfs file system. It has
> 140Gb size, but I remove another partition with 40Gb that was behind "/"
> partition. So I want to resize my / to get these 40Gb.
> 
> I read some sites to resize partitions with:
> 
> # mount -o remount,resize /home

Yes, that syntax works with jfs, as well.  On your Debian system you
can find that information in the mount(8) manual page. Search for
"Mount options for jfs".

> But I thing that I can't do it with / partition.

Jfs _is_ able to resize a file system which is in use. 
 
> There are any way to get it?. If not, maybe I can get any live-cd distro
> and then resize it.
> 
> It is safe? (I don't want to loose my data)

It is "safe" in the way that it will work reliably without any known
errors that would lead to data loss. 

However, if a file system contains data that you cannot afford to
lose, it is _always_ a very good idea to have a current backup.  And
of course, the risk of losing data is much higher when you're
modifying file systems.

> Thanks
> 
> PD: fdisk /dev/sda
>Device Boot  Start End  Blocks   Id  System
> /dev/sda1   *   1586447102548+   7  HPFS/NTFS
> /dev/sda258656085 1775182+  82  Linux swap / Solaris
> /dev/sda36086   24321   146480670   83  Linux
> /dev/sda4   29500   30401 72453155  Extended
> /dev/sda5   29500   30401 7245283+   b  W95 FAT32
> 
> I want to get blocks from 24321 to 29500 (29499) into dev/sda3

This involves two steps:

  (1) Use fdisk to enlarge your /dev/sda3 partition to the new
  size:  Set the last cylinder of that partition to 29499 (not
  29500 !).  You need to reboot to make the kernel use the new
  partition table.  Now the partition is 40 GB larger, but the
  file system on that partition does not fill the complete
  partition yet.

  (2) Enlarge the file system on /dev/sda3 to completely fill the
  partition with "mount -o remount,resize".

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Chkrootkit report

2005-12-27 Thread Dennis Stosberg
Rick Friedman wrote:

> I just ran a program called chkrootkit. It reports the following:
> 
> eth0: PACKET SNIFFER(/usr/sbin/pppd[5072])
> 
> I realize that 5072 is the process id for pppd. But what is the message 
> actually saying? Is there a problem with pppd?? Or is this normal?

A "packet sniffer" is a process that reads all traffic on a given
network device.  And this message tells you that there is a process
called pppd which does exactly this.

It is still up to you to decide, whether that is a problem.  If you
are running pppd (for example for PPP over Ethernet), this is
probably O.K.  But if you have never installed or used pppd, there
may be a problem.

There are many programs which trigger false alarms regularly. See
/usr/share/doc/chkrootkit/README.Debian 

Regards,
Dennis


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



Re: ext3 journal

2005-12-27 Thread Dennis Stosberg
David Dawson wrote:

> How does one locate the ext3 journal?

The journal is hidden from the user.  It is not a file that you can
locate.  You can, however, locate the journal inode:

$ dumpe2fs /dev/hda1 | grep Journal
dumpe2fs 1.37 (21-Mar-2005)
Journal inode:8

> In particular I want to be able to for example, remount the partition as
> ext2, secure-delete the journal, fsck if required, and remount as ext3.

What is your goal?  You can always mount a cleanly unmounted ext3
file system as ext2. 

You can disable the journal (== convert the file system to ext2)
with tune2fs:  

$ tune2fs -O ^has_journal /dev/hda1

This will also free the journal inode.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Reiser FS hosed?

2006-01-06 Thread Dennis Stosberg
Eric P wrote:

> NO REISER4 METADATA WERE FOUND. FS RECOVERY IS NOT POSSIBLE.
> 
> 
> So this is (ahem) bad, huh?  Am I screwed?  Or is there any way to
> recover some of the files?
> 

Your best option is probably to refer to the reiserfs mailing list
for assistance.  On the other hand, the (commercial) support of
Namesys is quite affordable and I have heard good reports on it.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Can`t build modules for VMWARE Workstation

2006-01-21 Thread Dennis Stosberg
Roman Makurin wrote:

> Now I`m using kernel 2.6.15 with ck patchset. I create kernel packages with 
> following command:
[..]
>   The kernel defined by this directory of header files does not have the same
>   address space size as your running kernel.
> 
> What I need to do to compile vmware modules ?

Three points:

1. Please make sure, that the kernel headers you try to compile the
   modules against are _exactly_ those of the kernel you are
   currently running.

2. The -ck patchset contains a patch which allows you to use 1 GB
   RAM on x86 without enabling HIGHMEM.  VMware won't work, if you
   activate that option.

3. I don't know whether your VMware version already supports 2.6.15.  
   You might try the vmware-any-any modules from ftp://ftp.cvut.cz.  
   They do work with 2.6.15.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: lost my root password, howto ?

2006-03-31 Thread Dennis Stosberg
Zouari Fourat wrote:

> Is there a case were the root password is unrecoverable.
> Or is there any possibility to let a root password unresetable ?
> Am just thinking ..

There are two possibilities: Either prevent _all_ physical access to
the hardware, or encrypt all file systems.

As long as an attacker can get physical access to an unencrypted
disk he can reset passwords (and modify everything else).


Regards,
Dennis


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



Re: lost my root password, howto ?

2006-03-31 Thread Dennis Stosberg
Zouari Fourat wrote:

> how can we encode filesystems ?

With loop-AES or dm-crypt.  But please note that both are not
trivial to set up and that you'll have to understand what you're
doing.  The Disk Encryption HOWTO [1] and the loop-AES README [2]
may be good starting points.

If you have specific questions later, they will surely be answered
on this list.

Regards,
Dennis

[1] http://www.linux.org/docs/ldp/howto/Disk-Encryption-HOWTO
[2] http://loop-aes.sf.net/loop-AES.README


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



Re: lost my root password, howto ?

2006-03-31 Thread Dennis Stosberg
Zouari Fourat wrote:

> how can we encode filesystems ?

With loop-AES or dm-crypt.  But both are not trivial to use and
you'll have to know what you are doing if you really want to secure
your system.  The Disk Encryption HOWTO [1] and the loop-AES README
[2] may be good starting points.

If you have any specific questions later, they will surely be
answered on this list.

Regards,
Dennis

[1] http://tldp.org/HOWTO/Disk-Encryption-HOWTO/
[2] http://loop-aes.sourceforge.net/loop-AES.README


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



Re: UML skas patches for "linux" kernel packages

2006-04-20 Thread Dennis Stosberg
Nic Ferrier wrote:

> Does anyone know what I have to do to get a skas host kernel?

Why not take the patch directly from its origin?

http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/

Regards,
Dennis


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



Re: Makefile parametrisation

2006-04-25 Thread Dennis Stosberg
[EMAIL PROTECTED] wrote:

> I'd like to define a symbol ARCH in my Makefile to be the output
> of
>   uname -m
>
> The obvious thing, just starting with
>
> ARCH = `uname -m`
>
> didn't seem to work.  It defined ARCH to be `uname -m' instead of
> i686 or x86_64.  Not unreasonable, but What *is* the way to do
> this?

With GNU make you can use "ARCH = $(shell uname -m)".

Regards,
Dennis


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



Re: Makefile parametrisation

2006-04-25 Thread Dennis Stosberg
[EMAIL PROTECTED] wrote:

> I'd like to define a symbol ARCH in my Makefile to be the output of
>   uname -m
> 
> The obvious thing, just starting with
> 
> ARCH = `uname -m`
> 
> didn't seem to work.  It defined ARCH to be `uname -m' instead of
> i686 or x86_64.  Not unreasonable, but What *is* the way to do this?

With GNU make you can use "ARCH = $(shell uname -m)".

Regards,
Dennis


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



Re: swap and /tmp

2006-04-28 Thread Dennis Stosberg
Digby Tarvin wrote:

> I am thinking of using a tmpfs for /tmp, and would be interested
> to hear any thoughts that others have on this issue.

I use tmpfs for /tmp on all of my machines and have so far not found
a good reason why I should not.
 
> Obviously it would mean that /tmp would be volatile, which sames
> having to clean it up, but is sometimes annoying if you have grown
> used to being able to leave things there...

/tmp is volatile by definition.  See /etc/init.d/bootclean.sh on your
Debian system.  Other distributions have similar mechanisms.
 
> I don't know if the competition for memory is any different if done
> through tmpfs vs the buffer pool for a disk backed filesystem.

If you don't use the tmpfs excessively you won't notice the extra
competition.

The kernel has (or had?) problems, if you put several gigabytes of
data into your tmpfs, though.  Some time ago, when I was trying to
build a complete KDE from sources in /tmp, the OOM killer triggered,
although there was still a lot of swap available.

> I suspect it would be more efficient to have a tmpfs /tmp on an
> system with an encrypted swap partition than separately
> encrypted swap and /tmp partitions, because the encrypt/decrypt
> would only be done on the former if the temporary file lives
> long enough to be swapped out of memory..

I guess the much bigger advantage results from the reduced disk io.
If you're swapping out pages, the encryption overhead is negligible on
a modern system.  If you're going to encrypt your swap, have a look at
loop-aes.

> The main advantage I see is that instead of having to have a
> separate swap and tmp filesystem, I can have one combined
> partition serving both purposes, and can change the size of the
> tmp filesystem by a simple edit of fstab and a reboot.

You don't need a reboot to change the size of a tmpfs.  
You can just say "mount -o remount,size=XXXm /tmp"

> The only guidance I have seen on acceptible sizes for swap partitions
> has been:
>   a. a rule of thumb suggesting it should be the same size as physical
>memory.

In my opinion this is not a good rule of thumb.  The required amount
of swap depends entirely on your workload. 

> b. I think I read somewhere that Linux cannot use more than 2GB.

This is no longer true.  I'm using a 4 GB swap partition without
problems here.

> So I was thinking a swap partition equal to memory (1GB in this case)
> plus the size of a modest /tmp partition (about 0.5GB) would be a
> good compromise.

Disk space is cheap.  When in doubt, unused swap will hurt less than
the OOM killer.

Regards,
Dennis


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



Re: High UDP ports showing open on my systems

2006-02-03 Thread Dennis Stosberg
Gabriel M. Beddingfield wrote:

> I've been running nmap scans on a couple of my debian systems, and I'm 
> finding that one unpriviliged UDP port is always showing open, but the port 
> changes with every scan.  Anybody know what's going on?  Here's a few tests 
> (edited for brevity):
> 
> debian:~# nmap -sU -p 4-65535 192.168.1.100
> PORT  STATE SERVICE
> 52979/udp open  unknown
> debian:~# nmap -sU -p 4-65535 192.168.1.100
> All 25536 scanned ports on 192.168.1.100 are: closed
> debian:~# nmap -sU -p 4-65535 192.168.1.100
> PORT  STATE SERVICE
> 41252/udp open  unknown

UDP works different than TCP.  It is a stateless protocol that does
not need to confirm in any way that a package has been received.  An
UDP port can be considered open as long as a package sent to it does
not result in an icmp-port-unreachable answer.

So nmap can assume that the tested port is open and that some program
at the other side received the test package, unless it gets an icmp-
port-unreachable answer.

And sometimes packages just get lost on their way, so it is quite
possible that one of the 25k answer packages will not find its way
to the scanning host.  That is no cause for alarm.

> lsof doesn't show any such port open.  The -sV switch doesn't give any extra 
> info for these high ports.

"netstat -lup" will show you all processes that listen on an UDP
socket. 


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: iptables wrong version?

2006-03-13 Thread Dennis Stosberg
Philip Mak wrote:

> [EMAIL PROTECTED] root]# iptables -A INPUT --source *.*.*.* -p tcp -j DROP
>
> iptables v1.2.11: can't initialize iptables table `filter': Module is wrong 
> version
> Perhaps iptables or your kernel needs to be upgraded.
> [EMAIL PROTECTED] root]# uname -a
> Linux naga.aaanime.net 2.6.8-11-amd64-k8 #1 Sun Oct 2 21:26:54 UTC 2005 
> x86_64 GNU/Linux

You're running i386 userspace on an x86_64 kernel.  Since that
kernel provides 32-bit binary compatibility for userspace and most
kernel interfaces, this is generally working quite well.

But there are a few points which require manual tweaking.  Iptables
is one of them.  A i386 iptables simply won't work on a x86_64
kernel, because there is no 32-bit compatibility interface for
iptables.  So all you need is a 64-bit iptables binary.

You can manually install the amd64 iptables package on Sarge with
"dpkg --force-architecture".  Also, you have to make sure that you
have a compatible 64-bit libc, for example from the amd64-libs
package.

Regards,
Dennis


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



Re: Debian on an AMD64 Processor

2006-03-14 Thread Dennis Stosberg
Andy wrote:

> Hello List,

Hello Andy,
 
> [..]
> Can I run regular Debian Sarge on an AMD64 processor, or do I have to run 
> the AMD64 port?

Both the i386 port and the (unofficial) amd64 port of Sarge will run
fine on amd64 hardware.

If you're running the i386 port on amd64 hardware you can choose
between a (32-bit) i386 kernel and a (64-bit) x86_64 kernel.  

The x86_64 kernel provides compatibility for i386 applications, so
i386 applications will still run fine.  Sarge includes (limited)
support for running x86_64 programs on the i386 port, if you have an
x86_64 kernel.  There are a few rough edges like iptables and v4l,
but nothing serious.

For now, I'd recommend to choose the i386 port, because there is
still software that most desktop users will want to use and that is
not available in as a 64-bit version.  This includes OpenOffice,
codecs for MPlayer and Xine, Macromedia Flash Player, and most
commercial applications.  If have 1 GB RAM or more, or if would like
to develop/test/play with 64-bit applications, I'd recommend to use
a x86_64 kernel with your i386 system.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: iptables & programs

2006-03-14 Thread Dennis Stosberg
Pol Hallen wrote:

> i'd like block the internet connection on these programs ;-)
> 
> which better solution of this problem?

Create an additional user account and run those programs with that
user's rights only.  Then use the iptables "owner" module to
restrict outgoing connections made by that user.

See "-m owner" and "--uid-owner" in the iptables manual page for
details. 

Regards,
Dennis


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



Re: Possible security exploit: debian-unstable

2005-07-12 Thread Dennis Stosberg
Am 12.07.2005 um 15:25 schrieb Jose Barroca:

> 1) since SMARTMONTOOLS smartctl showed a huge value of
> REALLOCATED_SECTOR_Ct, my disk was about to fail;

Make a backup of everything important.  And do it now.  
Then reinstall your system onto a new disk.  If a hard disk starts
to reallocate sectors it is time to replace it. 

The fact that there are corruptions in the file system indicates
that your drive may already have run out of spare sectors.

> 2) my machine had been compromised and the binaries changed. Well, but
> would an hacked version of TOP show "segmentation fault"? If so, why?
> Upon friendly suggestion I went through the logs, and did find some
> peculiar things. I'm not completely certain the machine has been
> compromised, though:

Even though an intruder can make mistakes, too, this is probably the
result of your failed disk.

> - I have two machines connected to the internet through a cable modem router
> - one of the machines had a sshd running, which I used to access it from
> the outside.

A NAT router does _not_ replace a firewall. 

> - over the course of one week, this machine suffered a series of
> password/user attacks (it looks like someone tried to use some program
> to gain access)

This has already been discussed on this list a few times in the last
weeks.  The essence: Do not allow ssh logins for root, use good
passwords, or better disable password logins and use ssh keys only.
If you can, use iptables to make the ssh port accessible only your
own ip addresses.  Maybe look at "port knocking", if you're paranoid.

> - the auth.log recorded the following lines on a day the second machine
> (which had the files with owner 32) stayed on ininterruptly, without my
> supervision (a very poor one, anyway):
> 
> Jul  8 06:25:04 abafado su[24024]: + ??? root:nobody
> Jul  8 06:25:04 abafado su[24024]: (pam_unix) session opened for user
> nobody by (uid=0)
> Jul  8 06:25:04 abafado su[24024]: (pam_unix) session closed for user nobody
> Jul  8 06:25:04 abafado su[24026]: + ??? root:nobody
> Jul  8 06:25:04 abafado su[24026]: (pam_unix) session opened for user
> nobody by (uid=0)
> Jul  8 06:25:04 abafado su[24026]: (pam_unix) session closed for user nobody
> Jul  8 06:25:04 abafado su[24028]: + ??? root:nobody
> Jul  8 06:25:04 abafado su[24028]: (pam_unix) session opened for user
> nobody by (uid=0)
> Jul  8 06:27:18 abafado su[24028]: (pam_unix) session closed for user nobody

These lines are telling you that your local root user has used "su"
to execute a command as "nobody".  Pretty normal. 
 
> I'm still learning the ropes, and sys-forensics is not that easy.. Now,
> would anyone be so kind as to give me some feedback, on whether this is
> a security issue (or an hardware thing), and whether it is worth letting

Hardware thing.


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: RealPlayer 10 for Debian?

2005-07-13 Thread Dennis Stosberg
Am 12.07.2005 um 18:29 schrieb [EMAIL PROTECTED]:
> Dear friends:
> 
> Is there a special Debian package for RealPlayer 10? Since it is a commercial 
> package, I'd imagine that it's not part of Sarge itself.

Christian Marillat has packaged RealPlayer 10 for Debian.  
See http://debian.video.free.fr/.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: fsck on ext3 drives. Do we need to routinely? how to shut off or change 30 boot/180 day settings or why should I not?

2005-07-15 Thread Dennis Stosberg
Am 15.07.2005 um 07:09 schrieb Mitchell Laks:

> I noticed that never happened in the old days  when I ran redhat/fedora. They 
> did away with this routine fsck (sometime around 6.2 -> 7 or 7.2 transition 
> as I recall) when they switched from ext2 to ext3 as I recall.
> 
> This occurs during /etc/rcS.d/S30check-fs entry 
> entry during boot, right after file system mount, I believe.
> 
> Is this neccessary on debian if we have journaled file systems? After all it 
> made sense for ext2 but do we need this for ext3? 

The regular fsck is absolutely independent of journaling.  The
effect of journaling is, that you do not have to scan your
_complete_ file system for corruptions after your system has been
restarted without closing the file systems properly.  The file
system driver itself can "replay" the journal on mount time, which
means it only has to finish or roll back those transactions that
were not cleanly finished.

A journaling file system will not and cannot protect you from any
other corruptions.  This means that a regular fsck is still the
(only) way to detect corruptions caused by software bugs, hardware
errors, etc.

I've made the experience that a regular fsck will usually take place
exactly at a time when I do not _have_ the time to wait for it.  So
I usually disable this feature and do a planned fsck from time to
time.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: OOo install, architecture mismatch?

2005-07-15 Thread Dennis Stosberg
Am 15.07.2005 um 14:54 schrieb Hans du Plooy:

> dpkg: error processing openofficeorg-base-1.9.117-linux-2.6-intel.deb
> (--install):
>  package architecture (intel) does not match system (i386)
> 
> dpkg --force doesn't help.  I'm pretty sure they're the right ones for

Have you tried --force-architecture ?

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Cd writing tool under Linux

2005-07-16 Thread Dennis Stosberg
Am 16.07.2005 um 06:15 schrieb Benjamin Sher:

> Those are not my instructions but those of the author, who very explicitly 
> requires that K3b always run as root.

And what do you think, why the k3b authors wrote "k3bsetup", which
sets up all of cdrecord, cdrdao, growisofs, etc. in a way to be
usable for a normal user?

"k3b" never needs root privileges.  You might think about setting
the SUID bit on cdrecord and cdrdao, although that's not necessary,
too.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Numlock at startup?

2005-07-21 Thread Dennis Stosberg
Am 21.07.2005 um 09:39 schrieb Johan:

> Kindly pleas where and how can I set debian sarge to activate the
> numlock key.

If you want to activate num-lock for your text consoles, have a look
at "setleds":  

setleds +num < /dev/tty1 

Will activate num-lock for the first text console (dev/tty1).  You
can put a little loop like this in your boot scripts to have num-lock
activated on all text consoles at boot time:

for i in `seq 1 6`; do 
/usr/bin/setleds +num < /dev/tty${i}
done


Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: sshd talks to much in the logs

2005-07-21 Thread Dennis Stosberg
Am 21.07.2005 um 02:38 schrieb hakim:

> I have installed a debian sarge. After I have instaled several packages
> I recognized that in my systemlogs sshd gives me debug output:
> [..] 
> All this is only for one ssh connection. I checked the start scripts
> but the debug mode is not enabled so far as I see it. With ps aux I see
> that sshd is not invoked without any parameters.
> Please could anyone tell me how to stop the debug mode?

Have a look at the "LogLevel" setting in /etc/ssh/sshd_config.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: sshd talks to much

2005-07-21 Thread Dennis Stosberg
Am 21.07.2005 um 11:51 schrieb Achim Stumpf:

> I have installed debian sarge. After the installation of a few packages
> I recognized that sshd is in debug mode:
> [...]
> All this is for one session. If I check with ps aux, I see that ssh is
> invoked without any parameters. Could anyone tell me how to turn that
> off?
>  
> Thanks...

What was wrong with the answer I gave 20 minutes ago?

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: recover files after mkdosfs

2005-07-29 Thread Dennis Stosberg
Am 29.07.2005 um 00:08 schrieb Joubin Moshrefzadeh:
> oops... i did what I'm sure everyone warns against...
> 
> I'd backed up all my movies/music on /dev/hdb3 and created /dev/hdb7, and 
> sure enough, I mistakenly pointed mkdosfs at /dev/hdb3 instead of the newly 
> created partition.
> 
> any thoughts or suggestions on how I can find/recover some of the files that 
> were on /dev/hdb3 ???
> 
> I guess its not so much that the drive is reformatted, but i just rewrote 
> the file allocation table... damn! so is there any tool that can go throgh 
> the drive and search out pre-existing files/folders?

What file system has been there before?  If it is ext2/3 you have
chances to recover a good part of your data.  I do not know about
reiserfs/xfs.

Leave the original partition alone.  Do not write to it, if you want
more than one try!  Copy the partition's contents into a file on
another partition blockwise, then run e2fsck on that image file.

You may need to specify an alternative superblock with the -b
option.  When e2fsck thinks, that the filesystem is consistent,
mount the image file with "-t ext2 -o loop".  If you're lucky,
you'll end up with a lot of files and directories in "lost+found".

Good Luck, and think about a good backup strategy soon!
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Kernel 2.6.12 borked my udev rules

2005-07-02 Thread Dennis Stosberg
Am 01.07.2005 um 18:17 schrieb Deviant User:

> This allows me to mount a usb thumb drive as
> /dev/USB_Flash_Disk. Can somebody tell me what's wrong, if
> any, with the rules, and how I could change it to conform
> with the new "rules" for linux 2.6.12?

Udev < 058 has problems with 2.6.12.

I've built a deb of udev-058, based on the original package by
Marco d'Itri.  It works for me on two sarge systems with 2.6.12,
but, hey, no guarantees!

http://stosberg.net/pub/udev-058_sarge/

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: HELP- Grub problem, I can't load WInXP

2005-09-26 Thread Dennis Stosberg
Am 26.09.2005 um 14:17 schrieb Andy:

> Anyway, here is the deal:
> I have a few drives, one with win98 (don't ask!), one with win xp, and one 
> with Debian Sid. I had grub happily booting everything until recently when 
> WinXP experienced some HDD corruption and I had to do a repair. Obviously, 
> this repair overwrote the MBR and I was left with the normal Windows dual 
> boot option of WinXP and Win98.
> 
> I used Knoppix to chroot to my Debian install and run grub-install /dev/hda1 
> in order to put the MBR back. This worked, grub's menu comes up at boot-time 
> and runs Debian fine. It's using the original menu.1st, but the entries for 
> Windows just don't work (I don't care if Win98 doesn't work, it's WinXP that 
> is very important to me). When selecting WinXP from grub's menu, I get:
[..]
> Can anybody please help???

Windows XP is on /dev/hda, which is (hd0,0) in GRUB's notation.  So,
if you install the GRUB boot sector into /dev/hda1, you overwrite
Windows XP's boot sector in that partition.  That means you won't be
able to boot Windows XP at all, because GRUB will simply reload
itself when it tries to chain-load from (hd0,0).

What you probably wanted was to overwrite /dev/hda's MBR, which is
(hd0) in GRUB's notation with the GRUB boot loader.  So the BIOS
would start grub at (hd0), which in turn can chain-load Windows XP
from (hd0,0).  Or other systems/kernels from other devices.

I'd suggest you to let the Windows XP setup restore the boot sector
of /dev/hda1 again.  After that you can reinstall GRUB to (hd0) and
_not_ to (hd0,0).  

I guess you have a current backup... 

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: How can I install Opera?

2005-09-26 Thread Dennis Stosberg
Am 27.09.2005 um 13:29 schrieb rosetta:

> Hi all
> 
>   I have install the deb package that downloaded from opera.com.
>   But when I run opera, there are some errors:
> ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
> ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
> /usr/lib/opera/8.50-20050916.6/opera: error while loading shared libraries:
> libstdc++.so.6: cannot open shared object file: No such file or directory

You are missing the package "libstdc++6".

Regards,
Dennis


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



Re: Cannot access the computer

2005-09-27 Thread Dennis Stosberg
Am 27.09.2005 um 13:04 schrieb Mitja Podreka:

> I have a big problem. I have six new computers running Mandrake. I would like
> to migrate them to Debian, but everything is password protected and the people
> who installed the original OS forgot all the passwords.
> I tried today to boot from a live CD, but found out that BIOS is set to boot
> from hard disc and access to BIOS is password protected.
> What can I do?

So you have two problems: A locked BIOS and a Mandrake installation
of which you do not know the root password.

Regarding the BIOS: Many motherboards have a CMOS reset jumper,
which resets all changes the user made -- including the password.
On other boards it may help to remove the CMOS battery for a certain
time.  Find out the manufacturer and model of your board and read
the documentation.  Most manufacturers make it available on-line.

Regarding the locked Linux system and the Debian installation: It is
_not_ necessary to be able to boot from a cdrom to install Debian
onto the hard disk.  You can simply put that disk into another
system, and do what you want with the disk.  No one hinders you from
installing Debian onto that disk on another computer and put it back
when you're done.  You won't need to have access to the BIOS for
that.

Another option is a networking card with a bootrom.  You can boot a
linux system, or even a Debian PXE installation image via network,
effectively bypassing the BIOS.  An alternative to the Debian net
installer is Knoppix, which makes it easy boot another system via
PXE.  It also allows you to install a complete Debian system with
"debootstrap".

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: Checking `bindshell'... INFECTED (PORTS: 3049)

2005-09-28 Thread Dennis Stosberg
Am 28.09.2005 um 09:45 schrieb [EMAIL PROTECTED]:

> Good time for all.
> 
> I run chkrootkit and it returns :
> ...
> Checking `bindshell'... INFECTED (PORTS:  3049)
> ...
> 
> What I need to do ? Links are welcome.

You will probably want to find out, whether your system is infected
or not.  The chkrootkit tool regularly produces false alarms.

Find out, which process has opened that port. "netstat -tulpe" will
show you all processes which listen on a tcp or udp port.  You need
to run this as root.

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: /lib deleted

2005-10-16 Thread Dennis Stosberg
theal wrote:

> The /lib directory was deleted by accidentally on one of my
> servers. Does anyone know of a way to recover this?

Your best and simplest option is, of course, to restore your latest
backup.  But since you're asking here, I assume that no backup
exists.  

I don't think it a good idea to copy the /lib directory from another
machine as long as the configuration of that machine is not 100
percent identical to yours.  Unless the configurations are
identical, you would certainly miss some needed libraries and on the
other hand have unneeded libraries lying around in /lib, which are
not part of any package and will never be removed. The /lib
directory also includes the kernel module files, which will simply
not work for you if the kernel version and configuration is not
identical.

The Debian package system keeps a list of installed packages and
every single file which every single package installs in
/var/lib/dpkg/info.  If you start your system using a rescue CD, or
any other cd-based linux distribution (Knoppix, Ubuntu live CDs,
etc.) and use that information, you will probably be able to
reinstall exactly those packages, which install files in /lib.

If you grep through the *.list files in the directory, you will see
that only a few packages install files in /lib -- on my desktop
system about 40 packages:

   grep -m1 ^/lib /var/lib/dpkg/info/*.list

When you have the package names you can get the packages from your
local Debian mirror (or /var/cache/apt/) and reinstall them on your
system. See the --root option of dpkg for that. 

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.


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



Re: How can I update udev???

2005-11-29 Thread Dennis Stosberg
Günther Obrist wrote:

> But I need this RUN rule to realise my project...Does any of you
> have an debian packege for me to update it or what can I do to get
> a newer release??

I've built a back-ported udev 070 for Sarge a few weeks ago, which
is running happily here on three machines.  It requires a kernel of
version 2.6.12 or newer, though...

See http://deb.stosberg.net/ .

Regards,
Dennis

-- 
Send personal mail to [EMAIL PROTECTED] only.  Off-list 
mails to [EMAIL PROTECTED] will not reach me.