RE: adsl keep alive script

2001-12-01 Thread Arie Vayner

Hi

Again, I must say that I work for Netvision (please do not flame ;-)
Please see my comments inline.

Arie

 -Original Message-
 From: Nadav Har'El [mailto:[EMAIL PROTECTED]] 
 Sent: Saturday, December 01, 2001 2:15 AM
 To: guy keren
 Cc: Ghiora Drori; linux-il
 Subject: Re: adsl keep alive script
 
 
 On Sat, Dec 01, 2001, guy keren wrote about Re: adsl keep 
 alive script:
  charging money is one way to limit the number of users who 
 want to get 
  a limited resourec. and IP addresses are a limited resource 
 (even if 
  its an artificial limit, due to someone once thinking 
 'well, 32 bits 
  should be enough for everybody' ;)  ).
 
 This is quite irrelevant, since ADSL users typically leave 
 their ADSL connection on 100% of the time. Or, if they only 
 turn on their computer some of the day, they all tend to do 
 it on the same time. The end result is that an ADSL provider 
 probably (and I didn't check this with actual
 statistics) needs almost as many IP numbers as it has 
 customers - even if these are not fixed IPs.
 
I am sorry to tell you, but you are quite wrong here...


 Users which only log in infrequently probably don't get ADSL 
 - unless they are rich and don't mind throwing away money.
 
 The only benefit of non-fixed IPs that I can see is lower 
 administration effort (no need to remember which IP belongs 
 to whom) and easier renumbering, if the ISP decides to move 
 its ADSL block to a different address block.
 
The other benefit is that the ISP can make his routing table smaller,
avoiding using host routes for each and every user, and being able to
aggregate the larger pools of IPs allocated to users on demand.


  in fact, i'd expect providers to start NATing their ADSL users, if 
  their number grows too far and large. otherwise, i don't see how 
  millions of ADSL/cable/fixed-line connections could be 
 supported, and 

Doing NAT on a large scale basis is a difficult task, and is not a
really good solution. I guess you wouldn't have liked being connected
behind a NAT connection, wouldn't you?

  i don't see ipv6 actually coming in any time soon (i.e. withing the 
  next 3-4 years).
 

As it seems, IPv6 is being pushed quite hard by companies like Cisco,
and extensive testing is being done. I already heard about commercial
providers using it with a subset of customers.

I think that it will be used sooner by providers who need it's features
(i.e. lot's of IP addresses).
The main reason it is hard to deploy IPv6 (except that people are not
familiar with it) is that the hosts (PCs) lack the easy support for it
(like they have for IPv4).
I think this is about to change...

 Maybe MIT can return some of the 16 million addresses (a 
 class A) it now controls? Same goes for Apple, and many other 
 organizations. The American DoD controls much more than that, 
 and I doubt it uses more than 1/1000 of the addresses it owns...
 
 I don't think we'll be running out of IP space in the next 5 
 years. Running out of AS numbers (16 bit only), and a return 
 to exponential growth of routing tables (after CIDR managed 
 to keep the growth linear for several
 years) seem like more immediate problems.
 
 Of course, it doesn't mean we should start giving global IPv4 
 addresses to every refrigerator and cellphone on the planet...
 
 -- 
 Nadav Har'El|Saturday, Dec  1 
 2001, 16 Kislev 5762
 [EMAIL PROTECTED] 
 |-
 Phone: +972-53-245868, ICQ 13349191 |You have the right to 
 remain silent.
 http://nadav.harel.org.il   |Anything you say will be 
 used against you.
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] 
 with the word unsubscribe in the message body, e.g., run 
 the command echo unsubscribe | mail [EMAIL PROTECTED]
 
 

To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Cox kernel?

2001-12-01 Thread mulix

On Sat, 1 Dec 2001, Hetz Ben-Hamo wrote:

 The 2.4.x kernel development has been moved from Alan to Marcello. Linus will
 only announce new kernel 2.4.x releases, but won't touch any code actually...

?
2.4.16 was released by marcello. so was 2.4.17pre2. linux didnt have
anything to do with these, publicly.

 So Rik's VM implementation is out, and other Linus stuff that were in the
 kernel (while they weren't in Alan's ac-tree) has been removed in favour of..
 you guessed it - Alan's tree..

???
rik's vm is indeed out (although he is maintaining it himself),
but marcello started working from 2.4.15, which was linus' tree, not
alan's tree. i think you are mistaken here.

to answer the original question, the important bits in -ac have been
merged into -linus before 2.4.15. as to the rest, i dont know. maybe
it's 2.5.x material. is there anything specific you're interested in,
tzahi?
-- 
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Linux compatible modem

2001-12-01 Thread mulix

i have added this answer to iglu's FAQ, at
http://www.iglu.org.il/faq/cache/170.html, under 'networking'.

(tzafrir, please change the title from 'New Item' to something saner. it
looks like only you have permissions to do so?)

On Fri, 30 Nov 2001, Gal Goldschmidt wrote:

 Hi,

 I did a major research about this topic:

 Hardware:
 External 3Com(USR) Modem Serial or USB  you might be able to get
 some dealer to order it for you.
 They also have a hardware PCI, but no one bring it to Israel ( as far as I
 know).

 Zoom USB and Zoom PCI hardware, both can be ordered from www.abnet.co.il.
 It will take them some time since it's not on the shelf.

 IBM PCI Hardware modem 33L4618  ( The one I finally ordered) can be
 ordered from any IBM dealer, works great!

 If you want something tomorrow and not 3 weeks from order time:
 Software: Intel modem, from www.ksp.co.il the PCI not the nice USB
 has a driver http://developer.intel.com/design/modems/products/md563x.htm
 Not tested by me yet, but I plan to test it.

 Bye
 Gal

-- 
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: checking the functioning of an ipchains module

2001-12-01 Thread mulix

On Sat, 1 Dec 2001, guy keren wrote:

 On 30 Nov 2001, Noam Meltzer wrote:

  I guess you didn't really understand what i wanted. I don't want to see
  that the module is loaded. I want to see what is it doing while it's
  running.

 what its doing has different interpretations. if it is 'understanding
 how it works' - use the source, luke. if its seeing which packets get
 NATed - i _think_ there's an option to enable some kind of debug code in
 netfilter's code which _could_ help. or its something else? you might run
 a sniffer before the NAT box and after the NAT box, look at the output, and
 begin analising it ;)

