security/firewall on Linux desktop at home - connection to the Intenet

2017-07-31 Thread Dan Shimshoni
Hi, Linux-il,
My question is about securing the Internet access from a Linux Desktop(at
home)  to the Internet via ISP ; my setup is quite old:
Dlink BR-6504N (IEEE802.11b/g/n) wireless router which is connected to ADSL
bezeq device (in my case it
is quite old - DSL 2500U), but the question is *in general*. The question
is - which firewall
is recommended to be running on the Linux Desktop ? (let's say it is either
Fedora or Ubuntu). Do you rely on firewalld for Fedora and ufw of
Ubuntu ? or do you recommend something else ?
And regarding the Dlink router - do you recommend any other wireless router
with special security features ? what should we pay attention when
purchasing a new wireless router, related to these aspects ? or is it
enough to have the firewall software on the
desktop itself  ?

My main focus here is avoiding intrusion into the Linux desktop, but
avoiding viruses is also important. Is there a (free) good Anti-virus sw
for a Linux desktop that you can recommend?

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


Re: Question about Linux installation and selecting a language

2015-01-12 Thread Dan Shimshoni
Thanks , Oleg


> use a somewhat older Fedora, so YMMV, but in KDE open System Settings
>-> Input Devices -> Keyboard Settings -> Layouts and select what suits
>you (I assume American + Israeli?).

There is no "American English" there! Since the installation was with
British English! what should I do so that "American English" will be
available there ?
regards,
Dan





On Mon, Jan 5, 2015 at 9:19 PM, Oleg Goldshmidt  wrote:

> Dan Shimshoni  writes:
>
> > I had installed Fedora 21 on x86_64 (server, and with kde). When
> > installation started, I selected the language as "british english" and
> > not "American English".
>
> I am guessing the installation chose a British keyboard for you. This is
> a bit surprising because Red Hat, unlike some other distros (we'll
> protect the guilty) usually ask a separate queston about keyboard
> layout.
>
>
> > Now when I log in and press some keys, I get unwanted results.
> > For example, when pressing @ I get the " character.
>
> [snip]
>
> > Any ideas how this problem can be resolved ?
>
> I use a somewhat older Fedora, so YMMV, but in KDE open System Settings
> -> Input Devices -> Keyboard Settings -> Layouts and select what suits
> you (I assume American + Israeli?).
>
> --
> Oleg Goldshmidt | p...@goldshmidt.org
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Question about Linux installation and selecting a language

2015-01-05 Thread Dan Shimshoni
Hi, Linux-IL,

I had installed Fedora 21 on x86_64 (server, and with kde). When
installation started, I selected the language as "british english" and not
"American English".

Now when I log in and press some keys, I get unwanted results.
For example, when pressing @ I get the " character.

Now with the same PC and this same keyboard, with F20 and the default
american english everything is fine, no such problem (I did not try with
british english though).

Any ideas how this problem can be resolved ?

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


Detecting whether a network interface is an SRIOV nic

2014-05-27 Thread Dan Shimshoni
Hi,
Is there a way to detecting whether a network interface is an SRIOV nic
in a given machine (by some userspace command )?

To be more specific:
I know of course that you can find the name of the driver and google for
its feature, but is there some userspace tool which can check it ?

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


Linux on Haswell

2013-06-20 Thread Dan Shimshoni
Hello,
I am thinking to buy a Haswell machine.

Does anyone has any experience with Linux on Haswell?
Can he/she describe which distro was installed? and were there any issues
with it ?

Thought it seems that there should be no problems, I saw some threads about
people who encountered
critical severe problems with Fedora on Intel 4770 (which is codename
Haswell):
https://lists.fedoraproject.org/pipermail/users/2013-June/436452.html

http://processors.findthebest.com/l/1033/Intel-i7-4770

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


Re: SSD drives

2012-12-31 Thread Dan Shimshoni
Hi,
>(Second bricked SSD in 12
>months)
>A *very* short power shortage crept under my APC UPS and >bricked the SSD.

I wonder: did bricked SSD problem happened to anyone else
reading this message?

And a question: I don't know much about UPS and electricity, but would
a protector like the following avoid the problem?
Or is the protector functionality  is embedded in the UPS?

http://www.zap.co.il/search.aspx?keyword=GPT%20protector


rgs
DS


On Mon, Dec 31, 2012 at 9:27 AM, Gilboa Davara  wrote:
> A *very* short power shortage crept under my APC UPS and bricked the SSD.

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


Re: SSD drives

2012-12-30 Thread Dan Shimshoni
Thanks!

Which File System  do you have on your SSD, if I may ask ?

DS

On Sun, Dec 30, 2012 at 8:46 AM, shimi  wrote:
>
>
>
> On Sun, Dec 30, 2012 at 6:26 AM, Dan Shimshoni  wrote:
>>
>> Hi,
>>
>> 2 Questions about SSD drives:
>>
>> First, I would appreciate of someone who has SSD disk will
>> run
>> hdparm -t /dev/sda
>> and post the results here. (In the spirit of the recent thread about
>> HW for linux).
>>
>> I have
>> /dev/sda:
>>  Timing buffered disk reads: 586 MB in  3.01 seconds = 194.68 MB/sec
>> And it interests me to compare results
>>
>>
>
> An almost two years old Intel X25-E :
>
> # hdparm -t /dev/sda
>
> /dev/sda:
>  Timing buffered disk reads: 714 MB in  3.01 seconds = 237.40 MB/sec
>
> # uname -a
> Linux matrix 3.6.2-gentoo #1 SMP PREEMPT Sun Oct 21 22:49:01 IST 2012 x86_64
> AMD Phenom(tm) II X4 955 Processor AuthenticAMD GNU/Linux
>
>
>>
>> Does a result of, let's say, 400  MB/sec, which is double speed comparing
>> the
>> above result, will boost a task of building a linux kernel (on a dual
>> core machine)
>> in about 1.5 or 2?
>>
>
> I really don't think so. SSDs (IMHO) makes computer much faster due to the
> VERY low seek time - the time it takes you to get a block. Compare 10-20ms
> with ~0.1ms. A regular hard drive simply wastes a lost of time seeking the
> data, instead of... reading it :) When you work with a lot of files, getting
> to the file fast makes a tremendous difference. This is similar to the
> reason why browsing websites which are close to you network-wise is much
> faster - even though the bandwidth you have is the same - the client/server
> latency due to the network affects the time it takes you to negotiate
> (compare to 'seek') with the server the content you want. The more objects
> you want, the higher the latency, the slower the site will load. This is why
> using CDNs and reducing the number of HTTP requests (e.g. by using CSS
> Sprites) - help a lot in speeding websites.
>
>>
>> Second question:
>> I must admit that I am a newbie with SSD, so this question might seem
>> obvoious to others:
>> I saw that inner SSD disks, which are sold in stores like KSP/Ivory,
>> are in laptop form factor (2.5'').
>>
>> Is there some reason that there are no inner 3.5'' disks for Desktops
>> (there
>> are extenal SSD which can be , so I believe, used with desktops) ?
>
>
> Hard Drives have a reason to be large - they have a platter that occupies
> space. If you reduce the platter size, you need to enlarge the density, or
> add more platters - which adds thickness, noise, heat, and lowers your MTBF.
> Electronics nowdays are small and doesn't need all that... There's no point
> in making a large chassis just for the purpose of a large chassis...
>
>
>>
>> Is there something which prevent us from connecting 2.5'' inner SSD to
>> a desktop (I mean STAT2- based or SATA3-based)  ?
>>
>
> Not really. The SATA is the same. Your only issue is fixating the drive to
> your PC chassis. Some computer cases have a special place for 2.5" drives
> for SSD (like my Antec 1200). Alternatively there are 3.5"->2.5" adapters.
> But learn from someone who made a mistake (me ;)) - check before you buy
> that they're compatible with the screws location of the SSD.
>
> HTH,
>
> -- Shimi
>

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


Re: SSD drives

2012-12-30 Thread Dan Shimshoni
Lior,
- Can you please specify vendor and model of your SSD drive ?
second - which File System  do you have on it ?
DS

