Re: router with USB port for netstick

2012-06-07 Thread Kfir Lavi
On Thu, Jun 7, 2012 at 12:16 PM, geoffrey mendelson
geoffreymendel...@gmail.com wrote:

 I am moving and need to have an internet connection where there is none for a 
 short time,  few days to a week at most.

 I have a ZTE MF637 Netstick with a data plan on Orange.

 I am looking for a router (preferably Linux based) that I can plug the 
 netstick into, and have it provide wifi (and wired if possible) internet 
 access. Basically a standard router with the WAN connection being the 
 netstick instead of aDSL or ethernet.

 It is for several computers running Windows 7, IOS devices and a Mac. There 
 also will be linux systems attached to it, but not immediately.

 The advantage of a router is that I can set it up here, as I won't be going 
 to the new home until I leave the old one, and have someone else take it 
 there, plug it in and sit it in a corner, hopefully ignored by everyone. :-)

 I need to be able to buy it in Israel, preferably in Jerusalem.


Hi,
I bought TP-Link TL-WR1043ND (330nis) that has a usb port and a
support for OpenWRT.
Because OpenWRT is fairly resonable linux distro for small devices, it
is possible to configure your netstick as the wan interface.

Regards,
Kfir


 I am aware that I could load a Linux distro on netbook or old computer and do 
 it with hostap, but I would prefer something that requires as little work on 
 my part. If there is a packaged system that one just installs and it works, 
 that would be ok, but I simply don't have time to build and test a system 
 from scratch.

 My budget is fairly limited, so please don't tell me to buy an iPhone or 
 Galaxy S2.

 Thanks in advance,

 Geoff.

 --
 Geoffrey S. Mendelson,  N3OWJ/4X1GM/KBUH7245/KBUW5379
 To put it in terms everyone understands, the US debt is over 150 Facebooks.

















 ___
 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: Using git on / for configuration files

2012-06-06 Thread Kfir Lavi
On Wed, Jun 6, 2012 at 1:34 PM, ilya i...@total-knowledge.com wrote:

 It is generally possible, though I'd recommend making your git repo out of
 /etc, not /, since this is what you mostly want to track, and managing
 .gitignore of
 the whole FS will be too painful.
 One thing git does not track though, is file ownership. This might be a
 problem for
 some files.

 Git permission problem can be solve like this (Not the best, but still
usable):
http://stackoverflow.com/questions/3207728/retaining-file-permissions-with-git

On 06/06/12 12:57, Eli Billauer wrote:
  Hi all,
 
  I'd just like to get your input before I do something stupid. The
  idea, anyhow, is to create a git repository on my system's root
  directory, and add many of the system's configuration files (e.g. some
  of /etc/) for tracking.
 
  This sounds a bit bizarre even to me, but my question is: Do you see
  anything bad that could happen?
 
  I can see a few advantages:
 
  1. Keep track of my changes in the configuration files over time
 
  2. Easily spot what has changed, if something breaks for no apparent
  reason (after some well-meaning automatic utility helps me out)
 
  3. Possible to run a cronjob on git commit -a, maintaining a history
  of these files (and makes it easy to fall back to a known set)
 
  4. More freedom to hack these files to solve a problem, knowing that
  the working set it there to fall back to.
 
  5. Migrating to a new computer by cloning the repository and
  selectively patching the new system.
 
  And some disadvantages:
 
  1. Opening a security loophole somehow (?)
 
  2. Possibly exposing files containing secrets (otherwise readable by
  root only, e.g. /etc/ppp/pap-secrets and other password files)
 
  3. Running git as root
 
  4. Mess up the system somehow because git wasn't meant to handle
  sensitive files (?)
 
 
 
 
  So what do you say? A bad idea? A brilliant idea? Everyone's doing it
  and nobody told me?
 
  TAI,
 
 Eli
 


 ___
 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


pdf hebrew chars are GIBRISH

2011-09-12 Thread Kfir Lavi
Hi,
The CPA of our company gave me the salary in pdf.
It is done with SHIKLULIT LE HALONOT (שיקלולית לחלונות).
The header font is showing ok, but the font inside the form,
shows in GIBRISH.
It seems like a mismatch of font?!
I'm using evince.
I have culmus fonts installed.

output of pdffonts:
kfir@goofy /tmp $ pdffonts 2011.08.pdf
name type  emb sub uni object ID
 - --- --- --- -
Arial    CID TrueType  no  no  yes  6  0
Arial,Bold   CID TrueType  no  no  yes 10  0
Miriam   CID TrueType  no  no  yes 13  0
David    CID TrueType  no  no  yes 16  0
David,Bold   CID TrueType  no  no  yes 19  0
MiriamFixed,Bold CID TrueType  no  no  yes 22  0

kfir@goofy /tmp $ pdfinfo !$
pdfinfo 2011.08.pdf
Creator:        pdfsam-console (Ver. 2.4.0e)
Producer:       iText 2.1.7 by 1T3XT
CreationDate:   Sun Sep 11 20:12:03 2011
ModDate:        Sun Sep 11 20:12:03 2011
Tagged:         no
Pages:          1
Encrypted:      no
Page size:      595.274 x 841.888 pts (A4)
File size:      25669 bytes
Optimized:      no
PDF version:    1.4

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


Re: pdf hebrew chars are GIBRISH

2011-09-12 Thread Kfir Lavi
On Mon, Sep 12, 2011 at 11:56 AM, shimi linux...@shimi.net wrote:



 On Mon, Sep 12, 2011 at 11:32 AM, Kfir Lavi lavi.k...@gmail.com wrote:

 Hi,
 The CPA of our company gave me the salary in pdf.
 It is done with SHIKLULIT LE HALONOT (שיקלולית לחלונות).
 The header font is showing ok, but the font inside the form,
 shows in GIBRISH.
 It seems like a mismatch of font?!
 I'm using evince.
 I have culmus fonts installed.

 output of pdffonts:
 kfir@goofy /tmp $ pdffonts 2011.08.pdf
 name type  emb sub uni object
 ID
  - --- --- ---
 -
 ArialCID TrueType  no  no  yes  6
 0
 Arial,Bold   CID TrueType  no  no  yes 10
 0
 Miriam   CID TrueType  no  no  yes 13
 0
 DavidCID TrueType  no  no  yes 16
 0
 David,Bold   CID TrueType  no  no  yes 19
 0
 MiriamFixed,Bold CID TrueType  no  no  yes 22
 0


 Those fonts are not included in the culmus package. Try installing package
 corefonts (that's the Gentoo name, or whatever the name would be at your
 distro...). http://corefonts.sourceforge.net/

 HTH,

 -- Shimi


Hi Shimi,
I have those fonts installed:
kfir@goofy ~ $ eix corefonts
[I] media-fonts/corefonts
 Available versions:  1-r4 (~)1-r5 (~)1-r6 {X}
 Installed versions:  1-r6(20:39:13 08/07/11)(X)
 Homepage:http://corefonts.sourceforge.net/
 Description: Microsoft's TrueType core fonts

Some hebrew fonts are showing in the document.
Is it possible to change the pdf, to use just one font, and then I'll search
for one that works?
The fonts of corefonts are in lower case: arial.ttf arialbd.ttf...
My pdf document shows Arial. Is it case sensitive?

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


Re: pdf hebrew chars are GIBRISH

2011-09-12 Thread Kfir Lavi
On Mon, Sep 12, 2011 at 11:32 AM, Kfir Lavi lavi.k...@gmail.com wrote:

 Hi,
 The CPA of our company gave me the salary in pdf.
 It is done with SHIKLULIT LE HALONOT (שיקלולית לחלונות).
 The header font is showing ok, but the font inside the form,
 shows in GIBRISH.
 It seems like a mismatch of font?!
 I'm using evince.
 I have culmus fonts installed.

 output of pdffonts:
 kfir@goofy /tmp $ pdffonts 2011.08.pdf
 name type  emb sub uni object
 ID
  - --- --- ---
 -
 ArialCID TrueType  no  no  yes  6
 0
 Arial,Bold   CID TrueType  no  no  yes 10
 0
 Miriam   CID TrueType  no  no  yes 13
 0
 DavidCID TrueType  no  no  yes 16
 0
 David,Bold   CID TrueType  no  no  yes 19
 0
 MiriamFixed,Bold CID TrueType  no  no  yes 22
 0

 kfir@goofy /tmp $ pdfinfo !$
 pdfinfo 2011.08.pdf
 Creator:pdfsam-console (Ver. 2.4.0e)
 Producer:   iText 2.1.7 by 1T3XT
 CreationDate:   Sun Sep 11 20:12:03 2011
 ModDate:Sun Sep 11 20:12:03 2011
 Tagged: no
 Pages:  1
 Encrypted:  no
 Page size:  595.274 x 841.888 pts (A4)
 File size:  25669 bytes
 Optimized:  no
 PDF version:1.4

 Thanks,
 Kfir


When I create a docuement with LibreOffice, just for testing, and export it
to pdf the font names look different:
kfir@goofy /tmp $ pdffonts test.pdf
name type  emb sub uni object ID
 - --- --- --- -
BA+DavidCLM-Medium   TrueType  yes yes yes  9  0
kfir@goofy /tmp $ pdffonts test1.pdf
name type  emb sub uni object ID
 - --- --- --- -
BA+ArialMT   TrueType  yes yes yes  9  0

Does the name counts?

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


Re: pdf hebrew chars are GIBRISH

2011-09-12 Thread Kfir Lavi
On Mon, Sep 12, 2011 at 3:32 PM, shimi linux...@shimi.net wrote:



 2011/9/12 Kfir Lavi lavi.k...@gmail.com



 On Mon, Sep 12, 2011 at 11:32 AM, Kfir Lavi lavi.k...@gmail.com wrote:

 Hi,
 The CPA of our company gave me the salary in pdf.
 It is done with SHIKLULIT LE HALONOT (שיקלולית לחלונות).
 The header font is showing ok, but the font inside the form,
 shows in GIBRISH.
 It seems like a mismatch of font?!
 I'm using evince.
 I have culmus fonts installed.

 output of pdffonts:
 kfir@goofy /tmp $ pdffonts 2011.08.pdf
 name type  emb sub uni object
 ID
  - --- --- ---
 -
 ArialCID TrueType  no  no  yes
 6  0
 Arial,Bold   CID TrueType  no  no  yes
 10  0
 Miriam   CID TrueType  no  no  yes
 13  0
 DavidCID TrueType  no  no  yes
 16  0
 David,Bold   CID TrueType  no  no  yes
 19  0
 MiriamFixed,Bold CID TrueType  no  no  yes
 22  0

 kfir@goofy /tmp $ pdfinfo !$
 pdfinfo 2011.08.pdf
 Creator:pdfsam-console (Ver. 2.4.0e)
 Producer:   iText 2.1.7 by 1T3XT
 CreationDate:   Sun Sep 11 20:12:03 2011
 ModDate:Sun Sep 11 20:12:03 2011
 Tagged: no
 Pages:  1
 Encrypted:  no
 Page size:  595.274 x 841.888 pts (A4)
 File size:  25669 bytes
 Optimized:  no
 PDF version:1.4

 Thanks,
 Kfir


 When I create a docuement with LibreOffice, just for testing, and export
 it to pdf the font names look different:
 kfir@goofy /tmp $ pdffonts test.pdf
 name type  emb sub uni object
 ID
  - --- --- ---
 -
 BA+DavidCLM-Medium   TrueType  yes yes yes  9
 0
 kfir@goofy /tmp $ pdffonts test1.pdf
 name type  emb sub uni object
 ID
  - --- --- ---
 -
 BA+ArialMT   TrueType  yes yes yes  9
 0

 Does the name counts?


 Not sure (logic says that yes, it should matter, as PDF should be
 *identical* where ever it is displayed, and thus a similar name should not
 cut it, unlike font-family in HTML...) - however - given your specific
 example, you can see that the font itself has been embedded in the PDF, and
 will thus always work. The same trick can be done by your CPA - if s/he will
 save the PDF with the option to embed / inline the fonts, the PDF would
 work anywhere, for everyone, on any device/OS, regardless of fonts... s/he
 might want to do it in general (the price of course is larger PDFs, as they
 contain the font data...)

 -- Shimi

 Yes,
I'm trying to find a Linux solution for the problem without asking the CPA
to ask SHIKLULIT why they are saving the pdf without embedding the fonts.

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


Re: Delays in ssh connections between two local Linux computers

2011-09-12 Thread Kfir Lavi
On Mon, Sep 12, 2011 at 4:37 PM, Shlomi Fish shlo...@gmail.com wrote:

 Hi all,

 (I apologise from writing from my gmail.com account, but as you'll see
 below,
 writing from my home E-mail account is not bearable.).

 I have a desktop x86-64 Core i3 machine (running Mageia Linux 1) that
 connects
 via wired Ethernet to my NAT/router and there is a remote x86-64 Core Duo
 laptop (running Mageia Linux 2), connected via wireless. Often when I type
 commands on bash on the remote laptop via ssh, there is a significant
 delay,
 and moreover running claws-mail or gringotts (two fast gtk+ apps) from the
 laptop are slow, which hadn't been the case with my older desktop machine.
 tcpdump -i wlan0 on the laptop and htop on the laptop show nothing that
 might
 cause it.

 The delays in the connectivity were not bad with the previous desktop
 machine
 which was an old Pentium 4 2.4GHz machine, which was much slower and
 underpowered.

 So far I tried:

 1. Doing /etc/init.d/iptables stop on the desktop machine.

 2. Relocating the laptop closer to the wifi NAT/router.

 Neither of those helped.

 Can anyone shed any light on this?

 Regards,

 -- Shlomi Fish


 --
 --
 Shlomi Fish http://www.shlomifish.org/

 Electrical Engineering studies. In the Technion. Been there. Done
 that. Forgot a lot. Remember too much.

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


Hi Shlomi,
You need to edit 2 files:
1. edit /etc/ssh/sshd_config and add the line 'UseDNS no'
2. edit /etc/nsswitch.conf and make sure the line:
 'hosts:  files dns'
have just the 'files' and 'dns'. delete everything else from this line.

This will make ssh instant!

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


Re: pdf hebrew chars are GIBRISH

2011-09-12 Thread Kfir Lavi
On Mon, Sep 12, 2011 at 5:37 PM, Meir Kriheli mkrih...@gmail.com wrote:

 On Mon, Sep 12, 2011 at 11:32 AM, Kfir Lavi lavi.k...@gmail.com wrote:
  Hi,
  The CPA of our company gave me the salary in pdf.
  It is done with SHIKLULIT LE HALONOT (שיקלולית לחלונות).
  The header font is showing ok, but the font inside the form,
  shows in GIBRISH.
  It seems like a mismatch of font?!
  I'm using evince.
  I have culmus fonts installed.
 
  output of pdffonts:
  kfir@goofy /tmp $ pdffonts 2011.08.pdf
  name type  emb sub uni object
 ID
   - --- --- ---
 -
  ArialCID TrueType  no  no  yes
 6  0
  Arial,Bold   CID TrueType  no  no  yes
 10  0
  Miriam   CID TrueType  no  no  yes
 13  0
  DavidCID TrueType  no  no  yes
 16  0
  David,Bold   CID TrueType  no  no  yes
 19  0
  MiriamFixed,Bold CID TrueType  no  no  yes
 22  0
 
  kfir@goofy /tmp $ pdfinfo !$
  pdfinfo 2011.08.pdf
  Creator:pdfsam-console (Ver. 2.4.0e)
  Producer:   iText 2.1.7 by 1T3XT
  CreationDate:   Sun Sep 11 20:12:03 2011
  ModDate:Sun Sep 11 20:12:03 2011
  Tagged: no
  Pages:  1
  Encrypted:  no
  Page size:  595.274 x 841.888 pts (A4)
  File size:  25669 bytes
  Optimized:  no
  PDF version:1.4
 
  Thanks,
  Kfir

 Try checking the results of fc-match for each of fonts in the above
 output of pdffonts

 Cheers
 --
 Meir

Here is the output:
fc-match Arial:
arial.ttf: Arial Normal
fc-match Arial,Bold:
arial.ttf: Arial Normal
fc-match Miriam:
Vera.ttf: Bitstream Vera Sans Roman
fc-match David:
Vera.ttf: Bitstream Vera Sans Roman
fc-match David,Bold:
Vera.ttf: Bitstream Vera Sans Roman
fc-match MiriamFixed,Bold:
Vera.ttf: Bitstream Vera Sans Roman

So as we see it don't find David, Miriam...

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


Re: pdf hebrew chars are GIBRISH

