Re: Network Sniffer

2013-01-29 Thread Mart Frauenlob
On 29.01.2013 18:34, Roberto Scattini wrote: [...] you can also try tcpdump. you can capture traffic wothout a GUI and then analyze it in wireshark. same with tshark... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

Re: Actually Using Conntrack?

2013-01-27 Thread Mart Frauenlob
On 26.01.2013 18:28, David Baron wrote: I still get that (harmless) string of warnings to use conntrack instead of the current, obsolete state match. I have conntract installed. So how do I use it? This refers to the match extension 'conntrack' vs 'state' of iptables. Use it like this: -m

Re: Detach Icedove from xterm itself called from terminal.

2011-12-02 Thread Mart Frauenlob
On 02.12.2011 17:09, Iuri Guilherme dos Santos Martins wrote: Em 01-12-2011 17:28, Mart Frauenlob escreveu: why use a shubshell for icedove, we expect to use the output for something? better use single quotes to protect the `' to be parsed by the shell and to prevent from word splitting, so we

Re: Detach Icedove from xterm itself called from terminal.

2011-12-01 Thread Mart Frauenlob
On 30.11.2011 17:25, Iuri Guilherme dos Santos Martins wrote: Well, the example i gave you opens another terminal (xterm) and opens icedove without closing the first terminal nor the second (assuming that you was using xterm in the first place). If you want the terminal to be closed, you may

Re: NTP-Server no longer available in Squeeze?

2011-03-02 Thread Mart Frauenlob
On 01.03.2011 23:36, Steve Smith wrote: Was going to setup a central time server, but found that NTP-Server is no longer available in Squeeze. Are there any alternatives? apt-cache search ^ntp aptitude search ^ntp -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a

Re: bash variables

2011-02-27 Thread Mart Frauenlob
On 25.02.2011 23:21, Mike McClain wrote: I occasionally have problems with bash variables, for instance the following command lists (along with everything else) 2 *.deb files in /home/mike/ root@/deb40a:~ FIND1=-maxdepth 1 -type f -print -name '*'; \ GREP=-v

Re: internet connection tester script

2011-01-28 Thread Mart Frauenlob
On 28.01.2011 12:28, kellyremo wrote: http://pastebin.com/raw.php?i=rykHdvBh bix.hu and www.yahoo.com are pingable test sites. 127.0.0.1 could not be pinged [firewall drops all icmp] i have a oneliner that echoes if theres internet connection or no. $ ping -W 1 -c 2 bix.hu /dev/null ping -W

Re: Help with a bash script please

2011-01-14 Thread Mart Frauenlob
On 14.01.2011 10:33, Adrian Levi wrote: I have the following bash script and it fails at line 14 and 15 (7zparameters= and 7zfilename=) I have tried everything i can think of to get it to work, the answer has to be simple but i can't figure it. This is going to be my new backup script, based on

Re: OT: Re: Help with a bash script please

2011-01-14 Thread Mart Frauenlob
On 14.01.2011 11:37, Adrian Levi wrote: I have (hopefully) taken on everybody's suggestions, Here is the current script :) #!/bin/sh # Variables: # Determine backup level incrementalfile=/srv/tar_incremental_file if [ -f $incrementalfile ] then backuplevel=date +%w you want:

Re: OT: Re: Help with a bash script please

2011-01-14 Thread Mart Frauenlob
On 14.01.2011 12:50, Adrian Levi wrote: I know where the error lies but not how to fix it. zparameters=a -mhe=on -pd1ckhead -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on -si zfilename=Daily Backup - $(date +%a %h %H%M %d-%m-%Y).$backuplevel.tar.7z When these two expand here: tar $tarparameters

Re: Help with a bash script please

2011-01-14 Thread Mart Frauenlob
On 14.01.2011 13:11, Adrian Levi wrote: On 14 January 2011 21:51, Mart Frauenlobmart.frauen...@chello.at wrote: in debian lenny (and previous releases) the default shell aka sh is bash. the file /bin/sh is a symbolic link to /bin/bash. however in squeeze afaik the default shell is dash. so

Re: Help with a bash script please

2011-01-14 Thread Mart Frauenlob
On 14.01.2011 13:11, Adrian Levi wrote: On 14 January 2011 21:51, Mart Frauenlobmart.frauen...@chello.at wrote: [...] Not sure exactly what bash (as compared to sh) specific things I might be experiencing but from the man page: If bash is invoked with the name sh, it tries to mimic the

Re: [bash] script (redirect output) to file and email

2010-09-27 Thread Mart Frauenlob
On 24.09.2010 22:03, Boyd Stephen Smith Jr. wrote: In20100924141439.gn15...@wasteland.homelinux.net, Jochen Schulz wrote: Enrico Weigelt: do_rm() { while read FILE ; do rm -fr $FILE ; done } That won't work with spaces in filenames. :) find … -exec or find … -print0 | xargs

Re: Shell Expansion in Bourne Shell Script Question

2010-07-29 Thread Mart Frauenlob
On 29.07.2010 07:17, Boyd Stephen Smith Jr. wrote: On Wednesday 28 July 2010 21:37:44 Karl Vogel wrote: On Thu, 29 Jul 2010 01:04:27 -, Cameron Hutchisonli...@xdna.net said: C find $MAGDIR -iname '*.zip' -print0 | xargs -0 some-command C -iname matches names case insensitively.

Re: How to get rid of this firewall error.

2010-07-29 Thread Mart Frauenlob
On 30.07.2010 02:49, Ramasubramanian Ramesh wrote: It would have helped if I actually include the message :-) Here it is: [2709614.616138] IN=eth1 OUT= MAC=00:16:e6:84:37:c5:00:0f:db:5c:a0:58:08:00 SRC=192.168.1.1 DST=192.168.1.47 LEN=36 TOS=0x00 PREC=0x00 TTL=64 ID=37027 PROTO=ICMP TYPE=8

Re: Shell Expansion in Bourne Shell Script Question

2010-07-28 Thread Mart Frauenlob
On 28.07.2010 14:42, Jochen Schulz wrote: Martin McCormick: ls *.[Zz][Ii][Pp] Note that 'ls' doesn't see this pattern at all. The pattern is expanded by the shell to all existing files matching the pattern. This list of files is then passed to ls. Using 'echo' would yield (almost) the same

Re: Shell Expansion in Bourne Shell Script Question

2010-07-28 Thread Mart Frauenlob
On 28.07.2010 20:05, Karl Vogel wrote: On 28.07.2010 14:42, Jochen Schulz wrote: J I think you meant to write J for MAGFILE in `ls $MAGDIR/*.[Zz][Ii][Pp]` J Another hint: you don't need 'ls' for your case at all. I'd recommend keeping the ls. Try your script when MAGDIR doesn't

Re: IPtables localhost redirect

2010-07-10 Thread Mart Frauenlob
On 09.07.2010 05:54, Daniele Orlando wrote: Hello guys, on my Debian 5 I'm trying to redirect the TCP traffic generated by my machine towards 127.0.0.1:5432 (PostgreSQL) to the new destination 192.168.1.113:5432. I have tried with iptables many rules, but no one seams good for the task. Any

Re: colorized ls

2010-05-10 Thread Mart Frauenlob
On 09.05.2010 22:26, Rick Pasotto wrote: What did I update recently that caused me to lose ls coloring with this error message: ls: unrecognized prefix: hl ls: unparsable value for LS_COLORS environment variable How should I fix it? Using lenny here, but it has been set in .bashrc afaik

Re: Hi how to escaping under ` ` in sh

2010-04-21 Thread Mart Frauenlob
On 21.04.2010 10:14, Siju George wrote: Hi, mysql -u root -pmy\$qlPW -N -B -e 'show databases' gives the right output but `mysql -u root -pmy\$qlPW -N -B -e 'show databases'` gives ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) I hope it is

Re: Hi how to escaping under ` ` in sh

2010-04-21 Thread Mart Frauenlob
On 21.04.2010 10:57, Siju George wrote: On Wed, Apr 21, 2010 at 2:16 PM, Mart Frauenlob mart.frauen...@chello.at wrote: # `mysql -u root -p'my$qlPW' -N -B -e 'show databases'` -bash: information_schema: command not found there we go... now, i guess u want to save the output of the command

Re: Hi how to escaping under ` ` in sh

2010-04-21 Thread Mart Frauenlob
On 21.04.2010 11:10, Siju George wrote: [...] I was to get the script #!/bin/sh for DB in `mysql -u root -pmy\$qlPW -N -B -e 'show databases'`; \ do echo $DB; \ mysqldump -u root -pmy\$qlPW -e $DB /var/mysql-1hBak/$DB.sql; \ done to work. BTW: I would suggest that you

Re: Where to find setup for env variable?

2010-04-14 Thread Mart Frauenlob
On 14.04.2010 12:24, Paul Chany wrote: Maybe must I use grep to find the file containing 'JAVA_HOME'? If yes, I dont' know the exact expression of that grep command. grep -sIr 'JAVA_HOME' /etc/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe.

Re: OT: Script to add line to file if it doesn't exist

2010-04-09 Thread Mart Frauenlob
On 09.04.2010 16:50, Jasper wrote: if I only execute one command on true/false conditions, I prefer: command react_true || react_false Although this generally works it is not correct: If 'react_true' fails for some reason then 'react_false' is also executed. --Jasper. oops,

Re: OT: Script to add line to file if it doesn't exist

2010-04-08 Thread Mart Frauenlob
On 07.04.2010 23:56, Eduardo M KALINOWSKI wrote: On 04/07/2010 05:45 PM, Mart Frauenlob wrote: #!/bin/sh grep -w fred file || printf %s\n fredfile Why not simply use echo fred file for the second command? 1: I'm used to it. 2: saving me typing (quick web search): http

Re: OT: Script to add line to file if it doesn't exist

2010-04-08 Thread Mart Frauenlob
On 07.04.2010 23:12, Ron Johnson wrote: On 2010-04-07 15:45, Mart Frauenlob wrote: On 07.04.2010 22:10, Kent West wrote: [...] I want a script that will read the file and look for the name fred, and if it's found, leave the file alone, but if it's not found, to add the name fred

Re: OT: Script to add line to file if it doesn't exist

2010-04-08 Thread Mart Frauenlob
On 08.04.2010 00:49, Ron Johnson wrote: On 2010-04-07 16:12, Ron Johnson wrote: [snip] Mart's method is the shell way. The 3GL Way is: grep -w $NAME $FILE TMP=$? if [ $TMP = 1 ]; That should be: if [ $TMP = 0 ]; then echo -e $NAME\n $FILE fi nope, the OP wanted 'if

Re: Making make-kpkg quieter

2010-04-08 Thread Mart Frauenlob
On 08.04.2010 01:59, Cameron Hutchison wrote: Is there any way to make make-kpkg (kernel-package 12.033) quieter? When I run a make-kpkg clean it spits out lots of lines about unlinking files in debian/... On a slow link, this is very annoying (if I forget to run screen) I have RTFM but I

Re: Making make-kpkg quieter

2010-04-08 Thread Mart Frauenlob
On 08.04.2010 12:12, Cameron Hutchison wrote: Mart Frauenlob mart.frauen...@chello.at writes: On 08.04.2010 01:59, Cameron Hutchison wrote: Is there any way to make make-kpkg (kernel-package 12.033) quieter? When I run a make-kpkg clean it spits out lots of lines about unlinking files

Re: OT: Script to add line to file if it doesn't exist

2010-04-08 Thread Mart Frauenlob
On 08.04.2010 14:58, Ron Johnson wrote: On 2010-04-08 03:01, Mart Frauenlob wrote: On 07.04.2010 23:12, Ron Johnson wrote: On 2010-04-07 15:45, Mart Frauenlob wrote: On 07.04.2010 22:10, Kent West wrote: [...] I want a script that will read the file and look for the name fred, and if it's

Re: OT: Script to add line to file if it doesn't exist

2010-04-07 Thread Mart Frauenlob
On 07.04.2010 22:10, Kent West wrote: I'm asking you folks, 'cause y'all know this stuff (I've been wrestling with this simple task all day). I've got a text file; I just want a script (a one-liner sed or awk command, etc, would be awesome) to check to see if the file contains a certain

Re: Frage zu init und Runleveln

2010-04-01 Thread Mart Frauenlob
On 01.04.2010 16:41, Gregor Schneider wrote: 2010/4/1 Pascal Volk user+debian-user-ger...@localhost.localdomain.org: Versuch es mit: . file ja, das waer eine idee. ich hatte jedoch angenommen, dass es unter linux eine halbwegs generische moeglichkeit gibt, dass die system-variablen

Re: Frage zu init und Runleveln

2010-04-01 Thread Mart Frauenlob
On 01.04.2010 19:28, Mart Frauenlob wrote: On 01.04.2010 16:41, Gregor Schneider wrote: 2010/4/1 Pascal Volk user+debian-user-ger...@localhost.localdomain.org: [...] sorry, ... tab completion, selected wrong group. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org

Re: How to save output when working in runlevel 3 (Lenny)

2010-03-17 Thread Mart Frauenlob
On 17.03.2010 16:27, Nigel Henry wrote: Hi Folks. I've got a whole bunch of updates for Lenny, including a load of X stuff, which I don't like installing while X is running. I save all the update output from the konsole in my history-files for future reference. Is there a way to save

[PATCH]: lenny - kernel-package 11.015 for use with kernel_2.6.33

2010-03-05 Thread Mart Frauenlob
; \ + fi) UTS_RELEASE_VERSION=$(call doit,if [ -f $(UTS_RELEASE_HEADER) ]; then \ grep 'define UTS_RELEASE' $(UTS_RELEASE_HEADER) | \ perl -nle 'm/^\s*\#define\s+UTS_RELEASE\s+(?)(\S+)\1/g print $$2;';\ Hope it helps Mart

Re: tcp/ip traffic shaping in Debian

2010-03-03 Thread Mart Frauenlob
On 03.03.2010 15:29, Jari Fredriksson wrote: Hello. I have several PC:s in my LAN, and a Debian Lenny as a router/firewall on the edge of it. Does Lenny has tools for traffic shaping. I have one machine here downloading lots of binaries from Giganews, and I might be tempted to limit

Re: after upgrade etch - lenny, problem with vim syntax highlighting in bash scripts

2010-03-02 Thread Mart Frauenlob
On 01.03.2010 16:59, Mart Frauenlob wrote: On 01.03.2010 12:06, Mart Frauenlob wrote: On 28.02.2010 09:29, Mart Frauenlob wrote: after I upgraded from etch to lenny a few days ago (new config files have been installed for vim), I noticed that syntax highlighting for my bash scripts

Re: after upgrade etch - lenny, problem with vim syntax highlighting in bash scripts

2010-03-01 Thread Mart Frauenlob
On 28.02.2010 09:29, Mart Frauenlob wrote: Hello, after I upgraded from etch to lenny a few days ago (new config files have been installed for vim), I noticed that syntax highlighting for my bash scripts is not working as before. There are some things i've noticed, where of the first

Re: after upgrade etch - lenny, problem with vim syntax highlighting in bash scripts

2010-03-01 Thread Mart Frauenlob
On 01.03.2010 14:56, Jordan Metzmeier wrote: Check `update-alternatives --list vim` to ensure your not running vim-tiny. eris:~# update-alternatives --display vim vim - status is auto. link currently points to /usr/bin/vim.basic /usr/bin/vim.tiny - priority 10 /usr/bin/vim.basic - priority 30

Re: after upgrade etch - lenny, problem with vim syntax highlighting in bash scripts

2010-03-01 Thread Mart Frauenlob
On 01.03.2010 12:06, Mart Frauenlob wrote: On 28.02.2010 09:29, Mart Frauenlob wrote: after I upgraded from etch to lenny a few days ago (new config files have been installed for vim), I noticed that syntax highlighting for my bash scripts is not working as before. There are some things

Re: after upgrade etch - lenny, problem with vim syntax highlighting in bash scripts

2010-03-01 Thread Mart Frauenlob
On 01.03.2010 16:32, Mart Frauenlob wrote: On 01.03.2010 14:56, Jordan Metzmeier wrote: Check `update-alternatives --list vim` to ensure your not running vim-tiny. eris:~# update-alternatives --display vim vim - status is auto. link currently points to /usr/bin/vim.basic /usr/bin/vim.tiny

after upgrade etch - lenny, problem with vim syntax highlighting in bash scripts

2010-02-28 Thread Mart Frauenlob
Hello, after I upgraded from etch to lenny a few days ago (new config files have been installed for vim), I noticed that syntax highlighting for my bash scripts is not working as before. There are some things i've noticed, where of the first is worse to me. 1: If I put the following statement

Re: Bash question: get output as a variable?

2010-02-06 Thread Mart Frauenlob
On 04.02.2010 23:09, Dotan Cohen wrote: I'm scripting a backup solution, the line that does the business looks like this: tar -zcvf - * --exclude-from $EXCLUDES | openssl des3 -salt -k $1 | dd of=$(hostname)-$(date +%Y%m%d).tbz Because of the v flag tar writes to stdout the name of each

Re: Bash question: get output as a variable?

2010-02-06 Thread Mart Frauenlob
On 06.02.2010 14:17, Javier Barroso wrote: On Fri, Feb 5, 2010 at 7:10 PM, Chris Jackson c.jack...@shadowcat.co.uk wrote: Dotan Cohen wrote: I'm scripting a backup solution, the line that does the business looks like this: tar -zcvf - * --exclude-from $EXCLUDES | openssl des3 -salt -k

Re: Bash question: get output as a variable?

2010-02-06 Thread Mart Frauenlob
On 06.02.2010 13:39, Mart Frauenlob wrote: On 04.02.2010 23:09, Dotan Cohen wrote: I'm scripting a backup solution, the line that does the business looks like this: tar -zcvf - * --exclude-from $EXCLUDES | openssl des3 -salt -k $1 | dd of=$(hostname)-$(date +%Y%m%d).tbz Because of the v

Re: Bash question: get output as a variable?

2010-02-06 Thread Mart Frauenlob
On 06.02.2010 15:43, Mart Frauenlob wrote: On 06.02.2010 14:17, Javier Barroso wrote: On Fri, Feb 5, 2010 at 7:10 PM, Chris Jackson c.jack...@shadowcat.co.uk wrote: Dotan Cohen wrote: I'm scripting a backup solution, the line that does the business looks like this: tar -zcvf

Re: Bash question: get output as a variable?

2010-02-05 Thread Mart Frauenlob
On 05.02.2010 09:07, Ken Teague wrote: On Thu, Feb 4, 2010 at 2:09 PM, Dotan Cohen dotanco...@gmail.com wrote: I'm scripting a backup solution, the line that does the business looks like this: tar -zcvf - * --exclude-from $EXCLUDES | openssl des3 -salt -k $1 | dd of=$(hostname)-$(date

Re: Kernel 2.6.30 blocks on udev initialisation

2010-01-20 Thread Mart Frauenlob
On 20.01.2010 10:39, Rémi Moyen wrote: Hi, Until recently, I was still on a (quite old) 2.6.26 kernel (stock one from testing). I also had an old version of udev ( 150). A few days ago, I made a full update of my system. It first tried to upgrade udev to 150, but when doing this complained

Re: Kernel 2.6.30 blocks on udev initialisation

2010-01-20 Thread Mart Frauenlob
On 20.01.2010 12:39, Rémi Moyen wrote: 2010/1/20 Mart Frauenlob mart.frauen...@chello.at: So I first installed the new kernel (2.6.30), then wanted to reboot on this kernel (so still with the old udev) in order to complete the udev installation. When rebooting, the new kernel loads, one

Re: scripts for batch treatment

2009-03-11 Thread Mart Frauenlob
Jochen Schulz wrote: Bernard: I intend to copy a number of files chosen from a given directory. At first, I've made a mistake : instead of deleting unwanted files from a copy of said directory, I worked on deleting lines on a filelist that I had extracted using 'ls -l filename.txt'.

Re: scripts for batch treatment

2009-03-11 Thread Mart Frauenlob
Mart Frauenlob wrote: Jochen Schulz wrote: Bernard: I intend to copy a number of files chosen from a given directory. At first, I've made a mistake : instead of deleting unwanted files from a copy of said directory, I worked on deleting lines on a filelist that I had extracted using

'bash -n' - extended pattern matching - case buitin: problem with syntax check script

2009-01-30 Thread Mart Frauenlob
Good day! I've been writing a bash function to check the syntax of other bash scripts (using ´bash -n'), before loading them with the ´source' builtin. Everything runs fine, until I use extended pattern matching in combination with the ´case' builtin. System: Debian linux 4.0 Bash version:

Re: Bash-Script: Denkfehler, aber wo?

2005-07-26 Thread Mart Frauenlob
Frank Küster wrote: Wo steht denn das eigentlich? Ich habe die Diskussion in der Liste, auf die verwiesen wurde, nicht mitgekriegt, und bin offenbar zu dumm es im Archiv zu finden. http://www.mail-archive.com/debian-user-german@lists.debian.org/msg132340.html MfG Mart -- Haeufig

Re: SSH

2005-07-19 Thread Mart Frauenlob
Saskia Whigham wrote: Ich benutze Sarge mit neusten updates Kenrel 2.6.8 ssh 3.8.1p1 beim Aufruf für die Programmversion von ssh zeigt er mir noch openssl 0.9.7e an. Openssl habe ich aber nicht installiert. Zertifikate ohne openssl? Wie soll der Server die Zertifikate lesen, ohne openssl

Re: Bash Script Frage

2005-07-14 Thread Mart Frauenlob
Gerhard Meier wrote: On Wed, Jul 13, 2005 at 06:44:24PM +0200, Mart Frauenlob wrote: Das Script hab ich hier hochgeladen: http://www.jeah.net/~x-link/ifarray Kann es sein, daß ich Variablen innerhalb eines 'while' Loops nicht permanent bearbeiten kann? Die Schleife faengt so an: $IP

Re: Bash Script Frage

2005-07-14 Thread Mart Frauenlob
Walter Saner wrote: Mart Frauenlob schrieb: Nun bin ich noch ziemlich am Anfang was bash Scripting betrifft. Tu dir einen Gefallen und nimm Perl oder Python. Die Bash ist eine schöne Shell für die Konsole aber zum Scripten einfach die Krätze. Hm, ja wirklich? Hab nicht soviel

Bash Script Frage

2005-07-13 Thread Mart Frauenlob
Hallo liebe Leute, ich hoffe dies ist nicht zu 'debian off-topic', wenn so, dann verzeihung. Ich versuche ein bash Script zu schreiben, welches mir Netzwerk-interface Daten ausliest und diese in ein Array schreibt. Nun bin ich noch ziemlich am Anfang was bash Scripting betrifft. Daher meine

Re: Bash Script Frage

2005-07-13 Thread Mart Frauenlob
Hagen Kuehnel wrote: HAllo, On Wed, Jul 13, 2005 at 06:44:24PM +0200, Mart Frauenlob wrote: Kann es sein, daß ich Variablen innerhalb eines 'while' Loops nicht permanent bearbeiten kann? soll heißen? Nein, es gibt keine sonderlichen Einschränkungen bei while. ja eben, weil es nicht

Re: [nagios] killer config

2005-07-06 Thread Mart Frauenlob
Michelle Konzack wrote: Hello *, Mein Netzwerk ist rund 90% konfiguriert und jetzt hänger ich mit der Konfiguration von nagios, weil es so aussiht, das ich diesen killer bis ans ende meines lebens konfigurieren muß. Gibt es ein Grafische interfache zum configurieren der hosts? Ich

Re: Kernel-Image für AMD64

2005-07-04 Thread Mart Frauenlob
Sven Gehr wrote: Ähh, ich habe kein 64Bit-OS das ich booten könnte. Ich habe Debian-Sarge installiert und anschließende wie apt den kernel 2.6.8-11-amd64-k8 installiert und wollte nun diesen Kernel anpassen und als das nicht ging habe ich mir die Sourcen von Kernel.org gezogen (2.6.12). Wieso

Re: Kernel komplieren

2005-07-04 Thread Mart Frauenlob
Michael Hollmann wrote: Hiho! Ich will eigentlich die Standardkonfiguration nur an einer Stelle abändern. Wie komme ich an die Standardkonfiguration. Die müsste IMHO in einer Datei namens .config stehen. Wo finde ich die? Du brauchst 'kernel-package', 'kernel-source-DEINE-K-VERSION' und

Re: Kernel komplieren

2005-07-04 Thread Mart Frauenlob
Andreas Pakulat wrote: On 04.Jul 2005 - 11:06:10, Mart Frauenlob wrote: Michael Hollmann wrote: Ich will eigentlich die Standardkonfiguration nur an einer Stelle abändern. Wie komme ich an die Standardkonfiguration. Die müsste IMHO in einer Datei namens .config stehen. Wo finde ich die

Re: Kernel komplieren

2005-07-04 Thread Mart Frauenlob
dirk.finkeldey wrote: Habe das Problem das initrd zwar mitgebacken wird , beim installieren des .deb wird initrd auch installiert und vom Bootloader ebenfalls eingebaut , aber der Kernel Panic bekommt weil er das Filesystem nicht mounten kann. Muß eventuell ein Bestimmter Chipsatztreiber

Re: Kernel komplieren

2005-07-04 Thread Mart Frauenlob
dirk.finkeldey wrote: Hmm, in der Tat, laut Paketinfo der kernel-patch-debian-* braucht man den kernel-source-...orig.tar.gz. Mein Fehler also, tja kommt davon wenn man nur noch vanilla-Kernel benutzt. Benutze auch noch den 2.2.22er Kernel , wo kann man nachlesen welche weiteren

iptables - no TTL target?

2005-07-04 Thread Mart Frauenlob
Hello, i'm running a debian sarge with a self compiled 2.4.27 (debian) kernel as firewall / router. What i'm trying to do is to increase the TTL of packets leaving a certain subnet by one. Reading the iptables man page this should be able with something like this: eris:~# iptables -I

Re: iptables - no TTL target?

2005-07-04 Thread Mart Frauenlob
Shaun Lipscombe wrote: * Mart Frauenlob wrote: eris:~# iptables -t mangle -A PREROUTING -i eth1 -s 192.168.13.0/24 -j TTL --ttl-inc 1 iptables: No chain/target/match by that name Do you have module table_mangle loaded ? modprobe table_mangle and also these modules: ipt_TTL for the target

Re: iptables - no TTL target?

2005-07-04 Thread Mart Frauenlob
Shaun Lipscombe wrote: IIRC You need CONFIG_IP_NF_TARGET_TOS=y to add the TTL target, not the TTL matching module (which you already have). Which should of course say CONFIG_IP_NF_TARGET_TTL! Doh! I'm sure you guessed that though, right? ;-) eris:/usr/share/doc/kernel-source-2.4.27# cat

Re: Netzwerk verstecken

2005-07-03 Thread Mart Frauenlob
Micha Beyer wrote: Da hast Du aber ganz schlechte Karten, denn soweit mir bekannt ist das von Dir Gewollte IMHO nicht mit Linux möglich. Einige schrieben was vom transparenten Proxy, andere was von der TTL, aber das hilft alles nicht. Alle IP-Packete die z.B. aus einer NAT rausgehen tragen

Re: iptables related query

2005-07-03 Thread Mart Frauenlob
Yuriy Kuznetsov wrote: I'm new to iptables therefor I need your help with some basic operation. I have installed Debian with 2.6 kernel and now trying to set some iptables rules. From what I have found in some nice examples in google I understood that I need to start iptables by running

Re: Netzwerk verstecken

2005-07-01 Thread Mart Frauenlob
Andreas Pakulat wrote: Hi, ich werd nun bald DSL haben (doch endlich, yipeeh) und die Firmen haben da ja immer diessen Passus dass man nur 1 Rechner anschliessen darf and den Internetzugang. Kann ich auch gut verstehen, damit nicht jemand in einem Mietshaus den DSL-Zugang anschliessen laesst

Re: Trouble configuring LVM after RAID1 on Sarge -- help

2005-06-28 Thread Mart Frauenlob
Siju George wrote: The kernel was unale to re-read the partition table on /dev/md/2 ( Invalid Argument ) This means Linux won't know anything nothing about modification you made untill you reboot. you should reboot your computer before doing anything with /dev/md/2 You can ignore this

Re: Fehlermeldung beim Booten

2005-06-26 Thread Mart Frauenlob
Klaus Schuehler wrote: Sat Jun 25 00:45:03 2005: modprobe: FATAL: Error inserting rtc (/lib/modules/2.6.8-2-386/kernel/drivers/char/rtc.ko): No such device Sat Jun 25 00:45:03 2005: Sat Jun 25 00:45:03 2005: rtc: can't be loaded Dein Motherboard hat keine 'Real Time Clock'. Ich denke

Re: Router und Apt

2005-06-25 Thread Mart Frauenlob
Klaus Ponnath wrote: Am Samstag, 25. Juni 2005 12:46 schrieb Klaus Ponnath: Anschliesend habe ich mit gftp auf den Debianserver zugreifen wollen, es klappt nicht, aber auch bei Suse -Red Hat usw bekomme ich keine Verbindung. Anscheinend geht ftp nicht über deinen Router. Versuch doch HTTP

Re: U.S.Robotics 9702 Gbit nic

2005-06-21 Thread Mart Frauenlob
, sodass das Modul (das funktionierende, nicht das Originale vom Kernel) gleich bei 'menuconfig' verfügbar ist (eventuell auch zum direkten integrieren in den Kernel)? Vielen Dank für eventuelle Hilfestellungen Gruss Mart Mart Frauenlob wrote: Hallo, ich versuche die Ethernet Karte 'U.S.Robotics

Re: Debian Router

2005-06-21 Thread Mart Frauenlob
Hallo List :) ich habe auch vor einen Debian router / firewall zu installieren. DMZ, 5 Subnet LANs, VPN. Ich denke es ist duchraus sinnvoll, da ich flexibel bleiben möchte. Auf der fw soll snort mit 'inline' features laufen. Snort wird als Sensor für prelude konfiguriert. Logging geht an einen

Re: Debian Router

2005-06-21 Thread Mart Frauenlob
Martin Feuersaenger wrote: Hallo Liste! Schade, dass hier die meisten die ursprüngliche Frage nur als Soll ich mir einen Debain Router bauen? aufgefasst haben und nicht auch mal auf Ich möchte mir einen Debian Router bauen, wo gibt es Anleitungen/Tips? eingegangen sind. Ursprünglicher

Re: Apache2, SSL, Zertifikat für virtual h ost

2005-06-21 Thread Mart Frauenlob
Hallo, Joerg Rossdeutscher wrote: Muss ich jetzt 50 Zertifikate erstellen? Und wenn ja - ich finde keine Möglichkeit, das wenigstens zu automatisieren (Es stehen in allen die gleiche Angaben, ausser dem variablen Domainnamen natürlich). vielleicht hilft dies beim automatisieren:

Re: sata libata-Treiber

2005-06-21 Thread Mart Frauenlob
Hallo, Gebhard wrote: Hallo, hab jetzt den 2.6.11 kompiliert. Da gibt's einen IDE -Sata-Treiber, bei dem in der Hilfe steht, man solle ihn nicht verwenden, sondern libata in der scsi-section nehmen. Leider finde ich ihn nirgends ich hab in der config CONFIG_SCSI_SATA=y und

Re: partimage in Sarge? Doku ist vorhanden.

2005-06-21 Thread Mart Frauenlob
Hallo, Florian Ernst wrote: Moinmoin, On Wed, Jun 22, 2005 at 12:28:03AM +0200, Sven Hartge wrote: Erstaunt stelle ich gerade fest, das partimage es nicht nach Sarge geschafft hat, partimage-doc aber komischerweise vorhanden ist. Äh? partimage funktioniert scheinbar nur mit Kernel

Re: How to activate USR 7902 Gbit nic?

2005-06-21 Thread Mart Frauenlob
. Greets Mart Mart Frauenlob wrote: Hello, guess this is kind of a newbie question :/ I have a Debian sarge [1] with several ethernet network interfaces. Most of them get detected at boot. But I also have two U.S.Robotics 7902 Gbit. I activated the module 'r8169' within /usr/sbin/modconf

irqbalance

2005-06-21 Thread Mart Frauenlob
Hello, I'm compiling a kernel for a smp box [1]. Now i found an option in menuconfig to activate 'irq balancing'. I dont have an exact imagination what it does. Is this recommended to use it on smp systems? Also i found a debian package called 'irqbalance'. It's a userspace daemon, erm... doing

Installing custom kernel-image fails on LVM error - I'm lost :/

2005-06-21 Thread Mart Frauenlob
Hello, I'm really stuck on this problem. I already spent 1,5 days on it :/ What i'm trying to do: Install a custom kernel-image build with debian kernel-source and make-dpkg. I try to trimm down the kernel to hold only what is absolutely necessary. Also i try to compile directly into the

U.S.Robotics 9702 Gbit nic

2005-06-19 Thread Mart Frauenlob
Hallo, ich versuche die Ethernet Karte 'U.S.Robotics 7902' Gbit zum laufen zu bringen. Im Debian sarge kernel [1] ist der Treiber (r8169) schon als Modul dabei. Ich habe nun mit /usr/sbin/modconf das r8169 Modul ausgewhlt, sodass es beim Booten geladen wird. Der Server hat noch einige andere

U.S.Robotics 9702 Gbit nic

2005-06-19 Thread Mart Frauenlob
Hallo, ich versuche die Ethernet Karte 'U.S.Robotics 7902' Gbit zum laufen zu bringen. Im Debian sarge kernel [1] ist der Treiber (r8169) schon als Modul dabei. Ich habe nun mit /usr/sbin/modconf das r8169 Modul ausgewhlt, sodass es beim Booten geladen wird. Der Server hat noch einige andere

Re: U.S.Robotics 9702 Gbit nic

2005-06-19 Thread Mart Frauenlob
verzeiht das Doppelposting. Verbindungsfehlermeldung... Mart Frauenlob wrote: Hallo, ich versuche die Ethernet Karte 'U.S.Robotics 7902' Gbit zum laufen zu bringen. Im Debian sarge kernel [1] ist der Treiber (r8169) schon als Modul dabei. Ich habe nun mit /usr/sbin/modconf das r8169 Modul

How to activate USR 7902 Gbit nic?

2005-06-18 Thread Mart Frauenlob
Hello, guess this is kind of a newbie question :/ I have a Debian sarge [1] with several ethernet network interfaces. Most of them get detected at boot. But I also have two U.S.Robotics 7902 Gbit. I activated the module 'r8169' within /usr/sbin/modconf. It loads fine at boot or runtime, but I

Re: stopping ssh attacks

2005-06-17 Thread Mart Frauenlob
I usually install those programs from original source, as they normally get updated faster then the packages in debian. But if versions are the same, no reason not to use the debian package imho ... Jon Dowland wrote: Mart Frauenlob wrote: get 'chkrootkit' (www.chkrootkit.org) and 'rootkit

Re: stopping ssh attacks

2005-06-16 Thread Mart Frauenlob
Thomas Stivers wrote: I have been getting a huge number of attempts to log into my box via ssh which fail with invalid username entrys in the logs. Is there already a package which will let me look through the logs and dynamically add iptables rules to drop anything from these scanning

Re: debian package list

2005-06-15 Thread Mart Frauenlob
Hello Simon, Simon wrote: Is there an easy place to get a list of installed packages... To make sure that i dont miss any in the new install? dpkg --get-selections should bring up all you need. Mart -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble?

syslog-ng error message while starting / stopping: KERNEL_RINGBUF_SIZE KERNEL_RINGBUF_SIZE is of unaccepted value

2005-06-14 Thread Mart Frauenlob
Hello debian-user mailing list ! Fresh installed system Dual MMX 466 with sarge r0 (not r0a) and 2.6.8-2-686-smp kernel. echolon:~# apt-get install syslog-ng Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: klogd sysklogd The