On Sun, Dec 30, 2012 at 8:45 AM, Lior Okman  wrote:
>
>
>
> On Sun, Dec 30, 2012 at 6:26 AM, Dan Shimshoni  wrote:
>>
>> Hi,
>>
>> 2 Questions about SSD drives:
>>
>> First, I would appreciate of someone who has SSD disk will
>> run
>> hdparm -t /dev/sda
>> and post the results here. (In the spirit of the recent thread about
>> HW for linux).
>>
>> I have
>> /dev/sda:
>>  Timing buffered disk reads: 586 MB in  3.01 seconds = 194.68 MB/sec
>> And it interests me to compare results
>>
>
> I have :
>
> hdparm -t /dev/sdc
>
> /dev/sdc:
>  Timing buffered disk reads: 988 MB in  3.00 seconds = 329.27 MB/sec
>
>
>>
>>
>> Does a result of, let's say, 400  MB/sec, which is double speed comparing
>> the
>> above result, will boost a task of building a linux kernel (on a dual
>> core machine)
>> in about 1.5 or 2?
>>
>> Second question:
>> I must admit that I am a newbie with SSD, so this question might seem
>> obvoious to others:
>> I saw that inner SSD disks, which are sold in stores like KSP/Ivory,
>> are in laptop form factor (2.5'').
>>
>> Is there some reason that there are no inner 3.5'' disks for Desktops
>> (there
>> are extenal SSD which can be , so I believe, used with desktops) ?
>> Is there something which prevent us from connecting 2.5'' inner SSD to
>> a desktop (I mean STAT2- based or SATA3-based)  ?
>>
>
> SATA connectors for 2.5 and 3.5 drives are the same (power as well as data).
> You can mount your 2.5 drive in a desktop, but if you don't have any 2.5
> bays (which are available in some enclosures specifically for SSD drives),
> there are kits of 2.5 to 3.5 brakets you can buy (e.g.,
> http://www.newegg.com/Product/Product.aspx?Item=N82E16817994085 ).
>
>>
>> DS
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>

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


SSD drives

2012-12-29 Thread Dan Shimshoni
Hi,

2 Questions about SSD drives:

First, I would appreciate of someone who has SSD disk will
run
hdparm -t /dev/sda
and post the results here. (In the spirit of the recent thread about
HW for linux).

I have
/dev/sda:
 Timing buffered disk reads: 586 MB in  3.01 seconds = 194.68 MB/sec
And it interests me to compare results


Does a result of, let's say, 400  MB/sec, which is double speed comparing the
above result, will boost a task of building a linux kernel (on a dual
core machine)
in about 1.5 or 2?

Second question:
I must admit that I am a newbie with SSD, so this question might seem
obvoious to others:
I saw that inner SSD disks, which are sold in stores like KSP/Ivory,
are in laptop form factor (2.5'').

Is there some reason that there are no inner 3.5'' disks for Desktops (there
are extenal SSD which can be , so I believe, used with desktops) ?
Is there something which prevent us from connecting 2.5'' inner SSD to
a desktop (I mean STAT2- based or SATA3-based)  ?

DS

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


Re: Home made NAS

2012-12-05 Thread Dan Shimshoni
Hello, Nadav,
> Instead, I decided to buy a 2-terabyte WD My Book Live for >$160.
>For this price, I got both the 2TB hard-disk and a tiny (ARM-> based server in 
>one package.

What do you mean by "ARM-based server" here ? I don't sure
I understand. Does this product include some tiny ARM server?
Do you have access to this server by telnet/ssh, and is there a BSP
open source package ? I see you have ethernet connection there.
I look in WD site, and I don't see that they mention an ARM
based server there:

http://wdc.com/en/products/products.aspx?id=280


Can you please give a link/elaborate about the product you are talking about ?

rgs
DS

For this price, I got both the 2TB hard-disk and a tiny (ARM-based)
server in one package.

On Tue, Dec 4, 2012 at 1:08 PM, Nadav Har'El  wrote:
> On Tue, Dec 04, 2012, David Suna wrote about "Home made NAS":
>> I have a bunch of old machines lying around which are currently just
>> collecting dust.  I would like to collect the disks from all of
>> them, put them together into a single server to act as a file server
>
> A couple of years I started doing something similar to what you are planning.
> I took an old computer, and stuck in it a bunch of hard disks I had from
> previous years - one was 1 terabyte, another 300 gigabyte, and a third
> 80 gigabytes. The computer ran Linux, and served files (mostly CDs and DVDs)
> on my home network with NFS and Samba.
>
> But then I realized how annoying this setup was: the computer was very big,
> noisy, and had to be on all the time. The old disks (especially the 80
> gigabytes) were a joke, and I all three disks summed together were
> smaller than a just new disk I could buy.
>
> Instead, I decided to buy a 2-terabyte WD My Book Live for $160.
>
> For this price, I got both the 2TB hard-disk and a tiny (ARM-based)
> server in one package. The package is 10 times smaller than my old computer,
> nearly silent, and uses up less electricity, and came preconfigured with
> the server software (it runs Linux, but you don't have direct access to
> it).
>
> So in my opinion, unless you're completely broke, and/or treating this
> as nothing more than an educational experience, building a NAS out of
> old equipment is waste of your energy.
>
> --
> Nadav Har'El|  Tuesday, Dec 4 2012, 20 Kislev 5773
> n...@math.technion.ac.il 
> |-
> Phone +972-523-790466, ICQ 13349191 |If you notice this notice, you'll notice
> http://nadav.harel.org.il   |it's not worth noticing but is noticable.
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

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


Question about process states, ps and GDB

2012-12-02 Thread Dan Shimshoni
hello,

I have a question about process states:

I have this simplified code which I run under gdb.

#include 
int main()
{
int i;
for(i=0; i < 10; i++)
printf("Hello, world!\n");

pause();
return 0;
}

I build on x86_64 (fedora 17) with gcc -g hello.c -o hello.
And then:

gdb --quiet hello
Reading symbols from /work/dev/t/sec/hello...done.
(gdb) break main
Breakpoint 1 at 0x400534: file hello.c, line 7.
(gdb) run
Starting program: /work/dev/t/sec/hello

Breakpoint 1, main () at hello.c:7
7   for(i=0; i < 10; i++)
Missing separate debuginfos, use: debuginfo-install glibc-2.15-58.fc17.x86_64
(gdb)


Now with "ps aux | grep hello" I see two processes:
root 10310  0.0  0.7 196432 15188 pts/1S+   14:42   0:00 gdb
--quiet hello
root 10333  0.0  0.0   4108   344 pts/1t14:44   0:00
/work/dev/t/sec/hello

S is for  Interruptible sleep

I assume that the "t" is for process state of "TRACED". Am I right?

Strangely, in the man page there is no lowercase "t" for traced (or
anything else),  only "T".

Could it be that this is an error in the man page ?? (strange, it
should have been noticed before)

from "man ps":
...

PROCESS STATE CODES
   Here are the different values that the s, stat and state output
   specifiers (header "STAT" or "S") will display to describe the state of
   a process:
   Duninterruptible sleep (usually IO)
   Rrunning or runnable (on run queue)
   Sinterruptible sleep (waiting for an event to complete)
   Tstopped, either by a job control signal or because it is being
traced.
   Wpaging (not valid since the 2.6.xx kernel)
   Xdead (should never be seen)
   Zdefunct ("zombie") process, terminated but not reaped by its
parent.

   For BSD formats and when the stat keyword is used, additional
   characters may be displayed:
   

USB Mug Warmer [OT]

2012-08-18 Thread Dan Shimshoni
Hi,

Did anyone have a real experience with  Mug Warmer USB gadget?
I mean, except for the fun of it, did anybody try to
heat and drink tea with it ?

It seems to me that it does not get higher temperatures
than 40-50 Celsssius ? is it good enough?

just for example,
Satzuma USB Mug Warmer,

http://ksp.co.il/?uin=15311

rgs
DS

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


Jedit and hebrew

2012-06-22 Thread Dan Shimshoni
Hi, linux il,

Until recently I had used JEdit editor (http://www.jedit.org/) on
Linux with a stable version (4.2 final) and hebrew worked perfectly
out of the box, without installing any plugin.

I had installed  to  a new version of Jedit  - 4.5.2 (this is a
"stable" version).

There are hebrew letters.
However, I cannot write hebrew properly now (The direction is from
left to right, opposite to what was before)

Does anybody knows anything ?
(And please avoid suggesting vi/vim/emacs/nano/ or any other editor!)

rgs,
Dan

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


Creating a partion with mkfs.ntfs and not seeing it in windows 7 - why ?

2012-03-03 Thread Dan Shimshoni
Hi,
I create a partition in Linux (on a dual boot Fedora/windows 7  machine) by
mkfs.ntfs /dev/sda6

The operation succeeded ok.
I can see the NTFS partition in linux by fdisk -l.

However, when I booted into windows 7 on this machine I could not
see that partition in windows explorer nor in "disk management"

Any ideas what is the reason ? what should I do to be able
to see this partition in windows ?
I know that I can format a partition in windows, but as
far as I understand, this should be also possible to create
a windows partition from Linux and see it in windows.

rgs,
DS

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


Re: Universal docking station and Linux

2011-08-29 Thread Dan Shimshoni
Hi,

> You might be better of with just a high quality self powered USB hub.
> Kensington makes a nice 7 port one, and BUG sells them for under 200 NIS.
>

Well, I thought about it. Yet it seems to me that putting the laptop
in a docking station is much more comfortable than each time
to connect a USB mouse and keyboard and connect an HDMI/DVI cable.
Don't you think so ?
rgs,
DS

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


Universal docking station and Linux

2011-08-28 Thread Dan Shimshoni
Hi,

I want to buy a Universal docking station which should work with two (or more)
laptops which both have dual-boot Linux/Windows on them. One is
Lenovo, the other is Dell.

I had found many such solutions;
one which seems suitable and in reasonable price is:

Level one UDS-1000  
USB 2.0 Docking Station

http://global.level1.com/product_d.php?id=316
which is available in some israeli online stores

However, the official site says:

"Easy installation and compatible with Windows 98SE/ME/2000/XP
Version 2.0 compatible with Mac 10.3/10.4".

It does not say anything about Linux.

(what a shame!(

So I have two questions:
1) Does anybody have any experience with universal docking station ?
(I am not specifically
talking about this model). I would appreciate if he/she can share his
experience.
2) More specifically, I would appreciate if somebody can comment about
his experience with
Linux and universal docking station ?

regards,
DS

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


August penguin 2011

2011-07-23 Thread Dan Shimshoni
Hi,
According to:
http://wiki.hamakor.org.il/index.php/
entrance is by paying to PayPal.

question: will it be possible to but a ticket by cash at that day ?
The advantages of PayPal are clear; still, there are some who don't
have a PayPal account.

regards,
DS

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


Re: sending mail from the command line

2011-05-10 Thread Dan Shimshoni
Thanks!
I use sendmail.
I see this in /var/log/maillog:

 localhost sendmail[4900]: p4AEvbvW004900: to=danshi...@gmail.com,
ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:00, mailer=relay,
pri=30225, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent
(p4AEvcRG004901 Message accepted for delivery)

it says stat=Sent, yet I do not get that mail.
I suppose this is some sendmail conf problem.
Did anyone have tips on sendmail configuration? there seems too much
about it on the web for simple configuration (for me it is enough only
to send mail, don't need to receive with sendmail)


On Tue, May 10, 2011 at 2:29 PM, Jonathan Ben Avraham  wrote:
> Hi Dan,
> Check the configuration of the email server on the machine on which you are
> working. It might be not configured or it might be misconfigured. In this
> case, it will be happy to accept your email sent using "mail" but wont know
> what to do with it and wont even be able to tell you.
>
> Start by looking at /var/log/maillog (for Sendmail installations) or
> /var/log/mail.log (commonly used in Postfix installations).
> Hag Sameach,
>
>  - yba
>
>
> On Tue, 10 May 2011, Dan Shimshoni wrote:
>
>> Date: Tue, 10 May 2011 14:17:15 +0300
>> From: Dan Shimshoni 
>> To: linux-il 
>> Subject: sending mail from the command line
>>
>> I am trying this from a Linux machine which is connected to the
>> internet via PPPoE ( for the test, no firewall):
>> mail -s "test" danshi...@gmail.com < /dev/null
>>
>> and also this
>> mail -s "test" danshi...@gmail.com
>> enter
>> add some text
>> enter
>> ctrl-d
>>
>>
>> I don't get any mail in danshi...@gmail.com.
>>
>> What is wrong here ? what should I do in order to send successfully an
>> e-mail from the command line with "mail" ?
>>
>> DS
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
> --
>  EE 77 7F 30 4A 64 2E C5  83 5F E7 49 A6 82 29 BA    ~. .~   Tk Open Systems
> =}ooO--U--Ooo{=
>     - y...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>

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


sending mail from the command line

2011-05-10 Thread Dan Shimshoni
I am trying this from a Linux machine which is connected to the
internet via PPPoE ( for the test, no firewall):
 mail -s "test" danshi...@gmail.com < /dev/null

and also this
 mail -s "test" danshi...@gmail.com
enter
add some text
enter
ctrl-d


I don't get any mail in danshi...@gmail.com.

What is wrong here ? what should I do in order to send successfully an
e-mail from the command line with "mail" ?

DS

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


Using two same shared libs

2011-04-02 Thread Dan Shimshoni
Hi,
For development and debugging needs I created my own version of libpam.so.0.
I want to run my application with this verson of libpam.so.0.
However, I don't want to replace /lib64/libpam.so.0  with
the libpam.so.0 I created, since it is from a dirrenet release of
libpam, and it will probably make problem with other essential programs
which uses it, like "/bin/login". Even if not, I would really want to get
an answer to this question: can you tell an application you run (let's
say it is
called "myapp") to use
a specifed library (which is located **not** in the default place for libraries,
like /lib or /lib64/, but elsewhere, like /work/myLibs? )
and assuming that other programs, which are running and cannot be stopped,
like login, are using a library with the same name, like libpam.so.0 in this
case?)

DS

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


Re: Suggested lecture: From VxWorks to Linux

2010-12-01 Thread Dan Shimshoni
Hi,
I don't know much about preempt RT;
I assume that you are suggesting to give this lecture at Herzelinux ;
in case this is the case,  this should be a great idea!

rgs,
Dan



2010/12/1 Raz :
> Gilad Shalom
> I have prepared few papers and a session about Linux Preempt RT.
>
> 1. What is Linux preempt RT .
>    A presentation and a paper
> 2. Live Demo of preempt RT versus non preempt RT kernel -
>  on my laptop. a bootable USB that boots preempt rt.
> 3. Test Case. Can Preempt RT replace Vxworks as a hard real time system
>    A presentation
> 4. Interview. A transition from Vxworks to Linux. what does it mean .
>   A paper
>
> Anyone who experienced with preempt RT is more than welcome to share his
> experience.
>
> Raz
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>

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


rdesktop question ( using Linux in a windows environment.)

2010-11-27 Thread Dan Shimshoni
Hi, linux-il,

This question might seem a bit not related to Linux; However,
it is a real problem which I face daily as a result of that I am
trying to use Linux in a windows environment. So I hope you can advice.

The problem description:
I am using Linux station in a company which is windows-oriented;
namely, most desktops are windows. I also have a windows desktop.
Most of the day I sit in an office which is in on another floor
from where my windows desktop is. I need to access the windows machine
quite often for many tasks (for example, reading mail, as the sysadmin
did not agree to install
install/configure a mail client on the linux machine because this is
the policy here).

So I use rdesktop from linux to windows. The trouble with this is that
every 10 minutes or so, if I do not perform any action in windows, the
rdesktop connection is disabled and I have to open a new session
of rdesktop. And this is quite annoying ! And I don't have an administrative
permission to my windows machine, so I cannot change it.

So my question is: is there some workaround ? for example, some
windows application which will be awakened every 5 minutes to let the windows
machine think that there was some action on windows, and thus the rdesktop
session will not finish ?

Regards,
DS

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


Re: Wireless connection to a remote station

2010-06-04 Thread Dan Shimshoni
Hi, Moish and thanks for your answer.

> By definition, you just need to connect the repeater to power and > that's it.

I would like to be sure that I got you right:
1) Didn't you made any setup (via the web interface) to the router you
term "the repeater" ?

2) Did you connect the wireless router (that you term "the repeater")
to the PC (or other router) by Ethernet cable or not?


rgs,
DS

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


Wireless connection to a remote station

2010-06-03 Thread Dan Shimshoni
Hello,

This is a bit uncommon question:
  - I have a PC running linux in a basement which is quite far from
the Access Point of the house.
I want to take advantage of this place to work and to be able to connect
to the Internet from this PC in this quite corner.
I cannot see the wireless Access Point while scanning with this PC. I tried to
connect a long USB cable with a USB wireless NIC,
but I get USB errors while using it. I know I can try to move the
wireless Access Point
closer, but I am afraid that other PCs (which also run Linux) will
then suffer lose of wireless
connection. I really want to solve my problem without moving it.
so my question is: What do you advise ? can  I use the exisiting infrasturcture
without changes (only additions are OK) to be able to connect to the internet?

Can I somehow connect a second wireless Access Point by ethernet cable, and then
connect that Access Point (by wireless) to the first, main Access
Point ? (something like a bridge).
I saw something which is called
Wireless Distribution System (WDS)
http://en.wikipedia.org/wiki/Wireless_Distribution_System

Could I use this ? is there any wireless Access Point which
is sold in local stores in Israel which supports this feature ?

Rgs,
DS

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


ntpdate and Israel local time

2010-05-27 Thread Dan Shimshoni
Hello,
  On my desktop at home, when I want to to update the local time (I
live in israel) I run:
ntpdate -s ntpserver.huji.ac.il
And it work OK.
However, there is a server at my work place which I am responsible
for. When I run:
ntpdate -s ntpserver.huji.ac.il
it sets the time to 7 hours earlier (I mean, instead 19:00, it is 12:00).
I assume this has something to do with Time zones, but this machine
has no X windows installed at all so I don't have a GUI for setting time zones.
What causes this error ?
What should I do ? any advice ?

rgs,
DS

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


Re: GPRS modem for embedded Linux

2010-04-24 Thread Dan Shimshoni
Hi,
  - In which stores  this modem sold in stores ?  ?
I grepped for  EZ10 in zap.co.il and found no such devices
see
http://www.zap.co.il/search.aspx?keyword=EZ10

rgs,
DS

2010/4/23 Noam Koren :
> On 22/4/10 2:36 PM, Constantine Shulyupin wrote:
>
> Hi,
>
> Can anybody recommend GPRS modem for embedded Linux?
> "for embedded Linux" means simple, cheap, durable.
>
> Currently I integrate AirPrime Fastrack GO GPRS modem. It is USB ACM device.
> I suppose there are better solutions.
>
> Thanks
>
>
>
> Hello,
>
> Telit offers both embedded and external cellular modems (I think the
> external modem is called "EZ10"). I have good experience with both, but I do
> not know how they compare with the solution that you are currently using
> both in terms of performance and price.
>
> Hope this helps,
> Noam
>
> http://www.konotech.com
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>

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


Re: WAN connection through a Linux machine

2010-04-20 Thread Dan Shimshoni
ok, now this is more clear.

But is this problem specific to this scenario?
I mean, when I use a single machine to connect directly to the
internet via bezeq ADSL , without running any iptables rules at all,
using PPPOE ,  I should have the same problem, don't I ?
Is there a solution in this case ? (remember, I cannot use this
iptables "clamp-mss-to-pmtu"option as in this scenario in fact I do
not use iptables at all).

Second, ifconfig ppp0 shows that the mtu is 1492.

DS

On Tue, Apr 20, 2010 at 1:56 PM, Shachar Shemesh  wrote:
> Dan Shimshoni wrote:
>
> shachar,
> I googled for  "MSS Squashing". Got 0 results!
>
> What is this "MSS Squashing"? and how is it related to this issue?
>
> rgs,
> DS
>
>
>
>
> The term used in the iptables man page is "clamp-mss-to-pmtu"
>
> The ethernet maximal transfer unit (MTU) is 1500 bytes (more or less, but in
> practice, this is the default). Since pppoe has some overhead, the effective
> MTU on ppp0 is lower (about 1470 bytes). Packets sent out by your machine B
> broadcast the desired packet length on the return path through a TCP option
> called MSS (maximal segment size).
>
> Theoretically, TCP will figure out on its own that the path MTU (PMTU) is
> lower than the end MTU as advertised by the MSS. This has two disadvantages:
> 1. It has worse performance than advertising the correct number in the MSS
> to begin with
> 2. Some firewalls block the ICMP message used to report this case (code 3
> type 4 - "fragmentation needed but don't fragment set"). As a result, you
> get "black hole" syndrom.
>
> The solution is to have iptables alter the MSS field of the TCP option to
> the value it knows is correct.
>
> Shachar
>
> --
> Shachar Shemesh
> Lingnu Open Source Consulting Ltd.
> http://www.lingnu.com
>

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


Re: WAN connection through a Linux machine

2010-04-20 Thread Dan Shimshoni
shachar,
I googled for  "MSS Squashing". Got 0 results!

What is this "MSS Squashing"? and how is it related to this issue?

rgs,
DS



On Tue, Apr 20, 2010 at 10:44 AM, Shachar Shemesh  wrote:
> Etzion Bar-Noy wrote:
>
> Oops - and now with reply-all...
> Hi.
> You should run both these commands (I will not disclose how you make it
> apply after-reboot for now)
> 1. echo 1 > /proc/sys/net/ipv4/ip_forward
> 2. iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
> Don't forget to set correct DNS on your host B
> Ez
>
> Also, RTFM MSS Squashing
>
> Shachar
>
> --
> Shachar Shemesh
> Lingnu Open Source Consulting Ltd.
> http://www.lingnu.com
>

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


Re: WAN connection through a Linux machine

2010-04-20 Thread Dan Shimshoni
Hi,
  Well, this did not work at the first trial.
Then, I added 192.168.0.10 as a default gateway on 192.168.0.10 :
route add default gw 192.168.0.10
And it worked
Thanks!
DS


On Tue, Apr 20, 2010 at 9:35 AM, Etzion Bar-Noy
 wrote:
> Oops - and now with reply-all...
> Hi.
> You should run both these commands (I will not disclose how you make it
> apply after-reboot for now)
> 1. echo 1 > /proc/sys/net/ipv4/ip_forward
> 2. iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
> Don't forget to set correct DNS on your host B
> Ez
> On Tue, Apr 20, 2010 at 8:29 AM, Dan Shimshoni  wrote:
>>
>> Hello,
>> First, I don't know much about iptables.
>>
>> Second, I have a Linux machine ("A") with two nics, which is connected
>> to the Internet via Bezeq ADSL router.
>> This machines runs a pppoe connection to the intenet, so the
>> connection is done via ppp0.
>> On eth1 I have an inner IP address which I set manually (192.168.0.10).
>>
>> I have a second Linux machine ("B"), nearby. This machine is connected
>> directly
>> to machine "A" via ethernet cable. On eth0 I have an inner IP address
>> which
>> I set manually (192.168.0.11). So I can ping from 192.168.0.11 to
>> 192.168.0.10.
>>
>> Sometimes I want to connect from machine "B" to the Internet via machine
>> "A".
>> I suppose this is possible by setting some iptables rule on machine "A",
>> and
>> setting it to work in forwarding mode. Could this done by setting one
>> iptables rule
>> on machine "A"?
>> What is the proper rule to achieve it?
>>
>> DS
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>

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


WAN connection through a Linux machine

2010-04-19 Thread Dan Shimshoni
Hello,
First, I don't know much about iptables.

Second, I have a Linux machine ("A") with two nics, which is connected
to the Internet via Bezeq ADSL router.
This machines runs a pppoe connection to the intenet, so the
connection is done via ppp0.
On eth1 I have an inner IP address which I set manually (192.168.0.10).

I have a second Linux machine ("B"), nearby. This machine is connected directly
to machine "A" via ethernet cable. On eth0 I have an inner IP address which
I set manually (192.168.0.11). So I can ping from 192.168.0.11 to 192.168.0.10.

Sometimes I want to connect from machine "B" to the Internet via machine "A".
I suppose this is possible by setting some iptables rule on machine "A", and
setting it to work in forwarding mode. Could this done by setting one
iptables rule
on machine "A"?
What is the proper rule to achieve it?

DS

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


print a map from firefox

2010-03-06 Thread Dan Shimshoni
Hello,
  I had encountered this problem several times: I want to print a map
from firefox (as there is no internet explorer on my linux machine).
I am talking about maps of street in Israel cities.
When I go to sites like http://ymap.winwin.co.il or other sites and
try to print
a map via the "print version" icon (גירסה להדפסה), I get an empty
page. So is the case with "print preview" - it shows an empty page.
Does anyone knows about a site for maps of Israel cities where the
print option work
correctly and yields a reasonable result ?

rgs,
DS

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


Re: driver of poliview pt725a

2010-03-02 Thread Dan Shimshoni
hi,
>*only* digital connector

It might be a silly question, but to be sure: what do you mean by
">*only* digital connector"? do you mean only VGA connector ? can you
please elaborate a bit ?
rgs,
DS


On Wed, Mar 3, 2010 at 12:05 AM, Oron Peled  wrote:
> On Tuesday, 2 בMarch 2010 15:51:02 sara fink wrote:
>> I tried to install mandriva on a pc and tackled a problem with the video
>> driver of the screen poliview pt725a . When I get to the login screen it
>> asks user & password and then I get a screen that it doesn't support 3d
>> desktop effects. I tried various drivers during the installation but
>> couldn't find an appropiate one. Anyone has experience with this monitor?
>> Which driver should be used?
>
> 1. I googled for this model and it looks like an LCD screen with normal VGA
>   adapter. In this case, there's no special driver for the screen. You should
>   check the VGA chipset (the output of lspci), and see if this chipset
>   has a driver with 3D support.
>
> 2. My first (seemingly wrong) suspition, was that it's one of the new fangled
>   screens that have *only* digital connector -- NEVER BUY THESE!
>
> --
> Oron Peled                                 Voice: +972-4-8228492
> o...@actcom.co.il                  http://users.actcom.co.il/~oron
> Gratis is nice, Libre is an inalienable right.
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>

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


Re: OT: BeagleBoard

2010-02-28 Thread Dan Shimshoni
Hello,
  Thanks , Gilad, I was not aware of that is was missing Ethernet.
Ethernet is a must for me. I found out now that there is also no
wireless in BeagleBoard.  Is it also a disadvantage.

I found that the BeagleBoard price (150$) is quite attractive
comparing to other boards.

> I found it very useful, maybe you too:
>
> Check them out: http://www.variscite.com/

Thanks for this link.
I must add that I am quite a newbie in this. I saw in their homepage
a variety of products. Any idea if I should look for
similar board to the Beagle (same SoC) in their evaluation kits
section (like VAR-DVK-OM35, VAR-DVK-MX25 and the rest) or
Single Board Computers (like VAR-OM35) or maybe
System on Modules ?

regards,
DS


On Sun, Feb 28, 2010 at 8:58 PM, Gilad Ben Yossef  wrote:
> Dan Shimshoni wrote:
>>
>> Hi,
>> As you know, BeagleBoard can run Linux.
>>
>> http://beagleboard.org/
>>
>> Does somebody know where it can be bought in Israel?
>>
>>
>
> There is a company in Herzeliya Pituch  that sells a very similar board to
> the Beagle (same SoC) that also has some much needed peripheral the Beagle
> is missing, such as Ethernet, touch screen and HDMI port.
>
> I found it very useful, maybe you too:
>
> Check them out: http://www.variscite.com/
>>
>> Regards,
>> DS
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>
>

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


OT: BeagleBoard

2010-02-28 Thread Dan Shimshoni
Hi,
As you know, BeagleBoard can run Linux.

http://beagleboard.org/

Does somebody know where it can be bought in Israel?

Regards,
DS

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


Re: [OT] Looking to purchase a used SCSI HD

2009-10-16 Thread Dan Shimshoni
Hi,
  Out of pure curiosity, this thread reminded about this issue:
Is the RPM metric of a typical SCSI disk is higher than a typical
IDE/SATA disk (I did not encounter yet an IDE/SATA disks in stores
here with RPM which is higher than 7200).

Regards,
Dan



On Wed, Sep 30, 2009 at 6:47 PM, diksbcseanbcsa
 wrote:
> On Wed, Sep 30, 2009 at 03:35:13PM +0200, Shachar Shemesh wrote:
>> diksbcseanbcsa wrote:
>> >Looking to purchase a used SCSI HD:
>> >
>> >Do list in your reply as many details as possible: price, size,
>> >condition, location, manufacture, model, interface.
>> >
>> >sdbsdkbc   AT   sdf  dot  lonestar  dot  org
>> >
>>
>> What connector type? The hot pluggable type, or the "regular" one?
>>
>
>
>  Whatever you have: 68 ("regular") or 80 (hot pluggable).
>
> --
> sdbsd...@sdf.lonestar.org
> SDF Public Access UNIX System - http://sdf.lonestar.org
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>

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


Re: Attempt to buy a Linux-compatible Bluetooth dongle

2009-07-28 Thread Dan Shimshoni
Hi,
Just a little question:
is this Acer  a 64 bit machine ? or 32 bit machine ?


2009/7/28 Nitzan Brumer :
> I bought the LVT-010 bluetooth dongle for my acer one. I use it with Ubuntu
> 8.10 and it works great out of the box. no problem there.
> http://www.bug.co.il/prodtxt.asp?id=6233&perur=1&t=10
>
> 2009/7/28 Hetz Ben Hamo 
>>
>> Hi Omer,
>> I think all of them will work. I bought mine which includes a mini disc
>> with the drivers (no Linux drivers). I inserted the plug, and my Fedora
>> machine recognized it without any issues.
>> So I think you can buy any of them. If I'm not mistaken, they all use the
>> same chip.
>> Hetz
>>
>> On Tue, Jul 28, 2009 at 1:55 PM, Omer Zak  wrote:
>>>
>>> I visited a nearby computer shop, and asked which Bluetooth dongles do
>>> they have, and whether they are compatible with Linux.
>>>
>>> They have four models, which are mostly difficult to identify (typically
>>> made in China and with no clear model number):
>>> - BT-USB-P Dynamode
>>> - GPT USB04
>>> - HK-890/USB04B (Min. of Communications approval No. 5113614)
>>> - One more model without anything which looks like a model number
>>>
>>> The boxes list compatibility with various MS-Windows operating systems,
>>> emphasizing Vista-ready.  One of them claims also compatiblity with Mac
>>> OS X.  None of them mentioned Linux compatibility.
>>>
>>> Of course, to find the USB ID of the dongles (the surefire way to check
>>> Linux compatibility), one has to open the packages and insert the
>>> dongles into a PC, one by one.  Not exactly the idea which endears one
>>> to the computer shop personnel.
>>>
>>> I then looked for the above putative model names in
>>> http://www.bluetooth.org/tpg/listings.cfm and none of the above was
>>> found.
>>>
>>> So I am asking the group for recent experiences in buying Bluetooth
>>> dongles and trying to use them in Debian Lenny (or other distributions
>>> using version 3.36-3 of bluez) - how safe is it nowadays to buy a
>>> no-name brand of a Bluetooth dongle for use in a Linux system?
>>>
>>>                                       Thanks,
>>>                                            --- Omer
>>>
>>>
>>> --
>>> One does not make peace with enemies.  One makes peace with former
>>> enemies.
>>> My own blog is at http://www.zak.co.il/tddpirate/
>>>
>>> My opinions, as expressed in this E-mail message, are mine alone.
>>> They do not represent the official policy of any organization with which
>>> I may be affiliated in any way.
>>> WARNING TO SPAMMERS:  at http://www.zak.co.il/spamwarning.html
>>>
>>>
>>> ___
>>> Linux-il mailing list
>>> Linux-il@cs.huji.ac.il
>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>>
>>
>> --
>> Skepticism is the lazy person's default position.
>> my blog (hebrew): http://benhamo.org
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
>
>
> --
> Nitzan Brumer
> Http://n2b.org
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>

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


Re: Building 32 bit (Intel X86) kernel module on a 64 bit (Intel x86_64) machine

2009-07-14 Thread Dan Shimshoni
Hi,

> either in a virtual machine
I would prefer doing this without virtualization.

>google "debootstrap"
I am on Fedora machine


>Kernel modules will very often only work against the >exact kernel version for 
>which they were compiled. >You're in for redoing the work if you upgrade the 
>kernel >on the 32-bit machine

I know it ; I compile against a certain specified kernel tree. (so
upgrading the kernel does not change anything).

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


Building 32 bit (Intel X86) kernel module on a 64 bit (Intel x86_64) machine

2009-07-14 Thread Dan Shimshoni
Hello,

I want to build an Intel x86 32 bit kernel module on Intel x86_64
machine (64 bit) running Linux.
My goal is to prepare a module on a 64 bit machine, so that I can
insmod this module on a 32
bit machine successfully (and don't tell me that I can build the
module on a 32 bit machine. I of course know that and want to avoid
it).

For that I need to build a 32 bit gcc compiler on the x86_64 machine
(cross compiler).
There are various tools for buildings such a cross compiler. One is
Dan Kegel tool:  http://kegel.com/crosstool/

Another tool is Cross-Compiled Linux From Scratch:
http://cross-lfs.org/view/1.1.0/x86_64/introduction/chapter.html

I want to add that "make ARCH=i686" (on the 64 bit machine) gave me errors
(and also trying to passing various gcc 32 bit arch flags ).

It seems to me that both these tools are more complicated then needed.
Does anyone know a better way for achieving this ? for example, building
binutils on the x86_64 machine (maybe with a specific 32 bit flag, and
maybe also building glibc with a flag specifying the target is intel
x86 machine is a must ?), and then building gcc against this libraries
?

Rgs,
Dan

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


Re: A simple question about hebrew in terminal

2009-06-24 Thread Dan Shimshoni
>and if you show it in a BiDi aware application (say, konqueror >or whatever 
>file explorer you use), it will show properly.

It is true that if I try to browse the contents of this directory with
mozilla for example, it shows indeed :
File:קובץ.a

However, when I try to look at the contents of that directory using
midnight commander, it shows garbage.
something like: ץ???ק.a

And it is important for me to view the contents of directories with
hebrew file names properly with midnight commander as it is my daily
file management app.

Any ideas?

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


A simple question about hebrew in terminal

2009-06-23 Thread Dan Shimshoni
Hello,
 I have support in hebrew on my Linux desktop (Fedora 10).
I can switch to hebrew with the keyboard indicator and it works.

Say I want to perform a simple operation in terminal: rename a file
named a.txt to קובץ.txt


I type:
"mv a.txt" and then, when I type: ק and then ו and then "ב" and then
"ץ" it shows:
 ץבוק

I can of course write the letters in reverse order, but this is not
comfortable to do it for each rename
operation.

Is there a way to solve this ? If I am not wrong I heard about some
BIDI support, but it seems to me that this BIDI support is for some
specific word processing/editors. I an talking about the
gnome-terminal.

Rgs,
D

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


Re: OT: Bezeqint made me "poof... he's gone"

2009-06-10 Thread Dan Shimshoni
hello,

>i guess i'll modify the site for a new URL and upload a new version over >the 
>weekend. in fact, i think i would better buy my own domain finally >and move 
>the site elsewhere.

I believe it would be great and for the benefit of all to share "tip
and tricks" lessons of building/upgrading a domain-based website
nowadays. (even better: a lecture on this subject)
DS

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


Re: ot: isps

2009-04-23 Thread Dan Shimshoni
Hi,
>Skype is a different issue since it communicate via port 80, though
>need a much more advance management tools to be filtered (what's
>called Traffic shaping).

Are you sure about it ? What do you mean by that ??
Does Skype send the **Audio** in ***TCP*** port 80 ?!
Can TCP  do the job for VOIP audio application across the internet?

As far as I know, all traditional VOIP which run across the Intenet
use UDP for audio (and most of the use SIP).
TCP is much heavier, sincr it is stream-based; it has retransmission,
congesion control, many timers and is very complex. When using TCP,
you are most likely to encounter delays and a bad quality. I know that
there were trials to use TCP in VOIP applications with certain
adjustements, but they did not succeed.


Regards,
Dan

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


Re: Migrating from Windows to Linux: missing hebrew-english dictionary

2009-04-01 Thread Dan Shimshoni
Hello,
>I am using Babylon on Linux. It is free and accessible >from their website.

What do you mean ?  Do you mean access in a browser to their online
dictionary ?
or a babylon dictionary to download and install ?  in case this is the
case - I couldn't find a link to such download in www.babylon.com.
Would you please be kind and tell us a URL to such a download ?

Regards,
DS


2009/4/1 Tomer Cohen :
> I am using Babylon on Linux. It is free and accessible from their website.
> We have made a Firefox search plugin for their service long time ago.
>
> Hebrew Wiktionary (sister site for the well-known Wikipedia) can be served
> as a good online translation service. http://he.wiktionary.org
>
> 2009/4/1 Arie Skliarouk 
>>
>> Hi,
>>
>> An immigrant from Windows asked me about hebrew-english and english-hebrew
>> dictionary for Linux. Quick google search haven't produced anything
>> meaningful.
>>
>> For now they are using http://milon.morfix.co.il/
>> but it is relatively slow, requires internet connection, and is not
>> integrated into desktop (they want to highligh a word, right-click and get a
>> translation).
>>
>> What are people using?
>>
>> --
>> Arie
>>
>>
>> ___
>> Linux-il mailing list
>> Linux-il@cs.huji.ac.il
>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>>
>
>
>
> --
> Tomer Cohen
> http://tomercohen.com
> Samuel Goldwyn  - "I don't think anyone should write their autobiography
> until after they're dead."
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
>

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


I don't want to do it under Windows ; please help

2009-03-24 Thread Dan Shimshoni
Hello,
  Please help me to stay with Linux and not
go back to Windows...
I had stopped using windows about two years ago;
though I have a dual boot , I almost did not
boot into windows in the recent two years.
I am very satisfied with Linux. Everything
that I had in Windows I could get in Linux.
But:
now, I had to prepare some diagrams. I tried
with the "dia" tool. I created a diagram and
converted it to png. The result is reasonable.
However,...
I need to draw some arrows in an angle and
I need to add some text **parallel** to these lines. This means that
the text should not be
vertical or horizontal, but in an anlge (30 or 45).
And it seems that this is **not** possible in dia.

Does any one know a tool with which it can be done?

To be more specific, what I need to do as something
like what is depicted here (and can be done with
visio):
http://www.informit.com/articles/article.aspx?p=1087425&seqNum=21

please look at figure 3.44

I really do **not** want to use visio for it; not unbder windows and
not under some virtual machine
emulating windows and not under wine.

Any ideas ? Is there such a tool in Linux.

I want to stress that the final diagrams shold be
in *.png.

Rgs,
DanS

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


Re: xfone 018 phone service and Linux

2009-03-17 Thread Dan Shimshoni
> In fact, there
> was an open GPL violation issue with them for quite some time. I >believe
> it has been setteled about a year ago or so.

Is there a specific source that has more concrete information on the
GPL violations that they were accused of and how it was ended?

Regards,
Dan

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


Re: Windows-free laptop in Israel - possible after all

2009-03-02 Thread Dan Shimshoni
Hi,
 -  It is good to hear about it!

 - I urge everybody else who has a similar experience with
buying Windows-free laptops in Israel with other stores
to report in this mailing list.
-  I believe that the Linux users community in Israel has some power;
and I believe that eventually this might increase the numbers of such
stores.

Rgs,
DanS

On Mon, Mar 2, 2009 at 1:24 PM, Oleg Goldshmidt  wrote:
>
> Hi everybody,
>
> I decided that some of you might be interested to know that I got
> myself a new laptop a few days ago. The reason for your possible
> interest will be not just being good friends of mine (though some of
> you undoubtedly are), but the fact that the laptop came without
> Windows Vista Ultimate Housewife Professional Edition or
> whatchamacallit, and without court procedures, communications,
> negotiations, out-of-court settlements, or any other hassle required
> to get an unused-EULA refund from the manufacturer.
>
> I had thought it was highly unlikely to impossible in Israel, so it
> was quite a pleasant surprise. Surprised, too? Read on.
>
> To start with, some manufacturers do offer computers without Windows
> or the associated "Microsoft tax". One example is Lenovo, who offer
> certain ThinkPad models preloaded with FreeDOS. From what I
> heard/read, Dell and HP do it on occasion as well. Obviously, unless
> you buy abroad or over the Internet (which may result, e.g., in
> incomplete warranty, expensive shipping, etc.) this is not enough -
> there must be an Israeli importer/distributor who will actually bring
> such products to Israel and sell them to you. I think it is fair to
> say that most Israeli distributors will not stock or order anything
> without Windows because "what are you going to do with the computer
> without software, anyway?" I talked to quite a few, and this was the
> uniform answer in every case.
>
> Well, it turns out that there is at least one importer who does
> that. They are http://www.memory4less.co.il, they live not far from
> Tel Aviv's Central Bus Station (address and phone number are on the
> website), and they sell equipment to both organizations and private
> individuals. I visited them in person (to have a look at the chosen
> computer), asked a number of questions (got answers from both
> salespeople and a technician, and in general got a reasonable level of
> service), and left with a nice Lenovo ThinkPad X200 with FreeDOS for
> my trouble.
>
> I had browsed http://www.zap.co.il for a laptop satisfying a number of
> requirements, and it had never occurred to me to include
> "Windows-free" or "FreeDOS" or anything related into my queries. I was
> quite resigned to paying the M$ tax. I just clicked through to a make
> and a model that interested me, got a list of vendors, and sorted them
> by price. Memory4Less's offer was the best by price, and after
> checking the customer reviews (quite good) I clicked on the link, and
> that was when "FreeDOS" leapt into my face. So, it was a fluke.
>
> While talking to them as they were preparing the simple paperwork, I
> learned that while they were aware that some people preferred to
> install SW themselves they were not aware at all of a category of
> customers that would be interested in getting Windows-free computers
> and might appreciate a vendor providing such an option. They would not
> remove preinstalled Windows from a computer (moving it to a diffeerent
> computer, moving the associated stickers around, etc., is a
> hassle). What they said they would do, however, is provide a quote for
> a computer that a manufacturer offers without Windows, and then order
> it and deliver it to the customer. I presume they will only do it if
> they work with the manufacturer regularly (I did not ask). I would
> guess that, if asked, they will also say which models come (from
> manufacturers they work with) without Windows.
>
> My chosen model was in stock, so I got it with zero lead time.  It
> came with full international (including Israel) warranty from
> IBM. Memory4Less will extend the warranty (in Israel) past expiration
> for a fee, with service in their lab, if the customer so desires.
>
> Now, I have no connection to them, I do not represent them or vouch
> for them, I am not endorsing them or advertising them, and in general
> Your Mileage May Vary and Standard Disclaimers Apply. I am only
> reporting my own experience that resulted in a new laptop satisfying
> all my requirements, with good shopping experience, the best price for
> the chosen make/model I could find, and with no Windows or any
> refund-related hassle whatsoever. I figure it is a Good Thing(TM), and
> as such it should be noted and, where practical, encouraged.
>
> --
> Oleg Goldshmidt | p...@goldshmidt.org
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>

