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: [OT] wie neue MAC im Netz erkennen

2006-10-12 Thread Dennis Stosberg
Orlando Rose wrote:

 wie kann ich feststellen ob jemand einen neuen Rechner am Netzwerk 
 angeschlossen hat?
 
 Es läuft zwar ein DHCP, aber wenn jemand die IP fest einstellt zeigt der ja 
 nichts an.
 
 Wenn sich ein neuer PC auftaucht möchte ich eine Mail und/oder SMS bekommen.
 Dazu müsste ein Server irgendwie die Info bekommen, dass ein Neuer da ist.

Schau Dir mal das Paket arpwatch an.

Gruß,
Dennis



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: 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: 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: 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: 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: 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: 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: Bitte Help: Business Grafiken

2006-02-18 Thread Dennis Stosberg
Andreas Pakulat wrote:

 On 18.02.06 07:38:15, Johann Hautzinger wrote:
  Ich hab da ein paar Daten, die zu ein paar Grafiken werden sollen, im
  Excel-Format. So weit, so gut. Öffnen ist ja mit OOo kein Problem, auch
  Diagramme daraus machen geht damit ohne Schwierigkeiten, aber wie
  schaffe ich es, aus diesen Diagrammen Grafikfiles zu generieren, die ich
  dann in LaTex einbinden kann? Excel kann das angeblich, aber ich möchte
  meine Diplomarbeit an sich Closed Source frei erstellen ... geht das
  auch in diesem Punkt???
 
 Speichere dein Excel/Calc Dokument als HTML, dabei werden alle Grafiken
 als jpeg exportiert.

Das JPEG-Format ist für Grafiken, die viele Linien enthalten absolut
ungeeignet. 

Du kannst vom OOCalc zwar nicht das ganze Diagramm kopieren und in
andere Programme übernehmen, aber du kannst die _Inhalte_ des
Diagrammobjektes einzeln über die OO-Zwischenablage ins OODraw
kopieren.  Üblicherweise sind das ja nur Titel, Legende und das
Diagramm selbst.

Im OODraw kannst du das Ganze dann nett anordnen und als EPS
exportieren. 

Gruß,
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: 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: Kann man mit NFS-root-Filesystem bridging verwendet werden? (diskless-client mit brctl?)

2006-01-28 Thread Dennis Stosberg
Gerhardt Englert wrote:

 ich versuche gerade auf meinem diskless-client (Debian sarge,
 Kabelnetzwerkkarte und Wlan-Karte) bridging einzurichten. Beim
 diskless-client ist wird als Root-Filesystem (/) ein per NFS-gemountetes
 Verzeichnis auf dem Server verwendet.
 
 Problem:
 
 Sobald ich das (für den NFS-mount verwendete) Kabelnetzwerk-Device (eth0) in
 die Bridge einbinde (ifconfig eth0 0.0.0.0; brctl addif br0 eth0) erhalte
 ich nur noch Fehlermeldungen, da das Root-Filesystem natürlich nicht mehr
 zugreifbar ist.

Du könntest dir eine Initrd bauen, die zuerst die Bridge aktiviert,
dann das Netzwerk konfiguriert, das Root-Dateisystem einhängt, und
anschließend nach einem pivot_root das echte System vom nfsroot
startet.  Das ist nicht so schwer, wie es sich anhört, eigentlich
brauchst du nur ein Shellskript plus Bash, Portmap, ifconfig, brctl,
iwconfig, und die benötigten Bibliotheken.  Wie startest du den
Kernel?  Mit Pxelinux kannst du eine Initrd verwenden.

Andere Möglichkeit: Warum hängst du den WLAN-Adapter nicht an den
NFS-Server?  Hätte es irgendwelche Nachteile, wenn die Bridge dort
arbeiten würde?

Gruß,
Dennis



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: Auf KDE3.5 updaten?!

2006-01-09 Thread Dennis Stosberg
Sven Hartge wrote:

 KDE3.5 ist gerade einmal _halb_ von experimental nach unstable gekommen.
 Bis es da einen brauchbaren Backport, vor allem wg. der ganzen
 Abhängigkeiten zu nontrivialen Paketen gibt, wird es schon einen Moment
 dauern.

