Re: Who changes /bin/ping on my system ?
On Tuesday 04 March 2014 09:16:15 Tim Ruehsen wrote: Does anybody know who or what changes my ping utility ? Is this a known bug (I couldn't find anything) ? I just found the package 'prelink' which explain the changes of my ping (and all other) binaries. I installed that ~10 years ago and forgot about it :-(. I am not sure if there is any benefit today with much faster CPU/Memory and SSD. I will disable it for a while to see if the pcap problem pops up again (last night prelink successfully set the pcaps for /bin/ping(6)). There might be some other software involved, still have to check that. Thanks to all for your kind help ! Tim -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1776918.i4j8SCGdgO@blitz-lx
[SOLVED] Who changes /bin/ping on my system ?
I just found this: https://lists.debian.org/debian-qa-packages/2014/02/msg00132.html So I mark this issue as solved (I leave a copy of my initla mail down below for reference). Thanks again for all your help ! Tim On Tuesday 04 March 2014 09:16:15 Tim Ruehsen wrote: Hi, every now and than ping loses it's capabilities to be executed by a normal user. Like here: $ ping example.com ping: icmp open socket: Operation not permitted I didn't care so far and just reinstalled iputils-ping and everything worked again. I did this three or four times since ~ November 2013. Today I had the problem again and took time to look at it a bit closer. Right before, I made a apt-get update / apt-get dist-upgrade (but iputils-ping wasn't included here). # ls -la /bin/ping -rwxr-xr-x 1 root root 46672 01-02-14 22:18:43 /bin/ping Now I reinstalled iputils-ping: # apt-get --reinstall install iputils-ping Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/56.3 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 443041 files and directories currently installed.) Preparing to unpack .../iputils-ping_3%3a20121221-5_amd64.deb ... Unpacking iputils-ping (3:20121221-5) over (3:20121221-5) ... Processing triggers for man-db (2.6.6-1) ... Setting up iputils-ping (3:20121221-5) ... Setcap worked! Ping(6) is not suid! # ls -la /bin/ping -rwxr-xr-x 1 root root 44080 01-02-14 22:18:43 /bin/ping For me it looks like ping utility is changed from time to time without setting the correct pcaps (rootkit bug ?). Does anybody know who or what changes my ping utility ? Is this a known bug (I couldn't find anything) ? Is there a good rootkit / malware scanner (I am already using chkrootkit with no success) ? My system is a Debian Sid / unstable Thanks for any help or suggestions. Tim -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/2264990.5cRkHUxXcv@blitz-lx
Re: Who changes /bin/ping on my system ?
On Tuesday 04 March 2014 12:33:16 Brian wrote: On Tue 04 Mar 2014 at 09:16:15 +0100, Tim Ruehsen wrote: # ls -la /bin/ping -rwxr-xr-x 1 root root 46672 01-02-14 22:18:43 /bin/ping The file size indicates this is /bin/ping6 (amd64 platform) Now I reinstalled iputils-ping: # ls -la /bin/ping -rwxr-xr-x 1 root root 44080 01-02-14 22:18:43 /bin/ping The file size indicates this is /bin/ping (amd64 platform) For me it looks like ping utility is changed from time to time without setting the correct pcaps (rootkit bug ?). I'm unsure what to think but it seems you are involved and not a bug/rootkit. I was really busy the last three days, so please apologize my late answer. And many thanks to everybody involved (I just read your posts). Here is an update: Last evening I let my machine running - this morning the ping tools look like: # ls -la /bin/ping* -rwxr-xr-x 1 root root 46672 Feb 1 22:18 /bin/ping -rwxr-xr-x 1 root root 50264 Feb 1 22:18 /bin/ping6 # ls -lac /bin/ping* -rwxr-xr-x 1 root root 46672 Mar 6 06:50 /bin/ping -rwxr-xr-x 1 root root 50264 Mar 6 06:51 /bin/ping6 The missing caps have been set ... # getcap `which ping` /bin/ping = cap_net_raw+ep # getcap `which ping6` /bin/ping6 = cap_net_raw+ep So, the file sizes changed again (I didn't record the size of ping6 utility in my initial post, and I do not remember it). And the ctime has been changed - I will look for a nightly cronjob. Chris ans Scott suggested that some special software (proxy, sniffer) might be involved. I will check that, too. I come back as soon as I find the reason. Regards, Tim -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/3814520.vkNvbtcoDY@blitz-lx
Who changes /bin/ping on my system ?
Hi, every now and than ping loses it's capabilities to be executed by a normal user. Like here: $ ping example.com ping: icmp open socket: Operation not permitted I didn't care so far and just reinstalled iputils-ping and everything worked again. I did this three or four times since ~ November 2013. Today I had the problem again and took time to look at it a bit closer. Right before, I made a apt-get update / apt-get dist-upgrade (but iputils-ping wasn't included here). # ls -la /bin/ping -rwxr-xr-x 1 root root 46672 01-02-14 22:18:43 /bin/ping Now I reinstalled iputils-ping: # apt-get --reinstall install iputils-ping Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/56.3 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 443041 files and directories currently installed.) Preparing to unpack .../iputils-ping_3%3a20121221-5_amd64.deb ... Unpacking iputils-ping (3:20121221-5) over (3:20121221-5) ... Processing triggers for man-db (2.6.6-1) ... Setting up iputils-ping (3:20121221-5) ... Setcap worked! Ping(6) is not suid! # ls -la /bin/ping -rwxr-xr-x 1 root root 44080 01-02-14 22:18:43 /bin/ping For me it looks like ping utility is changed from time to time without setting the correct pcaps (rootkit bug ?). Does anybody know who or what changes my ping utility ? Is this a known bug (I couldn't find anything) ? Is there a good rootkit / malware scanner (I am already using chkrootkit with no success) ? My system is a Debian Sid / unstable Thanks for any help or suggestions. Tim -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/2984066.dquGzppmP6@blitz-lx
Re: gwenview
I use digikam at home and had similar problems with one of the childs cameras. I hardly remember but I think I needed mtp-tools to be installed installed. But newer digikam/gphoto2 should support PTP directly. If this doesn't help, try a search machine. If that still does not help, I could ask my kids (when I see them :-). Mit freundlichem Gruß Tim Rühsen On Wednesday 04 September 2013 14:59:46 François Patte wrote: Le 04/09/2013 14:14, Paul Cartwright a écrit : On 09/04/2013 06:24 AM, François Patte wrote: It seems to be unable to deal with ptp protocol... So I can't import photos from a camera.. Sigh! can you not go to the file manager and copy the photos from your camera? In File manager I see my Samsung Galaxy S3, go to the folder- Card-DCIM-Camera and there are all my photos.. Not thunar file manager... Is you camera seen as a mass storage device? Nikon coolpix has only ptp protocol on usb port... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2778239.IDj4Gm7AJy@blitz-lx
Re: jmeter 2.3.4-2 bug report in unstable justified?
Hi Gernot, I just found all my Java apps coming out with java.net.SocketException: Network is unreachable when trying to connect via TCP/IP. Workaround: Start the java app with -Djava.net.preferIPv4Stack=true. Linux 2.6.32 together with Sun's Java might be the problem... but I had no time to verify it so far. Mit freundlichen Grüßen Tim Rühsen Am Tuesday, 15. December 2009 schrieb Gernot Hassenpflug: Dear all, I've been having trouble with jmeter-server not being able to access the host from java.rmi (java.net.SocketException: Network is unreachable). Version is 2.3.4-2 on unstable i386. jmeter runs fine but I am not using it for any tests (another PC is supposed to farm out the tests and collect the data). The problem is recent, perhaps 1 week or less (last week I was using jmeter-server OK). I've seen a similar bug discussed (and apparently solved) on the Ubuntu launchpad for jmeter, to do with class paths and dummy files, but Debian unstable has no bug reports for jmeter at all. Link here: https://bugs.launchpad.net/ubuntu/+source/jakarta-jmeter/+bug/459251 So I wonder if I should report the bug in unstable under jmeter, or if there is a better place to put it? Note this affects jmeter-server (jmeter when run as server), not the desktop app jmeter which starts up just fine. Regards, Gernot Hassenpflug -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Trouble
Am Dienstag, 2. Dezember 2008 schrieb Amarantita Mieltostada: Hi, my name is Amaranta, and i'm from Chile. In the page says that I have to write you in english, so i'm trying, but i'm not that handy though, so please be patience. I have 2 problems: 1.- I sort of need the login.cc file of the Debian sources and I can't find it in anywere, if you please could send it to me. I need to see an example of how to capture the password of the user of the keyboard before it apears in the screen (like when someone make su). 2.- A friend and me are building sockets, and we did it on his Ubuntu machine, and we use a function call gethostbyname and it work. But when we try to prove it on my Debian Lenny machine, it didn't work. I search and for what I understood, gethostbyname seems to be unavailable in new distributions of Debbian. So, which function does the new libraries support that work as gethostbyname?, or which library has this function? man gethostbyname ... DESCRIPTION The gethostbyname*() and gethostbyaddr*() functions are obsolete. Applications should use getaddrinfo(3) and getnameinfo(3) instead. ... I'll keep looking, maby I'll have luck now, while I wait for your answer. Thank you very much. Bye. Mit freundlichem Gruß Tim Rühsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to make a link backup?
Am Mittwoch, 11. Juni 2008 schrieb Magicloud: Hello, Assuming I have two WAN link, with two different routes and ips. And I have two nics in my box. Usually, I only use one link, the primary link. But sometimes, the primary link is down, I need to switch to another link ASAP, and switch back when the broken link is OK again for a certain long time. How to do this? I do not think bonding works here, right? Thanks. I never gave it a try on linux (on winxp it seems to work): 'metric' is for that purpose. See 'route -n' and/or 'man route'. The man page says: Metric The 'distance' to the target (usually counted in hops). It is not used by recent kernels, but may be needed by routing dae- mons. sorry, not a solutuion. more like a hint. Mit freundlichem Gruß Tim Rühsen -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Syslogrotation beißt Logrotation
Hallo Dennis, nur zur Erinnerung. Die Dateien in /etc/logrotate.d werden von unterschiedlichen Packeten angelegt. Von welchen findest heraus mit for i in `ls /etc/logrotate.d/*`; do dpkg -S $i; done Ich vermute, daß einige der Dateien durch Updates ausgetauscht wurden. Evtl. hilft ein grep daily /etc/logrotate.d/* Ich weiß, Du hast bereits alles überprüft... wenn obiges nicht hilft, poste doch mal den Inhalt einer betreffenden logrotate Konfiguration (aus /etc/logrotate.d). MfG, Tim
Re: famd ersetzen bzw. rauswerfen?
Am Mittwoch, 13. September 2006 10:01 schrieb Helmut Wollmersdorfer: Bei mir frisst der famd in unregelmässigen Abständen 99% und mehr CPU. Wenn ich das nicht rechtzeitig bemerke und den famd restarte, dann friert mein System ein - geht nur mehr ein Reboot über die Hardware-Resettaste. Das hatte ich auch eine Weile (SID/unstable), seit mehreren Monaten ist das aber nicht mehr vorgekommen. Hängt also evtl. von deinem Softwarestand ab. Im Prinzip könnte ich auch drauf verzichten, jedoch sind Kate und Konqueror von libfam0 abhängig, wobei man nur dem Kate das Aktualisieren abgewöhnen kann. Ohne Konqueror von der Konsole aus zu arbeiten, wäre etwas unbequem, weil die Arbeitspartition meines Projektes 1 Mio. Files in 12 Tsd. Verzeichnissen hat. Den famd mußt Du nicht deinstallieren. Einfach die init Skripte entfernen: update-rc.d -f fam remove Tim
Re: vi langsam
vi in der Konsole öffnet sich bei mir erst nach einigem Zögern. Woran mag das liegen? Ich weiss, was Du meinst. Es ist vim. Wenn Du vi nur für einfache Dinge benötigst (also kein Hardcore-vi-and-nothing-else-Freak bist (hmmm... wenn Du doch so einer bist, dann empfindest Du vim sowieso als völlig überladen;-)), dann nimm nvi. Der startet so schnell, wie man es erwartet. Tim
Re: Unix command(s) to eliminate file extension?
Am Freitag, 12. Mai 2006 11:58 schrieb Roberto C. Sanchez: Suppose I have in a directory a certain number of files, all terminating with `.txt', and that I want to eliminate that suffix from all of them. Is there a Unix command, or perhaps a set of commands, that can do so? rename 's/\.txt//' *.txt I might be a good idea to use rename 's/\.txt$//' *.txt (Just a detail). Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [C Programmierung] Zugriff auf MySQL
./start.o: In function `main':../start.c:18: undefined reference to `mysql_init' :../start.c:24: undefined reference to `mysql_real_connect' :../start.c:33: undefined reference to `mysql_error' :../start.c:33: undefined reference to `mysql_errno' :../start.c:42: undefined reference to `mysql_close' Es wird anscheinend die libmysqlclient Bibliothek nicht eingebunden. Versuch mal gcc start.c -o start -llibmysqlclient oder gcc start.c -o start /usr/lib/libmysqlclient.so Falls libmysqlclient nicht gefunden wird, schau mal nach der genauen Dateibenennung mit ls -la /usr/lib/libmysqlclient* Tim -- 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: UML skas patches for linux kernel packages
Hi Nic, do you *really* need SKAS? UML works without SKAS, but I heard it should be somewhat slower without it. I have 2 UML envs running on my SID desktop (an old SID and a very old SuSE system). They are pretty well used by my collegues as development systems. And they do not feel much slower as real machines. But maybe you have completely different ideas about why you need SKAS. Regards, Tim Am Montag, 30. Januar 2006 13:07 schrieb Nic Ferrier: I'm trying to run a SKAS based UML on an etch image. I need SKAS support in the host kernel. I have 2.6.12 kernel installed from the debian source package: linux-source-2.6.12 I have the package: linux-patch-debian-2.6.12 installed as well. But I don't seem to have the skas patches. There is the package: kernel-patch-skas But this seems to apply to the old kernel-*** packages and not the new linux-*** ones. Does anyone know what I have to do to get a skas host kernel? Nic Ferrier -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Gesucht: PCIe RAID 5 Controller
Ich weiss, es geht zwar am Thema vorbei, aber die ML370 haben doch auch PCIx, und da hat HP auch wunderbare Raidcontroller in verschiedenen Leistungsklassen, die auch unter Linux (standardkernel) laufen.. Und vorallem wunderbar zum Rest vom Server passen ;-) Anschlüsse, Installation. LightsoutManagement. Die neuen ML370 haben leider nur noch bis zu 4 PCI Slots. Und die benötige ich für spezielle DSP Karten. Deshalb muss der Raidcontroller in einen PCIe Slot. HP hat das ganz toll gemacht: von 6x PCI auf 4x PCI + Xx PCIe geändert, aber bietet keinen PCIe Raidcontroller an. Super! Da die ca. 25 ML370 seit Monaten, teilweise seit Jahren unter Last laufen, ohne dass es jemals! einen Ausfall gab (ausser Festplatten natürlich), möchte ich sehr ungern auf andere Hersteller ausweichen. Danke Dir und den anderen für die Antworten. MfG, Tim
Gesucht: PCIe RAID 5 Controller
Hallo, welche Raid 5 Controller (Optional auch gerne Raid 6) mit PCIe (PCI-express) Anschluss könnt Ihr empfehlen? Er soll in HP/Proliants (u.a. ML370) mit Debian unstable + 2.4. Kernel betrieben werden. Sollte mit dem Debian Kernel funktionieren (wäre jedenfalls optimal). Mfg, Tim
Re: Machines and people
Hi Paddy, try to find a good (beginner's) book about digital electronics. It will start with some discrete logic, should explain memory, i/o, algorithms, math, clocking, circuits etc. and how it all comes together to build up a (very small) 'computer'. For the further understanding of how an actual CPU works, you might have a look into books about (x86?) Assembler. It should explain the architecture of your CPU and how to program it. (Almost) all CPUs work roughly the same which makes it possible to have higher level language programs being translated for all of these CPUs. To see how higher level languages come into this, take e.g. a 'hello world' programm in C or whatever language you like. Most compilers have an option to translate the sourcecode into Assembler source code to make some studies. Sorry, but I have no book titles at hand. And just german books at home;-) Of course there are many more things to explore, but you will step over these things when you start your studies. Tim Am Sonntag, 4. Dezember 2005 14:32 schrieb Paddy Hackett: I am new to this list. Among my chief reasons for an interest in Linux is in relation to AI and the relationship of human intelligence to machines such as computers.Consequently I want to establish a clear understanding as to how the computers works. In view of this could anybody tell me how we get from the stage of bits to the letters of say the English language. In short how do bits, Boolean Algebra lead to letters such as a,b,c,..etc. I have studied the Turing machine. However I am still not clear regarding this question. It appears that many learn higher level computer languages such as Java yet cannot answer the more fundamental cquestions. Paddy Hackett -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: killproc
I have an external programme that is calling for the function killproc. This is apparently not available in Debian Sarge. What is the policy? What is the story? What should be used instead? If you are using killproc for sending signals to processes by name (instead of by processid) give killall a try. It belongs to the packet 'psmisc'. Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Open ports in Debian
Hi Rutger, PORTSTATE SERVICE 22/tcp open ssh 25/tcp open smtp 80/tcp open http 111/tcp open rpcbind 113/tcp open auth 903/tcp open iss-console-mgr Before starting nmap, use netstat. You can find out which program uses which port with netstat -tulpen for your internet connected box, leave just the port open that you really need. E.g. ssh (port 22) for remote administration, web-server (port 80), etc.. Maybe it tells that inetd has ports 111 and 113 open. Just stop inetd and see, that all the needed functionality is still given. If yes, remove the related inetd packet or remove the startup scripts with update-rc.d -f name-of-startup-script remove For your port 25 mailserver: If you just need to send emails (with queueing), try configure it to listen on localhost only. ssh: you can configure the ssh daemon to listen on port x instead of 22. This 'hides' it a bit (ok, a lot) - typical port scans just check the typical ports. You should still use a random password with more than 8 chars. http: there is much documentation about securing webservers (e.g. apache). You can check your webserver configuartion for security holes with a program called 'nikto' (from remote). As a thing of favour, you can set up a firewall with iptables. You should also keep your software upto-date. Of course there still is the chance to be hacked. It might help to install chkrootkit and rkhunter which regularly check for infected files. After all I am not an admin nor a security expert. These guys would have tons of other hints and advices. There are also some howtos about securing a box. Have fun, Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Wine / Xorg Fehler: BadAlloc
Hallo, ich bekomme nach dem apt-get dist-upgrade heute morgen beim Aufruf von Wine den Fehler: X Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 53 (X_CreatePixmap) Serial number of failed request: 12783 Current serial number in output stream: 12785 Wine failed with return code 1 Sowohl Wine als auch die Xorg Packete wurden heute morgen aktualisiert. Bin ich der einzige der das Problem hat? Kennt jemand einen schnellen Workaround? Wenn nicht, werde ich die Packete eines nach dem anderen durch alte Versionen ersetzen - das kostet aber Zeit, die ich genau jetzt nicht habe... Ich spreche von einem SID System. MfG, Tim Rühsen
Re: Sid-Benutzer, bitte BTS benutzen (was: Wine / Xorg Fehler: BadAlloc)
Bitte bitte, oh Ihr Sid-Benutzer, benutzt das BTS: http://bugs.debian.org/wine erwähnt dieses Problem recht deutlich, und dort nachzusehen kostet nun wirklich nicht viel Zeit. Sorry, die Hektik läßt einen manchmal komische Dinge tun. Vor allem morgens ohne Kaffee. Gruß, Tim
Re: Cdrecord and linux 2.6.12
Am Montag, 26. September 2005 16:48 schrieb Žáček Kryštof: Lucky you. I did not even get so far to spoil the CD. K3b permanently fails to burn any data CD for me with 2.6 kernel. It keeps reporting something about failing mkisofs or cdrecord, operation not permitted or so. I recently had a similar problem. After starting the k3b installation assistant, /usr/bin/cdrecord.mmap lost it's set-uid bit. I reinstalled it with chmod u+s /usr/bin/cdrecord.mmap and now, k3b works fine again (do not start k3b assistant). # l /usr/bin/cdrec* -rwsr-xr-- 1 root cdrom133 Sep 21 03:17 /usr/bin/cdrecord -rwsr-xr-- 1 root cdrom 323540 Sep 21 03:17 /usr/bin/cdrecord.mmap -rwsr-xr-- 1 root cdrom 323540 Sep 21 03:17 /usr/bin/cdrecord.shm Tim
How to automatic restore alsamixer settings with alsa-utils?
Hi, on my SID system, I experience that alsamixer settings are not restored after booting. It looks like /etc/rcS.d/S50alsa-utils is called at the wrong time (too early?). Because after rebooting I can restore alsamixer settings just by calling '/etc/init.d/alsa-utils start' or alternatively by calling 'alsactl restore'. And yes, alsa-utils is called while booting (I can see it's output). This is for quite a while now and just a bit annoying. I have this (kernel?) bug, where I have to switch off 'Headphone Jack Sense' and 'Line Jack Sense' to hear anything. Else, I wouldn't have noticed this alsa-utils behaviour. Did I miss something (maybe a packet or something)? Regards, Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to automatic restore alsamixer settings with alsa-utils?
Hi David, I linked /etc/init.d/alsa-utils to /etc/rc2.d/S98alsa-utils. That works fine (as I said: I works if I invoke it later). But this shouldn't be the general or official solution. Does it work for you by default, I mean without interfering manually? If yes, what's wrong with my system? Regards, Tim Am Freitag, 26. August 2005 10:16 schrieb David Huemer: Hi Tim, Try placing an executable file with alsactl restore in /etc/rc2.d and call the file S99alsa, or something. The important part is S99 which means alsactl is one of the last things which will be called while booting. David On Fri, 2005-08-26 at 09:54 +0200, Tim Ruehsen wrote: Hi, on my SID system, I experience that alsamixer settings are not restored after booting. It looks like /etc/rcS.d/S50alsa-utils is called at the wrong time (too early?). Because after rebooting I can restore alsamixer settings just by calling '/etc/init.d/alsa-utils start' or alternatively by calling 'alsactl restore'. And yes, alsa-utils is called while booting (I can see it's output). This is for quite a while now and just a bit annoying. I have this (kernel?) bug, where I have to switch off 'Headphone Jack Sense' and 'Line Jack Sense' to hear anything. Else, I wouldn't have noticed this alsa-utils behaviour. Did I miss something (maybe a packet or something)? Regards, Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to automatic restore alsamixer settings with alsa-utils?
Hi, I experienced the same problem. When alsa-utils was called, the driver module for my sound card was not loaded yet. alsa-utils wouldn't trigger autoloading of the module either, so it failed to restore the mixer settings. The module was autoloaded later, probably when KDE started up. I have these lines in /etc/modules, but it does not help: snd-intel8x0 snd_pcm_oss Something else to test? My solution was to load the module explicitly in /etc/modules, so it gets loaded before /etc/init.d/alsa-utils is called. Installing discover or hotplug might also help, although I haven't tried this. I have hotplug installed (I never got my USB working until I installed hotpug). But that is not the solution. There is some documentation at the top of /etc/init.d/alsa, and also in /usr/share/doc/alsa*/ . Due to the docs in /etc/init.d/alsa-utils, /etc/rcS.d/S50alsa-utils should be the right choice to restore alsa settings. Do you know how to switch /var/log/boot.log (or similar) on? I definitely do not have the boot messages written into a log file. See this: -rw-r--r-- 1 root root 4036 Dec 29 2003 boot -rw-r--r-- 1 root root 3306 Dec 11 2003 boot.0 It stopped ~Dec 29th 2003. Some experiments with /etc/syslog.conf and local7.* just generated an empty file. Regards, Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: blind spot for java
Hi Graham, - make shure, that file is not a symlink. It should tell you if you do 'ls -la'. - make shure that not one of the directories has obscure permissions. You could (as root) copy the java file into /tmp and try to execute it there. Does it work? If not, maybe the file is corrupt. Try things like 'file java' or 'ldd java', just to see Tools like file and/or ldd recognise it as executable. Tim Am Freitag, 26. August 2005 13:32 schrieb Graham Smith: Hi, I know this might seem a little strange but my system seems to have developed a blind spot for Java. I have a JDK installed in /usr/local/jdk1.5.0_04/ when I attempt to execute [EMAIL PROTECTED] /usr/local/jdk1.5.0_04/bin/java I get bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory which is quite plainly wrong as the file most certainly does exist and has execution rights. I have another (very slightly older and 64-bit) version of Java installed via java-package which works fine but I need to get this one working. Any ideas what might be wrong? All the other applications seems to be working fine. I have re-installed the JDK and tried other versions and all produce the same message. This is a long shot I know but I am using the 64bit debian port and this is a 32bit VM it is therefore relying on some libraries provided by the 32bit chroot. It was working fine yesterday but I also upgraded the chroot yesterday. I'm wonering if the two could be linked. The problem is that it just doesn't seem to even find the java file to get. TIA, Graham. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: blind spot for java
I just forgot: make shure, you don't have an alias in your shell. Try 'alias' in your bash. Tim Am Freitag, 26. August 2005 13:32 schrieb Graham Smith: Hi, I know this might seem a little strange but my system seems to have developed a blind spot for Java. I have a JDK installed in /usr/local/jdk1.5.0_04/ when I attempt to execute [EMAIL PROTECTED] /usr/local/jdk1.5.0_04/bin/java I get bash: /usr/local/jdk1.5.0_04/bin/java: No such file or directory which is quite plainly wrong as the file most certainly does exist and has execution rights. I have another (very slightly older and 64-bit) version of Java installed via java-package which works fine but I need to get this one working. Any ideas what might be wrong? All the other applications seems to be working fine. I have re-installed the JDK and tried other versions and all produce the same message. This is a long shot I know but I am using the 64bit debian port and this is a 32bit VM it is therefore relying on some libraries provided by the 32bit chroot. It was working fine yesterday but I also upgraded the chroot yesterday. I'm wonering if the two could be linked. The problem is that it just doesn't seem to even find the java file to get. TIA, Graham. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: blind spot for java
or 'ldd java', this looks bad $ldd java /usr/bin/ldd: line 171: /lib/ld-linux.so.2: No such file or directory ldd: /lib/ld-linux.so.2 exited with unknown exit code (127) Here we go. Let's concentrate on this. Normally, /lib/ld-linux.so.2 is a symlink to e.g. (on my SID system) /lib/ld-2.3.5.so. So try ls -la /lib/ld-*, and see if the file that the symlink points to exists. Just to show you the output on my system: blitz-lx:~# ls -la /lib/ld-* -rwxr-xr-x 1 root root 90028 Aug 19 14:43 /lib/ld-2.3.5.so lrwxrwxrwx 1 root root11 Aug 22 14:36 /lib/ld-linux.so.2 - ld-2.3.5.so Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: blind spot for java
# ls -la /lib/ld-* -rwxr-xr-x 1 root root 97904 2005-08-20 00:03 /lib/ld-2.3.5.so lrwxrwxrwx 1 root root11 2005-08-22 16:17 /lib/ld-linux-x86-64.so.2 - ld-2.3.5.so Hmmm I wonder if this is has something to do with the upgrades going on in unstable at the minute. Shouldn't this line /var/chroot/sid-ia32/lib from ld.so.conf have pulled in the required ld-linux.so.2 link? I am a bit unshure about these chroot things. I use a chroot env for compiling special things, but lot's of things do not work in there. So, I can't tell anything else than Kent and Michael at the moment. Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using RPM on Debian
What is the best/easiest way to convert an RPM to a Deb? Can I install RMP on my Debian machine, or is there a conversion utility? apt-get install alien man alien Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Newbie: How do I defrag my drive?
You don't need to. You only need to defragment your disk if your operating system is incapable of keeping the fragmentation under control, and Linux does not suffer from this problem. Many people say so, but it is not true. Ext2 takes some precautions to reduce fragmentation a bit (in comparison with (V)FAT), but ext2 can't prevent it. And it is not a feature of 'Linux' it is a feature of the filesystem. Jiann-Ming Su posted a link, which talks about two possibilities to defragment your discs: either use defrag (but make a backup before!) or just make a backup, clean your partitions and restore the backup. I did the last thing (after using my system for ~2 years for ~10 hours a day, making updates every day) and my system booted about 30% faster. Now, after a year or so, it seems to be time to do it again (booting became slower and slower). Regards, Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: SSL_shutdown() error: (unknown)
Hallo Saskia, da scheint gerade dran gearbeitet zu werden. Siehe http://forums.proftpd.org/phpBB2/search.php?search_author=Andrei+Iordache; Tim Am Freitag, 19. August 2005 10:47 schrieb Saskia Whigham: Hallo Leute, ich benutze profptd-1.3.0rc2 auf Debian Sarge. Proftpd benutze ich mit TLS. Bei meinen vorherigen versuchen z.B. mit 1.2.10 von proftpd hat die TLS VErbindung immer super geklabt. Ich musste aber aus zwei Gründen zu proftpd-1.3.0rc2 umsteigen weil mit deiser Version die Module mod_md5fs und mod_clamav richtig funktionieren. Jetzt habe ich aber mit TLS ein Problem. Unzwar steht in meinem TLS Log immer wenn ich eine Datei uploade folgender Fehler: SSL_shutdown() error: (unknown). Wie kann ich diesen beheben? Vielleicht weiss ja einer von euch wie man damit umgeht. Danke schon mal im vorraus. -- 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: leeres Kde Startmenu und leere Programm-DB
Mach ein downgrade von kdelibs-data, hier mein Posting in der KDE Liste (ich hoffe du verstehst ein bischen englisch). ;-) that happened to me this morning as well (my heart stopped beating for a while). Just downgrade kdelibs-data to 4:3.3.2-7 and everything is in place again. (After that, I restarted kde with /etc/init.d/kdm stop and start). I found the old kdelibs-data with the apt-get archive, so I just had to dpkg -i /var/cache/apt/archives/kdelibs-data_4%3a3.3.2-7_all.deb and thats it. Greetings, Tim Am Freitag, 19. August 2005 16:27 schrieb Markus Schulz: Hallo, ich habe seit zwei Tagen ein Problem mit meinem Sid wo ich leider nicht die Ursache kenne und auch bei der Fehlersuche einige Probleme habe. Mein Startmenu unter KDE ist komplett leer (kmenuedit ebenso) und kein KDE Programm kennt noch zu Mimetypen zugeordnete Programme (z.B. im konqueror ein Video automatisch mit Player starten, oder http links in kmail etc.). Als Desktop benutze ich KDE ja nicht (xfce4.2) und mein Startmenu unter xfce4 sieht aus wie immer. Aber die zu Mimetypes zugeordneten Programme sollten in KDE Anwendungen wieder funktionieren. Jemand eine Idee welches Paket bei KDE dafür zuständig ist? Paketversionsnummer spare ich mir erstmal, da ich ja noch nicht genau weiss welche dafür zuständig wären. .kde Dir hab ich bereits testweise entfernt und zusätzlich mal anderen/neuen Nutzer probiert - ohne Erfolg. Die b.d.o hab ich ein wenig schon durchforstet nach den üblichen kdebase Paketen ohne etwas zu finden. -- Markus Schulz Des is völlig wurscht, was heut beschlossen wird: I bin sowieso dagegn! (SPD-Stadtrat Kurt Schindler; Regensburg)
Re: leeres Kde Startmenu und leere Programm-DB
Das hier hilft eventuell beim Verständnis: http://lists.debian.org/debian-kde/2005/08/msg00089.html . Zusammenfassung: Vorsichtig sein mit dem KDE upgrade. Also möglichst z.Z. nicht apt-get dist-upgrade sondern nur apt-get upgrade verwenden. In ein paar Tagen wird eine Mail vom KDE Team kommen, die das ganze dann 'freigibt'. Da ist allerdings eben dieser Bug mit kdelibs-data: Trotz apt-get upgrade wird dieses Packet bereits als 3.4.2 installiert. Mit dem downgrade sollte dann die Menüs (und einiges andere) wieder da sein. Hast du die aktuellen sid-kdelibs4 installiert? Natürlich nicht. Die werden bei apt-get upgrade nicht installiert. Hier wuerds naemlich das restliche KDE deinstallieren, weil ja kdelibs4 in unstable fuer gcc4 gebaut ist... Eben;-) Schönes WE. Tim
Re: icc with gcc 4.0.1 fails
Am Freitag, 15. Juli 2005 00:46 schrieb michael: On my 'unstable' box, gcc recently got upgraded to 23:35:48 ~/C$ gcc --version gcc (GCC) 4.0.1 (Debian 4.0.1-1) but now my existing Intel C compile installation falls over: 23:43:58 ~/C$ icc test.c Command-line error: invalid GNU version number: 401 compilation aborted for test.c (code 4) Has anybody else seen this or, more usefully, know the fix? This link might help you: http://www.intel.com/cd/ids/developer/asmo-na/eng/223868.htm?page=3 Regards, Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: packet libmyodbc broken in SID?
Thanks Kevin, i am aware of the pitfalls introduced by SID. But all I was looking for was information. I think it is a good idea to ask the mailing list before I file a bug. E.g. sometimes someone knows that there is a workaround, which might be helpful when filing a report. Or someone just knows more about the issue than i can read from the bug reports. At the moment I am just patient since almost every day parts of ODBC are updated... someone is heavily working on it. Regards, Tim Am Donnerstag, 30. Juni 2005 09:21 schrieb Kevin Mark: On Tue, Jun 28, 2005 at 01:04:08PM +0200, Tim Ruehsen wrote: Hi, a few days before packet odbcinst1 has been replaced by odbcinst1debian1. In this process 'apt-get dist-upgrade' removed the packet libmyodbc. Of course, my apps using MySQL via ODBC do not work any more. Trying to 'apt-get install libmyodbc' results in: ... file bug report ... The following packages have unmet dependencies: libmyodbc: Depends: odbcinst1 but it is not installable E: Broken packages Before I file a bug report, I ask here for more information. Does anyone knows a work-around or how to solve the situation? Forcing the installation of libmyodbc does not really help. The MySQL server drops the connection (no real error message). It is a SID (unstable) system. All packets are at the latest version (unstable). Hi Tim, you realize having the latest vesion means it has little or no testing. sid is the most changing software stream and the most likely to have software problems because it is where software is being tested. If you want something to 'just work' Sarge would be idea. While many people run sid beacuse it is the 'cutting edge', it has risks that may cause apps to stop working from time to time. It you (can/want to) handle this, ok. I run sid on my workstation and I have no critical infrastrucure to distrub. but if I was running a RDBS with an old unix distro, I'd want stability, hence would choose to run 'stable'. Cheers, Kev -- counter.li.org #238656 -- goto counter.li.org and be counted! `$' $' $ $ _ ,d$$$g$ ,d$$$b. $,d$$$b`$' g$b $,d$$b ,$P' `$ ,$P' `Y$ $$' `$ $ ' `$ $$' `$ $$ $ $$g$ $ $ $ ,$P $ $$ `$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $$ `Y$$P'$. `YP $$$P' ,$. `Y$$P'$ $. ,$. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
packet libmyodbc broken in SID?
Hi, a few days before packet odbcinst1 has been replaced by odbcinst1debian1. In this process 'apt-get dist-upgrade' removed the packet libmyodbc. Of course, my apps using MySQL via ODBC do not work any more. Trying to 'apt-get install libmyodbc' results in: ... file bug report ... The following packages have unmet dependencies: libmyodbc: Depends: odbcinst1 but it is not installable E: Broken packages Before I file a bug report, I ask here for more information. Does anyone knows a work-around or how to solve the situation? Forcing the installation of libmyodbc does not really help. The MySQL server drops the connection (no real error message). It is a SID (unstable) system. All packets are at the latest version (unstable). Just the MySQL server is a very old one sitting on a SCO 5.0.4 System. But that should not matter, since libmyodbc did not update and worked fine before updating to odbcinst1debian1. Thanks in advance, Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: KERNEL/DHCP: socket: Address family not supported by protocol
Am Donnerstag, 31. März 2005 19:15 schrieb Elvis Cehajic: Ich habe gerade den Kernel 2.6.11.6 kompiliert, dabei die gleiche .config genutzt wie im (gut arbeitenden) 2.6.11.2er. Beim starten von /etc/init.d/networking bzw. dhclient eth0 kommt aber immer diese Fehlermeldung: socket: Address family not supported by protocol Make sure to set CONFIG_PACKET=y and CONFIG_FILTER=y in your kernel configuration! exiting. CONFIG_FILTER scheint im 2.6 kernel nicht mehr benutzt zu werden. Evtl. ist die Meldung hier also nicht richtig. CONFIG_PACKET war auf m gesetzt, CONFIG_FILTER gibts in beiden .config Dateien nicht. Ich hab also in der .config für den 2.6.11.6er CONFIG_PACKET=y eingetragen und neu kompiliert, es kommt aber das gleiche dabei raus. Das hätte eigentlich einen Fehler produzieren sollen. Woran kanns liegen? Eigentlich sollte sich die .config zwischen 2.6.11.2 und 2.6.11.6 eigentlich nicht geändert haben. Es wurden lediglich einige Bugfixes eingepatcht. Es liegt nahe, daß Du irgendwo einen Fehler machst. Überprüf noch einmal alles (z.B. diff zwischen den beiden .config files), versuch es ggf. noch einmal mit einer Neuinstallation der Kernel 2.6.11.6 Quellen. Sorry, mehr kann ich dazu z.Z. nicht sagen. Meine Antwort ist etwas unpräzise, aber hoffentlich besser als gar keine. Mfg, Tim
Re: Samba not accessible with 3.0.8
Since 3.0.8 I have a smbfs problem (maybe it is related). I can mount, I can see and read all the remote files. But when changing a file, input is hanging for ~30s (e.g. console or editor), coming back with 'i/o error'. Now, the remote file has 0 bytes. This always happens. It also happens with different remote machines/samba versions. Meanwhile I switched to NFS. But it would be interesting to know what is happening. Ah, yes: got the latest SID x86, kernel 2.6.8.1 There is absolutely no entry in the logs about what happens. Neither local nor remote. There is no firewall between the machines. Regards, Tim Am Freitag, 3. Dezember 2004 16:49 schrieb Andy Dougherty: I'm running a testing system. I previously had a working Samba 3.0.7. The only differences between my /etc/samba/smb.conf and the version in /usr/share/samba/smb.conf are the name of the workgroup, encrypt passwords = true, and I selected the lines for lprng-based printing. A few days ago, I did an apt-get dist-upgrade; I'm now running samba 3.0.8-2. I can no longer connect from either Win98 SE or from Win XP systems. I can't even browse my server. I get the message \\myserver is not accessible From another Linux system, I can connect with smbclient, but I can't browse with LinNeighborhood. Looking in /var/log/samba at the log files, it looks as if nmbd is seeing the browser queries, but discarding them. Has anyone run into anything like this? In particular, I see things like find_workgroup_on_subnet: workgroup search for PHYSICS on subnet xxx.xxx.xxx.2 1: found. [2004/12/03 10:41:09, 5] libsmb/nmblib.c:read_packet(757) Received a packet of len 201 from (xxx.xxx.xxx.64) port 138 [2004/12/03 10:41:09, 9] nmbd/nmbd_namelistdb.c:find_name_on_subnet(129) find_name_on_subnet: on subnet xxx.xxx.xxx.21 - name PHYSICS1d NOT FOUND [2004/12/03 10:41:09, 5] nmbd/nmbd_packets.c:process_dgram(1194) process_dgram: ignoring dgram packet sent to name PHYSICS1d from xxx.xxx.xxx.64 My Samba server is xxx.xxx.xxx.21. It is first saying it is able to find PHYSICS, but later can't find PHYSICS1d. What's that 1d? Is anyone else having similar problems? It worked prior to this upgrade, and I haven't changed anything else. -- Andy Dougherty [EMAIL PROTECTED] Dept. of Physics Lafayette College, Easton PA 18042 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: modules.usbmap
Hey guy, if you have a problem with your USB device, why don't you just tell us what your problem is? I just had a problem that I could not mount an USB stick (unstable, Kernel 2.6.8.1). There was no such device /dev/sd* (check with 'fdisk -l /dev/sd*). But in dmesg|grep -i usb everything seemed to be ok. After installing 'udev' (apt-get install udev), either the device /dev/sda1 or /dev/sdb1 - dpending on the usb slot - exists. Having the correct entries in /etc/fstab, the stick becomes mounted automatically to /usb. This is due to packet 'hotplug' which comes with 'udev'. Hope, you have the same problem. Tim Am Montag, 29. November 2004 12:52 schrieb Christian Convey: Hey guys, I'm trying to debug a problem where my Kodak DX6490 camera doesn't seem to get properly recognized by my Sarge / 2.6.9 system. In the process, I ran across a promising-looking file: /lib/modules/2.6.9-1-686-smp/modules.usbmap Is it the case that in order for my system to even start dealing with a USB device, then that device must have an entry in this file? Or more generally, can anyone point me to docs on this file? Google was not my friend in this case. Thanks, Christian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Paketfilter
Sehr gutes Tutorial mit fast einsatzfertigen Beispielen: http://iptables-tutorial.frozentux.net/iptables-tutorial.html Tim -- 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: power-button poweroff
You should have ACPI enabled in BIOS and install the packages 'acpid' and 'acpi'. If everything is working correctly, the acpi daemon gets an event, if you press the button. You can configure the wanted behaviour (e.g. calling 'poweroff'). If it doesn't work, try APM (install package 'apmd' and uninstall ACPI stuff). Warning: It looks like several motherboard/BIOS combinations do not work correctly (just google a bit). E.g., my BIOS allows activation of ACPI, but there is not possibility to switch if OFF again... This is bad, since my integrated LAN adapter turns off with 'poweroff' but not ON again on restart. I have to unplug the powercable to activate it again (ok, now I have a powerswitch - it avoids unnessecary power consumption anyway). Tim Am Donnerstag, 14. Oktober 2004 11:19 schrieb Rune Maagensen: I'm having trouble getting my power button shut down my computer. So far it either 1) powers off the hard way, BOOM or 2) doesn't react at all I've installed apmd and have apm loaded as a modules from debian stock 2.6.8 kernel (2.6.8-1-686). I've read about acpi, and am fairly sure my motherboard supports it (it says ACPI BIOS at post time). But whem doing a modprobe acpi without apm module loaded: rune:~# modprobe acpi WARNING: Error inserting processor (/lib/modules/2.6.8-1-686/kernel/drivers/acpi/processor.ko): No such device FATAL: Error inserting acpi (/lib/modules/2.6.8-1-686/kernel/arch/i386/kernel/cpu/cpufreq/acpi.ko): Unknown symbol in module, or unknown parameter (see dmesg) rune:~# dmesg (...) acpi: Unknown symbol acpi_processor_unregister_performance acpi: Unknown symbol acpi_processor_register_performance I've tried various kernel appends in grub (can't remember them all) and I am getting tired of the hard poweroffs and booting. Is there a way of getting the stock debian kernel (2.6) make a gracefull shutdown with the power button? Is a custom kernel compile really nessecary, and if so should I go with acpi or apm? TIA Rune -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Fork: resource unavailable
Try ps|wc -l and ps -e|wc -l to see if there are too many processes. Tim Am Donnerstag, 30. September 2004 12:55 schrieb Nils-Erik Svangård: Hello! I got 1Gig ram and 2.5 Gig swap, I often get an error stating something like fork: resource temporarily unavailable. What is causing that? bash-3.00$ df bash: fork: Resursen tillfälligt otillgänglig bash-3.00$ df bash: fork: Resursen tillfälligt otillgänglig bash-3.00$ ls bash: fork: Resursen tillfälligt otillgänglig bash-3.00$ ls bash: fork: Resursen tillfälligt otillgänglig bash-3.00$ Swedish locale but you can guess what it says. Ideas? /nisse -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
(OT)Suche Rat zu verdächtigen IP Packeten (ausgehend)
Hallo Liste, von einem unserer internen Rechner (gepatchtes SuSE Linux 8.1) kommen TCP/IP Packete mit SPT=80. Auf diesem Port lief bis vor kurzem Apache 1.3.26 (SuSE gepatchet). Hier ein firewall Eintrag als Beispiel: Sep 24 10:43:23 oms-net kernel: REJECT NEW SYN/ACK: IN=eth0 OUT=eth2 SRC=192.168.11.70 DST=66.196.90.50 LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=51378 DF PROTO=TCP SPT=80 DPT=53595 WINDOW=5792 RES=0x00 ACK SYN URGP=0 ID,DPT und DST sind variabel. Alles andere konstant. Die Packete kommen so ca. alle 10 Minuten, dann immer 6 im Abstand von einigen Sekunden. Nachdem ich den apache gestoppt habe, war erst einmal Ruhe. Bis eben, da kam ein einzelnes Packet: Sep 24 11:34:15 oms-net kernel: DROP NEW NOT SYN: IN=eth0 OUT=eth2 SRC=192.168.11.70 DST=62.109.118.250 LEN=40 TOS=0x08 PREC=0x00 TTL=63 ID=16752 DF PROTO=TCP SPT=80 DPT=10618 WINDOW=0 RES=0x00 ACK RST URGP=0 Chkrootkit zeigt nichts an. Es laufen auf dem Rechner keine 'ordentlichen' Programme, die von sich aus Kontakt nach draußen aufnehmen. Hab jemand eine andere Erklärung als 'übernommen worden'? Sonst werde ich das System neu aufsetzen müssen. Diesmal Debian SID. Danke, Tim
Re: (OT)Suche Rat zu verdächtigen IP Packeten (ausgehend)
Am Freitag, 24. September 2004 12:26 schrieb Andreas Kretschmer: Sep 24 10:43:23 oms-net kernel: REJECT NEW SYN/ACK: IN=eth0 OUT=eth2 SRC=192.168.11.70 DST=66.196.90.50 LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=51378 DF PROTO=TCP SPT=80 DPT=53595 WINDOW=5792 RES=0x00 ACK SYN URGP=0 SYN und ACK : Bestätigung Aufbauwunsch. Ja. Es kam aber kein Aufbauwusch von draußen. Siehe die Firewalleinträge: $IPTABLES -A bad_tcp_packets -p tcp --tcp-flags SYN,ACK SYN,ACK \ -m state --state NEW -j LOG --log-prefix REJECT NEW SYN/ACK: $IPTABLES -A bad_tcp_packets -p tcp --tcp-flags SYN,ACK SYN,ACK \ -m state --state NEW -j REJECT --reject-with tcp-reset Außerdem logge ich in der Firewall inzwischen alles mit SPT=80 oder DPT=80 von und nach 192.168.11.70 (positiv getestet von anderer IP aus). Da ist aber nichts zu sehen. Nachdem ich den apache gestoppt habe, war erst einmal Ruhe. Bis eben, da kam ein einzelnes Packet: Sep 24 11:34:15 oms-net kernel: DROP NEW NOT SYN: IN=eth0 OUT=eth2 SRC=192.168.11.70 DST=62.109.118.250 LEN=40 TOS=0x08 PREC=0x00 TTL=63 ID=16752 DF PROTO=TCP SPT=80 DPT=10618 WINDOW=0 RES=0x00 ACK RST URGP=0 Mmh, da lief vielleicht noch eine Instanz, die dann die Verbindung beenden wollte? Da kann ich bei diesem Packet nicht die Hand für ins Feuer legen, daß dem nicht so war. Bisher ist Ruhe. Chkrootkit zeigt nichts an. Was zeigt 'netstat -tulpen' an? Eine Menge, aber nichts mehr auf Port 80. Da jetzt Ruhe herrscht, nehme ich an, daß apache Schuld ist/war. Die Frage ist immer noch, warum er selbsttätig Verbindungen 'bestätigen' wollte, obwohl nachweislich kein Packet von draußen kam??? Tim
[SOLVED] (OT)Suche Rat zu verdächtigen IP Packeten (ausgehend)
Hi und sorry! Auf einem alten Gateway war noch eine Weiterleitung an die 192.168.11.70:80 geschaltet. Auf diesem Rechner war allerdings die Defaultroute auf ein anderes Gateway gesetzt. Daher die Fehlermeldungen. Ich danke Michelle und Andreas, die mich beide in die richtige Richtung gelenkt haben. Mfg, Tim Am Freitag, 24. September 2004 12:03 schrieb Tim Ruehsen: Hallo Liste, von einem unserer internen Rechner (gepatchtes SuSE Linux 8.1) kommen TCP/IP Packete mit SPT=80. Auf diesem Port lief bis vor kurzem Apache 1.3.26 (SuSE gepatchet). Hier ein firewall Eintrag als Beispiel: Sep 24 10:43:23 oms-net kernel: REJECT NEW SYN/ACK: IN=eth0 OUT=eth2 SRC=192.168.11.70 DST=66.196.90.50 LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=51378 DF PROTO=TCP SPT=80 DPT=53595 WINDOW=5792 RES=0x00 ACK SYN URGP=0 ID,DPT und DST sind variabel. Alles andere konstant. Die Packete kommen so ca. alle 10 Minuten, dann immer 6 im Abstand von einigen Sekunden. Nachdem ich den apache gestoppt habe, war erst einmal Ruhe. Bis eben, da kam ein einzelnes Packet: Sep 24 11:34:15 oms-net kernel: DROP NEW NOT SYN: IN=eth0 OUT=eth2 SRC=192.168.11.70 DST=62.109.118.250 LEN=40 TOS=0x08 PREC=0x00 TTL=63 ID=16752 DF PROTO=TCP SPT=80 DPT=10618 WINDOW=0 RES=0x00 ACK RST URGP=0 Chkrootkit zeigt nichts an. Es laufen auf dem Rechner keine 'ordentlichen' Programme, die von sich aus Kontakt nach draußen aufnehmen. Hab jemand eine andere Erklärung als 'übernommen worden'? Sonst werde ich das System neu aufsetzen müssen. Diesmal Debian SID. Danke, Tim
Re: Rsync und die Uhrzeit.
Ok - wie aber würdest du das lösen? Prinzipiell wäre ein NFS-Disk-Cache mit festgelegten synchronisations-Intervallen gut. Da löschen nahezu keine Bandbreite verbraucht sogar ideal. Gibt es hierzu ein nettes FS / einen netten FS-Server? Ich kann Dir keine 'allgemeine' Lösung nennen, dazu fehlen mir grundsätzliche Eckdaten. Ich mache es immer gerne 'radikal' : 1. Wenn das Projekt finanziel lohnend ist: Bandbreite erhöhen und NFS (oder ähnliches) nutzen. 2. Wenn es nicht finanziell lohnend ist: einen Server rauswerfen (Problem erledigt) Grundsätzlich kannst Du Dir auch für wenig Geld im Monat 1 oder 2 (Web/File)Server mieten, die ggf. untereinander mit hoher Bandbreite vernetzt sind. Deine beiden Standorte greifen per DSL darauf zu (evtl. verschlüsselt). Das ist garantiert preisgünstiger als eigene Server an 2 Standorten zu betreiben (inkl. Klimatisierung, USVs etc). Mfg, Tim
Re: Bekannte Sicherheitsl
Am Freitag, 27. August 2004 09:01 schrieb Mathias Tauber: Moin, ... Fazit: Der ganze Versuch dient nur dazu, ein bisher unbekanntes aber offensichtlich vorhandenes Sicherheistloch zu finden und dann zu schließen. Die Sicherheit ist danach genauso hoch wie vorher... Ich stimme Dir im großen und ganzen zu. Das *genauso* ist natürlich nicht richtig. Wenn es so wäre bräuchte das Sicherheitsleck nicht behoben zu werden. Mann könnte sagen: für den Moment wäre die Sicherheit wieder höher. In zwei Wochen kann die Sicherheitslage natürlich wieder ganz anders sein, evtl. sogar schlimmer als momentan. Ich glaube, das meintest Du. Um mal wieder eine Grundsatzdiskussion vom Zaune zu brechen;-): Der Admin muß sein System -auch- durch 'Obscurity' sichern, so gut es geht. Dazu gehören nicht nur entsprechende Passwörter, sondern auch die Vermeidung von Standardusernamen wie 'admin, mysql etc.', und die Vermeidung von Standardports wie Port 22 für SSH. Mit solchen 'individualisierten' Systemen hat es ein Hacker sehr schwer. Scriptkiddies und Bots bleiben dann ganz draußen. 100%ig Sicherheit gibt es natürlich trotzdem nicht, außer die, daß der Tag kommen wird, an dem einem das alles ganz egal wird... ;-) Tim achja, PS: Alle die jetzt denken oder sagen Security by Obscurity ist Mist dürfen mir schon mal Ihre Kontonummer und PIN geben und überhaupt auch Ihre Paßwörter und natürlich die Wohnungsschlüssel... oh, fast hätte ich den Smiley vergessen: ;-)
Re: Bekannte Sicherheitsl
Am Freitag, 27. August 2004 12:20 schrieb Mathias Tauber: Nur ich habe selbst auf Systemen SSH versuchsweise auf verbogenen Ports laufen gehabt, mit dem Effekt, dass Einbruchversuche zwar weniger geworden sind, aber dennoch nicht aufhören (nmap sei Dank). Und von daher ist dieses verbiegen nur ein kleiner schwacher Schutz, der 'Anfänger' abhält - und vorallem sollte man sich dann nicht in falscher Sicherheit wiegen... www.portknocking.org ist Euer Freund ;O) Ja ist absolut richtig. Das reduziert die Einbruchswahrscheinlichkeit nochmals ganz erheblich. Tim
Re: Bekannte Sicherheitsl
Am Freitag, 27. August 2004 15:53 schrieb Michelle Konzack: Am 2004-08-27 10:06:01, schrieb Tim Ruehsen: Um mal wieder eine Grundsatzdiskussion vom Zaune zu brechen;-): Der Admin muß sein System -auch- durch 'Obscurity' sichern, so gut es geht. Dazu gehören nicht nur entsprechende Passwörter, sondern auch die Vermeidung von Standardusernamen wie 'admin, mysql etc.', und die Vermeidung von Standardports wie Port 22 für SSH. Mit solchen 'individualisierten' Systemen hat es ein Hacker sehr schwer. Scriptkiddies und Bots bleiben dann ganz draußen. 100%ig Sicherheit gibt es natürlich trotzdem nicht, außer die, daß der Tag kommen wird, an dem einem das alles ganz egal wird... ;-) Das kannste bei ner Handvoll Rechnern machen, wenn Du aber mal ein paar hundert administrieren mußt, kannste das vergessen. Das kommt doch sehr auf die Gegebenheiten an. Du willst mit der Aussage doch wohl keine kostenlose Beratung provozieren, oder ;-). Mir fallen spontan 3 Lösungen für 'ein paar hundert' Rechner ein. Ich gehe davon aus, daß Dir - wenn Du jetzt die Augen zumachst und darüber nachdenkst - innerhalb von 2 Minuten mehr Lösungen einfallen. Ok, Ok, ich bin auch ein Gewohnheitstier. Trotzdem kann man ja mal darüber nachdenken (sonst gäbe es zB bis heute kein DHCP und alle 'paar hundert' Rechner müßten - per Hand? - eine statische IP zugewiesen bekommen). Bevor ich depressiv werde, gehe ich jetzt ins Wochenende und wünsche Euch allen ein Gutes (soll ja zumindest im Norden nicht regnen). Tim
Re: Services in inetd.conf deaktivieren
Hi, also hier ein kleines Beispiel. Neulich habe ich jemandem geholfen, seine Maschine ohne Firewall ins Internet zu stellen. Lediglich per ssh sollte man raufkommen. Also inetd abschalten (habe ich ganz deinstalliert), portmap weg, rpc.* weg, usw. Also alles raus bis auf sshd (der sollte dann nicht auf port 22 sondern irgendwo 49152 laufen) und postfix (master, bindet sich aber nur auf localhost:25). Da das ein Telephonie Server ist, war es also recht einfach. Du solltest natürlich erstmal wissen, welche Dienste Du benötigst. IdR kannst Du alles andere rauswerfen. netstat -tulpen hilft dir dabei. Tim Am Dienstag, 17. August 2004 14:17 schrieb Patrick Petermair: Hi! Ich habe hier einen neuen Debian Rechner, den ich gerne mal von allen unnötigen Prozessen und Diensten befreien möchte. Da fiel mir inetd mit folgenden Diensten auf: time discard daytime auth / identd Kann man diese Dienste gefahrlos deaktivieren bzw. inetd gar nicht erst starten lassen, oder sind dann gewisse Einschränkungen beim Systembetrieb möglich? MfG Patrick -- 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: Services in inetd.conf deaktivieren
Am Dienstag, 17. August 2004 17:18 schrieb Torsten Schneider: On Tue, Aug 17, 2004 at 04:41:54PM +0200, Tim Ruehsen wrote: rpc.* weg, usw. Also alles raus bis auf sshd (der sollte dann nicht auf port 22 sondern irgendwo 49152 laufen) und postfix (master, bindet sich aber nur auf localhost:25). Wieso sollte der sshd auf so einem komischen Port laufen? Und warum ausgerechnet größer 49152? Wenn man den immer aktuell hält und den Login mit Username/Passwort verbietet, sollte auch auf 22/tcp nicht viel passieren. Du gibst die Antwort eigentlich selbst. 'Wenn' und 'sollte' sind der Schlüssel;-) In meinem Beispiel kümmert sich (wie fast überall) keiner mehr um tägliche Updates. Port 49152 deshalb, weil bis 49152 schon 'offiziell' alles 'belegt' ist, also irgendwelche Dienste dafür registriert sind oder noch registriert werden. Über 49152 sind deshalb Portscans extrem selten (ich hatte hier noch nie einen da oben, von gezielten Suchen nach Trojanern abgesehen). Port 22 wird alle paar Sekunden gecheckt... Es gibt im Netz gute Erklärungen, wie man Debian sichert. Such http://www.pantz.org/os/linux/security/debianlogserver.shtml ... ich dachte, da wäre die Info mit Port 49152 her... ist wohl nicht. Aber die Seite hilft Dir evtl. auch weiter. Tim Grüße, Torsten -- 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)
etwas OT (Lachnummer)
Hi, kleine Auflockerung zwischendurch (ist gerade hier in der Firma passiert). Nachdem wir unseren Chef als Verbreiter eines Virus ausfindig gemacht haben und 'zur Rede' stellen, sagt der tatsächlich (und das war ernst gemeint): Virus? Nee, das war kein Virus! Ich hab auch das Attachment geklickt und nichts ist passiert! *kopfschüttel* - ist ja seine Firma - also was solls... Tim
Re: etwas OT (Lachnummer)
Am Dienstag, 13. Juli 2004 16:46 schrieb Bjoern Schmidt: Tim Ruehsen wrote: kleine Auflockerung zwischendurch (ist gerade hier in der Firma passiert). Nachdem wir unseren Chef als Verbreiter eines Virus ausfindig gemacht haben und 'zur Rede' stellen, sagt der tatsächlich (und das war ernst gemeint): Virus? Nee, das war kein Virus! Ich hab auch das Attachment geklickt und nichts ist passiert! *kopfschüttel* - ist ja seine Firma - also was solls... *ggg* Wusstest Du schon dass Dein Chef diese Liste mitliest...? Na und? Er meint es ernst und steht dazu wie ein Mann! ;-) Tim
WORKAROUND: Firewall/NAT TCP timeouts (Debian Kernel 2.4.26)
(mit Absicht auch an PM, da Thread scho netwas älter!) Danke Harald, für deine Hinweise. Es scheint tatsächlich der Router zu sein. Nachdem ich mit Hansenet gesprochen habe wurde ein (OT) 'vielversprechendes Firmwarepdate' auf den Router aufgespielt. Seitdem sind wenigstens die 'Portblockaden' nicht mehr aufgetreten. Auf weiteres Nachhaken bzgl. Timeouts wurden folgende Routereinträge offenbart: ICMP Idle Timeout 1min UDP Idle Timeout 5min TCP Idle Timeout 2min TCP Negotiation Timeout 2min Other Idle Timeouts 1min Den TCP Idle Timeout ließ ich erhöhen auf 20min (ACHTUNG für Nachahmer: die eigene Firewall sollte dann nicht mehr DROPpen sonder REJECTen - sonst kann ein Portscan schon ein Überlaufen der NAT Tabelle im Router hervorrufen (Klassischer DoS Angriff)). Leider hat das nichts gebracht. Ein jetzt von mir eingeführte 'Keepalive' mittels einer Dummymessage alle 10s hält die Verbindungen tatsächlich aktiv. Bei 30s wirds schon wieder wackelig. Nächste Woche wird der Router vorsichtshalber von Hansenet getauscht... Mfg, Tim Am Freitag, 9. Juli 2004 00:39 schrieb Harald Weidner: Hallo, Tim Ruehsen [EMAIL PROTECTED]: ich habe hier Probleme mit NATed TCP/IP Verbindungen von 'draussen'. Allerdings nur, wenn die Verbindung längere Zeit stehen bleibt und kein Traffic für ca. 1-2 Minuten erfolgt. Wenn dann der 'interne' Server ein Packet schickt, kommt sofort ein Antwortpacket mit 'RST' Flag gesetzt - die Verbindung wird dann geschlossen. Der Client bekommt überhaupt nichts mit - das Packet kommt also nicht von ihm sondern von der Firewall/NAT Modul. Das ist kein übliches Verhalten des Linux NAT Codes. Hier liegt irgend ein Problem vor. Es muß noch gesagt werden, daß vor meiner Firewall noch ein Router mit NAT sitzt (SpeedTouch 600series). Das Problem könnte also auch dort liegen. Ich würde als erstes vermuten, dass nicht der Linux-Kernel, sondern der Router die RST Pakete erzeugt. Hast Du das schon verifiziert? Kann es sein, dass der Router Dial-on-Demand macht und nach zweiminütiger Inaktivität eine neue IP-Nummer erhält? In diesem Fall wären die Verbindungen über die alte IP-Nummer hinfällig. - Ist dieses Problem jemandem bekannt? Falls ja, ist es Router oder Linux-Firewall? Und wie läßt es sich 'richtig' beheben? Wie gesagt, es ist kein normales Verhalten. Im Gegenteil, wenn Du es nicht explizit verhinderst, dann überleben TCP-Verbindungen durch eine iptables-basierte Firewall hindurch sogar einen Reboot des Firewall-Rechners. Wenn Du sicher bist, dass der Linux-Firewall schuld ist, dann solltest Du mal die iptables-Regel schicken, dann kann man vielleicht mehr dazu sagen. - Wie lasse ich mir die diesbezüglichen Timeouts von iptables (NAT) anzeigen? (Setzen geht angeblich nicht - früher mit ipchains ging es). Du kannst mit cat /proc/net/ip_conntrack alle aktiven TCP Verbindungen anzeigen lassen. Ein fixes Timeout gibt es nicht; das wird dynamisch in Abhängigkeit von der Größe der Verbindungstabelle geregelt. Gruß, Harald -- Harald Weidner [EMAIL PROTECTED] -- 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)
Unbekannter port bzw. Frage zu lsof/netstat
Hallo, auf einem Rechner (2.4.x) wird mir mit netstat -a u.a. folgendes angezeigt: tcp0 0 *:40372 *:* LISTEN tcp0 0 *:40373 *:* LISTEN Mit lsof -P|grep 40372 wird mir nichts angezeigt. Ich möchte dabei natürlich herausfinden, welcher Prozess diese Ports geöffnet hat. Mit allen anderen Ports, die als tcp/LISTEN angezeigt werden klappt das auch - nur hier nicht. Wie mache ich es richtig bzw. kann mir jemand dazu mehr sagen (evtl. mache ich was falsch?). Danke Mfg, Tim
Re: Unbekannter port bzw. Frage zu lsof/netstat
Hi Jörg, auf einem Rechner (2.4.x) wird mir mit netstat -a u.a. folgendes angezeigt: tcp0 0 *:40372 *:* LISTEN tcp0 0 *:40373 *:* LISTEN was sagt denn netstat -tulpen ? ich habe inzwischen ein Kernelupdate gemacht (und neu gestartet). Die Ports tauchen jetzt nicht mehr auf. 'netstat -tulpen' bringt bei den meisten offenen Ports anstatt der PID ein '-'. Für mich hat sich das erst einmal erledigt... (kostet zu viel Zeit und bringt am Ende nix) Danke für deine Antwort. Mfg, Tim
Re: Unbekannter port bzw. Frage zu lsof/netstat
Hallo Christian, Für mich hat sich das erst einmal erledigt... (kostet zu viel Zeit und bringt am Ende nix) Ausser evtl. die vermeidbare Arbeit einer Neuinstallation, wenn Du feststellst, dass da irgendwer ein Backdoor installiert hat... Das waren auch meine hauptsächlichen Bedenken. Ich wuerde lieber jetzt ein wenig Zeit investieren und zusehen, dass die Kiste nur das anbietet, was Du auch brauchst. Nach dem Reboot habe ich gesehen, daß Port 2049 und 32768 im LISTEN mode sind und ebenfalls keine PIDs mit 'netstat -tulpen' angezeigt wird. Per Google habe ich gefunden, daß dies der NFS daemon (Kernel Prozess) ist. Ebenfalls gefunden habe ich, daß dynamische Ports startend ab 32768 (früher 1024) vergeben werden. Das ganze habe ich inzwischen auf verschiedenen Systemen so vorgefunden - alle mit NFS import bzw. export und Kernel =2.4.21. Auf anderen Maschinen war dergleichen nicht zu finden. Ich denke NFS ist eine gute Erklärung. Mfg, Tim
Firewall/NAT TCP timeouts (Debian Kernel 2.4.26)
Hallo, ich habe hier Probleme mit NATed TCP/IP Verbindungen von 'draussen'. Allerdings nur, wenn die Verbindung längere Zeit stehen bleibt und kein Traffic für ca. 1-2 Minuten erfolgt. Wenn dann der 'interne' Server ein Packet schickt, kommt sofort ein Antwortpacket mit 'RST' Flag gesetzt - die Verbindung wird dann geschlossen. Der Client bekommt überhaupt nichts mit - das Packet kommt also nicht von ihm sondern von der Firewall/NAT Modul. Das Problem läßt sich umgehen, wenn ich z.B. alle 10s ein Dummypacket schicke. Ist also sehr wahrscheinlich ein Timeout Problem, evtl. in der NAT Tabelle. Ich setze SID mit 2.4.26 Kernel ein - alles auf dem letzten Stand. Es muß noch gesagt werden, daß vor meiner Firewall noch ein Router mit NAT sitzt (SpeedTouch 600series). Das Problem könnte also auch dort liegen. Hansenet hat angeblich heute Nacht die Firmware updated - hat aber für dieses Problem nichts gebracht (die irrtümliche Abschaltungen einzelner Ports aufgrund von fehlerhafter Portscan 'Erkennung' scheint nun gefixt zu sein). Jetzt meine Fragen: - Ist dieses Problem jemandem bekannt? Falls ja, ist es Router oder Linux-Firewall? Und wie läßt es sich 'richtig' beheben? - Wie lasse ich mir die diesbezüglichen Timeouts von iptables (NAT) anzeigen? (Setzen geht angeblich nicht - früher mit ipchains ging es). Ich danke für Eure Geduld und im Vorraus jedem potentiellem Helfer. Mfg, Tim
Re: kde's Alt-Tab funktioniert nicht mehr
Hi, temporär umstellen mit xmodmap -e 'clear mod1' -e 'add mod1 = Alt_L' Mfg, Tim Am Dienstag, 6. Juli 2004 20:12 schrieb Andreas Pakulat: das Problem hab ich schon ne Weile aber so langsam wirds echt nervig. Das Umschalten zwischen den Fenstern funktioniert nicht mehr, d.h. ich kann zwar zu den Fenstern wechseln in der Liste, aber muss Enter druecken um tatsaechlich den Fokus zu wechseln. Da ich kaum glaube das das ein Feature ist wollte ich mal hier fragen ob jmd. das Problem schon bekannt ist, oder ob wenigstens jemand ne Idee hat welches KDE-Paket dafuer verantwortlich sein koennte (ich hab nicht die Zeit momentan alle Bugreports zu KDE-Basispaketen durchzuforsten).
Re: Metatasten funktionieren nicht mehr
Hallo Mathias, du kannst das bis zum nächsten Reboot umstellen mit modmap -e 'clear mod1' -e 'add mod1 = Alt_L' Ich habe allerdings noch nicht rausgefunden, wie man das permanent einstellt. Mfg, Tim
Re: fsck very slow
My experience says 5mins are ok for ext2. My machines with different kernels (2.4.x), ext2 and just a few GBytes of used diskspace take 15-20mins for a fsck (CPUs have 500-1000 MHz, using fast UW2 SCSI systems). This is why i switched to journalling filesystems on newer systems. Regards, Tim Am Freitag, 11. Juni 2004 14:30 schrieb Christian Christmann: Hi, I am using Kernel 2.6.5 and Debia Sarge. During the boot process fsck 1.35 is checking my filesystems when they have been mounted couple times. When my linux installation was fresh this process took just some seconds. But since I have made some upgrades it now takes very long approx. 5 min (depending on size of partition). Any hints how to solve this problem? Thank you. Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
SOLVED: SID: gcc 3.3 macht Zicken seit heutigem dist-upgrade
So. Nach einigen erfolglosen dpkg-reconfigure habe ich mit strace den Fehler eingrenzen können: cc1 aus dem Packet 'cpp-3.3' stürzte ab mit 'SIGSEGV' - mit der Meldung 'cc1: internal ...'. Nach dem Leeren von /var/cache/apt/archives und 'apt-get --reinstall install cpp cpp-3.3' funktioniert jetzt wieder alles. Evtl. waren die Archive auf dem Server zeitweilig defekt oder beim Download ist etwas schiefgegangen... nicht mehr nachvollziehbar. Danke für Eure Mühe. Tim
Re: Sarge Kernel 2.6 and (K)dm)
Hello Björn, I had the same problem with SID. First of all I had to update /etc/modules: (Commented entries were working with kernel 2.4) #usb-uhci uhci-hcd #input #usbkbd #keybdev psmouse mousedev e100 #ide-scsi usb-storage With kernel 2.6 PS/2 mouses have an own kernel module. My active mouse section from /etc/X11/XF86config-4 looks like this: Section InputDevice Identifier Configured Mouse Driver mouse Option CorePointer Option Device/dev/input/mice Option Protocol ImPS/2 Option Emulate3Buttons true Option ZAxisMapping 4 5 EndSection I hope that's all (i'm not 100% sure). Tim Am Freitag, 21. Mai 2004 09:30 schrieb Björn Wolter: Ich habe installed a current snapshot of sarge the i installed the kernel 2.6.4 image now i cant boot directly into X. I use kdm as the login manager... kdm.log and XFree86*.log tells me that he has no core pointer, also he cannot open /dev/input/mice. strange is.. when i log in as root, and start kde with /etc/init.d/kdm start, he runs kdm and no errors like no core pointer appears. i have reconfigured the device section in XF86Config-4 to /dev/psaux and /dev/input/mice - all the same result. when i start debian with kernel 2.4.x kdm works well... so it must be problem with kernel 2.6 my mouse device section looks like this .. Identifier Generic Mouse Driver mouse Option SendCoreEvents true Option ProtocolImPS/2 Option Device /dev/input/mice Option ZAxisMapping 4 5 .. has someone a tip for me to run X (kdm) with kernel 2.6 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
SID: gcc 3.3 macht Zicken seit heutigem dist-upgrade
Hi, bevor ich einen Bug melde, hat evtl. hier einer eine Idee, was falsch sein könnte: Seit dem heutigen 'apt-get dist-upgrade' wirft 'gcc x.c' nur noch folgendes aus: cc1: internal compiler error: in Internal compiler error: Error reporting routines re-entered. Please submit a full bug report, with preprocessed source if appropriate. For Debian GNU/Linux specific bug reporting instructions, see URL:http://gcc.gnu.org/bugs.html. gcc --version: gcc (GCC) 3.3.3 (Debian 20040417) # dpkg -l '*gcc*'|grep -v ^un ii gcc3.3.3-3The GNU C compiler pn gcc-3.0-base none (no description available) pn gcc-3.2none (no description available) pn gcc-3.2-base none (no description available) ii gcc-3.33.3.3-8The GNU C compiler ii gcc-3.3-base 3.3.3-8The GNU Compiler Collection (base package) ii libgcc13.3.3-8GCC support library Hat jemand eine Idee? Mfg, Tim
Re: hostrouten/interfaces - wo Debian konform eintragen ?
Hallo Jürgen, da ich von SuSE kam (naja auch schon länger her), war ich so etwas wie /etc/route.conf gewöhnt. Ich habe ein kleines Skript geschrieben, das für meine Zwecke reicht: /etc/network/route, x-flags setzen: while read net gate; do case $net in \#*|) continue esac echo $net $gate adr=`echo $net|cut -d'/' -f1` mask=`echo $net|cut -d'/' -f2` echo $net|read adr mask if [ $mask = 32 -o $mask = ]; then route add -host $adr gw $gate else route add -net $net gw $gate fi done /etc/network/route.conf In /etc/network/interfaces habe ich folgendes eingetragen: iface eth0 inet static ... up /etc/network/route /dev/null Und die Datei /etc/network/route.conf sieht so aus (Beispiel): ... # C Netzwerk 10.120.128.0/24 isdn-router 193.99.144.80/32 192.168.1.1 ... # fuer Deinen Fall sollte funktionieren 10.10.10.10/32 IP von eth2 Falls Du doch 'route ... dev eth2' benötigst, dann sollte das obige Skript leicht zu erweitern sein. Ein Skript, das die Routen wieder entfernt, würde sehr ähnlich aussehen und wäre dann in /etc/network/interfaces mit 'down ...' einzutragen. Habe ich bisher noch nicht gebraucht (Kackstabil so ein Linuxsystem;-) Mfg, Tim Am Mittwoch, 12. Mai 2004 15:41 schrieb Juergen Sauer: Moin, google hin - google her, hilft manchmal nicht nicht sehr. Wo muß ich Debian standard gemäß hostrouten bei einem recht komplexem LAN eintragen ? Im Prinzip will ich Ausnahmen zum Subnetz/24 unterbringen. Zu Fuß ist das ja einfach: # route add -host 10.10.10.10 eth2 Ich kann ja auch das /etc/network/if-up.d dir via script erledigen. Ist das der richtige Weg ? Aber macht man das Debian Standard konform ? Kann mir damit auf die Sprünge helfen ? Danke Jürgen Sauer -- Jürgen Sauer - AutomatiX GmbH, +49-4209-4699, [EMAIL PROTECTED] ** ** Das Linux Systemhaus - Service - Support - Server - Lösungen ** ** http://www.automatix.deICQ: #344389676 ** OpenOffice erhalten Sie hier kostenfrei http://de.openoffice.org/
Re: synaptic zeigt mehr als dpkg -l
Danke. Bis her dachte ich apt wäre nur ein wrapper um dpkg (da es ja auch apt für rpm gibt). Ist halt nicht mein Thema ;-) Mfg, Tim Am Donnerstag, 22. April 2004 18:44 schrieb Andreas Metzler: Tim Ruehsen [EMAIL PROTECTED] wrote: mich verwirrt, daß z.B. dpkg -l '*xpdf*' nicht die selbe Liste ausgibt, wie eine (Packet)Search nach 'xpdf' in Synaptic. Kann mir das jemand erklären? Ich verstehe anscheinend die dpkg Syntax nicht. [...] Vermutlich fragt synaptics direkt die apt-Datenbank ab, dpkg schaut dagegen in /var/lib/dpkg/available nach. Diese Datei laesst sich mit dselect update aktualisieren. cu andreas -- NMUs aren't an insult, they're not an attack, and they're not something to avoid or be ashamed of. Anthony Towns in 2004-02 on debian-devel
synaptic zeigt mehr als dpkg -l
Hi, mich verwirrt, daß z.B. dpkg -l '*xpdf*' nicht die selbe Liste ausgibt, wie eine (Packet)Search nach 'xpdf' in Synaptic. Kann mir das jemand erklären? Ich verstehe anscheinend die dpkg Syntax nicht. # dpkg -l '*xpdf*' un gs-pdfencrypt none (no description available) ii kpdf 3.2.2-1PDF viewer for KDE un pdf-viewer none (no description available) un xpdf-chinese-s none (no description available) un xpdf-chinese-t none (no description available) un xpdf-commonnone (no description available) un xpdf-japanese none (no description available) un xpdf-koreannone (no description available) un xpdf-readernone (no description available) Synaptic zeigt daneben noch folgende Packete an: xpdf xpdf-i xpdf-utils Mfg, Tim
Re: GCC und shared library debakel
Hi, wenn es nur darum geht, mit gcc2.95 übersetzte Programme zum Laufen zu bewegen, sollte es ausreichen die 'Laufzeitumgebung' (also die vom Programm benötigten Bibliotheken, z.B. glibc) mit gcc2.95 zu übersetzen und parallel zu installieren. Das ist relativ einfach, wenn die Bibliotheksversionen sich unterscheiden. Wenn nicht - da habe ich keine Erfahrung. Übrigens: die ABI hat sich nicht für C sondern für C++ geändert. Zumindest laufen alle meine 2.95 C-Programme (übersetzt auf 7.3 SuSE mit glibc 2.2.4) auf SID (glibc 2.3.2, wobei ich nicht weiß, mit welcher gcc Version die Packete übersetzt wurden - nehme aber gcc 3.x an). Je mehr ich darüber nachdenke... evtl. ist Dein Problem ein ganz anderes... wirf doch mal mehr Infos rüber (z.B. Ausgabe von ldd dein programm). Mfg, Tim Rühsen Am Donnerstag, 15. April 2004 08:52 schrieb Hänel Matthias: Hallo zusammen... Ich bin neu hier in der Liste und habe gleich ein Problem :) Wenn ich Applikationen mit dem alten GCC 2.95 kompiliere laufen diese auf einem System mit einem GCC3.x nicht mehr. Hat jmd ne Ahnung wie man das trotzdem hinbekommt oder geht das überhaupt nicht? Ich hab gelesen das liegt an dem ABI. Als Fehlermeldung auf dem GCC 3.x System bekomme ich unresolved symbols wie zum Beispiel: __rtti_user und einige mehr. Würde es nicht irgendwie gehen einfach das alte Runtime Envoironment nachzuinstallieren? Ich habe auch schon statisches Linken gegen die GLibc versucht, mit dem gleichen Ergebnis :( Vielleicht hat von euch jmd eine Idee oder Anregung. Danke Matthias
threads anzeigen auf kernel 2.6?
Hallo, auf Systemen mit 2.4 Kernel sehe ich Threads (-lpthread) in der Prozessliste. Auf meinem System mit 2.6 Kernel sehe ich das nicht mehr (ok, ein anderer Scheduler als auf 2.4). Mit welchem Tool bzw. Kommando kann ich mir die Threads anzeigen lassen? Mfg, Tim -- 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: sun java1.4 installation
Java: siehe http://blog.rompe.org/node/view/151 Am Monday 22 March 2004 17:06 schrieb Steffen Hey: Hallo, ich möchte Sun Java 1.4 oder höher installieren gibt es da einen Königsweg? außerdem benötige ich eclipse. Welche Version soll ich nehmen oder ist das unerheblich? Gruß Steffen -- und sie bewegt sich doch -- Galileo Galilei -- 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)
Frage bzgl. Kernel2.6.3 und XFree86 PS/2 Mouse Einbindung
Hallo, nachdem ich mit dem 2.6.3 Kernel gebootet habe, wurde meine Maus (PS/2) nicht von XFree86 erkannt (also KDE/X11 wurden nicht gestartet). Nach einem 'modprobe psmouse' und 'modprobe mousedev' ging es dann. Warum werden diese Module nicht per Default geladen? Ist PS/2 für Mäuse inzwischen unüblich geworden? Oder mache ich etwas falsch? Helfen Einträge 'psmouse' und 'mousedev' in /etc/modules? Was wäre die 'saubere' Lösung? Z.Z. (also für Kernel 2.4.25) sieht meine /etc/modules so aus: usb-uhci input usbkbd keybdev e100 ide-scsi #klar - fliegt raus wenn ich dauerhaft auf 2.6 umstelle) usb-storage Die Mauskonfig in XFree86-4 sieht so aus: Section InputDevice Identifier Configured Mouse Driver mouse Option CorePointer Option Device/dev/psaux Option Protocol ImPS/2 Option Emulate3Buttons true Option ZAxisMapping 4 5 EndSection Welchen Unterschied würde ein Option Device/dev/input/mice anstelle von Option Device/dev/psaux machen? Danke schon mal für Eure Hilfe. Mfg, Tim -- 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: Frage bzgl. Kernel2.6.3 und XFree86 PS/2 Mouse Einbindung
Danke für die kompetente Antwort. Jetzt läuft alles rund. Mfg, Tim Am Friday 12 March 2004 12:03 schrieb Andreas Janssen: Hallo Tim Ruehsen ([EMAIL PROTECTED]) wrote: nachdem ich mit dem 2.6.3 Kernel gebootet habe, wurde meine Maus (PS/2) nicht von XFree86 erkannt (also KDE/X11 wurden nicht gestartet). Nach einem 'modprobe psmouse' und 'modprobe mousedev' ging es dann. Warum werden diese Module nicht per Default geladen? Ist PS/2 für Mäuse inzwischen unüblich geworden? Oder mache ich etwas falsch? Nein. Aber bei den alten Kerneln konnte der PS2-Treiber für Mäuse nicht als Modul übersetzt werden, man brauchte also keine Module dafür laden. Helfen Einträge 'psmouse' und 'mousedev' in /etc/modules? Was wäre die 'saubere' Lösung? Ja. Z.Z. (also für Kernel 2.4.25) sieht meine /etc/modules so aus: usb-uhci Das heißt jetzt uhci-hcd. Mit einem Eintrag wie alias usb-uhci uhci-hcd in /etc/modprobe.d/aliases und einem anschließenden update-modules sollte es aber auch weiterhin funktionieren. input usbkbd keybdev e100 ide-scsi #klar - fliegt raus wenn ich dauerhaft auf 2.6 umstelle) usb-storage Die Mauskonfig in XFree86-4 sieht so aus: Section InputDevice Identifier Configured Mouse Driver mouse Option CorePointer Option Device/dev/psaux Option Protocol ImPS/2 Option Emulate3Buttons true Option ZAxisMapping 4 5 EndSection Welchen Unterschied würde ein Option Device/dev/input/mice anstelle von Option Device/dev/psaux machen? Bei 2.6 soweit ich weiß keinen mehr, da man jetzt auch PS/2-Mäuse über /dev/input/mice ansprechen kann. Man sollte nur daran denken, daß debconf in der X-Konfigurationsdatei normalerweise zwei Einträge macht, einmal Configured Mouse mit den gewählten Einstellung, z.B. /dev/psaux, außerdem Generic Mouse mit /dev/input/mice. Das kann zu Problemen führen, da beide Einträge die gleiche Maus ansprechen. Wahrscheinlich gilt ähnliches für gpm-Benutzer. In diesen Fällen sollte man den Generic Mouse-Eintrag am besten deaktivieren. Grüße Andreas Janssen -- Andreas Janssen [EMAIL PROTECTED] PGP-Key-ID: 0xDC801674 Registered Linux User #267976 http://www.andreas-janssen.de/debian-tipps.html -- 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) -- 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)
Frage bzgl. Kernel2.6.3 und XFree86 PS/2 Mouse Einbindung
Hallo, nachdem ich mit dem 2.6.3 Kernel gebootet habe, wurde meine Maus (PS/2) nicht von XFree86 erkannt (also KDE/X11 wurden nicht gestartet). Nach einem 'modprobe psmouse' und 'modprobe mousedev' ging es dann. Warum werden diese Module nicht per Default geladen? Ist PS/2 für Mäuse inzwischen unüblich geworden? Oder mache ich etwas falsch? Helfen Einträge 'psmouse' und 'mousedev' in /etc/modules? Was wäre die 'saubere' Lösung? Z.Z. (also für Kernel 2.4.25) sieht meine /etc/modules so aus: usb-uhci input usbkbd keybdev e100 ide-scsi #klar - fliegt raus wenn ich dauerhaft auf 2.6 umstelle) usb-storage Die Mauskonfig in XFree86-4 sieht so aus: Section InputDevice Identifier Configured Mouse Driver mouse Option CorePointer Option Device/dev/psaux Option Protocol ImPS/2 Option Emulate3Buttons true Option ZAxisMapping 4 5 EndSection Welchen Unterschied würde ein Option Device/dev/input/mice anstelle von Option Device/dev/psaux machen? Danke schon mal für Eure Hilfe. Mfg, Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Upps, sorry wrong list
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: KDE 3.2: beim Starten 'Could not start kdeinit ...'
Ich kann mich erinnern, dass das mit xfree zu tun hatte. Jedenfalls war die Lösung eine neue Version eines xfree Packetes. Tim Am Mittwoch, 4. Februar 2004 08:54 schrieb Tobias Niwi: Hallo, ich habe gestern KDE 3.2 unter Woody (+ verschiedene Backports) installiert. Jetzt bekomme ich beim Starten von KDE folgende Fehlermeldung: 'Could not start kdeinit. Check your Installation.' Auf der Konsole sieht man dann den eigentlichen Fehler: 'kdeinit: relocation error: /usr/lib/qt3/lib/libqt-mt.so.3: unresolved symbol: FT_Seek_Stream'. Dieses Problem ist unter anderen Bedingungen (Suse, KDE 3.1.5) bereits vor einiger Zeit in 'de.comp.os.unix.apps.kde' unter dem Treat 'kdeinit unresolved symbols' beschrieben und die vermutliche Ursache gefunden worden, aber es scheint bisher eine wirkliche Lösung zu fehlen. Ich kann die Meldung zwar einfach wegklicken und KDE startet dann auch, aber einige Systemeinstellungen (Linkshändermaus, Auswahl verschiedener Tastaturbelegungen u.a.) werden dann nicht gestartet. 'Beheben' läßt sich das Problem, wenn ich von 'libfreetype6' Version 2.1.4-5 (Backport von 'debian.stdout.at', es betrifft aber auch andere Backports) auf 'libfreetype6' Version 2.0.9-1 downgrade. Dann müsste ich aber auf Gnome 2.2, Mozilla-Xft, Gimp2, Gaim u.v.a. verzichten, was ich nicht möchte. Ich bin für jeden Tipp/Workaround dankbar. Tobias -- 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: OT: Datenkonvertierung
Hallo Rüdiger, nimm folgendes kleine C-Programm: #include stdio.h int main() { int c; while (fscanf(stdin,%2x,c)==1) fputc(c,stdout); return 0; } Als hex2asc.c speichern, übersetzen mit gcc hex2asc.c -o hex2asc und aufrufen mit (Datei xxx.hex nach xxx wandeln) ./hex2asc xxx.hex xxx Alles klar? Tim Am Freitag, 30. Januar 2004 13:18 schrieb Ruediger Noack: Moin Ich bin mit einem blöden Problem konfrontiert. :-( Die aus einer alten DB ausgelesenen Dateien liegen in einem eigenartigen Format vor. Jedes Hex-Byte ist dort mit 2 ASCII-Zeichen gespeichert. 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. Kann mir jemand auf die Sprünge helfen? Danke und Gruß Rüdiger -- Mit schönen Grüßen von Yahoo! Mail - http://mail.yahoo.de -- 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: Cloning
Just to add a point to #2: Instead of dd'ing you could cpio one or more archives onto a NFS (or SMB) drive, partition all your drives and play back the cpio archives. This seems to bee good if you have a big HD but little space used (e.g. 80GB drive, but just 3GB data). AND you could start the copy on each of your clones at (nearly) the same time and go to lunch... ;-) Am Donnerstag, 29. Januar 2004 17:12 schrieb Gregory Seidman: On Thu, Jan 29, 2004 at 04:00:23PM +0100, Pedro Hernandez wrote: } Hello all! } } I'm about to install Debian on 12 computers (i*86). They will use the } same setup regarding software, but the hardware differs somewhat } between them. } } I would like to know if there is possible to, for example, install and } configure one box and then somhow copy the install to the others. Or } is the debian installer maybe scriptable? } } Well, I have never done anything similar before- suggestions, anyone? Though I don't have an immediate need for this, I expect to in the future. This means that I've been playing with ideas in my head, but haven't tested anything. Here are a few ideas, starting from the assumptions that you have configured a master and that your machines are x86 and identical: 1) dpkg --get-selections | grep '\install\' | cut -f1 | xargs dpkg-repack This will produce .debs of everything installed, including any changes you have made to config files, which you can use to recreate the system on a new machine once it has gone through a base install. Note that this will not capture additional config files, and that it can cause some issues with new versions overwriting modified config files later. See the dpkg-repack man page for details. Note that this still requires an install on each machine. 2) Get an external disk identical to all the internal disks. This isn't as hard as it sounds; get the disk, then get a USB or Firewire external enclosure for it. Boot with Knoppix and use dd to copy the master disk (entire disk, including MBR, e.g. /dev/hda not /dev/hda1) onto the external. Boot other machines with Knoppix and external drive connected and dd from external to internal. This preserves partitioning and everything, but can be expected to be slow for large disks. 3) Variant of #2. Instead of using an external disk, both the master and the clone with Knoppix, then use dd over netcat (you'll need a named pipe on each side). It may be possible to use UDP multicast or broadcast with netcat (this might require modifying the netcat source) to do more than one clone at a time. This requires a fast network (probably disconnected from everything else temporarily because it will completely fill the bandwidth) and many Knoppix CDs. It can be expected to be even slower than #2 for large disks, but if the multi-/broadcast trick works then it is amortized over the multiple concurrent installs. 4) Get an extra disk large enough to hold the full install (need not be identical to other disks, need not be external, only needed temporarily). Between installing and configuring the master, duplicate the master onto the external disk. After configuring, boot Knoppix and produce a diff -ur of the roots of the two disks. Get the output of dpkg --get-selections. Install the base system on a clone. Armed with the dpkg selections (named selections) and the diff output (name clone.patch), load the selections into dpkg (dpkg --set-selections selections), install the selected packaged (apt-get dselect-upgrade), then boot into Knoppix and patch the system (patch clone.patch). This needs refining, but it should work pretty dependably, especially with a local repository mirror. 5) Refinement of #4. No need for an extra disk, just keep a backup of each config file you change and produce patches for each one separately. } Thanks, } --ph --Greg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Kernel updaten ohne neustart
Am Donnerstag, 15. Januar 2004 14:24 schrieb Norbert Tretkowski: * Daniel Wagner wrote: Mich quält schon seit 2 Tagen die Frage: Ist es eigentlich möglich den Kernel ohne neustart auf den neusten Stand zu bringen? Nein. Und wenn nicht: Wie machen es dann alle Administratoren WICHTIOGER Maschinen die nicht mal eben ihren Server neustarten können? Werden Sicherheitslücken wie zB ptrace nich geschlossen da man nicht rebooten kann ? Die Maschine wird zu einem Zeitpunkt rebootet, wenn es am wenigsten weh tut (nachts, oder am Wochenende). Und: WICHTIGE Systeme sind in der Regel redundant ausgelegt, eben weil Sie WICHTIG sind. Der Reboot einer Maschine darf natürlich nicht den Betrieb lahmlegen und wird es auch nicht. Deswegen kann der Admin so eine Maschine jederzeit runterfahren. Alle nicht-redundanten Systeme sind entweder nicht wirklich wichtig oder die Verantwortlichen gehören in eine andere Abteilung (z.B. zum Briefe stempeln). Mfg, Tim -- 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)
KDGKBENT at index 128 in table 0: Invalid argument
Hi, with SID I got the following error today: blitz-lx:# apt-get dist-upgrade ... bla ... Setting up console-common (0.7.34) ... Looking for keymap to install: de-latin1-nodeadkeys KDGKBENT at index 128 in table 0: Invalid argument Failed to dump keymap! This might be because your console cannot be opened. Perhaps you don't have video card, are connected via the serial console or ssh. Not loading keymap! Loading /etc/console/boottime.kmap.gz Does anyone know an instant solution? Or give me a hint on how to track it down? Is it worth a bug report? Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dpkg und die msttcorefonts
Hallo Christoph, ich habe mir die Fontdateien 'per Hand' geholt, von einem anderen Sourceforge Server. Du wirst von msttcorefonts gefragt, ob Du die Fateien schon lokal hast. Da sagst Du ja und wo und schon klappt's. Tim Am Freitag, 5. Dezember 2003 09:28 schrieb Christoph Bohm: Hallo Liste, aus irgendeinem Grund scheinen die msttcorefonts nicht mehr zu holen zu sein. Wenn dpkg versucht, sich auf den M$-Server zu verbinden, kommt keine Rückmeldung, so daß ich den Vorgang mit strg-c abbrechen muß. --09:23:23-- http://belnet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe = `./andale32.exe' Resolving belnet.dl.sourceforge.net... 193.190.198.97 Connecting to belnet.dl.sourceforge.net[193.190.198.97]:80... ... und so bleibt es bis zum St. Nimmerleinstag... Leider scheint dpkg sich zu merken, daß es einst versuchte, dieses Paket zu installieren... Jedesmal, wenn ich nun per apt-get install etwas installieren will, kommt danach wieder der Dialog für die msttcorefonts. Dies ist doof :) Weiß jemand, wie ich dpkg dieses Verhalten abgewöhnen kann? (Es reicht schon, wenn dieses eine Paket nicht mehr immer wieder angefragt wird...) Dank und Gruß Christoph -- -- 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: My machine compromised?
Am Mittwoch, 3. Dezember 2003 10:03 schrieb Vanh Phom: Hi folk, After reading on report of servers compromised. Just for curiorsity I run chkrootkit on my own machine and come up with this result: Searching for anomalies in shell history files... nothing found Checking `asp'... not infected Checking `bindshell'... not infected Checking `lkm'... You have12 process hidden for readdir command You have12 process hidden for ps command Warning: Possible LKM Trojan installed Checking `rexedcs'... not found Checking `sniffer'... eth0: PROMISC Is my machine compromised? How to fix this? Find out, who uses your eth0 interface in promiscous mode. Maybe you have programs like ntop or network analysers running. Switch them off and try again chkrootkit. 12 processes? On 2.2 kernel you should no such processes, on 2.4 4 processes seem to be 'normal'. You should find out details about 'LKM' (e.g. google), maybe consult www.chkrootkit.org. Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Debian Package Finder, where?
Am Dienstag, 2. Dezember 2003 03:02 schrieb Chema: Heya there. Now that packages.debian.org is down, I have found myself looking for which deb provides such file/library a pair of times. Having resolved the situation in unusual froms, I'm starting to miss packages.deb. Is there a mirror or equivalent search engine? Google shows that at least there where, but found no working one. Take a look at http://www.apt-get.org/search.php Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Keine Umlaute auf der Konsole
Hi, auf der Konsole werden äöü etc. nicht dargestellt. Was muss ich tun um das zu beheben? Mfg, Tim -- 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: Keine Umlaute auf der Konsole
auf der Konsole werden äöü etc. nicht dargestellt. Was muss ich tun um das zu beheben? versuchs mit: dpkg-reconfigure console-common Tja, das war's nicht. Wie vorher (de-latin1-nodeadkeys), scheint alles ok zu sein. Nur äöü werden nicht angezeigt. Im vi nur als Sonderzeichen \xxx. Irgendetwas fehlt... nur was? Mfg, Tim -- 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: Keine Umlaute auf der Konsole
Am Dienstag, 25. November 2003 14:41 schrieb Joachim Schlöffel: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Dienstag, 25. November 2003 14:35 schrieb Tim Ruehsen: auf der Konsole werden äöü etc. nicht dargestellt. Was muss ich tun um das zu beheben? versuchs mit: dpkg-reconfigure console-common Tja, das war's nicht. Wie vorher (de-latin1-nodeadkeys), scheint alles ok zu sein. Nur äöü werden nicht angezeigt. Im vi nur als Sonderzeichen \xxx. Irgendetwas fehlt... nur was? dpkg-reconfigure locales (???) Nein. Das ist in Ordnung. In /etc/locale.gen steht [EMAIL PROTECTED] ISO-8859-15 locale-gen natürlich ausgeführt. Mfg, Tim -- 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: Keine Umlaute auf der Konsole
Am Dienstag, 25. November 2003 14:41 schrieb Sven 'Rae the Git' Grounsell: On Tue, 25 Nov 2003 14:35:52 +0100 Tim Ruehsen [EMAIL PROTECTED] wrote: auf der Konsole werden äöü etc. nicht dargestellt. Was muss ich tun um das zu beheben? versuchs mit: dpkg-reconfigure console-common Tja, das war's nicht. Wie vorher (de-latin1-nodeadkeys), scheint alles ok zu sein. Nur äöü werden nicht angezeigt. Im vi nur als Sonderzeichen \xxx. Irgendetwas fehlt... nur was? du brauchst natuerlich auf der konsole auch ne schriftart, die die zeichen unterstuetzt... Ok, welche denn? Also inzwischen habe ich language-env installiert. Wenn ich dann set-language-env ausführe und mich neu einlogge, dann werden die Umlaute angezeigt;-) Leider ist die Sprache jetzt deutsch - und ich mag keine deutschen Fehlermeldungen. set-language-env scheint nur folgendes zu tun: [EMAIL PROTECTED] export LANG [EMAIL PROTECTED] [EMAIL PROTECTED] #export LC_MESSAGES LC_CTYPE if [ -d /usr/X11R6/lib/X11/nls ]; then XNLSPATH=/usr/X11R6/lib/X11/nls export XNLSPATH fi export MM_CHARSET=ISO-8859-15 Wenn ich jetzt per Hand 'unset LANG' ausführe, dann werden deutsche Umlaute angezeigt und die Fehlermeldungen bleiben englisch. Wenn ich diese Sachen 'per Hand' setze, passiert allerdings gar nichts... Das kommt mir alles wie Murks vor, also nochmal die Frage: Wie mache ich es denn jetzt 'richtig', also sauber? Mfg, Tim -- 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: Keine Umlaute auf der Konsole
Am Dienstag, 25. November 2003 15:04 schrieb Dirk Wernien: Am Dienstag, 25. November 2003 13:08 schrieb Tim Ruehsen: Hi, auf der Konsole werden äöü etc. nicht dargestellt. Was muss ich tun um das zu beheben? Mfg, Tim Hi Tim, probier mal: apt-get install fonty Probiert. Funktioniert leider auch nicht. Mfg, Tim -- 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)
[SOLVED] Keine Umlaute auf der Konsole
Am Dienstag, 25. November 2003 13:08 schrieb Tim Ruehsen: Hi, auf der Konsole werden äöü etc. nicht dargestellt. Was muss ich tun um das zu beheben? Mfg, Tim Wie Dirk Lipinski mir schrieb: letzte Zeile in /etc/inputrc auskommentieren. Danke Dirk, das war es. Mfg, Tim -- 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)
Keine Umlaute auf der Konsole
Hi, auf der Konsole werden äöü etc. nicht dargestellt. Was muss ich tun um das zu beheben? Mfg, Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Keine Umlaute auf der Konsole
Urg... sorry should have been posted in debian-user-german. Grtz, Tim Am Dienstag, 25. November 2003 13:05 schrieb ben: On Tue, 25 Nov 2003 11:37:15 +0100 Tim Ruehsen [EMAIL PROTECTED] wrote: Hi, auf der Konsole werden äöü etc. nicht dargestellt. Was muss ich tun um das zu beheben? Mfg, Tim da debian-user mitglieder meistens auf englisch schreiben und daher weniger ahnung darueber haben wuerden, dann erstmals besser bei debian-de (oder wie es heisst) mal fragen. ben -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Keine Umlaute auf der Konsole
Am Dienstag, 25. November 2003 13:36 schrieb Christian Schnobrich: On Tue, 2003-11-25 at 13:07, Tim Ruehsen wrote: Urg... sorry should have been posted in debian-user-german. Na,na,na... auch hier gibt's Leute, deren Muttersprache nicht englisch ist. auf der Konsole werden äöü etc. nicht dargestellt. Was muss ich tun um das zu beheben? First, start tasksel or aptitude and install the task 'german environment'. I prefer aptitude for the job, because this allows me to unselect a few packages I'm sure I'll never need. During installation, debconf will ask you wether you want to set german as the standard language throughout the system. If you want umlauts in filenames, this is perhaps the way to go. Alternatively, you may (as user) run set-language-environment. This will install too many unneeded packages. I do not want to have german stuff (docs etc.), just want my umlauts to be displayed on the console. Grtz, Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Wine App stürzt ab, bitte um Hilfe
Hi, ich bin gerade von SuSE8.1 auf SID umgestiegen und habe hier das Problem, daß keines meiner benötigten Windows-Programme mit Wine vernünftig funktioniert. Ich kann es nicht 100% verifizieren, aber es scheint mit Multithreading zu tun zu haben. Z.B. startet eine Anwendung, sobald ich aber eine Aktion ausführe, die einen Thread startet, öffnet sich der wine-dbg mit: wine: Unhandled exception (thread 000a), starting debugger... WineDbg starting on pid 8 No debug information in ELF '/usr/bin/wine.bin' ((nil)) Breakpoint 1 at 0x4000c680 No debug information in ELF '/usr/lib/libntdll.dll.so' (0x40025000) ... No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0x40db) Unhandled exception: page fault on read access to 0x000f in 32-bit code (0x40305fa9). In 32-bit mode. 0x40305fa9 (NTDLL.DLL.memcpy+0x706e9 in libc.so.6): testb $0x1,0x8(%eax) Da diese Windows-Applikation seit mind. 2 Jahren auf allen Wine-Versionen (monatliche Updates) zumindest auf SuSE lief, frage ich mich, ob irgendein Packet fehlt oder falsch konfiguriert ist? Weiss jemand Rat? Mfg, Tim -- 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: Wine App stürzt ab, bitte um Hilfe
Am Mittwoch, 19. November 2003 12:08 schrieb Patrick Cornelissen: Tim Ruehsen wrote: Da diese Windows-Applikation seit mind. 2 Jahren auf allen Wine-Versionen (monatliche Updates) zumindest auf SuSE lief, frage ich mich, ob irgendein Packet fehlt oder falsch konfiguriert ist? Weiss jemand Rat? Vieleicht hast du jetzt ne andere (ältere?) Kernelversion Nein. Eine neuere (2.4.22-1-686), vorher 2.4.21. Tim -- 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)
Wine App stürzt ab, bitte um Hilfe
Sorry Leute, inzwischen habe ich gesehen, dass das Problem bekannt ist: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=218476 Der dort vorgeschlagene Workaround (export LD_ASSUME_KERNEL=2.4.22; wine ...) funktioniert bei mir leider nicht. Da hilft wohl nur warten. Mfg, Tim Rühsen -- 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: getting viruses/spam after posting to this list
Hi Eliot, after posting the first time with a newly created email the day after I received ~100 virus emails. I saw a least three different virus types. Since I don't want to download all these mails (got a slow connection) I installed a filter at GMX (my email provider) which says 'Delete everything with 'multipart/mixed' or 'multipart/alternative' in the mail header. This is fine for me since I only want to receive Debian mailinglists on this account. Grtz, Tim Am Donnerstag, 16. Oktober 2003 11:56 schrieb Eliot Stock: After my first post to this list last night, I woke up this morning to find 40 helpful MS security updates in my inbox. How are other people dealing with this? Does the list consider this a problem, or is it just up to me to fight this at my server? If so a pointer to any URLs that lay out all the options for server-side spam and virus blocking would be helpful, maybe it's time I installed something. Is obfuscating addresses on the list pointless because harvesters aren't fooled? What's the score? Cheers, Eliot Stock. - This mail sent through IMP: http://horde.org/imp/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Raid system
Just a general hint: You could try to boot from a rescue CD like Knoppix (http://www.knopper.net/knoppix/index.html). It has a pretty good hardware recognition. After booting, see 'lsmod' if your controller has been recognised (most times your guess is right). (Maybe read the docs in the kernel source 'Documentation' folder and create device nodes if not there). Tim Am Donnerstag, 16. Oktober 2003 14:03 schrieb Ron Rademaker: Hello, I'm trying to get RAID to work on my server. I got 2 disks (80 GB ATA) and a motherboard with RAID controller (ASUS PC-DL). The BIOS recognizes my RAID system, however debian (testing) doesn't. I guess it's a kernel driver problem, but I have no idea what to include in my kernel. Thanks, Ron PS. Could you please cc any replies to me because I'm not on the list. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: HD Kopie
Hallo Andreas, ich habe da in etwas komplizierter (SCSI/RAID und unterschiedliche Hardware) für meine Firma gemacht und beschrieben. Ich werde jetzt versuchen, das auf Deinen Fall runterzubrechen und hoffe, dass ich nichts vergesse. Da wir mit GRUB arbeiten, kann es sein, dass ich den Teil mit lilo nicht ganz hinbekomme - da musst Du dann bitte mitdenken. Ist in englisch, sorry. Zuerst machst Du Dir Images (bzw. Backups) von Deinen Partitionen (ausser swap natürlich): 1. Boot from CD (e.g. SuSE 8.2 Disk 1 (select 'Rescue System') or Knoppix (www.knoppix.de)) 2. Configure network, e.g. 'ifconfig eth0 192.168.1.5' 3. Be sure your fileserver is accessible by rsh or ssh as root. (In my case a SuSE server could be enabled by setting 'ROOT_REMOTE_LOGIN=yes' in /etc/ rc.config and putting 192.168.1.5 into root's .rhost file. Not to forget calling 'SuSEconfig' afterwards. 4. mkdir /mnt2 5. mount dev/hda1 6. find /mnt2|cpio -ovB -H crc|rsh 192.168.1.1 cat hda1.cpio 7. umount /mnt2 8. mount dev/hda5 9. find /mnt2|cpio -ovB -H crc|rsh 192.168.1.1 cat hda5.cpio 10. umount /mnt2 11. mount dev/hda6 12. find /mnt2|cpio -ovB -H crc|rsh 192.168.1.1 cat hda6.cpio 13. umount /mnt2 14. mount dev/hda7 15. find /mnt2|cpio -ovB -H crc|rsh 192.168.1.1 cat hda7.cpio 16. umount /mnt2 17. mount dev/hda8 18. find /mnt2|cpio -ovB -H crc|rsh 192.168.1.1 cat hda8.cpio 19. umount /mnt2 Jetzt den Rechner mit der neuen Platte (auch /dev/hda) von CD booten: 1. Boot from CD (e.g. SuSE 8.2 Disk 1 (select 'Rescue System') or Knoppix (www.knoppix.de)) 2. Partition your hardrive with 'fdisk /dev/hda' or 'cfdisk /dev/hda'. (Im Folgenden gehe ich davon aus, dass die Partitionierung genau so aussieht wie auf der alten hda, also 8 Partitionen. Du kannst das natürlich auch an Deine neuen Bedürfnisse anpassen, wenn Du es Dir zutraust) 3. mke2fs /dev/hda1 (oder mkreiserfs oder mk...) 4. mkswap /dev/hda2 5. mk... /dev/hda5 6. mk... /dev/hda6 7. mk... /dev/hda7 8. mk... /dev/hda8 9. Configure network, e.g. 'ifconfig eth0 192.168.1.5' 10. Be sure your fileserver is accessible by rsh or ssh as root. (In my case a SuSE server could be enabled by setting 'ROOT_REMOTE_LOGIN=yes' in /etc/ rc.config and putting 192.168.1.5 into root's .rhost file. Not to forget calling 'SuSEconfig' afterwards. 11. mkdir /mnt2 12. mount /dev/hda1 /mnt2 13. rsh 192.168.1.1 cat hda1.cpio|cpio -ivdumB 14. umount /mnt2 15. mount /dev/hda5 /mnt2 16. rsh 192.168.1.1 cat hda5.cpio|cpio -ivdumB 17. umount /mnt2 18. mount /dev/hda6 /mnt2 19. rsh 192.168.1.1 cat hda6.cpio|cpio -ivdumB 20. umount /mnt2 21. mount /dev/hda7 /mnt2 22. rsh 192.168.1.1 cat hda7.cpio|cpio -ivdumB 23. umount /mnt2 24. mount /dev/hda8 /mnt2 25. rsh 192.168.1.1 cat hda8.cpio|cpio -ivdumB 26. umount /mnt2 27. mount /dev/hda5 /mnt2 28. Wenn Deine neue Platte anders als die alte partitioniert ist, dann musst Du /mnt2/etc/lilo.conf editieren, ansonsten nicht. 29. lilo -C /mnt2/etc/lilo.conf -b /dev/hda (evtl. kannst Du '-b /dev/hda' weglassen). Für GRUB könnte man hier die Boot-Partition zusätzlich mounten 'mount /dev/hda1 /mnt2/boot' und dann installieren mit 'grub-install --root-directory /mnt2 /dev/hda'. Dann noch /mnt2/boot/grub/menu.lst bzw. / mnt2/boot/grub/grub.conf anpassen. 30. umount /mnt2/boot und umount /mnt2, und rebooten (ohne CD) Ich hoffe, das hilft Dir weiter. Falls Du Fragen oder Probleme hast, gerne per PM. Mfg, Tim Rühsen Am Dienstag, 14. Oktober 2003 12:07 schrieb Andreas Hupfer: Hallo Zusammen, Ich habe seit geraumer Zeit folgendes Problem, dass ich einfach nicht Hinbekomme! Ich hoffe ich finde bald eine Lösung mit der Hilfe dieser Mailing Liste! Ausgangslage: *** Ich habe zwei Rechner mit Debian GNU / Linux 2.2r5 (Kernel 2.2.19), beide Rechner sind analog (gleich) installiert. Die Rechner sind wie folgt Partitioniert: /dev/hda1 /boot15 mb /dev/hda2 swap128 mb /dev/hda5 / 100 mb /dev/hda6 /usr800 mb /dev/hda7 /data 256 mb /dev/hda8 /var780 mb Was ich erreichen will: *** Gerne möchte ich noch zwei HDD haben, die ich parallel entwickeln kann und die ich als Backup einsetzen kann. Kurz, ich müsste eine der bestehenden Harddisk Kopieren / Clonen. Es wäre gut, wenn dieser Vorgang auch von einem nicht linux Anwender durchgeführt werden könnte. (Optional) Was ich versucht habe: *** 1 Versuch Gemäss der Anleitung 'Hard Disk Upgrade Mini How-To' eine Kopie erstellt. Was auch geklappt hat, leider konnte ich nach dem Upgrade von Debian nicht mehr booten. Der Bootvorgang brach mit 'l 66' ab. Zur Erklärung; der Bildschirm wurde mit der zahl 6 gefüllt. 2 Versuch Mit Knoppix gebootet und einfach mit dd if=/dev/hda of=/dev/hdc die Platte kopiert. Mit dem Ergebniss, das der Bootprozess mit einem Kernel Panic auf beiden Platten (original und Kopie) abbricht!!! Ich hoffe ihr könnt mir helfen und mir einfachere Methoden vorschlagen. Mit freundlichen Grüssen Andreas Hupfer