___
Linux-il mailing list
Linux-il@

(A bit off-topic) chess via Skype in Linux. was: Re: Skype sound problems

2009-02-25 Thread Dan Shimshoni
Hello,
While we are @skype, I want to offtopic this :

I heard that on windows you can play chess via Skype.

I wonder: did anybody tried it successfully on Linux ?

(and forgive me for this off-topic interrupt)

Rgs,
DS

On Wed, Feb 25, 2009 at 2:56 PM, Noam Rathaus  wrote:
> Moshe,
>
> I had the same issue today with Ubuntu 8.10
>
> I tried:
> http://www.blog.arun-prabha.com/2008/05/23/skype-microphone-problem-and-complete-pulse-audio-setup-in-ubuntu/
>
> And it worked ok.
>
> Hope this helps.
>
>
> On Wednesday 25 February 2009 12:51:53 Moshe Brace using Yahoo wrote:
>> Regarding Sound.
>> Sometimes I find I get the warning "There's a problem with the Sound" even
>> though ALSA appears to be configured OK in Mandriva 2009.0 Gnome Desktop. I
>> have an CMedia PCI card installed. I have not tried the Via. Other
>> programmes work fine regarding sound without problems. To fix I log out and
>> login then the problem appears fixed or reboot. However Mandriva appears
>> not to save the settings.
>>
>> I have tried setting the Skype Options to Pulse but the sound isn't good,
>> or it won't work. Skype I know needs ALSA. I have tried also tried through
>> the Webcam but as likewise no video it doesn't input sound.
>>
>> I have also tried:
>>
>> "alsactl store" and "alsactl restore"
>>
>> Anyone have any ideas how to get over this problem?
>> Moshe
>
>
> --
> Noam Rathaus
> CTO
> no...@beyondsecurity.com
> http://www.beyondsecurity.com
>
> "Know that you are safe."
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>

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


