Re: weird routing problem??

2001-05-23 Thread Iwan Mouwen
  Internet
 |
 | (external NIC)
 |
   ariel 
   |   |
(192.168.1.10) |   | (192.168.247.10) --- (two internal NICs)
   |   |
   |   |___
  ||
  ||
  ||
 wiredSubnet wirelessSubnet
 -   ---
 taz (192.168.1.2)   paltiel (192.168.247.6)
 woody (192.168.1.3)
 ezekiel (192.168.1.4)
 noah (192.168.1.5)
 
ezekiel:/home/thoover# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
 Iface
192.168.1.0 0.0.0.0 255.255.255.0   U 0  00 
 eth0
0.0.0.0 192.168.1.110.0.0.0 UG0  00 
 eth0
   ^^
This should be 10.
With the current setting Ezekiel can indeed connect to Ariel (that's on
the same subnet), but it doesn't know how to reach other networks.


Iwan.



Re: perl 5.6 potato

2001-05-22 Thread Iwan Mouwen
 If you need to upgrade your libc6 you have to do
 it at first. Otherwise you can't use tools like dpkg. It's very angry
 if this will happens. So note: You need always a working perl, dpkg
 needs it.

If you're going to upgrade libc remember to keep a backup of:
  - the original packages (libc6, libc6-dev, libdb2)
(in general: a backup of every package that you upgrade)
  - ldconfig (the executable, not the package)
  - dpkg (idem)

You might want to return to the old version

Iwan.



Re: Does Debian change permissions automatically??

2001-05-22 Thread Iwan Mouwen
  As a regular user (not root) I want to be able to do a 'tail -f
  /var/log/messages' whenever I dialup my ISP.  This is all set up fine
  but there is a recurring permissions problem:  every time I reboot,
  *something* changes the group permissions of /var/log/messages 
  FROM:
  -rw-r-1 root adm225523 May 18 13:15 /var/log/messages
   ^^^
  BACK TO:
  -rw-r-1 root root   225523 May 18 13:15 /var/log/messages
   
  I chgrp back to adm, and something changes it back to root, etc.
  

AFAIK only /etc/cron.weekly/sysklogd touches /var/log/messages. 

check that this file contains this line (or something similar):
savelog -g adm -m 640 -u root -c 4 $LOG /dev/null
  ^

also:
 man syslogd-listfiles  man savelog


Iwan.



Re: Snort config

2001-05-18 Thread Iwan Mouwen
* John Galt [EMAIL PROTECTED] [010516 15:24]:
 DEBIAN_SNORT_STATS_RCPT=root
   ^
 Change this just on principle: using root to check system email is just
 another thing you can do as a user and not have to be logged in as root so
 much...
 

Why?

# vi /etc/aliases
root: yournamehere




Re: get number of pages of a PostScript file

2001-05-01 Thread Iwan Mouwen
* Rob Mahurin [EMAIL PROTECTED] [010428 23:09]:
 10:48 $ psselect -p _1 zeeman.ps  /dev/null 
 [8] Wrote 1 pages, 86473 bytes
 

Shouldn't that be 
psselect -p - file.ps  /dev/null 
instead?

[EMAIL PROTECTED]:~/tmp$ psselect -p _1 report.ps /dev/null
[11] Wrote 1 pages, 68447 bytes
[EMAIL PROTECTED]:~/tmp$ psselect -p - report.ps /dev/null
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] Wrote 11 pages, 100834 bytes


Iwan.



Re: three questions about modules

2001-04-24 Thread Iwan Mouwen
* Benjamin Black [EMAIL PROTECTED] [010422 21:35]:
 1.) the default behavior for debian seems to be to run modprobe on all
 modules listed in /etc/modules at boot time, without -k (autoclean).  is
 there a way to change this behavior?

edit /etc/init.d/modutils


 2.) i've looked through some of the kernel docs, but it seems that the
 only place i can find the names that the kernel uses to refer to
 devices, i.e. char-major-14 for sound, is in the documentation for each
 specific module, and most of the time it's not even listed there.  where
 can i find a list of all the names that the kernel uses for devices when
 it calls modprobe to load a module?

read linux-src-dir/Documentation/devices.txt




Re: removing obsolete packages

2001-04-04 Thread Iwan Mouwen
* Karsten M. Self kmself@ix.netcom.com [010404 09:45]:
  What you want is apt-get clean 
  
  autoclean only removes packages that can no longer be downloaded.
 
 ...which is to say, packages which have been replaced by updated
 versions.
 
 What he wants _is_ autoclean, why it's not working, or his understanding
 of its workings, is a mystery.

If this is the expected behaviour:


samwise:/var/cache/apt/archives# dpkg -l konqueror
ii  konqueror  2.1.1-0.potato3  KDE's advanced File Manager, Web Browser and 
Document Viewer

samwise:/var/cache/apt/archives# ls konqueror*
konqueror_2.1.0.1-0.potato4_i386.deb  konqueror_2.1.1-0.potato1_i386.deb  
konqueror_2.1.1-0.potato3_i386.deb

samwise:/var/cache/apt/archives# apt-get -s autoclean | grep konqueror
Del konqueror 2.1.0.1-0.potato4 [1197kB]
Del konqueror 2.1.1-0.potato1 [1200kB]
Del konqueror 2.1.1-0.potato3 [1200kB]


then I'm sure my understanding of autoclean is wrong.

Iwan.




removing obsolete packages

2001-04-03 Thread Iwan Mouwen
Hi,

is there a way to delete packages from the cache (or from some other
directory) for which a newer package exists in that directory.
My /var/cache/apt/archives has several versions of lots of packages and
I want to remove them. apt-get autoclean doesn't seem to do what I want.


Iwan.



Re: named: suddenly NSTATS messages in syslog?

2001-03-12 Thread Iwan Mouwen
* Ralf G. R. Bergs [EMAIL PROTECTED] [010309 19:18]:
 
 But it does this once EVERY HOUR?!
 
 Any other ideas?!

add this to the options block in /etc/bind/named.conf

statistics-interval 0;

or change it to a large value, like 1440 (=24*60). The former will
disable the statistics while the latter will force bind to dump its
statistics only once a day.

 
 I mean I can easily filter it with logcheck, but I'm wondering why this 
 suddenly appears in syslog?!

Don't know. You can change the debugging level by sending named signals,
but I don't think you can change the statistics-interval dynamically.

Iwan.