Ich habe die KDE 3.5.0-Pakete von Alioth fuer Sarge neu gebaut.  Sie
laufen hier auf mehreren Rechnern ohne Probleme:

  http://deb.stosberg.net

Aber bitte denkt daran, dass diese Pakete Backports von _experimentellen_
Paketen sind.

Gruss,
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: 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: maildir Verz. in Cyrus importieren

2005-12-27 Thread Dennis Stosberg
Bernd Meister wrote:

 bin von Courier auf Cyrus IMAP umgestiegen. Mit Courier hab ich
 die Mails in einem Verz. im Maildir Format gespeichert. Der
 Courier läuft nicht mehr, aber ich hätte gern noch die alten Mails
 mit übernommen.  Gibt es da ein Programm mit dem das funktioniert?

Mutt kann Mails direkt aus einem Maildir lesen (schau in der Manual
page nach -f) und auch auf einen IMAP-Server kopieren.

Noch eine Möglichkeit: Eine for-Schleife über alle Dateien im
Maildir, und dann jede einzelne Datei (== Mail) per Pipe nach
cyrdeliver liefern.

Etwa so (ungetestet):

for M in `find -type f`; do
cat $M | cyrdeliver -q -m ordner user
done

Gruß,
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: maildir Verz. in Cyrus importieren

2005-12-27 Thread Dennis Stosberg
Holm Kapschitzki wrote:

 also die Möglichkeiten, die ich auch in Erwägung ziehe sind imapsync/mutt. 
 Aber eine Fragehätte ich, wie sieht daß denn aus mit den Indexen für 
 gelesene oder agheolte Nachrichten ?

Was genau meinst du mit Index?

 [..]  Wenn ich jetzt zum Beispiel Thunderbird benutze um die Mails
 wieder abzuholen, kann ich nur die neu zugeschickten wieder
 herunterladen. Wie kann der User in so einem Fall wieder auf alle
 Mails zugreifen ?

Der Witz von IMAP ist doch gerade, dass Mails nicht „abgeholt“
werden.  Der IMAP-Client zeigt lediglich Mails an, die auf dem
Server liegen.  Ob diese Mails ein Ungelesen-Flag besitzen oder
nicht, ist dafür egal.

Gruß,
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: maildir Verz. in Cyrus importieren

2005-12-27 Thread Dennis Stosberg
Holm Kapschitzki wrote:

 Was genau meinst du mit Index?
  
 Die Dateien unter /var/spool/cyrus/mail ... heissen:
 
 cyrus.cache
 cyrus.index
 cyrus.headetr

Um die brauchst du dich nicht zu kümmern.  Das macht Cyrus von
selbst. 
 
 Ja Thunderbird zeigt bei mir eben nicht mehr an, daß da die Mails
 auf dem Server liegen. Das ist mein Problem. Die Mails werden
 schon abgeholt, bloß daß man zum Beispiel einstellen kann, daß nur
 die Kopfzeilen  usw.  übertragen werden. Letztendlich wird
 aber nur ne Kopie gemacht, nach meinem Verständnis. Die Mails
 bleiben als solches natürlich auf dem Server liegen.

 Ich gehe halt so vor, daß ich die Mails einfach nur sichere und
 wieder in die Ordner reinkopiere.

Wenn du von Hand Mails in den Mail-Spool von Cyrus kopierst, schreit
das nach Problemen.  Dafür nimmt man einen IMAP-Client oder cyrdeliver! 
 
 Eigentlich müssten ja dann die Email Clients meinet wegen alle
 Mails anzeigen, die auf dem Server ligen. Das tuts aber nicht. Wie
 macht Ihr sowas denn ?

Sie tun es im Normalfall immer.  Auf deinem System muss irgendetwas
schiefgegangen sein.  

Gruß,
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: 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: 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.



Re: Debian-CD's fü r alpha und mipsel

2005-10-16 Thread Dennis Stosberg
Michelle Konzack wrote:

 wei jemand einen Mirror, wo ich die Woody-CD's 
 
 debian-30r6-alpha-binary-3.iso
 und
 debian-30r6-mipsel-binary-5.iso
 
 bekomme?  Auf cdimage.debian.org fehlen sie...

