Re: how to sniff marked packets by iptables

2008-09-29 Thread Mariusz Kruk
On pon, 2008-09-29 at 05:34 -0700, Djingo Cacadril wrote: > Lucas Mocellin <[EMAIL PROTECTED]> wrote on Thursday, September > 25, 2008 7:57:16 PM > > > I marked some packets with iptables (-j MARK), and I want to "see" > this set. > > > > I tried to search google, but nothing related. tcpdump doe

Re: Veritas Remote Unix Agent

2007-03-02 Thread Mariusz Kruk
On pią, 2007-03-02 at 09:53 -0500, Ed Curtis wrote: > > I always installed from the self-installing executables, not from rpms, > > since they're rh-specific. > > And, you might want to download updated version, because older versions > > of NB agents tend to have problems with new glibc. > >

Re: Veritas Remote Unix Agent

2007-03-01 Thread Mariusz Kruk
Ed Curtis napisał(a): I was wondering if anyone has had any luck getting the Veritas Remote Unix Agent working under debian. So far my google searches have told me that it is not supported in debian. Any work around ideas if that is the case? It might be not supported, but it works for me (2 debi

Re: Veritas Remote Unix Agent

2007-03-01 Thread Mariusz Kruk
Julian De Marchi napisał(a): Hi All, I was wondering if anyone has had any luck getting the Veritas Remote Unix Agent working under debian. So far my google searches have told me that it is not supported in debian. Any work around ideas if that is the case? It might be not supported, but it wo

Re: question about dns server at home

2007-02-28 Thread Mariusz Kruk
Jordi napisał(a): Hello. I would like to ask questions about DNS servers: 1) What is needed to host my own domain name at home? Do I need 2 static public ip? Or just one? If I need 2, do I need 2 dsl connections? The absolute minimum is to have 1 static IP to host a DNS zone. But, most regis

Re: xcdroast Invalid readcd version -unknown- found

