Mutt & Hebrew

2011-04-19 Thread Oren Held
Hi Guys, and Chag Same'ach,

Haven't posted here in a while... Good to be back :)

I've recently switched to mutt, and still got some bidi issues unresolved.
As I was sure this subject came up here previously, I googled a bit, and found 
this thread http://mirror.hamakor.org.il/archives/linux-il/10-2004/12174.html.

In short, it suggests using 'set display_filter=bidiv' for viewing Hebrew. It 
works smoothly.

Still, 7 years after, I bet that some things have changed. I summed up my 
current questions on working with mutt and Hebrew:

Reading mail

1. bidiv solution seems cool, but isn't it time for real integration of fribidi 
in mutt? Did anybody recently try and failed? Is the author known for his 
anti-bidi beliefs?

Composing (i.e. bidi support in the editor)
---
2. Any vim solution?
3. Any recommended bidi-aware editor that plays nice with mutt?
4. For now I'm manually adding RLE special character before each 
Hebrew-containing line and it does the trick, partially. RLM didn't seem to 
work. Is it a reasonable thing to do? A smart trick to automate this in vim?

10x

Oren

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: PAE question

2009-08-02 Thread Oren Held
On Sunday 02 August 2009 12:29:22 you wrote:
> Hi,
>
> The Fedora 11 default installation installs the kernel with PAE
> installation *regardless* of how much RAM I have.
>
> I was wondering: are there any performance "penalties" when using PAE
> enabled kernel instead of the i686 version?
I was wondering the same once, and wrote this little post:
http://www.held.org.il/blog/?p=79

Note the references which I based this on.

In short: it's not easy to measure, but the penalty seems to be quite 
insignificant. Still, using a 64 bit kernel (even on 32 bit os!) removes the 
need for PAE.

 - Oren


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: DTT

2009-07-30 Thread Oren Held
The transmissions have already began a few weeks ago or even earlier, and the 
hardware is already available in some shops.

Yet, as far as I know, the official start date is August 1st, and until then, 
problems (e.g., bad reception) may occur.

 - Oren

On Thursday 30 July 2009 14:00:19 Erez D wrote:
> it has started !
> no questions about it.
> i saw it myself.
>
> On Thu, Jul 30, 2009 at 1:08 PM, Hetz Ben Hamo  wrote:
> > It's not started yet. Some company already sell some hardware, but the
> > service is not operational yet. It should be real soon now, and there
> > will be an ad campaign.
> > Thanks,
> > Hetz
> >
> > 2009/7/30 Amos Shapira 
> >
> >> 2009/7/30 geoffrey mendelson 
> >>
> >>> On Jul 30, 2009, at 12:13 PM, Erez D wrote:
> >>>
> >>>
> >>>
> >>>  i am trying to receive israel's DTT ( dvb-t terestrial digital tv)
> >>>
>  transmissions
>  i tried doing a channel scan using kaffeine, but found nothing
> >>>
> >>> Has it really started? I have seen nothing anyhere about it. I don't
> >>> read the Hebrew press but my son does and he would tell me if he saw
> >>> anything about it.
> >>
> >> I don't know if it started yet (not living in Israel) but just today I
> >> saw an ad (maybe in Tapuz) for a usb dvb-t dongle in an Israeli site, so
> >> there must be a market for this...
> >>
> >>
> >> ___
> >> Linux-il mailing list
> >> Linux-il@cs.huji.ac.il
> >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >
> > --
> > Skepticism is the lazy person's default position.
> > my blog (hebrew): http://benhamo.org


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: List working ?

2009-05-05 Thread Oren Held
On Tuesday 05 May 2009 22:28:46 Aharon Schkolnik wrote:
> I have sent a message to the list  twice today, and as far as  I can tell
> it has not gotten through.
>
> Has anyone seen a meassage from me on the list today ?

You can simply check in here:
http://mailman.cs.huji.ac.il/pipermail/linux-il/

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Israeli ISP blocking outgoing SMTP

2009-04-08 Thread Oren Held
On Wednesday 08 April 2009 10:46:54 Shachar Shemesh wrote:
> Oren Held wrote:
> > On Tuesday 07 April 2009 20:46:40 Dotan Cohen wrote:
> >>> For the last few days, an ISP who shall remain nameless (but who's
> >>> name in octal is equal to 11) has decided to block outgoing SMTP
> >>> connections to servers abroad.
> >>
> >> Stop playing games, who is the ISP?
> > Barak 013. Octal 11 == Decimal 13 :)
> Last time I checked, Octal 11 was Decimal 9.

Oh, I've waited for someone to notice that. I was just checking you :)
(Ok ok I was tired. An embarrassing mistake)

11 Dec == 13 Oct.

 - Oren


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Israeli ISP blocking outgoing SMTP

2009-04-07 Thread Oren Held
On Tuesday 07 April 2009 20:46:40 Dotan Cohen wrote:
> > For the last few days, an ISP who shall remain nameless (but who's
> > name in octal is equal to 11) has decided to block outgoing SMTP
> > connections to servers abroad.
>
> Stop playing games, who is the ISP?
Barak 013. Octal 11 == Decimal 13 :)

Their sudden firewall change also stopped the mail activity for a non-profit
organization I'm volunteering at, for a whole day. This is not the way they 
should've done this, I bet hundreds of customers have suffered (or still 
suffer) from this, wasting hours in analyzing the problem.

 - Oren

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: contacts at Israel Rail

2009-04-02 Thread Oren Held
On Thursday 02 April 2009 10:48:36 Dotan Cohen wrote:
> > I just learned that a friend of mine has a position at Israel Rail
> > where she can have influence on decisions about their web site among
> > other things.
> >
> > This morning I found that rail.co.il generally seems to work well with
> > Firefox+Ubuntu but if you find something is broken (on any
> > browser/OS/platform, of course) then you are welcome to send me a
> > detailed description and I'll pass it on.
> >
> > Cheers,
>
> TheDailyWTF.com had an article about how bad the code of the Israil
> website is. I posted it here a week or two ago.

As a user, I don't really care if the JS code is "not too brilliant" as long 
as the site is usable from the major browsers. I think that we (as Linux 
enthusiasts) should be focusing on fighting the IE-dependency of Israeli web 
sites.

 - Oren


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: http://www.moin.gov.il/

2009-03-30 Thread Oren Held
See my latest article, http://israeliweb.blogli.co.il/archives/25

On Monday 30 March 2009 11:43:33 Noam Rathaus wrote:
> Hi,
>
> Has anyone been able to get this site to work with FF?
>
> I cannot work with it as everything is limited to 100px height - so
> everything is unreadable.
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: DNS is driving me crazy

2009-03-10 Thread Oren Held
On Tuesday, 10 March 2009 17:50:18 Herouth Maoz wrote:
> Quoting Gabor Szabo :
> > www 3600IN  CNAME   s5.hostlocal.com
> > szabgab.com 3600IN  CNAME   s5.hostlocal.com
> >
> > @   3600IN  MX  10  s6.hostlocal.com.
> >
> >
> > Is that how it should be? With the trailing . on the MS record ?
> >
> > dig   @ns44.domaincontrol.com szabgab.com MX
> >
> > does not seem to show me any MX record
>
> Well, I'm not exactly an expert, but your MX record certainly isn't
> propagated - I think the above definition must be wrong. Why does it
> say "@" where it's supposed to say mail.szabgab.com?

Wrong, instead of the "@" should be szabgab.com and not mail.szabgab.com - 
because he wants u...@szabgab.com mail addresses.

Indeed the @ looks suspicious, unless it says "use the previously used domain" 
(whitespace, and not "@", in bind's zone files), it might be the cause of the 
problem.

 - Oren

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Bank Leumi site finally works from Linux

2009-02-18 Thread Oren Held
On Wednesday 18 February 2009 14:39:32 Gilboa Davara wrote:
> On Tue, 2009-02-17 at 17:36 +0200, Oren Held wrote:
> > On Tuesday 17 February 2009 15:00:29 Dotan Cohen wrote:
> > > > I'm not that excited.
> > > > But it's a start.
> > > >
> > > > Leumi-card site still doesn't work. (Though they do detect that you
> > > > are using Firefox and send you to download IE-Tab plugin)
> > >
> > > Gilboa, did you write to them and let them know that it is not viable
> > > for Linux users?
> >
> > I wrote two months ago, here's their reply:
> > http://israeliweb.blogli.co.il/archives/4
> >
> >  - Oren
>
> Time to bug them again.
> What's their email address?

They have no email address. I snail-mailed them, to the address mentioned in 
the URL above. (Leumi Card, Ben Gurion 11, Bene-Berak).
Maybe it might be good that you provide them that URL in your letter, to 
remind them about their firefox-compatibility announcement.

 - Oren


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Bank Leumi site finally works from Linux

2009-02-17 Thread Oren Held
On Tuesday 17 February 2009 15:00:29 Dotan Cohen wrote:
> > I'm not that excited.
> > But it's a start.
> >
> > Leumi-card site still doesn't work. (Though they do detect that you are
> > using Firefox and send you to download IE-Tab plugin)
>
> Gilboa, did you write to them and let them know that it is not viable
> for Linux users?

I wrote two months ago, here's their reply:
http://israeliweb.blogli.co.il/archives/4

 - Oren

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Bank Leumi site finally works from Linux

2009-02-11 Thread Oren Held
On Wednesday 11 February 2009 13:46:46 Ira Abramov wrote:
[]
> but ok. Lately I also saw that Orange and Clalit work well on FF. I
> guess mobile Internet browsers had an impact where Linux hadn't any...
> at least it's fixed! (read - viewable, usable, but probably not
> standards-compliant still)

Things are getting better indeed, but you are exaggerating:
1. Orange sites are far from working on FF, although they're getting closer 
(can't send SMS, can't read "perut sichot" on orange-bill). See what they 
wrote me a few weeks ago: http://israeliweb.blogli.co.il/archives/19
Of course, that's unless something was changed very recently and I'm not up-
to-date.

2. Clalit doesn't work, it's been discussed here on the list only a few days 
ago. Even the "Contact Us" link on the login page fails. (https://e-
services.clalit.org.il/login/main.aspx)

 - Oren


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Invitation to connect on LinkedIn

2009-02-05 Thread Oren Held
I didn't get it. How did you deduce that?

On Thursday 05 February 2009 10:04:25 Yotam Rubin wrote:
> A. You're in love with him.
>
> 2009/2/5 Amichai Rotman 
>
> >  LinkedIn
> >
> > Amichai Rotman requested to add you as a connection on LinkedIn:
> >
> >
> > Baruch,
> >
> > I'd like to add you to my professional network on LinkedIn.
> >
> > - Amichai
> >
> > View invitation from Amichai
> > Rotman >983015810_2/cBYMcjwRcj0Pe3ALqnpPbOYWrSlI/svi/>
> >
> >
> > *WHY MIGHT CONNECTING WITH AMICHAI ROTMAN BE A GOOD IDEA?*
> >
> > *Have a question? Amichai Rotman's network will probably have an answer*
> > You can use LinkedIn Answers 
> > to distribute your professional questions to Amichai Rotman and your
> > extended network. You can get high-quality answers from experienced
> > professionals.
> >
> >
> > (c) 2009, LinkedIn Corporation
> >
> > ___
> > Linux-il mailing list
> > Linux-il@cs.huji.ac.il
> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Israeli sites that are broken under firefox

2009-01-19 Thread Oren Held
On Sunday, 18 January 2009 22:48:34 Matan Ziv-Av wrote:
> On a related note: ynet.co.il reports that the computer shop lamir
> closed. Good riddance to a shop with an IE only web site.

I've been purchasing stuff from there using Firefox for years.
They had few firefox-incompatibilities and sent the user's password in 
clear-text, but it wasn't 100% IE-only as you claim. There are much worse 
cases.

 - Oren

=
To unsubscribe, send mail to linux-il-requ...@cs.huji.ac.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il



Re: Israeli sites that are broken under firefox

2009-01-05 Thread Oren Held
On Monday, 5 January 2009 22:49:25 you wrote:

> http://forms.gov.il/forms/mot/car/ca...@mot.gov.il.htm
[...]
> While the "online filling" might not work on linux, due to windows-only
> signature software, there is no reason for the site not to work from
> firefox.

If you want to spread the word, you can write few paragraphs about it in 
hebrew, which I'll post on http://israeliweb.blogli.co.il .

Then we can try to get the responsible person's feedback.

 - Oren

=
To unsubscribe, send mail to linux-il-requ...@cs.huji.ac.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-requ...@cs.huji.ac.il



Re: Problems inserting Hebrew text into a MySQL database.

2008-11-23 Thread Oren Held
On Sunday, 23 November 2008 16:44:34 Moshe Teutsch wrote:
>  I'm having a problem INSERTing Hebrew text into a MySQL database. Whenever
> I try to do it through my PHP application the fields that contain Hebrew
> text end up blank. The collation for the Hebrew fields is *utf8_general_ci.
> *I have very little experience with Hebrew in PHP and MySQL applications,
> and would really appreciate any help.

Try using the "charset utf8;"  query or "SET CHARACTER SET utf8;", at the 
beginning of every session. 

 - Oren

=
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: Galgalatz from Linux/Firefox?

2008-10-31 Thread Oren Held
On Friday, 31 October 2008 09:18:15 Geoffrey S. Mendelson wrote:
> Is there a Galalatz stream that can be heard from Linux?
>
> I'd prefer just a url I can feed into mplayer, but a URL that works with
> FireFox would be ok?

I simply do:
xine mms://stream.msn.co.il/gglz (for Galgalatz)
xine mms://stream.msn.co.il/glz-stream (for Galatz)

Would probably work with mplayer as well...

 - Oren