be carefull... there be dragons here (in relation to the analysis part).

there is *supposed* to a file in /proc, which tells you which
connections are being nat'ed on your box, /proc/net/ip_masquerade. for
some reason, it's not there on my linux router. any ideas where it's
gone?

also (2 questions for the price of one email), i'm looking to implement
traffic limiting on the linux router for internal users (bofh? me?
never. what was your user name again?). what tools am i looking for?

kernel 2.4.16, approximately latest iptables.
-- 
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: KDE 2.2.2 on Mandrake 8.1

2001-12-01 Thread Oded Arbel

- Original Message -
From: Shlomi Fish [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 01, 2001 9:02 AM
Subject: KDE 2.2.2 on Mandrake 8.1



 So, the questions that arise are:

 1. Did anybody try them out and have success or horror stories about them?

Yes - been using them for a few days now (but with QT 2.3.2, so some of my
troubles may arise from that), and having fun so far, except a few problems:
Konqueror is very slow, and seems to freeze from time to time (so for now
I'm using mostly Mozilla which works great), and none of the multimedia
applications worked for me, specificly noatun which krashes and aktion which
simply doesn't want to load anything. arts works when playing with xmms.
Since I installed the packages, there have been a few more package releases
(kdebase is now at 10mdk, arts is at 13mdk), so some of the problems I have
may have already been solved.

 2. How and when do I configure MandrakeUpdate to get the official Mandrake
 RPMs?

I have no idea - I mirror the cooker and install from the local repository
:-)
With RPMDrake just add another source and define it as cooker. use a fast
repository, otherwise rpmdrake fails to add the source.

Oded

--
after rainfall
aerobots glide thru the streetlight
then back to darkness




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: checking the functioning of an ipchains module

2001-12-01 Thread Oded Arbel

I don't have that file, but I have /proc/net/ip_conntrack which under
correct analyzis will yield the list of NATed connections.
(kernel 2.4.13, iptables)

Oded

--
Important: You must accept the License Agreement in order to read this
message.
 If you do not accept the terms of the License Agreement,
you should promptly delete this message for a full refund.


- Original Message -
From: mulix [EMAIL PROTECTED]
To: guy keren [EMAIL PROTECTED]
Cc: Noam Meltzer [EMAIL PROTECTED]; Max Kovgan
[EMAIL PROTECTED]; IGLU [EMAIL PROTECTED]
Sent: Saturday, December 01, 2001 12:19 PM
Subject: Re: checking the functioning of an ipchains module


 On Sat, 1 Dec 2001, guy keren wrote:

  On 30 Nov 2001, Noam Meltzer wrote:
 
   I guess you didn't really understand what i wanted. I don't want to
see
   that the module is loaded. I want to see what is it doing while it's
   running.
 
  what its doing has different interpretations. if it is 'understanding
  how it works' - use the source, luke. if its seeing which packets get
  NATed - i _think_ there's an option to enable some kind of debug code in
  netfilter's code which _could_ help. or its something else? you might
run
  a sniffer before the NAT box and after the NAT box, look at the output,
and
  begin analising it ;)

 be carefull... there be dragons here (in relation to the analysis part).

 there is *supposed* to a file in /proc, which tells you which
 connections are being nat'ed on your box, /proc/net/ip_masquerade. for
 some reason, it's not there on my linux router. any ideas where it's
 gone?

 also (2 questions for the price of one email), i'm looking to implement
 traffic limiting on the linux router for internal users (bofh? me?
 never. what was your user name again?). what tools am i looking for?

 kernel 2.4.16, approximately latest iptables.
 --
 mulix

 http://www.pointer.co.il/~mulix/
 http://syscalltrack.sf.net/



 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: checking the functioning of an ipchains module

2001-12-01 Thread mulix

On Sat, 1 Dec 2001, Oded Arbel wrote:

 I don't have that file, but I have /proc/net/ip_conntrack which under
 correct analyzis will yield the list of NATed connections.
 (kernel 2.4.13, iptables)

i must have looked at it the other time when no internal client was
connected, since i only saw the linux router's ip in there and assumed
it was only for local connections.

anyway, thanks. here's a small script i wrote now to only show you
tcp connections where the src or dst match a certain regexp [1]

[1] yes, i know grep can do it too. dont you think i would've used it,
if it suited my purpose? the owls are calling again, and the script is
not what it seems.

#!/usr/bin/perl -w

#
# $Id: listcons.pl,v 1.1 2001/12/01 12:01:37 mulix Exp $
#
# print all tcp connections going through the box. if a parameter
# is given, only print a connection where the src or dst is this regexp.
# mulix [EMAIL PROTECTED]
#
# fields explanation at
# http://lists.samba.org/pipermail/netfilter/2001-February/007830.html
#

use strict;

my $proc_file_name = /proc/net/ip_conntrack;
my @connections;
my $filter = $ARGV[0];

open (PROC, $proc_file_name) or die couldn't open $proc_file_name - $!;

while (PROC) {
if (/^tcp/) { #only handle tcp connections for now
if (/^\s*(\S*)\s*(\d*) (\d*) (\S*) src=([\d\.]*) dst=([\d\.]*) sport=(\d*) 
dport=(\d*) src=([\d\.]*) dst=([\d\.]*) sport=(\d*) dport=(\d*)/) {
my $con_stat = {
PROTO = $1,
PROTO_NUM = $2,
TTL = $3,
TCP_STATUS = $4,
SRC1 = $5,
DST1 = $6,
SPORT1 = $7,
DPORT1 = $8,
SRC2 = $9,
DST2 = $10,
SPORT2 = $11,
DPORT2 = $12,
   };
push @connections, $con_stat;
} else {
print parsed unknown line: $_\n;
}
}
}

print_connections();

sub print_connections()
{
my $c;
foreach $c (@connections){
if (defined $filter) {
next unless (($c-{SRC1} =~ /$filter/) or ($c-{DST1} =~ /$filter/));
}
print $c-{PROTO}:  $c-{SRC1}:$c-{SPORT1} = ,
$c-{DST1}:$c-{DPORT1}\n;
}
}

-- 
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




RE: Cox kernel?

2001-12-01 Thread Tzahi Fadida