2007-01-08 Thread Mariusz Kruk
On pon, 2007-01-08 at 12:27 +0100, csanyipal wrote: > Sorry, but how can I fill a bug report easily? Use reportbug. -- [] BorgDOS 6.0i: FORMAT C: [Y/y]...Resistance [ [EMAIL PROTECTED] ] is futile. [ http://epsilon.eu.org/ ] [] -- To UNSU

Re: New user need some help

2006-04-27 Thread Mariusz Kruk
Ken Walker napisał(a): apt-get install x-windows-system No! There ain't no such thing as X Windows! Read the X(7x) manual -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Broken RAID array ...

2005-11-14 Thread Mariusz Kruk
Nicolas CANIART napisał(a): As far as I can tell the disk actually used is /dev/sdb1 (sda1 content is outdated). check /proc/mdstat to be sure. I tried to force the array assembly but I got : % mdadm -A /dev/md0 --force md: md0 stopped. mdadm: /dev/sda1 has no super block - assembly ab

Re: Solaris: The Most Advanced OS?

2005-11-07 Thread Mariusz Kruk
Tshepang Lekhonkhobe napisał(a): Lovely defence... By the way I hear that loads of server admins tend to avoid the 2.6 kernels, implying that they regard the 2.4 series more stable. Can anyone confirm if it's actually so or if it's more of paranoia? I had oopses on early 2.6 kernels when doing

Re: one user space progamming problem

2005-11-04 Thread Mariusz Kruk
weiyun lv napisał(a): If you want to simply check stdin, use select or poll. If U want to use other libraries to handle terminal (ncurses? slang?), U'll have to check it's docs to find apropriate functions. if( feof(stdin)){ kbd(); } read(...); this way doesn't work, kbd() is

Re: one user space progamming problem

2005-11-04 Thread Mariusz Kruk
weiyun lv napisał(a): one keyboard input problem: my user space program wants to do two things: E1. read data from one fifo and display it; E2. Check if there is input from keyboard, if there is then handle it, otherwise do nothing. E1 should always be in execution, while E2 is event driven (

Re: Default Route On Boot.

2005-11-03 Thread Mariusz Kruk
Nick Porter napisał(a): I'm at a complete loss of how to make this work. The way I understand it there are three ways to set a default route when the machine boots. 1) Use DHCP. 2) From the Interfaces file. 3) A script in one of the if-x.d directorys. I have tried all these and just don't see

Re: Large LDAP deployments

2005-10-26 Thread Mariusz Kruk
Stephen R Laniel napisał(a): And I guess OpenLDAP has lots of cool GUI admin tools for managing a number of machines at once. Alternatively, he's talking about Novell's eDirectory, which he says kicks the butt of any other directory service. The trouble with eDirectory and OpenLDAP, from my per

Re: find

2005-10-26 Thread Mariusz Kruk
Florian Dorpmueller napisał(a): for flnm in $(find . -type f ) ; do grep -l -i "the string you´d like to find" $flnm ; done Even worse than the "exec" example. Think what happens when filenames contain spaces. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". T

Re: ConsoleOne Install???

2005-10-26 Thread Mariusz Kruk
[EMAIL PROTECTED] napisał(a): I'm having some trouble installing Novell's ConsoleOne on my Debian system. Here's what I've done so far: 1. Installed Sun's Java and tested Java is installed and working fine. 2. Downloaded File from Novell's Web Site: c1_136e-linux.tar.gz 3. I then ran tar

Re: find

2005-10-26 Thread Mariusz Kruk
Piszcz, Justin napisał(a): Sort of. find . -type '*.c' -exec grep "my_text" {} \; No! Never use exec this way if the command you use accepts multiple arguments. Use xargs. (-type '*.c' is a mistake anyway ;->). You should rather try find . -type f -name '*.c' -print0 | xargs -0 grep "whateve

Re: find

2005-10-26 Thread Mariusz Kruk
[EMAIL PROTECTED] napisał(a): Hi, I'm trying to find a word in a file using find. I take a look at the man of find but... All i see is to find files, perms, etc. It's possible to find an word in a text file? All i can do is this: $find . -name *.c -print You need grep, not find. -- To UNSUBS

Re: Which daemons run at startup

2005-10-26 Thread Mariusz Kruk
Stephen R Laniel napisał(a): I'm writing a script that will need to run across FreeBSD, Debian, Gentoo and probably other machines, and will need to tell me, among other things, which daemons would launch at startup if the machine were rebooted. So I wonder 1) what the best Debian command is to

Re: dual postfix and split logs - syslog.conf

2005-10-26 Thread Mariusz Kruk
Hans du Plooy napisał(a): Hi all, I setup two instances of postfix, with the idea in mind to separate the two sets of logs. I'm having a bit of difficulty with the logging. Running sarge. In the second instance of postfix, I have this in main.cf: syslog_facility = mail-out syslog_name = p

Re: IBM xSeries 235

2005-10-20 Thread Mariusz Kruk
Claudio Plateroti napisał(a): Do you know about the machine IBM xSeries 235 is 32 or 64 bit architecture ? 32. It uses Xeon(s) with HT, so you probably would want SMP kernel, but it's definitely a 32-bit machine. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe"

Re: CONFIG_IP_ROUTE_FWMARK not working in Debian !

2005-10-20 Thread Mariusz Kruk
supermega napisał(a): of course: # ip rule 0: from all lookup local 32765: from all fwmark 0x5 lookup isp2 32766: from all lookup main 32767: from all lookup default Packets from are dropped. If the ip rule looked like that: 0: from all lookup local 32765: from all fwmark 0x5 look

Re: hosts.deny doesn't work for web services

2005-10-17 Thread Mariusz Kruk
Nikolai Hlubek napisał(a): On one of my machines I'm running a zope server. This server should only be accessible from my LAN so I set: hosts.deny ALL: ALL The hosts.deny manual states: This denies all service to all hosts, unless they are permitted access by entries in the allow file. Ping

Re: CONFIG_IP_ROUTE_FWMARK not working in Debian !

2005-10-17 Thread Mariusz Kruk
supermega napisał(a): Funny thing: when the "ip rule fwmark" is added then the next rule - with lower preference - is checked, too (it can be main or "ip rule from" or anything). If the routes set by these 2 rules are the same then packet is accepted. If not then it's dropped. I don't understan

Re: strange X11 problem

2005-10-13 Thread Mariusz Kruk
Alexei Chetroi napisał(a): Where I can get version 1.0.7167 of debian packages? snapshot.debian.net has only nvidia-kernel-src which are too old. Perhaps I can try x-org in place of xfree. Dunno. I don't use debian Nvidia packages. I use the installer from NVidia site. -- To UNSUBSCRIBE,

Re: strange X11 problem

2005-10-13 Thread Mariusz Kruk
Alexei Chetroi napisał(a): Hi, I have a very strange problem with X11. I'm running sarge with Nvidia 2 MX400. nvidia-glx is 1.0.7174-4. The problem is that my desktop freezes, so that mouse pointer still can be mooved (like old days of win3.11 :) but nothing is updated on the screen. If I ssh

Re: Getting dependencies for programs.

2005-10-11 Thread Mariusz Kruk
Kumar Appaiah napisał(a): My situation is as follows: I have a very fast 'net connection here, with a local Debian mirror with all i386 binary packages. A few months back, I used jigdo to get the first three Sarge images, and took them and installed them to another place, where I didn't have a fa

Re: CONFIG_IP_ROUTE_FWMARK not working in Debian !

2005-10-11 Thread Mariusz Kruk
supermega napisał(a): Thank you both. Nelson Castillo, can you tell me what kernel you're using? I ain't no Nelson Castillo, but I'm using stock debian kernels. So.. - I download sarge/stable, install minimal system - apt-get iproute - do the following commands:

Re: Laptop clock is localtime, system time is off

2005-10-10 Thread Mariusz Kruk
Clive Menzies napisał(a): Sorry, I assumed it would be in base-config my bad :( dpkg-reconfigure timezoneconf? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: CONFIG_IP_ROUTE_FWMARK not working in Debian !

2005-10-10 Thread Mariusz Kruk
Nelson Castillo napisał(a): # iptables -t mangle -A PREROUTING -s -j MARK --set-mark 5 I guess you should use the conntrack module. I'm not sure, but I think you're marking only the first packet of the connection. Naaah. What does mangling packets have to do with connection tracking? Does a

Re: best hardware spec for fileserver

2005-10-10 Thread Mariusz Kruk
Jeffrey Alsip napisał(a): I hope you are referring to a hardware RAID (firmware running inside a seperate RAID controller) and not some form of software RAID, as those things are crap. Can you back this oppinion up in any way? Especialy by some test results? -- To UNSUBSCRIBE, email to [EMAIL

Re: about find

2005-10-10 Thread Mariusz Kruk
Michael Marsh napisał(a): I'd use $ find / -name '*' -exec grep -l "welcome here" {} \; Aaaargh. One of the ugliest monsters I've ever seen ;-P The nice thing about using find is that you can limit the depth of the search, restrict it to directories on the current filesystem, specify a more

Re: Upgraded from 512 to 1024 ram. Now, how to fine tune the system?

2005-10-10 Thread Mariusz Kruk
Ron Johnson napisał(a): As for telling the kernel what to swap, AFAIK, there are no build or boot parameters to control that. Linux knows how much RAM & swapspace you have, and does what it thinks is best. There are indeed no parameters regarding _what_ to swap (but IIRC you can request that

Re: best hardware spec for fileserver

2005-10-07 Thread Mariusz Kruk
askar k napisał(a): Could anybody adive me the best hardware configuration for fileserver. There is no such thing. You always have to take into consideration many factors. What do you want from the server, how much money you can spend and so on. Do I need to have Raid-5 or smth like that t

Re: mysql installation

2005-10-06 Thread Mariusz Kruk
[EMAIL PROTECTED] napisał(a): My MySQL installation does not have a mysql.sock file(it is not anywhere in my system).So,when I try to connect to the mysql server the connection fails.My Debian system when starting shows that mysql server is starting,when stopping shows that mysql server is stop

Re: IDE controller card recommendation

2005-10-05 Thread Mariusz Kruk
Roberto C. Sanchez napisał(a): I'm not going to answer about the right controller (dont have RAID experience) but IIRC can you can only have four IDE controllers in one system (Primary, Secondary, Tertiary & Quartinary) so your total will be 8 drives including the CD-ROM? Only if they are seen

Re: IDE controller card recommendation

2005-10-04 Thread Mariusz Kruk
Fred napisał(a): I'm not going to answer about the right controller (dont have RAID experience) but IIRC can you can only have four IDE controllers in one system (Primary, Secondary, Tertiary & Quartinary) so your total will be 8 drives including the CD-ROM? Only if they are seen as IDE contr

Veritas Netbackup Client and libc

2005-09-28 Thread Mariusz Kruk
I've got a netbackup linux client installed on a machine which uses mostly debian testing (I've got some positive pinings for few stable packets and general negative pinning for unstable/experimental (I don't even remember why ;->)). The problem that occured few days ago is that I cannot connect

Re: ReiseFS vs XFS

2005-09-27 Thread Mariusz Kruk
John Hasler napisał(a): [NNTP servers work with ] gazillions of small files. Mariusz Kruk writes: leafnode - yes. and cnews. inn - can be IIRC configured to work this way but can also work with big cycbuf files. Thus making the contents of the spool inaccessible to anything but inn. Yep

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-27 Thread Mariusz Kruk
Rishi napisał(a): Is there a global setting to set the umask for all applications to use 002? Probably not. If the application insists on giving a file permissions, let's say, 0600 you can't forbid it with umask. With umask you can only prohibit them from giving some permissions. Not the other

Re: ReiseFS vs XFS

2005-09-27 Thread Mariusz Kruk
John Hasler napisał(a): I meant, "do nntd daemons work with A Few Big Files, or One File Per Message? Gazillions of small files. Not necesarily. leafnode - yes. one file per message (or even worse than that). inn - can be IIRC configured to work this way but can also work with big cycbuf file

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-27 Thread Mariusz Kruk
Rishi napisał(a): By setting the umask 002 in /etc/profile my problem is resolved as far as I create files and folder using Nautilus or a bash console. :-( The problem still persists if I create folders or save files (attachments) using applications like Kmail, Mozilla, or Konqueror. :-( Is t

Re: Runing 2 squids

2005-09-27 Thread Mariusz Kruk
Joe Smith napisał(a): Perhaps, if squid does get confused (two squids on one IP address) you could run the second instance on a fake IP address/alias but I don't know much about that. And I know all to much about that. IT is done by creating a new loopback ethernet device, and briging it to your

Re: retaining file permissions and ownership across sub-directories in Linux

2005-09-26 Thread Mariusz Kruk
Rishi napisał(a): Hi I'm not sure if this is the right forum for this question. If it is not, I would be grateful to anyone that would be kind enough to point to me appropriate forum so that I can take this query there instead. I need to retain the same file permissions and ownership across sub

Re: Runing 2 squids

2005-09-26 Thread Mariusz Kruk
Ben Sagal napisał(a): Is it possible to run two copies of squid concurrently (same executable + cache, just different config files)? Correct me if I'm wrong, but I think you cannot share cache directiories between different squid instances. But you could always try to run one copy of squid act

Re: NUM Lock , Home, End

2005-09-23 Thread Mariusz Kruk
[EMAIL PROTECTED] napisał(a): Can you be more specific? Because I have all those keys working. Therefore I may only assume PEBKAC you have numlock enabled for every console? and HOME return you in begining of command promt and END in the end? i have to press ctrl+a or ctrl+e Yes, I never had a

Re: NUM Lock , Home, End

2005-09-22 Thread Mariusz Kruk
[EMAIL PROTECTED] napisał(a): Hi last 5 years i've didn't seen any keyboard without this buttons. And they can't be used for andthing else instead of therir main function. Isn't time for debian to enable them by default or to provide ability to configure them on install. Can you be more specif

Re: x-window startup and other problems

2005-09-21 Thread Mariusz Kruk
Andrej Repisky napisał(a): Hello, I have encountered the following problem after installation of Debian i386 on a computer. For istallation I used CD that I had prepares using an image from the debian website. Most of the commands do not work. For example links, lynx, gcc and so on. B