=
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: Penetration testing tools?

2008-10-16 Thread Oren Held
On Thursday, 16 October 2008 07:11:52 Amos Shapira wrote:
> Hello,
>
> I need to find tools to run penetration testing on our external web
> interfaces (a web application and an HTTP-based data interface).
>
> The idea is to be able to run automatic tests on new releases before
> deployment. Stress is "automatic".

Maybe Nessus has the plugins that you need. It's a good thing for general 
vulnerability scanning, dunno if it's good for your specific goal.

 - Oren

=
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: OpenOffice won't access nfs partition

2008-10-12 Thread Oren Held
On Sunday, 12 October 2008 20:59:34 Shlomo Solomon wrote:
> I just upgraded OpenOffice on my wifes Mandriva 2007.1 computer (to OO
> 2.1). Now she can no longer save documents on a partition mounted as NFS
> (the partition is on my machine). This is specific to OO. Other
> applications can write to the drive, so it's not a permission problem (but
> some OO setting that I may have screwed up).

This doesn't make much sense; somehow the openoffice process probably cannot 
write files to these directories.

I'd be:
1. trying to mimic openoffice by simply "echo"ing into a file on the same 
path, using the same user.

2. strace -e file -f -o /tmp/ooo.strace oowriter
then inspect /tmp/ooo.strace for these file-writing errors.

G'luck

 - Oren

=
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]



Planning a room using Dia/Kivio

2008-10-07 Thread Oren Held
Hi,

I'm looking for a Linux software for planning a room. MS Visio does a fine job 
in MS Windows.

Dia & Kivio should be the Visio alternatives, but I couldn't find (neither in 
the software or on the net) shapes for room objects (doors, windows, beds).

Any idea?

10x

 - Oren

=
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: Save a CD

2008-09-20 Thread Oren Held
On Saturday, 20 September 2008 11:55:33 David Harel wrote:
> Greetings,
>
> Got this burnt DVD of a friend which can not be read (burnt on Vista).
> Using k3b menu->tools->diskinfo I can see there are two sessions. I
> would like to extract the content of the CD. What are my options?

If it's iso9660 or udf, you can mount it with "-o session=n"  parameter, to 
force it to see the first session, for example. maybe it can help.

 - Oren

=
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]



Skype phones for Linux?

2008-08-12 Thread Oren Held
Hi,

Following the "Woohoo, Skype subscription now works also in Israel" news, has 
anybody got experience with Skype phones over Linux?

10x

 - Oren

=
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: Spamassassin is gragging my server down to its knees

2008-07-28 Thread Oren Held
Few quick tips:
 - Try to see what is the filter which kills your CPU, maybe it's unnecessary?
 - Use the RAZOR2 filter, PYZOR, DCC
 - Use bayes filter ("teach" sa using sa-learn)

In my place a single-core old AMD handles it pretty well (but I have low 
traffic). I get about 1-2 false negatives per day (to my single mail box).

 - Oren

On Monday, 28 July 2008 13:18:18 Ira Abramov wrote:
> ever since 9am sharp, my server has jumped to a load average of 5-6 and
> is steady up there. I niced spamassassin but it's not much use, the LAMP
> is still slow, which means the websites on the server are extremely
> slow as it is. I stopped the Apache and MySQL and the load does not
> drop. Spam has finally hit the big time I suppose.
>
> If spamassassin was doing the perfect job done by Google, I'd shut up,
> but it doesn't. it still leaves lots of false negatives in my box, and
> what's worse is, it takes such a long time to scan each mail, that legal
> ones fail and retry and end up arriving 2-3 times, or even 10. this is
> becoming very unworkable. Unless I find a better solution, I'll have to
> consider moving about 15 mail domains out to other hosts (And I am not
> too keen about google apps)
>
> I use spamd and clamav as daemons, triggered by simscan for qmail, and
> the quad-core Xeon is sweating like a pig. if anyone has any ideas, I'd
> love to hear them...



=
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: NTP not updating the local clock

2008-07-23 Thread Oren Held
On Wednesday 23 July 2008 16:26, Shachar Shemesh wrote:
> I have a strange problem, and it is happening on several servers.
>
> I set up NTP to synchronize, sometimes with a local NTP source (say, a
> Windows Server domain controller) and sometime external (the usual ntp
> servers). The NTP process is working, and displays the time offset
> properly. However, it does not keep the machine synchronized with the
> server.

Maybe you already checked that, but just in case you didn't:
*BEFORE* running ntpd, the clock should be more-or-less sync'd (I think - up 
to 2min drift). If drift is too high, ntpd won't even try to fix the clock.

That's why most distros run ntpdate on boot before starting ntpd.

Also paste the ntpq -p output as was already suggested here.

 - Oren

=
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 and SSD (solid-state drives) drives

2008-07-23 Thread Oren Held
On Wednesday 23 July 2008 09:52, David Shwatrz wrote:
> Hi, linux il gurus,
Hi! :)

> My question is this:
> I know that the ONLP project uses FLASH drives. This probably
> gave some push for developing FLASH filesystems for Linux.
> what is the state of Linux regarding SSD ?

It's not a direct answer to your question, but:
Asus Eee uses an SSD drive [http://en.wikipedia.org/wiki/ASUS_Eee_PC#Storage], 
and also ships with Linux 
[http://en.wikipedia.org/wiki/ASUS_Eee_PC#Software].

Also, some googling shows that Eee ships with ext3 but people recommend ext2 
to decrease the disk activity:
http://www.sampletheweb.com/2007/12/11/ubuntu-on-the-asus-eee-pc-part-2-or-how-to-install-ubuntu-on-the-eees-internal-drive/
http://justingill.com/blog/2008/05/25/asus-eee-pc-ext3-is-better-than-ext2/

 - Oren

=
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: 64-bit linux

2008-07-04 Thread Oren Held
x86_64 (recognized by 'lm' flag in /proc/cpuinfo) is fully backward compatible 
(16/32 bit).

Of course, a 32bit binary would require 32bit libraries and vice versa (so you 
cannot use 32bit plugins in 64bit firefox without a hack, for example).

Even though x86_64 is mature enough to have all foss in 64bit form, x86_64 
distributions (at least fedora/redhat) still supply popular libraries (i.e. 
libc) in 32bit form.

I didn't understand your "Anything you can recommend?" question.

 - Oren

On Friday, 4 July 2008 19:35:46 Eran Levy wrote:
> Hi All,
> I've got a new duo-core laptop and installed the Ubuntu 64-bit compilation
> for the first time. Anything you can recommend? ALL 32-bit application can
> work on 64-bit? any exceptions? even GTK?
> Should I install any 32-bit libraries?
>
> Thanks for your help,
> Eran



=
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: DNS Server configuration

2008-05-25 Thread Oren Held
On Sunday 25 May 2008 17:14, Oded Arbel wrote:
> Should the DNS server forward all unanswered requests to the ISP's DNS
> servers, or should it do the recursion through the root servers itself ?

I'd be using the root servers, for better reliability and availability.

ISP's DNS would be quicker due to caching, though.

 - Oren

=
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]



SNMP: GET/SET vs. TRAP

2008-04-21 Thread Oren Held
Hi,

net-snmp's GET/SET mechanism looks completely separated from the TRAP 
mechanism, which I find quite bizarre.

NET-SNMP claims to be easily extensible with Perl 
(http://net-snmp.sourceforge.net/wiki/index.php/Tut:Extending_snmpd_using_perl)
However, this extension doesn't know what a TRAP is, only handles GET/SET 
commands.

It seems as if I have two options:
A. Write a completely separate Perl daemon that sends traps using Net::SNMP 
(completely separate code for sending TRAPs and handling GETs/SETs??)
B. Write a subagent in C (a separate process that "talks" to snmpd), which 
handles both GETs/SETs & TRAPs. (Is that the common approach?)

Am I missing something?

Thanks

 - Oren

=
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]



SendSMS through orange account: the end?

2008-04-20 Thread Oren Held
Looks like they added a CAPTCHA. crap.

 - Oren

=
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: Replacing kernel 2.4 -> 2.6

2008-04-02 Thread Oren Held
See the kernel-source/Documentation/Changes file; it has a list of 
requirements.

On Wednesday 02 April 2008 21:53, Aviram Jenik wrote:
> I have a machine that I want to replace the kernel on. It's an old Redhat
> 7.3 and it works; but it's too old to use an rpm. Upgrading to a newer
> version (or different distribution) is not an option.
>
> I intend to compile a new kernel (a 2.6.x) and put it on there. What should
> I be taking into account? Will all the applications work? Are there any
> libc dependencies or similar trickery?
>
> - Aviram
>
> =
> 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: choice of groupware, choice of provisioning server?

2008-03-31 Thread Oren Held
Why would they insist of the mail service would be local? It'll raise many new 
concerns: availability, backups, data corruptions..

If it's just a need for shared calendar and central mail storage, I'd be using 
Google for domains. Should be free of charge for small companies.

IMAP/POP3 is supported and there's also a new outlook-calendar-sync software; 
but I prefer to use the GUI for calendar stuff.

I bet your alternative solution don't suggest the SMS-on-appointment feature, 
not for free at least :)

 - Oren

On Monday 31 March 2008 11:40, Ira Abramov wrote:
> Howdie folks!
>
> 1.
>
> a client of mine is a budding startup, and they got to the point where
> they no longer want their mail services hosted, but locally installed
> and providing the full outlook experience. In simple words - calender
> sync, common folders. stuff that's not readily available with IMAP
> alone. The offer for Exchange will entail buying two servers and lots of
> software licences and I'm hoping not to go there. I've looked into
> Open-Xchange (Ugly, community version doesn't support their outlook
> connector and no community connector to be found), Scalix (Ugly and
> expensive) and Zimbra (Donno if ugly, but still pretty expensive).
>
> Everyone tells me that free/busy files on a samba share don't really
> work. any other solutions or maybe recommendatiopns from a real-life
> experiance with the above three?
>
> 2.
>
> Same client wants standard images for its R&D machines and desktops -
> all CentOS (and maybe windows laptops too down the line). Two common
> aproaches for that are Xcat and OSCAR, and I also had experiance with
> OpenQRM, but that product is EOL. Can anyone recommend one over the
> other, or a different oe altogether?
>
> Thanks,
> Ira.

=
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: choice of groupware, choice of provisioning server?

2008-03-31 Thread Oren Held
On Monday 31 March 2008 15:28, Aviram Jenik wrote:
> > and the
> > google branding on their Emails.
> This is no small matter. I can't see why a company will agree to having
> their emails having "sent on behalf of [EMAIL PROTECTED]".

Why would it use @gmail.com? I was talking about Google for domains - or maybe 
it has a new name (http://www.google.com/a), which can take control of 
@your-domain.com..

I don't think that there's a "Google branding" anywhere.

 - Oren

=
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: choice of groupware, choice of provisioning server?

2008-03-31 Thread Oren Held
Why would they insist of the mail service would be local? It'll raise many new 
concerns: availability, backups, data corruptions..

If it's just a need for shared calendar and central mail storage, I'd be using 
Google for domains. Should be free of charge for small companies.

IMAP/POP3 is supported and there's also a new outlook-calendar-sync software; 
but I prefer to use the GUI for calendar stuff.

I bet your alternative solution don't suggest the SMS-on-appointment feature, 
not for free at least :)

 - Oren

On Monday 31 March 2008 11:40, Ira Abramov wrote:
> Howdie folks!
>
> 1.
>
> a client of mine is a budding startup, and they got to the point where
> they no longer want their mail services hosted, but locally installed
> and providing the full outlook experience. In simple words - calender
> sync, common folders. stuff that's not readily available with IMAP
> alone. The offer for Exchange will entail buying two servers and lots of
> software licences and I'm hoping not to go there. I've looked into
> Open-Xchange (Ugly, community version doesn't support their outlook
> connector and no community connector to be found), Scalix (Ugly and
> expensive) and Zimbra (Donno if ugly, but still pretty expensive).
>
> Everyone tells me that free/busy files on a samba share don't really
> work. any other solutions or maybe recommendatiopns from a real-life
> experiance with the above three?
>
> 2.
>
> Same client wants standard images for its R&D machines and desktops -
> all CentOS (and maybe windows laptops too down the line). Two common
> aproaches for that are Xcat and OSCAR, and I also had experiance with
> OpenQRM, but that product is EOL. Can anyone recommend one over the
> other, or a different oe altogether?
>
> Thanks,
> Ira.

=
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: installing CentOS/RHEL without CD using PXE?

2008-03-28 Thread Oren Held
CentOS/RHEL has the 'kickstart' over network mechanism for about a decade :)

This is a big question, so in general:
1. The DVD contents should be available for reading on an NFS share.
2. TFTP server should supply PXE (see pxelinux), which would lead to the 
correct kernel + initrd (also on the tftp), with kernel parameters "ks" to 
point on your "ks.cfg".
3. DHCP would give the server its IP and the path to the TFTP PXE boot. 
("next-server" dhcp parameter).

I'm sure there's plenty of docs out there about ks..

On Friday, 28 March 2008 17:41:50 Hetz Ben Hamo wrote:
> Hi,
>
> I just got an thinkpad X31 without the ultrabase, which means - no
> CDROM/DVD. I don't have an external CDROM/DVD (I have 6 internal DVD
> drives on my other machines already).
>
> So I was wondering if someone knows a way to install CentOS/RHEL (or
> any other Linux distribution) without using any external DVD/CD drive,
> without disk-on-key (the ISO image itself is about 3.6 GB). Any ideas?
> anyone tried to install a distribution using the PXE boot?
>
> Also, does anyone knows any Linux program which can simulate a
> CDROM/DVD drive with a PXE?
>
> Thanks,
> Hetz