2011-09-12 Thread Kfir Lavi
On Mon, Sep 12, 2011 at 6:40 PM, Kfir Lavi lavi.k...@gmail.com wrote:



 On Mon, Sep 12, 2011 at 5:37 PM, Meir Kriheli mkrih...@gmail.com wrote:

 On Mon, Sep 12, 2011 at 11:32 AM, Kfir Lavi lavi.k...@gmail.com wrote:
  Hi,
  The CPA of our company gave me the salary in pdf.
  It is done with SHIKLULIT LE HALONOT (שיקלולית לחלונות).
  The header font is showing ok, but the font inside the form,
  shows in GIBRISH.
  It seems like a mismatch of font?!
  I'm using evince.
  I have culmus fonts installed.
 
  output of pdffonts:
  kfir@goofy /tmp $ pdffonts 2011.08.pdf
  name type  emb sub uni
 object ID
   - --- --- ---
 -
  ArialCID TrueType  no  no  yes
 6  0
  Arial,Bold   CID TrueType  no  no  yes
 10  0
  Miriam   CID TrueType  no  no  yes
 13  0
  DavidCID TrueType  no  no  yes
 16  0
  David,Bold   CID TrueType  no  no  yes
 19  0
  MiriamFixed,Bold CID TrueType  no  no  yes
 22  0
 
  kfir@goofy /tmp $ pdfinfo !$
  pdfinfo 2011.08.pdf
  Creator:pdfsam-console (Ver. 2.4.0e)
  Producer:   iText 2.1.7 by 1T3XT
  CreationDate:   Sun Sep 11 20:12:03 2011
  ModDate:Sun Sep 11 20:12:03 2011
  Tagged: no
  Pages:  1
  Encrypted:  no
  Page size:  595.274 x 841.888 pts (A4)
  File size:  25669 bytes
  Optimized:  no
  PDF version:1.4
 
  Thanks,
  Kfir

 Try checking the results of fc-match for each of fonts in the above
 output of pdffonts

 Cheers
 --
 Meir

 Here is the output:
 fc-match Arial:
 arial.ttf: Arial Normal
 fc-match Arial,Bold:
 arial.ttf: Arial Normal
 fc-match Miriam:
 Vera.ttf: Bitstream Vera Sans Roman
 fc-match David:
 Vera.ttf: Bitstream Vera Sans Roman
 fc-match David,Bold:
 Vera.ttf: Bitstream Vera Sans Roman
 fc-match MiriamFixed,Bold:
 Vera.ttf: Bitstream Vera Sans Roman

 So as we see it don't find David, Miriam...

 Regards,
 Kfir


It seems that Bitstream Vera Sans Roman is the default.
When I run fc-match, I just get Bitstream Vera Sans Roman.

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


Re: pdf hebrew chars are GIBRISH

2011-09-12 Thread Kfir Lavi
On Mon, Sep 12, 2011 at 6:58 PM, Kfir Lavi lavi.k...@gmail.com wrote:



 On Mon, Sep 12, 2011 at 6:40 PM, Kfir Lavi lavi.k...@gmail.com wrote:



 On Mon, Sep 12, 2011 at 5:37 PM, Meir Kriheli mkrih...@gmail.com wrote:

 On Mon, Sep 12, 2011 at 11:32 AM, Kfir Lavi lavi.k...@gmail.com wrote:
  Hi,
  The CPA of our company gave me the salary in pdf.
  It is done with SHIKLULIT LE HALONOT (שיקלולית לחלונות).
  The header font is showing ok, but the font inside the form,
  shows in GIBRISH.
  It seems like a mismatch of font?!
  I'm using evince.
  I have culmus fonts installed.
 
  output of pdffonts:
  kfir@goofy /tmp $ pdffonts 2011.08.pdf
  name type  emb sub uni
 object ID
   - --- --- ---
 -
  ArialCID TrueType  no  no  yes
 6  0
  Arial,Bold   CID TrueType  no  no  yes
 10  0
  Miriam   CID TrueType  no  no  yes
 13  0
  DavidCID TrueType  no  no  yes
 16  0
  David,Bold   CID TrueType  no  no  yes
 19  0
  MiriamFixed,Bold CID TrueType  no  no  yes
 22  0
 
  kfir@goofy /tmp $ pdfinfo !$
  pdfinfo 2011.08.pdf
  Creator:pdfsam-console (Ver. 2.4.0e)
  Producer:   iText 2.1.7 by 1T3XT
  CreationDate:   Sun Sep 11 20:12:03 2011
  ModDate:Sun Sep 11 20:12:03 2011
  Tagged: no
  Pages:  1
  Encrypted:  no
  Page size:  595.274 x 841.888 pts (A4)
  File size:  25669 bytes
  Optimized:  no
  PDF version:1.4
 
  Thanks,
  Kfir

 Try checking the results of fc-match for each of fonts in the above
 output of pdffonts

 Cheers
 --
 Meir

 Here is the output:
 fc-match Arial:
 arial.ttf: Arial Normal
 fc-match Arial,Bold:
 arial.ttf: Arial Normal
 fc-match Miriam:
 Vera.ttf: Bitstream Vera Sans Roman
 fc-match David:
 Vera.ttf: Bitstream Vera Sans Roman
 fc-match David,Bold:
 Vera.ttf: Bitstream Vera Sans Roman
 fc-match MiriamFixed,Bold:
 Vera.ttf: Bitstream Vera Sans Roman

 So as we see it don't find David, Miriam...

 Regards,
 Kfir


 It seems that Bitstream Vera Sans Roman is the default.
 When I run fc-match, I just get Bitstream Vera Sans Roman.

 Kfir


Ok,
Just for check I have changed the default font to Arial using:
familyDejaVu Sans/family in 60-latin.conf
but when trying to use
familyDavid CLM/family
It does not work.

Why this font can't be found?
fc-match davidclm do find it.
but
fc-match david will not.

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


Re: Nested VMX support in qemu and kvm

2011-09-08 Thread Kfir Lavi
On Tue, Sep 6, 2011 at 3:15 PM, Nadav Har'El n...@math.technion.ac.ilwrote:

 On Tue, Sep 06, 2011, Kfir Lavi wrote about Nested VMX support in qemu and
 kvm:
  Hi,

 Wow, I didn't expect to see a discussion about nested VMX in linux-il?
 Any particular reason why you bring this up here, and not in the KVM
 mailing list?

  I'm trying to use a nested vm, but whatever I do, no vmx flag is in
  /proc/cpuinfo ?
  qemu-kvm -cpu host
  qemu-kvm -cpu host,+vmx
  qemu-kvm -cpu qemu64,+vmx

 As you can see in my original announcement, and also in
 Documentation/virtual/kvm/nested-vmx.txt, nested VMX is still considered
 experimental, and therefore must be enabled explictly not just in qemu
 (which you did correctly) but also in the kernel module: you must load
 the kvm-intel module as:

insmod kvm-intel.ko nested=1

 Since you didn't mention doing this, is it possible you forgot?

 If you get an error with the above insmod, it means you are using an old
 version of KVM which didn't yet support nested VMX. Nested VMX was only
 recently integrated with the main tree.

  I'm running Gentoo with kernel 3.0.4 and

 I'm not sure what exactly 3.0.4 contains, but it might be too old to
 contain nested VMX. Linux 3.0's cutoff date was already several months
 ago, so I believe nested VMX only made it to Linux 3.1, not 3.0.

 Like I said, if insmod with nested=1 fails, then you have too old
 a module. You can get a newer kernel directly from the KVM repository.

 Yes you right, kernel  linux-3.1-rc4 has this patch, and using the nested=1

parameter I'm able to use nested vmx.
It is a really useful feature.
(more info is in Documentation/virtual/kvm/nested-vmx.txt)

Send my regards to the ppl in your team at IBM Hifa,
Kfir

  I did saw some emails and patches on the net from Orit, Avi and Nadav
 about
  nested vmx support,
  but it doesn't seems to work for me.

 After 11 (!) rounds of discussions spanning more than a year, Avi accepted
 these patches and nested VMX is now part of the main KVM tree. So please
 use the main KVM tree, not any of the old patches you find on the net, if
 you can.

 Good luck,
 Nadav.


 --
 Nadav Har'El|Tuesday, Sep  6 2011, 7 Elul
 5771
 n...@math.technion.ac.il
 |-
 Phone +972-523-790466, ICQ 13349191 |An egotist is a person of low taste,
 more
 http://nadav.harel.org.il   |interested in himself than in me.

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


Nested VMX support in qemu and kvm

2011-09-06 Thread Kfir Lavi
Hi,
I'm trying to use a nested vm, but whatever I do, no vmx flag is in
/proc/cpuinfo ?
qemu-kvm -cpu host
qemu-kvm -cpu host,+vmx
qemu-kvm -cpu qemu64,+vmx

also used qemu-system-x86_64 with those cpu options.

I'm running Gentoo with kernel 3.0.4 and
app-emulation/qemu-kvm-0.15.0.
I also tested it on
app-emulation/qemu-kvm-
which is the version compiled from latest git repository.

I did saw some emails and patches on the net from Orit, Avi and Nadav about
nested vmx support,
but it doesn't seems to work for me.

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


Need recommendation for a lawyer with GPL experience

2011-07-18 Thread Kfir Lavi
Hi,
I would like to consult with a lawyer about the GPL in business environment.
Do we have someone here in Israel that really understand the issue,
and can consult big companies?

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


[OT] Sun Fire v440 servers

2011-04-28 Thread Kfir Lavi
Hi all,
Is anybody interested in some old beasts?
http://www.sun.com/servers/entry/v440/

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


Re: [OT] Sun Fire v440 servers

2011-04-28 Thread Kfir Lavi
On Thu, Apr 28, 2011 at 2:20 PM, Kfir Lavi lavi.k...@gmail.com wrote:

 Hi all,
 Is anybody interested in some old beasts?
 http://www.sun.com/servers/entry/v440/

 Regards,
 Kfir


Ok,
6 x Sun Fire v440 quads, raid, 2 power supplies
2 x Sun 220 (not sure but are older)
1 x IBM pizza box server (very old)

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


Re: Script to create an image from text?

2011-02-06 Thread Kfir Lavi
Look here for example using convert:
http://www.imagemagick.org/script/convert.php

Kfir

2011/2/2 Ram-on Agmon agm...@gmail.com

 You can use 'convert' to add text to an empty image.



 On Wed, Feb 2, 2011 at 5:01 PM, Constantine Shulyupin 
 co...@linuxdriver.co.il wrote:

 yet another way:
 - create svg template
 - alter it
 - inkscape --export-png

 2011/2/2 Amichai Rotman amic...@iglu.org.il:
  Hi,
  I am looking for a script to be used at a web site that will accept
 certain
  details as input (say: Name, Phone, etc.) and then convert it to a jpeg
  image file that will include a template (say: A diploma graphic) and the
  text entered incorporated...
  I hope I was clear enough
  Thanks,
  Amichai.
  ___
  Linux-il mailing list
  Linux-il@cs.huji.ac.il
  http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
 
 



 --
 Constantine Shulyupin
 http://www.MakeLinux.co.il/
 Embedded Linux Systems,
 Device Drivers, TI DaVinci

 ___
 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


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


Re: Help me understand connection to internet: Infrastructure and ISP

2011-01-30 Thread Kfir Lavi
On Sat, Jan 29, 2011 at 1:33 PM, Dotan Cohen dotanco...@gmail.com wrote:

 Several times I have been caught in the situation in which the
 Infrastructure (Hot in this particular case) and the ISP (012 in this
 particular case) blame each other for the customer not having internet
 access. I need to understand this.

 After two weeks of my mother-in-law not having internet access, during
 which 012 blamed Hot and Hot blamed 012, I get there to take care of
 the issue. At Hot they tell me that since the modem lights are fine (4
 lit, one flashing) the problem must be with 012. At 012 they tell me
 that because she connects without a Dialer (as all Linux customers do)
 they cannot trace the problem any further than a superficial check
 which checks out OK. 012 sees the modem, so they say the problem
 must be with Hot.

 Apparently, the ability to trace problems is the reason that Windows
 users must use a Dialer. Furthermore, at 012 they inform me that it is
 Hot, not 012, that is providing the internet outside because there is
 no dialer. They say that they gave Hot permission to connect me
 directly to the internet this way. So if Hot can provide connections
 out, then why do we need ISPs at all? I notice that no other nation in
 Europe has this Infrastructure/ISP dichotomy.

 Furthermore, the next time that there is a problem how can I check if
 the issue is with the infrastructure or with the ISP?

 Thanks!

 --
 Dotan Cohen

 http://gibberish.co.il
 http://what-is-what.com

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


Hi,
I had the same problem.
I found out that when HOT do a reset of the connection everything works
again.
Reset - Move to dialer, then move back to dhcp.
You will need to ask it more then once because they don't want to do it.
(they want you to open network connections...)

Another problem is a reset of the dhcp I get every few seconds. I get the IP
then
I loose the IP.
I found out that using the --nolink to the dhcpcd client, will not reset the
dhcp every few seconds.

Now for me, everything works, for now.
Until next time that I need to call them and shout very very loud until they
listen.
F... them. I really really hate them (HOT).

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


Re: [r...@gnu.org: Speeches in Israel?]

2011-01-25 Thread Kfir Lavi
On Sun, Jan 16, 2011 at 6:29 PM, Nadav Har'El n...@math.technion.ac.ilwrote:

 On Sun, Jan 16, 2011, Ehud Karni wrote about [r...@gnu.org: Speeches in
 Israel?]:
  I got this request from RMS through Eli Zaretskii.
 
  I think one of the Israeli Linux forums (TELUX, HAIFUX) is appropriate
 
  I think the forum mangers should contact RMS directly and coordinate
  the speech.
 
  Ehud.

 Last time around (January 2003, 8 years ago... has he been in Israel
 since?),
 he gave a speech in IBM Haifa Research Center's auditorium, and later we
 (several dozens of Israeli linux fans) also had an informal dinner with
 him,
 where he also gave a sort of informal speech.


I was at this dinner in Herzeliya back then.
Can anybody dig some photos from this event?
I don't have any photos from this night, and would like to have some.
I'll post a belly comparison back then and now :P

Kfir


 Wherever he visits this time, I hope that it will be possible to record
 and/or video his speech for posterity, and for the people who can't really
 come to Haifa/Jerusalem/wherever the speech ends up being given at.
 I understood that last time IBM intended to do that, but had some technical
 difficulties so at the end it didn't happen. I hope that this time, this
 will be a requirement from the venue (heck, it's not that difficult to
 record at least the audio!).

 Finally, I wonder if anybody has any guess why RMS is visiting Israel in
 July - is it a private visit, or some public event in Israel he's
 attending?
 I know there's a wikimedia conference planned in the beginning of August
 2011 - maybe he's coming to that? :-)

 --
 Nadav Har'El|  Sunday, Jan 16 2011, 12 Shevat
 5771
 n...@math.technion.ac.il
 |-
 Phone +972-523-790466, ICQ 13349191 |Microchips: what's left at the bottom
 of
 http://nadav.harel.org.il   |the bag when it reaches you.

 ___
 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: What to tell 13 year old kids about Linux and Open Source?

2011-01-18 Thread Kfir Lavi
On Mon, Jan 10, 2011 at 7:20 PM, Stan Goodman
stan.good...@hashkedim.com wrote:
 On Monday 10 January 2011 13:44:11 Justin wrote:
 13yr old?  I'd emphasize that Linux doesn't host spyware either by
 infection, trojan or the manufacturers.  So it's less likely to record
  your porn browsing habits. (hey it worked for IE8)

 I might also point out that Windows is what grumpy adults are forced to
  use in their offices. And the people changing the world over in The
  Valley, are using Linux.

 Teens also spend an inordinate amount of time fantasizing that they are
 special, and that anything they don't have limits.  Point out that in
  Linux they can learn every detail, nuance and control it, and the
  world will reward them for this.  But in Windows, their is a limit
  they are ALLOWED to learn before working for MS.

 Sizzle, not the Steak?

 On Mon, Jan 10, 2011 at 8:35 AM, Gabor Szabo szab...@gmail.com wrote:

 Justin has hit on the most powerful point, i.e. being different from
 adults like their fuddy-duddy parents. Hey, kids! Be the first on your
 block to have a good reason to talk down to your old man!  It's
 irresistable.

 --
 Stan Goodman
 Qiryat Tiv'on
 Israel

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


For this you need *bsd ;-)

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


Re: What to tell 13 year old kids about Linux and Open Source?

2011-01-18 Thread Kfir Lavi
On Mon, Jan 10, 2011 at 8:35 AM, Gabor Szabo szab...@gmail.com wrote:
 hi,

 in the school of my son they are interested in getting some 1 hour long
 presentations from parents about various interesting subject.

 I could talk hours and days about Linux and Open Source in general
 but I wonder what do you think. What would be interesting to 13 year
 old kids?

 I am not sure free speech is interesting to them and unfortunately
 they are probably used to that every software is free beer.
 Given the cheats and cracks.

 So what do you think?

 regards
   Gabor

 --
 Gabor Szabo
 http://szabgab.com/

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