Auf cdimage.debian.org gibt jigdo-Vorlagen für diese CDs.  Hast
schon probiert, ob die funktionieren?

Vielleicht solltest du mal auf der debian-cd-Mailingliste
nachfragen. 

Gruß,
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: /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: 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: How can I install Opera?

2005-09-27 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: 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: ls -l Segmentation Fault

2005-08-20 Thread Dennis Stosberg
Am 20.08.2005 um 17:28 schrieb Lasse Poeppler:

 # /usr/bin/dpkg -f
 bash: /usr/bin/dpkg: Input/output error
 
 solangsam aber sicher bekomm ich graue Haare.

Riecht stark nach einem Hardwareproblem der Festplatte.  Du hast
aktuelle Backups, oder?

Lies mit den smartmontools den SMART-Status deiner Festplatte(n)
aus.  Vermeide es, in irgendeiner Form auf deine Platte zu schreiben.

Gruß,
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: SATA - RAID

2005-08-19 Thread Dennis Stosberg
Am 19.08.2005 um 14:55 schrieb Sebastian Kayser:

 swap zu spiegeln ist völlig legitim. Lediglich von der Praxis auf beiden
 Platten einen swap-Bereich gleicher Prio zu haben (also ohne Spiegel für
 die swap Partition), was angeblich ebenso ausfallsicher sein soll, bin
 ich nicht recht überzeugt.

Wenn du mehrere Swapfiles mit gleicher Priorität anlegst, verteilt
der Kernel die Speicherseiten nach dem Round-Robin-Prinzip, d.h.
immer in der Runde.  Und wenn dann eine dieser Swap-Partitionen weg
ist, sind ausgelagerte Seiten von laufenden Prozessen weg - Boom.
 
 Im Regelfall sollte Dein Software-RAID einen Plattenausfall einwandfrei
 abfedern. Andere Frage: Ist Dein SATA-Chipsatz überhaupt hotplug-fähig,
 so dass Du einfach eine Platte ziehen kannst (SATA heisst ja nicht per
 se hotplug-fähig)?!

Die meisten SATA-Controller sind hotplug-fähig, aber die libata im
Kernel unterstützt noch kein SATA-Hotplug.  Daher würde ich nicht
darauf wetten, dass der Kernel mit einer fehlenden SATA-Platte
umgehen kann. 

Um einen Neustart im Schadensfall kommst du also nicht herum. Um die
Ausfallzeit kurz zu halten, kannst du ja auf beiden Platten je eine
komplette /boot-Partition einrichten und Grub entsprechend auf
beiden Platten in den MBR schreiben.  Dann brauchst du im Schadens-
fall nur im BIOS das Startlaufwerk umstellen und bist wieder dabei.

Gruß,
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: KDE3.4.x Backport fü r Sarge gesucht

2005-08-04 Thread Dennis Stosberg
Am 04.08.2005 um 09:05 schrieb Dirk Schleicher:

 gibt es und kennt jemand ein Backport von KDE3.4.x das auf Sarge läuft?
 Ich möchte meinen Rechner um Urlaub neu machen und wenn möglich ein
 neueres KDE als 3.3.1 drauf machen.
 Nein, ich benötige es nicht unbedingt, doch wenn ich mir die Arbeit
 schon mache, dann wenn möglich mit 3.4.x
 
 Andere Frage: Gibt es einen Weg, für jemanden der nicht
 programmieren kann und sich mit Debian ein wenig auskennt, 
 anderen Quellen zu nehmen und sich .deb daraus zu bauen?

Du kannst dir deine eigenen Debian-Pakete bauen, aber es ist für ein
so komplexes Stück Software wie KDE nicht unbedingt trivial alle
Abhängigkeiten sauber zu erfüllen.  Auf Alioth [1] gibt es Pakete
der Debian-KDE-Entwickler von KDE 3.4, die sehr stabil auf Sarge
laufen und sich genau so ins System integrieren, wie die originalen
KDE-Pakete.

Wenn dir die Pakete von Alioth nicht gefallen, gibt es immernoch
Konstruct [2]:

