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 listmas
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 con
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 spli
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 use
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 s
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 '\.\(deb\|gz\|tgz\|bz2\|t
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 &
On 14.01.2011 13:11, Adrian Levi wrote:
On 14 January 2011 21:51, Mart Frauenlob 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 startup
behavi
On 14.01.2011 13:11, Adrian Levi wrote:
On 14 January 2011 21:51, Mart Frauenlob 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 your script starting with
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 $tarparamet
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:
backuplevel
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
On 24.09.2010 22:03, Boyd Stephen Smith Jr. wrote:
In<20100924141439.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 | x
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 CODE=
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 Hutchison said:
C> find $MAGDIR -iname '*.zip' -print0 | xargs -0 some-command
C> -iname matches names case insensitively. Since you then
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'
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
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 id
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 .bashr
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 th
On 21.04.2010 10:57, Siju George wrote:
> On Wed, Apr 21, 2010 at 2:16 PM, Mart Frauenlob
> 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
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)
>
>
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
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.
>
> --Jaspe
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:
>>
>> [...]
>>
>>>&g
On 08.04.2010 12:12, Cameron Hutchison wrote:
> Mart Frauenlob 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 l
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
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" >> "$F
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,
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" "fred">>file
>>
>>
>
> Why not simply use
> echo "fr
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
> certai
On 01.04.2010 19:28, Mart Frauenlob wrote:
> On 01.04.2010 16:41, Gregor Schneider wrote:
>> 2010/4/1 Pascal Volk :
[...]
sorry, ... tab completion, selected wrong group.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Troub
On 01.04.2010 16:41, Gregor Schneider wrote:
> 2010/4/1 Pascal Volk :
>>
>> 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 bereits bei
> ini (zumindestens in den rl 2-5
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
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 Frauenlob
debian_lenny_kernel-package.diff.tgz
Description: application/compressed
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
>
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 synta
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/
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.
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
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&
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 o
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
>> wrote:
>>> Dotan Cohen wrote:
>>>
>>>> I'm scripting a backup solution, the line that does the
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 |
>>
On 06.02.2010 14:17, Javier Barroso wrote:
> On Fri, Feb 5, 2010 at 7:10 PM, Chris Jackson
> 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 $1 |
>>>
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
On 05.02.2010 09:07, Ken Teague wrote:
> On Thu, Feb 4, 2010 at 2:09 PM, 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
>
On 20.01.2010 12:39, Rémi Moyen wrote:
> 2010/1/20 Mart Frauenlob :
>
>>> 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
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 compl
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
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'.
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: GN
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
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
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 FORWARD
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
/etc/i
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 war
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 kernel
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 t
l)?
Thank you for any help.
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 'r8
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 do
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) an
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 addresse
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? C
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 followin
65 matches
Mail list logo