=
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: RPM erasing old packages?

2008-03-26 Thread Oren Held
A specific file can't belong to more than one package, thus removing an 
unneeded package won't ruin another package's files.
(Unless it was really badly packaged, that rarely happens on the popular 
distros, I guess)

Btw I prefer 'yum remove' and 'yum localinstall' over 'rpm -e' and 'rpm -i' 
(respectively), cuz it's also dependency-aware.

On Wednesday 26 March 2008 14:03, Geoffrey S. Mendelson wrote:
> I made a mistake using YUM to upgrade a Fedora Core 5 system to
> Fedora 8. Instead of logging on as root from the console, I
> ssh'ed into it from my user (which mounts its home directory
> via NFS) and did it using sudo.
>
> Everything went fine until it got to the package cleanup stage.
> It cleaned up about half of the old packages and hung at the NFS
> package.
>
> I found a web page that suggested I get rid of old packages using
> "package-cleanup --orphans"
>
>   http://fedoraproject.org/wiki/YumUpgradeFaq
>
> This generates a list of packages that no longer exist. However
> before I erase them, I want to make sure that RPM will not erase
> any files belonging to a newer package.
>
> Do I have to do anything besides "rpm -e"?
>
> Thanks,
>
> Geoff.

=
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: RTL in plaintext mails

2008-02-24 Thread Oren Held
On Monday 25 February 2008 06:36, Avraham Rosenberg wrote:
> > I feel dumb.. Am I missing something, or is it just impossible to send
> > Right-To-Left mails in plaintext?
> > Must I use HTML mails when I write in Hebrew?
>
> I use plain text for my E-mail in Hebrew (Mailer mutt, editor vi). My only
> real problems are with the choice of encoding (utf-8 or ISO) and, when
> writing to people who use windows, I have to remember that their mail
> clients automatically reverse direction. So that I have to use a terminal
> in which the Hebrew text appears reversed in my system.
> As there is a variety of mailers in windows, and they do not treat Hebrew
> exactly the same way, I receive from time to time complains about some
> problems. Actually, I am not sure that these problems are related to their
> mailer. The problem may be just the size of their window/vs the length of
> my lines. Keeping lines short is a safe bet.

First, kudos for using vim for mails. (Real men use 'ed' =) )

Maybe I was unclear: I wasn't talking about using Logical Hebrew - this I take 
for granted.. I was talking about 'align to the right' and putting the text 
in 'RTL mode', so that mixed Hebrew lines with few English words inside  
would be rendered correctly.

I find it funny if it's just not possible in plaintext.. I like plaintext :)

 - Oren

=
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]



RTL in plaintext mails

2008-02-24 Thread Oren Held
Hi,

I feel dumb.. Am I missing something, or is it just impossible to send 
Right-To-Left mails in plaintext?
Must I use HTML mails when I write in Hebrew?

Thanks

 - Oren

=
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: Large scale DNS

2008-02-09 Thread Oren Held
I don't know much about TinyDNS,
but recently I've read a survey claiming that 70% of the name servers are 
BIND: http://www.infoblox.com/library/pdf/2007-survey-executive-summary.pdf 
(2nd paragraph)

Furthermore, BIND operates most of the ROOT SERVERS:
http://en.wikipedia.org/wiki/Root_nameserver (first table)

On Saturday, 9 February 2008 19:58:56 Michael Tewner wrote:
> Hasn't tinyDNS been used for super-large installations?
>
> On Feb 8, 2008 4:31 PM, Oren Held <[EMAIL PROTECTED]> wrote:
> > Maybe you should read about Dynamic DNS: it's a protocol extension (bind
> > & MS DNS support it for years).
> > When enabled, bind actually uses journal (.jnl) files for each zone, and
> > synchronises the text files only when requested to (i.e. when doing
> > service named stop). In this mode you shouldn't edit the text files
> > manually when bind is alive!
> >
> > Dynamic DNS lets you make changes live, forgetting that these text files
> > exist. It's simply a protocol extension which allows sending updates
> > (i.e. add this record, remove that, etc).
> >
> > 'nsupdate' is bind's not-too-friendly tool for doing these updates,
> > Perl's Net::DNS allows you to write your customised stuff. I once wrote
> > http://hostupd.sf.net to ease this task, although keep in mind it's not
> > maintained anymore.
> >
> > I don't see why you dislike text files so much. This simplicity has many
> > advantages. As I see it, the big disadvantages of dns-zones-as-text-files
> > are in the EDITING process (multiple edits at once, locking, mistakes
> > which ruin the whole zone). These disadvantages are solved by using
> > Dynamic DNS. As for storage in text files, sounds cool to me, even for
> > big zones.
> >
> > "Peace Sabbath",
> >
> >  - Oren
> >
> > On Thursday, 7 February 2008 14:51:06 David L. Smith wrote:
> > > Does anybody know how one goes about managing a DNS server with tens or
> > > hundreds of thousands of addresses ?
> > >
> > > >From searching around I get the impression that everybody re-invents
> > > > the
> > >
> > > wheel for themselves, and either manually edit text files, or
> > > dynamically generate them. All solutions based on more scalable
> > > technologies than textfiles seem to be either immature (eg bind-dlz),
> > > limited in features(long list) or not widely used.
> > >
> > > It seems unimaginable that a technology so established and widespread
> > > would be lacking what I would see as a sensible scalable
> > > implementation. Am I missing something ?
> > >
> > > David
> > >
> > > =
> > > 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]
>
> =
> 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: Large scale DNS

2008-02-08 Thread Oren Held
Maybe you should read about Dynamic DNS: it's a protocol extension (bind & MS 
DNS support it for years).
When enabled, bind actually uses journal (.jnl) files for each zone, and 
synchronises the text files only when requested to (i.e. when doing service 
named stop). In this mode you shouldn't edit the text files manually when 
bind is alive!

Dynamic DNS lets you make changes live, forgetting that these text files 
exist. It's simply a protocol extension which allows sending updates (i.e. 
add this record, remove that, etc).

'nsupdate' is bind's not-too-friendly tool for doing these updates,
Perl's Net::DNS allows you to write your customised stuff. I once wrote 
http://hostupd.sf.net to ease this task, although keep in mind it's not 
maintained anymore.

I don't see why you dislike text files so much. This simplicity has many 
advantages. As I see it, the big disadvantages of dns-zones-as-text-files are 
in the EDITING process (multiple edits at once, locking, mistakes which ruin 
the whole zone). These disadvantages are solved by using Dynamic DNS. As for 
storage in text files, sounds cool to me, even for big zones.

"Peace Sabbath",

 - Oren

On Thursday, 7 February 2008 14:51:06 David L. Smith wrote:
> Does anybody know how one goes about managing a DNS server with tens or
> hundreds of thousands of addresses ?
>
> >From searching around I get the impression that everybody re-invents the
>
> wheel for themselves, and either manually edit text files, or
> dynamically generate them. All solutions based on more scalable
> technologies than textfiles seem to be either immature (eg bind-dlz),
> limited in features(long list) or not widely used.
>
> It seems unimaginable that a technology so established and widespread
> would be lacking what I would see as a sensible scalable implementation.
> Am I missing something ?
>
> David
>
> =
> 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]



[JOB Offer] Web developer needed

2008-02-04 Thread Oren Held
Hi,

The startup I work for (http://www.videocells.com) develops a product in the 
video streaming area, with a professional web application at the frontend. 
The web team needs a new skilled web developer:

Requirements:
* Experience PHP and/or other web-development technology
* Knowledge of advanced javascript (AJAX, DOM, etc)
* Good knowledge of HTML / CSS
* Quick learning of new software systems

$score++ if:
* Previous experience with DB (Oracle, MySQL)
* Experience with Linux
* C / C++ knowledge
* Relevant academic degree

For info please contact [EMAIL PROTECTED] , our HR/Giyus person.

 - Oren

=
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: AD Integration/Replacement?

2008-02-03 Thread Oren Held

On Sunday, 3 February 2008 21:02:05 Ira Abramov wrote:
> A(nother) client of mine is fighting the old fight of central directory
> management. Situation went quickly downhill yesterday when their Active
> Directory server's hardware died. I've been originally asked to come
> help them integrate it with Linux but instead tomorrow it will be an
> emergency fire fight and maybe a different approach should be
> considered.
>
> The comapny has a Gnu/Linux-based product and development nodes, but
> most of the tech staff was decided to run on windows machines (don't
> ask). The question now is whether I help them disjoin their machines
> from the disfunct 2003 server's domain and help them work with a bunch
> of standalone XPs and a Samba server, or could I use the Samba as a PDC
> and build a second one as BDC? I know Samba is capable of that, but I
> have never heard about a real world case where that works, and if it
> works well.
>
> Also, if a Samba machine is a direcotry server, can I get the rest of
> the Gnu/Linux nodes on the LAN authenticate against that somehow or do I
> have to synchronise that to a YP map? what's the best way of
> synchronising a password change to both the yp master as well as the
> Samba's internal DB? I always just change password for both on the
> commandline but in a real world environment I suppose there should be a
> web interface maybe to do that? should I look at SWAT?

1. I think you should be using an LDAP backend to samba. This way Unices would 
auth against LDAP, and windowses against samba (but LDAP DB). I guess samba 
has more backends (mysql maybe?), but LDAP fits best..
2. PDC/BDC setup would probably miss many features (still it's 90s 
technology); Samba 4 should be able to mimic Win2k DC, but it's alpha.
3. I indeed never heard of someone using samba as a DC, although I tend to 
trust the samba guys.. they do good job :)  
4. Have you considered winbind? Either against samba, or actually reinstalling 
a win2k3 DC, while unices authenticate using winbind?

 - Oren

=
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]



[SOLVED] Recommended filesystem for 6TB storage

2008-02-02 Thread Oren Held
[... Once upon a time I asked about Linux support of >2TB filesystems ...]

Okay, task is over and we have a 2.5TB ext3 filesystem (eventually not 6TB), 
it looks stable also.

Here are the findings:
1. For >2TB, one must use a "gpt" type partition table and not the default, 
msdos one. Same goes for MS-Windows, if I got it right.
1.1 fdisk doesn't support gpt, we used parted.
1.2 grub doesn't seem to either support gpt or such huge disk/partition. We 
could afford booting from another, small disk (/boot comes back to 
live? :) ), so that did it.. So we didn't research the grub thing too deep.

2. At the beginning we used an msdos partition for the big disk. It didn't 
give errors immediately! only when accessing the >2TB blocks problem occurred 
(i.e. when running fsck, or after few days of writing..).

3. CentOS5 (and thus RHEL5) partitioning config tool ("disk druid", I think?) 
doesn't handle big disks/partition automatically: it created msdos partition 
table.

Thanks again for your replies.

 - Oren

=
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: upgrade to Centos 5 question

2008-01-28 Thread Oren Held
[...]
> I installed Centos 5 on my home server and I update it frequently.
> But Centos 5 is not for home use - its distribution does not have
> media programs (like LVM, I wanted it for media streaming). So for
> home/media use, may be Fedora (now 8) is better for your needs (few
> RPMs are available for Centos on ATRPMS, FreshRPMS does not support
> RHEL/Centos at all).

I agree that CentOS is usually not good for home. (I use it as home server, 
but run debian-unstable VMs inside :) )
Still, many RPMs are available through the amazing DAG repository:
http://dag.wieers.com/rpm/packages/

Also there is the new EPEL project, but it's 'limping' a little..
http://fedoraproject.org/wiki/EPEL

 - Oren

=
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: Recommended filesystem for 6TB storage

2008-01-22 Thread Oren Held
On Tuesday 22 January 2008 22:18, Gilad Ben-Yossef wrote:
> > Hi,
> >
> > As far as I understand, ext3 on RHEL5 should support a single filesystem
> > of 8TB or 16TB.. (http://www.centos.org/product.html)
> >
> > Still, I wonder if it's smart to create a 6TB ext3 file system.
> > In theory, filesystem size won't affect stability or performance (except
> > for fsck speed I guess).
> > But in practice? Anybody got experience with it?
> >
> > I like ext3 for its stability, nativity and popularity; do you think that
> > I should still use something else for such huge disks?
>
> We have at least one client which makes use of ext3 for similarly sized
>   file systems with mostly random access fil eaccess for very critical
> information. From what I can judge it works quite well.
>
> You will have to provide more details to get more specific advice
> though. Specifically, what Hetz and other have asked is very very
> relevant indeed: how do you plan to use this file system: lots of small
> file, couple of big files? How does the typical work load looks like?
> random access? streaming? Mostly read, mostly write? etc.

I'm talking about a system which puts many many 1MB files, spreaded over quite 
a deep directory hierarchy - so directories don't have a huge number of 
files.

It's a proprietary software (yes yes too bad =) ) written in the company I 
work for (videocells.com), the product does heavy writing-new-files (in 
parallel) and deleting-old-files, mostly.
I guess it's not really random access but not really sequential access either.

Quite a tough question to answer in theory, no? I'd better do benchmarks when 
we get the hardware..

Thanks for all the replies..!

 - Oren

=
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]



Recommended filesystem for 6TB storage

2008-01-22 Thread Oren Held
Hi,

As far as I understand, ext3 on RHEL5 should support a single filesystem of 
8TB or 16TB.. (http://www.centos.org/product.html)

Still, I wonder if it's smart to create a 6TB ext3 file system.
In theory, filesystem size won't affect stability or performance (except for 
fsck speed I guess). 
But in practice? Anybody got experience with it?

I like ext3 for its stability, nativity and popularity; do you think that I 
should still use something else for such huge disks?

Thanks!

 - Oren

=
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: Translate Gibberish to Hebrew