Konstruct is a build system which helps you to install KDE
releases and applications on your system. It downloads defined
source tarballs, checks their integrity, decompresses, patches,
configures, builds and installs them. A complete KDE
installation should be as easy as cd meta/kde;make install.

Mit Konstruct kannst du unglaublich einfach ein jeweils aktuelles
KDE herunterladen, kompilieren und installieren, ohne dass es
irgendwelche Konflikte mit deinem bestehenden System gibt.  Du
kannst das alte KDE 3.3 installiert lassen und das KDE 3.4 in
/opt/kde34 oder ~/kde34 installieren.

Gruß,
Dennis

[1] http://pkg-kde.alioth.debian.org/kde-3.4.1/
[2] http://developer.kde.org/build/konstruct/

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



Re: TV unter Linux

2005-07-30 Thread Dennis Stosberg
Am 30.07.2005 um 16:32 schrieb Klaus Becker:

  mein System Debian Sarge meine TV-Karte Haupauge PVR PCI 2, die würde ich
  gerne unter Linux zum laufen bringen, kann mir Anfänger jemand sagen, wie
  ich das machen kann.
  Was ich bisher gemacht habe, ich habe mir aus unstable das Programm
  kwintv heruntergeladen.
  Hoffentlich muß ich dafür keinen neuen Kernel kompilieren, dann muß ich
  leider aufgeben, denn das ist mir dann doch zu gefährlich.
 
 das ist nicht gefährlich, denn du kannst den alten Kernel behalten und beim 
 Hochfahren den Kernel wählen

Mach' ihm doch keine Angst! 

Die normale WinTV PVR wird vom bttv-Treiber unterstützt, und der ist
in den Sarge-Kerneln enthalten.  Solange die WinTV PVR _2_ auch
einen BT8x8-Chip benutzt, sollte es keine Probleme geben.

Ist das Kernel-Modul bttv geladen (lsmod)?  Wenn nein, dann lade
es (modprobe), und schau mit dmesg nach, ob der Treiber die Karte
initialisieren kann.

Außerdem solltest du noch sicherstellen, dass dein Benutzer Lese- und
Schreibrechte auf /dev/video0 und /dev/vbi0 hat; dafür gibt es die
Benutzergruppe video.

Gruß,
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: Dual boot mit NT?

2005-07-29 Thread Dennis Stosberg
Am 28.07.2005 um 23:20 schrieb Ace Dahlmann:
 On Thu, 28 Jul 2005 23:03:53 +0200
 Bertram Scharpf [EMAIL PROTECTED] wrote:
 
  Bevor mir die Peinlichkeit passiert und ich den Techniker
  wegen eines abgeschossenen NT kommen lassen muß, möchte ich
  lieber vorher fragen: Kann da etwas Schlimmes passieren? Ist
  man auf der sicheren Seite, wenn man Debian nur von der
  Diskette bootet?
 
 Nein, Du kannst problemlos den Bootloader in den MBR einer Diskette
 installieren.
 
 Du solltest aber auch keine Probleme haben, Grub in den MBR der Platte
 zu installieren. Ich nehme an, Windows NT liegt auf hda1 und GNU/Linux
 soll dahinter?

Es gibt einen Grub-Port für Windows, grub4dos.  Dieser besitzt den
GTLDR, eine Grub-Konsole, die sich bequem aus dem NT/2K/XP/-
Bootmanager starten lässt, und die den Linux-Kernel von einer
NTFS-Partition lesen kann.  Damit kannst du deinen MBR unangetastet
lassen und brauchst deine NT-Installation nicht riskieren.  Außerdem
brauchst du keine /boot-Partition -- ein Verzeichnis auf der Boot-
partition von NT reicht.

Erstelle dir trotzdem einen Satz aktuelle NT-Rettungsdisketten und
hab' die NT-CD griffbereit.  So kannst du im Zweifelsfall die Boot-
konfiguration immer wieder herstellen.

Gruß,
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: LVM PV auf loop-AES oder loop-AES auf LVs?

