Memory leak question

2008-04-21 Thread Oded Arbel
Hi List


One of my servers is acting very strangely memory wise - it has 4GB of
memory and it is always full, and I don't mean in the not a lot of free
memory kind of full, but in the application memory takes more then
3GB kind of full.

I ran a simple script to compare how many resident memory PS reports
compared to what free reports is being used for stuff other then cache
and buffers, and I got these interesting results:

This is a normal which is very loaded and by right - it has a java
application which is set to 2GB heap and uses it just fine:

# ps auwx | perl -nle 'split/\s+/; $sum += $_[5]; END { print sum:
$sum; }'; free
sum: 3158192
 total   used   free sharedbuffers
cached
Mem:   40634124029396  34016  0  20016
360368
-/+ buffers/cache:3649012 414400
Swap:  4194296 3541883840108

So we can see PS reports 3.1GB is used by applications and free reports
3.6GB of used memory (except buffers and cache). so I'm missing about
half a gig, but I don't mind that much.

Here is the broken server:

# ps auwx | perl -nle 'split/\s+/; $sum += $_[5]; END { print sum:
$sum; }'; free
sum: 1367356
 total   used   free sharedbuffers
cached
Mem:   40634124038212  25200  0  35604
726268
-/+ buffers/cache:3276340 787072
Swap:  4194296 6565083537788

which is mind boggling - there's a 2GB difference, about half my total
amount of memory! Where did all my memory gone too ?

Now that server is also constantly spends tons of time in kswapd and on
IO - thrashing if you want and I'm not sure if its a symptom or the
cause.

Do note that both are production servers and I can't really restart them
or anything, even taking down services is a long and annoying process.

Please throw your two cents my way, thanks.



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



Re: official way to load wifi in Red Hat/Fedora?

2008-04-21 Thread Oded Arbel
On Tue, 2008-04-22 at 00:31 +0300, Hetz Ben Hamo wrote:
 And from the NetworkManager pages:
 Security must be implemented in each network. NetworkManager
 currently supports WEP encrypted networks, and support for WPA
 encryption is planned in the near future. - I am using WPA right
 now..

That documentation is highly out dated. NetworkManager is doing WPA for
a long time now (I've been using it more then a year and it had
supported WPA all along). 

NetworkManager is actually a service that your distro should run in its
SysV boot sequence (or whatever they use to boot), and then it has a
user application (nm-applet for gnome, knetworkmanager for KDE) that is
running in each user's session that offers an interface for the user to
select networks and input configuration and security details - and the
application talks with the service over dbus so you'd need the
message-bus service to also work.

Any recent Fedora (7 and above I think) should have that configuration
by default.

--
Oded


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



Re: Memory leak question

2008-04-21 Thread Oded Arbel
On Tue, 2008-04-22 at 00:38 +0300, Oded Arbel wrote:
 Hi List
 
 
 One of my servers is acting very strangely memory wise - it has 4GB of
 memory and it is always full, and I don't mean in the not a lot of free
 memory kind of full, but in the application memory takes more then
 3GB kind of full.
 
 I ran a simple script to compare how many resident memory PS reports
 compared to what free reports is being used for stuff other then cache
 and buffers, and I got these interesting results:
 
 This is a normal which is very loaded and by right - it has a java
 application which is set to 2GB heap and uses it just fine:
 
 # ps auwx | perl -nle 'split/\s+/; $sum += $_[5]; END { print sum:
 $sum; }'; free
 sum: 3158192
  total   used   free sharedbuffers
 cached
 Mem:   40634124029396  34016  0  20016
 360368
 -/+ buffers/cache:3649012 414400
 Swap:  4194296 3541883840108
 
 So we can see PS reports 3.1GB is used by applications and free reports
 3.6GB of used memory (except buffers and cache). so I'm missing about
 half a gig, but I don't mind that much.
 
 Here is the broken server:
 
 # ps auwx | perl -nle 'split/\s+/; $sum += $_[5]; END { print sum:
 $sum; }'; free
 sum: 1367356
  total   used   free sharedbuffers
 cached
 Mem:   40634124038212  25200  0  35604
 726268
 -/+ buffers/cache:3276340 787072
 Swap:  4194296 6565083537788
 
 which is mind boggling - there's a 2GB difference, about half my total
 amount of memory! Where did all my memory gone too ?
 
 Now that server is also constantly spends tons of time in kswapd and on
 IO - thrashing if you want and I'm not sure if its a symptom or the
 cause.
 
 Do note that both are production servers and I can't really restart them
 or anything, even taking down services is a long and annoying process.

I just noticed something else - both servers are running MySQL, and I'm
using htop (instead of top) to look at processes. Now in the good
server htop lists MySQL memory share as 8.5% and the numbers are
VIRT=615M and RES=329M , while in the bad server htop list MySQL as
using  VIRT=1364M and RES=409M but lists it as only 3.8% of memory ?!?
both servers carry the same 4GB of physical memory and 4GB swap.

--
Oded


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



Why can't I connect to a local service ?

2008-04-14 Thread Oded Arbel
I have a really weird problem - maybe it was always like that or it only
happened since I upgraded, I'm not sure - 

I have a CentOS 5.1 box and for some weird reason I can't connect using
TCP to a server running on the same machine, either through localhost or
through the eth0 IP address. Connections from outside work great and the
httpd is happily serving users across the network.

When I try to connect, even something simple such as
telnet localhost 80
I get a timeout:
# strace -f telnet localhost 80
 ...
connect(3, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr(127.0.0.1)}, 16) = -1 ETIMEDOUT (Connection timed
out)
write(2, telnet: connect to address 127.0..., 59) = 59
close(3)= 0
write(2, telnet: Unable to connect to rem..., 63

/etc/hosts.deny was the immediate suspect, but its empty. IPTables was
on, but is set to always allow lo (and port 80 among others) and
turning it off didn't help. So what can I check next ?

Thanks in advance

-- 
Oded



Re: Downloading flash video from reshet.tv

2008-04-14 Thread Oded Arbel

On Thu, 2008-04-10 at 16:08 +0300, Gilboa Davara wrote:

 On Wed, 2008-04-09 at 12:40 +0300, Ira Abramov wrote:
  can't remember what streaming technology it was, but way back I managed
  to capture and save to the disk the UDP broadcasts of Galatz using
  mplayer.
  
  Find yourself a pre-compiled mplayer with all the borowed dlls from
  windows and you may be in luck.
  
 
 xine/gstreamer-plugin-bad and xine/gstreamer-plugin-bad both play (and
 dump) Galey-Zahal, Galgalataz and Reshet Bet streaming radio just
 fine.

The streaming MS server used by the a lot of israel radio and TV
internet broadcasts is using a proprietary protocol called MMS, and can
be captured using mimms (short for MiMMS isn't an MMS Message Sender)
which dumps the stream to a file as fast as it can get it without
needing to actually play it (unlike mplayer -dump). 


 In my experience, the same configuration (xine/mplayer + gstreamer)
 cannot be used to play Reshet streaming videos.

Reshet's video machine is using a standard flash video service (which
was quite surprise to me, as castup normally don't support technologies
that can work outside the MS stack). I can't tell you how to find the
FLVs url for them without playing it with a browser and Adobe Flash, but
once you do that you can use firebug's network monitor to see the FLV
urls, or use wireshark to scan the network traffic for them - for
example the following tshark [1] based script will dump the URLs for the
castup FLVs you are watching to the console, ripe for easy picking by
wget or something :-)

sudo tshark -V -R http.request | perl -nle 'm|GET (\S+.flv)| and $uri=
$1; m|Host:\s+(\S+dl\.castup[^\\]+)| and print http://; . $1 . $uri;'

[1] tshark or tethereal is the command line version of the GUI
application. It does about the same and lets you use it in scripts. very
handy.

--
Oded


Re: Why can't I connect to a local service ?

2008-04-14 Thread Oded Arbel
[top posting for a bit, sorry]

httpd is listening on all interfaces (default configuration: Listen *),
and is serving outside requests just fine. Other services have the same
problem - I just used httpd as an example - Specifically I want a local
LDAP server to work, and I can't connect to it, and MySQL only works
using unix sockets - TCP fails the same way.


On Tue, 2008-04-15 at 01:14 -0400, Michael Tewner wrote:
 ...or perhaps, I should read your entire email before replying...
 
 netstat -an | grep LISTENING shows that the service is listening on 
 0.0.0.0:80 ?
 


On Tue, 2008-04-15 at 08:12 +0300, Lior Kaplan wrote:
 Maybe it's only listening on the external address ?
 
 Try netstat -an --tcp |grep LISTEN
 