2008-01-20 Thread Oren Held
Sorry, I didn't realise it's a web thingie (I thought it's a Linux util).
Very nice. I'll try to read better next time :)

On Sunday 20 January 2008 11:56, Dotan Cohen wrote:
> I've been working on a website that translates wrongly-encoded Hebrew
> (Gibberish) to legible Hebrew. Today I added another function which
> turns around backwards Hebrew without turning around numbers or
> English. Off topic or not, I figure that this would be a useful tool
> for many linux-il list members. Here is the address:
> http://gibberish.co.il/
>
> If you have any problems with the site, let me know via the site's
> contact form, or email me here. Shavua Tov!
>
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?

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: Translate Gibberish to Hebrew

2008-01-20 Thread Oren Held
On Sunday 20 January 2008 16:15, Dotan Cohen wrote:
> > Sorry, I didn't realise it's a web thingie (I thought it's a Linux util).
> > Very nice. I'll try to read better next time :)
>
> Actually, Oren, I did not realize that there are Linux tools that do
> the same thing. Had I know, I might not have written the site!
> Seriously, though, thanks for the info and I will mention those tools
> in an upcoming page about alternative solutions.

What you did is "visual to logical". A quick search shows that fribidi DOESN'T 
do it. It seems to have fribidi_log2vis() function but not 
fribidi_vis2log() .

 - Oren

=
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]



Fwd: Re: OT: Translate Gibberish to Hebrew

2008-01-20 Thread Oren Held
Sorry, I didn't realise it's a web thingie (I thought it's a Linux util).
Very nice. I'll try to read better next time :)

On Sunday 20 January 2008 11:56, Dotan Cohen wrote:
> I've been working on a website that translates wrongly-encoded Hebrew
> (Gibberish) to legible Hebrew. Today I added another function which
> turns around backwards Hebrew without turning around numbers or
> English. Off topic or not, I figure that this would be a useful tool
> for many linux-il list members. Here is the address:
> http://gibberish.co.il/
>
> If you have any problems with the site, let me know via the site's
> contact form, or email me here. Shavua Tov!
>
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?

---

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: Translate Gibberish to Hebrew

2008-01-20 Thread Oren Held
Hi,

I'm not 100% familiar with all the tools, but this sounds like something that 
fribidi + iconv already do.. What am I missing?

Or is it the converse of what fribidi does (visual-to-logical)?

 - Oren

On Sunday 20 January 2008 11:56, Dotan Cohen wrote:
> I've been working on a website that translates wrongly-encoded Hebrew
> (Gibberish) to legible Hebrew. Today I added another function which
> turns around backwards Hebrew without turning around numbers or
> English. Off topic or not, I figure that this would be a useful tool
> for many linux-il list members. Here is the address:
> http://gibberish.co.il/
>
> If you have any problems with the site, let me know via the site's
> contact form, or email me here. Shavua Tov!
>
> Dotan Cohen
>
> http://what-is-what.com
> http://gibberish.co.il
> א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
>
> A: Because it messes up the order in which people normally read text.
> Q: Why is top-posting such a bad thing?

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: Second opinion: oom-killer

2008-01-17 Thread Oren Held
I have no direct answer to your question. Oom-killer should be triggered in a 
memory emergency, and not when there's enough free memory space.

Some notes though:

A. oom killer doesn't randomly choose a process to kill..  I described the 
algorithm for choosing a candidate for killing in: 
http://www.held.org.il/blog/?p=18 (I *might* have missed something there, 
don't trust it 100%).

B. I can't see why disabling the swap would help to AVOID oomkiller? Swap 
should ENLARGE the available memory space; disabling swap might cause 
triggering oomkiller more frequently. Maybe I misunderstood what you meant.


 - Oren

On Thursday 17 January 2008 12:32, Shachar Shemesh wrote:
> Hi list,
>
>
> I need the esteemed people's second opinion to a recommendation I gave a
> client.
>
>
> The setup:
>
> Machine with 16GB ram and a bit of swap, running 32bit gentoo with (as
> far as I know) 3:1 memory split.
>
>
> The symptoms:
>
> Every so often the oom-killer kicks in, for no apparent reason. The
> processes it kills appear to be randomly chosen. Monitoring was not
> turned on, but there is no reason to suspect the 16GB+swap were nowhere
> near exhausted at the time.
>
>
> My suggested diagnosis and recommendations:
>
> The kernel only has 1GB with which to work, which causes it to run out
> of memory for managing the page tables. I recommended they:
>
> - As a first stage, disable the swap.
>
> - As a second stage - switch to a 64bit kernel
>
>
> My question is whether my diagnosis makes any sense, and if not, whether
> anyone has any better idea as to what might be the problem.
>
>
> Also, is there any way to monitor how much kernel memory is in use? It
> seems that monitoring the "LowTotal" and "LowFree" values in
> /proc/meminfo may be what I'm looking for, but I'm not sure I'm reading
> the docs proprely.
>
>
> Shachar
>
>
> =
> 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: vnc in window mode ?

2008-01-08 Thread Oren Held
I think he want something like 'screen', just for GUI..

On Tuesday, 8 January 2008 17:31:41 Hetz Ben Hamo wrote:
> Hi,
>
> Not sure I'm understand you well...
>
> You can open a VNC window on machine A,  kill the VNC on the remote
> machine and open it on another machine and it won't kill the VNC
> session that is running on the VNC Server. You can do it either with a
> command line or manually..
>
> Thanks,
> Hetz
>
> On Jan 8, 2008 5:18 PM, Erez D <[EMAIL PROTECTED]> wrote:
> > i am looking for a way to open a window, and then later move it to
> > another computer (somthing like changing the display dynamically)
> >
> > i know i can do it for a whole desktop with vnc
> > and in text mode via screen
> >
> > how can i do it for a single window (without running every window on a
> > seperate display with multiple vncservers, one per window)
> >
> >
> > thanks,
> > erez.



=
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 memory monitoring compared to MS-Windows

2007-12-18 Thread Oren Held
There's something in your question I don't understand:
If a process has 1gb in virtual memory, of which 500mb in physical,
then this means that it has 500mb in swap. Or in other words: 500mb that the 
process wanted in physical but couldn't. (isn't that what you asked to know)

Obviously I'm missing something here.

Anyway, few notes:
 - MM starts swapping *EVEN BEFORE* all processes hog the whole physical 
memory. That's because the kernel wants to leave some memory space for 
buffers/cache. So you may find yourself swapping idle pages while 
theoretically some physical memory might be freed. This behavior tunable 
via /proc/sys/vm/swappiness
- "free" command has an interesting 2nd line, which shows the net memory usage 
(i.e. without buffers/cache)
- The amazing "top" command can add a swap column; press "O", then "p" and 
enter. (If 'top' can do it, the per-process swap-vs.-physical data can 
probably be fetched from /proc/ some way, I don't know how, though)


On Tuesday 18 December 2007 02:36, Oded Arbel wrote:
> Hi List.
>
> I heard (but haven't actually seen) that in MS-Windows the system keeps
> track of some notion of "working set", which is supposedly (if I
> understand correctly) the total size of pages that an application
> referenced recently - whether these are currently resident or swapped
> out (see http://msdn2.microsoft.com/en-us/library/ms684891.aspx which is
> an MSDN article I found on the subject).
>
> The way I understand processes normally work (in Linux anyway) is that
> as long as there is enough memory available the memory manager keeps all
> pages that an application constantly references in physical RAM, and
> pages that are not references are swapped out after a while. A good
> example of such is a long running Java virtual machine process (at least
> the Sun implementation anyway) that doesn't return unused memory to the
> operating system letting it being swapped out until its needed again -
> so I have some jvm process which takes up some 1.5GB of virtual but less
> then 150MB resident: it was processing a lot of data some time in the
> past but now its idling.
>
> Now (again - according to my understanding) under contention - i.e. when
> processes need to use more physical memory then what is available - the
> memory manager keeps swapping stuff in and out of memory in an attempt
> to satisfy all requests. Under such conditions its might be useful to
> know - for each process - the amount of physical memory in use, the
> amount of virtual mapped to the process, but also how much of that
> virtual memory the process actually tries to use but can't get it all in
> physical RAM because other processes are also hogging the memory. Does
> such a thing exist in Linux?
>
> Thanks in advance
>
> --
> Oded
>
>
> =
> 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: Hebrew in KDE?

2007-11-15 Thread Oren Held
- As Ilya said, let her try to read the text in some native KDE app, such as 
kwrite/kedit.
- Make sure this text she tries to read is UTF-8 and not iso8859-8 (of course 
if it's required there's a way she could also view that, but why live in the 
80s..).
- Make sure she has 'UTF-8' enabled while typing 'locale' in an xterm. if not, 
export LC_ALL=en_US.utf8, LANG=en_US.utf8 or something similar.

On Thursday, 15 November 2007 14:59:45 Ilya Konstantinov wrote:
> On Nov 15, 2007 2:37 PM, sammy ominsky <[EMAIL PROTECTED]> wrote:
> > She doesn't want to change her whole desktop to Hebrew, just to be
> > able to view Hebrew text.  If I type to her in Hebrew, she sees
> > gibberish, and if she cut-n-pastes that gibberish back to me, I see
> > hebrew again.
>
> Maybe it's a question of the program you're using to type the text. Some
> programs don't work very well with Hebrew, or any non-Latin language at
> all.
>
> So, which program is it? Some instant messenger? Some email program?



=
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: Realtek 8139 network card installation

2007-10-15 Thread Oren Held
Very well supported.

On Monday, 15 October 2007 20:32:55 Eran Levy wrote:
> Hi,
> I'm having some problems with my current network card and my friend gave me
> a Realtek 8139 card to install until I'm buying a new one. Anyway...before
> I'm installing the Realtek card, I've 2 questions (it's urgent):
> 1. Do you know if the Realtek 8139 drivers are already embedded in Fedora
> Core kernel?
> 2. Can someone help me and write in a few points how do I make it work?
>
> Thanks,
> Eran



=
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: MSI Laptops under Linux

2007-09-04 Thread Oren Held
Ivory is not just "the reseller in this case", Ivory is MSI's Israeli 
representative (www.msi-israel.co.il). They push MSI very hard to the market.

*I've never used MSI laptop*, but I'd bet the 'major laptop vendors' has both 
so much better official Linux drivers and community support.

 - Oren

On Tuesday, 4 September 2007 22:51:17 Daniel Feiglin wrote:
> Has any one tried running MSI Laptops under Linux?
>
> Specifically has anyone tried the VR600 model?
>
> What's interesting about it:
> 1. It's not too expensive
> 2. You can buy it locally without a pre-installed OS
> 3. The reseller (in this case Ivory) claims that they support it at
> their various centers i.e. you're not stuck with a third party importer
> with one location here.
>
> Thanks,
>
> DAF



=
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: System resource monitoring and reporting utility ?

2007-08-08 Thread Oren Held
A friend of mine (Amnon) found Munin (http://munin.projects.linpro.no/), which 
is a great system resource grapher tool which has plugins for almost 
everything from swap, ntp time drifts, disk temperature - to mysql queries 
per second.

However, it draws graphs, I'm not sure it can send alerts. You can set limits 
(like highest cpu temperature or free disk space) which tag the whole node 
as "red", maybe it's even capable of notifying.. worth a check I guess.

On Wednesday, 8 August 2007 17:46:48 Maxim Veksler wrote:
> Hello list,
>
> I'm looking for a simple system monitoring script / utility.
> I need to do checks like memory usage, cpu usage, hard disk usage and co.
> I would like to email alerts if one of the check fails.
>
> I know SNMP traps are exactly what I'm after, oddly I haven't been
> able find any decent project that will support this. Has anyone had
> any experience with opennms/nagios and could point me to their client
> side Linux agent ?
>
> Again, I'm after a simple and easy to setup resource watchdog utility.
>
> Tips will be publicly acknowledged.
>
> Thank you,
> Maxim.



=
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: Digital Photo Manager

2007-08-07 Thread Oren Held
I wonder if I'm the first one to say: http://gallery.sf.net 
one of the most amazing webapp I've seen.

Gallery1 works on raw filesystem + data file,
Gallery2 keeps the data in DB (mysql but probably others as well).

I think it fits MOST of your requirements.

 - Oren

On Wednesday, 8 August 2007 00:47:24 Nadav Har'El wrote:
> Hi,
>
> Like most people with a digital camera, I've amassed thousands of photos
> on my hard disk. Viewing them with "xv", my trusty but long-in-the-tooth
> image viewer, has become unwieldy, if not damn near impossible. I also
> really miss the possibility to *search* on my photos without going over all
> the pictures every time - something which I find myself doing very often
> for various occasions.
>
> So basically, I'm looking for a photo management application for Linux.
> Something like Picassa would have been a good start, but not good enough,
> as you'll see below in my wish-list. I also tried f-spot and it's not good
> enough. So I was wondering, maybe the wise people of this list can
> recommend a good photo management application for Linux?
>
> Here is my wishlist for a photo manager. In fact, I'm wishing for these
> features so much, that I'm itching to write one myself... (but I hope it
> doesn't have to get to that).
>
> 1. I don't want any sort of vendor lock-in, forcing me to stay with a
> certain application once I choose it. Therefore:
>
>a. The photo manager should be able to work on a normal filesystem
>   hierarchy of photos, neither ruining it nor making a complete copy.
>
>b. Whichever metadata the photo manager wants to save (like tags - see
>   below) it should save in an open, simple and potentially-standard
> file format.
>   Not in an uber-complex database, and not (given 1a) to the photo
> files themselves. Picasa and f-spot both fail in this regard - I didn't
> manage to extract the meta-data I save in them to any readable format.
>
> 2. The application should allow me to easily and quickly browse all my
> photos in different sizes (like in picassa).
>
> 3. The application should allow me to add textual descriptions and "tags"
>to pictures, and have a full-featured text search engine to search
> these.
>
>For example, I can add to each picture tags specifying the persons in
> the picture, location of the picture, and so on, and then, for example,
> search for all pictures containing a specific person. F-spot's tags are a
> good start, while Picassa's folders are a worthless disaster. But remember
> 1b - these tags need to be saved in a simple format, not in a propriatary
> database. I don't want to spend hours to type tags in, and then be unable
> to use them if I switch software. I don't loose my C code if I switch from
> VI to Emacs!
>
> 4. Bonus points for some automatically-generated "tags" based on dates,
>camera, colors, and other information obtainable from the picture files.
>
> 5. I want a digital photo manager, not a digital camera manager, and not a
>sophisticated photo editor - for which separate applications are
> available.
>
> 6. Bonus points for an application that doubles as (or is only) a Web-
>application - allowing others to "log in" to the application over the
> web, and see my pictures according to access controls I specify (e.g., I
> can say that a specific person can only see pictures with some specific
> tag).
>
>Extra bonus points for a Web application that can host picture
> collection uploaded by several users, allow them to manage their own photos
> and others so see only some (as above), and perhaps help with the tagging
> task. I'm looking for something small, though, not something capable of
> running a huge site like as flickr.com.
>
>
> So, can anyone point me to a good (according to my definition of good ;-))
> digital photo manager? Or shall I be forced to write one myself?



=
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: Wireless hardware recommendations

2007-06-16 Thread Oren Held

I'm very satisfied with the atheros open source driver - www.madwifi.org.
This is the atheros based PCI card I bought for my PC: 
http://www.lamir.co.il/product.asp?product=2213,

but maybe there are newer ones, I bought this one in October.

G'luck

- Oren

Geoff Shang wrote:

Hi,

I've got an Edimax wireless router (not sure of the model number as I can't 
read it),and now need some PC hardware to go with it.


1.  I need a PCMCIA wireless adaptor or something else suitable for a 
laptop.


2.  I need something suitable for a desktop PC.

Obviously I'm looking for something that works under Linux, as well as that 
other operating system.  The router can do 54 mbps wireless and I have it 
set up to use WPA2(AES) with pre-shared keys, so the hardware should support 
this too.


This is my first step into wireless networking, so any recommendations or 
additional advice will be most welcome.


Cheers,
Geoff.


=
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: GPL Issue

2007-05-19 Thread Oren Held




No. I just wonder who's salary is actually based on his GPL code work.

I don't argue the GNU ideology now, I just believe that PRACTICALLY
there are no "software houses" (or individual programmers) in Israel
which produce GPL software as their main business, and which survive
and succeed for more than 5 years.

This reason or another, I'm just saying that it doesn't work here
as a salary-source. In Europe & USA there are few cool
GPL-code-based companies like TrollTech, MySQL.  (I don't refer to RH
& SuSE as GPL-code-writers as main business)

An Israeli example for a GPL-related-software-company that I know is
Zend ("The PHP Company").
Zend produces proprietary software such as various PHP-helper-tools -
as their main business. 


 - Oren

Ori Idan wrote:
Do you think that GPL code means no money?
  
-- 
Ori Idan
  
  
  On 5/19/07, Oren Held <[EMAIL PROTECTED]> wrote:
  
  
I wonder how many software
programmers in Israel provide their children
from GPL code revenues.


Ori Idan wrote:
I did not say anything against Amos. I think he is doing
the right thing.
What I say is that I don't like the whole idea of propriatry software
and that people try to find ways they can use GPL with propriatry
software. 
I think the whole purpose of the GPL is to eliminate propriatry
software and that is what we all should aim to.
  
-- 
Ori Idan
  
  
  On 5/18/07, 
Oleg Goldshmidt <[EMAIL PROTECTED]>
wrote:
  "Ori
Idan" <[EMAIL PROTECTED]>
writes:

> The whole purpose of the GPL is to keep software freedom.  I hate
> all those who try to bypass the GPL and find a way to write 
> propriatry software and bypass the GPL.

> I usually avoid working with such companies.

Ori,

This is your prerogative. I would like to point out that Amos is
clearly not trying to bypass GPL and is in fact acting responsibly 
trying to resolve the issue as soon as it was discovered. They are
trying to maintain what they perceive as commercial advantage by
perfectly legal means, as far as I can judge.

If you are a current client of his company, and if you got their 
proprietary software that links to libipq, I suppose you can demand
that they release their code to you under a GPL-compatible license
(Shlomi is right), sue for it, etc. If you are a shareholder, then you
may have an issue with the company not exercising due diligence and 
catching the problem earlier.

Amos,

I personally appreciate that you (and I hope the decision-makers in
your company) are feeling uncomfortable. I don't think you should feel
like criminals because you want to keep your code legally 
proprietary. I think you have asked the right question and that should
not make you feel uncomfortable. You real problem is lack of due
diligence in the past. (Well, if a customer sues you to release the
code then it will be a real problem, too.) 

I think you need to a) fix the problem as quickly as possible, and b)
apply due diligence in the future.

--
Oleg Goldshmidt | [EMAIL PROTECTED]
| http://www.goldshmidt.org

=
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: GPL Issue

2007-05-19 Thread Oren Held




I wonder how many software programmers in Israel provide their children
from GPL code revenues.

Ori Idan wrote:
I did not say anything against Amos. I think he is doing
the right thing.
What I say is that I don't like the whole idea of propriatry software
and that people try to find ways they can use GPL with propriatry
software.
  
I think the whole purpose of the GPL is to eliminate propriatry
software and that is what we all should aim to.
  
-- 
Ori Idan
  
  
  On 5/18/07, 
Oleg Goldshmidt <[EMAIL PROTECTED]>
wrote:
  "Ori
Idan" <[EMAIL PROTECTED]>
writes:

> The whole purpose of the GPL is to keep software freedom.  I hate
> all those who try to bypass the GPL and find a way to write

> propriatry software and bypass the GPL.

> I usually avoid working with such companies.

Ori,

This is your prerogative. I would like to point out that Amos is
clearly not trying to bypass GPL and is in fact acting responsibly

trying to resolve the issue as soon as it was discovered. They are
trying to maintain what they perceive as commercial advantage by
perfectly legal means, as far as I can judge.

If you are a current client of his company, and if you got their

proprietary software that links to libipq, I suppose you can demand
that they release their code to you under a GPL-compatible license
(Shlomi is right), sue for it, etc. If you are a shareholder, then you
may have an issue with the company not exercising due diligence and

catching the problem earlier.

Amos,

I personally appreciate that you (and I hope the decision-makers in
your company) are feeling uncomfortable. I don't think you should feel
like criminals because you want to keep your code legally

proprietary. I think you have asked the right question and that should
not make you feel uncomfortable. You real problem is lack of due
diligence in the past. (Well, if a customer sues you to release the
code then it will be a real problem, too.)


I think you need to a) fix the problem as quickly as possible, and b)
apply due diligence in the future.