Thanks mulix,
Yes, actually I have a specific question though I am not sure what to make of all the 
changes of hands of
the Linux kernel.
I have 2.4.4 that I use from when it was out. my main interest is netfilter since I 
use Linux as my router/masq/ftp server/whatever server. anyway, I was reading a lot 
the linuxtoday for a month or two, and then I stopped at around 2.4.10 since the big 
problems at what should have been a stabled kernel would not stop. Then, one day linus 
announced he is going to pass Alan the maintenance of the kernel, and the problems 
with the pure Old VM will stop and most of the bigger problems would be solved, so 
when I will install 2.4.17 I will be able to be at ease that I am installing a stable? 
kernel?
What's your suggestion?
(I want to install netfilter 1.2.4 with some patchomatic stuff I need, but it requires 
2.4.9+ so...)

* - * - *
Tzahi Fadida
[EMAIL PROTECTED]
Fax (+1 Outside the US) 240-597-3213
* - * - * - * - * - *


-Original Message-
From: mulix [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 01, 2001 12:00 PM
To: Hetz Ben-Hamo
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Cox kernel?


On Sat, 1 Dec 2001, Hetz Ben-Hamo wrote:

 The 2.4.x kernel development has been moved from Alan to Marcello. Linus will
 only announce new kernel 2.4.x releases, but won't touch any code actually...

?
2.4.16 was released by marcello. so was 2.4.17pre2. linux didnt have
anything to do with these, publicly.

 So Rik's VM implementation is out, and other Linus stuff that were in the
 kernel (while they weren't in Alan's ac-tree) has been removed in favour of..
 you guessed it - Alan's tree..

???
rik's vm is indeed out (although he is maintaining it himself),
but marcello started working from 2.4.15, which was linus' tree, not
alan's tree. i think you are mistaken here.

to answer the original question, the important bits in -ac have been
merged into -linus before 2.4.15. as to the rest, i dont know. maybe
it's 2.5.x material. is there anything specific you're interested in,
tzahi?
-- 
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/




To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Mandrake 8.1 Installation

2001-12-01 Thread Dani Arbel

Omer,
We had such problems and it was resolved by using high grade cd media 
Dani

On Sat, 1 Dec 2001, Omer Zak wrote:

 When trying to install Mandrake 8.1, the installer got stuck at the step
 at which it displays the Trying to access a CDROM disc message.
 The strange thing is that the installer was successfully booted from the
 CDROM.

 Any hints where to look for the problem?  How to work around it?

 System configuration (let me know if more information is needed):
 Pentium II 300MHz, 384MB memory
 /dev/hda - none
 /dev/hdb - Yamaha CRW2200 CD/RW
 /dev/hdc - a 40GB hard disk (only the first 33GB are recognized due to a
BIOS limitation)
 /dev/hdd - none

 Mandrake Linux 8.1 - from the CD-ROM set sold during the Linux Day at
 Bar-Ilan U.

 The hard disk already has RedHat 7.2 and OpenBSD 2.9 installed in it, and
 it multi-boots using lilo.  When formatting the disk, I reserved few
 partitions for the planned Mandrake installation.
  --- Omer
 There is no IGLU Cabal.  There are no integral SCSI cables either (only
 differential ones).
 WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




RE: Cox kernel?

2001-12-01 Thread mulix

On Sat, 1 Dec 2001, Tzahi Fadida wrote:

[ my interpretation: which kernel should i use for maximum stablity, as
a router? ]

2.4.16 seems fine, but it hasn't been out long enough to be sure. my
advice to you is to use the latest distro kernel, because you can be
reasonably sure that kernel version had at least some QA done to it.
if you're running redhat, that would be 2.4.9-soemthing. as to how well
netfilter will play with it - i have no idea.




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Mandrake 8.1 Installation

2001-12-01 Thread Noam Meltzer

I had a similar? problem with installing redhat7.1 at work, some time
ago.
After booting from the cd the installer got stuck on a blue screen (or
other screen, if you chose advanced/textual install) while it tried to
access the cdrom. The problem was solved by replacing the cd-rom to an
older one (we have standard hardware there), and then installing.
Now, after the installation, if you returned to the original cd-rom
driver it got stuck while booting.
The solution was to compile a new kernel. Probably the 2.4.5 kernel
supplied with redhat 7.1 had some unique bug to a specific hardware
configuration, like we have there.

Noam
On Sat, 2001-12-01 at 15:11, Omer Zak wrote:
 When trying to install Mandrake 8.1, the installer got stuck at the step
 at which it displays the Trying to access a CDROM disc message.
 The strange thing is that the installer was successfully booted from the
 CDROM.
 
 Any hints where to look for the problem?  How to work around it?
 
 System configuration (let me know if more information is needed):
 Pentium II 300MHz, 384MB memory
 /dev/hda - none
 /dev/hdb - Yamaha CRW2200 CD/RW
 /dev/hdc - a 40GB hard disk (only the first 33GB are recognized due to a
BIOS limitation)
 /dev/hdd - none
 
 Mandrake Linux 8.1 - from the CD-ROM set sold during the Linux Day at
 Bar-Ilan U.
 
 The hard disk already has RedHat 7.2 and OpenBSD 2.9 installed in it, and
 it multi-boots using lilo.  When formatting the disk, I reserved few
 partitions for the planned Mandrake installation.
  --- Omer
 There is no IGLU Cabal.  There are no integral SCSI cables either (only
 differential ones).
 WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html
 
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]
 
-- 
Noam Meltzer
[EMAIL PROTECTED]
ICQ: 4853872


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




RE: Cox kernel?

2001-12-01 Thread Dani Arbel

Tzahi,
I am using at home 2.4.7 with netfilter and Masq and it works good. No
flaws.
I use 2.4.9 + netfilter at work and it works good as well. I don't see any
reason why not to go to 2.4.9 for a kernel that supports netfilter + Masq
+ftp .
Dani

On Sat, 1 Dec 2001, Tzahi Fadida wrote:

 Thanks mulix,
 Yes, actually I have a specific question though I am not sure what to make of all 
the changes of hands of
 the Linux kernel.
 I have 2.4.4 that I use from when it was out. my main interest is netfilter since I 