I would introduce them to Linux world from their point of view - Cellphones.
You can talk about the history of Linux in a lite way, but the main
will start with
Android OS and how Google arrived there. Then show some modding of Android,
to show how customizable is Linux, and how the power is in their hands.
13 year old are smart, and probably they know a lot about Linux.
Richard and Linus are worth knowing about, and how this kids are using
their work.
Most likely not all the kids will be interested, but take care that
few will be inspired,
and thats all you need.
I would like to here this lecture too :-)

Regards,
Kfir

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


kvm for monitoring BIOS on motherboards without serial console

2011-01-06 Thread Kfir Lavi
Hi all,
I have a computer router that I need to monitor from my laptop.
It has problem to boot. So I need to connect an external monitor to it.
Currently I don't have a monitor.
My laptop runs Linux, so I'm looking for a connector VNC like,
that will do VGA to my laptop that has usb and ethernet (no serial).
If it is possible to buy it here in Tel Aviv, it would be best.
It should be very simple for connecting just one computer and just for
monitoring the BIOS.
No need for graphics and such.

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


Re: Suggested lecture: From VxWorks to Linux

2010-12-07 Thread Kfir Lavi
On Mon, Dec 6, 2010 at 11:25 AM, Shlomi Fish shlo...@iglu.org.il wrote:

 On Thursday 02 December 2010 12:07:45 Raz wrote:
  yes. this is the plan.
 
  On Wed, Dec 1, 2010 at 9:16 PM, Dan Shimshoni danshi...@gmail.com
 wrote:
   Hi,
   I don't know much about preempt RT;
   I assume that you are suggesting to give this lecture at Herzelinux ;
   in case this is the case,  this should be a great idea!
  
   rgs,
   Dan

 We would also be happy if you give this presentation at the Tel Aviv Open
 Source club:

 http://tel.foss.org.il/

 We're desperately looking for people to present, and nobody is
 volunteering.

 Regards,

Shlomi Fish

 --
 -
 Shlomi Fish   http://www.shlomifish.org/
 Apple Inc. is Evil - http://www.shlomifish.org/open-source/anti/apple/

 rindolf She's a hot chick. But she smokes.
 go|dfish She can smoke as long as she's smokin'.

 Please reply to list if it's a mailing list post - http://shlom.in/reply .

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




Yep, Tel Aviv is the best for me and my friends.

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


Re: OT: Suggestion for good KVM Over IP?

2010-12-05 Thread Kfir Lavi
2010/11/29 Hetz Ben Hamo het...@gmail.com

 Hi,

 I was wondering if someone could recommend a good KVM switch which I can
 connect to servers and control them through the net.

 I have seen few KVM's which gave some crappy display results, others which
 have some issues that when you press a key, it repeats it dozen times (try
 to type an IP like that).

 Any suggestions?


I had bad experience with Belkin KVM. It was very explorer/windows tech
based.


 Thanks,
 Hetz

 --

 *חץ בן חמו
 חץ-ביז (הוסטינג)
 *השכרה ואירוח של שרתים פיזיים
 השכרת שרתים וירטואליים מקצועיים וגדולים במחירים *קטנים*
 בקרו באתרנו בכתובת hetz.biz http://www.hetz.biz/ ובבלוג שלנו:
 blog.hetz.biz
 טלפוןן: 078113/4/5, אימייל: sa...@hetz.biz
 מסנג'ר: sa...@hetz.biz - סקייפ: heunique


 ___
 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: OT: Suggestion for good KVM Over IP?

2010-12-05 Thread Kfir Lavi
On Mon, Nov 29, 2010 at 6:42 PM, geoffrey mendelson 
geoffreymendel...@gmail.com wrote:


 On Nov 29, 2010, at 6:29 PM, Hetz Ben Hamo wrote:

  Hi,

 I was wondering if someone could recommend a good KVM switch which I can
 connect to servers and control them through the net.

 I have seen few KVM's which gave some crappy display results, others which
 have some issues that when you press a key, it repeats it dozen times (try
 to type an IP like that).


 VNC. I use it to run X Windows sessions from headless servers. You can even
 tunnel it over ssh.

 Take care that this way he can't see the bios, and I think this is the
important thing here.


 Geoff.

 --
 Geoffrey S. Mendelson,  N3OWJ/4X1GM
 Those who cannot remember the past are condemned to misquote it.










 ___
 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: Suggested lecture: From VxWorks to Linux

2010-12-05 Thread Kfir Lavi
2010/12/1 Raz razi...@gmail.com

 Gilad Shalom
 I have prepared few papers and a session about Linux Preempt RT.

 1. What is Linux preempt RT .
A presentation and a paper
 2. Live Demo of preempt RT versus non preempt RT kernel -
  on my laptop. a bootable USB that boots preempt rt.
 3. Test Case. Can Preempt RT replace Vxworks as a hard real time system
A presentation
 4. Interview. A transition from Vxworks to Linux. what does it mean .
   A paper

 Anyone who experienced with preempt RT is more than welcome to share his
 experience.

 Raz


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

 Hi Raz,
This is brilliant and just in time ;-)
I'll bring people with me to the lecture.

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


Re: DHCP internet connection - HOT+BEZEQINT - Not getting IP

2010-11-23 Thread Kfir Lavi
2010/11/23 Ron Varburg linux...@hotmail.com


 On Sun, Nov 22, 2010 at 13:05, Kfir Lavi wrote:

  Do any one of you knows what can cause this problem at Hot servers ?

 I am not sure I managed to follow:

 1. When HOT assigns you to without a dialer, you get a real IP.
  In the 84/8 range.

 2. When you are assigned to a dialer, you get something in the 172/8

 range.

 Did I missed something so far?

Nope, you are right.





 I think that this is how it should work. So the problem is on your side.
  HOT + ISP are fine.

What you didn't get is that it suddenly stops sending me IP.
Then I call HOT and they need to reset (move to dialer, then move to dhcp),
and then my computer will get an IP.
Why it is my problem?

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


Re: DHCP internet connection - HOT+BEZEQINT - Not getting IP

2010-11-23 Thread Kfir Lavi
On Tue, Nov 23, 2010 at 4:37 PM, geoffrey mendelson 
geoffreymendel...@gmail.com wrote:


 On Nov 23, 2010, at 4:21 PM, sara fink wrote:



 Unfortunately, that's how HOT work. They always blame the costumer. Either
 virus or the magic sentence something  is blocking your internet. They
 will never admit they have a problem on their side. I believe you have to
 open your mouth.


 The problem is that MPLS (what is mistakenly called DHCP as ALL hot
 connections use DHCP), is broken. Sometimes it works, sometimes it does not.


Yep you are right. It is MPLS, and at HOT they said MPLS. I just didn't
remembered the term. tnx
I'll give it a try for a while and see.
I'll also try to post the tcpdump log, just to search for clues.



 IMHO you are much better off buying a router. I use on my HOT connection a
 99 NIS TP-LINK router from Ivory. I use a PPTP tunnel to Netvision without a
 problem.

 Geoff.
 --
 Geoffrey S. Mendelson,  N3OWJ/4X1GM
 Those who cannot remember the past are condemned to misquote it.









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


Re: DHCP internet connection - HOT+BEZEQINT - Not getting IP