--
Oleg Goldshmidt | [EMAIL PROTECTED]
| http://www.goldshmidt.org

=
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: x permission problems

2007-04-18 Thread Oren Held
Does your X Server listen to tcp/ip connections? (sometimes default is 
only local unix sockets).


The simple test you can do is 'telnet 172.20.1.20 6000' from the remote 
machine, or even 'telnet localhost 6000' from the local machine.


Erez D wrote:
can not open remote apps (xterm from "creambo") on my desktop 
("erez-dual")


here is the log:

[EMAIL PROTECTED] ~--> echo $SHELL
/bin/bash
[EMAIL PROTECTED] ~--> echo $DISPLAY
:0.0
[EMAIL PROTECTED] ~--> ip addr show eth0|grep 'inet\>'
   inet 172.20.1.20/24 brd 172.20.1.255 scope global eth0
[EMAIL PROTECTED] ~--> xhost +
access control disabled, clients can connect from any host
[EMAIL PROTECTED] ~--> xhost
access control disabled, clients can connect from any host
[EMAIL PROTECTED] ~--> ssh creambo
Last login: Wed Apr 18 17:12:03 2007 from 172.20.1.20
[EMAIL PROTECTED] ~--> echo $SHELL
/bin/bash
[EMAIL PROTECTED] ~--> export DISPLAY=172.20.1.20:0
[EMAIL PROTECTED] ~--> xterm
xterm Xt error: Can't open display: 172.20.1.20:0
[EMAIL PROTECTED] ~-->


"creambo" is centos4.0
"erez-dual" is ubuntu edgy
home dir is same on both (mounted from a common nfs server)
user is defined via nis server.

any 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]




=
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: cp command with progress bar

2007-04-18 Thread Oren Held

rsync -v --progress

[EMAIL PROTECTED] wrote:

Hi all,

I am looking for a cp like command line utility, that shows the percentage of 
data copied during the file copy.

Is anyone familiar with such a utility.


Thanks in advance,


Yaron Kahanovitch 


=
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: Hacked server

2007-04-08 Thread Oren Held




I disagree, Debian Unstable (Sid) is an ever-updating, bleeding-edge
distro: *tends to bring the latest version of each software*, while
Fedora doesn't.

For example, FC6 has Firefox 1.5, and 2.0 will never be there, only in
FC7.

Debian Testing is the next Debian Stable, like FC is the next RHEL.

 - Oren

Shachar Shemesh wrote:

  Oron Peled wrote:
  
  
Fedora is a fast paced distro like Debian testing

  
  I'm assuming you meant "Debian Unstable"

Shachar

  





=
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: Hacked server

2007-04-07 Thread Oren Held
Indeed a remote exploit in the services is possible, and ofcourse each 
service can have a remote exploit...


However, I'd be trying to eliminate the less-uber-cool-hacker possibilities:
a. Bad local user (Bad user! spank him..)
b. SSH remote login using a weak password which was just guessed 
("test123". Bad user again!).


Also try to check for root kits...

- Oren

Ori Idan wrote:

A server I managed was hacked by a libian hacker.
The only thing he did was changing the index.html of some web sites.

The server is based on fedora core 2
running:
httpd
sendmail
bind
proftp (through xinetd)
ssh

Any ideas how he could have done it?
What should I do to prevent such hackes in the future?

--
Ori Idan




=
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: Performance monitoring for selected process

2007-04-05 Thread Oren Held

Maybe it's too trivial,
but try to check the CPU Time on the moments of slowliness, so you can tell:
- If the process' CPU Time progressing faster in moments of slowliness 
(High cpu load)
- If there's hardly any progress in CPU Time (process is waiting for IO 
or some other resource)
Also I tried to see what /proc/pid/stats give, nothing amazing but maybe 
it helps.



Maxim Veksler wrote:

On 4/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Hi,

From your mail I cannot understand the context of your problem.
Are you looking for profiling tools to improve programs developed by 
you or a user that wants to understand why a process is slow?




Both. The application in question is developed in-house. Aside from
profiling each module I would like to know why the service "chocks"
after calling it for X concurrent sessions. I'm looking for a tool
that could show, in real time, why the service is busy: is it cpu / io
or memory (causing kernel to swap) intensive. I would have used the
term "bottle neck" to describe what I'm looking to solve, it's just
that it's possible that it's not a "bottle neck" but a simple bug.

Thank you for helping,
Maxim.


Best regards,

Yaron Kahanovitch

- Original Message -
From: "Maxim Veksler" <[EMAIL PROTECTED]>
To: "Linux-IL," 
Sent: 18:59:17 (GMT+0200) Asia/Jerusalem יום רביעי 4 אפריל 2007
Subject: Performance monitoring for selected process

Hi,

Except from "stracing -f" executables is there some way I can monitor
the process for performance? I would like to debug process delayed
response activity and need to know when it's doing heavy IO / when
it's CPU intensive and when it's all too busy waiting for IRQ.

A graphical display would be preferred, textual will do as well 
obviously.


For general system statistics, I've tried the following :
1. sysstat + kSar
2. gnome-system-monitor
3. ksysguard
4. ntop

All work great but are too general for my needs, I'm looking for tools
that could display single process statistics.


Thanks,
Maxim.

--
Cheers,
Maxim Veksler

"Free as in Freedom" - Do u GNU ?








=
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: adding a third SATA drive

2007-04-04 Thread Oren Held




you mean /proc/mounts and /etc/mtab ..

Ira Abramov wrote:

  Quoting Shlomo Solomon, from the post of Wed, 04 Apr:
  
  
When I try to mount one of the /dev/sdc partitions from the control panel, I 
get:   mounting partition /dev/sdc9 in directory /c9 failed. 

  
  
I have no idea what that control panel actually does in the background,
and if Mandriva is not attempting to autmagically mount your partitions.

please try running "mount" with no options or "df" or cat the content of
/proc/mtab to see if it is indeed mounted or not.

  
  
[EMAIL PROTECTED] solomon]# mount /c9
mount: /dev/sdc9 already mounted or /c9 busy

  
  
it could have already mounted it for you somewhere like /mount/SDC/ or
something. Mandriva loves adding bits that trigger mounting things
automaticly when you are in a graphic session.


  





=
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: Debian initramfs-tools and a root on RAID1

2007-03-28 Thread Oren Held

I don't know the solution, but I'd be trying 'yaird'.

Ira Abramov wrote:

I have a serrve running Etch. two SATAs sda and sdb are partitioned and
used for MDs. specifically /dev/md0 is /boot and /dev/md1 is the root.

mkinitramfs always comes up with md0 assembled but no md1, so the boot
process dies. luckily I made one working boot and set it aside, where I
hard-coded an activation of md1 to the start script but each kernel that
gets updated rebuilds the initramfs from the defaults and then fails on
boot.