detecting how many memory sticks(RAM) from command line

2008-12-28 Thread Dan Shimshoni
Hello,
Is there some command line in linux for
detecting how many memory sticks(RAM) the machine has ?
For example, suppose cat /proc/meminfo shows MemTotal: 960700 kB.
Can I know whether it is one RAM stick , two  RAM sticks , or more ? (without
opening the box - this is not for lazies...)
Rgs,
Dans

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



Re: un-head

2008-12-24 Thread Dan Shimshoni
Thanks!
I want that the output will be be not the console, as it is by your
offer, but to the same file.
Namely , running the script on input.txt will delete a line in that
file so that after running the script,input.txt will be the same but
without line 5.

It can be done by two lines following your suggestion thus:

awk -v line_num=5 '{if(NR == line_num){next;} print $0;}' < input.txt
> output.txt

mv output.txt input.txt


Can it be done in one line ?
Rgs,
DanS


On Wed, Dec 24, 2008 at 2:06 PM, Yaacov Fenster - System Engineering
Troubleshooting and other stuff  wrote:
> Using trusty awk -
>
> awk -v line_num=5 '{if(NR == line_num){next;} print $0;}' < file
>
>
> On 24-Dec-2008 13:34 , Dan Shimshoni wrote:
>
> Hello,
>
> - And in the same fun spirit :
> Is it possible to delete  a line in a specified file , given the
> number of the line, in a non-sed script ?
>
> DanS
>
>
> On Wed, Dec 24, 2008 at 9:08 AM, Oron Peled  wrote:
>
>
> On Tuesday, 23 בDecember 2008, Erez D wrote:
>
>
>
> On Tue, Dec 23, 2008 at 10:17 AM, Valery Reznic wrote:
>
>
> --- On Tue, 12/23/08, Baruch Siach  wrote:
>
>
> tail -n +5
>
>
> It should be +6
>
>
> That is the reson i preffer "sed '1,5d' " over "tail -n +6"
>
>
> Since everyone are having fun, here is another one: sed -n '6,$p'
>
> --
>
> Oron Peled Voice/Fax: +972-4-8228492
>
> o...@actcom.co.il http://www.actcom.co.il/~oron
>
> "Linux: like the air you breathe, ubiquitous and free"
>