2010-11-22 Thread Kfir Lavi
On Sun, Nov 21, 2010 at 8:09 PM, Lior Kaplan kaplanl...@gmail.com wrote:

 The last time I didn't get IP through DHCP, it was because the settings at
 HOT were reset to dailer connection.
 A quick call to the ISP and HOT solved the problem.

 Kaplan

 2010/11/21 Kfir Lavi lavi.k...@gmail.com



 On Sun, Nov 21, 2010 at 3:55 PM, Kfir Lavi lavi.k...@gmail.com wrote:

 Hi,
 I have a very simple setup.
 My router (Regular PC box) running DHCP client to get IP from the
 provider.
 I don't need dialer for connecting.
 This setup did work for the past half a year.
 Two weeks ago in Friday night, my server stopped receiving IP address.
 Running tcpdump shows a lot of traffice on the network of HOT. I see
 people sending requests and getting dhcp replays.
 I also see connections of bittorent that where active trying to reach my
 computer.
 After one hour fighting with HOT representative, she told me, hey you got
 an IP.
 Well, I did.

 One thing is, I called HOT on Sunday, and when talking to them, I got an
 IP address. So all weekend without Internet.

 Now this Friday morning the same thing happened. No IP is offered to me.
 I can see my computer sending requests, but no replays are sent to me.
 I asked them to check that they get my requests, but they don't want to
 do that.

 Again, all weekend no Internet, and still no IP offered at this time of
 writing



 Does someone knows why this can happen?
 My guess is that they ran out of IP's, or there is a blocking software on
 the DHCP server which blacks my MAC. (Oh, I didn't change my MAC address for
 checking. I'll do it tonight. )
 My download rate is 300kb, so its very low package, and and it doesn't
 seem to be a bandwidth problem.

 What is going there behind the seen with this DHCP server ?
 Can it be my fault?
 I have the white Motorola modem.

 Today at night a representative of HOT should call me when I'm back home
 to . (CLOSE, RESTART... etc... What ?!?! its not windows?? How come you
 don't have start button? well, what can you do.)

 Thanks,
 Kfir



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


 Ok,
Talking today to Bezeqint, they just said I need to contact Hot.
Well Yesterday Hot didn't want to solve this problem for me.
Today the representative of Bezeqint called Hot, and a very good tech guy
answered.
He without to many questions tried to change my connection to dialer, so my
computer will take IP 172...
Then he changed it to without dialer and my computer did take 84... IP.
I have left my dhcp service restarting in a loop every 1 minute. Hope this
will not cause a problem today.

So the solution was:
Reset my connection to dialer, then reset it back to DHCP connection.

After that the representative saw that last week she did the same thing,
which solved the problem.
Now the question is why this happens?
At Hot he said that he will call the sysadmins that responsible for this
server. Hope he will do that.

Do any one of you knows what can cause this problem at Hot servers ?

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


DHCP internet connection - HOT+BEZEQINT - Not getting IP

2010-11-21 Thread Kfir Lavi
Hi,
I have a very simple setup.
My router (Regular PC box) running DHCP client to get IP from the provider.
I don't need dialer for connecting.
This setup did work for the past half a year.
Two weeks ago in Friday night, my server stopped receiving IP address.
Running tcpdump shows a lot of traffice on the network of HOT. I see people
sending requests and getting dhcp replays.
I also see connections of bittorent that where active trying to reach my
computer.
After one hour fighting with HOT representative, she told me, hey you got an
IP.
Well, I did.
Now this Friday morning the same thing happened. No IP is offered to me.
I can see my computer sending requests, but no replays are sent to me.
I asked them to check that they get my requests, but they don't want to do
that.

Does someone knows why this can happen?
My guess is that they ran out of IP's, or there is a blocking software on
the DHCP server which blacks my MAC. (Oh, I didn't change my MAC address for
checking. I'll do it tonight. )
My download rate is 300kb, so its very low package, and and it doesn't seem
to be a bandwidth problem.

What is going there behind the seen with this DHCP server ?
Can it be my fault?
I have the white Motorola modem.

Today at night a representative of HOT should call me when I'm back home to
. (CLOSE, RESTART... etc... What ?!?! its not windows?? How come you
don't have start button? well, what can you do.)

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


Re: DHCP internet connection - HOT+BEZEQINT - Not getting IP

2010-11-21 Thread Kfir Lavi
On Sun, Nov 21, 2010 at 3:55 PM, Kfir Lavi lavi.k...@gmail.com wrote:

 Hi,
 I have a very simple setup.
 My router (Regular PC box) running DHCP client to get IP from the provider.

 I don't need dialer for connecting.
 This setup did work for the past half a year.
 Two weeks ago in Friday night, my server stopped receiving IP address.
 Running tcpdump shows a lot of traffice on the network of HOT. I see people
 sending requests and getting dhcp replays.
 I also see connections of bittorent that where active trying to reach my
 computer.
 After one hour fighting with HOT representative, she told me, hey you got
 an IP.
 Well, I did.

One thing is, I called HOT on Sunday, and when talking to them, I got an IP
address. So all weekend without Internet.

Now this Friday morning the same thing happened. No IP is offered to me.
 I can see my computer sending requests, but no replays are sent to me.
 I asked them to check that they get my requests, but they don't want to do
 that.

Again, all weekend no Internet, and still no IP offered at this time of
writing



 Does someone knows why this can happen?
 My guess is that they ran out of IP's, or there is a blocking software on
 the DHCP server which blacks my MAC. (Oh, I didn't change my MAC address for
 checking. I'll do it tonight. )
 My download rate is 300kb, so its very low package, and and it doesn't seem
 to be a bandwidth problem.

 What is going there behind the seen with this DHCP server ?
 Can it be my fault?
 I have the white Motorola modem.

 Today at night a representative of HOT should call me when I'm back home to
 . (CLOSE, RESTART... etc... What ?!?! its not windows?? How come you
 don't have start button? well, what can you do.)

 Thanks,
 Kfir

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


Linux bridge don't see nemesis injected packages to eth0 or eth1

2010-11-16 Thread Kfir Lavi
Hi,
I want to use nemesis for testing my ebtables, iptables behavior,
injecting packages via a script and check the results.
Apparently br0 don't see locally injected packages to eth0 or eth1.
My setup is a simple bridge br0 that have eth0 and eth1.
Using this two lines inside a script, I'm creating arp request in eth0
and arp reply in eth1.
nemesis arp -v -d eth0 -S $SRC -D $DST -h $SRC_MAC
nemesis arp -v -r -d eth1 -S $DST -D $SRC -h $DST_MAC -m $SRC_MAC

If I run those commands in the bridge locally, I will see each packet
(tcpdump -i ethX) in the interface ethX, but not on the bridge br0.
If I run this command from another computer in the lan, I do see this
2 arp packets at br0 and eth0 and eth1.
So the bridge do forward the arp packets, but just if they are created
outside of the bridge machine.

Is it possible to generate traffic inside the bridge that br0  could see?

Regards,
Kfir

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


Re: Using ComSign smart card

2010-11-15 Thread Kfir Lavi
2010/11/14 Ori Idan o...@helicontech.co.il:
 From looking at Tehila web site it seems they do support Mac OS/X but do not
 support linux (yet, they say).
 However from looking into some of the card readers they offer, it seems that
 most card readers have Linux drivers.
 For example: http://www.athena-scs.com/product.asp?pid=1
 More drivers can be found at: http://www.linuxnet.com/sourcedrivers.html
 So it seems there is no problem using the card readers under Linux.
 I hope there aren't any other problems such as Explorer only websites etc.
 We have about a year to solve these problems as all of us who report VAT
 will need to report their VAT report using these methods from 1-1-2012

From what I know, SHA'AM are responsible for developing the websites
for the tax authorities.
They don't understand in open standards, and they also don't care!
I think talking to someone there and understanding who is in charge of
the the website development, and maybe one of you consultants will
give them some hours to help open their development process.

Regards,
Kfir
 --
 Ori Idan

 On Sun, Nov 14, 2010 at 10:29 PM, Amos Shapira amos.shap...@gmail.com
 wrote:

 How is the market share of Apple in Israel these days? Their distrobutors
 should be interested in this issue as well.

 On 15/11/2010 7:14 AM, Ori Idan o...@helicontech.co.il wrote:

 No, I do not think the people from Tehila will help me.
 I did this only to let them know that people use other operating systems.
 I hope that other people will do that too.
 I did search the net and found that they use card readers by some know
 manufacturers see for
 example: http://www.scmmicro.com/security/view_product_en.php?PID=4
 --
 Ori Idan


 On Sun, Nov 14, 2010 at 10:02 PM, Hetz Ben Hamo het...@gmail.com wrote:
 
  Ori,
 
  You really...

 ___
 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



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


Re: What's up with Bezeq ? Can people please try the following:

2010-10-21 Thread Kfir Lavi
What netex does that make this behavior?

Tnx
Kfir

2010/10/21 Arie Skliarouk sklia...@gmail.com

 Known problem, ask bezeq to remove netex from your internet account:
 http://code.google.com/p/googleappengine/issues/detail?id=3891

 --
 Arie



 2010/10/19 Orna Agmon Ben-Yehuda ladyp...@gmail.com

 I use bezeqint, I am also redirected to google from both sites, and the
 tracepath is lost for both sites in the same location -

 6:  bzq-219-189-14.cablep.bezeqint.net (62.219.189.14)   532.665ms asymm
  9
  7:  no reply

 Orna

 2010/10/18 ik ido...@gmail.com

 I'm redirected to google:  Run your web applications on Google's
 infrastructure. 

 I'm using ccc as my ISP (had enough with the big ISP), but OpenDNS as
 my dns server.

 Ido

 2010/10/18 Maxim Veksler ma...@vekslers.org

 Hi,

 Something very strange is going on these days with Bezeq ISP network.
 I seem to be unable to reach appspot.com while appengine.google.comworks 
 just fine.

 Both of these services are available:
 http://tools.pingdom.com/?url=appspot.com
 http://tools.pingdom.com/?url=appengine.google.com



 Can people please try these following with your connection and report
 back. Could you mention what ISP your connected with?


 **NOTE: This will reveal you IP address**
 wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e
 's/.*$//'
 84.108.229.170

 wget appspot.com
 --2010-10-18 08:27:48--  http://appspot.com/
 Resolving appspot.com... 173.194.36.141
 Connecting to appspot.com|173.194.36.141|:80... connected.
 HTTP request sent, awaiting response... 404 Not Found
 2010-10-18 08:27:49 ERROR 404: Not Found.

 tracepath  appspot.com
  1:  maximveksler-desktop  0.147ms pmtu
 1500
  1:  192.168.1.1   1.039ms
  1:  192.168.1.1   1.093ms
  2:  10.227.160.1  9.835ms
  3:  bzq-115-189-145.static.bezeqint.net  27.992ms
 asymm  6
  4:  bzq-115-189-145.static.bezeqint.net  11.124ms
 asymm  6
  5:  bzq-179-73-242.static.bezeqint.net   11.611ms
 asymm 11
  6:  bzq-179-124-165.static.bezeqint.net  13.540ms
 asymm  8
  7:  bzq-179-124-138.static.bezeqint.net  16.537ms
 asymm  9
  8:  bzq-25-116-157.static.bezeqint.net   10.893ms
 asymm 11
  9:  bzq-25-116-158.static.bezeqint.net   20.788ms
 asymm 10
 10:  bzq-25-95-209.static.bezeqint.net13.101ms
 asymm  9
 11:  bzq-179-124-181.static.bezeqint.net  17.586ms
 asymm  8
 12:  bzq-179-124-150.static.bezeqint.net  11.194ms
 asymm  9
 13:  bzq-219-189-14.cablep.bezeqint.net  786.081ms
 asymm 11
 14:  no reply
 15:  no reply
 16:  no reply
  17:  no reply
 18:  no reply
 19:  no reply
 20:  no reply
 21:  no reply
 22:  no reply
 23:  no reply
 24:  no reply
 25:  no reply
 26:  no reply
 27:  no reply
 28:  no reply
 29:  no reply
 30:  no reply
 31:  no reply
  Too many hops: pmtu 1500
  Resume: pmtu 1500


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



 LINESIP websites:
 http://www.linesip.com
 http://www.linesip.co.il



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




 --
 Orna Agmon Ben-Yehuda.
 http://ladypine.org

 ___
 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


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


Re: Setting permanent routes on Debian

2010-09-26 Thread Kfir Lavi
Hi Eli,
1. You can use a script as stated here:
http://forums.debian.net/viewtopic.php?f=5t=41191

2. Try to write the line like this:
post-up route add -host x.x.x.x gw 10.0.1.1 dev eth0:1
or
post-up /sbin/route add -host x.x.x.x gw 10.0.1.1 dev eth0:1

Regards,
Kfir

On Sun, Sep 26, 2010 at 5:28 PM, eliyahu cohen eliyahu.coh...@yahoo.comwrote:

 I want to set a permanent route on my Debian box. Initially I ran the
 following from the command line:

 route add -host x.x.x.x gw 10.0.1.1 dev eth0:1

 but when I try to make it permanent by adding the following to
 /etc/network/interfaces I get a 'Failed to bring up eth0.' when restarting
 the network.

 up route add -host x.x.x.x gw 10.0.1.1 dev eth0:1

 I've googled around and haven't found any syntax that works. I could just
 add this to rc.local, but I'm sure there's a better way. Can someone point
 me to a working example of setting permanent routes in Debian?

 Thanks,

 Eli






 ___
 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: CPU RAM in a storage box

2010-09-09 Thread Kfir Lavi
Hi Hetz,
My experience is with raid backup servers, that need to keep data but don't
have to be the fastest.
I wouldn't go so  far with it at the start.
Take some old server box.
Buy a killer power supply for hard drives stability.
Now test the setup using mdadm as raid.
This will most likely be good for you.
If it's not mission critical, hardware raid is not mandatory, because with
mdadm you get updates, which are very easy to apply.
Now you just have to watch the server load and ram to decide if you need
better hardware.

Regards,
Kfir


2010/9/9 Hetz Ben Hamo het...@gmail.com

 Hi people,
 I'm planning to add some big storage solution to my VPS 
 businesshttp://hetz.biz.
 I did some checking and calculated the costs, and figured out that if I want
 to have a decent 12TB solution NAS box, it would be best if I would roll my
 own. (12 TB before all the RAID stuff, after that it would lot less). All
 other solutions are very expensive (example: IBM EXP 3000 costs here 6K nis
 without a single hard disk).

 I'm planning to use hardware based RAID card, minimal Linux distribution
 and have some offers like iSCSI, NFS, CIFS - the usual suspects.

 My question is: since I'll use hardware RAID card, which processor and how
 much RAM should I put in such a machine? Xeon is overkill IIRC.

 What do you suggest?

 Thanks and Shana Tova
 Hetz

 --
 my blog (hebrew): http://benhamo.org
 Skype: heunique
 MSN: hetz-b...@benhamo.org

 ___
 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: comparing two directory structures

2010-09-04 Thread Kfir Lavi
Hi Gabor,
You can use rsync.
rsync -avn a b

-n is the flag for dry-run.
If you add the flag -c then it will compute the checksum for every file. If
-c is not used, then it will relay on timestamp and size of file for
comparison.

output:
$ rsync -avn a b
sending incremental file list
a/
a/file

sent 74 bytes  received 19 bytes  186.00 bytes/sec
total size is 23.29K  speedup is 250.47 (DRY RUN)

Investigate the -q option if you want to use this command from a script.

Regards,
Kfir

On Sat, Sep 4, 2010 at 12:21 PM, Gabor Szabo szab...@gmail.com wrote:

 hi,

 I guess there is an obvious command for this, I just don't know it.

 How can I compare two directory structures if the content is the same
 *disregarding*
 actual file content, or comparing that only if the file names and
 sizes are the same?

 As I understand diff -r  would do it but it would also compare files
 line by line.

 As these are images and movies, I don't want to compare them line by
 line or event byte by byte.
 As a first approximation I only want to list files that exists in one
 directory but not in the other
 or when the files have different size.

 Gabor

 ___
 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: Linux books, fast shipping?

2010-08-30 Thread Kfir Lavi
Thanks all,
I think I'll give Book Depository a try.

Regards,
Kfir

2010/8/30 ronys ro...@gmx.net

  Here's another vote for Book Depository. Another point in their favor is
 that they accept PayPal, whereas Amazon insists on having my credit card
 number.

 Rony

  --
 *From:* linux-il-boun...@cs.huji.ac.il [mailto:
 linux-il-boun...@cs.huji.ac.il] *On Behalf Of *Jason Friedman
 *Sent:* Monday, August 30, 2010 3:21 AM
 *To:* ILUG
 *Subject:* Re: Linux books, fast shipping?

  I found the book depository (www.bookdepository.co.uk) reasonably fast
 and cheap for computing books - they have free shipping (from England)
 to Israel (and worldwide) on everything. The books usually get to Israel in
 under a week.

 Jason

 2010/8/30 Kfir Lavi lavi.k...@gmail.com

 Hi,
 I need to buy 4 books, and would like a recommendation where I should buy
 them in order to get them ASAP.
 Amazon is the first choice, but is it fast?

 The books are:
 1. Linux Kernel Development (3rd Edition) -
 http://www.amazon.com/Linux-Kernel-Development-Robert-Love/dp/0672329468/ref=sr_1_1?ie=UTF8s=booksqid=1282836812sr=8-1
 2. Understanding Linux Network Internals -
 http://www.amazon.com/Understanding-Network-Internals-Christian-Benvenuti/dp/0596002556/ref=pd_sim_b_4
 3. Understanding the Linux Kernel, Third Edition -
 http://www.amazon.com/Understanding-Linux-Kernel-Third-Daniel/dp/0596005652/ref=sr_1_2?ie=UTF8s=booksqid=1282836812sr=8-2
 4. Linux Device Drivers, 3rd Edition -
 http://www.amazon.com/Linux-Device-Drivers-Jonathan-Corbet/dp/0596005903/ref=sr_1_19?ie=UTF8s=booksqid=1282846665sr=8-19

 Thanks,
 Kfir

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




 --
 Jason Friedman
 Postdoctoral scholar
 Macquarie Centre for Cognitive Science
 Macquarie University, NSW 2109 Australia
 email: write.to.ja...@gmail.com
 web: http://curiousjason.com

 ___
 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


Linux books, fast shipping?

2010-08-29 Thread Kfir Lavi
Hi,
I need to buy 4 books, and would like a recommendation where I should buy
them in order to get them ASAP.
Amazon is the first choice, but is it fast?

The books are:
1. Linux Kernel Development (3rd Edition) -
http://www.amazon.com/Linux-Kernel-Development-Robert-Love/dp/0672329468/ref=sr_1_1?ie=UTF8s=booksqid=1282836812sr=8-1
2. Understanding Linux Network Internals -
http://www.amazon.com/Understanding-Network-Internals-Christian-Benvenuti/dp/0596002556/ref=pd_sim_b_4
3. Understanding the Linux Kernel, Third Edition -
http://www.amazon.com/Understanding-Linux-Kernel-Third-Daniel/dp/0596005652/ref=sr_1_2?ie=UTF8s=booksqid=1282836812sr=8-2
4. Linux Device Drivers, 3rd Edition -
http://www.amazon.com/Linux-Device-Drivers-Jonathan-Corbet/dp/0596005903/ref=sr_1_19?ie=UTF8s=booksqid=1282846665sr=8-19

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


Re: You develop in Linux and are looking for work, and are requested to provide CV as a .doc file - what would you do?

2010-08-15 Thread Kfir Lavi
Hi Omer,
I'm currently also looking for a job.
Usually I send my CV in html format. Then some of the recipients ask me for
DOC file. So then I send the OO Doc CV.
When I go to interview I see that the HTML CV is appearing inline in the
message. I see that from their printed CV they bring to the interview.
The only time recipients asked for DOC file, is when it involves  workers
from head hunters office.
Every other company I contacted just used the html or pdf I sent them.

I'm still looking for a job, so I'm not sure my methods are correct ;-)

Regards,
Kfir

On Sun, Aug 15, 2010 at 11:28 PM, Omer Zak w...@zak.co.il wrote:

 I am now looking for work, and am undergoing the usual drill of sending
 E-mail messages in response to job/project ads and referrals.

 My mode of operation is to E-mail the URL to my CV in my Website.  Light
 and sweet E-mail and the receipient's E-mail client has the convenient
 affordance of letting the receipient see my CV by clicking on the URL in
 the E-mail message.

 I encountered an interesting phenomenon.

 Some of those companies (both placement and project subcontract work
 outfits) look for a Linux software developer AND expect you to E-mail
 them a MS-Word .doc file.

 My current rule of thumb is to accommodate the job placement companies -
 they just matchmake according to keywords, and they have too much work
 to educate their workers about the foibles of Linux developers.

 But I would expect the subcontractors to have a clue about Linux
 developers/users (no MS-Word, in other words).

 If YOU were looking for work now, how would YOU deal with such
 companies?

 --- Omer


 --
 MS-Windows is the Pal-Kal of the PC world.
 My own blog is at http://www.zak.co.il/tddpirate/

 My opinions, as expressed in this E-mail message, are mine alone.
 They do not represent the official policy of any organization with which
 I may be affiliated in any way.
 WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


 ___
 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: TAU lectures, BG Airport departures/arrivals, Kupat Holim lab results -- Linux

2010-07-26 Thread Kfir Lavi
Hi All,
Maccabi and Meuhedet works for us fine under firefox.

Regards,
Kfir

2010/7/25 Ori Idan o...@helicontech.co.il

 ‎‎These are 3 different organizations and all of them I think is not
 subject to the state comptroller.

 TAU lectures is one problem that I have no idea how to solve.

 BG Airport departures is the only thing that might be of interest to the
 state comptroller. When we approach him, we should talk about standards and
 accessibility and not about Linux.

 Kupat Holim, as much as I heard lately works fine with FireFox.
 I myself tested Macabi web site, Omer Zak if I am not mistaken reported
 lately that Clalit also works fine.
 I don't know about the other health organizations in Israel.

 --
 Ori Idan



 On Sun, Jul 25, 2010 at 9:08 PM, Stan Goodman 
 stan.good...@hashkedim.comwrote:

 There was some discussion here not long ago about the tendency of Israeli
 website owners to ignore issues of access by users of non-Microsoft
 browsers, and there seemed then to be a feeling that something ought to
 be done about it. That feeling seems to have dissipated, although the
 problem remains (and promises to get worse).

 To challenge the indifference of web designers to the problem seems a lost
 cause, as many of them have learned (I use the term loosely) to code in
 inexpensive Microsoft-sponsored courses which exist largely for the
 purpose of indoctrinating their students in the belief that
 MS enhancements are the best or only way to code web pages; they are
 not knowledgeable enough to understand arguments to the contrary. Owners
 of websites are also not a productive target for persuasion, e.g. because
 they feel that if they are reaching 90% of their clients, they have done
 as well as they ever can do, which really is not an illogical business
 decision.

 On the other hand, all the organizations listed in the Subject line above
 are quasi-governmental agencies, and therefore have a responsibility to
 serve any member of the public who is equipped with standard apparatus,
 without regard to specific proprietary gear. They are all subject to the
 oversight of the State Comptroller, and I submit that the State
 Comptroller is the office that should be approached with the complaint
 and argument that these agencies are delinquent in their responsibility,
 given that e.g. Firefox is compliant with standards, whereas Internet
 Explorer (although universally favored by the ignoramuses who code the
 websites in question) is not.

 If this makes sense to others, and if there is still interest in
 rectifying this long-time problem, I propose that a proper complaint be
 lodged with the Comptroller, who is bound to respond within a length of
 time set by law (I think it is three months). I think that this letter
 should be be drafted by a committee representing IGLU and signed by the
 largest possible number of  members.

 The problem is not going to go away by itself.

 --
 Stan Goodman
 Qiryat Tiv'on
 Israel

 ___
 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


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


Re: question about customers management webapp

2010-07-23 Thread Kfir Lavi
Hi Hetz,
I would go with full blown CRM.
It is usually easy to configure and set up. You can even drop it in a qemu
image so you can keep your system clean.
Why? Most of the things I installed at home and played with, happend to be
my next project.
Most likely you will be setting up CRM in your customer's office, after you
use it yourself.
If you really don't want to go this way, I think that oocalc can can do the
job resonably well.

2010/7/22 Hetz Ben Hamo het...@gmail.com

 Hi all,

 I just became a freelancer http://benhamo.org/wp/?p=2214 (I wrote a post
 with some things I learned that could be useful to others, thats why I added
 the link), and I'm looking for something that I'm quite surprised I cannot
 find.

 I'm looking for some customer management web app (which supports Hebrew),
 so it could allow me to issue price quotes. There are few CRM programs but
 these are monster solutions, and I'm looking for something simple:
 add/edit/view customer details, a catalog of products, and a simple way to
 create some page with customer name and some products, VAT and make a
 PDF out of it. I can spend few hours writing such a thing in PHP/MySQL, but
 it will be like reinventing the wheel..

 I'm sure that there are few people here who are freelancers, so I wonder
 which solution do they use, and which app do they recommend?

 Thanks,
 Hetz
 --
 my blog (hebrew): http://benhamo.org
 Skype: heunique
 MSN: hetz-b...@benhamo.org

 ___
 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: The web site of HaMakor does not work in Firefox

2010-04-28 Thread Kfir Lavi
Works here too:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.3) Gecko/20100424 Gentoo
BetterPrivacy-1.47 Firefox/3.6.3

Kfir

2010/4/28 ik ido...@gmail.com

 Works for me on Firefox 3.6.3 under Arch Linux.

 Ido


 On Wed, Apr 28, 2010 at 12:44, Gabor Szabo szab...@gmail.com wrote:

 When looking at the website of HaMakor http://www.hamakor.org.il/
 I see the butterfly on the top of the English About us menu item
 and I cannot click on the menu item.

 Typing http://www.hamakor.org.il/en/ worked and the menu item is
 highlighted.

 Using FF 3.5.9 on Ubuntu 9.10.


 regards
 Gabor
 http://szabgab.com/

 ___
 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


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


Re: Modern development environment on dated RHEL

2010-04-27 Thread Kfir Lavi
Hi,

I'm a Gentoo user and did it a lot of times, though using chroot.
It is basically installing Gentoo into a directory. So you follow the Gentoo
installation manual. You finish before the Grub installation section.
Its a very straight forward procedure. Then you will have a very strong
environment for a developer.

If you choose to try this path, feel free to email me with any questions.
I'll gladly help and share my experience.

Regards,
Kfir

On Tue, Apr 27, 2010 at 12:55 PM, Yedidyah Bar-David 
linux...@didi.bardavid.org wrote:

 On Tue, Apr 27, 2010 at 12:33:33PM +0300, Evgeny Budilovsky wrote:
  Why not compile all the latest software on some shared directory and then
  run it from there ...
  My company have policy not to give root access on development stations so
 I
  just compile all my development software in home directory and use it
 from
  there ...

 If you go this route, you might consider using some package manager
 for this, such as stow (or one of its clones) or gobolinux.
 --
 Didi


 ___
 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: Kosher-For Passover software

2010-04-01 Thread Kfir Lavi
Wallak, LO KALATETI ;-)
And yesterday my wife told me that today will be the lie day. hehe
Good!

Kfir

On Thu, Apr 1, 2010 at 8:19 PM, Saba Moshe sabamo...@gmail.com wrote:

 Thank you, Nadav, for bringing us these important news on this very
 important day of April 1st.

 Saba Moshe

 

 Date: Thu, 1 Apr 2010 07:40:21 +0300
 From: Nadav Har'El n...@math.technion.ac.il
 Subject: Kosher for Passover software
 To: linux-il@cs.huji.ac.il
 Message-ID: 20100401044021.ga21...@fermat.math.technion.ac.il
 Content-Type: text/plain; charset=us-ascii

 We're in the middle of Passover, and apparently observant Jews who are
 computer users are facing a new problem: a famous Rabbi has just declared
 [1]
 that during the week of Passover, observant Jews must only use software
 which
 has been certified Kosher-for-Passover.

 --snipped for breviry

 ___
 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: As an employer what type of project (Engineering) you would like to see ?

2009-06-10 Thread Kfir Lavi
Hi,
Do whatever you enjoy and is interesting for you.
When you eventually come to an interview you will find that it is not
important what you did exactly, but the interviewer will question your
way of thinking about the project. So the most important thing, is
that you will be able to explain why you choose to do things the way
you done them.
Why you did it that way is more important then what you did.

Regards,
Kfir

On Wed, Jun 10, 2009 at 8:34 PM, Boris shtrasman borissh1...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hello.

 In the next few months I need to choose the final project for my
 engineering studies (B.Sc in Software Eng.).

 I have experience in many (unrelated ) areas so  today i believe that
 i can study and develop almost in any area (as far as my science
 knowledge and experience can be used as basis).
 I worked ( developed ) with VoIP (Openser , gateways etc ... )  and
 MainFrame (IT , backups , Networking etc ... ) , with DSP and Aviation
 mechanics , with CAD and printing systems (Cups and Smartprint) so as
 you can see for a total beginner i have a good starting point.
 So i believe that the basis is OK.

 Since i don't really see a pool of project that i can choose from i
 come to ask here .

 As an employer  would you prefer  Bioinformatics / Cryptography /
 Networking / HighSpeed Networks / Robotics project ?
 What is more important the project theme or the guide (מנחה) ?



   Boris Shtrasman -
 |Gnu/Linux Software developer                  |
 | IM       : bori...@jabber.org                |
 | Blog     : myrtfm.blogspot.com               |
 | linkedIn : www.linkedin.com/in/BorisShtrasman|
  ---
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iEYEARECAAYFAkowCsEACgkQHiYkXfwAFkt4KwCfeMpReKK3HGQ9eEIrnQhibn5U
 aC0An3GDE45g3pW2p+Z00+Lu1baVdERN
 =mjmy
 -END PGP SIGNATURE-


 ___
 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: upgrading ubuntu to debian

2009-06-02 Thread Kfir Lavi
Hi,
I wouldn't start with upgrading from Ubuntu to Debian, it will get
messy. Just upgrading from Debian stable to testing is a big headache
and usually will break the system.
It is much easier and quicker to net install a new Debian.

As to upgrading two systems, just install the first, and then tar.gz
the Debian root file system and copy it to the second.

I don't know how to preserve the packages you already installed in
Ubuntu. So it takes a week or too, to find what is missing and install
it on the new system. Its not smart to just install all the packages
you had in Ubuntu, because it will get a lot of unused packages (but
it can be done).

Net Install: This is the best way to install the system, because it
downloads just the packages you need.
I usually install the base system. Finish the installation, restart
the computer and use aptitude or dselect to install the rest of the
system.
Grab the mini.iso and burn it from here:
ftp://ftp.de.debian.org/debian/dists/unstable/main/installer-i386/current/images/netboot/
This will start your net install.

Regards,
Kfir

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


Re: Slow GUI

2009-06-02 Thread Kfir Lavi
Hi,
My hunch was also the video card, but because it's Gentoo, maybe you
compiled it with some wiled flags that do the opposite?
Can you start with different window manager, like fluxbox or twm and
observer if the problem is related to X or lower?
Starting the comp in Single user (console) works good?
Do you have errors/warnings in your Xlog?

Kfir

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


Re: Internet Customer Service

2009-05-27 Thread Kfir Lavi
Hi,
I found that even with Bezeq Beinleumi, which were giving non dialer
account, I needed to spend 3 days barking on Hot and them.
Hope I will have your experience next time.

Kfir

On Wed, May 27, 2009 at 12:00 PM, sammy ominsky s...@avoidant.org wrote:
 Hi all,

 First, apologies to those on the other lists I'm posting this to.  I'm so
 excited I had to tell everyone :)

 It appears that someone somewhere is listening to what we need, and doing
 something about it.

 This morning I had a local customer who is not technically inclined enough
 to set up their own VoIP router, so I went over there to do it for them.
  They are an older couple with an older PC and no real idea how it all
 works. Their adult son had set them up and is out of the country at the
 moment.

 So I went there, together we phoned their ISP, 012, to tell them we were
 installing a new router.  The tech on their end said to set the router to
 Obtain IP address automatically, and call HOT with the confirmation number
 they gave us, in order to change to an account that doesn't need a dialer.
  We phoned HOT, gave them the confirmation number, and it just worked.

 This is a HUGE change from a few years ago, when I had to call and explain
 to the customer service rep what I wanted to do, who couldn't imagine why
 anyone would need an account without a dialer.  Then I had to wait a week
 for HOT to set up MPLS, and spend hours and hours on the phone with level
 after level of customer support and technicians to make sure it actually got
 done.

 Israel has entered the modern age!  Yay!

 I realize this isn't directly linux-related, but it's certainly relevant to
 those of us not running windows and our ability to get what we need from the
 service providers who've locked us out in the past.

 --sambo

 ___
 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: copy boot image

2008-01-06 Thread Kfir Lavi
On Jan 6, 2008 2:58 PM, Tom Rosenfeld [EMAIL PROTECTED] wrote:

 What is the recommended method to distributing linux images?

 If I have a workstation with a tuned installation and I want to replicate
 it to other workstation. The old fashion way is to open the box and
 physically copy the disk with ghost. How can I do this without a
 screwdriver?

 Thanks,
 -tom

 You can bring up your computer with Knoppix cd or any floppy disk with tar
and gzip in it. Then tar  your image. Look here for example:
http://www.faqs.org/docs/securing/chap29sec305.html
If you want image like ghost, then use the dd command, instead of tar.

Installation file: Most of the distros have an answer file for installation.
You can prepare a file like that from your already installed system, and the
each installation that will use this file, will install automatically your
system. Ofcourse this methode needs more tuning, and to know more about
installation of your distro.

Kfir


[OT] Some computer and computer equipment to give

2007-12-08 Thread Kfir Lavi
Hi,
I have some computers about  500Mhz.
Tv cards, network cards, hard modems, video cards, a lot of new cables (net,
audio, usb...).
Its a good equipment and can be used for home servers and as a donation if
someone here have the time to put linux on it.

The equipment are located at my friend house in Ramat Gan.
There is an ultimatum though ;) One day by his wife! (Maybe it can be bent,
but not for long)
So please contact him today.
Ilan: ilanr1 at 012 dot net dot il
Thanks,
Kfir