On Tue, Apr 15, 2008 at 07:30:18AM +0300, Oded Arbel wrote:
 
  I have a CentOS 5.1 box and for some weird reason I can't connect 
  using
  TCP to a server running on the same machine, either through localhost 
  or
  through the eth0 IP address. Connections from outside work great and 
  the
  httpd is happily serving users across the network.
 
  When I try to connect, even something simple such as
  telnet localhost 80
  I get a timeout:
  # strace -f telnet localhost 80
   ...
  connect(3, {sa_family=AF_INET, sin_port=htons(80),
  sin_addr=inet_addr(127.0.0.1)}, 16) = -1 ETIMEDOUT (Connection timed
  out)
  write(2, telnet: connect to address 127.0..., 59) = 59
  close(3)= 0
  write(2, telnet: Unable to connect to rem..., 63
 
  /etc/hosts.deny was the immediate suspect, but its empty. IPTables was
  on, but is set to always allow lo (and port 80 among others) and
  turning it off didn't help. So what can I check next ?



=
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: Centralized Linux Authentication With CentOS

2008-03-12 Thread Oded Arbel

On Mon, 2008-03-10 at 11:47 +0200, Tom Rosenfeld wrote:
 What ldap access tools do you recommend?
 I have been using ldap-account-manager and webmin with mixed results.

I've used EOSAdmin on and off and its good at least for the occasional
maintenance jobs. For day-to-day stuff I used custom scripts (adduser,
etc') but now that I'm eDirectory bound I use the eDirectory tools which
are excellent.

-- 

Oded


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



Samba success story [Was: AD Integration/Replacement?]

2008-03-06 Thread Oded Arbel
Sorry for raising an old thread (I'm going over my mailing list boxes),
but I wanted to share a very much related success story with you.

I'm managing a small network (around 20 workstations and 10 servers)
which uses a central authentication against a Linux server. Windows
workstations are authenticating against and using roaming profiles from
a standard Samba 3 installation with an LDAP backend and Linux
workstations and servers authenticate directly through LDAP. 

Setting it up is not difficult. At first I had an opepldap backend and
then it was changed for a Novell eDirectory server, but the setup is
fairly similar and not hard to do. Even better, the LDAP server is SuSE
Linux Enterprise Server 10 which comes with openldap/samba configuration
as a PDC out of the box, so almost no tweaking is actually needed.

If anyone is interested in more details, email me in private.

On Tue, 2008-02-05 at 11:01 +0200, Tom Rosenfeld wrote:
 2008/2/3 Ira Abramov [EMAIL PROTECTED]:
 A(nother) client of mine is fighting the old fight of central
 directory
 management. 
 
 Hi Ira,
 Let us know what you did.
 I have a similar situation and am looking for a proven setup

-- 

Oded


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



Re: Yum - installing 32 bit binaries on 64 bit CentOS

2008-01-29 Thread Oded Arbel
Specifically for Firefox 32bit plugins, another option is to install
nspluginwrapper
(http://gwenole.beauchesne.info/projects/nspluginwrapper/ ) that allows
running 32 bit plugins under Firefox 64 bit. Its probably not available
for CentOS4 (I haven't even bothered to check), but there is a source
RPM from the site above that you can use.

For other 32 bit software, CentOS does not package all 32 bit packages
for x86_64 - only the really important stuff (do they offer
mplayerplug-in in their 32bit repositories ? I'm not sure), but you can
always add another repository that points directly to the 32 bit
release:

Go to /etc/yum.repos.d
locate the CentOS repository file (probably called centos.repo or
something)
copy it to another file, let's call it centos-i386.repo
open the new file for editing and replace every instance of $arch with
i386. 
save and enjoy.

On Tue, 2008-01-29 at 12:00 +0200, Tom Rosenfeld wrote:
 You guys have been so helpful, here is another yummy question. :-)
 
 I am running CentOS 4 64 bit, but sometimes i need to install 32 bit
 binaries.
 For example firefox, so that plugins work.
 
 Sometimes when I append .386 in my yum install commands it works and
 finds the 32 bit version.
 However, often it does not. For example:
yum install  mplayerplug-in.i386
 replies 
No Match for argument: mplayerplug-in.i386
 However we all know that mplayerplug-in.i386 does exist, but only in
 32 bit repositories. Yum replaces $arch with x86_64 even when I
 explicitly ask for .i386.
 
 Any suggestions on how to get around this?
 
 Thanks,
 -- 
 -tom
 054-244-8025
-- 

Oded


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



Re: Yum cache for a cluster of clients

2008-01-29 Thread Oded Arbel
Going a bit off the deep end, here's another suggestion:

There are other software update managers besides yum in the world, and
at this point I want to talk about URPMI - the Mandrive update manager.
URPMI can be installed on other operating systems then Mandrive and I've
had success using it on CentOS 4 and some Fedora Core (can't remember).
URPMI had a few interesting features that do not exist (or are hard to
duplicate) in the competitors, one which is relevant to this discussion
is the remote update capability:
With URPMI installed on all the target machines, you need to only
configure installation sources on one machine and push updates remotely
from this machine to all the others. One way that I've used it is to
have a local machine in the office that is easy to access and has the
correct repositories configured, and whenever you need to push updates
(lets say - with a cron job) you use it to sync the other machines. If
you ever want to change your software repositories configuration - you
only change it in one location.

The main downside for this is that you can only use repositories that
support the URPMI metadata format. It is easy to set up a repository
that supports both YUM and URPMI, but in Tom's case if he's going to set
up a local CentOS repository then that is going to be a solution of its
own without the URPMI setup.


On Tue, 2008-01-29 at 08:26 +0200, Lior Okman wrote:
 My suggestion is to install a caching http proxy (e.g. squid) somewhere 
 on your network, and make yum go through it. As long as you all of your 
 CentOS hosts use the same mirror (and not a different mirror each time), 
 the caching http proxy will return files from its cache.
 
 
 IIRC, you need to change the yum.conf file to include the proxy 
 configuration option, and modify the repositories definition (in 
 /etc/yum.repos.d/)  so that the repositories use the baseurl setting, 
 instead of the mirrorlist setting.
 
 
 
 
 Lior
 
 
 Tom Rosenfeld wrote:
 
  Hi Guys,
  I assume there is a simple answer to this.
  How do I get all of my linux workstation (all running the same version 
  of CentOS 4) to use the same yum cache?
 
  Thanks,
  -tom
  054-244-8025 
 
 
 =
 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]

-- 

Oded


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



Text editor recommendation

2008-01-24 Thread Oded Arbel
Hi List.

My favorite console text editor is mcedit - I don't subscribe to the
vi/emacs debate. But occasionally I need to edit rather large files, and
mcedit borks at a few megabytes. When this happens I turn to vi (only
because its always available while emacs is a non-default installation
option - I really don't do the whole vi vs. emacs thing) and at several
dozens of megabytes when vi becomes problematic I find that nano
sometimes deliver.

But now I'm looking into text files several gigabytes in size, and every
attempt to open such files in any of the aforementioned options always
ends in me having to kill the process after it brings my (not state of
the art but still rather capable) computer to its knees.

Does such a beast indeed exists ? A text editor that can handle several
gigabytes worth of text (hopefully by not trying to load everything into
main memory) ? A console based editor would be preferable, but I don't
mind X. it doesn't have to be pretty or support funky text handling
commands - it just needs to work.

Thanks.

-- 

Oded


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



F/LOSS groupware replacement (again)

2008-01-08 Thread Oded Arbel
Hi list

I'm looking into implementing a groupware service (email, calendering,
collaboration etc') for a small office network. I've already checked out
the usual suspects (MS-Exchange and Novel Groupwise) and now I want a
competitive quote for a free software implementation.

I'm not looking into doing this myself - I want someone to offer me the
service of analyzing my needs and implementing it for me. Can anyone
recommend someone in Israel that does this (or offer to do it) ? I'd
prefer going with someone who is well backed and can show previous
success stories.

Thanks in advance.

-- 

Oded


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



Re: Using only left alt+left shift key combination as a shortcut for switching between hebrew and english - is it possible ?

2007-12-31 Thread Oded Arbel

On Mon, 2007-12-31 at 10:07 +0200, Hetz Ben Hamo wrote:
 I always skipped both GNOME and KDE's language keyboard binding and
 did it directly on xorg.conf:
 Option  XkbOptions grp:Alt_shift_toggle,grp_led:scroll
 This should let you toggle between hebrew and english with the left
 alt-shift. Don't forget first to disable the bindings that you already
 did in GNOME or else GNOME will overridden your xorg settings.

 On Dec 31, 2007 8:46 AM, Dan Shimshoni [EMAIL PROTECTED] wrote:
  The problem with this is that it changes languages also when Left Alt and 
  Right
  Shift are pressed !!

IIRC, GNOME/KDE keyboard setup does exactly just what you described for
xorg.conf, except it doesn't overwrite the xorg.conf file but instead
defines it at runtime (using xmodmap or something I think). The main
advantage of course is that if your computer is used by more then one
person each can have their own group settings. 

Regardless, alt_shift_toggle will indeed change group when using either
shift (and I think that either alt too - depends on your setting of
mod1), which is not what Dan was asking about.

According to this http://gentoo-wiki.com/HOWTO_X11_Keyboard there is no
setting for just left alt + left shift, though there is an option for
only left shift and it doesn't look like there are serious technical
issues preventing the support for left_alt_left_shift_toggle, so a bug
report here https://bugs.freedesktop.org/  would probably help.

On a side note - due to the issues Dan is complaining about (ALT+SHIFT
+something used as default key bindings for a lot of applications,
sometime without the ability to change them), I once tried using the
shift + caps lock toggle option but I couldn't get over the habit of
pressing alt-shift - muscle memory dies hard ;-)

-- 

Oded


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



Re: webmail client, NG?

2007-12-31 Thread Oded Arbel

On Mon, 2007-12-31 at 12:56 +0200, Ira Abramov wrote:
 Gmail is starting to annoy me and I'm contemplating folding back to rely
 on my own system only. I'm wondering if anyone knows of a better system
 than IMP4, maybe one that supports Hebrew better, and maybe has some of
 the cool AJAX gadgetry I'm used to from Gmail?

I don't like IMP4, though its definitely one of the best open source web
mail clients available. Currently I'm mostly using squirrel mail which
is old and nothing fancy but it works and what that it does - it does
well. 

I've tested roundcube web mail a lot, which is a very cool AJAX mail
interface, but it does not look like the development is going anywhere
(its been at version 0.1-rc2 {yes, an RC for a 0. release} for like
forever), and while its is very nice it is a bitch getting it to work -
at least without a MySQL database - and sometimes it just locks up and
refuses to behave.

If you're willing to pay for commercial software, and I think the fee is
reasonable, you might want to try @mail (atmail) which is one of the
coolest web mail interfaces I've seen to date. They have online demos
you can play with at their site, including using them to access your own
email box. 

-- 

Oded


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



Re: Cynical OT (was: webmail client, NG?)

2007-12-31 Thread Oded Arbel

On Mon, 2007-12-31 at 13:35 +0200, Shachar Shemesh wrote:
 No useful info in this email.

Depending on how you look at it - to paraphrase Thomas Edison: I haven't
failed, I found 3 things that do not work.

Aside, if you're not into the AJAX $h!t then squirrel mail is as good a
choice as any.

 Oded Arbel wrote:
  They have online demos
  you can play with at their site, including using them to access your own
  email box. 
 

 Oh, so they collect actual email passwords now :-) Must be the next 
 great thing.

Sorry if it wasn't clear from my email - I would not recommend anyone to
use said service to access important email. I have several throw away
email boxes for purposes like these, I assume most people have that.

-- 

Oded


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



Re: Find process id of background ssh?

2007-12-31 Thread Oded Arbel

On Mon, 2007-12-31 at 06:49 -0800, Valery Reznic wrote:
 Recently I was doing something entirely different and 
 was badly bitten by solution to this problem:
 
 Following code:
 
  Output=`something `
 
 Will not finished until program something is exited.
 shell in this case not used waitpid, but tried to read
 from the pipe, till something closed it's end.

 But if one want wait to the background process to
 finsish this can be solution.

Its interesting - I wasn't aware of this issue (never tried something
like this, but I think I would have understood what happens). The reason
its not a solution to my problem is that I want to background all the
processes before starting to wait on them - otherwise I wouldn't have
backgrounded them in the first place.

but... maybe...

function startSSH() {
host=$1
ssh [EMAIL PROTECTED] sleep 3; echo 'Done waiting in $host'
}

cmds=
for host in 1 2; do
cmds=$cmds ( startSSH ${host}  );
done
echo $(eval $cmds)  /dev/null
echo all done!

This would have worked nicely - if not for the fact that like solutions
based on getting the shell to background the ssh process, this one
doesn't take into account that users might need to type in passwords.

If I want to keep using bash then I need to use the (partial and race
condition prone) pgrep solution. But porting this script to a different
language, if I don't want to prompt the user for the passwords myself
and to creat the ssh tunnels myself progrematically, how would I go
about detecting the backgrounded ssh processes ?

-- 

Oded


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



Find process id of background ssh?

2007-12-26 Thread Oded Arbel

Hi List.

I'm writing a script to automate some system maintenance tasks, and I
want to connect over SSH to several remote computers and do stuff on
them. I'm using ssh -f to background ssh so I can run the same operation
on multiple machines in parallel, otherwise it will be too slow - the
maintenance job may take up to a few minutes to run and the script is
not supposed to be fully automatic: a human is to monitor the process.

But I don't want just to fire and forget the SSH processes - I want to
exit from the script only when all the SSH processes have completed. I
can do that by monitoring the process ids of the background SSH
processes, if I could know them - which I'm having a difficult time
detecting.

I'm writing in bash, and optimally it would be something like this:

for server in 1 2 ...; do 
ssh -f [EMAIL PROTECTED] 'run maintenance task'
pids=$pids $(getSSHpid)
done

while kill -0 $pids 2/dev/null; do echo Waiting..; sleep 1; done

but I didn't manage to find a way to get the process id of the ssh
process after it goes to background, other the 'ps'ing for it.

How can I go about doing this?

-- 

Oded


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



Re: Find process id of background ssh?

2007-12-26 Thread Oded Arbel

On Wed, 2007-12-26 at 15:24 +0200, Shachar Shemesh wrote:
 Oded Arbel wrote:
  I'm using ssh -f to background ssh so I can run the same operation
  on multiple machines in parallel

 
  for server in 1 2 ...; do 
  ssh -f [EMAIL PROTECTED] 'run maintenance task'
  pids=$pids $(getSSHpid)
  done
 
  while kill -0 $pids 2/dev/null; do echo Waiting..; sleep 1; done
 

 Havn't checked it, but:
 for server in 1 2 ...
 do
ssh [EMAIL PROTECTED] 'run maintenance task' 
 done
 
 should work.
 
 In particular, running ssh with -f means that it backgrounds itself, and 
 thus the shell does not keep track over its process number. On the other 
 hand, running with  (assuming you don't need to put in a password) 

The problem is that I might need to put in the passwords (users that
expect to run these tasks will probably exchange keys with the servers,
but other users should be able to put in passwords - I don't want to
control that). I should have mentioned that.

-- 

Oded


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



Re: Find process id of background ssh?

2007-12-26 Thread Oded Arbel

On Wed, 2007-12-26 at 16:02 +0200, Tom Rosenfeld wrote:
 I have not tested this extensively, but you could try:
   pgrep ssh |tail -1
 
 This will give you the PID of that last ssh process

they way I read it it will give me the PID of the ssh with the highest
process id, which may not be the last. pgrep -n ssh OTOH will give me
the pid of the most recently started ssh process which is what I need,
but it looks like there will be a race condition here.

Maybe I could filter on session id or process group id if I would
know how to set it.

-- 

Oded


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



Re: [YBA] NIS vs LDAP

2007-12-25 Thread Oded Arbel

On Tue, 2007-12-25 at 09:34 +0200, Jonathan Ben Avraham wrote:
 I am considering setting up a heterogenous work environment with about 
 100 high-end Linux work stations, 40 MS Windows, and 10 Mac's. The 
 underlying common authentication system will likely be LDAP. Would NIS or 
 Active Directories be more appropriate for this type of environment?

I don't have any experience with NIS so I can't really compare, but I
would wonder why ActiveDirectory is the only other option ?

In my office we have a setup using OpenLDAP and Samba to support Linux
and MS-Windows Workstations and it works great. From my experience the
downside of using the MS ActiveDirectory solution is that its difficult
to get the Linux workstations authenticating directly to the LDAP both
because the default ActiveDirectory schema does not provide the required
properties to support UNIX style authentication and authorization and
that in the ActiveDirectory LDAP protocol implementation there are
several bug^H^H^H non-conforming implementation details that sometimes
cause the openldap client to fail.

I've tried several OpenLDAP directory server products, and the most
success I had was with SuSE Linux Enterprise Server which works great
out of the box and you don't need to deal with the LDAP directory stuff
at all - the YaST user management feature works directly with the
directory and you don't need to actually know how to set it up.

-- 

Oded


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



Re: [YBA] NIS vs LDAP

2007-12-25 Thread Oded Arbel
On Tue, 2007-12-25 at 11:04 +0200, Noam Meltzer wrote:
 Speaking of LDAP management:
 I have had the best experience with this tool:
 http://muclm.sourceforge.net/
 
 Highly configurable, plug-in system, user-friendly, and installation
 takes 5 seconds. 

Not as feature complete, but I use a simple LDAP client for
administrating LDAP users called EDSAdmin. It is written in Python for
GNOME and its simple yet useful.

-- 

Oded


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



Evangelism - Evolution

2007-12-23 Thread Oded Arbel
Speaking about bugs, I would appreciate it if people who use GNOME's
Evolution to read mail would subscribe for bug 490241 in GNOME's
bugzilla (link below) which I'm trying to promote as a comprehensive
list of BiDi editing problems in Evolution.

As everyone who ever tried writing Hebrew email (and possibly Arabic
also) in Evolution knows, anything other then a few words is very
annoying to write as almost any kind of text editing you want to do is
messed up horribly in Evolution's mail composer. 

The ticket above received some notice as one of the developers assigned
the correct keyword to the ticket, but otherwise it got no attention
what so ever, and I would really like to promote BiDi awareness in
Evolution - as currently there is none. If you'd like to help the cause,
it easy - just register to GNOME bugzilla (standard procedure with email
confirmation) and CC yourself on this bug. If you'd like to comment with
your own horror stories go ahead, but please no me too comments - I
don't want to SPAM the developers, just get more awareness (I think that
the emails that get auto-CCed according to product and component do not
receive notification on adding/removing CCs).

Direct link to the bug report:
http://bugzilla.gnome.org/show_bug.cgi?id=490241

Thanks in advance.

-- 

Oded


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



Re: Evangelism - Evolution

2007-12-23 Thread Oded Arbel

On Sun, 2007-12-23 at 15:01 +0200, Gilboa Davara wrote:
 On Sun, 2007-12-23 at 14:32 +0200, Oded Arbel wrote:
  Speaking about bugs, I would appreciate it if people who use GNOME's
  Evolution to read mail would subscribe for bug 490241 in GNOME's
  bugzilla (link below) which I'm trying to promote as a comprehensive
  list of BiDi editing problems in Evolution.

 Just my 0.02, but you do know that a kitten dies every time someone
 posts a -long- multi-bug-report, right?

 I'd suggest you create a number --short-- bug-reports and close the
 original one. (Even if it seems that they all stem from a single bug)

Of course if a developer would comment on the bug to that effect I would
do that, but generally I think there are advantages to have a ticket
that tracks the state of some specific problem, even if it is later
divided into several different tickets each with its own fix - for
example see the infamous Mozilla MNG bug: is a good place to rally
support for an issue.

Do you think it's a better idea to have a ticket for BiDi problems in
Evolution that will be dependent on all BiDi related bugs? There are
several others besides said ticket, some even that other people have
reported ;).

-- 

Oded


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



Re: Processing time spent in IRQ handling and what to do about it

2007-12-20 Thread Oded Arbel

On Wed, 2007-12-19 at 09:58 +0200, Dotan Shavit wrote:
 On Tuesday 18 December 2007, Oded Arbel wrote:
  I can see that a lot of time is spent in the hard-IRQ region - sometimes
  more then all other regions together.
 
 Lets look for more hints...
 
 - Anything interesting in the logs (during boot and after) ? 
 - Lets plug out all the hardware you can: network , USB, disks...
 - rmmod all the modules you can.
 - Boot with a different kernel version.
 - Nothing yet? Lets play with the BIOS...

The logs do not show anything that I don't understand or that I can
relate to this problem, and none of the other options are possible as
this is a production machine.

On a duplicate machine that runs mysql replicated from the first, and
doesn't have any load, stopping the mysqld caused the load to fall to
almost 0. There were very few hardware interrupts after that (as evident
from /proc/interrupts) but there isn't any load so I don't know.

-- 

Oded


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



Re: Processing time spent in IRQ handling and what to do about it

2007-12-20 Thread Oded Arbel

On Wed, 2007-12-19 at 10:34 +0200, Aviv Greenberg wrote:
 Can you send an output of cat /proc/interrupts ? Is there any device
 sharing the IRQ line with the network interface?

On Tue, 2007-12-18 at 22:14 +0200, Oron Peled wrote: 
 6. Why guess?
   watch -n10 -d cat /proc/interrupts


/proc/interrupts looks like this:

  CPU0   CPU1   CPU2   CPU3
  0: 2818676796 3045096095 2597715597 3039460137   IO-APIC-edge timer
  1:  0  2  0  0   IO-APIC-edge i8042
  9:  0  0  0  0   IO-APIC-fasteoi acpi
 12:  0  1  1  2   IO-APIC-edge  i8042
 14:6144547  861135937042  85048   IO-APIC-edge  libata
 15:  0  0  0  0   IO-APIC-edge  libata
 16:  1  0  0  1   IO-APIC-fasteoi
uhci_hcd:usb1, ehci_hcd:usb6
 17:234 13197 11   IO-APIC-fasteoi
uhci_hcd:usb2
 18:  0  0  0  0   IO-APIC-fasteoi
uhci_hcd:usb3
 19:  0  0  0  0   IO-APIC-fasteoi
uhci_hcd:usb4
 22: 24 24 25 23   IO-APIC-fasteoi
uhci_hcd:usb5
2289:  426764360 12  153890890   25567190   PCI-MSI-edge eth1
2290:  184062475   14352363 1146094937   36605794   PCI-MSI-edge eth0
2292:  253368176   26799612  221976501   20082294   PCI-MSI-edge cciss0
NMI:  0  0  0  0
LOC: 2910906978 2910907454 2910906845 2910907935

I haven't calculated diffs exactly yet, but on first glance it looks
like eth0 interrupts are happening at about 150 a second while cciss0
interrupts are happening at about 20 per second. Also eth0 interrupts
happen almost exclusively on one CPI (currently 2 at the moment) and
cciss happen on two CPUs (0 and 2). I'm not sure what's up with CPU1 and
3 - is it possible that because these are the 2nd cores on each chip
that they don't get as many interrupts ? isn't 'irqbalance' supposed to
do something about it ?

-- 

Oded


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



Re: Linux memory monitoring compared to MS-Windows

2007-12-18 Thread Oded Arbel

On Tue, 2007-12-18 at 12:47 +0200, Ilya Konstantinov wrote:
 On Dec 18, 2007 2:36 AM, Oded Arbel [EMAIL PROTECTED] wrote:
 how much of that
 virtual memory the process actually tries to use but can't get
 it all in
 physical RAM because other processes are also hogging the
 memory. Does
 such a thing exist in Linux?
 
 To phrase it differently:
 In the last second (your question inherently calls for a measurement
 period to be specified), how many pages/megs of memory were touched by
 this process?

Yes, or at least that's how I understand it. I'm not sure about the time
frame as the MSDN documentation does not specify. I would expect it to
be much larger then a second - maybe a minute or a few.

-- 

Oded


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



Re: Linux memory monitoring compared to MS-Windows

2007-12-18 Thread Oded Arbel

On Tue, 2007-12-18 at 17:03 +0200, Gilad Ben-Yossef wrote:
 Oren Held wrote:
  There's something in your question I don't understand:
  If a process has 1gb in virtual memory, of which 500mb in physical,
  then this means that it has 500mb in swap. 
 
 No, that is not what it means.
 
 Virtual memory amount might be different then physical memory amount due 
 a whole bunch of different reason, swapping being just a single instance 
 and not even the common one.

 In short, please ask your question again using more exact terms so that 
 we understand what you want to ask.

I was using the 1.5GB process only as a (bad) example. If you really
want specifics, then said process has about 1.5GB under the virtual
column (which can indeed be a lot of different things other then just
real + swap, although interestingly this is exactly how 'man top'
defines VIRT), about 200MB under resident column, some 8MB under
shared, and 1.2GB under SWAP (according to top, not htop - I couldn't
get htop to list this). Now according to 'free' only 250MB of swap are
in actual use. The way I see it, 'top's SWAP is computed from virtual
- resident regardless of how much swap space the process actually uses
- so as Gilad said - talking about the virtual image size is next to
useless. 

Anyway, the original question wasn't really about that specific process
- I simply figured it as a good example. Obviously I was wrong, but
that's ok - I was expecting something like this :-)

The real question - as emphasized by all the comments I received - is:
can I know how much memory the process is accessing (within some time
period) specifically when its more then the total of pages actually held
in physical memory.
*accessing = reading to or writing from, not just having them assigned
to the process.

-- 

Oded


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



Re: Processing time spent in IRQ handling and what to do about it

2007-12-18 Thread Oded Arbel

On Tue, 2007-12-18 at 15:21 +0200, Dotan Shavit wrote:
  I don't think that swapping has anything to do with the IRQ behavior I'm
  seeing, 
 In that case, it probably is network related...
 Can you provide more details regarding this?
 
 Is the Apache server you mentioned located on the same machine?

Indeed.

 Are you connected to a private vlan (or seeing non relevant traffic)?

Its infrastructure I don't really have access to so I wouldn't know, but
I'm on a good switch (maybe with a vlan) and I don't see traffic that
isn't meant for me.

 Do you get this (a lot of time is spent in the hard-IRQ region) all the 
 time 
 or just when the server is accessed by it's clients?

I'm always seeing some traffic, so its hard to say if I wouldn't see
hard-IRQ when there aren't any clients. But interestingly enough a
second identical machine which is currently doing nothing except
maintaining a replica of the MySQL database on the first is also seeing
high hard-IRQ counts. A third completely different computer on a
different network with different work loads that also maintains a
replica of the first MySQL database is also seeing high IRQ usage.

 What is the difference between this machine and the other (I understand the 
 other machine works OK) ?

Hardware wise and OS wise - nothing. Software wise there are many
different things, but most prominently:
* it doesn't see the same kind of traffic (which I currently don't think
is the issue as the second server above doesn't see any traffic)
* It doesn't replicate its databases.

-- 

Oded


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



Re: Processing time spent in IRQ handling and what to do about it

2007-12-18 Thread Oded Arbel

On Tue, 2007-12-18 at 07:48 +0200, Yedidyah Bar-David wrote:
 On Tue, Dec 18, 2007 at 02:49:29AM +0200, Oded Arbel wrote:
  Running some static benchmarks that should mimic the behavior on real
  load, on identical hardware at the office, I see very little hard-IRQ
  time if at all. The main difference between the static benchmark and
  real usage is that the static benchmark only tests the application logic
  and IO, while real usage also fetches some files served by Apache over
  HTTP with each request - maybe ~50Kbytes worth of responses are served
  by Apache for each request to the application. I was thinking that the
  high IRQ usage is due to high network traffic - could that be the case
  and could that be affecting the server's performance ?
 
 I am not an expert on this, but what you want might be NAPI - a new
 network driver infrastructure designed to solve just that. Google a bit
 - I do not know exactly when it entered 2.6 (and you did not state your
 kernel version) and which drivers use it already.

Searching for NAPI I see some discussion on it entering 2.4 or 2.5, so
I'm assuming 2.6 had it from the start. I also see some patches for the
bnx2 NIC module which talk about NAPI related fixes for 2.6 - but only
quite recently: October this year.

I'm using Fedora 7 with kernel 2.6.22.1 which is fairly recent so I'm
assuming I have this NAPI. can it possibly be currently turned off and I
need to turn it on ?

-- 

Oded


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



Re: Linux memory monitoring compared to MS-Windows

2007-12-18 Thread Oded Arbel

On Tue, 2007-12-18 at 18:36 +0200, Muli Ben-Yehuda wrote:
 On Tue, Dec 18, 2007 at 05:54:56PM +0200, Oded Arbel wrote:
 
  The real question - as emphasized by all the comments I received -
  is: can I know how much memory the process is accessing (within some
  time period) specifically when its more then the total of pages
  actually held in physical memory.  *accessing = reading to or
  writing from, not just having them assigned to the process.
 
 Look at the pagemap patches, which will give you the raw info you need
 to calculate this. See http://lwn.net/Articles/230975/ for an
 introduction.

Thanks ! this is really interesting. Using the clear_refs item one can
easily implement the supposed working set functionality. I'll see if I
can compile it for my kernel.

-- 

Oded


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



Open office display question

2007-12-17 Thread Oded Arbel
I'm using a laptop with a rather smallish display - 1024x768 at
something like 12. in order to better use the limited screen
real-estate, I've set the font display to 75 DPI - Using GNOME's font
preferences. I'm running Ubuntu with the GNOME desktop.

The problem is that Open Office is displayed using 96 DPI, no matter how
I change GNOME's properties, and Open Office's Options-Appearance
doesn't have anything related to that setting.

What can I do ? the Open Office UI looks really big compared to other
elements in the system and it also takes up way too much space (with 1
menu and 2 tool bars on top and a tool bar and status bar at the bottom,
a 22% increase is size means a lot).

Thanks in advance


Linux memory monitoring compared to MS-Windows

2007-12-17 Thread Oded Arbel
Hi List.

I heard (but haven't actually seen) that in MS-Windows the system keeps
track of some notion of working set, which is supposedly (if I
understand correctly) the total size of pages that an application
referenced recently - whether these are currently resident or swapped
out (see http://msdn2.microsoft.com/en-us/library/ms684891.aspx which is
an MSDN article I found on the subject).

The way I understand processes normally work (in Linux anyway) is that
as long as there is enough memory available the memory manager keeps all
pages that an application constantly references in physical RAM, and
pages that are not references are swapped out after a while. A good
example of such is a long running Java virtual machine process (at least
the Sun implementation anyway) that doesn't return unused memory to the
operating system letting it being swapped out until its needed again -
so I have some jvm process which takes up some 1.5GB of virtual but less
then 150MB resident: it was processing a lot of data some time in the
past but now its idling.

Now (again - according to my understanding) under contention - i.e. when
processes need to use more physical memory then what is available - the
memory manager keeps swapping stuff in and out of memory in an attempt
to satisfy all requests. Under such conditions its might be useful to
know - for each process - the amount of physical memory in use, the
amount of virtual mapped to the process, but also how much of that
virtual memory the process actually tries to use but can't get it all in
physical RAM because other processes are also hogging the memory. Does
such a thing exist in Linux?

Thanks in advance

--
Oded


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



Processing time spent in IRQ handling and what to do about it

2007-12-17 Thread Oded Arbel
Hi List

I have a somewhat of a problem but I don't know how serious it is or how
to handle it:

I manage several servers - quite a nice beasts, HP ML360G5 with 2 x dual
Xeons and 4GB ram each. Now one of the production servers is not
behaving all that well - it doesn't handle the load as well as I would
like it to and its responses are slower then what I would expect
according to previous benchmarks (on identical hardware, not on the
specific machine).

After doing some application testing and optimization, I still do not
rule out sub-optimal application behavior, but I noticed something
disturbing and I would appreciate some input on that - 

I use htop to monitor the server's load, and the load average is quite
low when the servers suffers under load, and the cpu time bars rarely
reach over 50%. Splitting the cpu time display in htop according to
system/IO-wait/hard-IRQ/soft-IRQ I can see that a lot of time is spent
in the hard-IRQ region - sometimes more then all other regions
together.

Running some static benchmarks that should mimic the behavior on real
load, on identical hardware at the office, I see very little hard-IRQ
time if at all. The main difference between the static benchmark and
real usage is that the static benchmark only tests the application logic
and IO, while real usage also fetches some files served by Apache over
HTTP with each request - maybe ~50Kbytes worth of responses are served
by Apache for each request to the application. I was thinking that the
high IRQ usage is due to high network traffic - could that be the case
and could that be affecting the server's performance ?

I'd appreciate any references that you can provide - searching the web
for irq bnx2 (the NIC module used by the machine) yields nothing that
I could decipher.

Thanks in advance

--
Oded


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



Re: wmv in linux

2007-12-15 Thread Oded Arbel

On Sat, 2007-12-15 at 18:15 +0200, Erez D wrote:
 my problem with mplayer is not jumping forward and backward but the
 audio.
 
 My distribution is ubuntu gutsy 64bit.
 
 'apt-cache search codec|grep -i win' didn't yield any result

 the url in question is:
 mms://msvideo.tau.ac.il/Courses/Exact_Sciences/Physics/Quantum_Theory_1/1.wmv

Mplayer playes it fine for me on Ubuntu Gutsy. I have the w32codecs
package installed.



=
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: Menus disappeared

2007-12-13 Thread Oded Arbel

On Thu, 2007-12-13 at 10:17 +1100, Amos Shapira wrote:
 On 13/12/2007, David Suna [EMAIL PROTECTED] wrote:
  I have an Ubuntu 7.1 system running Gnome that my kids use.  They
  managed to do something and now the Applications, Places and System
  menus have disappeared.  I can add back individual sets of applications
 
 I think I heard that GNOME (on Ubuntu?) has some Kiosk mode which
 should allow you to lock-down the configuration. Maybe you should
 consider using that.

You can install sabayon (see http://www.gnome.org/~seth/blog/sabayon )
and use it to create a limited profile which cannot do stuff like remove
applets from the panel. Its really easy to do using the graphical
interface - Sabayon logs you into a temporary session where you set
things up and afterward you get a list of changes which you can then
force on the user you want to limit.

-- 

Oded


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



Request for consulting services

2007-12-12 Thread Oded Arbel

If job offers are ok on the list then I hope this is ok as well:

I'm looking for someone to implement an office network and collaboration
groupware  based on Novell Linux products. I'm looking for someone who
knows his way around Groupwise and OES/Linux to build a new setup that
serves Linux, Windows and mobile clients - it will be fun, I promise.

If you have any references for people who might fit the bill I'd be
happy if you can email me privately.

Thanks

-- 

Oded


Re: Something weird is happening

2007-12-11 Thread Oded Arbel

On Fri, 2007-12-07 at 16:03 +0200, Oron Peled wrote:
 On Friday, 7 בDecember 2007, Oded Arbel wrote:
  The first call that is interesting is of course the open()
  for /etc/protocols. In the second test (after I did ls /etc/protocols)
  it looks normal:
  open(/etc/protocols, O_RDONLY|0x8 /* O_??? */) = 8
  but in the first test is looks like this:
  open(/etc/protocols, O_RDONLY|0x8 /* O_??? */) = -530
  
  Reading man 2 open, it says that open() should return -1 in case of an
  error.
  
  I'm still looking as to what -530 means, but I've yet to find anything
  on the web. 
 
 You wouldn't. An strace would show you the return value (which should be -1
 for an error, and a translation to errno definition). The -530 heavily hints
 that you have somehow corrupted glibc (or kernel, or both).

I found the problem ! Apparently glibc 2.7 has introduced a new open
flag called O_CLOEXEC (close on exec - something for security IIUC),
which conflicts with a kernel flag that has the same value and is part
of the TUX web server patch
( http://www.redhat.com/docs/manuals/tux/TUX-2.2-Manual/intro.html )
that is available in RHEL kernels. 
As a result, RHEL kernels are incompatible with glibc 2.7 and above and
let this serve as a warning to all - never upgrade a machine that uses
an RHEL kernel to glibc 2.7.

http://www.nabble.com/glibc-2.7-3-MIGRATED-to-testing-causes-system-to-stop-starting-new-programs-td14233678.html#a14234070
http://www.nabble.com/-Bug-libc-5227--New%
3A-opendir-and-O_CLOEXEC-problems-with-Linux-2.6.9-5.ELsmp-kernel-td13449217.html
(these links - hope they didn't break - talk about 2.6.9, but the same
holds for 2.6.18 from RHEL 5).

Anyway - I'm downgrading to glibc 2.6 now, and I hope nothing breaks.
Thanks for everyone that tried to help :-)

--
Oded



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



Re: CentOS 4.5 and MySQL issues

2007-12-11 Thread Oded Arbel

On Tue, 2007-12-11 at 18:00 +0200, ik wrote:
 Hello List,
 
 I have a weird problem with the above server using MySQL (4.1):

You need to provide more information about MySQL - what engine your
tables are using, any replication or clustering taking place, etc'.

 1. Some tables on specific database are loosing the Auto Inc pointer,
 making it start from 0 every time there is a restart to the server
 itself.

Can't see any reason for this to happen unless something actually resets
it (it can be done). Are you using NDB on these tables by any chance ?

 2. It seems that the MySQL server have a big delay (of a minute and
 sometimes more) between the time I update/delete records using a
 program (written in Java 1.6 and mysql connector), until the change is
 actually taking place.

As I mentioned earlier, this is due to transaction isolation between multiple 
users on the same table - the records are updated immediately  (or at least as 
soon as they are committed) but the user doing the select only sees it after 
its own transaction completes.

--
Oded


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



Re: Something weird is happening

2007-12-08 Thread Oded Arbel

On Fri, 2007-12-07 at 16:03 +0200, Oron Peled wrote:
 On Friday, 7 בDecember 2007, Oded Arbel wrote:
  The first call that is interesting is of course the open()
  for /etc/protocols. In the second test (after I did ls /etc/protocols)
  it looks normal:
  open(/etc/protocols, O_RDONLY|0x8 /* O_??? */) = 8
  but in the first test is looks like this:
  open(/etc/protocols, O_RDONLY|0x8 /* O_??? */) = -530
  
  Reading man 2 open, it says that open() should return -1 in case of an
  error.
  
  I'm still looking as to what -530 means, but I've yet to find anything
  on the web. 
 
 You wouldn't. An strace would show you the return value (which should be -1
 for an error, and a translation to errno definition). The -530 heavily hints
 that you have somehow corrupted glibc (or kernel, or both). Another option
 is a simple memory hardware problem. However, I'm not sure if you can run
 memtest86+ in your hosting environment.
 
 If something still functions on this system, than an:
 
   rpmverify glibc kernel
 
 May shed more light. 

rpmverify glibc kernel return nothing (exactly nothing, no output
whatsoever - I assume that it means there are no errors). Except for the
weird inaccessibility of files until I get a shell to list them (and
then possibly only for /etc though I doubt it), everything works
correctly.

--
Oded



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



Re: Something weird is happening

2007-12-08 Thread Oded Arbel

On Sat, 2007-12-08 at 20:04 +0200, Maxim Veksler wrote:
 On Dec 8, 2007 6:59 PM, Oded Arbel [EMAIL PROTECTED] wrote:
 
  
 rpmverify glibc kernel
  
   May shed more light.
 
  rpmverify glibc kernel return nothing (exactly nothing, no output
  whatsoever
 
 Yes it did, it returned an error code.
 
 rpmverify glibc kernel; echo $?

Oh, I thought its like rpm -V. anyway - 0. it returns 0. nothing to see
here, move along now... move along.

-- 
Oded


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



Re: Something weird is happening

2007-12-07 Thread Oded Arbel

On Thu, 2007-12-06 at 12:36 +0200, Yedidyah Bar-David wrote:
 On Thu, Dec 06, 2007 at 03:30:42AM +0200, Oded Arbel wrote:
  # getent passwd root
  no output here
  # ls -l /etc/passwd
  -rw-r--r-- 1 root root ... /etc/passwd
  # getent passwd root
  root:x:0:0:root:/root:/bin/bash
 
 I really have no idea, but:
 1. You might get a clue from diffing the output of
 strace -f -o outfile getent passwd root
 before and after accessing /etc/passwd.

I tried that with xinetd (which had problems accessing /etc/protocols).
Because I'm not in front of the computer getting it to much the boot up
process by not doing the work-around for passwd is not an option. But
the xinetd test came back with some interesting results:

The first call that is interesting is of course the open()
for /etc/protocols. In the second test (after I did ls /etc/protocols)
it looks normal:
open(/etc/protocols, O_RDONLY|0x8 /* O_??? */) = 8
but in the first test is looks like this:
open(/etc/protocols, O_RDONLY|0x8 /* O_??? */) = -530

Reading man 2 open, it says that open() should return -1 in case of an
error.

I'm still looking as to what -530 means, but I've yet to find anything on the 
web.



=
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: perl IDE recommendation?

2007-12-07 Thread Oded Arbel

On Thu, 2007-12-06 at 13:28 +0200, Gabor Szabo wrote:
 On Dec 6, 2007 11:33 AM, Hetz Ben Hamo [EMAIL PROTECTED] wrote:
  Hi,
 
  I was wondering if someone could recommend a good IDE program with
  perl support. I need an IDE will full support for debugging perl,
  breakpoints, step by step, showing values at any time etc, and if
  possible, to have an auto complete functionality, etc...
 
  I've seen epic which runs using Eclipse and I would like to hear
  about other solutions please.
 
 You can use Komodo but that costs money.
 I think they have a free version without the debugging part.

Indeed. Komodo is an excellent product (I've used it in the past with a
personal edition that is no longer sold) and I would have said that
its features are well worth the cost - if it wasn't so damn expensive. I
don't think that at this time when eclipse offers free IDE for almost
anything they can charge so much for an IDE, but at this time they are
still much ahead of the competition so they're business model is still
valid.

--
Oded


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



Re: Something weird is happening

2007-12-07 Thread Oded Arbel
 
On Thu, 2007-12-06 at 08:17 +0200, Noam Meltzer wrote:
 Hi,
 
 1. I just heard about a similar problem from a friend of mine, who was
 running a debian unstable xen guest with a centos5 kernel.
 After a recent upgrade a similar problem happened to him as well.
 He had to downgrade the glibc version in order to solve this. 

Its a production machine co-located and I don't have good access to it
so I'm loath to try something like that, but it will probably come to
that (or a reinstall) eventually.

 2. There are sources for the Adaptec drivers on IBM site, you might
 want to consider compiling them with the new Fedora8 kernel (if the
 vanilla fedora8 kernel does not work with it).
 

Thanks. I'll try that.



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



Something weird is happening

2007-12-05 Thread Oded Arbel
Hi people. I have here a real conundrum for you:

I'm operating an IBM server (an X306, I think ? not sure). Anyway it has
a weird setup which is mostly my fault - I wanted to run Fedora on it
but the driver for the Adaptec controler it uses only works with the
RHEL/CentOS 5 kernel, so I installed CentOS 5 and then upgraded
everything but the kernel to Fedora 7. But never mind that - Yesterday I
upgraded to Fedora 8 and after that the server went caput - I can't log
in through SSH or through the console and almost no service manages to
start.

Looking closely, it appears that it doesn't recognize any user - not
regular users and not system users, and as such most services break.
Surprisingly, I can get the system recognize users by simply accessing
the /etc/passwd file. It looks something like this:

# getent passwd root
no output here
# ls -l /etc/passwd
-rw-r--r-- 1 root root ... /etc/passwd
# getent passwd root
root:x:0:0:root:/root:/bin/bash

I could get the server to boot normally and let me log in by
editing /etc/rc.sysinit and after the script mounts the file systems I
added 
touch /etc/passwd /etc/group /etc/shadow
And now I can log in, but a lot of stuff still doesn't work - for
example xinetd doesn't load any services until I do
ls /etc/protocols, and chkconfig fails with funny error messages about
not being able to list /etc/rc?.d/[SK][0-9][0-9]something. Basically
software can't access files until I get a shell to look at them -
totally haizenberg style.

What's going on ? I think I can work around the problems by doing
something like
find /etc  /dev/null
but this whole problem is really silly, am I living in a different
reality ?

I'd appreciate it if someone can pinch me so I'll wake up from this
weird dream.


=
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: using a wireless adsl modem/router as an access-point only?

2007-12-04 Thread Oded Arbel

On Mon, 2007-12-03 at 12:02 +, Amos Shapira wrote:
 I'm after a wireless access point. I saw the D-Link DI524 for a good
 price but also the that D-Link 604T can give the same functionality
 plus ADSL2+ modem for a little more money (I currently use an ADSL1
 modem on an ADSL2+ plan).

Any standard LAN/Wireless router can physically act as an access-point,
though not all internal software will let you do that. Optimally you
would be able to turn off the NAT that the router is doing between the
LAN/Wireless and the WAN port so it would act like an expensive switch. 

But I have yet to see a built-in router operating system that let you do
that. I've successfully used generic WRT54G routers in this capacity by
turning off the DHCP service for the local LAN and plugging the outgoing
LAN cable into one of the LAN ports, but if you get a WRT54GL (or WRT54G
v4 or older) then you can install a third-party operating system that
will probably let you do anything you want. I'm using DD-WRT which has a
very similar interface to the default Linksys operating system (its
based on it) although its much prettier, and in the main wireless
configuration page it has a mode setting where one of them is access
point. It doesn't get much simpler then that.

-- 

Oded


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



Re: results for benchmark for Maildir filesystem

2007-12-04 Thread Oded Arbel

On Tue, 2007-12-04 at 14:07 +0200, Ira Abramov wrote:
 Quoting Amos Shapira, from the post of Sat, 01 Dec:
  Hi,
  
  I just saw a link for this on the CentOS mailing list and though it
  might interest people here.
  
  http://www.htiweb.inf.br/benchmark/fsbench.htm
 
 indeed, my jaw dropped. I had no idea ReiserFS was so far behind EXT3
 :-(

Do note that the Ext3 setup is not really a default one but one
optimized for performance - while the ReiserFS installation didn't
benefit from such care. Also - as the Ext3 options used in the benchmark
are not defaults for Ext3 one would need to ask one self why aren't
these on by default and the answer may have something to do with
reliability. OTOH the XFS wasn't optimized either and still kicked some
serious butt.

While we're on the subject of optimization, also note that the ReiserFS
test was done with the notail option which radically decreases the
performance with small files (which is IMO one of ReiserFS's key
benefits) and the Maildir benchmark used reads and writes a lot of small
files.

 time to reconsidder XFS I guess? I never used it before. Is is better at
 recovering from crashes than ext3? journaling and all, I had it
 sometimes come up in a bad, barely recoverable state after a crash.

I had the same experience with XFS - on system crash and occasionally
just when booting XFS would report errors and refuse to start, but
another restart and it automatically fixes itself, so I'm not sure -
there was no data loss and I had a good feeling that the system can
recover from crashes, but its not comfortable and requires interaction.

-- 

Oded


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



Re: using a wireless adsl modem/router as an access-point only?

2007-12-04 Thread Oded Arbel

On Tue, 2007-12-04 at 13:43 +0200, David Shwatrz wrote:
 Hi,
 the 'L' in the model name is for Linux.
 
 I don't understand something: is the source code for the Linux kernel
  are open and available freely from LinkSys ? and in
 case it is  so - from where can I get it ?
 I had went to the official LinkSys site for this product:
 http://www.linksys.com/servlet/Satellite?c=L_Product_C2childpagename=US%2FLayoutcid=1133202177241pagename=Linksys%2FCommon%2FVisitorWrapper
 
 And I found there, in the bottom , in very little letters (I had to
 enlarge the image by gimp), a little green/black open soure tavit
 (label).

Here is a better picture from an actual box shameless plug
http://geek.co.il/wp/2006/12/21/open-source-the-warning-label/
/shameless plug

If you look more closely you'd notice that the URL on the label says
www.linksys.com/gpl , and going to that address you'll find the sources
for download. Several 3rd party router distribution (not only for
Linksys products) are based on the Linksys source dump.

-- 

Oded


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



Re: HTML email question

2007-11-28 Thread Oded Arbel

On Wed, 2007-11-28 at 15:36 +0200, Hetz Ben Hamo wrote:
 I'm trying to write a very simple shell script which creates a simple
 hebrew text file, which is then being sent by email using sendmail.

 echo Subject: =?UTF-8 úéøáòá äòãåä=  mail.txt

Read RFC 1522 on how to encode non-7bit text into headers. you can use
either base64 or quoted-printable to ascii armor your text and it
requires a special format as Lior Okman noted.

 echo 'Content-Type: text/html; charset=UTF-8;'  mail.txt
 echo 'html xmlns=http://www.w3.org/1999/xhtml; dir=rtl
 xml:lang=he lang=he'  mail.txt

I don't recall how the sendmail interface handles this, but I think you
better make sure there's an empty line between the header and the
subject.

 I admit, I have 0 experience creating HTML mails, is there any good
 link to learn how to make it correctly so users can see both subject
 and the html in good way?

I recommend using MIME when sending HTML content - some clients don't
handle non-MIME HTML all that well (mainly web mail clients). Read RFC
2822 or use some perl/ruby/python/whatever library to help you with
that. A good library would also handle the 7bit transformation required.

If you do want to use bash, I personally would forgo the interim text
file and pipe directly to sendmail:

#!/bin/bash
(
  echo To: [EMAIL PROTECTED]
  echo Subject: test
  echo 
  echo This is just a test
) | sendmail

or something...

-- 

Oded



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



Re: HTML email question

2007-11-28 Thread Oded Arbel

On Wed, 2007-11-28 at 18:38 +0200, Hetz Ben Hamo wrote:
 Hi,
 
   Oh boy, I love those RFC's (specially when they mention 1 thing, and
   the real world has other things) :)
 
  That's not true. A very small and inaccurate test I did with various
  clients showed that all common ones can be configured to obey these RFCs
  and they behave correctly when getting a complying message. The problems
  arise when a client is configured to not be compliant and sends emails
  that the other side, in order to parse, needs to play some heuristics.
 
 Outlook 2000 (pre SP1) had tons of issues that I remember.

Indeed there are some issues - RFCs allow you several ways of doing
stuff, either by explicitly allowing for multiple behaviors or by
omitting definitions for trivial stuff (which apparently weren't all
that trivial to the next implementor).

Anyway - you do have to test your application against multiple clients.
Some things which are legal according to the RFC will not be handled
well by some clients and the exact problem is often very hard to nail
down.
I usually test Outlook 2003, Outlook Express, Thunderbird, GMail,
Evolution and Sometimes KMail. Evolution and Thunderbird are usually the
easiest to work with - the eat everything that is legal and even a few
things that aren't and are happy to show you what you expect. GMail is
the worst - you can get it to use almost any feature of MIME/HTML email,
but its often very hard work.

-- 

Oded


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



Re: Asus EEE and hebrew

2007-11-26 Thread Oded Arbel

On Mon, 2007-11-26 at 16:38 +0200, Hetz Ben Hamo wrote:
 As many of you know, Asus is selling a very low cost notebook EEE PC
 for around $399 and it's quite a hit everywhere.
 
 The Israeli representative is RonLight (www.ronlight.co.il - don't
 bother looking at the site with Firefox, it's terrible) and they plan
 to bring it to Israel and sell it (I don't know for how much).
 
 One thing that they will need to do is to add hebrew, so since this
 EEE is running Xandros (which is debian based)

I'm also not related at all to Ronlight, but the EeePC can also run
MS-Windows XP and as Ronlight looks like a total MS shop (they sell
Hebrew software support for MS-Windows running mobile devices) I would
think that they probably intend to sell the Eee PC as a MS-Windows
device.

-- 

Oded


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



Re: between jabber and talkd

2007-11-19 Thread Oded Arbel

There is a secure chat plugin for Pidgin (used to be Gaim) called Off
the record - http://www.cypherpunks.ca/otr/ 
It promises wanders and while I haven't really checked how secure it is,
one of my friends whose opinion I trust in such matters likes to use it.

This plugin allows you to have secure chats with any other client with
OTR capabilities over any protocol (several other clients can be used
with OTR, check the web site).

On Mon, 2007-11-19 at 16:12 +0200, Erez D wrote:
 i am looking for a simple way to chat securely over the internet.
 my server is a linksys router running openwrt
 the clients are either windows or linux machines ...
 
 a jabber server is to heavy for it
 
 talkd is not secure (not encrypted)
 i do not want to use SSH (as i do not want to give shell or network
 access other then to the specific port needed)
 
 also i want to use a graphic client as we do not have a shell open at all 
 times
 
 
 any idea ?
 
 =
 To unsubscribe, send mail to [EMAIL PROTECTED] with
 the word unsubscribe in the message body, e.g., run the command
 echo unsubscribe | mail [EMAIL PROTECTED]

-- 

Oded


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



Re: recommended web development environment?

2007-11-12 Thread Oded Arbel

I've been using Quanta for a while - it has a very good editor with all
kinds of syntax highlighting and context sensitive help stuff. Its
project management may be a little heavy handed at times, but its useful
and supports publish to the site directly from the application.


On Mon, 2007-11-12 at 09:55 +, Amos Shapira wrote:
 Hello,
 
 I'm playing around with a web site for a business (for now it's just a
 bunch of static pages) and am looking for a convenient environment to
 do so under Debian Etch.
 
 I currently use Screem 0.16.1 from the Debian package and it's OK but
 it's editor is still rough in the edges.
 
 Can anyone recommend another convenient editor for HTML and CSS files?
 
 As much as I used to be a member of the Emacs camp many years ago, it
 should be a bloody blast of an editor to convince me to try again any
 of its modes. 
 
 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: application localization in Linux

2007-11-05 Thread Oded Arbel

On Mon, 2007-11-05 at 08:10 +0200, Michael Sternberg wrote:
 The question was about multiplatform solution for localization..
 What localization files formats can be used when compiling with gcc and MS 
 Studio for example ?
 
 Maybe using external tool for pre-compiling steps ?
 I've found on the wrc and windres for compiling windows RC files - can 
 they help me ?

GNU gettext can be used with MS Visual Studio, and this link to the
gettext manual explains how to do so by either converting a .PO file to
a .resources file or by using .PO files directly to compile the binary,
and why using the second method is better:
http://www.gnu.org/software/gettext/manual/gettext.html#C_0023

-- 

Oded


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



Re: Good client to use as bittorrent seed

2007-11-03 Thread Oded Arbel

On Sat, 2007-11-03 at 01:01 +, Amos Shapira wrote:
 On 02/11/2007, Shachar Shemesh [EMAIL PROTECTED] wrote:
 I am wondering what would be the best software to use as a 
 bittorrent client for that purpose. Obviously, it has to be
 headless,
 and logging facilities would be most welcome, preferably
 straight to syslog.

 
 I'm looking for a headless client too, in order to be able to run it
 from cron jobs (without having to open a screen(1) session around it).
 I found aria2c which seems to be something a-la wget for BT. 

I'm using transmission, while better known for its GTK frontend it also
has a daemon and a cli client - which I would think answers both use
cases.

The latest version is even less GNOMEy and has some configuration
options ;-). Make sure to use a recent version (most distros pack
ancient 0.7x versions) which has much better network performance and
allows creation of new torrents.

--
Oded



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



Solved: MySQL replication problem (sort of)

2007-10-31 Thread Oded Arbel

On Wed, 2007-10-17 at 21:16 +0200, Oded Arbel wrote:
 The problem is that on the second server everything looks peachy -
 information is coming in and its always up to date, but on the third
 server on the renamed database one of the log tables is not getting any
 updates - currently it is stuck  with records from yesterday at noon and
 nothing new is coming in (I currently think its only one that has
 problems, but I haven't checked all of them). Other tables are getting
 updates just fine. 

The problem was - as usual - RTFM. The MySQL replicate-rewrite-db
option, its important to know, is not resolving names using the actual
data being changed and not even by parsing the SQL query that did the
update - but only based on the current database select using the 'use'
statement.

The problem was that the table I had problem with (unlike all other
tables) has data inserted using something like this:

use my_db;
insert into my_db.my_table (columns...) values (values...)

This was enough to brake replicate-rewrite-db. Except for fixing the
offending application, I don't know what else can be done. 

Funny though, if the rewrite command is
replicate-rewrite-db=my_db-other_db
and then I add
replicate_do_table=my_db.my_table
then updates to my_db.my_table on the origin server cause my_db.my_table
on the replicating server to update, and not other_db.my_table.

-- 

Oded


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



Re: Sound in GNOME under CYGWIN or Xnest

2007-10-31 Thread Oded Arbel

On Wed, 2007-10-31 at 10:44 +0200, Ori Idan wrote:
 I have a Linux server (Debian Etch).
 I am connecting to this server using XDMCP with either CYGWIN (from a
 window machine) or Xnest (From another Linux machine)
 When I am on the server, the sound works perfectly (ALSA) 
 On the stations I get error device not ready or busy.

Most likely you have an active session running locally on the server
that grabs the sound ports and your new remote session can't access it.
Make sure that there isn't any logged in session on the server and try
again ('who' is a good idea). You can have multiple users using audio by
using ALSA's dmix as the default soundcard (available in most modern
distros).

-- 

Oded


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



Re: Installing Ubuntu 7.10 (Gutsy Gibbon) on an existing LVM?

2007-10-26 Thread Oded Arbel

On Fri, 2007-10-26 at 17:44 +1000, Amos Shapira wrote:
 I'm now downloading the alternate CD but was wondering whether someone
 can give me a quick answer before I finish the (slow) download and
 burn/reboot cycle - is it possible to install 7.10 into a new LV
 inside an existing VG? 

Yes, using the alternate CD, but even then its not as easy as it can be.
Multiple LVM support in installers is a problem for most distros - for
example, the Fedora disk wizard is really bad in that it either puts
each drive in its own LVM or doesn't let you create more then one LVM
and you have no control over which is which except for the order that
you create partitions. OpenSuSE installer is a bit better but still very
confusing. I think that Mandriva's diskdrake is still the best
installer-bound disk partitioning and one of the best partitioning
software out there (gparted has slightly better interface) - which is
the reason why I always carry a Mandriva live CD with me even though its
no longer my recommended operating system.

The Ubuntu regular CD doesn't come with LVM support, mostly as it is
geared towards normal desktop users and LVM is considered an
enterprise feature by Canonical. Under the same vain, Ubuntu lacks
many other enterprise features which I need like LDAP authentication -
and that is currently the only reason I don't use it in my enterprise.

--
Oded



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



MySQL replication problem (sort of)

2007-10-17 Thread Oded Arbel

Hi list.

I'm (possibly) having a problem with a MySQL replication setup, where
replication works well except for one table that doesn't get new rows at
all.

I'm using a moderately complex replication setup where a remote server
is a master to a server running on the local lan and replicates the
entire server over an SSH connection (which sometimes go down, but then
I restore it and the server just picks up the replication). A third
server on the local lan replicates just one schema from the second
server and renames it - the reason is that we want a local copy of the
log tables that are generated on the production server, w/o overriding
the development schema.

The problem is that on the second server everything looks peachy -
information is coming in and its always up to date, but on the third
server on the renamed database one of the log tables is not getting any
updates - currently it is stuck  with records from yesterday at noon and
nothing new is coming in (I currently think its only one that has
problems, but I haven't checked all of them). Other tables are getting
updates just fine. 

I don't see any errors in the mysqld.log file and the slave status shows
both IO and SQL replication threads running w/o an error. mysqlcheck
thinks that all the tables are ok.

All the tables use the InnoDB engine and while there is a lot of foreign
keying going on, the said problematic table has no foreign keys at all.
If I resync the database (using mysqldump --master-data=1) it starts ok,
and after a while (about a day) the same problematic table stops getting
any new records. I rather not do a resync again because the last dump
was already at 3GB of size and it takes several hours to load it into
the database - and the next dump will be larger.

Has anyone ever encountered a problem like this when replication stops
for one table but not for the others ?
-- 

Oded


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



Re: Ubuntu discs for Jerusalem Linux Club Instaparty

2007-10-16 Thread Oded Arbel
On Mon, 2007-10-15 at 23:50 +0200, Guy Sheffer wrote:
 We don't necessarily want ubuntu 
 7.10. I think 7.10 is alright, it has been tested since it was out. And 
 is probably less buggy.

7.10 ? 7.10 ? did you want to use 7.04 for one of these ?
I think going with 7.04 for Linux newbies would be a mistake - 7.10 is
tested enough (I'm running it for about 3 months now, and I believe it
will be very stable when released) and it offers a lot of new user
visible changes and improvements in usability (and eye candy). If you
position Linux as a contender in the desktop computing arena, you have
to take into account the competition and while 7.10 is definitely up to
par with operating system offerings from other vendors (and I'm not
talking about other Linux vendors), 7.04 is not - unless you only
compare it to 5 years old operating systems, which is a mistake I hope
you are not going to make.

 Most of our club members are busy people. If you were in August Penguin 
 2007, you might have heard the theory there about someone needs to. 
 Most of the JLC members are busy people with no time. I have no way of 
 doing that (nether do I have time for it).

Ok, I figured this would be coming my way when I wrote my previous
e-mail :-)

I have access to a lightscribe writer and while I'm also very busy, I
think I can find the time to burn some CDs. If other people can help
fund the supplies (and I'm willing to pitch in here as well), I can do
the work. I'm not sure what it takes to do a commercial CD burn and how
it compares in prices and work involved, but I'll check.

-- 

Oded


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



Re: Linux 802.11g pci card

2007-10-16 Thread Oded Arbel
Lost of card that you can get anywhere off the shelf these days use
RaLink chips, and I had relative success getting such to work with the
rt2x00 driver in the latest versions of Ubuntu and OpenSuSE and to a
minor degree with Fedora. 

Also I could get some Broadcom based cards to work with the open source
driver and binary firmware from the windows driver, but its a bit more
touch and go as the stable open source driver currently doesn't support
firmware release 5 which newer chips require.

Anyway, my point is that you can have wireless access these days on a
lot of cards with open source drivers - you need not limit yourself to
madwifi.


On Wed, 2007-10-17 at 00:39 +0200, ik wrote:
 Hello List,
 
 As the subject say, I'm looking for a good PCI 802.11g card that will
 be supported by madwifi.
 However (and that's my main problem), the card must work in a computer
 located inside a Mamad, where the router is located only 8 to 10
 meeters in a different room from that computer.
 
 Is it possible to find such card without using MIMO for example ?
 
 Does anyone know of a good card for that task that will work under linux ?
 
 My router is (maybe it will help to find an answer) Linksys WRT54GL
 with Linksys latest patches.
 
 Thank you for any help in this matter
 Ido


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



Re: Adblock and Tapuz - doesn't work

2007-10-15 Thread Oded Arbel
On Mon, 2007-10-15 at 10:52 +, Amos Shapira wrote:

 I tried a few of them (AdBlockPlus, AdBlock, and some FlashBlock or
 another) but it looks like somehow when I block flash the regular part
 of the site just doesn't come up. 
 Maybe it's because of the long distance of my connection. I would even
 hazard a guess that maybe they made their site require the flash ads
 to make it viewable but my first commandment is don't attribute to
 malice that which can be easily explained by incompetency, especially
 with a site with such a low regard to standards as Tapuz. 

Tapuz actually uses a lot of flash for really absurd stuff like the
enter forum button (that item, which is the least of the problem, was
replaced with an image recently), the arrows on the sides of the
scrolling tickers and even the round corner images for their design(!!!)
It seems that some web designer there does not know any tool other then
Adobe Flash for drawing.
Blocking all Flash content on Tapuz can easily yield a broken site, and
not due to missing adverts.


 Another approach I had great success with is using a local
 Privoxy
 installation to filter annoying stuff (and it works the same
 with all 
 browsers).
 
 What if the ads are served from the same host as the main site and are
 only different by URL path?

Privoxy can be easily setup to handle that - it has a useful web
interface that allows you to setup custom rules. But it comes with
several site-agnostic rules that identify common advertisement urls that
work surprisingly well. I haven't used Privoxy in a while, but I would
expect it to provide good user experience for you out of the box.

-- 

Oded


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



Re: Ubuntu discs for Jerusalem Linux Club Instaparty

2007-10-15 Thread Oded Arbel
On Sat, 2007-10-13 at 20:14 -0400, Guy Sheffer wrote:
 I am Guy Sheffer from the Jerusalem Linux Club (JLC).
 Our club is now in reparation for an installation party around November.

 However, when we made contact with Canonical to use ShipIt, they only
 offer Ubuntu 6 and not 7.

If I understand correctly, when the installation party will be held
Ubuntu 7.10 will already have been released, so you'd probably want to
install that.

Given that 7.10 is not released yet (well - they still have 2 weeks to
complete testing) its quite likely that you won't get any relevant help
from Canonical. I suggest to contact them again after the release, and
they might be able to help you, the short time frame not withstanding. 

I think your best bet is to get someone with a lightscribe CD writer and
a free weekend to burn and label several dozens CDs with a nice Ubuntu
and penguin logo. The outcome would look quite professional, and the
investment should be around 10 NIS per CD which I'm sure can be easily
raised with a quick fund raiser.

-- 

Oded


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



Re: Which is the best ISP in Israel when accessing US server using ssh

2007-10-15 Thread Oded Arbel

I'm using Netvision and BezeqInt with a server hosted in the
Connecticut, USA and while its not the fastest connection ever, its
quite reasonably responsive most times.

Your problems seems to be a configuration issue with your hosting
provider.

On Mon, 2007-10-15 at 16:20 +0200, Michael Ben-Nes wrote:

 I'm working on a project that require me to ssh to a US server.
 The problem is that through Netvision  Bezeqint the performance are
 horrible ( though Bezeqint its almost always faster then Netvision ) 

 The IP of the server is 216.139.210.179 and its located at HostWay
 data center in Texas. 


-- 

Oded


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



Re: Which is the best ISP in Israel when accessing US server using ssh

2007-10-15 Thread Oded Arbel

On Mon, 2007-10-15 at 17:31 +0200, Michael Ben-Nes wrote:
 What can be the problem?
 Its an ordinary 64bit RedHat 5 on a new dell hardware.
 I ssh using blowfish. In the morning the speed is lame but acceptable.
 in the evening I can even wait 15 sec for a response. 
 
 Checked ping with no significant packet loss.
 Traceroute is around 300 for both ISP ( upload is 200ms )

I've checked also ping, and contrary to Geoff I don't see any problem -
both my server and your respond with less then 2% packet loss. I believe
Geoff's results have more to do with his local connection. 

I also don't think it has anything to do with the encryption you use. I
can't comment further, but I suggest you rerun the ping test when you
see the most lag.

--
Oded



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



Re: Adblock and Tapuz - doesn't work

2007-10-13 Thread Oded Arbel

On Thu, October 11, 2007 12:04 pm, Amos Shapira wrote:
 Also - is there a way to tell Firefox OK, pull that bloody flash but put
 a black/white/aqua-marine patch on top of it so it doesn't pop in front of
  me?

If all you are interested in is blocking the flash content, then Firefox
has several just block flash extensions (the name of any currently
escapes me).

Another approach I had great success with is using a local Privoxy
installation to filter annoying stuff (and it works the same with all
browsers).

-- 
Oded

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



Re: OT: ATI Driver annoucments

2007-09-05 Thread Oded Arbel
On Wed, 2007-09-05 at 09:55 +0300, Hetz Ben Hamo wrote:
 I just got this, and I thought it should interest ATI graphics card owners.

 From: [EMAIL PROTECTED] [EMAIL PROTECTED]

 We also wanted to let you know that Advanced Micro Devices has
 officially announced their new Linux driver this morning, which is a
 overhaul of their existing Linux graphics driver. The AMD fglrx 8.41
..
 been actually in development for over a year, the AIGLX support that
 is coming next month, and other relevant information.

Does that mean that the new fglrx will support AIGLX ? This would be
very good news for the the Dell Inspiron 6400 I'm trying to install
Ubuntu on (although the X1400 chip it is using is not specifically
listed in the Phoronix announcement).

I would very much like to see the new driver in Ubuntu 7.10 as right now
getting Ubuntu to work on this computer is fscking difficult.

[Off-Topic]

 -- 
 Skepticism is the lazy person's default position.

I don't understand - you reference this is a good thing or a bad thing ?
IMHO, both skepticism and laziness are good things(tm).


-- 

Oded


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



Re: Commercial/FOSS C++ dev env for Linux?

2007-09-01 Thread Oded Arbel

On Sat, 2007-09-01 at 08:16 +, Amos Shapira wrote:
 Hello,
 
 We are at this stage were the lead C++ developer needs to switch over
 our mostly ACE-based applications from Windows to Linux and needs a
 GOOD and CONVENIENT debugging environment for multi-threaded
 applications. 

 Can anyone recommend a REALLY USEFUL(TM) debugger for Linux, even
 cheap commercial ones (up to around 100$ per seat)? 

At the time, I was working with kdedevelope from The Kompany (the
product is now called Kode). It was very useful and had very good
project management capabilities (including building make scripts for you
that you could edit w/o breaking the ide) as well as debugging - I think
its using gdb as the backend, but never bothered to find out.

--
Oded


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



Re: Career advice needed

2007-08-31 Thread Oded Arbel

On Fri, 2007-08-31 at 19:39 +0300, Dan Armak wrote:
 On Friday 31 August 2007, Herouth Maoz wrote:
  Do you think that 6-7 months from now, I'll be able to open the
  career supplement of a newspaper, or Job-net, or apply to one of the
  assignment agencies, and find jobs where the skill set required says
  Django? I seriously doubt that. 
 Can you even find jobs, today, where the skills required include Python?

I've been in one such interview (granted they were using Jython mostly),
and have heard of a couple of other such opportunities - but even Perl
jobs are still more in demand and these are also a small minority.

--
Oded


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



Xen to KVM issue

2007-08-28 Thread Oded Arbel
Hi list.

I've used Xen to run a VM on my workstation for testing, but for various
reasons (one of which is that I didn't like the Fedora 7 libvirt UI and
couldn't be bothered to learn the xen command line syntax) I decided
that I want to try out KVM. 
I'm using Fedora 7, and to get a recent kernel I need to use a non-xen
kernel (The latest xen enabled kernel for Fedora 7 is 2.6.20, while the
latest standard kernel is 2.6.22) - so I can use either Xen or KVM.

As KVM (using qemu for IO) supports the Xen image format, I thought I'd
give it a try and load the Xen VM. The VM is a Fedora rawhide from about
a month ago, and have several kernels installed on it. When I try to
boot it with kvm, no matter what kernel I choose, I get these messages
when the kernel loads:

device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
[EMAIL PROTECTED]
  Reading all physical volumes.  This may take a while...
  No volume groups found
  Volume group VolGroup00 not found
Unable to access resume device (/dev/VolGroup00/LogVol01)
mount: could not find filesystem '/dev/root'
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

And that is it. The Xen VM was installed using logical volume
management, and it looks like under KVM it doesn't manage to find it.

If I understood correctly (and I probably haven't), the para-virtualized
Xen VM's kernel was booting using a kernel that is stored on the host's
(domain0) file system, right ? how can I mimic the same situation with
kvm ? qemu command line takes a -kernel parameter that supposedly would
boot the specified kernel image, but I don't know what to give to it and
it doesn't seem to like any of the kernel's under the host's /boot
directory.

Anyway - in case I'm spewing nonsense, feel free to correct me on any
aspect that I was wrong with, and I would also appreciate suggestions as
to how might I boot my Xen VM under KVM.

Thanks in advance.

-- 

Oded


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



Re: Linux sockets binding issues

2007-08-25 Thread Oded Arbel

On Sat, 2007-08-25 at 18:24 +0300, ik wrote:
 I have a server that I'm writing that bind a port to 0.0.0.0, now when
 I disconnect, and quit the server and then re-run the server,
 sometimes (not all of the time) the binding is failing as the port is
 still binded, however netstat -lnp does not show any indication for
 such binding to still be existed, and it takes few seconds until I'm
 able to restart the server without any issues.

I'm not sure, but I think this has something to do with the CLOSE_WAIT
status. If this is indeed the problem, then netstat -a (not -l) would
show your socket in a CLOSE_WAIT status. The problem occurs when one
side (probably the client) didn't close the socket correctly after it
was closed from the other side. There supposedly should be a setting for
changing the CLOSE_WAIT timeout, but I can't find it.

--
Oded


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



How to detect if grub is installed ?

2007-08-24 Thread Oded Arbel
Hi list.

I'm using Ubuntu 7.10 devel on two computers, and on both of them I
dist-upgraded yesterday. After doing that, both computers suggested I
reboot, which I did only on the desktop computer. After reboot the
system wouldn't want to start as it appears that grub was removed for
some reason, and I got a no bootable system error from the BIOS. My
solution was to boot using the Ubuntu desktop CD and choosing boot to
1st harddrive from the boot menu. 

I haven't restarted my laptop and I fear that it'll have the same
problem, and the laptop doesn't have a CD drive (I have a USB connected
drive, but its back at the office which I plan not to visit till
sunday), so how do I detect it ?

I know I can just go ahead and grub-install to be on the safe side, but
I'm kind of QAing this issue and I want to know more about what happened
as its quite a problematic upgrade situation.

Any suggestions ?

TIA

--
Oded


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



Re: How to detect if grub is installed ?

2007-08-24 Thread Oded Arbel

On Fri, 2007-08-24 at 19:00 +0300, Yedidyah Bar-David wrote:
 2007/8/24, Oded Arbel [EMAIL PROTECTED]:
 [grub missing, yada yada], so how do I detect it ?
 
 This is not a definitive answer - you might google and find some more:
 dd if=/dev/xdx count=1 | strings
 If the output contains 'GRUB', very good chances for it to be
 installed there. 

I get the same output, which contains the string GRUB for both the
laptop and the desktop computers - and with the desktop I know that GRUB
won't boot.

 Doesn't the floppy have any other boot device? A floppy? A diskonkey?
 Something?

No floppy in either machine (deprecated, isn't it ?) I can probably
scrounge a DoK from somewhere (my last one was stolen). I only wish
Ubuntu had some tools to deal with boot sectors - they don't even have a
graphical GRUB manager like in every other Linux OS.

Anyway, thanks for the answer - I didn't think about using a disk on
key.

--
Oded



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



Re: Video codecs under debian

2007-08-24 Thread Oded Arbel

On Fri, 2007-08-24 at 01:43 -0700, Yigal Asnis wrote:
 Install VLC player (there is debian package) - it's
 can play probably everything.
 

On Fri, 2007-08-24 at 01:28 +0300, sara fink wrote:
 mplayer also has build in.
 

Both mplayer and VLC use ffmpeg, and both can also use windows DLL. I
suggest you install both ffmpeg, mplayer and VLC and see which does a
better job of playing your video files, and only if all 3 fail (mplayer
uses the system's ffmpeg IIRC, while VLC has ffmpeg packaged) then you
can try the windows codecs package

 On 8/23/07, Ori Idan [EMAIL PROTECTED] wrote:
  I have a debian machine with GNOME with w32codecs installed.
  I am trying to view .WMV files and get errors that I don't have the right
  codecs.
  I tried also viewing several AVI files and got an error that DivX 5 is not
  installed.
 
  What packages should I install?

Do note that w32codecs is a package compiled of binary files (windows
DLLs) that are made entirely of proprietary software. The distribution
of most DLLs that are in the w32codecs package is done without the
permission of the copyright holder, and in some cases is in direct
violation of the explicit license under which these DLLs are made
available to the public.

Side note: the w32codecs package contains DLLs from a variety of
software vendors, including Microsoft. Microsoft's DLL files can be used
legally on one computer, as long as you also have a valid license for a
recent version of MS-Windows (I'm not sure, but I think Windows 2000 or
later) for that computer, no matter where you get them from.

--
Oded


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



Re: Console Renderer

2007-08-24 Thread Oded Arbel

On Fri, 2007-08-24 at 20:45 +0300, Arrav wrote:
 The discussion about the Video Codecs reminded me of some Software that
 Renders certain movie files so they are viewable as either ASCII or ANSI
 (in real time). I loved that program, any one knows of it's name?

Any video player that can render to libaa or libcaca (as mentioned) can
do this. For example, try
mplayer -vo aa movie
or
mplayer -vo caca movie

Its rather useless unless you have a really high line count on your text
console (or text window, if you're using X), and I much prefer libaa
over libcaca - although its monochoromatic, its much less noisy.

--
Oded


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



Re: Israeli anti-spam services?

2007-08-23 Thread Oded Arbel

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

On Thu, 2007-08-23 at 20:54 +1000, Amos Shapira wrote:

 Hello,
 
 A relative of mine is looking for spam filtering service and was
 offered to use CleanPort (by his web host).
 http://www.cleanport.com/
 
 For some reason, he'd prefer to find an Israeli company which gives
 such a service. 
 
 Can anyone recommend such a company?


I don't usually like to tout my own merchandise, but I provide such a
service, using custom made rbl and filters. It usually reserved for
clients of a full hosting package, but I would be happy to provide a
mail only hosting or even just mail filtering and forwarding.

-- 

Oded

--=-DDKiXRq2C6KUo4zd0f9j
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 TRANSITIONAL//EN
HTML
HEAD
  META HTTP-EQUIV=Content-Type CONTENT=text/html; CHARSET=UTF-8
  META NAME=GENERATOR CONTENT=GtkHTML/3.14.3
/HEAD
BODY
On Thu, 2007-08-23 at 20:54 +1000, Amos Shapira wrote:BR
BLOCKQUOTE TYPE=CITE
FONT COLOR=#00Hello,/FONTBR
BR
FONT COLOR=#00A relative of mine is looking for spam filtering 
service and was offered to use CleanPort (by his web host)./FONTBR
FONT COLOR=#00A 
HREF=http://www.cleanport.com/;http://www.cleanport.com//A/FONTBR
BR
FONT COLOR=#00For some reason, he'd prefer to find an Israeli 
company which gives such a service. /FONTBR
BR
FONT COLOR=#00Can anyone recommend such a company?/FONTBR
/BLOCKQUOTE
BR
I don't usually like to tout my own merchandise, but I provide such a service, 
using custom made rbl and filters. It usually reserved for clients of a full 
hosting package, but I would be happy to provide a mail only hosting or even 
just mail filtering and forwarding.BR
BR
TABLE CELLSPACING=0 CELLPADDING=0 WIDTH=100%
TR
TD
PRE
-- 

Oded
/PRE
/TD
/TR
/TABLE
/BODY
/HTML

--=-DDKiXRq2C6KUo4zd0f9j--


=
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: Israeli anti-spam services?

2007-08-23 Thread Oded Arbel
On Thu, 2007-08-23 at 16:28 +0300, Oded Arbel wrote:
 On Thu, 2007-08-23 at 20:54 +1000, Amos Shapira wrote:
 
  Hello,
  
 
 I don't usually like to tout my own merchandise

Sorry, that wasn't meant to be sent to the list. I apologies.

-- 

Oded


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



Re: [OT] Online privacy, police to have free access to IP addresses

2007-08-20 Thread Oded Arbel

slightly less [OT] - read to the end.

On Mon, 2007-08-20 at 02:22 +0200, Moshe Leibovitch wrote:
 I'm wonder if the Israeli law allows you to
 encrypt your communications over public channels.
 I wouldn't shock me to find out the even this discussion is illegal :)

Some relevant links:

http://www.mod.gov.il/pages/encryption/tzofen.asp
http://www.law.co.il/showarticles.php?d=harticle=58
http://www.law.co.il/showarticles.php?d=harticle=132
http://www.law.co.il/showarticles.php?d=harticle=133
http://www.law.co.il/showarticles.php?d=harticle=134

List of encryption means that can be legally (ab)used by the public
without the need for a specific license:
http://www.mod.gov.il/pages/encryption/docs/Free-means.xls (Microsoft Excel 
format)

Note that this list contains specific products (including stuff I
wasn't aware had encryption in it), and - as much as I can see -
doesn't include any open source software. Note that it can be argued
that any open source software by its nature cannot be declared a free
encryption mean according to its definition in the encryption law
(see: http://www.mod.gov.il/encryption/#6 ) as it can be modified and
combined, so any open source software has to be relicensed per
version or compilation or something.

-- 

Oded


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



Re: [OT] Online privacy, police to have free access to IP addresses

2007-08-20 Thread Oded Arbel

On Mon, 2007-08-20 at 22:17 +0300, Ehud Karni wrote:
 I have an (official ?) email from the IMOD Encryption Control
 Director that exempt any individual or company that uses e-mail
 encryption for its own needs, as long as the user or company is
 not in encryption business.

This is very interesting. Not that I doubt the sincerity of the official
from the ministry of defense, but this email - to the best of my
understanding - does not exempt two very common uses of open  source
encryption technology:
  * A consultant (such as yourself) that in a commercial setting helps
another company is setting up encryption based on open source software
(which is not explicitly allowed in the list of allowed means). This
falls under מוכרים.
  * Anyone that hosts a mirror of open source software collection, some
of it uses encryption (like any Linux distribution). This looks to me to
fall under the מפיצים clause in the original email.

As a consultant I find it troubling that by choosing open source
software over commercial software for setting up basic services for
customers (such as encrypted e-mail, backup and/or remote access) I can
find myself in danger of being in violation of the encryption law.

--
Oded


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



Re: rtorrent choking my internet connection

2007-08-11 Thread Oded Arbel

On Fri, 2007-08-10 at 13:03 +0300, Shlomo Solomon wrote:
 On Friday 10 August 2007 11:44, Gadi Cohen wrote:
  Check
  the upstream bandwidth of your package (iirc with 1.5mbps it's only
  128kbps), divide by 8 to get 16Kbps.. and lower a bit for tcp headers,
  etc... means you need to configure your client to cap your global upload
  speed at say 13Kbps... try that and see how you go...
 As I already wrote, the upload speed is under 10 Kb. So that doesn't seem to 
 be the problem.

1.5 Mbps is either 96Kbps or 150Kbps up. The 96 type was being phased
out by Bezeq a few months back so no one should be using it anymore.

I'm using transmission as my torrent client, and I've noticed that when
I use a total upload cap of 6KBps, the actual bandwidth usage on the
network is closer to 15KBps (which is about 120Kbps and is ok for
150Kbps upstream if you're not doing anything else on the internet).
Ktorrent also misses a bit when you set the upstream cap, but not by as
much. I haven't tried rtorrent but it may behave closer to transmission
then to ktorrent.

I suggest you just decrease your upstream throttle until you get good
behavior instead of trying to calculate it. I'm currently using a limit
of 4KBps up and decreasing it further to 2KBps if I want to use other
upstream guzzling software.
You probably also want to experiment with different torrent clients to
find out which is behaving better for your usage (have you tried to
original bittorrent.com client ? I liked the version 4 better then the
current one, but it is a very good client.

--
Oded


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



Re: Webmail like Gmail + encryption

2007-08-09 Thread Oded Arbel
On Thu, 2007-08-09 at 15:07 +0300, Ira Abramov wrote:
 Quoting Kfir Lavi, from the post of Thu, 09 Aug:
  Hi,
  I would like to keep company emails secure and encrypted.
  I would also want encryption. I want all the emails be encrypted
  automatically.

 I have not seen an
 encryption solution on a webmail product that is both conveniant AND
 secure... one almost contradicts the other. the only GOOD solution would
 be a combination extension/greasemonkey script that will automatically
 decrypt incoming mail and force you to encrypt outgoing one at the
 browser's end and that also means it's accessible only from a machine
 that has been set up for it.

One might also say that the email is accessible on any machine where it
has been setup for it, including public terminals - so its not that
secure unless you have tight control of the clients, which kind of beats
the point of having webmail.

-- 

Oded


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



Re: Digital Photo Manager

2007-08-08 Thread Oded Arbel
Just adding a couple of cents.

On Wed, 2007-08-08 at 08:58 +1000, Amos Shapira wrote:
 On 08/08/07, Nadav Har'El [EMAIL PROTECTED] wrote:
 So basically, I'm looking for a photo management application
 for Linux.
 
 I use Digikam for a few years now and am very satisfied with it. 

I'd like to also recommend Digikam


For example, I can add to each picture tags specifying the
 persons in the
picture, location of the picture, and so on, and then, for
 example, search 
for all pictures containing a specific person. F-spot's
 tags are a good
 
 That's exactly why I like Digikam so much - being able to search on
 tags.

I'd like to comment that Digikam tags can be ordered in a hierarchical
fashion - for example, in my albums I have top level people, places
and events tags, and then I have tags for each person I wish to tag,
each place or each event. It makes is very easy to search for specific
things, or just browse around - selecting a top level tag would work as
you expect. Also I really like Digikam's way of tagging images - yes,
you can edit the image and write down tags manually, or - you can
create a tag in the tag tree, and then drag that tag to (one or more)
images or drag images to the tag.

 5. I want a digital photo manager, not a digital camera
 manager, and not a
sophisticated photo editor - for which separate
 applications are available.
 
 Check. I just mount my camera's card through the card reader, import
 to Digikam using import folder and manually erase the photos from
 the card. I think it can manipulate media connected through USB
 directly ( e.g. connect your camera through USB cable and use the
 special communications mode to talk to it)

Yes it does. you can add your camera to Digikam, and whenever you plug
it in you can load Digikam's import dialog which lets you select the
pictures you want to import and either download, delete or download
and delete (which saves time on the whole process, IMHO).

  but I like the manual mount + copy approach, not the least
 because it saves on camera batteries and I think it's also faster as
 I'm not sure my camera (Canon EOS 350D) supports USB 2 at all. 

I have no idea why you think so - on the contrary, minimizing the number
of human actions and hence time spent with the camera on seems to me to
save on batteries. Also - transfer speed has nothing to do with it,
unless you refer to import tools' feature to show you thumbnails of the
images before you import them, but that is optional - you can start to
select and move your photos before the thumbnail generation is complete.

I personally no longer use the Digikam camera import feature. As I use
GNOME as my default desktop, it has the camera import wizard pops up
as soon as I connect my camera and I find it easier and faster to use
that.

 6. Bonus points for an application that doubles as (or is
 only) a Web-
application

 That's one thing I miss in Digikam. I currently use Gallery2 which
 imports photos from the Digikam folders. Gallery has an option to link
 to existing files so it doesn't keep another copy of the image. It can
 manage multiple users with different levels of access defined per
 image or per folder. 

Digikam has several export methods, including the ability to generate
HTML files for upload to website (or directly to your web folder if you
host your web site locally). I use Gallery2 as well, on a remote server,
and Digikam offers an export to remote gallery feature that allows me
to easily upload images to Gallery2.

-- 

Oded


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



Re: Digital Photo Manager

2007-08-08 Thread Oded Arbel
On Wed, 2007-08-08 at 20:43 +1000, Amos Shapira wrote:

 I don't turn the camera on to take the memory card out of it and put
 it back in, so battery time IS saved. 

Ah, good point - I haven't noticed that. I don't have a dedicated SD
reader, but I noticed that when I use my palm as an SD reader, then the
GNOME desktop's camera import wizard still pops up when I stick the
camera's SD card and offers to import photos, so its the same interface
as far as I'm concerned - both pretty cool and incredibly annoying.

-- 

Oded


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



Postfix configuration issue

2007-08-08 Thread Oded Arbel
It might be the time, but I can't wrap my head around this problem:

I have postfix configured as the local MTA for a server that needs to
generate some status emails every day (logwatch, etc'), and mail them to
the administrator's address which is [EMAIL PROTECTED] , and I've setup
an alias:
root:   [EMAIL PROTECTED]

The problem is that the mail server running the mail domain comany.com
doesn't like to receive e-mail from addresses in the form of
server.comany.com (where server.company.com is local host name that is
not visible on the internet) - because it doesn't accept mail from
domains that it can't resolve. So mail from [EMAIL PROTECTED]
to [EMAIL PROTECTED] gets rejected.

I tried to solve the problem by setting postfix's 'myorigin' to
company.com so that postfix will send mail as [EMAIL PROTECTED] which
is meaningless (there is no such e-mail address), but I don't mind and I
can understand what it means and the mail server will be happy (it
doesn't actually verify the user part of From addresses). Problem is
that postfix now refuses to resolve the alias and instead of sending to
the required address, it sends emails from [EMAIL PROTECTED] to
[EMAIL PROTECTED], which of course gets rejected because there is no
such address. This is because the second caveat of the 'myorigin'
setting:

# For the sake of consistency between sender and recipient addresses,
# myorigin also specifies the default domain name that is appended
# to recipient addresses that have no @domain part.

So postfix maps 'root' to '[EMAIL PROTECTED]' and then its no longer a
local address and so it gets sent on the wire.

My current workaround is to set 'myorigin' to valid.company.com, where
valid.company.com is the address of another server whose name can be
resolved on public DNS server. Of course this is bad. 

Can any one suggest a better method of getting my log reports ? I rather
not have an alias for '[EMAIL PROTECTED]' on the mail server - its a good
address for a spam trap, but probably nothing else.

-- 

Oded


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



Re: Postfix configuration issue

2007-08-08 Thread Oded Arbel
On Wed, 2007-08-08 at 17:08 +0200, Moshe Leibovitch wrote:
  The problem is that the mail server running the mail domain comany.com
  doesn't like to receive e-mail from addresses in the form of
  server.comany.com (where server.company.com is local host name that is
  not visible on the internet) - because it doesn't accept mail from
  domains that it can't resolve. So mail from [EMAIL PROTECTED]
  to [EMAIL PROTECTED] gets rejected.

  Can any one suggest a better method of getting my log reports ? I
 rather
  not have an alias for '[EMAIL PROTECTED]' on the mail server - its a
 good
  address for a spam trap, but probably nothing else.
  
 Either define mynetworks to include all local networks thus whitelist
 them or use access list by domain ( with or without wild card ).

I'm assuming your talking about the mail server here ? I rather not mess
with the mail server - lets just assume I don't have control of it - but
in anyway its not local to the network with the private server on it, so
I don't want to white list anything.

 PS Why do try to resolve domains in the first place? If you are
 resolving to check mx then it's a headache since many ISP's
 do not conform to standards. I.e. sending  from servers
 without mx records.

The mail server again ? Lets assume I don't have control of it. But more
to the point - its not checking for MXs. Sending mail or receiving mail
doesn't require an MX. mail to [EMAIL PROTECTED] is valid
even if yada.blabla.something.com does not have an MX record, as long as
the domain itself resolves to an IP address. 

 If you are checking just for valid domains, i.e. with a valid A
 records then again, what exactly will this check tell you?
 Weigh carefully the overhead against the results.

Its a form of enforcing correct behavior, its rather useful against spam
droids and other fake e-mails. I actually can't see how any self
respecting postmaster would use an unresolved name as a the domain in a
From address.

-- 

Oded


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



Re: Postfix configuration issue

2007-08-08 Thread Oded Arbel
On Wed, 2007-08-08 at 18:05 +0200, Moshe Leibovitch wrote:
 On 08/08/2007 16:37, Oded Arbel wrote:
  On Wed, 2007-08-08 at 17:08 +0200, Moshe Leibovitch wrote:
  The problem is that the mail server running the mail domain comany.com
  doesn't like to receive e-mail from addresses in the form of
  server.comany.com (where server.company.com is local host name that is
  not visible on the internet) - because it doesn't accept mail from
  domains that it can't resolve. So mail from [EMAIL PROTECTED]
  to [EMAIL PROTECTED] gets rejected.
  
  Can any one suggest a better method of getting my log reports ? I
  rather
  not have an alias for '[EMAIL PROTECTED]' on the mail server - its a
  good
  address for a spam trap, but probably nothing else.
 
  Either define mynetworks to include all local networks thus whitelist
  them or use access list by domain ( with or without wild card ).
  
  I'm assuming your talking about the mail server here ? I rather not mess
  with the mail server - lets just assume I don't have control of it - but
  in anyway its not local to the network with the private server on it, so
  I don't want to white list anything.
 
 It's all about configuring the server. Am I missing something? If your
 main.cf is configured with the means, then all you need to change are
 the data files G.E access db, header checks db, etc.
 You can change aliases, can you? same thing.

Are you still talking about the company's domain mail server, or about
the private server? If its the former then its not much of an option -
the mail domain is hosted on a shared server and changing its
configuration is out of the question. I can add the [EMAIL PROTECTED]
alias - but I rather not do that as I explained above - and that's
probably the only type of changes that I can do to the mail server.

I'm looking for a possible solution on how to configure the private
server's local MTA so that it can send e-mail to the domain's mail
server (which will be unchanged) without the need to add the private
server's fully qualified host name to a public DNS (which may not always
be possible anyway, as I might want to use servers w/o a fully qualified
host name at all). I'm looking for a general solution that I can deploy
for this problem on multiple private servers that send mail to different
mail servers - most have a similar behavior of blocking emails with what
looks like obviously fake From addresses.

 I though you were talking about using reject_unknown_sender_domain
restriction, not just rbl's.

Yea, its probably that, not that I remember.

-- 

Oded


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



Re: Ubuntu Internet Dialer

2007-07-31 Thread Oded Arbel
On Tue, 2007-07-31 at 16:40 +1000, Amos Shapira wrote:
 On 31/07/07, Michael Vasiliev [EMAIL PROTECTED] wrote:
 On Wednesday July 25 2007, Noam Rathaus wrote:
 
  Anyone with a GUI that does PPP or PPPOE?
 I tied the network button of Gkrellm to pon/poff. Not a
 pppoe-specific gui,
 but exactly what I wanted.
 
 Which reminds me - I've seen high praise for GNOME Network-Manager
 (can be used under other desktop environments).
 
 I never used it but maybe it's an option.

I'm using NetworkManager for a long time, and it is not a desktop
specific tool - it has interfaces for both GNOME and KDE, and I think
for XFCE4 as well. Its a great tool for managing dynamic network
interfaces on desktop machines, and with the correct integration it can
also be used to setup VPNs and modem dialing, but I had no success using
it to control broadband dialers (DSL and cable).

-- 

Oded


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



[Job Offer] Postgresql expert needed

2007-07-29 Thread Oded Arbel
Hi list.

The company I work for needs a consultant to help us optimize postgresql
for our application, and to help us set up replication and stuff like
that. 

We are not offering full time employment (at this time) and we'd prefer
to work with a freelance that is osek murshe and can bill us directly.

Please send me private e-mail with details if you are interested.

TIA

-- 

Oded


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



Re: Ubuntu Internet Dialer

2007-07-25 Thread Oded Arbel
On Wed, 2007-07-25 at 11:38 +0300, Noam Rathaus wrote:
 I finally been able to move my parents to Ubuntu, after much struggles :)
 
 But I was quite amazed to find out that the simplest thing called Internet 
 Dialer found in Windows doesn't exist, there is no shinny GUI, only command 
 line scripts and commands.

There was recently a gnubies-il thread with the same problem, which
appears to be quite common if Google is to be trusted: Ubuntu - which
otherwise is a great desktop operating system with shiny and usable GUIs
for almost anything - is sorely lacking a normal user interface to
broadband dialing (DSL and cable). All other major distros come with one
(I recently had to use Fedora 7's and it was almost perfect, and I know
Mandriva's which I used many times before would be perfect if it was
only slightly less ugly).

Currently to get Ubuntu to dial through DSL you need to run pppoe-conf
from the command line, and then use the command line commands pon
provider and poff provider. One can conceivably setup custom
application launchers for both on the desktop's panel, and in
combination with some network monitor applet that is setup to only
monitor ppp0, it can even be a usable setup.

 Anyone with a GUI that does PPP or PPPOE?

See here
https://blueprints.launchpad.net/ubuntu/+spec/pppoeconfig-gtk-frontend
for the launchpad blueprint for this problem (can't right now find the
bug ticket for this, and its not linked from the blueprint page).
The original RP-PPPOE package linked from the above page, contains a gui
for controlling RP-PPPOE. I don't know how well it works with Ubuntu's
(Debian's) idea of pppoe dialling.

-- 

Oded


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



Re: Hardware Recommendation

2007-07-22 Thread Oded Arbel
On Sat, 2007-07-21 at 08:54 +0300, Ravid Baruch Naali wrote:
 Oded Arbel wrote:
  On Thu, 2007-07-19 at 16:49 +0300, Ravid Baruch Naali wrote:
  Listening to music using skype.
  
 
  Skype ?!?

 Yes I'm using skype, and had some calls to and from
 Korea, If I leave it on the desktop it tends to hang,
 but only the skype application and it doesn't happen
 when iconizing it.

I'm aware that people are using Skype and I'm all for it (hey - they're
an ISV that produces Linux software, more power to them!), I even have
my own Skype account though I haven't used it in a while - I've been
replacing a lot of computers lately and I can't be bothered to do a
couple of clicks to install it. I just wasn't aware that people are
using Skype to listen to music :-)

-- 

Oded


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



Re: Anyone heard of the softpedia 100% FREE award?

2007-07-22 Thread Oded Arbel
On Sat, 2007-07-21 at 21:22 +, Amos Shapira wrote:
 On 21/07/07, Shachar Shemesh [EMAIL PROTECTED] wrote:
 Truth be told, I smell a rat. I googled them up (looked for
 softpedia
 spam), and came up with either an extremely high google rank,
 or an
 extremely low buzz about them. 

 In the mean while, am I a cynical SOB, or are they just
 boosting their
 own traffic and page rank (the reason I mangled the links) by
 awarding, 
 well, awards with no content to them?
 
 Possibly you are right - I also get results about their site way too
 much recently while looking for software - but then this was Windows
 software which I never look for until recently when I? installed the
 first Windows XP at home. The impression I got is that they try to be
 some sort of a twocows-alike software clearing house. 

They come up as decently ranked matches on searches for a lot of free
(as in speech) and Linux software (free and otherwise) and they have
lots of Linux related content (articles and such). I tend to mistrust
them as well, but at the moment they look like a decent software site
with lost of free software related content, which is very good IMO.

-- 

Oded


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



Re: [SUMMARY] Current status of Israeli ISPs

2007-07-19 Thread Oded Arbel
[This is not really a reply to the previous message - I just wanted to
keep the thread id]

Update on Actcom status, specifically the tech support issue.

I had to call Actcom tech support yesterday, complaining that my DSL
connection doesn't work, eventually I found out that the issue was a
hardware problem on my side (my girlfriend rewired the router
incorrectly, connecting the internet port to an unused cable), but I
didn't found it until after I finished with the support person.

After he couldn't get my router to work by having me trying different
settings, the support guy asked me to connect my computer directly to
the modem - at which point he found out that I use a Linux desktop.
Except for a couple of ahmm..s, a query about my choice of
distribution and a recommendation to use Ubuntu, the support guy didn't
seem fazed by my use of Linux. After setting up my Fedora 7 to dial up
to DSL (which was a simple wizard I needed no help with) everything
worked, at which point point the support guy asked for some specific
details to document the incident (operating system type and version,
router model and modem model).

I didn't get specific help for Linux, mostly as I didn't need any, but
the tech support didn't seem to have an issue with me using Linux, and
seemed versed on the subject - at all times he was professional and
helpful - which I can't really say about most tech support calls I've
done over the years, but it was exactly the type of service I was used
to getting under Actcom. I think I recall the guy's name from when I
called tech support before Actcom was bought - so he might be from the
original Actcom tech support team (I didn't ask).

To sum, the tech support still operates behind Actcom's toll free number
(which AFAIK is the only toll free internet support line in Israel), and
still seems clueful about Linux. I don't know about the commercial side
(my current contract expires on August, after which I'll be able to
comment on the issue), but from the support side I have no complaints,
and if the sales department don't mess up my contract renewal I will
remain a customer of Actcom/Bezeq Beinleumi.

-- 

Oded


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



Re: Hardware Recommendation

2007-07-19 Thread Oded Arbel
On Thu, 2007-07-19 at 10:14 +0300, Ravid Baruch Naali wrote:
 The following is my configuration which did not  required any changes:
 CPU: Intel(R) Core(TM) Duo T2350 1.86GHz
 Memory I upgraded to 2G (full capacity)
 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express
 Integrated Graphics Controller (rev 03)
 Other then that I don't think it makes a difference.

What about (in decreasing order of importance)
* wireless networking ?
* sound support ? What type of chipset is the laptop using - in the past
I had some issues with sound under MBs with ICH8, specifically low sound
quality and the inability to turn off the speakers when attaching
headphones.
* Multimedia keys ? the Inspiron 6400 comes with quite a few of those
(http://www.notebookreview.com/default.asp?newsID=3089review=Dell
+Inspiron+6400)
* SD card reader ?
* S-Video output ?

-- 

Oded


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



Re: Hardware Recommendation

2007-07-19 Thread Oded Arbel
On Thu, 2007-07-19 at 16:49 +0300, Ravid Baruch Naali wrote:
  What about (in decreasing order of importance)
  * wireless networking ?

 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN
 Mini-PCI Card
 Using it anywhere around the house.

Did it work for you out of the box ? I use a broadcom based PCMCIA
wireless card and I had to manually extract the firmware from the
windows driver package in order to get it to work.

  * sound support ? What type of chipset is the laptop using - in the past
  I had some issues with sound under MBs with ICH8, specifically low sound
  quality and the inability to turn off the speakers when attaching
  headphones.

 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition
 Audio Controller

AFAIK new computers come with ICH8. I would love to hear some success
stories from people who have ICH8 on their laptops and do not have sound
problems.

 Listening to music using skype.

Skype ?!?

  * Multimedia keys ? the Inspiron 6400 comes with quite a few of those
  (http://www.notebookreview.com/default.asp?newsID=3089review=Dell
  +Inspiron+6400)

 Have them all never tried using them on Ubuntu

Try to start the gnome shortcut manager, choose to edit some shortcut
you don't care about and hit a multimedia key. If it is supported, you
should see something in the shortcut column (possibly something like
0xea). If it doesn't work then you should see nothing changed. You'd
need to click on the shortcut again, to enter edit mode, after each time
it detects a key.

I'd also be interested if you can check how the KDE shortcut manager
likes your multimedia keys.

  * SD card reader ?

 Generic system peripheral [0805]: Ricoh Co Ltd R5C822
 SD/SDIO/MMC/MS/MSPro Host Adapter

Did you try it ? I'm not interested in the specific model - just if it
works.

  * S-Video output ?

 It's integrated in the display controller, also had no experience yet

That's less important - just a nice to have.
-- 

Oded


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



Hardware Recommendation

2007-07-15 Thread Oded Arbel
Hi All.

I'm in the market for a new laptop, and I hope that people on the list
can share their experience with current laptops, specifically in regards
to Linux compatibility and reliability.

I'm interested in spending less money, but still get a brand with good
(preferably world-wide) support - otherwise I'd go with a good Thinkpad
which I know from experience is a great product, so currently I'm
looking at these brands:
HP Pavillon
Compaq Presario
Dell (whatever - can't make heads or tails of their brand names)

Also a couple related questions:
- Did anyone have any success in getting a brand laptop in Israel
without paying the MS-Windows tax ?
- Did anyone manage to get a Dell with Ubuntu installed ? From talking
to some Israeli sales reps that distribute Dell laptops I got mostly
huh?!?s.

Thanks in advance

--
Oded


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



Re: Player similar in function to Winamp.

2007-07-15 Thread Oded Arbel
On Sun, 2007-07-15 at 17:47 +0200, Dotan Cohen wrote:
 On 15/07/07, Dvir Volk [EMAIL PROTECTED] wrote:
  Amarok is a very very good media player and indexer.
  http://amarok.kde.org/
 
 
 XMMP is a winamp clone, but I also second Amarok.

Don't you mean XMMS ? There was something called XMMP, but its dead for
5 years now, and I never was aware that it was meant as a Winamp clone.

XMMS actually supports Winamp skins so you can have it look exactly like
Winamp. Another player with Winamp skin support is Noatun, the old media
player for KDE - now a bit dead as well, mostly due to the popularity of
Amarok.


=
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: Hardware Recommendation

2007-07-15 Thread Oded Arbel
On Sun, 2007-07-15 at 18:11 +0200, ASAF HALILI wrote:
 about the ibm thinkpad, all of the series known as great laptops,
 comfortable to use and very massive computers. 
 if you have the budget, go for it, about the linux support i'm not
 sure.

I've used several Thinkpad models and all support Linux very well,
including support for the special keys, bluetooth, wireless and
possibly even the fingerprint reader (haven't tried it and it isn't
bundled yet with major distros). Didn't have any problem at all in
installation and day to day usage, though the Intel GMA versions might
be a bit problematic if you don't use the most recent X.org version with
the new (and experimental) intel mode setting driver. Also I wasn't
very successful with using 3D acceleration with the ATI versions - even
with ATI's binary driver.


=
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: Fwd: ADSL connection problem

2007-07-05 Thread Oded Arbel
On Thu, 2007-07-05 at 19:17 +0300, Gadi Cohen wrote:
 3) PPPoe on Linux is super easy..  As was suggested download all the
 packages while you still have internet (I don't recall off hand what
 you'll need but I'm sure there are some good HOW-TO's online - for
 starters download any packages matching *pppoe* and their
 dependencies).

You'd need rp-pppoe which is the default pppoe client for most linux
distributions. If your distro is anything more recent then about 2
years, then its internal dial-up configuration management UI will take
care of everything for you. 

 4) Yeah, a router handles everything for you, essentially taking the
 role of your PC doing the routing for your network now...   From my
 experience with the routers I've used until now, none of them handled
 high load so well (high load being bittorrent, so probably loads of
 connections) ... actually I think my newish ADSL router/modem is
 running Linux, but I never took the time to test it's routing.

A lot of routers today use Linux internally, but as suggested
previously, I recommend Linksys WRT54G-L. Linksys is very friendly to
open source and offers all the GPL software that their router runs, on
their web site for free download. Virtually all current alternative
firmware for Linux capable routers are originally based on some Linksys
firmware.

I run WRT54G-L with DD-WRT firmware and I'm very happy with it. It lets
me SSH into the router, setup iptables rules as I like, and has many
features and options. My experience with load on the router is ok - if
you run a busy network behind it (I also manage an office LAN behind
such a router) then you might want to increase some limits on the router
configuration, but that is very easy to do using the web based
interface. I tried several other firmwares, some are pretty advanced and
have cool features such as package management, but I went with DD-WRT
because I wanted to have a web based configuration GUI that is easy and
handles all the important functions.

BTW - there are many other routers that will run alternative Linux
firmware: look at the OpenWRT web site for a complete list, but I
suggest to go with Linksys because they are friendlier to open source -
they even have large stickers saying Open Source inside on their
packages :-)

-- 

Oded


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



Re: Fwd: ADSL connection problem

2007-07-04 Thread Oded Arbel
On Tue, 2007-07-03 at 20:00 +0300, Shlomo Solomon wrote:
 Your suggestion about pinging with different sized packets showed me that I 
 couldn't ping with more than 512 bytes. I set the mtu to 512 and can now send 
 and receive e-mail, surf and even use ktorrent. But there are still problems:
 
 1 - the internet is VERY slow

512 is really low - analog modem style low, and not even modern v.90
modems, but old v.42 modems (which used 768 bytes IIRC). This accounts
for the very slow speed, but it also indicates a very serious problem.
But 512 is too a nice a number to be attributed to line noise, I think.
I would suspect something wacky going on with hardware somewhere -
either your DSL modem or the Bezeq DSLAM.

 2 - Although I can work, none of the other machines on my network (Linux or 
 Windows) can do anything on the Internet. 

You need to make sure that none of the other machines use MTU larger
then 512. Its easy to do automatically by adding a clamp MSS entry to
your iptables masquerading setup: STFW for clamp-mss-to-pmtu.

-- 

Oded


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



Re: Fwd: ADSL connection problem

2007-07-03 Thread Oded Arbel
On Tue, 2007-07-03 at 11:27 +0300, Yedidyah Bar-David wrote:
 On Tue, Jul 03, 2007 at 08:18:01AM +0200, shlomo solomon wrote:
 [snip]
  I contacted 015 and after being instructed to telnet into one of their
  servers and succeeding (telnet 192.114.186.54 110) they said they had no
  idea what to do (we don't support Linux). The only thing they suggested was
  to lower mtu from 1452 to 1420. I tried but it made no difference. Actually,
  I didn't really expect any change since I haven't changed the mtu for the
  last 7 years and saw no reason for the change.
 
 Can you try pinging to places that you do manage to ping to, with
 varying packet sizes (ping -s size)? I think if you get stable results
 with up to some limit, then break, you do need to lower the mta to
 something a bit more than that limit.

Can't tell you anything new, and I had no problems of this kind (ever),
and I don't see any way in which your MTU should change just like that,
but I have to agree with Yedidyah - Your problem description sounds like
a text-book case of misconfigured MTU, and ping -s would tell you
everything you need to know

-- 

Oded


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



Re: Keeping iptables rules across reboots on Debian (lenny) ?

2007-07-03 Thread Oded Arbel
On Tue, 2007-07-03 at 12:23 +0300, Maxim Veksler wrote:
 On 7/2/07, Baruch Even [EMAIL PROTECTED] wrote:
  * Maxim Veksler [EMAIL PROTECTED] [070702 03:32]:
   On 7/2/07, Lior Kaplan [EMAIL PROTECTED] wrote:
   Maxim Veksler wrote:
   
   Use iptables-save to save your current rules as to the iptables rules
   files. It will be loaded on the next reboot using iptables-restore.

 The most basic use case is for a sysadmin to configure rules and
 expect them to survive reboot. This is the behavior he is familiar
 with from nearly every enterprise FW device. Here, on Debian OTOH he's
 instructed to script in /etc/network/if-pre-up.d to have the system
 load iptables rule set on boot, reasonable except for the single issue
 of him required to also _remember_ to iptables-save those rules on
 each modification. I find this process error prone. The is not a
 single utility (AFAIK) in Debian repository to automate this process.

I'm running Fedora, which also no longer saves the rules when the
iptables SysV script is stopped, but it still automatically loads them
when the script is started. Assuming the Debian script is similar, which
I think it is, I can offer the following insights:

*) The SysV script offers the option of save to call iptables-store
for you. The standard sysadmin use case would be to setup the needed
rules, then run '/etc/init.d/iptables save' and then reboot the machine
and the rules will be loaded automatically.
*) The behavior for saving automatically on stop is configurable, but
defaults to off. If you want to go back to the old behavior, then you
only need to change the line in the SysV iptables script that says 
IPTABLES_SAVE_ON_STOP=no
to say yes.

As for the reason - I really suggest that you pursue the changelog entry
for this upstream to make sure, but I for one change my iptables rules
from time to time to test things, and its very hard to make sure that
you revert exactly to the previous version (and remembering to run
iptables-restore after each iptables configuration session /is/ error
prone). You wouldn't want that ad-hoc rules setup for test will be saved
for posterity by mistake.

-- 

Oded


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



  1   2   3   4   5   6   7   8   9   10   >