Re: un-head

2008-12-24 Thread Dan Shimshoni
Hello,

- And in the same fun spirit :
Is it possible to delete  a line in a specified file , given the
number of the line, in a non-sed script ?

DanS


On Wed, Dec 24, 2008 at 9:08 AM, Oron Peled  wrote:
> On Tuesday, 23 בDecember 2008, Erez D wrote:
>
>> On Tue, Dec 23, 2008 at 10:17 AM, Valery Reznic wrote:
>
>> > > --- On Tue, 12/23/08, Baruch Siach  wrote:
>
>> > > tail -n +5
>
>> > It should be +6
>
>> That is the reson i preffer "sed '1,5d' " over "tail -n +6"
>
> Since everyone are having fun, here is another one: sed -n '6,$p'
>
> --
>
> Oron Peled Voice/Fax: +972-4-8228492
>
> o...@actcom.co.il http://www.actcom.co.il/~oron
>
> "Linux: like the air you breathe, ubiquitous and free"


Re: [Haifux] Successful Windows Vista refund!!

2008-12-06 Thread Dan Shimshoni
Hello,

First I would like to say big thanks to the following bloggers, who mentioned
zvi dvir and his struggle;
Shachar Shemesh, Oren Maurer, Ori Idan, Doron Ofek.
You are great!
(Did I miss anyone ? Sorry if I missed anyone, these is what I saw in:

http://planet.linux.org.il/)

Yet I think it is not enough and I wish more bloggers would accept my call
and mention zvi dvir and his struggle in their blogs; mind you, googling
for 'zvi dvir' (in hebrew) gives now less than 450 results ! I wish it
would be thousands!

I wish that there will be some serious initiative to take advantage
of this precedent
and to change the current status of PC/latop computer market
in Israel ; I would wish that some
law will be passed that would enforce ***every*** computer store in Israel
to sale a PC/laptop with no OS on it, and also would enforce every advertisment
of these stores to declare this option clearly. This is election time now.
Maybe an Atzuma should be prepared  ? maybe some parliament members
will be interested in such an initiative ? Can anyone think of
something ?

I think that taking advantage of this precedent in such a way can really
benefit the open source community in Israel.


Regards,
Dan


On Fri, Dec 5, 2008 at 1:21 PM, Shachar Shemesh <[EMAIL PROTECTED]> wrote:
> Dan Shimshoni wrote:
>>
>> Zvi,
>>
>>  - You are our Open Source hero of the week (or maybe of the year,
>> or maybe decade!).
>>
>
> Personally, I think the importance of windows refund reach far beyond the
> scope of "using Linux without paying the Microsoft tax". I wrote about it in
> my blog (http://blog.shemesh.biz/?p=568), but the gist of it is this:
> The entire validity of a EULA hangs on the article in it Zvi used - without
> it, there is no informed consent to the EULA and the entire agreement is
> null and void. This means that them resisting the refund is actually a good
> thing. What you need to sue them for is for not letting you move your copy
> of vista to a new computer, and use their refusal to give refunds as the
> proof that you did not accept the agreement, and are therefor not bound by
> it.
>
> Shachar
>

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



Re: [Haifux] Successful Windows Vista refund!!

2008-12-05 Thread Dan Shimshoni
Zvi,

  - You are our Open Source hero of the week (or maybe of the year,
or maybe decade!).

Congratulations!  I salute you!

  - I hereby call to anyone who bought a laptop without operating
system on it or with only Linux on it
to  tell his/her story in this mailing list. I also call every one who
encounter a refusal from stores to
sell a laptop without an operating system on it also to tell here
his/her  story.

I also call every blogger/twitter/facebook fan on earth , who is (even
a really little bit of) an Open Source oriented, to post a link to
this news item with a short explanation and a salute.

The fight has only begun!

Dan



On Fri, Dec 5, 2008 at 9:27 AM, Amichai Rotman <[EMAIL PROTECTED]> wrote:
> Zvi,
>
> I salute you for the effort you took for the grater good!
>
> Yashar Koach!
>
> As for Israeli shops selling Laptops with pre-installed Linux - I remember a
> guy at the last August Penguin (2008) selling said Laptops by the staircase.
>
> I can't remember the name but I know he has a web site...
>
> Can any of you remember ?
>
> .::.
>
> Amichai Rotman
>
> UIN#: 6401746
> Registered Linux User#: 201192 [http://counter.li.org/]
> Registered Ubuntu User #12851 [http://ubuntucounter.geekosophical.net]
>
> 
>
> PLEASE READ: http://www.gnu.org/philosophy/no-word-attachments.html
>
> 
>
> .::.
>
>
> On Fri, Dec 5, 2008 at 01:04, sara fink <[EMAIL PROTECTED]> wrote:
>>
>>
>>> Oh, well, Dell
>>> Israel are likely to say something like, "Since you are not running
>>> Windows your warranty is void," and then one would have to go through a
>>> small claims court again, attaching the email exchange and the refund
>>> confirmation to the suit...
>>
>> I'd like to comment on this. I have a fujitsu siemens. I installed linux
>> and  the laptop was many times at repair. Their mode of operation was to
>> pull out my hd, insert a hd with windows, check, repair hardware and insert
>> back my hd.
>>
>> So this scheme can work for every one. They usually say at the lab,
>> backup, etc. You always can claim that you don't ask them to repair the os,
>> but only the hardware. They have their test disk which checks everything,
>> independent of the os. And as last point, ask them where it's written that
>> you have warranty only if you have windows. A lawyer won't write such a
>> thing in these agreements/eula.
>>
>
>
> ___
> Haifux mailing list
> [EMAIL PROTECTED]
> http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
>
>

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



Wireless NIC as an Access Point

2008-07-20 Thread Dan Shimshoni
Hello,
  I heard that there are some Wireless NICs which can be configured in
Linux as a wireless Access Point.

My question is :
1) Is there a way to know if a wireless NIC supports this feature (of
functioning as an Access Point)?
can it be done by some utility (like iwconfig, ethtool, etc)?

2) Did anybody try to use this feature ? can he recommend on some
howto/tutorial about this ?

Regards,
Dan

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



Re: how do i rescan the pci bus ?

2008-07-10 Thread Dan Shimshoni
Hi,
>Does the kernel support PCI hotplugging?

What is the immediate way to know whether a kernel on a specific
machine supports PCI hotplugging?

10x

Dan

On Thu, Jul 10, 2008 at 10:13 AM, Tzafrir Cohen <[EMAIL PROTECTED]> wrote:
> On Sun, Jul 06, 2008 at 04:39:14PM +0300, Erez D wrote:
>> hi
>>
>> i have booted my linuxbox, and later hot-plugged a hot-pluggable pci card
>>
>> lspci does not give any detailes of the new card, so i guess i need rescan
>> the pci bus.
>
> I don't know hot-plugged PCI, but with (hot-plugged) USB there is no
> such need. Are you sure that the card is well-connected?
>
> What kernel messages do you see when it gets connected?
>
> Does the kernel support PCI hotplugging?
>
> --
> Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
> http://tzafrir.org.il || a Mutt's
> [EMAIL PROTECTED] ||  best
> ICQ# 16849754 || friend
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>

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



Connection reset by peer error

2008-07-01 Thread Dan Shimshoni
Hello,
  I see sometimes on a server the following message in /var/log/messages
Connection reset by peer...

It is quite rare; usually, it appears where there is some problem on
this server; however, I probed into the kernel sources, and found out
that we have this definition in
include/asm-generic/errno.h:

ECONNRESET  104

grepping into the kernel sources shows many places where this error
can occur; however,
the two most relevant candidates in this machine, (so it seems to me),
is disconnection of a tcp connection (see tcp_disconnect() method in
net/ipv4/tcp.c)  or
some usb message (see usb_unlink_urb() method in drivers/usb/core/urb.c).

I do have a USB device on that machine.

I have reason to believe that the reason in the second one.

Is there a good way in which I can know the origin of this message ?
(I cannot let myself remove the usb device and wait until this message
occurs again;
as I said, this message is rare).

Regards,
Dan

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



Kernel Driver Statement

2008-06-25 Thread Dan Shimshoni
Hi, linux-il,

Some might find interest in this ynet item from today:
http://www.ynet.co.il/articles/0,7340,L-3560153,00.html

https://www.linuxfoundation.org/en/Kernel_Driver_Statement

DS

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



Monitor activation of a process (by process name) - is it possible ?

2008-06-18 Thread Dan Shimshoni
Hello,

Is there a way to write an application/a kernel module which will
notice when a process named "xyz" starts ?

For example, I want to be able to notice when a user statrs a process
named "calc" (by running calc, or whatever other unspecified command)
and print this notification to a file (or to kernel log).

My assumption is that I know **nothing** about that process besides it
name, "xyz"; I don't know anything about which ports it uses, (if at all),
I don't know the files it uses, (if at all), etc.  All I know is ***just***
the process name.

And a very important point - I don't know for how long this process
will run before
exiting. It can be less than a second, and I **MUST** take this in account
and handle such a case.

Can this be done at all?

Regards,
Dan

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



Re: Looking for a recommendation for a book about Embedded LINUX

2008-06-03 Thread Dan Shimshoni
Hi,

>The second edition of this book will be available mid August and you can > 
>already pre-order it now:

Done !

>As one of the co-authors of the seconds edition I can only say I hope it is 
>>as good as I think it is :-)

When I said "a few words about his personal experience" I meant of course
experience in reading... and not in writing...

Great to hear that you took part in it.

Dan


On Tue, Jun 3, 2008 at 9:49 AM, Gilad Ben-Yossef <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Dan Shimshoni wrote:
>
> Hello,
> I am looking for a recommendation for a book about
> Embedded LINUX for beginners and intermediate level.
>
>
>
> Something you should note is that there are actually two "super-topics" that
> can be covered by such books:
>
> 1. Building embedded Linux systems (bootloader, kernel compile, toolchains,
> file system etc.)
> 2. Programming embedded Linux systems (writing applications and device
> drivers for embedded Linux)
>
> These topics are related of course, but are actually quite distinct topics.
> When thinking about the books, try to see which one covers which. Trying to
> cover both usually doesn't work very well IMHO.
>
> Except  "Linux Device Drivers" (3rd edition), I found
>
>
> LDD3 is a great book to cover the device drivers programming side. I
> wouldn't even look into anything else.
>
> these titles as candidates (and there are more):
>   
>
>  1) Essential Linux Device Drivers by Sreekrishnan Venkateswaran
>  Prentice Hall Professional; 1 edition (April 2008).
>
> Haven't read it so can't say anything about it specifically, but I can say
> it will need to be pretty damn amazing to surpass LDD3.
>
>   
>2) Embedded Linux Primer: A Practical Real-World Approach
>(Prentice Hall Open Source Software Development Series)
>by Christopher Hallinan (Sep 2006).
>
> Skimmed through it and found it good but suffering from trying to cover both
> the building and programming part and therefore a bit shallow... but please
> read on to know why I am hopelessly biased about it.
>
>3)  Building Embedded Linux Systems by Karim Yaghmour
>O'Reilly  (April 2003).
>
> The second edition of this book will be available mid August and you can
> already pre-order it now:
>
> See:
> http://www.oreilly.com/catalog/9780596529680/?CMP=AFC-ak_book&ATT=Building+Embedded+Linux+Systems
>
> As one of the co-authors of the seconds edition I can only say I hope it is
> as good as I think it is :-)
>
> It has no less then 7 (or even 8) contributers, with Karim, Jon Masters and
> your truly as the main co-authors and what I really like about it is that
> each contributing author wrote about a specific topics that he is really
> qualified to write about.
>
> For example, the chapter covering storage devices was written about no other
> then David Woodhouse, who knows a thing or to about flash device and their
> ilk in Linux (hint: he is a notable Linux MTD subsystem contributer), while
> the chapter covering preempt-rt (I think this is the only embedded linux
> book that covers preempt-re) is written by Steven Rostedt (again, one of
> preempt-rt notable authors).
>
> Well, enough plugging... :-)
>
>4) Embedded Linux(R): Hardware, Software, and Interfacing
>Addison-Wesley Professional (March 2002)
>By Craig Hollabaugh.
>   
>5) Practical Linux Programming: Device Drivers, Embedded systems,
> and the Internet
>(with CD- ROM)  by Ashfaq A. Khan
> Charles River Media (February  2002).
>
>
> I wouldn't bother with anything from 2002.
>
>   
>   If will appreciate if anybody who know any of these books will say a few
>   words about his personal experience,
>   
>
> Well, not a replacement for a book, but you can get the slideware for a
> Programming Embedded Linux course I've been responsible for here:
> http://tuxology.net/courses/programming-embedded-linux/
>
> Hope this helps.
>
> Gilad
>
> --
> Gilad Ben-Yossef
> Chief Coffee Drinker
>
> Codefidence Ltd.
> The code is free, your time isn't.(TM)
>
> Web:http://codefidence.com
> Email:  [EMAIL PROTECTED]
> Office: +972-8-9316883 ext. 201
> Fax:+972-8-9316885
> Mobile: +972-52-8260388
>

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