Re: [HAIFUX Lecture] Linux Kernel Networking Overview by Rami Rosen

2007-11-28 Thread Kfir Lavi
Would like to catch a ride from Tel Aviv or Natanya.
Thanks,
Kfir

On Nov 28, 2007 3:25 PM, Orr Dunkelman [EMAIL PROTECTED] wrote:

 Next Monday, 4th of December, at 18:30 the Haifa Linux Club, will gather
 to
 listen to Rami Rosen's talk about

Linux Kernel Networking Overview

 Abstract

  * A walkthrough of a packet in the kernel network stack, through
 layer 2, (the link layer), layer 3 (network layer) and layer 4
 (transport layer).
  * The routing table and the routing cache.
  * The neighboring subsystem: arp table and arp cache.
  * The bridging subsysetm.
  * ICMP error messages.
  * A short survey: future trends in Linux Kernel Networking.

 Note: The link layer (L2) we will discuss will be ethernet, and the
 network layer (L3) will be IPv4

 ==

 We meet in Taub building, room 3. For instructions see:
 http://www.haifux.org/where.html

 Attendance is free, and you are all invited!

 ==

 Vehicle entry permit form will be available on Leon's website at
 http://www.leon.nu/form/
 Please register there.
 P.S. We DON'T keep a sensitive information, and delete the
 registration details right after lecture, so it's very important to
 register again for EVERY coming lecture.

 ==

 Future Lectures:

 High-end Video Editing with CinelerraEli Billauer   17/12/2007

 We are always interested in hearing your talks and ideas. If you wish
 to give a talk, hold a discussion, or just plan some event haifux
 might be interested in, please contact us at [EMAIL PROTECTED]

 --
 Orr Dunkelman,
 [EMAIL PROTECTED]

 Any human thing supposed to be complete, must for that reason infallibly
 be faulty -- Herman Melville, Moby Dick.

 GPG fingerprint: C2D5 C6D6 9A24 9A95 C5B3  2023 6CAB 4A7C B73F D0AA
 (This key will never sign Emails, only other PGP keys. The key
 corresponds to [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: Terminal logger

2007-11-25 Thread Kfir Lavi
Yep,
you are right, this is not what the OP wanted.

Kfir

On Nov 23, 2007 1:25 PM, Geoff Shang [EMAIL PROTECTED] wrote:

 Kfir Lavi wrote:

  Simple solution:
  history | cut -d ' ' -f 5-20

 For the record, this command would not give the results of commands, just
 the commands themselves.

 As others have said, script should do the job nicely.

 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: exporting mounted DVD iso?

2007-11-25 Thread Kfir Lavi
If it is not a problem, just install web server and install your machines
from http repository.
Your web server will export the dvd content via http.
This is the easiest solution I can think of.

Regards,
Kfir

On Nov 23, 2007 1:47 PM, Amos Shapira [EMAIL PROTECTED] wrote:

 Hello,

 So I got around to install CentOS 5 on one of our servers and even
 managed to install Windows Vista as a guest on by exporting a
 directory with the DVD ISO file over NFS.

 But now I need to install a couple of CentOS 5 guests and get into
 trouble exporting it over NFS.

 Now - first thing first - it appears that the CentOS 5 virt-manager
 GUI utility expects to access the CONTENT of the ISO image, so just
 exporting the ISO file itself isn't enough - I loop-mounted it under
 /mnt/tmp and then exported /mnt/tmp.

 There be dragons - it just doesn't work.
 Things I tried:

 1. exporting and mounting the directory without loop-mounting on it works.
 2. exporting and mounting a sibling directory while /mnt/tmp has the
 image mounted on it also works.

 I suspect that somehow NFS doesn't like to export the directory
 BECAUSE it's also a mount point.

 I tried the usual export options: nohide, crossmnt, no_subtree_check.
 I also tried exporting /mnt but it still doesn't help.

 The ISO image is hosted on Debian Etch.

 The /var/log/daemon.log on the exporting host says the following when
 a mount is attempted:
 Nov 23 18:06:43 xen01 mountd[26990]: authenticated mount request from
 a.b.c.d:869 for /root/iso/ (/root/iso)

 But still on the client side (I tested most of the time using
 command-line mount) it says Permission denied.

 I mount the loop device read-only, and also try to mount it read-only over
 NFS.

 Questions:
 1. What does virt-manager expect to be under the nfs:server:/directory
 I give it? Does it expect this to be the root of the content of the
 DVD image?
 2. How can I make it work, short of copying the entire content of the
 DVD onto a regular file system?

 Thanks,

 --Amos

 =
 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: exporting mounted DVD iso?

2007-11-25 Thread Kfir Lavi
On Nov 25, 2007 12:12 PM, Amos Shapira [EMAIL PROTECTED] wrote:

 On 25/11/2007, Kfir Lavi [EMAIL PROTECTED] wrote:
  If it is not a problem, just install web server and install your
 machines
  from http repository.
  Your web server will export the dvd content via http.
  This is the easiest solution I can think of.

 Thanks. I've already installed apache on that other server and will
 probably try it tomorrow when I get back in the office.

 Am I right to assume that I should loop-mount the DVD image and point
 the HTTP URL to the root of this loop-mount?


You will need to point to the RPM directory, but I have worked with it a
long time ago.
Try to look on the console (ALT-F4 or something) when installing, in order
to see on where it try to find the packages, after you provide the http url
to the repository.

Good luck,
Kfir


 Cheers,

 --Amos

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




Backup to DVD's

2007-11-24 Thread Kfir Lavi
Hi,
I need to backup large volume to DVD media.
I want to be able to put recovery data and to split it to volumes.
I prefer to work with regular linux commands.
The most important thing is that, if the DVD media will have bad sectors, I
will be able to retrieve my data.
So I thought of burning each volume 3 times. But I'm looking for an elegant
solution.
Thanks,
Kfir


Re: Backup to DVD's

2007-11-24 Thread Kfir Lavi
Thanks,
I prefer to use command line tools. I don't like the overhead of X on this
tasks.

Kfir

On Nov 24, 2007 9:41 AM, sara fink [EMAIL PROTECTED] wrote:

 I backup on dvd verbatim and never had a problem. The program I use is
 k3b. You can split to rar. On k3b you can verify after burning.

 On Nov 24, 2007 3:32 PM, Kfir Lavi [EMAIL PROTECTED] wrote:
  Hi,
  I need to backup large volume to DVD media.
  I want to be able to put recovery data and to split it to volumes.
  I prefer to work with regular linux commands.
  The most important thing is that, if the DVD media will have bad
 sectors, I
  will be able to retrieve my data.
  So I thought of burning each volume 3 times. But I'm looking for an
 elegant
  solution.
  Thanks,
  Kfir
 



Re: echo inside Makefile

2007-11-22 Thread Kfir Lavi
On Nov 22, 2007 6:23 PM, Oleg Goldshmidt [EMAIL PROTECTED] wrote:

 Kfir Lavi [EMAIL PROTECTED] writes:

  Yep,
  The thing is that make uses /bin/sh and /bin/sh - dash.
  Changing the link /bin/sh to point to bash solved the problem.

 If you don't want to change your installation, put

 SHELL=/bin/bash

 at the top of your Makefile. This is probably a good idea for
 portability if you don't trust the user's $SHELL to have all the
 needed features.

 Speaking of which, live and learn - I had no idea what dash was before
 it was mentioned in this thread, so I read up for a few minutes (I
 know of ash, I didn't realize they were related, nor did I know that
 ash had a different echo(1)). I am not sure I am ready to consider
 Debian's idea of keeping bash as the default interactive shell and
 dash as /bin/sh (the default $SHELL) quite sane. i think it breaks
 the principle of least astonishment. Besides, Ubuntu is not exactly
 intended for embedded use where the extra few dozen Kb or whatever or
 whatever runtime savings you can get from builtin echo and test would
 be important.

 I wonder how much it screws up. I imagine there are quite a few
 #!/bin/sh scripts and makefiles without explicit SHELL override and
 what not that expect echo options, regular expressions, and other
 stuff ash/dash does not provide. Yes, I realize that it is technically
 careless. That's no excuse for keeping the default interactive shell
 different from the default environment shell on a desktop system.

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


I use Ubuntu because thats what all my team uses. If I had the choice, I
would go with Gentoo or Debian. As for the embedded system, my Ubuntu is
just a host for compilation of embedded environment. We use snapgear, which
is virtually stable version of uclinux.


Re: echo inside Makefile

2007-11-21 Thread Kfir Lavi
$ type -a echo
echo is a shell builtin
echo is /bin/echo

$bash --version
GNU bash, version 3.2.25(1)-release (i486-pc-linux-gnu)

$/bin/echo --version
echo (GNU coreutils) 5.97


On Nov 20, 2007 8:11 PM, Oleg Goldshmidt [EMAIL PROTECTED] wrote:

 Kfir Lavi [EMAIL PROTECTED] writes:

  Hi,
  I have a problem running echo inside Makefile.
  Here is the Makefile:
  all:
  @echo string
  @echo -e -n string
  The output is:
  string
  -e -n string
  The problem is the second @echo command. It prints '-e -n' instead of
  interpreting those options.
  I have tested it on other comps and it works fine, so its an environment
  problem in my comp.
  What var or file determine this behavior?

 What does type -a echo say in the same environment under which you run
 make?

 Your makefile works properly for me, FWIW, but I am on Fedora, not Ubuntu.

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




Re: echo inside Makefile

2007-11-21 Thread Kfir Lavi
On Nov 21, 2007 1:33 AM, Amos Shapira [EMAIL PROTECTED] wrote:

 On 20/11/2007, Kfir Lavi [EMAIL PROTECTED] wrote:
  Ok,
  make -d don't show much.
  I have attached the two files: Makefile and make.log

 That's weird - your make.log says:

 Must remake target `all'.
 -e -n aaa

 (i.e. echo is missing).

 But running make -d -n on my machine (Debian Etch, make 3.81, bash
 3.1.17, /bin/echo from GNU coreutils 5.97) I get:

 Must remake target `all'.
 echo -e -n aaa

 (i.e. echo is included).

 What was the exact command you executed to get make.log?


make -d 21 | tee make.log


 Maybe add a space after the @?


Nope, this  doesn't  help.



 I also see in bash's man that xpg_echo shell option will tell the
 built-in echo to expand backslash-escape sequences by default. It's
 off in my bash.


By default this flag is 'off'. I have used 'shopt -s xpg_echo' to set it
'on'.
This didn't solve the problem.


 Another piece of documentation - the coreutils info page about echo says:

 quote
   If the `POSIXLY_CORRECT' environment variable is set, then when
 `echo''s first argument is not `-n' it outputs option-like arguments
 instead of treating them as options.  For example, `echo -ne hello'
 outputs `-ne hello' instead of plain `hello'.

   POSIX does not require support for any options, and says that the
 behavior of `echo' is implementation-defined if any STRING contains a
 backslash or if the first argument is `-n'.  Portable programs can use
 the `printf' command if they need to omit trailing newlines or output
 control characters or backslashes.  *Note printf invocation::.
 /quote

 Do you have POSIXLY_CORRECT envariable set? How about trying to switch
 the -e and -n in Makefile?


POSIXLY_CORRECT doesn't help too:
$ make
aaa-e -n aaa
$ POSIXLY_CORRECT=1 make
-e -n aaa
-e -n aaa


 Cheers,

 --Amos

 =
 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: Terminal logger

2007-11-21 Thread Kfir Lavi
Simple solution:
history | cut -d ' ' -f 5-20

Kfir

On Nov 21, 2007 3:46 PM, Shachar Shemesh [EMAIL PROTECTED] wrote:

 Hi all,

 I'm looking for a program (I knew it once) that saves to a log file
 every command written on a terminal, as well as its results. I need it
 so that when I'm instructing a class, I can then give them a log of
 everything I did.

 Thanks,
 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: UPS for Linux

2007-11-21 Thread Kfir Lavi
Try running 'dpkg -L NUT_package_name'
This will show you the files that where installed.
Kfir

On Nov 21, 2007 4:12 PM, David Suna [EMAIL PROTECTED] wrote:

 I installed NUT but I can't find how to run it / configure it.  I am
 running Ubuntu 7.10.

 David Suna
 [EMAIL PROTECTED]



 Leonid Podolny wrote:

  I think, these days all (or almost all) the cheap ones are supported
  by NUT. Particularly, I own this one
  (http://www.zap.co.il/fs.asp?PID=273870771sog=C-UPS), and it just
  works OK. I mean, I'm able to see battery charge and such, which
  probably means that I can configure it to gracefully turn off my
  computer during an outage.
 

 =
 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: echo inside Makefile

2007-11-21 Thread Kfir Lavi
 make SHELL=/bin/bash
works.
But, my shell seems to be bash.
echo $SHELL
/bin/bash

So what is the problem? Do I really run dash instead of bash, but it shows
bash?
Thanks,
Kfir

On Nov 21, 2007 8:26 PM, Valery Reznic [EMAIL PROTECTED] wrote:


 --- Dotan Shavit [EMAIL PROTECTED] wrote:

  On Tuesday 20 November 2007, you wrote:
   Hi,
   I have a problem running echo inside Makefile.
   Here is the Makefile:
   all:
   @echo string
   @echo -e -n string
  
   The output is:
   string
   -e -n string
  
   The problem is the second @echo command. It prints
  '-e -n' instead of
   interpreting those options.
   I have tested it on other comps and it works fine,
  so its an environment
   problem in my comp.
   What var or file determine this behavior?
  The difference is your /bin/sh
  In Ubuntu it's linked to /bin/dash which echo
  (builtin command) accepts
  only -n
 
  linking /bin/sh to /bin/bash will bypass this
  behavior in *your* environment.
 make SHELL=/bin/bash

 should do the trick too.

 Valery.

  A better solution will be to force make calling the
  echo you want:
 
  ECHO=/bin/echo
 
  all:
  @$(ECHO) -n -e aaa
 
 
  #
 
   Thanks,
   Kfir
 
 
 
 
 =
  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]
 
 




  
 
 Get easy, one-click access to your favorites.
 Make Yahoo! your homepage.
 http://www.yahoo.com/r/hs



Re: echo inside Makefile

2007-11-21 Thread Kfir Lavi
Yep,
The thing is that make uses /bin/sh and /bin/sh - dash.
Changing the link /bin/sh to point to bash solved the problem.
Thanks all for your help.
Kfir

On Nov 22, 2007 9:54 AM, Dotan Shavit [EMAIL PROTECTED] wrote:

 On Thursday 22 November 2007, Kfir Lavi wrote:
   make SHELL=/bin/bash
  works.
  But, my shell seems to be bash.
  echo $SHELL
  /bin/bash
 
  So what is the problem? Do I really run dash instead of bash, but it
 shows
  bash?
 Try:
 all:
echo $(SHELL)

 #
  Thanks,
  Kfir
 
  On Nov 21, 2007 8:26 PM, Valery Reznic [EMAIL PROTECTED] wrote:
   --- Dotan Shavit [EMAIL PROTECTED] wrote:
On Tuesday 20 November 2007, you wrote:
 Hi,
 I have a problem running echo inside Makefile.
 Here is the Makefile:
 all:
 @echo string
 @echo -e -n string

 The output is:
 string
 -e -n string

 The problem is the second @echo command. It prints
   
'-e -n' instead of
   
 interpreting those options.
 I have tested it on other comps and it works fine,
   
so its an environment
   
 problem in my comp.
 What var or file determine this behavior?
   
The difference is your /bin/sh
In Ubuntu it's linked to /bin/dash which echo
(builtin command) accepts
only -n
   
linking /bin/sh to /bin/bash will bypass this
behavior in *your* environment.
  
   make SHELL=/bin/bash
  
   should do the trick too.
  
   Valery.
  
A better solution will be to force make calling the
echo you want:
   
ECHO=/bin/echo
   
all:
@$(ECHO) -n -e aaa
   
   
#
   
 Thanks,
 Kfir
  
   =
  
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]
  
  
  
 _
  ___ Get easy, one-click access to your favorites.
   Make Yahoo! your homepage.
   http://www.yahoo.com/r/hs





echo inside Makefile

2007-11-20 Thread Kfir Lavi
Hi,
I have a problem running echo inside Makefile.
Here is the Makefile:
all:
@echo string
@echo -e -n string

The output is:
string
-e -n string

The problem is the second @echo command. It prints '-e -n' instead of
interpreting those options.
I have tested it on other comps and it works fine, so its an environment
problem in my comp.
What var or file determine this behavior?
Thanks,
Kfir


Re: echo inside Makefile

2007-11-20 Thread Kfir Lavi
I'm compiling embedded environment, and there is a Makefile in iproute2 an
tc that have this line.
I'm using bash as a shell, also the other comps I have used.
I have read the echo entry in man bash, but didn't find nothing of
importance.
What I did found is that my echo version don't interpret any flags with --.
echo --version
--version
I'm running Ubuntu 7.10

Kfir

On Nov 20, 2007 1:22 PM, Valery Reznic [EMAIL PROTECTED] wrote:





 --- Amos Shapira [EMAIL PROTECTED] wrote:

  On 20/11/2007, Kfir Lavi [EMAIL PROTECTED]
  wrote:
   Hi,
   I have a problem running echo inside Makefile.
   Here is the Makefile:
   all:
   @echo string
   @echo -e -n string
 You could try to use printf instead of echo.

 Valery


  
   The output is:
   string
   -e -n string
  
   The problem is the second @echo command. It prints
  '-e -n' instead of
   interpreting those options.
   I have tested it on other comps and it works fine,
  so its an environment
   problem in my comp.
   What var or file determine this behavior?
 
  It mostly depends on which shell is used. echo is
  a built-in command
  in many shells as well as there are stand-alone
  implementations
  (usually under /bin). And many of the different
  versions use different
  options.
  Do you use autoconf or do you write the Makefile
  directly? I'm pretty
  sure autoconf can interrogate the system and find
  the right
  combination of echo and flags for your needs (but I
  never got around
  to use it properly).
 
  --Amos
 
 
 =
  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]
 
 




  
 
 Be a better sports nut!  Let your teams follow you
 with Yahoo Mobile. Try it now.
 http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ

 =
 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: echo inside Makefile

2007-11-20 Thread Kfir Lavi
Does make uses internal echo command?
I ask this, because bash echo interprets -e -n and also /bin/echo. But when
running echo inside the Makefile it will not interpret -e -n.


On Nov 20, 2007 1:52 PM, Valery Reznic [EMAIL PROTECTED] wrote:


 --- Kfir Lavi [EMAIL PROTECTED] wrote:

  I'm compiling embedded environment, and there is a
  Makefile in iproute2 an
  tc that have this line.
  I'm using bash as a shell, also the other comps I
  have used.
  I have read the echo entry in man bash, but didn't
  find nothing of
  importance.
  What I did found is that my echo version don't
  interpret any flags with --.
  echo --version
  --version
  I'm running Ubuntu 7.10
 May be your bash for some reason running not it's
 embedded echo, but external one .

 Anyway, what about printf, is it work for you ?

 Valery.

 
  Kfir
 
  On Nov 20, 2007 1:22 PM, Valery Reznic
  [EMAIL PROTECTED] wrote:
 
  
  
  
  
   --- Amos Shapira [EMAIL PROTECTED] wrote:
  
On 20/11/2007, Kfir Lavi [EMAIL PROTECTED]
wrote:
 Hi,
 I have a problem running echo inside Makefile.
 Here is the Makefile:
 all:
 @echo string
 @echo -e -n string
   You could try to use printf instead of echo.
  
   Valery
  
  

 The output is:
 string
 -e -n string

 The problem is the second @echo command. It
  prints
'-e -n' instead of
 interpreting those options.
 I have tested it on other comps and it works
  fine,
so its an environment
 problem in my comp.
 What var or file determine this behavior?
   
It mostly depends on which shell is used. echo
  is
a built-in command
in many shells as well as there are stand-alone
implementations
(usually under /bin). And many of the different
versions use different
options.
Do you use autoconf or do you write the Makefile
directly? I'm pretty
sure autoconf can interrogate the system and
  find
the right
combination of echo and flags for your needs
  (but I
never got around
to use it properly).
   
--Amos
   
   
  
 
 =
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]
   
   
  
  
  
  
  
 

 
   Be a better sports nut!  Let your teams follow you
   with Yahoo Mobile. Try it now.
  
 
 http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
  
  
 
 =
   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]
  
  
 




  
 
 Never miss a thing.  Make Yahoo your home page.
 http://www.yahoo.com/r/hs



Re: echo inside Makefile

2007-11-20 Thread Kfir Lavi
One more thing.
I can change the Makefile to work, using:
@/bin/echo -e -n aaa
But I do not want to change the Makefile. I want to find the problem in my
environment.

On Nov 20, 2007 2:16 PM, Kfir Lavi [EMAIL PROTECTED] wrote:

 Does make uses internal echo command?
 I ask this, because bash echo interprets -e -n and also /bin/echo. But
 when running echo inside the Makefile it will not interpret -e -n.



 On Nov 20, 2007 1:52 PM, Valery Reznic  [EMAIL PROTECTED] wrote:

 
  --- Kfir Lavi [EMAIL PROTECTED] wrote:
 
   I'm compiling embedded environment, and there is a
   Makefile in iproute2 an
   tc that have this line.
   I'm using bash as a shell, also the other comps I
   have used.
   I have read the echo entry in man bash, but didn't
   find nothing of
   importance.
   What I did found is that my echo version don't
   interpret any flags with --.
   echo --version
   --version
   I'm running Ubuntu 7.10
  May be your bash for some reason running not it's
  embedded echo, but external one .
 
  Anyway, what about printf, is it work for you ?
 
  Valery.
 
  
   Kfir
  
   On Nov 20, 2007 1:22 PM, Valery Reznic
[EMAIL PROTECTED] wrote:
  
   
   
   
   
--- Amos Shapira [EMAIL PROTECTED] wrote:
   
 On 20/11/2007, Kfir Lavi [EMAIL PROTECTED]
 wrote:
  Hi,
  I have a problem running echo inside Makefile.
  Here is the Makefile:
  all:
  @echo string
  @echo -e -n string
You could try to use printf instead of echo.
   
Valery
   
   
 
  The output is:
  string
  -e -n string
 
  The problem is the second @echo command. It
   prints
 '-e -n' instead of
  interpreting those options.
  I have tested it on other comps and it works
   fine,
 so its an environment
  problem in my comp.
  What var or file determine this behavior?

 It mostly depends on which shell is used. echo
   is
 a built-in command
 in many shells as well as there are stand-alone
 implementations
 (usually under /bin). And many of the different
 versions use different
 options.
 Do you use autoconf or do you write the Makefile
 directly? I'm pretty
 sure autoconf can interrogate the system and
   find
 the right
 combination of echo and flags for your needs
   (but I
 never got around
 to use it properly).

 --Amos


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


   
   
   
   
   
  
 
  
Be a better sports nut!  Let your teams follow you
with Yahoo Mobile. Try it now.
   
  
  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
   
   
  
  =
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]
   
   
  
 
 
 
 
   
  
  Never miss a thing.  Make Yahoo your home page.
  http://www.yahoo.com/r/hs
 




Re: echo inside Makefile

2007-11-20 Thread Kfir Lavi
Ok,
make -d don't show much.
I have attached the two files: Makefile and make.log

On Nov 20, 2007 2:28 PM, Ilya Konstantinov [EMAIL PROTECTED]
wrote:

 You can run 'make -d' to get more insight into what Make does.
 There aren't supposed to be any internal Make commands. There are internal
 functions, but the syntax for calling them is $(function ...), e.g. $(info
 foobar)


 On Nov 20, 2007 2:16 PM, Kfir Lavi [EMAIL PROTECTED] wrote:

  Does make uses internal echo command?
  I ask this, because bash echo interprets -e -n and also /bin/echo. But
  when running echo inside the Makefile it will not interpret -e -n.
 




Makefile
Description: Binary data
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i486-pc-linux-gnu
Reading makefiles...
Reading makefile `Makefile'...
Updating makefiles
 Considering target file `Makefile'.
  Looking for an implicit rule for `Makefile'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.o'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.c'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.cc'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.C'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.cpp'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.p'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.f'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.F'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.r'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.s'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.S'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.mod'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.sh'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile,v'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `RCS/Makefile,v'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `RCS/Makefile'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `s.Makefile'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `SCCS/s.Makefile'.
  Trying pattern rule with stem `Makefile'.
  Trying implicit prerequisite `Makefile.o'.
  Looking for a rule with intermediate file `Makefile.o'.
   Avoiding implicit rule recursion.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.c'.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.cc'.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.C'.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.cpp'.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.p'.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.f'.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.F'.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.r'.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.s'.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.S'.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.mod'.
   Trying pattern rule with stem `Makefile.o'.
   Trying implicit prerequisite `Makefile.o,v'.
   Trying pattern rule with stem `Makefile.o'.
   Trying implicit prerequisite `RCS/Makefile.o,v'.
   Trying pattern rule with stem `Makefile.o'.
   Trying implicit prerequisite `RCS/Makefile.o'.
   Trying pattern rule with stem `Makefile.o'.
   Trying implicit prerequisite `s.Makefile.o'.
   Trying pattern rule with stem `Makefile.o'.
   Trying implicit prerequisite `SCCS/s.Makefile.o'.
   Trying pattern rule with stem `Makefile'.
   Trying implicit prerequisite `Makefile.c'.
   Looking for a rule with intermediate file `Makefile.c'.
Avoiding implicit rule recursion.
Avoiding implicit rule recursion.
Trying pattern rule with stem `Makefile'.
Trying implicit prerequisite `Makefile.y'.
Trying pattern rule with stem `Makefile'.
Trying implicit prerequisite `Makefile.l'.
Trying pattern rule with stem `Makefile'.
Trying implicit prerequisite `Makefile.w'.
Trying pattern rule with stem `Makefile'.
Trying implicit prerequisite `Makefile.w'.
Trying pattern rule

Re: Hebrew in KDE?

2007-11-16 Thread Kfir Lavi
I think it would be solved installing culmus fonts.
Let her try this, it will not harm the system, if unused.

Kfir

On Nov 15, 2007 2:37 PM, sammy ominsky [EMAIL PROTECTED] wrote:

 Hi,

 An employee of my company in the US would like to have Hebrew on her
 machine.  She runs KDE from a server, in a remote X session on a weak
 workstation.

 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.

 Ideas?  Thanks!

 ---sambo

 =
 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: I installed Debian 4 etch on my PC

2007-11-14 Thread Kfir Lavi
The difference between synaptic/aptitude to apt-get, is when you want to
uninstall packages, aptitude/synaptic will know which packages are not in
use and remove them. Using this tools will let you keep your comp clean.
I personally use aptitude. Its like synaptic but for the shell.
For example:
aptitude install abc # works like apt-get
just running aptitude will open ncurses interface.

Regarding your question:
Debian has the biggest community and it is the oldest distribution that
still kick.
Because of that, you enjoy a very experienced developers and mature OS.

I would suggest you, to take your time and just try to use this OS. Good
things will reveal as you go.
Debian is suited to servers, because It is stable and secure (again the
developers and the community).

If you have questions, you can ask at the IRC in #debian room.
Kfir


On Nov 14, 2007 2:25 PM, Web Master [EMAIL PROTECTED] wrote:


  Hi everyone,

  I installed Debian 4 Etch on my PC. Earlier time I have got many mail,
 where the writer said: my linux (Mandriva, SuSE, Fedora, etc) is not a
 serious operating system.

  Now I am working on Debian I tried the apt-get install (remove, as so on)
 command, the dpkg command, and the synaptic package manager software.

  What is the other advantage of this OS?

  On my PC the following server softwares are running:

  debian:~# nmap -A localhost

  Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2007-11-14 12:38
 CET
  Interesting ports on localhost (127.0.0.1):
  Not shown: 1660 closed ports
  PORT  STATE SERVICE VERSION
  21/tcpopen  ftp ProFTPD 1.3.0
  23/tcpopen  telnet  Linux telnetd
  25/tcpopen  smtpPostfix smtpd
  53/tcpopen  domain
  80/tcpopen  httpApache httpd 2.2.3 ((Debian)
 mod_python/3.2.10 Python/2.4.4 PHP/5.2.0-8+etch7 mod_perl/2.0.2 Perl/v5.8.8)
  110/tcp   open  pop3Courier pop3d
  111/tcp   open  rpcbind  2 (rpc #10)
  113/tcp   open  ident   OpenBSD identd
  139/tcp   open  netbios-ssn Samba smbd 3.X (workgroup: MSHOME)
  143/tcp   open  imapCourier Imapd (released 2005)
  445/tcp   open  netbios-ssn Samba smbd 3.X (workgroup: MSHOME)
  548/tcp   open  afpovertcp?
  631/tcp   open  ipp CUPS 1.2
  853/tcp   open  mountd   1-3 (rpc #15)
  901/tcp   open  httpSamba SWAT administration server
  953/tcp   open  rndc?
  2049/tcp  open  nfs  2-4 (rpc #13)
  3128/tcp  open  squid-http?
  3306/tcp  open  mysql   MySQL 5.0.32-Debian_7etch1-log
  1/tcp open  httpWebmin httpd



 PÁRATLAN AKCIÓ MOST!
 Mosógépek,mosogatógépek, beépíthető gépek
 ORSZÁGOS kiszállítással az AEGshop.hu-tól
 http://ad.adverticum.net/b/cl,1,6022,222445,270525/click.prm


 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: Weird chroot/su/setreuid issue

2007-11-13 Thread Kfir Lavi
A different approach which is clean and elegant.
If Continuus CM is not serving as a server, you can use www.virtualbox.org,
just to get you going. You can also use XEN but its harder to configure, but
you know what is going on.
You just need to create your RH8 inside a new virtual machine.
This will solve your issues of updating your OS.

On Nov 12, 2007 10:54 AM, Leonid Podolny [EMAIL PROTECTED] wrote:

 Hi,
 I have an issue that I fail to solve on my own.
 My workstation is an F7 box, but I have an ancient RH8 installation
 sitting in one of the directories. I need it to run a GUI for Continuus
 CM, that crashes on any modern distro.
 Yesterday I upgraded a box to F8, and the old su-chroot-su - user
 sequence stopped working. When I the su - user part inside chroot. I
 recieve could not open session message.
 I tried to strace a sudo process, and discovered that after it changes
 its permissions, it fails to open *any* file. So I wrote a following
 program:
 #include unistd.h
 #include stdlib.h
 #include stdio.h

 int main()
 {
setreuid(759, 759); //Uid of the user
FILE* f = fopen(1.c, r); //Filename of this program
fclose(f);
 }

 The last line of strace on it are:

 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
 -1, 0) = 0xf7fce000
 munmap(0xf7fcf000, 111502)  = 0
 setreuid32(0x2f7, 0x2f7)= 0
 brk(0)  = 0x804a000
 brk(0x804b000)  = 0x804b000
 open(1.c, O_RDONLY)   = -1 EACCES (Permission denied)
 --- SIGSEGV (Segmentation fault) ---
 +++ killed by SIGSEGV +++


 I fail to see why is that.

 --


  Leonid Podolny   |  [EMAIL PROTECTED]
   |
  Software Engineer|  +972- 3-7668960
  Linux Platform Team  |  +972-54-5696948

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




Israir flight search

2007-11-03 Thread Kfir Lavi
Hi,
I have tried to search for a flight at Israir site. Here is a link to the
page: http://www.israir.co.il/cat_flights_europe.asp?type=6
Now, as you guessed, the search button don't work.
Sometimes in sites that don't work, I just open the code and try to run
'javascript:whatEverFunctionToSubmit();' from the url line, but here it
don't work, also with Konqueror.
At the source there is the function submit:
document.frmSearch.submit();

This line don't work from the url line.
Is there a way to run this search from firefox?

Thanks,
Kfir


Re: [OT] SVN commercial support

2007-10-10 Thread Kfir Lavi


 Technically, this is not true. ClearCase is more sophisticated. In
 addition to barebones SCM, it offers a development workflow (called UCM)
 integrating with their issue-tracking (ClearQuest), dynamic views, IDE
 integration and some more features  -- but this comes at a price of very bad
 performance. So still, all in all I recommend against ClearCase, no matter
 what other SCM you chose.

 As to your main question (SVN support), sorry but I have no pointers. Good
 luck.


I have used trac as a wiki, bug tracking, web code view, with svn
integration. Very good.


Hard disk image mounting problem

2007-09-28 Thread Kfir Lavi
Hi,
My hard disk failed and I had to ddrescue it to an image file.
What I did is copy the whole HD to image file.
So now I have hda.img
The problem is that now I want to work on the separate partitions in the
image, which I don't know how to do.
'fdisk -l hda.img' will not work.
How do I proceed from here?
Thanks,
Kfir


Re: Career advice needed

2007-09-04 Thread Kfir Lavi
Hi,
I have worked back in 1998 at a computer game company.
One of the leading programmers was someone from big company in the Silicon
Valley, with about 10 years experience in graphic programming. Back then the
salary was bombastic, but as for production, he was ACE. Unfortunately the
company closed its doors.
He was then about 40 years old. I have met him in the university after some
years doing his Ph.d in computer graphic field. I remember talking with him
and asking how could he pass such a big salary, and he told me that everyone
in his place should go to the academy, because its very interesting, and let
you concentrate in the field you love.
Not a lot of people in the computer industry have a real Research and
Development  jobs as  you described.  I think they are very few  and  most
of them are MA or Ph.d.
Consider going back to school and find the field you want to research. This
will give you the intellectual stimuli you need.
I have seen some Ph.d becoming entrepreneur, or leading the RD in a new
company.
If you are Zionist as you said, wouldn't it be great to create more power to
Israel, by boosting its economy.
You also don't have to build yourself the company or be a manager, its just
to find the right people to build it with them.
As for quitting your job, I think the market now is not good as everybody
thinks. Go to some interview and see what I mean. You will have to wait to
the right job. I recommend searching for a job when you work, because it can
take a lot of time.


Re: Open standards

2007-08-30 Thread Kfir Lavi
Hi Dan,

On 8/29/07, Dan Armak [EMAIL PROTECTED] wrote:

 On Wednesday 29 August 2007, Kfir Lavi wrote:
  Hi,
  The Open University decided to open some of her books to the public.
  My friend want to give some arguments why they should publish the books
 in
  open standards.
  Please post some arguments that can persuade the head of this project to
 go
  Open.

 Hello,

 By opening do you mean publishing the books online? Free of charge?
 Allowing
 copying? Allowing modifications?


Duno about modifications or  free, but the books will be online  for
everyone to read.

Has anything already been published in some other format? Can you provide a
 link?


Not that I know of.

Thanks,
 --
 Dan Armak

 =
 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: Open standards

2007-08-30 Thread Kfir Lavi

 as long as just one crazy guy continues to maintain the groff program.


Well, groff is a very good example. 30 years, wow. The thing is that groff
is a small program, that can be maintained by one person. Word or openoffice
in the other hand need a lot of people, but a lot of industries counting on
word documents.


Re: Open standards

2007-08-30 Thread Kfir Lavi
Nope,
Its free to the public. No DRM is needed.

On 8/30/07, Dan Armak [EMAIL PROTECTED] wrote:

 On Thursday 30 August 2007, Kfir Lavi wrote:
   By opening do you mean publishing the books online? Free of charge?
   Allowing
   copying? Allowing modifications?
 
  Duno about modifications or  free, but the books will be online  for
  everyone to read.

 If it's not free of charge, in what sense is it for everyone? Everyone
 can
 buy the books at the OU bookstore in Raanana, too.

 If it's not free of charge and OU want to make money by selling ebooks,
 they
 might want to use some form of DRM. In which case you'll need to explain
 to
 them that DRM doesn't actually work and causes a lot of trouble and so on.


 --
 Dan Armak

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




Open standards

2007-08-29 Thread Kfir Lavi
Hi,
The Open University decided to open some of her books to the public.
My friend want to give some arguments why they should publish the books in
open standards.
Please post some arguments that can persuade the head of this project to go
Open.

Thanks,
Kfir


State of the Israeli banks websites

2007-08-16 Thread Kfir Lavi
Hi,
I'm looking to open bank account for investing.
I currently using Bank Hapoalim website and it works fine, but I don't have
experience investing with this bank.
From your experience, which bank will have the best Linux support in
investment of stocks and mutual funds.
Tnx,
Kfir


Re: State of the Israeli banks websites

2007-08-16 Thread Kfir Lavi
Are you referring to the new website, because someone wrote me that the new
website works fine.

On 8/16/07, Omer Zak [EMAIL PROTECTED] wrote:

 I do not have experience with other banks, but Bank Discount's Web site
 blocks you unless you have Internet Explorer, version 5.5 or later.
 The people responsible for this state of affairs do not have a clue
 about the importance of supporting W3C standards - if to judge from
 their response to the complaint which I made about this, few weeks ago.

  --- Omer

 On Thu, 2007-08-16 at 10:58 +0300, Kfir Lavi wrote:
  Hi,
  I'm looking to open bank account for investing.
  I currently using Bank Hapoalim website and it works fine, but I don't
  have experience investing with this bank.
  From your experience, which bank will have the best Linux support in
  investment of stocks and mutual funds.
  Tnx,
  Kfir
 --
 Delay is the deadliest form of denial.C. Northcote Parkinson
 My own blog is at http://www.zak.co.il/tddpirate/

 My opinions, as expressed in this E-mail message, are mine alone.
 They do not represent the official policy of any organization with which
 I may be affiliated in any way.
 WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html


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




Re: Webmail like Gmail + encryption

2007-08-14 Thread Kfir Lavi
Hi Danny,
I want to encrypt inside company emails.
I thought about building a mail server with webmail and a plugin for
encryption.
Most of the use of the webmail interface will be from known computers.
The amount of emails will be at a hundreds.
But I need to keep the private key at each user hand.
I'm thinking to pass the encryption, I don't want it to be a burden.

On 8/13/07, Danny Lieberman [EMAIL PROTECTED] wrote:

 Kfir

 What exactly are you trying to achieve by encrypting email - are you
 trying to encrypt business communications between employees and
 vendors/customers to protect from eavesdroppers or do you want to encrypt
 the message repository and protect it from attackers?

 Before you start applying encryption as a panacea do a little threat
 analysis first.  Ask yourself - what assets are you trying to protect, what
 are the threats and what are your vulnerabilities.

 My experience with extrusion prevention with a fair number of customers
 has shown the following:

 a. It's  better to use outgoing email in clear text because 1) you can
 monitor what people are doing  and 2) having  a business partner
 decrypt/encrypt is generally a pain in the ass that is greater than the
 value of the business transaction.


 b. If you have high-value business communications between your company and
 vendors - you are better off just encrypting  the file (for example a
 sensitive contract or product design doc) and sending  the encrypted
 attachment.  This will enable you to monitor who is sending and who is
 receiving and with the right monitoring system - you will be able to detect
 that an encrypted file was sent which is interesting information in it's own
 right.

 Read my blog entry on this topic
 http://www.software.co.il/blog/2007/06/secure_communications_without_1.html

 Best regards
 Danny


 On 8/10/07, Kfir Lavi [EMAIL PROTECTED] wrote:
 
  Danny,
  Google apps is exactly what I'm trying to avoid :-)
  What did you mean by You don't want to get involved in encrypted mail
  on your lonesome.?
 
  On 8/10/07, Danny Lieberman [EMAIL PROTECTED] wrote:
  
   Kfir
  
   The best bet for you is Google Applications - surf to www.google.com/a
  
   You don't want to get involved in encrypted mail on your lonesome.
  
   danny
  
   On 8/9/07, Kfir Lavi [EMAIL PROTECTED] wrote:
   
Hi,
I would like to keep company emails secure and encrypted.
I'm looking for a webmail program that is similar to Gmail. It don't
have to own all the stuff, just to be productive.
I would also want encryption. I want all the emails be encrypted
automatically.
What is the procedure for a user? should he take with him a usb
private key?
I'm looking for your comments on the idea.
   
Tnx,
Kfir
   
  
  
  
   --
   Danny Lieberman
   Reduce risk with practical threat analysis- visit us at
   www.ptatechnologies.com
   All things being equal, the simplest solution tends to be the best
   one. Occam's razor
  
   
   www.software.co.il/blog   - Israeli software, music and mountain
   biking
   www.software.co.il/pta - Download a free copy of the PTA-Practical
   threat analysis tool
  
   
   Tel Aviv   + 972  3 610-9750
   US + 1-301-841-7122
   Cell + 972 54 447-1114
 
 
 


 --
 Danny Lieberman
 Reduce risk with practical threat analysis- visit us at
 www.ptatechnologies.com
 All things being equal, the simplest solution tends to be the best
 one. Occam's razor

 
 www.software.co.il/blog  - Israeli software, music and mountain biking
 www.software.co.il/pta - Download a free copy of the PTA-Practical
 threat analysis tool

 
 Tel Aviv   + 972  3 610-9750
 US + 1-301-841-7122
 Cell + 972 54 447-1114



Re: Webmail like Gmail + encryption

2007-08-10 Thread Kfir Lavi
Danny,
Google apps is exactly what I'm trying to avoid :-)
What did you mean by You don't want to get involved in encrypted mail on
your lonesome.?

On 8/10/07, Danny Lieberman [EMAIL PROTECTED] wrote:

 Kfir

 The best bet for you is Google Applications - surf to www.google.com/a

 You don't want to get involved in encrypted mail on your lonesome.

 danny

 On 8/9/07, Kfir Lavi [EMAIL PROTECTED] wrote:
 
  Hi,
  I would like to keep company emails secure and encrypted.
  I'm looking for a webmail program that is similar to Gmail. It don't
  have to own all the stuff, just to be productive.
  I would also want encryption. I want all the emails be encrypted
  automatically.
  What is the procedure for a user? should he take with him a usb private
  key?
  I'm looking for your comments on the idea.
 
  Tnx,
  Kfir
 



 --
 Danny Lieberman
 Reduce risk with practical threat analysis- visit us at
 www.ptatechnologies.com
 All things being equal, the simplest solution tends to be the best
 one. Occam's razor

 
 www.software.co.il/blog  - Israeli software, music and mountain biking
 www.software.co.il/pta - Download a free copy of the PTA-Practical
 threat analysis tool

 
 Tel Aviv   + 972  3 610-9750
 US + 1-301-841-7122
 Cell + 972 54 447-1114


Webmail like Gmail + encryption

2007-08-09 Thread Kfir Lavi
Hi,
I would like to keep company emails secure and encrypted.
I'm looking for a webmail program that is similar to Gmail. It don't have to
own all the stuff, just to be productive.
I would also want encryption. I want all the emails be encrypted
automatically.
What is the procedure for a user? should he take with him a usb private key?
I'm looking for your comments on the idea.

Tnx,
Kfir


Re: samba problems

2007-07-25 Thread Kfir Lavi

I looked at the man of mount.
Here is a section that might help:
  Since Linux 2.4.0 it is possible to remount part of the file  hierarchy
  somewhere else. The call is
 mount --bind olddir newdir
  After this call the same contents is accessible in two places.  One can
  also remount a single file (on a single file).

  This call attaches only (part of) a  single  filesystem,  not  possible
  submounts.  The entire file hierarchy including submounts is attached a
  second place using
 mount --rbind olddir newdir

I don't understand this --rbind but maybe it can help mount the
directory you need after the initial mount of the root dir.

On 7/25/07, Jason Friedman [EMAIL PROTECTED] wrote:

Hi all,

 I am having trouble with smbmount.

 I am able to access a directory using smbclient. The root directory of the
share I am connecting to does not allow its directory to be listed. I don't
have control of the server. The directory that I want is a sub-sub
directory.

 so I do something like this:

 smbclient //servername/share -U username

 and then cd /some/deep/directory

 and I can see my files.

 I want to replicate this with smbmount:

 smbmount //servername/share /mnt/mountpoint -o username=username

 It does connect, but I cannot list the directory, nor change to my
directory.

 any ideas?

 Thanks,

 Jason

--
Jason Friedman
Postdoctoral researcher
Pennsylvania State University


=
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: Windows Subversion client?

2007-07-10 Thread Kfir Lavi

Hi,
Before you start moving, check other version control systems:
http://www.gnu.org/software/gnu-arch/
http://git.or.cz/

To convert all the Wz users you can use http://trac.edgewall.org/.
This is integrated wiki and version control system. Try it before you
do anything and then make a presentation to the developers and
introduce them to the new web wiki-project-version environment.
Then see what they say ;)

Kfir

On 7/10/07, Amos Shapira [EMAIL PROTECTED] wrote:

Hello,

I'm trying to convince the windows programmers at my workplace to adopt
SubVersion instead of Source(Un)Safe (which they already hate anyway) but
the best Windows GUI client is TortoiseSVN which the programmer doesn't like
because it relays on Windows Exploder which can get stuck for minutes
sometimes.

Another client I'm a bit familiar with is Eclipse (which was the best CVS
client I've seen) but it's Java and is going to be heavy on a laptop with
VisualStudio already running on it.

Using the command line tools looks very unatractive to them.

Can anyone recommend any other useful clients (preferably Free/OSS)?

Thanks,

--Amos




=
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: irc client

2006-10-03 Thread Kfir Lavi

Try www.irssi.org

On 10/3/06, Erez D [EMAIL PROTECTED] wrote:

hi

i'm looking for an irc client to install on my linux box (rhel 4.4 x86_64)

i found rpms of both ircII and bitchX, which was very old
i even tried to rpmbuild the from src-rpm, but had failed

any idea ?
just need a text base irc client  !


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]



Israel map site that work with firefox?

2006-07-25 Thread Kfir Lavi

Hi,
I have problems viewing map sites in Israel like www.emap.co.il.
Is there a map site that works well with firefox?

Tnx
Kfir

=
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 samba, console and konqueror

2006-05-11 Thread Kfir Lavi

mkisofs known how to convert them to UTF-16 from yourcurrent locale, I
believe. Try simply using mkisofs -r -J -quiet


Well I have managed to move my files to UTF-8.
Then I did:
mkisofs -o file.iso -R -J /hebrew/files/dir
Then burnt it.
Loading it in windows, I see Gibrish.
It seems that mkisofs didn't convert the file names from UTF-8 to UTF-16 good.

Kfir


Re: Hebrew samba, console and konqueror

2006-05-10 Thread Kfir Lavi

On 5/9/06, Tzafrir Cohen [EMAIL PROTECTED] wrote:

On Tue, May 09, 2006 at 07:06:50PM +0200, Kfir Lavi wrote:
 Hi,
 I want to open rar archive that has files in Hebrew (copied from windows).
 I set my konsole to 'unicode_start' and 'export LANG=he_IL'.

is he_IL UTF-8?

Yes, by default in gentoo it will use UTF-8


 Opening the archive, I can see at the console the names of the files in
 Hebrew.
 The problem is when I try to see the files from konqueror.
 How can I see the files in konqueror? Should I convert them to another
 encoding?

 Is there a way to know what is the encoding of the files, and then
 convert them to utf8? (Tried with 'tr' but there is a problem with the
 size of one char encoding. Also used 'ls -Q'  and 'od' to see the
 actual bytes).

You can script the process using something of the sort of:

mv $filename `echo $filename| iconv -f cp1255`

I recall someone mentioned in the list an existing script that does exactly that
converion.


 I also want to burn the files on a cd that windows users can see.
 So what encoding should I use when preparing the ISO image?


mkisofs known how to convert them to UTF-16 from yourcurrent locale, I
believe. Try simply using mkisofs -r -J -quiet

Is UTF-16 is the encoding for windows?


-- Tzafrir



Hebrew samba, console and konqueror

2006-05-09 Thread Kfir Lavi

Hi,
I want to open rar archive that has files in Hebrew (copied from windows).
I set my konsole to 'unicode_start' and 'export LANG=he_IL'.
Opening the archive, I can see at the console the names of the files in Hebrew.
The problem is when I try to see the files from konqueror.
How can I see the files in konqueror? Should I convert them to another encoding?

Is there a way to know what is the encoding of the files, and then
convert them to utf8? (Tried with 'tr' but there is a problem with the
size of one char encoding. Also used 'ls -Q'  and 'od' to see the
actual bytes).

I also want to burn the files on a cd that windows users can see.
So what encoding should I use when preparing the ISO image?


Thanks,
Kfir


Re: DD and split problem (need ideas)....

2006-05-02 Thread Kfir Lavi

Here are some backup programs: (list)
http://www.thefreecountry.com/utilities/backupandimage.shtml
http://www.linuxsoft.cz/en/sw_list.php?id_kategory=89



On 5/2/06, gili gili [EMAIL PROTECTED] wrote:

Hi list…

I need to backup and restore a server. I decided to make an image using dd
and gzip\bzip.
The problem is that the file is too big to fit into a DVD so I need to split
it.
I restore the server using linux live CD.
I know I can use split command. But the restore is problematic…
cat backup.img.gz.* | gzip -dc | dd of=/dev/hda1
But if I change the DVD to the one that have the new image, cat will lose
count…

I need an idea …
10X,
Gili



=
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: Actcom without a dailer costs more

2005-09-21 Thread Kfir Lavi
Hi,
I had the same problem, but not with the money issue.
When i upgraded my Internet line, they automatically moved me to dialer.
All my body was shaking from anger ;) I called them and fought for my right to continue with DHCP. I finally got it, but a bitter taste still floating in my mouth.
I have lot of respect for Actcom, because at the beginning they supported Linux, but now they don't support, and you need to have luck, in order to find someone there that understand Linux.
I understand that Actcom is in a very tight market and a very aggressive price war, so i guess they have hard time and we as customers feel it.
I really don't understand why the have to monitor my activity?!
When there will be a law for it, i will understand, but now most of Actcom's clients want to use DHCP, so let them be. We can raise the power of Actcom, but i see them going direct to the opposite way. 