2005-07-29 Thread Dennis Stosberg
Am 28.07.2005 um 18:47 schrieb Roland Sommer:

 wie in
 http://groups.google.de/group/linux.debian.user.german/msg/a2f53aa9c43e2361
 beschrieben, würde ich eine große Partition mittels loop-AES
 verschlüsseln und diese in LVM als PV angeben, so dass alle darin
 enthaltenen LVs incl. LVM-spezifische Daten komplett verschlüsselt sind.
 
 Hat das jemand so im Betrieb? Gibt's damit Probleme oder sind welche zu
 erwarten? Oder sollte ich davon komplett Abstand nehmen (Performance
 oder andere Nachteile?) Oder ist es besser, die einzelnen LVs jeweils
 separat zu encrypten?

 BTW: im obigen Posting schrieb Rainer, man soll nicht eine große
 Partition als PV anlegen, sondern 1x 2 GB, 1x 20 GB und den Rest der
 Platte jeweils als PV anlegen und dann in einer VG zusammen fassen.
 Macht das Sinn?

IMHO macht das keinen Sinn.  Der entscheidende Vorteil, die PVs
anstatt der LVs zu verschlüsseln ist deren üblicherweise geringere
Anzahl.  Wenn du jetzt wieder anfängst, die PVs zu stückeln,
verlierst du den Vorteil.  Ich würde empfehlen, die LVs zu
verschlüsseln:

  - Jede Partition hat einen eigenen Schlüssel, den du bei Bedarf
einfacher austauschen kannst.

  - Du kannst auch unverschlüsselte Volumes anlegen, so z.B. für
unkritische Daten, bei denen du mehr Performance brauchst.

  - Du kannst verschlüsselte Swap-Volumes ohne statischen Schlüssel
in LVM-Volumes verwenden. 

  - Du könntest zum Testen eine andere Linux-Distribution in die
gleiche VG installieren.

Auf dem Laptop habe ich seit etwa zwei Jahren alle Dateisysteme auf
Loop-AES auf LVM-Volumes liegen.  Funktioniert ohne Probleme.  Bei
Bedarf kann ich dir eine angepasste Version des build-initrd-Skripts
von Loop-AES schicken, damit du auch von einer verschlüsselten
Partition auf einem LVM-Volume booten kannst.

Gruß,
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: mount option owner

2005-07-29 Thread Dennis Stosberg
Am 29.07.2005 um 15:42 schrieb Michael Dauer:

 Hallo,
 ich habe für eine USB-Disk folgendes in fstab eingetragen:
 LABEL=BackupDisk  /mnt/BackupDisk ext2defaults,noauto,owner
 0 0
 Den Owner für sda1 und für /mnt/BackupDisk habe ich auf user1 gesetzt.
 
 Aber wenn user1 versucht zu mounten kommt die Meldung:
 mount: only root can do that
 Was mache ich da falsch?

Gehört die Gerätedatei, die benutzt werden soll, dem Benutzer?
Nur dann geht's mit owner.  Wieso benutzt du nicht user?

Gruß,
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: Profilemanager von Fir eFox unterdrücken

2005-07-29 Thread Dennis Stosberg
Am 29.07.2005 um 16:29 schrieb Marcel Gschwandl:

 kann mir jemand einen Tipp geben wie ich es schaffe, dass FireFox mich
 nie zum Erstellen eines neuen Profils auffordert?
 
 Das Problem besteht dann, wenn zwei Instanzen von FireFox in einem zu
 kurzen Abstand gestartet werden (z.B. Doppelklick auf ein Icon, das mit
 Einfachklick aktiviert wird :-) ). Dann kommt zwar ein Fenster hoch,
 aber anstatt einfach ein zweites Fenster zu öffenen kommt der
 Profilemanager.

Welche Version bzw. was für ein Paket von Firefox benutzt du?  Die
1.0.4-2 aus Sarge verhält sich exakt so, wie du es dir wünscht.

Gruß,
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: Treiber fü r Geforce6600GT