Looking for a recommendation for a book about Embedded LINUX

2008-06-02 Thread Dan Shimshoni
Hello,
I am looking for a recommendation for a book about
Embedded LINUX for beginners and intermediate level.

Except  "Linux Device Drivers" (3rd edition), I found
these titles as candidates (and there are more):

 1) Essential Linux Device Drivers by Sreekrishnan Venkateswaran
   Prentice Hall Professional; 1 edition (April 2008).

 2) Embedded Linux Primer: A Practical Real-World Approach
 (Prentice Hall Open Source Software Development Series)
 by Christopher Hallinan (Sep 2006).

 3)  Building Embedded Linux Systems by Karim Yaghmour
 O'Reilly  (April 2003).

 4) Embedded Linux(R): Hardware, Software, and Interfacing
 Addison-Wesley Professional (March 2002)
 By Craig Hollabaugh.

 5) Practical Linux Programming: Device Drivers, Embedded systems,
and the Internet
 (with CD- ROM)  by Ashfaq A. Khan
  Charles River Media (February  2002).

If will appreciate if anybody who know any of these books will say a few
words about his personal experience,

Regards,
Dan

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



AOE and iSCSI (software only)

2008-04-24 Thread Dan Shimshoni
Hello, Linux-il gurus,

I have to decide between two options of exporting block devices
on a LAN (same subnet for clients and server)
: one is with iSCSI target and iSCSI initiator. The second
is with AOE.

I am talking about using software tools only, not using special hardware.

I had tested AOE with my hardware (no special hw): I had downloaded
aoetools from
http://sourceforge.net/projects/aoetools/.
I had also installed blade server of this project on the server
side. 
(http://sourceforge.net/project/showfiles.php?group_id=130453&package_id=143790).

I can mount on the client a file which I am exporting on the AOE
server. (which is running this blade).

My question is this:
What are the advantages and disadvantages of using AOE versus iSCSI?
Does anybody have any experience/advice regarding using AOE on Linux
(sw only, I am not talkin about CORAID, etc) ?


Regards,
Dan

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



Re: brctl aborting?

2008-03-13 Thread Dan Shimshoni
Dan,

  - It could be that you encountered (or "discovered") a kernel BUG
with the locking mechansim of bridge devices.

  - What I would suggest is the following:

  - First, If you can give more details  (kernel version / disto) it would help.

  - Second, if you can post this mailing list the scripts you are
running (for adding/deleting the tun device) and describe
the environment (how you exactly start and configure the tun devices,
etc). that cause this crash it will really help.

I, for one , will happily try to test it on two Linux machines to see
if it crash , and I believe that there will be others.

Regards,
DS


On Thu, Mar 13, 2008 at 10:43 AM, Dan Kenigsberg
<[EMAIL PROTECTED]> wrote:
> On Thu, Mar 13, 2008 at 02:08:05PM +1100, Amos Shapira wrote:
>  > On Thu, Mar 13, 2008 at 3:29 AM, Dan Kenigsberg
>  > <[EMAIL PROTECTED]> wrote:
>  > >  Thanks for the idea. What could cause SIGSEGV on brctl?
>  > >  My dmesg has a lot of noise, but no segfault visible.
>  > >
>  > >  Mar  9 04:53:49 w kernel: device if_11 entered promiscuous mode
>  > >  Mar  9 04:53:49 w kernel: sw0: port 5(if_11) entering learning state
>  > >  Mar  9 04:53:49 w kernel: sw0: topology change detected, propagating
>  >
>  > Enable core dumps ("ulimit -c unlimited").
>
>  Did that. No traces of a segfault.
>
>
>  --
>  Dan Kenigsberghttp://www.cs.technion.ac.il/~dankenICQ 
> 162180901
>
>  =
>
>
> To unsubscribe, send mail to [EMAIL PROTECTED] with
>  the word "unsubscribe" in the message body, e.g., run the command
>  echo unsubscribe | mail [EMAIL PROTECTED]
>
>

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



Checking from a kernel module the existence of a device file - is it possible ?

2008-02-19 Thread Dan Shimshoni
Hi,

Is there a way I can test, from a kernel module, the existence of a
device file ?

A kernel module I write is a character device module, which depends
on getting ioctls. In order that it will work, "mknod ... /dev/myDev"
should be issued before to create the device file.

Is there a way to check, in the init() method of this module, the
existence of /dev/myDev (and exit with a proper printk if /dev/myDev
does not exist)?

DS

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



Unreadable (pending) sectors in the kernel log

2008-02-07 Thread Dan Shimshoni
Hello,

I see in the kernel log every half an hour the following message
generated by smartd:

..
smartd[2202]: Device: /dev/hda, 1 Currently unreadable (pending) sectors
..

Does it says that I have a problem with my disk that may cause a disk crash ?

I googled for this and there are so many suggestions, so I am quite bewildered.

Did anybody encountered this problem ?
Should I run "fsck" ? or maybe reinstall the distro (which is Fedora Core)?
or rush and buy a new disk ?



Regards,
Dan

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



Re: [Haifux] [Haifux Lecture] User space syscall tracing andmanipulation - fakeroot-ng by Shachar Shemesh

2008-01-17 Thread Dan Shimshoni
>Certainly ptrace has been used to both trace and modify running
>binaries, by gdb, strace, dumpmem[1], memfetch[2] and others.

You forgot system call tracker hijacking.

DS


On Jan 17, 2008 1:08 PM, Muli Ben-Yehuda <[EMAIL PROTECTED]> wrote:
> On Thu, Jan 17, 2008 at 12:45:10PM +0200, Shachar Shemesh wrote:
>
> > Fakeroot-ng is a (as far as I know) first attempt to do the things
> > usually done with LD_PRELOAD using the ptrace mechanism. It was both
> > the trigger and the root cause of this lecture.
>
> Not sure what you mean by "things usually done with LD_PRELOAD?"
> Certainly ptrace has been used to both trace and modify running
> binaries, by gdb, strace, dumpmem[1], memfetch[2] and others. I think
> I even gave a haifux talk on run-time modification of programs using
> ptrace for fun an profit a few years ago.
>
> > The lecture will look at fakeroot, fakechroot, fakeroot-ng and
> > strace, at varying degrees of depths, mostly because all four chose
> > slightly different approaches for solving, fundamentally, the same
> > problem.
>
> They did?
>
> Sounds like an interesting talk, will try to attend.
>
> [1] http://www.mulix.org/dumpmem.html
> [2] http://lcamtuf.coredump.cx/soft/memfetch.tgz
>
> Cheers,
> Muli
>
> ___
> Haifux mailing list
> [EMAIL PROTECTED]
> http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
>

=
To 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 Dan Shimshoni
Hi,
Thanks.

The exact status is this:

After reboot:

starting mc, and pressing "left alt+ left control + ?" => works as it should,
namely go to find file.

In Gnome keyboard preferences I have in Layout only English.
In Layout options->Layout switching **nothing** is selected

Than I run:
"setxkbmap -option grp_led:scroll,grp:alt_shift_toggle us,il"

I see no error.

Immediately afterwards, I try in the mc
"left alt+ left control + ?" => does ***not*** works as it should; it simply
does nothing except toggling the "keyboard indicator" on the panel from USA
to il.
But when I press left alt + left shift, the languate is changed to hebrew and
I can type in hebrew. Also the scroll lock led is lit.
And of course it toggles back to hebrew and english when pressing again
left alt + left shift as it should.

Any ideas?
Regards,
Dan




On Dec 31, 2007 8:21 PM, Hetz Ben Hamo <[EMAIL PROTECTED]> wrote:
> After starting either GNOME or KDE, try this command:
>
> setxkbmap -option grp_led:scroll,grp:alt_shift_toggle us,il
>
> See if this gives you hebrew, and if not, tell me what the error that
> comes out (if any).
>
> Note: if you're using VNC, then there's a problem (if I recall
> correctly) switching with ALT SHIFT between the languages in VNC
> session.
>
> Thanks,
> Hetz
>
>
> On Dec 31, 2007 1:59 PM, Dan Shimshoni <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Hetz, may I ask: does this work for you ?
> > I have FC8; First, I removed the keyboard switching checkbox in Gnome.
> >
> > than I tried changing:
> > /etc/X11/xorg.conf thus:
> >
> > Section "InputDevice"
> > Identifier  "Keyboard0"
> > Driver  "kbd"
> > Option  "XkbModel" "pc105"
> > #Option "XkbLayout" "us+inet"
> > Option  "XkbLayout" "us,il"
> >   Option  "XkbOptions" "grp:Alt_shift_toggle,grp_led:scroll"
> > EndSection
> >
> > And restaring the X server.
> > It did not work.
> >
> > Than I also removed the "hebrew" from keyboard preferences->Layouts.
> > And than restarted the X-server.
> > Still, when pressing "alt-shift" nothing happens. It stays English,
> > and scroll lock
> > led stays unlighted.
> >
> > I do not see any errors in Xorg.0.log in both cases.
> >
> > Any ideas ? Am I missing something ?
> >
> > Regards,
> > Dan
> >
> >
> >
> >
> > On Dec 31, 2007 10:07 AM, Hetz Ben Hamo <[EMAIL PROTECTED]> wrote:
> > > Dan,
> > >
> > > I always skipped both GNOME and KDE's language keyboard binding and
> > > did it directly on xorg.conf:
> > >
> > > Section "InputDevice"
> > > Identifier  "Keyboard0"
> > > Driver  "kbd"
> > > Option  "XkbModel" "pc105"
> > > Option  "XkbLayout" "us,il"
> > > 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.
> > >
> > > Thanks,
> > > Hetz
> > >
> > >
> > > On Dec 31, 2007 8:46 AM, Dan Shimshoni <[EMAIL PROTECTED]> wrote:
> > > > Hello,
> > > > I am using hebrew and English on FC8 with a GNOME desktop.
> > > >
> > > > I want to use only the left alt+shift key combination as a shortcut for
> > > > switching between languages.
> > > >
> > > > I choose Alt+Shift to change layout and to toggle between hebrew and 
> > > > English.
> > > >
> > > > I did it by going to gnome panel->Keyboard Preferences,
> > > > and to Layout options/Layout switching.
> > > >
> > > > The problem with this is that it changes languages also when Left Alt 
> > > > and Right
> > > > Shift are pressed !!
> > > > So , when I try to use the combination "Left Alt + Right Shift + ?" , 
> > > > which
> > > > is the default shortcut in Midnight Commander (MC) for "find file",
> > > > I eventually get to changing the language instead of reaching MC "find
> > > > file" dialog.
> > > > And I use this "Left Alt + Right Shift + ?" shortcut quite 
> > > > instinctively.
> > > >
> > > > Any ideas? Is there any solution so only lefy ALT/SHIFT will change 
> > > > languages
> > > > (in gnome)?
> > > >
> > > >
> > > >
> > > > Dan
> > > >
> > > > =
> > > > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > > > the word "unsubscribe" in the message body, e.g., run the command
> > > > echo unsubscribe | mail [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Skepticism is the lazy person's default position.
> > > my blog (hebrew): http://benhamo.org
> > >
> >
>
>
>
> --
>
> Skepticism is the lazy person's default position.
> my blog (hebrew): http://benhamo.org
>

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



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

2007-12-31 Thread Dan Shimshoni
Hi,

Hetz, may I ask: does this work for you ?
I have FC8; First, I removed the keyboard switching checkbox in Gnome.

than I tried changing:
/etc/X11/xorg.conf thus:

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"
Option  "XkbModel" "pc105"
#Option "XkbLayout" "us+inet"
Option  "XkbLayout" "us,il"
  Option  "XkbOptions" "grp:Alt_shift_toggle,grp_led:scroll"
EndSection

And restaring the X server.
It did not work.

Than I also removed the "hebrew" from keyboard preferences->Layouts.
And than restarted the X-server.
Still, when pressing "alt-shift" nothing happens. It stays English,
and scroll lock
led stays unlighted.

I do not see any errors in Xorg.0.log in both cases.

Any ideas ? Am I missing something ?

Regards,
Dan



On Dec 31, 2007 10:07 AM, Hetz Ben Hamo <[EMAIL PROTECTED]> wrote:
> Dan,
>
> I always skipped both GNOME and KDE's language keyboard binding and
> did it directly on xorg.conf:
>
> Section "InputDevice"
> Identifier  "Keyboard0"
> Driver  "kbd"
> Option  "XkbModel" "pc105"
> Option  "XkbLayout" "us,il"
> 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.
>
> Thanks,
> Hetz
>
>
> On Dec 31, 2007 8:46 AM, Dan Shimshoni <[EMAIL PROTECTED]> wrote:
> > Hello,
> > I am using hebrew and English on FC8 with a GNOME desktop.
> >
> > I want to use only the left alt+shift key combination as a shortcut for
> > switching between languages.
> >
> > I choose Alt+Shift to change layout and to toggle between hebrew and 
> > English.
> >
> > I did it by going to gnome panel->Keyboard Preferences,
> > and to Layout options/Layout switching.
> >
> > The problem with this is that it changes languages also when Left Alt and 
> > Right
> > Shift are pressed !!
> > So , when I try to use the combination "Left Alt + Right Shift + ?" , which
> > is the default shortcut in Midnight Commander (MC) for "find file",
> > I eventually get to changing the language instead of reaching MC "find
> > file" dialog.
> > And I use this "Left Alt + Right Shift + ?" shortcut quite instinctively.
> >
> > Any ideas? Is there any solution so only lefy ALT/SHIFT will change 
> > languages
> > (in gnome)?
> >
> >
> >
> > Dan
> >
> > =
> > To unsubscribe, send mail to [EMAIL PROTECTED] with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Skepticism is the lazy person's default position.
> my blog (hebrew): http://benhamo.org
>

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



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

2007-12-30 Thread Dan Shimshoni
Hello,
I am using hebrew and English on FC8 with a GNOME desktop.

I want to use only the left alt+shift key combination as a shortcut for
switching between languages.

I choose Alt+Shift to change layout and to toggle between hebrew and English.

I did it by going to gnome panel->Keyboard Preferences,
and to Layout options/Layout switching.

The problem with this is that it changes languages also when Left Alt and Right
Shift are pressed !!
So , when I try to use the combination "Left Alt + Right Shift + ?" , which
is the default shortcut in Midnight Commander (MC) for "find file",
I eventually get to changing the language instead of reaching MC "find
file" dialog.
And I use this "Left Alt + Right Shift + ?" shortcut quite instinctively.

Any ideas? Is there any solution so only lefy ALT/SHIFT will change languages
(in gnome)?



Dan

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



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

2007-12-04 Thread Dan Shimshoni
Hello,
  I am total newbie ob this, so my question may sound silly, but:

>You could make sure and buy a Linksys WRT54G-L router and run a Linux
>distro on it. Try Tomato www.polarcloud.com

  Suppose I have WRT54G-L route at home and it runs indeed LInux
(because I heard there are versions of
this router which do not run Liux).

Could I install on that linux on this router an Apaceh web server with
a small page (using something like no-ip for an address;
http://www.no-ip.com/support/guides/update_clients/setting_up_linux_update_client.html)?

Regards,

Dan



On Dec 3, 2007 2:19 PM, Geoffrey S. Mendelson <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 03, 2007 at 12:02:51PM +, 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).
> >
> > I plan to visit abroad next month and connect the access point to
> > existing LAN's (so I can connect my workplace laptop over wireless
> > network). Does anyone know whether ADSL modems/wireless-routers can be
> > used as plain access points on LAN? Or can they route only when used
> > with their ADSL port?
>
> I can't answer for ALL of them, however most can. You enable the
> access point part and disable the router part. Most importantly turn
> off the DHCP server and assign a real IP address to the device.
>
> If it has an option to bridge the ethernet and wireless networks,
> turn it on.
>
> Plug the network into the LAN port and away you go.
>
> I've done this with D-Link, EdiMax and Apple.
>
> You could make sure and buy a Linksys WRT54G-L router and run a Linux
> distro on it. Try Tomato www.polarcloud.com
>
> Geoff.
>
> --
> Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED]  N3OWJ/4X1GM
> IL Voice: (07)-7424-1667 U.S. Voice: 1-215-821-1838
> Visit my 'blog at http://geoffstechno.livejournal.com/
>
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>

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