either there's a bug in the Debian package or I am doing something
wrong. any ideas?

  



=
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: extract attachments from mail messages

2007-03-20 Thread Oren Held

uudecode?

Nahum Mizrahi wrote:

Hi all,

I am looking for a command line program that can extract attachments 
from mail messages and save them as files.
I tried mutt, tnef and fetchmail but could not get any of them to do 
the job.


I am sure there must be a way to do that using mutt or other command 
line mail client.

Any ideas?

Thanks,

Nahum




=
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: renaming or removing a file that start with minus

2007-03-04 Thread Oren Held
a. Try to put AFTER all the regular "minus" options a double-dash 
("--"), i.e.

mv -v -- oldfile newfile
this tells the command line parser that no options come after the 
double-dash.


b. sometimes backslash, or tick, is enough, i.e.
rm -v 'my*file'
or
rm -v my\*file

 - Oren


ik wrote:

Hello,

How can I rename and/or delete a file that starts with minus ?
For example:

mv --test test

will end up with the error:
mv: unrecognized option `--test'
Try `mv --help' for more information.

The same error will exists if I'll use the asterisk wildcard instead.
Please note that I'm looking for a "mv" and "rm" based solutions and
not the use (for example) midnight commander.


Thanks,

Ido



=
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: looking for a drawing application

2007-02-19 Thread Oren Held
There's dia (python based) and kivio (kde), but unfortunately they're 
not as good as visio..


Dan Bar Dov wrote:

Is there some free linux app similar to Visio or McDraw?
I'd like to draw some block diagrams and save as GIF/JPEG so I can
display it in a web browser.

Thanks,
Dan

=
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: ip_forwarding turned 0 after ~20 min.

2007-02-07 Thread Oren Held
I'd be trying to check the list of crons (both in /var/spool/cron, but 
makes more sense in /etc/cron.*/),

maybe it's some security enforcement script.

Chava Leviatan wrote:

By the way , I tried also RH 8.0 - the same phenmenan

Chava
- Original Message - From: "Gilad Ben-Yossef" 
<[EMAIL PROTECTED]>

To: "Chava Leviatan" <[EMAIL PROTECTED]>
Cc: 
Sent: Wednesday, February 07, 2007 1:21 PM
Subject: Re: ip_forwarding turned 0 after ~20 min.



Chava Leviatan wrote:

Hi,
 I have a RH 7.3 with 2 ethernet interfaces (eth0,eth1).


This is an ancient unmaintained version with many security holes (and 
just plain bugs).



I set ip_forwarding to be 1 at /etc/sysctl.conf
 The problem is that after a short period (20-30 min) , 
ip_forwarding turned down to 0 again .
When I cat /proc/sys/net/ipv4/ip_forwarding I see 0 , and the 
traffic stops moving from one interface to the other
 I have also added a static route to one of the interfaces to reach 
a subnet that is lt gateway interface.
That static route is added via " route add -net ..."  and not at 
boot time .  When the ip_forwarding is set to

0 , that static route is removed as well.
 It looks like the ip_forwarding is aged somehow.



No, it's not.


Any ideas?



Some proccess on the machine reset the ip_forward and routing tabel 
entires.


Gilad

--
Gilad Ben-Yossef <[EMAIL PROTECTED]>
Codefidence. A name you can trust(tm)
Web: http://codefidence.com  | SIP: [EMAIL PROTECTED]
IL: +972.3.7515563 ext. 201  | Fax:+972.3.7515503
US: +1.212.2026643 ext. 201  | Cel:   +972.52.8260388

"Compile your program. Run sync three times to honour
coders of old." -- glxtest README file




=
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: Enabling powersave for an lcd screen

2007-02-03 Thread Oren Held
I hope I'm not mistaken, but I think you don't need acpi/apm support for 
power save modes of monitors.

Try "xset dpms force off" in X, and see if it works.

xset +dpms should turn on dpms support for current X session.
Enabling dpms & setting timeouts can be done either from xorg.conf 
(search for 'offtime' option) or from kde/gnome gui configuration tools.



Tzahi Fadida wrote:

Hi,
A while ago i had a system crash and i had to reinstall kubuntu from scratch.
The powersave before worked and it also work now in windows.
However, i can't seem to get it to work on the new installation.
both acpid and apmd do not work.
sudo acpid start
acpid: can't open /proc/acpi/event: Device or resource busy
sudo apmd start
No APM support in kernel

I have kubuntu edgy updated.
Bios have apm enabled.

I also tried in the boot process to add acpi=force apm=off.
and acpi=off apm=force, though this method did not load the kernel.

I also tried installing powersaved.

What else can i do?
10x.

p.s.: i started with dapper and upgraded to edgy with adept.
and the kernel is
Linux Linux 2.6.17-10-386 #2 Tue Dec 5 22:26:18 UTC 2006 i686 GNU/Linux

  



=
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]



Hebrew Wiki

2007-02-01 Thread Oren Held

Hi,

Just for making sure: MediaWiki is the most mature/"full-of-features" 
*hebrew-supporting* free wiki product?

Anyone knows something better?

(I hope this post won't make a holy war...)

10x

- Oren

=
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: archiving parts in linux.

2007-01-29 Thread Oren Held
try DAR (Disk ARchiver), should be a good one although doesn't ship 
standardly with Linux.

http://dar.sf.net or just apt-get install dar.

The term for splitting files is called 'slice'.

- Oren

Tzahi Fadida wrote:

Hi,
I wish to archive a 50mb file into several parts of 5mb files in linux.
I also need to be able to open the files in windows.
For some unknown reason, i can't find a way (other than using a non-free rar) 
to do this.
I tried zipsplit but it says something about the file being too large or 
something like this. 


I tried 7z but after about 12% of archiving it gives a weird error:
"Error:


System error:
Too many open files "
(and this file was never opened :).

What can i do?

Also, i am trying to backup my files (many thousands of them). is there a way 
to cause tar or something else not to use a local tmp directory (since i 
don't have enough room) and also, it seems to eat too much memory till my kde 
programs starts to close.

10x.

  



=
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 on Windows

2007-01-14 Thread Oren Held

A. VMware Server (formerly GSX) which is free for use.
B. Dan Aloni's coLinux (Not full virtualization but very interesting and 
good for some purposes) - http://colinux.sf.net . However you need a 
windows X Server (i.e. Hummingbird Exceed or Cygwin Xorg) to get the GUI.


- Oren

Gabor Szabo wrote:

I have a Windows Machine I would like to install Linux over that.
What are my options?
Does VMware have a free (and unlimited in time) version that I can use
to install Linux on it?
Is there any other solution?


Gabor

=
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: Strange name for network interface (Debian 2.6.18-7)

2006-12-17 Thread Oren Held


I tend to believe that on single user mode you'll see only the regular 
eth0 & eth1, and that later some evil script renames the interface name 
by running something like "ip link set eth1 name eth1.old"


Try to analyze your startup scripts and see which one does that.

I know that Xen's networking scripts do some not-too-nice stuff in order 
to configure bridging/nat, but your kernel seems to be Xen free..


I hope it helped some way.

- Oren



Maxim Vexler wrote:

Hi List,

I've have 2 NIC's in my home machine, a Intel(R) PRO/1000GT and a
RealTek RTL8139

When the system boots it creates the following (odd) kernel naming
schema, I haven't messed with any of my udev.d rules.
<<<
# ls /sys/class/net/
eth0  eth1_rename_ren  lo  sit0

# udevtest /sys/class/net/eth0
main: looking at device '/class/net/eth0' from subsystem 'net'
wait_for_sysfs: file '/sys/class/net/eth0/address' appeared after 0 loops
udev_rules_get_name: rule applied, 'eth0' becomes 'eth0'
main: run: 'socket:/org/kernel/udev/monitor'
main: run: 'net.agent'
main: run: 'socket:/org/freedesktop/hal/udev_event'

# udevtest /sys/class/net/eth1_rename_ren
main: looking at device '/class/net/eth1_rename_ren' from subsystem 'net'
wait_for_sysfs: file '/sys/class/net/eth1_rename_ren/address' appeared
after 0 loops
udev_rules_get_name: rule applied, 'eth1_rename_ren' becomes 'eth0'
rename_netif: changing net interface name from 'eth1_rename_ren' to 
'eth0'

udev_device_event: renamed netif to 'eth0'
main: run: 'socket:/org/kernel/udev/monitor'
main: run: 'net.agent'
main: run: 'socket:/org/freedesktop/hal/udev_event'

# ls /dev/eth*
ls: /dev/eth*: No such file or directory




The (clipped) dmesg log looks like this:
<<<
Linux version 2.6.18-3-686 (Debian 2.6.18-7) ([EMAIL PROTECTED]) (gcc
version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)) #1 SMP Mon Dec
4 16:41:14 UTC 2006
NET: Registered protocol family 16
NET: Registered protocol family 2
audit: initializing netlink socket (disabled)
audit(1166373050.144:1): initialized
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
Intel(R) PRO/1000 Network Driver - version 7.1.9-k4-NAPI
Copyright (c) 1999-2006 Intel Corporation.
8139cp :00:0b.0: This (id 10ec:8139 rev 10) is not an 8139C+ 
compatible chip

8139cp :00:0b.0: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.27
e1000: :00:0d.0: e1000_probe: (PCI:33MHz:32-bit) 00:0e:0c:b2:de:29
e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
eth1: RealTek RTL8139 at 0xe000, 00:40:f4:92:86:73, IRQ 11
eth1:  Identified 8139 chip type 'RTL-8100B/8139D'
e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex




Both cards work, I can ssh either one of them after I go manually IP 
assign them



dynamic:~# ifconfig eth0 192.168.4.50 netmask 255.255.255.0
dynamic:~# ifconfig eth1_rename_ren 192.168.4.44 netmask 255.255.255.0
dynamic:~# ifconfig -a
eth0  Link encap:Ethernet  HWaddr 00:0E:0C:B2:DE:29
 inet addr:192.168.4.50  Bcast:192.168.4.255  Mask:255.255.255.0
 inet6 addr: fe80::20e:cff:feb2:de29/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:2590 errors:0 dropped:0 overruns:0 frame:0
 TX packets:2422 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:100
 RX bytes:270181 (263.8 KiB)  TX bytes:444726 (434.3 KiB)
 Base address:0xe800 Memory:e702-e704

eth1_rena Link encap:Ethernet  HWaddr 00:40:F4:92:86:73
 inet addr:192.168.4.44  Bcast:192.168.4.255  Mask:255.255.255.0
 inet6 addr: fe80::240:f4ff:fe92:8673/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:1110 errors:0 dropped:0 overruns:0 frame:0
 TX packets:711 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:101064 (98.6 KiB)  TX bytes:96177 (93.9 KiB)
 Interrupt:11 Base address:0xe000

loLink encap:Local Loopback
 inet addr:127.0.0.1  Mask:255.0.0.0
 inet6 addr: ::1/128 Scope:Host
 UP LOOPBACK RUNNING  MTU:16436  Metric:1
 RX packets:242 errors:0 dropped:0 overruns:0 frame:0
 TX packets:242 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:22642 (22.1 KiB)  TX bytes:22642 (22.1 KiB)

sit0  Link encap:IPv6-in-IPv4
 NOARP  MTU:1480  Metric:1
 RX packets:0 errors:0 dropped:0 overruns:0 frame:0
 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0
 RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
<<<


How can it be that I still communicate with the PC over the network
using those 2 devices if I don't have the proper block device under
/dev?
And WTF did eth1_rename_ren came from ?


Appreciate your input, output or regex,
Thank y

Re: DNS server with UI management

2006-12-11 Thread Oren Held

IXFR is the wrong term.

AXFR == Whole-huge zone transfer
IXFR == Incremental Zone Transfer

Ilya Konstantinov wrote:

On 12/11/06, Oren Held <[EMAIL PROTECTED]> wrote:

1. check out an old tool I wrote: http://hostupd.sf.net . It uses perl's
Net::DNS so you can easily improve it/rewrite :)


Oh, I once wrote a "hostname for dynamic IP" web service with
Net::DNS::Update so its no stranger to me. My recent work (the ping &
failover script -- changes the A records across a lot of domains)
works by piping to 'nsupdate', though.


2. You can, ofcourse, edit the files manually when daemon is down.