use Linux as my router/masq/ftp server/whatever server. anyway, I was reading a lot 
the linuxtoday for a month or two, and then I stopped at around 2.4.10 since the big 
problems at what should have been a stabled kernel would not stop. Then, one day 
linus announced he is going to pass Alan the maintenance of the kernel, and the 
problems with the pure Old VM will stop and most of the bigger problems would be 
solved, so when I will install 2.4.17 I will be able to be at ease that I am 
installing a stable? kernel?
 What's your suggestion?
 (I want to install netfilter 1.2.4 with some patchomatic stuff I need, but it 
requires 2.4.9+ so...)

 * - * - *
 Tzahi Fadida
 [EMAIL PROTECTED]
 Fax (+1 Outside the US) 240-597-3213
 * - * - * - * - * - *


 -Original Message-
 From: mulix [mailto:[EMAIL PROTECTED]]
 Sent: Saturday, December 01, 2001 12:00 PM
 To: Hetz Ben-Hamo
 Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Re: Cox kernel?


 On Sat, 1 Dec 2001, Hetz Ben-Hamo wrote:

  The 2.4.x kernel development has been moved from Alan to Marcello. Linus will
  only announce new kernel 2.4.x releases, but won't touch any code actually...

 ?
 2.4.16 was released by marcello. so was 2.4.17pre2. linux didnt have
 anything to do with these, publicly.

  So Rik's VM implementation is out, and other Linus stuff that were in the
  kernel (while they weren't in Alan's ac-tree) has been removed in favour of..
  you guessed it - Alan's tree..

 ???
 rik's vm is indeed out (although he is maintaining it himself),
 but marcello started working from 2.4.15, which was linus' tree, not
 alan's tree. i think you are mistaken here.

 to answer the original question, the important bits in -ac have been
 merged into -linus before 2.4.15. as to the rest, i dont know. maybe
 it's 2.5.x material. is there anything specific you're interested in,
 tzahi?
 --
 mulix

 http://www.pointer.co.il/~mulix/
 http://syscalltrack.sf.net/




 To unsubscribe, send mail to 
[EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: checking the functioning of an ipchains module

2001-12-01 Thread Dani Arbel

Mulix,
in iptables it is called conntrack :
/proc/net/ip_conntrack
Dani

On Sat, 1 Dec 2001, mulix wrote:

 On Sat, 1 Dec 2001, guy keren wrote:

  On 30 Nov 2001, Noam Meltzer wrote:
 
   I guess you didn't really understand what i wanted. I don't want to see
   that the module is loaded. I want to see what is it doing while it's
   running.
 
  what its doing has different interpretations. if it is 'understanding
  how it works' - use the source, luke. if its seeing which packets get
  NATed - i _think_ there's an option to enable some kind of debug code in
  netfilter's code which _could_ help. or its something else? you might run
  a sniffer before the NAT box and after the NAT box, look at the output, and
  begin analising it ;)

 be carefull... there be dragons here (in relation to the analysis part).

 there is *supposed* to a file in /proc, which tells you which
 connections are being nat'ed on your box, /proc/net/ip_masquerade. for
 some reason, it's not there on my linux router. any ideas where it's
 gone?

 also (2 questions for the price of one email), i'm looking to implement
 traffic limiting on the linux router for internal users (bofh? me?
 never. what was your user name again?). what tools am i looking for?

 kernel 2.4.16, approximately latest iptables.
 --
 mulix

 http://www.pointer.co.il/~mulix/
 http://syscalltrack.sf.net/



 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Cox kernel?

2001-12-01 Thread Hetz Ben-Hamo

 2.4.16 was released by marcello. so was 2.4.17pre2. linux didnt have
 anything to do with these, publicly.

Umm, you're right, missed that.
  So Rik's VM implementation is out, and other Linus stuff that were in the
  kernel (while they weren't in Alan's ac-tree) has been removed in favour
  of.. you guessed it - Alan's tree..

 ???
 rik's vm is indeed out (although he is maintaining it himself),
 but marcello started working from 2.4.15, which was linus' tree, not
 alan's tree. i think you are mistaken here.

Umm, sorry, you might want to look real close into the the sources of 2.4.14 
and 2.4.15 - all Alan's changes from Linus tree are in the 2.4.15 tree (look 
at the sound drivers for example - You could once make a driver with the 
kernel to play directly at 44Khz - now you can only 48Khz and downmix to 
44Khz with a user space app)

 to answer the original question, the important bits in -ac have been
 merged into -linus before 2.4.15. as to the rest, i dont know. maybe
 it's 2.5.x material. is there anything specific you're interested in,
 tzahi?

-- 
Hetz Ben Hamo
[EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Mandrake 8.1 Installation

2001-12-01 Thread Shaul Karl

 When trying to install Mandrake 8.1, the installer got stuck at the step
 at which it displays the Trying to access a CDROM disc message.
 The strange thing is that the installer was successfully booted from the
 CDROM.
 


A bad CD? Are you able to read the relevant files (which ones?) from 
one of the working Linux distros?
Where exactly in the installation process are you encounter this 
problem (immediately after boot, when trying to actually install the 
selected packages etc)?


 Any hints where to look for the problem?  How to work around it?
 
 System configuration (let me know if more information is needed):
 Pentium II 300MHz, 384MB memory
 /dev/hda - none
 /dev/hdb - Yamaha CRW2200 CD/RW
 /dev/hdc - a 40GB hard disk (only the first 33GB are recognized due to a
BIOS limitation)
 /dev/hdd - none
 
 Mandrake Linux 8.1 - from the CD-ROM set sold during the Linux Day at
 Bar-Ilan U.
 
 The hard disk already has RedHat 7.2 and OpenBSD 2.9 installed in it, and
 it multi-boots using lilo.  When formatting the disk, I reserved few
 partitions for the planned Mandrake installation.
  --- Omer
 There is no IGLU Cabal.  There are no integral SCSI cables either (only
 differential ones).
 WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html
 
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]
 

-- 

Shaul Karl
email: shaulka (replace these parenthesis with @) bezeqint,
   delete the comma and the white space characters and add .net



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Cox kernel?

2001-12-01 Thread mulix