2005-07-29 Thread Dennis Stosberg
Am 29.07.2005 um 16:30 schrieb Thomas Eichert:

 Allerdings war der Xserver-xfree86 nicht zu bewegen seinen Dienst zu
 verrichten (no screen found), bis ich durch probieren 
 (mit xf86cfg -Textmode) einfach mal den Treiber von nv auf vesa geändert
 habe.
 
 Meine alten Grafikkarten (auch Geforce) liefen immer problemlos mit nv.
 
 Gut, jetzt mit vesa sieht die Schrift seltsamer weise etwas kleiner aus,
 aber die könnte ich ja in KDE wieder etwas vergrößern.
 
 Kann man das so lassen, oder gibt es da Probleme mit dem Treiber?
 
 Brauche Linux nur zum arbeiten, nicht zum spielen (keine 3D-Unterstützung).

Nunja, echte Probleme gibt es mit dem vesa-Treiber nicht, aber
alles, was über ein bisschen Fensterln hinausgeht, wird nicht
besonders Spaß machen.  Keine Videos, kein OpenGL. 

Das ist ungefähr so, als ob du dir einen Ferrari kaufst und fragst,
ob er Schaden nimmt, wenn du immer nur in der 30er-Zone fährst ;-)

Es gibt von NVidia einen guten Closed-source-Treiber, der mit fast
allen NVidia-Karten funktioniert.  Bei Debian ist er im Paket
nvidia-kernel-source zu finden.  Wie aktuell dieses Paket ist, weiß
ich allerdings nicht.

Wenn du die Fähigkeiten der Karte sowieso nicht brauchst, wärst du
mit einer älteren, dafür aber gut unterstützten Karte besser dran.

Gruß,
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: Profilemanager von Fir eFox unterdrücken

2005-07-29 Thread Dennis Stosberg
Am 29.07.2005 um 16:50 schrieb Michelino Caroselli:

 Sicher?

Absolut sicher.  Ich habe es gerade noch einmal ausprobiert und mir
das Shellskript /usr/bin/firefox angeschaut.  Es schaut erst nach,
ob eine Firefox-Instanz läuft.  Anschließend weist es entweder die
laufende Instanz an, ein neues Fenster zu öffnen, oder startet
Firefox. 

Mein Firefox ist 1.0.4-2 aus Debian Sarge.

Gruß,
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: Profilemanager von Fir eFox unterdrücken

2005-07-29 Thread Dennis Stosberg
Am 29.07.2005 um 17:13 schrieb Marcel Gschwandl:

 Also wie schon im anderen Mail geschrieben verhält sich 1.0.4-2 und
 1.0.6-1 bei mir immer noch so...

Was passiert bei dir, wenn du folgende Befehle in xterm ausführst?
 
/usr/lib/mozilla-firefox/firefox-bin -remote 'ping()'; echo $?
/usr/lib/mozilla-firefox/firefox-bin -remote 'xfeDoCommand(openBrowser)'; 
echo $? 

Bist du sicher, dass du Firefox durch /usr/bin/firefox startest?
Wenn ich versuche ihn mit /usr/lib/mozilla-firefox/firefox-bin zu
starten, bekomme ich auch das Profilauswahlfenster.

Gruß,
Dennis



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: 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: 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: 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: Lüftersteuerun g + Temperaturen auslesen

2005-07-13 Thread Dennis Stosberg
Am 13.07.2005 um 11:44 schrieb David Burau:

 Hi,
 
 kann mir jemand ein Tool nennen, das es ermlöglicht die Lüfter unter 
 Debian zu steuern und die Drehzahlen auszulesen?

Installiere das Paket lm-sensors und führe als Root sensors-detect
aus.  Wenn die Chips auf deinem Board unterstützt werden, stehen
Drehzahlen, Temperaturen, Temperaturgrenzen und Geschwindigkeits-
einstellungen im sysfs bereit, bei mir z.B. in 

/sys/bus/i2c/devices/1-0290/

Es gibt einige Anwendungen, die diese Werte auslesen, z.B. gkrellm,
ksysguard. 

Außerdem gibt im Paket lm-sensors einen Daemon namens fancontrol, der
die Lüfterdrehzahl entsprechend der Temperaturen regeln kann.  


Gruß,
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: 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: 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: 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: SCSI-Platten und kapaz ität

2005-06-29 Thread Dennis Stosberg
Am 28.06.2005 um 13:43 schrieb Michelle Konzack:
 Malzeit Leute,
 
 unter /proc/ide/hdX/capacity kann man ja herausfinden, wie groß
 eine IDE Platte ist, aber WO finde ich entsprechendes für SCSI ?
 
 Die 90 Festplatten sind zwar da, aber ich kann die Gesamtkapazität
 nirgends aus dem procfs auslesen.