I think that with a recent-enough version of BIND, you should be able
to 'rndc freeze' a zone and then edit it by hand (and then 'rndc
thaw'). Of course, dynamic DNS is a much saner way to update zones,
automatically increasing the SOA etc.


I indeed wonder how come nsupdate is so unfriendly but I never heard of
any tool yet.


At the very least, it could use integration with readline, but ideally
there should be a graphical tool which'll fetch the zone through AXFR,
represent it graphically and feed updates back thru IXFR ("dynamic
DNS").



=
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: DNS server with UI management

2006-12-11 Thread Oren Held

Hi,

1. check out an old tool I wrote: http://hostupd.sf.net . It uses perl's 
Net::DNS so you can easily improve it/rewrite :)


2. You can, ofcourse, edit the files manually when daemon is down.

I indeed wonder how come nsupdate is so unfriendly but I never heard of 
any tool yet.


- Oren

Ilya Konstantinov wrote:

Hola,

I have a couple of DNS servers, in various master-slave relations,
supporting dynamic DNS updates with DNS SEC -- the whole shebang --
powered by BIND servers. Recently when I enabled dynamic DNS updates
for a whole lot of zones (to facilitate a failover mechanism), I found
out I can no longer edit the zone files directly (change zone file ->
rndc reload zone) and must instead do all my changes through Dynamic
DNS (e.g. with 'nsupdate').

Does anyone either:
1. Know of a DNS management tool which uses dynamic DNS updates (IXFR)
to manage zones remotely? 'nsupdate' is hard to use, lacking even the
basic convenience of autocompletion.
2. Know of a different DNS server which works with an LDAP backend and
has a UI tool which can manage it?
3. Has any other suggestion which offers decent UI?

Ideally, it'll be something as good as Microsoft's management console
for their DNS server -- exposing the records graphically and offering
secure remote management.

P.S. Anyway, editing zone files manually was getting error-prone. Most
of the times, editing such structured data with a text editor is a
recipe for syntax errors.

=
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: Double mount : nfs and vfat - is it possible ? (or other solutions)

2006-11-26 Thread Oren Held
As far as I know the NFS mechanism allows mounting a single filesystem 
and ignores sub mounts.

This is also quite secure, in a way.

Maybe I misunderstood the situation, but a simple solution would be to 
export also the /mnt/win on the server,

and mount it separately on the client..

- Oren

Rafi Gordon wrote:

Hi linux gurus,

I have a machine which is dual boot (linux /windows).
The windows partition is /dev/hda1.
This machine is booted usually into linux (though it is possible of 
course

to boot to windows).

I mount the windows partition (/dev/hda1) on /mnt/win (type vfat ,rw).

I created /etc/exports file for this dual boot machine;
it contains one line:
/ ip_Of_A_DifferentLinuxMachine(rw,no_root_squash)

Now , from another linux machine I nfs mount the dual-boot linux machine.
But I cannot see the contents of the /mnt/win folder (it is empty).

Is there a way to nfs mount that dual machine so that the /mnt/win
contents will be available ? And in case the
answer is 'no', are there other alternatives (excpet samba)?

Rafi

=
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: High Software-interrupt load on 2.6.17

2006-11-24 Thread Oren Held

Yo man,

Is running 'watch -d /proc/interrupts' giving some additional 
information WHAT causes the interrupts?


Itay Duvdevani wrote:

Hello all,

Running a Debian-testing (2.6.17-2-k7 stock kernel) system, I'm
experiencing recently high software-interrupt loads.

SI loads can get as high as 30% or as "low" as 5%, but almost never
below, all in idle system load.

Looking at another systems, I see SI load of... 0%.

What can cause this high load? It's quite frustrating to know third of
you CPU goes on software-interrupts... It might convince me switching
to an SMP machine :)

Thanks!




=
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: Tree copy with overall progress?

2006-11-05 Thread Oren Held
Not an exact answer to your question, but maybe the "pv" tool would help 
indirectly?

http://www.ivarch.com/programs/pv.shtml

Ira Abramov wrote:

I've bumped into this a few times before - copying a file tree from one
point to another, be it with rsync, cp or tar|tar won't show me overall
progress of course. although rsync makes a full list of the files and
their attributes before copying (even on local copy), and shows speed
stats with -P, it won't let me get a good picture about the total
procentage of the copy process, and the kb/s of a full copy are by far
slower than tar|tar

any recommended tools for this? something like windows copy managers
with ETA indication and such?

TIA,
Ira.

  



=
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: High load average for no obvious reason.

2006-07-09 Thread Oren Held

Try to look for processes which are in zombie (defunct) state.
If I'm not mistaken, for some reason they tend to be counted when kernel 
calculates the load average.


Michael Green wrote:
I have 18 identical Sun Fire X4100 systems here all configured 
identically:

4-way Opteron, 4G RAM, 70G SAS HDD, RHEL AS 4U3, Sun Grid Engine
agents (SGE) v6u7, NIS.
Periodically some of the systems exibit high load average while idling
for no obvious reason. Rebooting solves the problem, but after some
time the symptom returns. Typically the load average reaches 3 and
wouldn't go beyond that. How would you approach such a problem?

One such system shows:
[EMAIL PROTECTED] ~]# w
10:00:55 up 31 days, 17:47,  1 user,  load average: 3.00, 3.00, 3.00
USER TTY  FROM  LOGIN@   IDLE   JCPU   PCPU WHAT
root pts/1192.168.1.10009:310.00s  0.02s  0.00s w

Typical top on this system:
top - 10:01:58 up 31 days, 17:49,  1 user,  load average: 3.00, 3.00, 
3.00

Tasks:  80 total,   1 running,  79 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.1% us,  0.0% sy,  0.0% ni, 99.9% id,  0.0% wa,  0.0% hi,  
0.0% si

Mem:   4051196k total,   891428k used,  3159768k free,67620k buffers
Swap:  8160912k total, 4776k used,  8156136k free,   667488k cached

PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND
  1 root  16   0  4752  444  412 S  0.0  0.0   0:00.62 init
  2 root  RT   0 000 S  0.0  0.0   0:00.25 migration/0
  3 root  34  19 000 S  0.0  0.0   0:00.14 ksoftirqd/0
  4 root  RT   0 000 S  0.0  0.0   0:00.19 migration/1
  5 root  34  19 000 S  0.0  0.0   0:13.35 ksoftirqd/1
  6 root  RT   0 000 S  0.0  0.0   0:00.19 migration/2

vmstat 2
procs ---memory-- ---swap-- -io --system-- 
cpu
r  b   swpd   free   buff  cache   si   sobibo   incs us 
sy id wa
0  0   4776 3159960  67620 66748800 0 6 200728  0  
1 99  0
0  0   4776 3159960  67620 66748800 0 0 200725  0  
0 100  0
0  0   4776 3159960  67620 66748800 0 0 200523  0  
0 100  0
0  0   4776 3159960  67620 66748800 0 0 201828  0  
1 99  0
0  0   4776 3159960  67620 66748800 0 0 202323  0  
0 100  0
0  0   4776 3159960  67620 66748800 0 0 200825  0  
0 100  0
0  0   4776 3159960  67620 66748800 0 0 200922  0  
0 100  0
0  0   4776 3159960  67620 66748800 0 0 200622  0  
1 99  0
0  0   4776 3159960  67620 66748800 0 0 200826  0  
0 100  0


What I've noticed here is that the rate of interrupts is relatively
high: 2000 appr.
On this particular system the rate of interrupts after reboot is
approximately 1000:
procs ---memory-- ---swap-- -io --system-- 
cpu
r  b   swpd   free   buff  cache   si   sobibo   incs us 
sy id wa
0  0  0 3840536  12464 12897600   33942  276   172  2  
2 90  7
0  0  0 3840536  12464 12897600 0 0 1081   122  0  
0 100  0
2  0  0 3840536  12464 12897600 0 0 1083   112  0  
1 99  0
0  0  0 3840672  12472 12903600 016 1064   119  0  
0 100  0
0  0  0 3840672  12472 12903600 0 0 1065   112  0  
0 100  0
0  0  0 3840672  12472 12903600 0 0 1064   116  0  
0 100  0
0  0  0 3840672  12472 12903600 0 0 1066   116  0  
0 100  0






=
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: How to meter disk I/O ?

2006-07-07 Thread Oren Held
iostat -m 1  would give you nice output about the read/written 
in mb per sec, since the last refresh.


first line is the average since last boot.


Michael Sternberg wrote:
Hello, I have written a small application that performs stress load of 
filesystem. Which external tool I can use to meter disk I/O generated 
by this application ? I.e. I'm interested in number of Mb per second 
written to raw disk (not to filesystem or maybe its cache)..


Thanks.

=
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]



procfs backwards compatibility

2006-02-16 Thread Oren Held

Hi,

I've got an old software (LSF v4.1) which doesn't seem to be kernel 2.6 
friendly:

It dies with SIGSEGV while trying to find the "page" line in /proc/stat,
which exists no more in kernel 2.6.

It works very well on 2.4, and unfortunately I cannot upgrade the LSF 
version (not free software..)


I believe this incompatibility issue comes up with other pieces of code 
as well.

Any more-or-less standard way to put procfs into 2.4-compatibility mode,
or another creative idea?

(Hacking procfs code in the kernel will probably do no good..)

Thanks in advance!

- Oren

=
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]



Evil lightnings (or: Advice UPS)

2005-11-20 Thread Oren Held

Hi,


Any good/bad experience with Advice UPS (P or ECOM 600/700) relationship 
with Linux?


http://www.advice.co.il supplies a Linux software, however seems like 
it's an evil binary...

Anybody got it work?
Another recommended UPS?

(Googling only gave me this non-informative thread from 2004:
http://mirror.hamakor.org.il/archives/linux-il/04-2004/9528.html)

Thanks peoplez,

- Oren

=
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]



Quota per directory

2005-07-17 Thread Oren Held
Hi,

We're trying to set quota per directory in my organization.
We use Linux & Solaris, and the builtin-kernel quota feature is only per
file owner or amount of inodes, afaik.

Problem is, that some directories are shared for many people
(i.e. /data/projects/webapp) with different UIDs and GIDs, though I
still want to be able to limit the 'webapp' directory to a maximal value
of 1GB.

Anybody knows a free or commercial tool with the above feature, or a
simple way to implement it?

(We use Veritas Filesystem over NFS, btw)

Many thanks!

 - Oren


=
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: ISPs blocking ESP?

2005-04-16 Thread Oren Held
Hi,

I'm trying to initiate a VPN connection over the net with no success.
Sniffing the interface shows that the VPN client is using the ESP
protocol (Layer _4_ protocol #50, Encapsulated Security Payload), and I
can see only outgoing packets and NO INCOMING ones.

Looks like the ISP blocks the ESP protocol (maybe it accepts only
tcp/udp/icmp and blocks everything else?). The machine uses the
[EMAIL PROTECTED] adsl accounts and behaves the same in most ISPs.

Do you think it's indeed an ISP filter, the guest account's fault, or do
you see other reason for this to happen?
Any experiences with the ESP protocol?

Thanks!
And Sorry for the OT, this is my first one :)
I just see no other israeli ML to send it to..

 - Oren


=
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]



[Fwd: Honeynet KYE paper]

2004-12-24 Thread Oren Held

--=-ZnbuZnkmd9um2vnwrqaB
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

That's a nice article about a security research done recently in a
unix/windows honeynet.

It has interesting results.

 - Oren

--=-ZnbuZnkmd9um2vnwrqaB
Content-Disposition: inline
Content-Description: Forwarded message - Honeynet KYE paper
Content-Type: message/rfc822

Return-path: <[EMAIL PROTECTED]>
Envelope-to: [EMAIL PROTECTED]
Delivery-date: Wed, 22 Dec 2004 17:36:50 +0200
Received: from [205.206.231.19] (helo=lists.securityfocus.com) by
fourbox.held.org.il with smtp (Exim 3.36 #1 (Debian)) id 
1Ch8Xf-0001PH-00
for <[EMAIL PROTECTED]>; Wed, 22 Dec 2004 17:36:48 +0200
Received: (qmail 9150 invoked by alias); 22 Dec 2004 15:39:58 -
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: 
List-Post: 
List-Help: 
List-Unsubscribe: 
List-Subscribe: 
Delivered-To: mailing list [EMAIL PROTECTED]
Delivered-To: moderator for [EMAIL PROTECTED]
Received: (qmail 7096 invoked from network); 22 Dec 2004 15:35:50 -
Mime-Version: 1.0 (Apple Message framework v619)
Message-Id: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=US-ASCII; format=flowed
To: [EMAIL PROTECTED]
From: Lance Spitzner <[EMAIL PROTECTED]>
Subject: Honeynet KYE paper
Date: Wed, 22 Dec 2004 09:36:00 -0600
X-Mailer: Apple Mail (2.619)
X-Spam-Checker-Version: SpamAssassin 3.0.1 (2004-10-22) on
fourbox.held.org.il
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=ham 
version=3.0.1
X-UIDL: m]R!!*-P"!lF4"!:<)#!
Content-Transfer-Encoding: 7bit

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The Honeynet Project & Research Alliance announce its latest analysis
paper: "Know Your Enemy: Trend Analysis".  This is the first paper to
be released in over a year discussing trends witnessed across the now
global project, and reflects what we consider to be a significant
trend.  The dramatic increase in the past two years of the average
life expectancy of unpatched or vulnerable  Linux systems, compared
to the short life expectancy of unpatched or vulnerable Windows host.
Enjoy.

   http://www.honeynet.org/papers/trends/life-linux.pdf


Happy Holidays!
The Honeynet Project


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (Darwin)

iD8DBQFByEGBulH/ZGBJPj4RApOrAJwPaLbZU0MdDLXGdflaAkWbBBYTUwCg78Gt
3AOiuMkyip08eanNZBPqxcg=
=/xuB
-END PGP SIGNATURE-


--=-ZnbuZnkmd9um2vnwrqaB--


=
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: Beep Media Player / Hebrew song names

2004-01-03 Thread Oren Held
On Sat, 2004-01-03 at 16:31, Behdad Esfahbod wrote:

> > Correct me if I'm wrong, but I don't think that people use UTF-8
> > filenames yet. A small test I've made shows that even KDE saves hebrew
> > filenames in a non-unicode form.
> That's the default in GNOME 2 and Fedora, and has been decided to
> be the future of the Linux.  Don't forget, UTF-8 would replace
> ASCII!
People don't write code so it'll work only in the future.
People write code in order to give solutions for your current needs.

Look at the wanted section in the newspaper. Many mainframe programmers
are wanted. By your attitude, nobody would need Mainframe programmers in
the 21th Century.

Currently Debian's default is non-unicode and most people don't use
unicode filenames. Yes, it might be (or might not be) different in 2006,
but even then a minority would still use non-unicode filenames, and
adding a feature to support them is not such a bad idea.

 - Oren


=
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: Beep Media Player / Hebrew song names