On 9/21/05, Ido Kanner [EMAIL PROTECTED] wrote:
Hi list,Recently I updated my 4 years old account in Actcom (this is my 4th year).After watching the price of the account in my office, I found out that I pay a
lot more for a lot less. That is I pay 760 NIS for 750 without a dialer, whileat work we pay a lot less for a faster connection.BTW I was told that if I'll move to a dialer, it will cost me 200 NIS less !!!
After a long talk with the finance, I found out that the reason for that isthat I do not use a dailer, and the CO of Actcom decided that users without adialer should pay more, alto as most of you know, the infurstracture and the
technical stuff for Radius and other servers that are working in the backgroundrequires a lot more work (not to mention the support team that need to handlevery stupid issues such as passowrd lost, incurrect login issues etc) ...
The finance person also mentioned that I need to pay more, because a dialergives them (Actcom) the ability to monitor connections. But on LAN (you all knowthat cables connection is a LAN) you can monitor activities as well, and not to
mention that a dialer and the rest of the servers that you pass along the waymakes the connection slower.Now don't get me wrong, I really like Actcom, and the fact that they support ourcommunity is a hugh Plus for me, and thats even before I mention their very good
tech and Linux support etc..But I do not wish to have a dialer, And I do not like the fact that the usershould handle PPP connections for such thing. ADSL btw also does not reallyrequires user intervention (L2TP is the protocol that ADSL talks, and
theoretically the ADSL router should make the converting between Ethernet andADSL on it's own).BTW If they will not give a better price, I don't think that I will continueworking with them next year ...
What do you think ?Ido=To unsubscribe, send mail to [EMAIL PROTECTED]
 withthe word unsubscribe in the message body, e.g., run the commandecho unsubscribe | mail [EMAIL PROTECTED]



Re: Converting text from ISO-8859-8-I

2005-07-24 Thread Kfir Lavi
I played in the past with mplayer and hebrew subs, and i found that
mplayer has fribidi support.
snip man mplayer
   -flip-hebrew (FriBiDi only)
  Turns on flipping subtitles using FriBiDi.

   -noflip-hebrew-commas
  Change  FriBiDi's  assumptions  about the placements of commas in
  subtitles.  Use this if commas in  subtitles  are  shown  at  the
  start of a sentence instead of at the end.

   -fribidi-charset charset name (FriBiDi only)
  Specifies the character set that will be passed to  FriBiDi  when
  decoding non-UTF-8 subtitles (default: ISO8859-8).
/snip man mplayer

On 7/23/05, Lior Kesos [EMAIL PROTECTED] wrote:
 In the process of toying around with my new addition to the family -
 an OSX powered g4 ibook I tried to convert a subtitles file encoded in
 iso-8859-8-i to a readable  format.
 When I run icon -l I have a list of encodings but do not have the -I .
 I tried to do the  conversion on linux but still it apppears that I
 only have 8859-8.
 When I see the movie through mplayer I see the subs written with each
 word in hebrew but having the RTL mixed up.
 What can I do to take a -I encoded text and convert it to normal
 8859-8 or simpply to re RTL the words... and is the only difference
 between 8 and 8-I the direction of the words?
 
 --
 Peace Love and Penguins -
 Lior Kesos
 
 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: a tool for creating PNG files

2005-07-12 Thread Kfir Lavi
Dia is a tool for flowcharts that can save the drawings in png format.
http://www.gnome.org/projects/dia/

On 7/12/05, Amir Binyamini [EMAIL PROTECTED] wrote:
 Hi,
 
 I am looking for a tool for creating PNG files on Linux.
 
 My target is to create a simple diagam/flowchart  file in PNG  format, which
 mostly will use rectangles , arrows,lines,
 text inside the rectangles, and circles; I am not  embedding an  image files
 inside that PNG.
 
   The platforms I am working on are :
 preferably RH9 ; and Fedora 4 as a second alternative.
 
 I do not want to create JPEG/gif  and convert it.
 
 I saw there is a tool named inkscape which seems a good candidate for such
 a task.
 http://inkscape.sourceforge.net
 Does anyone have some experience with it?
 
 GIMP seems to heavy for that task.
 
 Does anybody have some experience and recommend a tool for this job?
 
 Regards,
 Amir
 
 _
 Express yourself instantly with MSN Messenger! Download today it's FREE!
 http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
 
 
 =
 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 request

2005-05-17 Thread Kfir Lavi
Hey ppl,
I'm looking for a developer possition in Linux RT/Embedded environment.

Thanks, 
Kfir Lavi

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



can someone tell me please why unsubscribing to the list

2005-05-15 Thread Kfir Lavi
keeping sending me emails of the list?

Thanks,
Kfir

=
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: Moving to Linux

2005-05-09 Thread Kfir Lavi
On Sunday 08 May 2005 15:40, you wrote:
 Hello,

   I tried to convince somebody I know to move to Linux at home and
   at work. I am myself an advocate user of Linux at work and at home.

   He works with a XP at work (a hightech company; however , he is
   not a programmer) ,and also XP at home.

If he is not a programmer, i guess that he have some DOC files to work with.
Did you tried to work with ppl that have Word and you have OpenOffice? It can 
do some trouble.
If he will move to linux and find that his best website don't work. You had 
it! 
I don't think that you can move desktop XP ppl to linux, they will eat you 
alive. 
When listing the main advantages of Linux , the most important one
 I had thought of was security ; when you access the internet from a Linux
 machine, chances that you get a virus or spyware or someone will intrude
 your machine are smaller ; He answered that , when thinking in the long
 term (2-3 years) , as more people will use linux as a desktop,
 this can be easiy changed; moreover, he claimed that since Linux is an open
 source,
 maybe it is even easier to develop viruses/spyware to it. In this point
 I did not know what to answer him. I am not a
 security expert; it could be that he is right in this point.

Ppl that look at me when i work on my laptop, start to lough. They don't 
understand what i'm writing so much ;) And i just type shell commands.
So i use linux for its shell and programing ease.
I recently went to my cusins, they are 13. I have opened the start menu, and 
all the 19'' disply was the start menu with like 100 games.
Now tell me, how can i move this babies to linux? What should i give them - 
TUX racer ;)
Linux is now OS for ppl that need its advantages, and for the office and home 
use, XP takes Linux hands down. Not in security, not in shell, not in bla bla 
bla. Ppl just know XP, and all the scurity issues... what is security? ;)
If i don't know, i don't care. 
Also, if he has problem, can you help him by phone? Did you try to explein 
someone to vi a file and edit it? I tried it with my sister, when the network 
was down, and belive me
 Other Linux benefits that I thought of is that since Linux is open source,
 all applications he will probably need are handy for download; in winodws
 you cannot download office 

 He argued that migrating to Linux will takes time because you need to learn
 many new things; The security solution of XP (the XP firewall) and
 the free antispyware sw are enough for him; And he isn't convinced
 that it is worth to inverst time in migating to Linux.

 Are there other Linux benefits which I can pose for moving to Linux ?
 (except the idea of moving to open and free source).


 Dan Kaspi