#!/bin/bash
DEVICE=$1
echo `expr $(blockdev --getsize $DEVICE) \* $(blockdev --getss $DEVICE)`

blockdev bekommt seine Daten direkt über ioctls und ist daher
unabhängig von /proc und /sys.  Es funktioniert mindestens seit den
2.2er Kerneln.

Gruß,
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: suspend to ram bei pc' s möglich?

2005-06-24 Thread Dennis Stosberg
Am 23.06.2005 um 12:59 schrieb Halim Sahin:

 Ich überlege mir einen VDR pc ins Wohnzimmer zu stellen.
 Die boot-Zeiten spielen hierbei eine nicht unwichtige Rolle.
 Jetzt habe ich mir überlegt, ob man nicht suspend to ram einsetzen 
 könnte?
 Hat Jemand Erfahrungen ob das läuft?

Ich habe in meinem Umfeld noch keinen Rechner gefunden, der aus
Suspend-To-Ram über ACPI sauber wieder aufwacht. 

Ich benutze auf dem Laptop seit langer Zeit Suspend-To-Disk mit
Software Suspend 2 [1] und bin damit recht zufrieden.  Ich habe
gerade mal nachgemessen: Der Rechner braucht 28 Sekunden vom Druck
auf den Einschaltknopf bis zum voll funktionsfähigen KDE-Desktop.
Das Einfrieren dauert 18 Sekunden.

Gruß,
Dennis

[1] http://www.suspend2.net/

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



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: 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: 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: 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: 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: /dev/psaux nicht vorhanden

2005-05-17 Thread Dennis Stosberg
Am 17.05.2005 um 18:47 schrieb Christian Weber:

 udev ist installiert, aber weder /dev/input/mice noch
 /dev/psaux sind vorhanden
[...]
 ok. und wie leg ich es per MAKEDEV an?

Die werden von udev automatisch angelegt.

 Habe ich versucht:
 # modprobe psaux
 FATAL: Module psaux not found.

Bei einem 2.6er Kernel heißt das Modul psmouse.


Gruß,
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: 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: 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: Limiting ssh scans

2005-05-11 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: 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: 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: 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: 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: 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: 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: OT: Datenkonvertierung

2004-01-31 Thread Dennis Stosberg
Am 30.01.2004 um 13:18 schrieb Ruediger Noack:

 Bsp.: Das N' (Hexwert 0x4e) ist als 4E gespeichert.
 
 Nun suche ich eine Möglichkeit, wie ich diese Dateien (Tausende)
 konvertiert bekomme. Ich habe mir schon mit printf, awk, etc. die Finger
 gebrochen, aber bin noch zu keinem brauchbaren Ansatz gekommen.

Der Vollständigkeit halber auch noch einmal in Perl:

--- hex.pl ---

#!/usr/bin/perl

while(STDIN) {
s/([a-fA-F0-9][a-fA-F0-9])/pack('C', hex($1))/eg;
print;
}

--- 

$ echo 52fc6469676572204e6f61636b | ./hex.pl


Gruß,
Dennis

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


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: wie entsteht der Kernel bei Erstinstallation?