Re: [Job offer] Senior Kernel Engineer

2007-11-22 Thread Dan Shimshoni
Disclaimer:
The following email should not be considered criticism of Michael
Sternberg at large, the actual job offered, nor of the company offering
the job. The entire criticism expressed here is directed at the phrasing
of the actual email, and any inference about the person writing the
mail, his company or the actual job was not intended by me, nor should
be done by the reader.

There is indeed a serious grwoth in demand for Linux Kernel programmer
in the market.

See: (Apr 2005)
 http://mirror.hamakor.org.il/archives/linux-il/04-2005/14966.html
in response to:
http://mirror.hamakor.org.il/archives/linux-il/04-2005/14961.html

Dan


On Nov 22, 2007 10:30 AM, Michael Sternberg <[EMAIL PROTECTED]> wrote:
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Shachar Shemesh
> > Sent: Thursday, 22 November, 2007 10:13 AM
> > To: Michael Sternberg
> > Cc: linux-il@cs.huji.ac.il
> > Subject: Re: [Job offer] Senior Kernel Engineer
> > ...
>
> You've made my day :)
> Forwarded to HR.
>
> Yet, we're really looking a person to hire..
>
>
>
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>

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



Re: RDMA question

2007-11-20 Thread Dan Shimshoni
Hello,
-  First thanks to Oleg for his reply.

- I had downloaded and looked a bit at the code of SDP and IPoIB.

- It looks quite complex and quite interesting.

 - I just want to verify that I understood the RDMA principle
correctly, so I have a little question:

Is using RDMA (wheter it is in ethernet NICs which support RDMA or
Inifinibabd) is restricted to Local Area Network ?
Can we create a socket across the intenet which uses in any way RDMA?
It seems to me that it is **not** possible, but I want to verify I got
it correctly.

Regards,
Dan





On Nov 18, 2007 10:42 PM, Oleg Goldshmidt <[EMAIL PROTECTED]> wrote:
> "Dan Shimshoni" <[EMAIL PROTECTED]> writes:
>
> > So the question is:
> > On a principle level, suppose we will want to use RDMA instead for
> > TCP between A and B. (with 1Gb). How much can using RDMA improve
> > performance ?  Does it worth it ? or should we think of infiniband
> > solutions like Meallnox HBAs?
>
> InfiniBand will give you _much_ better bandwidth and latency for
> sure. This does not necessarily mean you will speed up your
> application by a factor of 20 (20 Gbps bandwidth is common nowadays
> for IB): the ultimate gain will strongly depend on workload.
>
> >RDMA (when using 1Gb and infiniband)? is it a lot of work ?
> >do you know a good resource for this task (I saw some tutorial
> >about RDMA API written by Roland Drier).
>
> If you are interested in InfiniBand, check out things like IPoIB (IP
> over InfiniBand), SDP (Socket Direct Protocol), etc. Just google for
> starters. The effort may be not large at all.
>
> Basically, SDP "hijacks" stream sockets (SOCK_STREAM) and allows
> bypassing of the OS TCP/IP stack ("kernel bypass") and utilizes
> various InfiniBand features (including RDMA) for high performance data
> transfer. Other socket types will use IPoIB stack. SDP also depends on
> IPoIB drivers for IP address resolution, local address assignment,
> etc. This can be done transparently for the application above the
> socket layer (in the simplest case, try invoking your app with
> LD_PRELOAD=/usr/lib/libsdp.so or whatever is appropriate).
>
> Disclaimers:
>
> 1) YMMV.
> 2) I work for an InfiniBand company.
>
> --
> Oleg Goldshmidt | [EMAIL PROTECTED] | http://www.goldshmidt.org
>
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>

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



Re: RDMA question

2007-11-18 Thread Dan Shimshoni
Hi,

 - I am talking about 1GB ethernet with servers running Linux.

  - This is a complex project, but to simplify things I can think

of this simple scenario:

 We have a server which has a public IP. (server A).

 This server get requests from the Intenet; it acts according

 to the type of requests it gets.

Most of the time it creates other requests to a backend server (server B),

which is on the same LAN as

server A. (can be SQL/oracle/etc).

These requests from A to B are TCP requests, and the bandwidth on the
LAN between A and B is 1Gb.

So the question is:
On a principle level, suppose we will want to use RDMA instead for
TCP between A and B. (with 1Gb). How much can using RDMA improve
performance ?  Does it worth it ? or should we think of infiniband
solutions like Meallnox HBAs?

Note that I am simplifying the case for the sake of
giving a more easy to describe situation
(but this system is scalable and have more servers which are clones
of A and B  ).

Another thing is: what is the overhead of porting apps to use
   RDMA (when using 1Gb and infiniband)? is it a lot of work ?
   do you know a good resource for this task (I saw some tutorial
   about RDMA API written by Roland Drier).


Regards,
Dan



On Nov 18, 2007 6:56 PM, Muli Ben-Yehuda <[EMAIL PROTECTED]> wrote:
> Hi Dan,
>
> On Sun, Nov 18, 2007 at 03:57:46PM +0200, Dan Shimshoni wrote:
>
> > - My question is: does anybody have any experience with these kind
> >   of nics ? Can he share his experience with us ?
>
> We do, in a research environment. What would you like to know?
>
> > Did usage of such nics indeed improve performance ?
>
> You can find lots and lots of papers and benchmarks online that give
> every possible answer to this question (which is another way of saying
> "it depends"). What is your use case? Can you afford to rewrite your
> application to take advantage of RDMA semantics? Is your network
> infrastructure 1GB ethernet, 10GB ethernet, Infiniband, or something
> else? What OS are you running?
>
> Cheers,
> Muli
>
>
>
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>

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



RDMA question

2007-11-18 Thread Dan Shimshoni
Hello,

 - There is a lot of talks and publications recently about gigabit/10
GB NICs which have RDMA capability.

- As I understood, this NICs improve performance by enabling user
space to user space connection, bypassing the kernel.

 - (I heard that also InfiniBand cards has this feature).

- My question is: does anybody have any experience with these kind of
nics ? Can he share his experience with us ?

Did usage of such nics indeed improve performance ?

Regards,
DS

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



ADSL modem/router, routing protocols and the Linux kernel

2007-05-12 Thread Dan Shimshoni

Hello,

I am connected to the Internet through bezeq ; my modem/router is BFocus
312+ (ECI).

I had performed telnet to the BFocus 312+ (telnet 10.0.0.138, Admin/Admin).

It is a Linux-based machine, running 2.4.17-based kernel, as cat
/proc/version
shows (more precisely, 2.4.17_mvl21-malta-mips_fp_le).

I ran: ps aux; this is the list of processes I got:

  init
  [keventd]
  [ksoftirqd_CPU0]
  [kswapd]
  [bdflush]
  [kupdated]
  [mtdblockd]
  /usr/sbin/thttpd -d /usr/www -u root -p 80 -c /cgi-b
  /usr/sbin/pppdmonitor 15
  /usr/bin/cm_pc
  init
  /usr/bin/cm_logic -m /dev/ticfg -c /etc/config.xml
  /usr/bin/cm_monitor
  /sbin/dproxy -c /etc/resolv.conf -d
  /usr/sbin/udhcpd /var/tmp/udhcpd.conf
  /sbin/utelnetd
  -sh

As you can notice, there is no routing protocol among this processes (like
RIP).

On the other hand, I entered the web interface of this modem/router.
(http://10.0.0.138, Admin/Admin).

There I went to the "Advanced" tab.
The  "Enable RIP" is NOT selected. The GUI has the ability to enable RIP
(Routing Information Protocol), and in fact, you can select between
RIPv1, RIPv2 or RIPv1-Compatible, and also a direction (In, Out or both).

I must admit that I don't know much about routing. As I understand, this
device is currently functioning as a modem which enables
direct connection and **not** as a router which propagates routing tables
information (Am I right in this?)

I have two questions:

1) Suppose I will enable routing (RIPv2). Is it a good thing
to do ? What are the benefits of doing so? By doing so, does that mean
that the routing tables in the kernel will be updated
from time to time by the user-space routing protocols (RIP) ?


2) I want to hack the code. It should be GPL. Did anybody have a clue where
I can get it ?

Regards,

Dan


Re: Looking for a TCP accelerator card with Linux aupport

2007-03-05 Thread Dan Shimshoni

Hi,

And they have local offices in Nataniya.

googling for siverback showed me:
http://www.brocade.com/silverbackinformation.jsp
which says that Silverback  was aquired by brocade; and I could not
find the Natanya office in the links in that page ("contact us" or
"intenational").

Do you have any more info ?

Regards,
Dan


On 3/1/07, Alexander Cheskis <[EMAIL PROTECTED]> wrote:


Rony,

Take a look on Silverback cards. They have iSCSI support, and work with
Linux.
And they have local offices in Nataniya.

10x
Alex

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Rony Shapiro
Sent: Wednesday, February 28, 2007 9:01 PM
To: 'Israel Linux Mailing List'
Subject: Looking for a TCP accelerator card with Linux aupport

Hi linux-il folks,

A friend mine recently bought an Alacritech TCP accelerator card for a
Linux
server, only to find out that Alacritech supports any operating system you
want, as long as it starts with 'W' and comes from Redmond :-) - back to
the
distributor it went.

Seriously, can anyone recommend a TCP accelerator card with decent Linux
support (2.6 kernels) available locally? Bonus points for an iSCSI
accelerator.

Cheers,

Rony


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


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




Scanning program for linux

2007-02-28 Thread Dan Shimshoni