If Linux wants to be No.1, it should apeel to the games companies, and make 
them program games just for linux, then children will want linux, and we'll 
have the next generation. And this is the most important step to the future 
of linux - the children ;)

kfir

=
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: weirdest problem ticket opened today.

2005-04-19 Thread Kfir Lavi
About a year ago, i wanted to build music server in my house, and the hardware 
i had was p100 that had some rust on it ;)
Ok, started checking it, and saw that the floppy controller don't work, thus i 
can't boot from cdrom either because it was a very old bios.
Went to the manufacture web site, uploaded the firmware and installed it, 
and...
black screen ;)
Opened my p100 router and did hot swapping of the bios chip, then burned the 
old firmware back to the eeprom. 
Now how can i boot? Called friends from work and drove there to take pxe boot 
enabled network card. installed tftp server on the router and booted. hehe.
the machine was installed and running ;)
I returned the network card to work.
2 month later, i'm brousing the hard drive and wanted to clear some space.
Well, its 200GB so i left some partitions to try more distros and stuff, so i 
thoght what the heck, i'll mount one and check if its empty.
Mounted and i see my / . I remember that i allways save partition that i 
installed and install again on another partition, so i guessed that its 
past install. Quickly did 'rm -Rf /mnt/my_old_partition', and hey
Something strange happening ;) no ls, no cd..
Scratching my head if finally got it ;)

kfir


pgpYx8XFHpUCA.pgp
Description: PGP signature


kopete send problem

2005-04-19 Thread Kfir Lavi
Hi,
i have something strange:
every minute or two i get a message from kopete that it tries to send a 
message to me (to my icq number) and it can't do it because i'm not 
connected.
Maybe i have fiddled with it a bit and tried to send myself a message, and 
this what cause the problem.
I have tried to find this message that want to be send, but i couldn't find 
it.
Tried grep on the .kde/apps/kopete with the icq number, but just the logs 
appeared.

Where kopete save this message before sending so i could delete it.

tnx
kfir


pgp5Rk4f4qudr.pgp
Description: PGP signature


  1   2   3   >