2004-01-03 Thread Oren Held
Correct me if I'm wrong, but I don't think that people use UTF-8
filenames yet. A small test I've made shows that even KDE saves hebrew
filenames in a non-unicode form.

I think that Windows behaves in a similar way.
 

On Sat, 2004-01-03 at 15:20, Behdad Esfahbod wrote:
> On Sat, 3 Jan 2004, Oren Held wrote:
> 
> > Hi,
> >
> > xmms is the last software left where I have to read hebrew backwards.
> > I'm waiting for the gtk2 port for quite a long time and it won't go out,
> > but apparently I'm not alone. Beep Media Player (BMP in short) is a fork
> > from the xmms tree which already implements gtk2, and works pretty fine
> > (with few bugs still, it's a beta).
> >
> > However.. I still cannot see my hebrew songs well: because now with
> > gtk2/pango, it expects filenames/id3 in the unicode format, which I
> > don't use (I assume most of us don't). I want to suggest the BMP team to
> > add an option 'no unicode filenames'. I just don't know gtk2/pango too
> > well and I'm not sure whether that's exactly what they should add in
> > order to make us happy.. I assume they just have to use some
> > iso8859-8->utf-8 converting function (because if we want pango to render
> > it fine, with bidi, it should convert the non-unicode text to unicode).
> >
> > Anybody has something smart to say?
> 
> Most probably the best thing I can say is "forget about that".
> And something smart is to write a few lines of python (really
> few) to convert your id3 tags to Unicode once for all.
> 
> >  - Oren
> 
> behdad
> 


=
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]



Beep Media Player / Hebrew song names

2004-01-03 Thread Oren Held
Hi,

xmms is the last software left where I have to read hebrew backwards.
I'm waiting for the gtk2 port for quite a long time and it won't go out,
but apparently I'm not alone. Beep Media Player (BMP in short) is a fork
from the xmms tree which already implements gtk2, and works pretty fine
(with few bugs still, it's a beta).

However.. I still cannot see my hebrew songs well: because now with
gtk2/pango, it expects filenames/id3 in the unicode format, which I
don't use (I assume most of us don't). I want to suggest the BMP team to
add an option 'no unicode filenames'. I just don't know gtk2/pango too
well and I'm not sure whether that's exactly what they should add in
order to make us happy.. I assume they just have to use some
iso8859-8->utf-8 converting function (because if we want pango to render
it fine, with bidi, it should convert the non-unicode text to unicode).

Anybody has something smart to say?

 - Oren


=
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]



[Article] Open Source in Israel

2003-11-04 Thread Oren Held
Evening Sirs,

Here's an article posted few days ago in some Australian Linux magazine
about Open Source / Linux in Israel.
I'd say they made it all look too good, but it's better than making it
look too bad :)

http://articles.linmagau.org/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=445&page=1

- Oren


=
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: internet services - server farm

2003-10-15 Thread Oren Held
Hi,

It'll probably work, but this is pretty ugly. I'd be using two seperate
log files.

- Oren

> - Original Message ----- 
> From: "Oren Held" <[EMAIL PROTECTED]>
> To: "Ben-Nes Michael" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 14, 2003 1:38 AM
> Subject: Re: internet services - server farm
> 
> 
> > Hi,
> >
> > I don't see why it should be problematic, if each daemon accesses its
> > own files and there are no collisions.. (you know, NFS is designed for
> > MULTIPLE clients accessing it) - unless you mean to run two apaches at
> > the same time using the same log file, for example? but why to do that?
> 
> There is a good reason why to use two apache servers, an its load balance.
> I can use eddie to direct trafic to more then one web server, see
> http://eddie.sourceforge.net/
> 
> Can this work or two servers writing to the same file will not work ?


=
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: internet services - server farm

2003-10-13 Thread Oren Held
Hi,

I don't see why it should be problematic, if each daemon accesses its
own files and there are no collisions.. (you know, NFS is designed for
MULTIPLE clients accessing it) - unless you mean to run two apaches at
the same time using the same log file, for example? but why to do that?

You can use heartbeat (http://www.linux-ha.org) to make the servers
monitor each other and when one is down to do a failover and take its
resources (i.e. run apache and become the web server instead of the one
which just died).

Note that your suggested configuration doesn't sound too good, because
you have a SINGLE nfs server, which is a potential SPOF (Single Point of
Failure) - if it'll die, your whole 'server farm' would die.
(There are many ways - not all are good ofcourse - to have a highly
available NFS server as well, try to get some info in www.linux-ha.org.

On Mon, 2003-10-13 at 18:43, Ben-Nes Michael wrote:
> Hi All & Chag Sameah
> 
> in September I read an interesting thread about "live website mirroring".
> The thread also spoke about method to use two parallel systems against one
> source of data using NAS, Mirroring, ...
> 
> I want to do something similar, I want to put one fileserver and connect all
> other servers to him ( mail, web, backup ) using NFS.
> 
> I also want all apache mail whatever logs, configuration files  to be
> stored on the fileserver.
> 
> Can it work ? or I can expect lock problems or what ever.
> 
> Cheers
> --
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-4-6991122
> Fax: 972-4-6990098
> http://www.canaan.net.il
> --
> 
> 
> =
> 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: Compiling RealTek 8139 driver whit error

2003-10-09 Thread Oren Held
Hi,

Where did you get this rtl8139 driver from? Is it supposed to compile
with Linux 2.4.18 at all?

Best thing would be using the driver that comes with the kernel; thus,
if you have problems with 2.4.18, just upgrade the whole kernel.

- Oren

On Wed, 2003-10-15 at 01:21, RedBar0n wrote:
> Hi list,
> I'm trying to compile the new driver fir my RealTek 8139 (because of another
> problem), and I'm getting an error msg:
> the command I use: gcc -DMODULE -D__KERNEL__ -O6 -c 8139too.c
> in /usr/src/linux-2.4.18-14/drivers/net
> - 
> :
> :
> :
> 8139too.c:2627: unknown field `name' specified in initializer
> 8139too.c:2627: warning: excess elements in struct initializer
> 8139too.c:2627: warning: (near initialization for `rtl8139_pci_driver')
> 8139too.c:2628: unknown field `id_table' specified in initializer
> 8139too.c:2628: warning: excess elements in struct initializer
> 8139too.c:2628: warning: (near initialization for `rtl8139_pci_driver')
> 8139too.c:2629: unknown field `probe' specified in initializer
> 8139too.c:2629: warning: excess elements in struct initializer
> 8139too.c:2629: warning: (near initialization for `rtl8139_pci_driver')
> 8139too.c:2630: unknown field `remove' specified in initializer
> 8139too.c:2630: warning: excess elements in struct initializer
> 8139too.c:2630: warning: (near initialization for `rtl8139_pci_driver')
> 8139too.c: In function `rtl8139_init_module':
> 8139too.c:2644: `KERN_INFO' undeclared (first use in this function)
> 8139too.c:2644: parse error before string constant
> 8139too.c: At top level:
> 8139too.c:586: storage size of `thr_exited' isn't known
> 8139too.c:590: storage size of `mii' isn't known
> 8139too.c:2626: storage size of `rtl8139_pci_driver' isn't known
> --- 
> but if I take the Makefile from the driver + all *.c files TAR into the
> /usr/src/./drivers/net and the hit the comman "make" I'll get this:
> - 
> gcc -O2 -fomit-frame-pointer -D__KERNEL__ -I/usr/src/linux-2.4/include/ -DCP
> U=586 -march=i586 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-st
> rict-aliasing -pipe -DMODULE -c 8139too.c
> 8139too.c: In function `netdev_ethtool_ioctl':
> 8139too.c:2407: `ETHTOOL_GSTATS' undeclared (first use in this function)
> 8139too.c:2407: (Each undeclared identifier is reported only once
> 8139too.c:2407: for each function it appears in.)
> 8139too.c:2408: variable `estats' has initializer but incomplete type
> 8139too.c:2408: warning: excess elements in struct initializer
> 8139too.c:2408: warning: (near initialization for `estats')
> 8139too.c:2408: storage size of `estats' isn't known
> 8139too.c:2408: warning: unused variable `estats'
> make: *** [8139too.o] Error 1
>  
> I don't knew if this is the best way to do this, but all the in all the
> googling time is spend I found those advices...
> I'm using RH 8.0 GCC version 3.2...
> TIA...
> 
> P.S. I have a strange filling that the cause of all this is the gcc 3.X, but
> this is just a hinch
> 
> =
> 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: live website mirroring

2003-09-26 Thread Oren Held
Hi,

Heartbeat can give you solutions for that.. The only real problem is
indeed the storage which you want to be synchronized.
High Availability clusters should provide a way for having shared
storage (i.e. scsi disk / JBOD connected to two servers), while the main
node is down, the other will mount the disk.

(Note that there's a big risk if two nodes mount the same storage. The
cluster should be connected with at least two internal cables so it
could monitor each node even when main network is down)

Anyway you'd better read some in www.linux-ha.org . Also note that
RedHat has its own HA cluster solution (pirhana I think) which comes
with their RH Advanced Server, which I have no experience with.

- Oren

On Thu, 2003-09-25 at 02:42, Sagi Bashari wrote:
> Hello
> 
> We are running a website that is written in PHP and is using a MySQL 
> database. It runs on Linux, of course.
> 
> We're trying to find a method to setup a complete mirror of the server 
> on a standby server that we can bring up easily if the main server goes 
> down.
> 
> The website is very dynamic and data changes all the time. I'm looking 
> for a way to keep the standby server in identical state as the master 
> server.
> 
> After doing some research I found out that I could use the built-in 
> MySQL replication for that, but we also have dynamic data directories on 
> our server - I could setup an rsync script that runs every few minutes, 
> but it'll probably take too many resources and won't be accurate.
> 
> I would like to hear the experiences of others who had the same problem 
> (and hopefully solved it).
> 
> * Both servers are running at the same location right now, so I can 
> takeover the main IP address easily. However, we considered having a 
> backup server on another location (where we can't use the same ip 
> address). Is there any way to do this?
> 
> Sagi
> 
> 
> 
> =
> 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]



Winbind, samba 3.0

2003-09-26 Thread Oren Held
Hi,

First of all Shana Tova to all the IGLU people =)

And for less important things:
Samba 3.0 was just released.
I wonder whether Samba's winbind (A mechanism for reading unix account
info from MS Windows DC) grew mature recently..

Does Anybody have a good/bad experience to share? :)

- Oren


=
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: Sort weirdness

2003-08-11 Thread Oren Held
On Wed, 2003-08-06 at 16:38, Beni Cherniavsky wrote:
> Oren Held wrote on 2003-08-06:
> 
> > Anyway something is still very strange. It happens even when LC_COLLATE
> > is en_US, at least in my Mandrake 9.1. Sort works as it should only when
> > LC_COLLATE is unset, C or POSIX.
> >
> > Anybody has Mdk 9.1 and can approve it?
> >
> I have distro-whose-name-is-a-trademark 9.0 and I approve :-).
> 
> All language-based locales have collate order where lower and upper
> case letters are adjacent (a,A,b,B,...); only C and POSIX (they are
> aliases to the same locale, right?) use directly the ASCII order where
> all uppercase letters precede all lowercase ones.  There is an old
> unix traditions of starting directory-central files from capital
> letters (`README`, `Makefile`) so that they come first in `ls`; I like
> this conrtol over sorting so I always export LC_COLLATE=C.

Interesing. Though I still don't understand why would it not sort 'ab c'
and 'a c' in the correct order on Mandrake, but it's fine on Debian
(when LC_COLLATE is en_US).

- Oren


=
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: Sort weirdness

2003-08-05 Thread Oren Held
On Tue, 2003-08-05 at 00:51, Tzafrir Cohen wrote:
> On Tue, Aug 05, 2003 at 12:14:09AM +0300, Oren Held wrote:
> > Hi,
> > 
> > I've just encountered one of the strangest bugs I've seen in Linux..
> > 
> > Just like an amateur Operating System, one of the core unix tools - sort
> > - behaves different on different Linux (or more correct: sort) versions.
> > 
> > When I try to sort the next input:
> > ab c
> > a c
> > 
> > It makes sense that 'a c' would come before 'ab c', and this is how it
> > works with coreutils 5.0. But on an older version (I'm not sure that in
> > ALL the older versions - actually textutils 2.0.21 works well) the
> > results are vice versa.
> 
> Is it the different coreutils?
> 
> I have coreutils 5.0 of current debian unstable. With LC_COLLATE set to
> "C" I get "a c" first. Without overriding LC_COLLATE I get "ab c" first.

I've checked it and it's indeed LC_COLLATE. I was too sure it was find
:) (Yatzati Leitzan kmo she'omrim)

Anyway something is still very strange. It happens even when LC_COLLATE
is en_US, at least in my Mandrake 9.1. Sort works as it should only when
LC_COLLATE is unset, C or POSIX.

Anybody has Mdk 9.1 and can approve it?

- Oren


=
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]



Sort weirdness

2003-08-04 Thread Oren Held
Hi,

I've just encountered one of the strangest bugs I've seen in Linux..

Just like an amateur Operating System, one of the core unix tools - sort
- behaves different on different Linux (or more correct: sort) versions.

When I try to sort the next input:
ab c
a c

It makes sense that 'a c' would come before 'ab c', and this is how it
works with coreutils 5.0. But on an older version (I'm not sure that in
ALL the older versions - actually textutils 2.0.21 works well) the
results are vice versa.

This really sucks.. A basic unix tool did not work the way it should,
and one day they just change the way it works, a simple act which might
affect MANY programs that relate on this.

I've experienced a related problem with autofs (check out the sort
command in /etc/auto.net), but that's just one place it might happen.

- Oren


=
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]



  1   2   3   >