Hello,
I have an HP scanner 3200c ; I had tried using it both on linux
and on windows. Currently the results on windows are really much better.
For scanning in linux, I had used the Xsane frontend (http://www.xsane.org)
for the SANE scanner interface.
It could be that there are better scanning programs on linux
or that it is something in the configuration of sane.

I was wondering: does anybody have an experience with scanning in linux ?
Did he get good results ?
Can he recommend a different scanning program ?

Regards,
Dan


Can this be possible (or BIOS api)

2007-01-21 Thread Dan Shimshoni

Hello linux il ,

I had been playing with the idea of writing a small
utility in "C" on linux which will enable me to change boot
prioirity on a linux machine, so that I will be able to toggle
the boot sequence (boot from CD/ not boot from CD).
I mean the boot sequence which the BIOS saves in CMOS.

This is a task which I do quite frequently by entering the BIOS.

Is there an API which enable me to perform such a task ?
Did anybody tried a thing like that ? and in case it is possible -
how much complex is it ?


Regards,
DAN


x86_64 and djvu firefox 2.0 plugin

2006-12-19 Thread Dan Shimshoni

Hello,
I tried a djvu plugin for firefox 2.0 on x86_64 and it did not work (on
FC6).
I mean that accessing a djvu doc from the firefox resulted with "save/open
with" dialog instead of
opening the doc.

I am talking about the djvulibre plugin ( http://djvu.sourceforge.net)

A  plugin from this same project for x86 with 32 bit and FC6 worked (with
firefox).

I wonder : did anyone had success with this plugin on other distro ? which
distro was it ? and which version of mozzila does he use?


Regards,

Dan


Tab Completion in GRUB on Fedora on x86_64 machines - does it work??

2006-10-31 Thread Dan Shimshoni
Hello,I have an x86_64 machine with grub-0.95-13 and Fedora Core 4and an x86_64 machine with Fedora Core 6 with the default grub rpm.TAB completion does not work for me in both.What I do is , run "grub" from bash/tcsh terminal, enter the 
grub prompt (GRUB>) and then press TAB. In fedora core i386 this lists GRUB commands, thus:"Possible commands are: blocklist boot cat chainloader..." ; here I see nothing,TAB completion simply does not 
work. Also in x86_64 Feodra , grub> root (hd0,0)/  does not work whereas in i386 it does.When the grub start, its banner declares that it DOES supportcode completion, thus, for example, on FC4:
GNU GRUB  version 0.95  (640K lower / 3072K upper memory) [ Minimal BASH-like line editing is supported.  For the first word, TAB   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.]Did anyone tried it on x86_64 machine (preferably running Fedora), or is willing to take half a minute to try and tell wheter he has GRUB  TAB completion on x86_64 machine ? 
(It could be that something in the machine is wrongly configured)Best,  DAN   


Re: Dual boot solaris/linux machine : how to boot into solaris ?

2006-10-29 Thread Dan Shimshoni
Sacahr,  Thanks ; yes, this is Intel x86_64 machine , sorry for not saying this explicitly ; (I did say Feodra Core and there is no FC yet on Sparc though there are other linux distros on Sparc like ubuntu).
>Theoretically, you can just copy the stage 1.5 UFS GRUB driver >into your>Linux partition, and this should solve all your problems.>but under Linux that would be>named something like /boot/grub/ufs_stage1_5. 
So I am not sure I got you in this point: In this FC6 machine there  is /boot/grub/ufs2_stage1_5. The ufs2_stage1_5 file  is part of grub installation on FC6 (I know this for sure by checking thecontents of the FC6 GRUB rpm). So do I understand you right: should I use
**THIS** ufs2_stage1_5 file  ? Or should I copy a file like this from solaris GRUB ?? I am not sure here.>You should not >need to do>anything else - this should be enough for you to be able to select >the
>Sparc filesystem from GRUB. you probably mean : UFS  filesystem from GRUB. Thnks,DanOn 10/29/06, Shachar Shemesh <
[EMAIL PROTECTED]> wrote:Dan Shimshoni wrote:> Hello linux gurus,The intersection of the two OSes you mention (Linux and Solaris) leave
two supported hardware platforms. You neglected to mention which one youare using (Sparc or Intel), and I do believe that the answer variesgreatly between the two. Since you are using GRUB, I believe you mean a
PC platform (Intel)., not to mention that I don't know of a Fedoraversion for Sparc, but do fill in that missing detail. As far as Iremember, you don't use a boot loader on Sparc machines, as one isavailable inside the firmware (at least not for booting Solaris. I have
never installed Linux on a SPARC).> BTW, GRUB on linux and GRUB on solaris are different.> GRUB on linux does not recognize UFS, whereas in Solaris it does.Theoretically, you can just copy the stage 
1.5 UFS GRUB driver into yourLinux partition, and this should solve all your problems. I'm not surewhere grub installs itself under Solaris, but under Linux that would benamed something like /boot/grub/ufs_stage1_5. You should not need to do
anything else - this should be enough for you to be able to select theSparc filesystem from GRUB. Of course, if Grub doesn't understand thepartitioning method, this may still not work, but it has been ages since
I last touched Solaris as an Admin.> In fact in Solaris , GRUB is a patch to gnu GRUB, but it was not> sent upstream (should I say : yet?)You can do that yourself, you know> So: can anybody comment on this ? does anybody have an experience with
> it?>> DanShachar--Shachar ShemeshLingnu Open Source Consulting ltd.Have you backed up today's work? http://www.lingnu.com/backup.html



Dual boot solaris/linux machine : how to boot into solaris ?

2006-10-29 Thread Dan Shimshoni
Hello linux gurus,I have installed a dual boot machine, where first linux was installed and then solaris. It was OK; solaris became the boot partition;  I could boot solaris from linux and vice versa. Now on a different machine I tried the 
opposite - first solaris and then linux fedora core.I choose the defaults for GRUB from the installation program, which is to installit in the MBR.Now I boot into linux, but I don't know how to boot into solaris.
Qhen I boot into a fedora core live cd or Solaris live cd ("belenix"),I can mount the solaris partitions and they were kept intact.dmesg | grep solaris (from linux) gives:  sda4: 
this means that /dev/sda4-/dev/sd10 are the solaris slices.    I thought of using a chainloader in grub.conf so the linux GRUB will start the solaris GRUB but I am not sure how exactly to do it. I made some trials
with this but they all failed.BTW, GRUB on linux and GRUB on solaris are different. GRUB on linux does not recognize UFS, whereas in Solaris it does.In fact in Solaris , GRUB is a patch to gnu GRUB, but it was not
sent upstream (should I say : yet?)So: can anybody comment on this ? does anybody have an experience with it?Dan    


Nfs mounting and unmounting a machine on which a shutdown is performed later on

2006-10-09 Thread Dan Shimshoni
Hello, In a thread from linux-il from about half a year a go , there  was a discussion about nfs mounting to a machine (on which is afterewards there is a shut down). see: 
http://www.mail-archive.com/linux-il@cs.huji.ac.il/msg43493.htmlOne of the suggestions there was to use umount -f , and one suggestion was to previously mount it using "-o soft".I encountered a similiar problem: a machine that was nfs mounted 
was shutdown for maintainance.It was NOT mounted with "-o soft".However, "umount -f" gave me a "device busy" error and unmount was not performed.So I thought about the  "-o soft" for mounting this 
machine in the future.. I did not tried it , but when looking in "man mount" I saw, in "Mount options for nfs" section, the following:  soft   "This  option allows the kernel to time out if the nfs server is not
  responding  for  some  time. .. Usually it just causes lots of  trouble."                            another option is to use lazy unmounting, which I eventually tried : "umount -l".
after some minutes the unmount was completed.Is there a way to nfs mount a machine so when it is down, it could be unmounted immedaiately without getting trouble (as I am afraid will happen if I use "o=soft" option)? Or is this fear is unjustified 
and there is somebody who tried it and it was OK ? Dan


Re: creating and mounting ufs Creating and mounting ufs filesystem on a loopback device on linux - a problem?

2006-09-26 Thread Dan Shimshoni
Yedidyah,> Doesn't the kernel ('dmesg | tail') say anything?Yes , it does.running: mount -r -o loop,ufstype=old -t ufs /test/disk-image /loopDir
the kernel logs emits: ufs_read_super: bad magic numberperhaps is this mkufs problem (or because of running it in conjunction with loop device, which is less likely). The mkufs is part of an old package, 
the patch of Evgeniy is quite new (may 2006).Dan On 9/26/06, Yedidyah Bar-David <[EMAIL PROTECTED]
> wrote:On Tue, Sep 26, 2006 at 03:47:28PM +0300, Dan Shimshoni wrote:> Helllo,
>> from man mount :>> Mount options for ufs>   ufstype=value> ..> oldOld  format  of  ufs,  this  is  the default, read only.> (Don't forget to give the -r option.)
>> ...> the other options (like 44bsd,sun,sunx86 ) seems unrelevant since this ufs> was created on linux.>> Anyhow I added the ufstype=old explicitly to the mount command and got the
> same error.>> I also added the -r flag to the mount ("read-only")> and got the same error.Doesn't the kernel ('dmesg | tail') say anything?>> Did anyone had success with this ?
Never used it personally.--Didi


Re: creating and mounting ufs Creating and mounting ufs filesystem on a loopback device on linux - a problem?

2006-09-26 Thread Dan Shimshoni
Helllo,from man mount : Mount options for ufs   ufstype=value...old    Old  format  of  ufs,  this  is  the default, read only. (Don't forget to give the -r option.)
the other options (like 44bsd,sun,sunx86 ) seems unrelevant since this ufs was created on linux.Anyhow I added the ufstype=old explicitly to the mount command and got the same error.I also added the -r flag to the mount ("read-only") 
and got the same error.Did anyone had success with this ? Regards,DANOn 9/26/06, Muli Ben-Yehuda <
[EMAIL PROTECTED]> wrote:On Tue, Sep 26, 2006 at 02:56:10PM +0300, Dan Shimshoni wrote:
> mount -o loop -t ufs  /test/disk-image /loopDir>> I get:> mount: wrong fs type, bad option, bad superblock on /dev/loop1,>   or too many mounted file systems>   (could this be the IDE device where you in fact use
>   ide-scsi so that sr0 or sda or so is needed?)RTFM mount(1).Mount options for ufs   ufstype=value  UFS is a file system widely used in different operating systems.
  The  problem  are differences among implementations. Features of  some implementations are undocumented, so its hard to recognize  the type of ufs automatically.  That's why the user must
  specify the type of ufs by mount option.


creating and mounting ufs Creating and mounting ufs filesystem on a loopback device on linux - a problem?

2006-09-26 Thread Dan Shimshoni
Hello linux-il,First, running this series of actions (as many know) creates and mountsan ext3 filesystem on my linux machine:dd if=/dev/zero of=/test/disk-image count=10240mkfs -t ext3 /test/disk-image
mount -o loop -t ext3  /test/disk-image /loopDirls /loopDir  => gives lost+foundNow I tried the same with ufs filesystem (which is common in *BSDand solaris os's ; in linux the ufs support is read-only):
First, I had built the ufs module and insmoded it.Running "cat /proc/filesystems |grep ufs" shows that it exists.Second, I had built the mkufs, which is part of ufs-linux.  see 
http://ufs-linux.sourceforge.net/,(I had to apply a patch of Evgeniy Dushistov after some comaplint of Andrew Morton regarding ufs support in linux) see : 
http://lkml.org/lkml/2006/5/20/48Than I had tried the following series of actions:dd if=/dev/zero of=/test/disk-image count=10240    => 10240+0 records in  => 10240+0 records outcd /work/src/ufs-
tools-0.1./mkufs /test/disk-image  => /test/disk-image: 5.0MB (10240 sectors) block size 16384, fragment size 2048    using 4 cylinder groups of 1.27MB, 81 blks, 192 inodes.  => super-block backups (for fsck -b #) at:
   160, 2752, 5344, 7936mount -o loop -t ufs  /test/disk-image /loopDirI get: mount: wrong fs type, bad option, bad superblock on /dev/loop1,   or too many mounted file systems   (could this be the IDE device where you in fact use
   ide-scsi so that sr0 or sda or so is needed?)why ? Did anyone succeeded with creating and mounting ufs on a loopback device on linux ? Dan


Re: Renaming a label in partition table

2006-06-12 Thread Dan Shimshoni
Hello, 
Yes, you are rigth, it did work ! thnks!
DanOn 6/12/06, Ira Abramov <[EMAIL PROTECTED]> wrote:
Quoting Dan Shimshoni, from the post of Mon, 12 Jun:> in /etc/fstab, I have:>
LABEL=/work1/work1  ext3defaults1
2>> When I installed FC4 , I had chosen manual partition, and selected /work1> as a mounting point for /dev/hda3; I have more partitions on this disk.> (one of them is for the other OS).>
> Is there a **safe** way to change the label /work1 to something else, let's> say,> /work ?the label is just a label. it does not dictate the mountpoint. you canedit the fstab to your liking and mount the same partition anywhere
else. Does that work for you?--All your heart desiresIra Abramovhttp://ira.abramov.org/email/=
To unsubscribe, send mail to [EMAIL PROTECTED] withthe word "unsubscribe" in the message body, e.g., run the commandecho unsubscribe | mail 
[EMAIL PROTECTED]


Renaming a label in partition table

2006-06-12 Thread Dan Shimshoni

in /etc/fstab, I have:
LABEL=/work1   
/work1 
ext3   
defaults    1 2

When I installed FC4 , I had chosen manual partition, and selected /work1
as a mounting point for /dev/hda3; I have more partitions on this disk.
(one of them is for the other OS).

Is there a **safe** way to change the label /work1 to something else, let's say, 
/work ? 

my root ("/") is mounted on /dev/hda7
my boot partition is: /dev/hda1.


-- Dan


Linux Based Wireless Router

2006-05-31 Thread Dan Shimshoni
Hi,

  I am looking for buying (here in Israel) a Linux-Based Wireless Router which can be used as an Access Point.
I want 2 things:

1) That it will serve as an Access Point to stations (linux/windows) with
wireless adapters.

2) Even more important, that it will be Linux Based and that it will be possible to hack the Accesss Point code.
 (for example, adding printk() commands in various points of the
  wireless stack of the router, building and installing the
  image  and looking at kernel log messages).
    
Because of this I prefer x86 bases stations; and in case the
processor is a different one, then that building and installing
of the code will be possible with some toolchain (and I prefer that someone have
a positive experience in this.)

I know that in the past Linksys WRT54G Wireless Router was linux based,
but as far as I understood from their web site, the new versions of this router are
VxWorks based (how could they do that to us?...)

I think that there is still something called  WRT54GL wireless router,
which is linux-based,but I don't think that it is sold anymore here at stores.


TIA,
Dan Shimshoni