On Sat, 1 Dec 2001, Hetz Ben-Hamo wrote:

   So Rik's VM implementation is out, and other Linus stuff that were in the
   kernel (while they weren't in Alan's ac-tree) has been removed in favour
   of.. you guessed it - Alan's tree..
 
  ???
  rik's vm is indeed out (although he is maintaining it himself),
  but marcello started working from 2.4.15, which was linus' tree, not
  alan's tree. i think you are mistaken here.

 Umm, sorry, you might want to look real close into the the sources of 2.4.14
 and 2.4.15 - all Alan's changes from Linus tree are in the 2.4.15 tree (look
 at the sound drivers for example - You could once make a driver with the
 kernel to play directly at 44Khz - now you can only 48Khz and downmix to
 44Khz with a user space app)

guess you didnt read all of what i wrote. here it is:

  to answer the original question, the important bits in -ac have been
  merged into -linus before 2.4.15. as to the rest, i dont know. maybe
  it's 2.5.x material. is there anything specific you're interested in,
  tzahi?

obviously it's impossible for all of -ac to have been merged, since it
also included rik's vm...
-- 
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: adsl keep alive script

2001-12-01 Thread Hetz Ben-Hamo

On Saturday 01 December 2001 10:12 am, Arie Vayner wrote:
 Hi

 Again, I must say that I work for Netvision (please do not flame ;-)
 Please see my comments inline.

Donno about others, but I'm glad to see someone from Netvision tech staff in 
the Linux-IL mailing lists ;)


  This is quite irrelevant, since ADSL users typically leave
  their ADSL connection on 100% of the time. Or, if they only
  turn on their computer some of the day, they all tend to do
  it on the same time. The end result is that an ADSL provider
  probably (and I didn't check this with actual
  statistics) needs almost as many IP numbers as it has
  customers - even if these are not fixed IPs.

 I am sorry to tell you, but you are quite wrong here...

I did some checking with many ADSL users (most of them are Windows users), 
most of them turn off their machines when they finish surfing/chatting/email. 
Of course - there are the warez dudez who leave their machines open night 
and day to download the latest warez, and many Linux users who leave their 
Linux machines (or Linux gateways) open 24 hours a day, so the IP cosuming is 
not as big as many people thought it would be.

  Users which only log in infrequently probably don't get ADSL
  - unless they are rich and don't mind throwing away money.

Yes, it's only getting cheaper if you're comparing it against 128K ISDN 
connection price (not considering Bezeq 99 NIS opportunity for 3 months and 
the crappy upload stream capabilities [64k] with the cheapest plan).

  The only benefit of non-fixed IPs that I can see is lower
  administration effort (no need to remember which IP belongs
  to whom) and easier renumbering, if the ISP decides to move
  its ADSL block to a different address block.

 The other benefit is that the ISP can make his routing table smaller,
 avoiding using host routes for each and every user, and being able to
 aggregate the larger pools of IPs allocated to users on demand.

Agred.

   in fact, i'd expect providers to start NATing their ADSL users, if
   their number grows too far and large. otherwise, i don't see how
   millions of ADSL/cable/fixed-line connections could be
 
  supported, and

 Doing NAT on a large scale basis is a difficult task, and is not a
 really good solution. I guess you wouldn't have liked being connected
 behind a NAT connection, wouldn't you?

Which reminds me Tevel experiment with their cable modems  Internet 
connection (all the people are behind NAT - so if 1 kid abused EFNet - no one 
will be able to use that same IRC servers).

   i don't see ipv6 actually coming in any time soon (i.e. withing the
   next 3-4 years).

 As it seems, IPv6 is being pushed quite hard by companies like Cisco,
 and extensive testing is being done. I already heard about commercial
 providers using it with a subset of customers.