2003-12-13 Thread Dennis Stosberg
Am 13.12.2003 um 11:30 schrieb Andreas Janssen:

  ,
  | processor   : 0
  | vendor_id   : GenuineIntel
  | cpu family  : 6
  | model   : 5
  | model name  : Pentium II (Deschutes)
  | stepping: 1
  | cpu MHz : 350.803
  | cache size  : 512 KB
  `
 
 Ich glaube, Du brauchst den 586er Kernel.

Optimal wäre der 686 Kernel. 586 ist für Pentium, Pentium MMX, etc.
686 ist für alle Intel-Prozessoren ab Pentium Pro geeignet.

phoenix:~# apt-cache show kernel-image-2.4.18-686 | grep PII
Description: Linux kernel image 2.4.18 on PPro/Celeron/PII/PIII/PIV.

In der Praxis wird ein Unterschied in der Geschwindigkeit aber nur
messbar und nicht fühlbar sein. 

MfG,
Dennis


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: e2fsck auf verschlsselte Partition anwenden

2003-11-21 Thread Dennis Stosberg
Am 21.11.2003 um 12:03 schrieb Heiko Schlittermann:

 Kannst Du die Partition nicht Read-Only mounten.  Dann sollte fsck
 nichts zu Maulen haben.

Um eines klar zu stellen: Zum fscken brauchst du ein Dateisystem
NICHT zu mounten.  Es ist sogar am einfachsten und sichersten, wenn
das zu überprüfende Dateisystem überhaupt nicht gemountet ist.

Den Fsck müsstest du dann auf dem Loop-Device ausgeführen.

MfG,
Dennis


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


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: kernel-patch-2.4-speedtouch

2003-11-17 Thread Dennis Stosberg
Am 17.11.2003 um 17:35 schrieb Michelle Konzack:

 weis jemand wo ich ein neueres Kernel-Patch als das oben 
 genannte bekomme ? Das ist für 2.4.10 und 2.4.13. 
 
 Ich benötige eins für 2.4.19 oder höher...

Seit 2.4.22 ist der SpeedTouch-Treiber im Kernel:

http://www.linux-usb.org/SpeedTouch/

MfG,
Dennis
-- 
PMs bitte an [EMAIL PROTECTED] Alles, was an [EMAIL PROTECTED] geht
und nicht über die Liste kommt, veschwindet ungesehen im Müll.


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



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: 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 stdio.h
#include german.h

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: SAMBA geht mit DNS-Anfragen auf den nerv

2003-10-08 Thread Dennis Stosberg
Am Mi, den 08.10.2003 schrieb Michelle Konzack um 01:36:

 Wenn ich sambs stoppe, ist wieder alles ruhig. Nach erneutem Starten 
 gehen alle 90 Sekunden DNS-Anfragen raus. 

Dieses Verhalten hat mich mal eine Menge Geld gekostet, weil mein
Dial-On-Demand-Router durch diese Anfragen einige Tage lang ständig
eingewählt war...

Uns hat es damals geholfen in den lmhosts aller Rechner (also z.B.
/etc/lmhosts bei Debian) alle Rechnernamen vollständig einzutragen.
So muss der nmbd keine DNS-Anfragen stellen, um Namen aufzulösen. 

Erst später habe ich die Option name resolve order in der smb.conf
gefunden. Hier sollte lmhosts als erste Option aufgeführt sein, damit
Samba die lmhosts VOR allen anderen Möglichkeiten probiert.  Die Option
host, die einen Auflösungsversuch via DNS bewirken kann, kannst du
dann beruhigt entfernen. 

Näheres findest du in den Manualpages zu smb.conf und lmhosts.

MfG,
Dennis


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



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: Alt-Tab und KDE-Konsole

2003-04-03 Thread Dennis Stosberg
Am 03.04.2003 um 12:12 schrieb Hans Gerber:

 Im mc gibt es die Möglichkeit über alttab die auto-completion
 Funktion der bash zu nutzen. Das finde ich ein klasse feature :
 
 Nur leider geht das nicht, wenn ich in einer KDE-Konsole arbeite, da KDE
 diesen Shortcut scheinbar abfängt.

ESC-Tab sollte ebenfalls funktionieren.

MfG,
Dennis 


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: Partitionstabelle wiederherstellen

2003-03-03 Thread Dennis Stosberg
Am 03.03.2003 um 20:37 schrieb Andreas Pakulat:
 
 ich habe hier ein kleines Problem. Wollte von einer Platte auf ne
 neue Umziehen und habe dabei die Partitionstabelle der neuen
 Platte verloren.
[..]
 Was ich aber weiß ist, dass es ein Prog gibt das die Partitionen
 rät, nur nicht wie es heißt und ob das bei Knoppix dabei ist.

http://www.stud.uni-hannover.de/user/76201/gpart/ 
Müsste auch auf der Knoppix-CD sein. 

MfG,
Dennis


--
Haeufig gestellte Fragen und Antworten (FAQ):
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



  1   2   >