Such as? is there any time frame for a massive deployment? maybe an 
experiment plan in the works by Netvision? I'll be happy to join...

 I think that it will be used sooner by providers who need it's features
 (i.e. lot's of IP addresses).
 The main reason it is hard to deploy IPv6 (except that people are not
 familiar with it) is that the hosts (PCs) lack the easy support for it
 (like they have for IPv4).
 I think this is about to change...

Change? umm, I didn't see support for this on Win XP/2k/ME. Sure, Linux users 
can always recompile the kernel in a few mintues and have IPv6 support, but 
how Netivision can do it with their majority of their clients who use 
Windows? (and don't get me started with the majority of Israeli Windows sys 
admin people who are simply and utterly CRAP - and nothing can teach me this 
other then the well known Nimda Virus - it is an amazing how many Windows sys 
admins don't have a single clue about security!)...

Hetz Ben Hamo
[EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




newer ups howto

2001-12-01 Thread Ishai Parasol

Hi

Can someone point me to a new ups howto (the only one i can find is from
1997).

Thanks,
Ishai.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: checking the functioning of an ipchains module

2001-12-01 Thread Tzafrir Cohen

On Sat, 1 Dec 2001, mulix wrote:

 also (2 questions for the price of one email), i'm looking to implement
 traffic limiting on the linux router for internal users (bofh? me?
 never. what was your user name again?). what tools am i looking for?

Have you looked at the advanced routing howto?

There is a section there about traffic shaping. It is not very clear,
though.

-- 
Tzafrir Cohen
mailto:[EMAIL PROTECTED]
http://www.technion.ac.il/~tzafrir



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: checking the functioning of an ipchains module

2001-12-01 Thread mulix

On Sat, 1 Dec 2001, Tzafrir Cohen wrote:

 On Sat, 1 Dec 2001, mulix wrote:

  also (2 questions for the price of one email), i'm looking to implement
  traffic limiting on the linux router for internal users (bofh? me?
  never. what was your user name again?). what tools am i looking for?

 Have you looked at the advanced routing howto?

shame on me for asking before doing some research, but it really was a
spur of the moment question. i'll check out the advanced routing howto,
but in the mean time, a quick google search found this article:
http://linux.oreillynet.com/pub/a/linux/2000/08/24/LinuxAdmin.html,
which points to the IP-QoS howto: http://qos.ittc.ukans.edu/howto/. the
article is short but has a few good pointers. the howto i'm reading now.
-- 
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: newer ups howto

2001-12-01 Thread Shaul Karl

 Hi
 
 Can someone point me to a new ups howto (the only one i can find is from
 1997).


As far as I know you will not find anything newer in the LDP.
It does explains the essentials of UPS handling quite well.

Perhaps you would like to share what are you aiming at?


 
 Thanks,
 Ishai.
 
-- 

Shaul Karl
email: shaulka (replace these parenthesis with @) bezeqint,
   delete the comma and the white space characters and add .net



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: hebrew support for wordtrans

2001-12-01 Thread Yedidyah Bar-David

Hi all,

I do not mean to be impolite, but how many times do I have to repeat?
What one sees when using qwordtrans is a hebrew piece of text, with
some english and some punctuation, that goes through this:
1. The original was visual.
2. It was then _reversed_, and encoded into the babylon file.
3. I _decoded_ the file (doing the last 10% of the job - the
rest was already in the retroactively named libbab). So now
it's _reverse_ _visual_ hebrew.
4. Now, the specific widget of QT does on it the fribidi
log2vis algorithm.

Theoretically, there is no logic in this algorithm. The output
should be completely unordered. However, for _trivial_ cases
(e.g. Hebrew _only_ text), the bidi log2vis is simply a _reverse_.
However, for anything more complicated, it's not at all the same,
as everyone sees.

The solution, as it seems to me, is to write a function, which
will be called vis2log, and that will compute the exact opposite
of log2vis. As I already said before, I have intentions to write
such a function, but it's a non-trivial task, and I can't tell
when it will be ready. So, if someone wishes to write it, that's
the way.

However, if all one wants is an English-Hebrew dictionary (that's
what I wanted, and the sole reason I spent the time to make it
work), then the simpler way is to run wordtrans, not [qk]wordtrans,
inside an xterm with a hebrew font, and pipe it's output through
a trivial reverse. I, personally, am very pleased with this solution;
I configured my window manager to open such an xterm when I press
some key combination, that inside, copies the selection, and
runs wordtrans, pipes, whatever, pipes to less, and that's it.
For me, better than the real babylon and [qk]wordtrans, even after
the Hebrew will work perfectly inside them.

Didi

On Sat, Dec 01, 2001 at 05:01:24PM +0100, Ricardo Villalba wrote:
 El Wed, 21 Nov 2001 21:52:39 +0200, Sagi Bashari [EMAIL PROTECTED]
 escribió:
 
  Hi
  
  On Wednesday 21 November 2001 19:46, Ricardo Villalba wrote:
   As I said before I attach the test program I used. It simply creates a
   widget and display an hebrew text (the same I used in the pictures I
 sent
   in my previous message). So people who have Qt installed can compile
 it
   and play a little with it.
   I tried several widgets: QTextBrowser, QLabel and QTextEdit. The
 result is
   the same in all of them, but I discovered an interesting thing:
 resizing
   the window change the order of the words (acording to the number of
 lines
   displayed)!
  
   Also I think using an edit widget is very interesting as you can edit
 the
   text and see who the words are reordered.
  
  Tested with QT3 beta5. It looks good with the ISO-8859-8 encoding.
  
  The english part - UNIX is reversed, but thats just because it was
 already 
  reversed in the source file.
  
  The words order is right too, but in some cases when the window is too
 small 
  it looks like the last letter (shin) gets into the UNIX part (UNI shin
 X).
 
 Only just one last thing. I also realized that parenthesis are not well
 displayed sometimes when using Qt 3.
 
 Example:
 When I look for word cat I get this when using Qt 2 (the x means
 hebrew letters):
 
 () x;  
 
 But with Qt 3 I get:
 
 ( x ; (
 
 (Words and letters seems to be correctly ordered, only the parenthesis
 change).
 
 Parethesis are quite often in the hebrew definitions, so I think this
 could be an important problem. 
 Could it be a bug in Qt 3?
 
 -- 
 Ricardo Villalba
 [EMAIL PROTECTED]

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: newer ups howto

2001-12-01 Thread Ishai Parasol



  Hi
 
  Can someone point me to a new ups howto (the only one i can find is from
  1997).


 As far as I know you will not find anything newer in the LDP.
 It does explains the essentials of UPS handling quite well.

 Perhaps you would like to share what are you aiming at?


I'm planing to buy a ups device in order to help my computers to survive the
winter's electricity breaks, but I don't know anything about it:
installation, hardware compatibility, software - what for  howto, etc. I
had some hard time finding this kind of information, I'll be glad to get a
url or two and ofcourse hardware recommendations and where to buy.

Thanks,
Ishai.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: checking the functioning of an ipchains module

2001-12-01 Thread Noam Meltzer

On Sat, 2001-12-01 at 12:19, mulix wrote:
 On Sat, 1 Dec 2001, guy keren wrote:
 
  On 30 Nov 2001, Noam Meltzer wrote:
 
   I guess you didn't really understand what i wanted. I don't want to see
   that the module is loaded. I want to see what is it doing while it's
   running.
 
  what its doing has different interpretations. if it is 'understanding
  how it works' - use the source, luke. if its seeing which packets get
  NATed - i _think_ there's an option to enable some kind of debug code in
  netfilter's code which _could_ help. or its something else? you might run
  a sniffer before the NAT box and after the NAT box, look at the output, and
  begin analising it ;)
 
 be carefull... there be dragons here (in relation to the analysis part).
 
 there is *supposed* to a file in /proc, which tells you which
 connections are being nat'ed on your box, /proc/net/ip_masquerade. for
 some reason, it's not there on my linux router. any ideas where it's
 gone?
 
 also (2 questions for the price of one email), i'm looking to implement
 traffic limiting on the linux router for internal users (bofh? me?
 never. what was your user name again?). what tools am i looking for?
 
 kernel 2.4.16, approximately latest iptables.
 -- 
 mulix
 
 http://www.pointer.co.il/~mulix/
 http://syscalltrack.sf.net/
 
 
10x to mulix i got the direction I needed. There's a directory
/proc/net/ip_masq/ (accurate for ipchains on 2.2.20, i dunno about
netfilter) which has information about all the modules loaded. Specific
to the module i was intersted about - ip_masq_icq.o there's a subdir in
the directory, called icq which has much more information.
What I didn't understand/foundout is if I can change information there
live (like when you do echo 1  /proc/sys/net/ipv4/ip_forward).
-- 
Noam Meltzer
[EMAIL PROTECTED]
ICQ: 4853872


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




OT: lemming0

2001-12-01 Thread Cedar Cox

Sorry for being OT, but this one is really easy.  I just want to make sure
I'm not missing something ;)  Isn't 172.22.3.2 in the reserved networks
address range?  Is this just a misconfigured DNS (leuni-karlsruhe.de's)?  
I got the address from a link on the gimp.org web page..

cedarc:~$ nslookup lemming0.leuni-karlsruhe.de
Server:  ns1.actcom.net.il
Address:  192.114.47.4

Non-authoritative answer:
Name:lemming0.lem.uni-karlsruhe.de
Address:  172.22.3.2


-Cedar


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: OT: lemming0

2001-12-01 Thread Official Flamer/Cabal NON-Leader

On Sun, Dec 02, 2001 at 01:23:15AM +0200, Cedar Cox wrote:
 Sorry for being OT, but this one is really easy.  I just want to make sure
 I'm not missing something ;)  Isn't 172.22.3.2 in the reserved networks
 address range?  Is this just a misconfigured DNS (leuni-karlsruhe.de's)?  
 I got the address from a link on the gimp.org web page..

10/8
172.16/16
192.168/16

are reserved
rest are free

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: checking the functioning of an ipchains module

2001-12-01 Thread Shaul Karl

 On Sat, 1 Dec 2001, Tzafrir Cohen wrote:
 
  On Sat, 1 Dec 2001, mulix wrote:
 
   also (2 questions for the price of one email), i'm looking to implement
   traffic limiting on the linux router for internal users (bofh? me?
   never. what was your user name again?). what tools am i looking for?
 
  Have you looked at the advanced routing howto?
 
 shame on me for asking before doing some research, but it really was a
 spur of the moment question. i'll check out the advanced routing howto,
 but in the mean time, a quick google search found this article:
 http://linux.oreillynet.com/pub/a/linux/2000/08/24/LinuxAdmin.html,
 which points to the IP-QoS howto: http://qos.ittc.ukans.edu/howto/. the
 article is short but has a few good pointers. the howto i'm reading now.
 -- 


Not sure it is what you want; the LDP has a Bandwidth-Limiting-HOWTO.


 mulix
 
 http://www.pointer.co.il/~mulix/
 http://syscalltrack.sf.net/
 
 
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]
 

-- 

Shaul Karl
email: shaulka (replace these parenthesis with @) bezeqint,
   delete the comma and the white space characters and add .net



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




ANN: syscalltrack version 0.64 released

2001-12-01 Thread guy keren


Haifux, the Haifa Linux Club (http://linuxclub.il.eu.org) is proud to
present 'syscalltrack-0.64', the third _alpha_ release of the
system-call-tracking linux kernel module and user space
utilities. syscalltrack supports both versions 2.2.x and 2.4.x of
the linux kernel. The current release is mostly a bug-fix release, althought
it contains partial coding of features that will be properly integrated in
the next alpha release.

* What is syscalltrack?

syscalltrack is a linux kernel module and supporting user space
environment which allow interception, logging and possibly taking
action upon system calls that match user defined criteria
(syscalltrack can be thought of as a sophisticated, system wide
strace).

* Where can i get it?

Information on syscalltrack is available on the project's homepage:
http://syscalltrack.sourceforge.net, and in the project's file
release.

You can download the source directly from:
http://prdownloads.sourceforge.net/syscalltrack/syscalltrack-0.64.tar.gz

* Call for developers:

The syscalltrack project is looking for developers, both for kernel
space and user space. If you want to join in on the fun, get in touch
with us on the 'syscalltrack-hackers' mailing list
(http://lists.sourceforge.net/lists/listinfo/syscalltrack-hackers).

* License and NO Warrany

'syscalltrack' is Free Software, licensed under the GNU General Public
License (GPL) version 2. The 'sct_ctrl_lib' library is licensed under
the GNU Lesser General Public License (LGPL).

'syscalltrack' is in early _alpha_ stages and comes with NO
warranty. If it breaks something, you get to keep all of the
pieces. You have been warned (TM).

Happy hacking and tracking!

Major new features for 0.64 (mostly a bug-fix version)
---

* Filter expressions are now fully supported, and are the prefered method
  to define filtering criteria for rules. This includes better error
  messages, and full parameter/variable type checking.

* Added support for pointer parameters in system calls, and printing the
  address they contain when logging them.

major bug fixes for version 0.64:

* Unary operators ('~', '!') didn't work at all - now they do.

* Fixed a bug in 'sct_config' that could cause crashes, due to a missing
  copy constructor/assigment operator for a struct that was pushed into
  an STL container.

* Fixed a potential crasihng bug in filter expressions evaluation in the
  kernel.

* Fixed a few potential memory leaks while evaluating filter expressions
  or while failing to get locks in system call stub functions.


--
guy

For world domination - press 1,
 or dial 0, and please hold, for the creator. -- nob o. dy



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: newer ups howto

2001-12-01 Thread Shaul Karl

 
 
   Hi
  
   Can someone point me to a new ups howto (the only one i can find is from
   1997).
 
 
  As far as I know you will not find anything newer in the LDP.
  It does explains the essentials of UPS handling quite well.
 
  Perhaps you would like to share what are you aiming at?
 
 
 I'm planing to buy a ups device in order to help my computers to survive the
 winter's electricity breaks, but I don't know anything about it:
 installation, hardware compatibility, software - what for  howto, etc. I
 had some hard time finding this kind of information, I'll be glad to get a
 url or two and ofcourse hardware recommendations and where to buy.
 
 Thanks,
 Ishai.
 


If you have time do read the UPS HOWTO. Although old, it will help you 
grasp the basic notions, which is what you need when buying a UPS.

How much power would you need the UPS to support? The computation of 
this number might be not as simple as its looks, mainly because power 
supplies and monitors tends to draw larger amount of current when 
powered up.

A URL for one of many UPS software is http://www.exploits.org/nut. It 
also has a responsive user and devel mailing lists.

I am using an advice UPS (http://www.advice.co.il) to which I added a 
driver for the nut. However only the basic UPS functionality works, 
mainly because I do not have the full protocol. Another thing about my 
driver is that I need to update it since the nut's internals are 
getting modified. It does currently work, but I do not know for how 
long will the nut coordinator be patient with me. And this brings us to 
the usual fact with hardware: try to get a hardware for which its 
specifications and protocols are opened.

Now the UPS HOWTO suggests one should buy a dumb UPS. Mine is smart. 
Yet I am not sure that if I would have to buy a UPS again I would not 
go for the dumb ones: They tend to be smaller in size, cheaper and 
their protocol is much simpler (and thus it is more likely that it will 
be opened). It also needs quite basic C knowledge in order to have a 
dumb UPS supported by the nut, provided that you know the (simple) 
protocol it uses. However, as far as I remember, there are no dumb UPS 
that can backup large power consumption.

Ah, one more thing. The last paragraph refers to serial controlled 
UPSs. There are also USB ones, for which I am not sure what is the 
state of Linux software support. I know that the nut have a usb driver, 
but I do not know how generic it is and how good it is. I am also 
unsure for the Linux support for in PC UPS card, nor how good they are.

-- 

Shaul Karl
email: shaulka (replace these parenthesis with @) bezeqint,
   delete the comma and the white space characters and add .net



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: CPU Control

2001-12-01 Thread Shaul Karl

 On Thu, Nov 29, 2001 at 09:27:45PM +0200, Official Flamer/Cabal NON-Leader wrote:
  On Thu, Nov 29, 2001 at 12:10:17PM +0200, Shachar Shemesh wrote:
   [EMAIL PROTECTED] wrote:
   
   In a box with 2 CPUs, I am using RedHat kernel 2.4.7.
   1) Is it possible to enable/disable, by software means, a specific CPU 
   (cpu 0 | cpu 1) ?
   
   2) While both CPUs are enabled, can we enforce a program to run ONLY 
   on a specific CPU ?
  
  As far as I know, 1 is NO.
  
  The short answer to 2 is also no. The slighty longer one is that, to the
  best of my knowledge, CPU affinity is not in the kernel but I remember
  Jseeing references to building it, somewhere.
  
  It should be possible to bolt something very crude onto the current
  scheduler, but it is not a trivial effort to do it properly...
 .
 .
 
 There is a an uncomplanied-about patch for the 2.4/2.5 series.
 Actually there are two patches that differ only in their interface:
 Robert Love wants is in /proc, and Rik van Riel (I think) wants it
 as a system call. This issue alone is bound to keep the patches
 in the center of a flamewar for the next six months or so, and 
 therefore out of the kernel, but you can try searching the recent 
 list archives for it and apply it in the privacy of your own 
 /usr/src.
 


Have you got an opinion about what is a better choice (system call or 
/proc)?

-- 

Shaul Karl
email: shaulka (replace these parenthesis with @) bezeqint,
   delete the comma and the white space characters and add .net



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




RE: newer ups howto

2001-12-01 Thread Haim Gelfenbeyn


I'd like to share some personal experience with UPS on Linux.

At work we purchased Advice UPS as they claimed that they do support
Unix and Linux... As it turned out later, their support means that
we must buy very expensive replacement serial cable, and the software
for Linux. The software is really piece of crap. It's bad written,
supports only dumb interface, hard to configure, etc. It does takes
our server down in case of prolonged power outage however.

At home (it's home office actually) I bought TrippLite rack-mount UPS.
It is quite expensive. It has software for Linux available on their
web site, but the cable for it is again quite expensive. However I was
able to buy simple null-modem cable, cut it in half and solder it
again with the right pinout... Found the schematic on the net. Really
simple and works like a charm. The software for TrippLite is quite
good. It support smart UPS interface, and works in client/server mode.
I have also Windows 2000 machine connected to the same UPS, and
program on Linux knows to tell Windows to shut down when needed. Also
client on windows can manage UPS on Linux. The only problem I saw with
it is that it takes too much CPU time, apparently polling the serial
port all the time.

I know that MGE and APC have good UPSes with Linux support, but I
don't have first-hand experience with them, and don't know if/where
you can buy them in Israel.

Haim.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Shaul Karl
 Sent: Sunday, December 02, 2001 2:53 AM
 To: Ishai Parasol
 Cc: Linux - IL Mailing List
 Subject: Re: newer ups howto


 
 
Hi
   
Can someone point me to a new ups howto (the only one
 i can find is from
1997).
  
  
   As far as I know you will not find anything newer in the LDP.
   It does explains the essentials of UPS handling quite well.
  
   Perhaps you would like to share what are you aiming at?
  
 
  I'm planing to buy a ups device in order to help my
 computers to survive the
  winter's electricity breaks, but I don't know anything about it:
  installation, hardware compatibility, software - what for
  howto, etc. I
  had some hard time finding this kind of information, I'll
 be glad to get a
  url or two and ofcourse hardware recommendations and where to buy.
 
  Thanks,
  Ishai.
 


 If you have time do read the UPS HOWTO. Although old, it
 will help you
 grasp the basic notions, which is what you need when buying a UPS.

 How much power would you need the UPS to support? The
 computation of
 this number might be not as simple as its looks, mainly
 because power
 supplies and monitors tends to draw larger amount of current when
 powered up.

 A URL for one of many UPS software is
http://www.exploits.org/nut. It
also has a responsive user and devel mailing lists.

I am using an advice UPS (http://www.advice.co.il) to which I added a
driver for the nut. However only the basic UPS functionality works,
mainly because I do not have the full protocol. Another thing about my
driver is that I need to update it since the nut's internals are
getting modified. It does currently work, but I do not know for how
long will the nut coordinator be patient with me. And this brings us
to
the usual fact with hardware: try to get a hardware for which its
specifications and protocols are opened.

Now the UPS HOWTO suggests one should buy a dumb UPS. Mine is smart.
Yet I am not sure that if I would have to buy a UPS again I would not
go for the dumb ones: They tend to be smaller in size, cheaper and
their protocol is much simpler (and thus it is more likely that it
will
be opened). It also needs quite basic C knowledge in order to have a
dumb UPS supported by the nut, provided that you know the (simple)
protocol it uses. However, as far as I remember, there are no dumb UPS
that can backup large power consumption.

Ah, one more thing. The last paragraph refers to serial controlled
UPSs. There are also USB ones, for which I am not sure what is the
state of Linux software support. I know that the nut have a usb
driver,
but I do not know how generic it is and how good it is. I am also
unsure for the Linux support for in PC UPS card, nor how good they
are.

--

Shaul Karl
email: shaulka (replace these parenthesis with @) bezeqint,
   delete the comma and the white space characters and add
net



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]