Re: [Haifux] Router question

2010-10-17 Thread Kohn Emil Dan

Hi,

I am also connected to Bezeq Beinleumi (actually 'upgraded' to it after 
Actcom's demise). I have tried your gpg command, and I found IMO some 
interesting results.


Doing an nslookup on subkeys.pgp.net reveals that this host has a number 
of IP addresses:


$ nslookup
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.


subkeys.pgp.net

Server: 10.71.0.138
Address:10.71.0.138#53

Non-authoritative answer:
Name:   subkeys.pgp.net
Address: 114.31.78.196
Name:   subkeys.pgp.net
Address: 208.72.157.55
Name:   subkeys.pgp.net
Address: 195.113.19.83
Name:   subkeys.pgp.net
Address: 213.239.206.174
Name:   subkeys.pgp.net
Address: 213.239.212.133
Name:   subkeys.pgp.net
Address: 64.71.173.107


I tried your gpg command using the host name subkeys.pgp.net and then 
with each IP address instead of the host name.


Using the host name subkeys.pgp.net causes the command to hang (I guess 
because the command tries only the first IP address).
The command succeeds if using the IP addresses 208.72.157.55 and 
195.113.19.83 while it fails for the rest of the addresses. For the last 
IP address (i.e. 64.71.173.107) causes the command to fail with No route 
to host, while with the rest of the problematic addresses it just hangs



Regards,
Emil
On Sat, 16 Oct 2010, Ohad Lutzky wrote:


Hello everyone,
I have a Linksys DSL-2760u router/DSL modem, using a Wow (Bezeq) connection
to the Bezeq International ISP. It seems that various outgoing ports are
blocked - HTTP, HTTPS, bittorrent and SSH work well enough, but - for
example - I can't download Android apps from the Market. Easier to test, I
can't download PGP public keys. For example:

gpg -v -v --keyserver subkeys.pgp.net --recv F120156012B83718
gpg: requesting key 12B83718 from hkp server subkeys.pgp.net

This hangs indefinitely. So does this:
telnet subkeys.pgp.net 11371
Trying 195.113.19.83...

The same occurs for other keyservers, git-protocol, and various other
unconventional high-port usage. I've gone over the router settings,
disabled its firewall (but not NAT, which I need), added my machine to the
DMZ (this actually seems to help, sometimes, for git - and even then, only
once), tried port triggering... I can't get a consistent result.

I should note that this issue only exists for *outgoing* ports. I have no
problem mapping *incoming* ports (such as my openssh server or bittorrent
web interface).

--
Man is the only animal that laughs and weeps, for he is the only animal that
is struck with the difference between what things are and what they ought to
be.
 - William Hazlitt

Ohad Lutzky

___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Kernel oops, so what?

2010-01-15 Thread Kohn Emil Dan
Hi,

IIRC in Linux an OOPS will not necessarily freeze the system (though this 
can be configured via some /proc entry or at compilation time). If an OOPS 
occurs in the context of a process, that process will be killed with a 
SEGFAULT, and the system will attempt to continue to work.

Obviously for mission-critical systems this is a very bad idea as the 
kernel might be corrupted, but in other cases it works.

Emil


On Fri, 15 Jan 2010, Eli Billauer wrote:

 Hello,


 Maybe this is a boker-tov-eliyahu thing, but still. I've installed 
 Fedora 12, just to find out that it warns me about kernel oopses. In my 
 remote memories, I recall that a kernel oops usually meant that my 
 hardware was cooking (in those days when Linux was rock solid and 
 hardware wasn't) and the computer froze completely.


 Now I get an oops warning every now and then, but nothing really 
 happens. And I wonder what is going on? Has the dreaded oops become 
 something one can live with? And then there's this site which collects 
 oops reports (http://www.kerneloops.org/) which, judging by its sluggish 
 response, is a pretty busy project. Oopses keep flooding in.


 So, should I just take it cool and wait for a new kernel with this 
 fixed, ignoring these messages?


 Just for the heck of it, the relevant part from /var/log/messages 
 follows. I am running on a new Gigabyte motherboard. I don't expect 
 anyone to dissect this. I mean, a report has been submitted.


   Eli


 - log follows, for the fun -


 Jan 15 14:45:17 test kernel: WARNING: at arch/x86/kernel/hpet.c:390 
 hpet_next_event+0x5c/0x81() (Not tainted)

 Jan 15 14:45:17 test kernel: Hardware name: P55-UD3R
 Jan 15 14:45:17 test kernel: Modules linked in:
 Jan 15 14:45:17 test kernel: Pid: 0, comm: swapper Not tainted 
 2.6.31.5-127.fc12.x86_64 #1
 Jan 15 14:45:17 test kernel: Call Trace:
 Jan 15 14:45:17 test kernel: [81051694] 
 warn_slowpath_common+0x84/0x9c
 Jan 15 14:45:17 test kernel: [810516c0] 
 warn_slowpath_null+0x14/0x16
 Jan 15 14:45:17 test kernel: [8102d040] hpet_next_event+0x5c/0x81
 Jan 15 14:45:17 test kernel: [8102d08b] 
 hpet_legacy_next_event+0x10/0x12
 Jan 15 14:45:17 test kernel: [81071953] 
 clockevents_program_event+0x7a/0x83
 Jan 15 14:45:17 test kernel: [81072a9d] 
 tick_dev_program_event+0x3c/0xaa
 Jan 15 14:45:17 test kernel: [8107249d] 
 tick_broadcast_oneshot_control+0xa4/0x100
 Jan 15 14:45:17 test kernel: [81071dc7] tick_notify+0x222/0x379
 Jan 15 14:45:17 test kernel: [8141d02b] 
 notifier_call_chain+0x32/0x5e
 Jan 15 14:45:17 test kernel: [8106b70c] 
 raw_notifier_call_chain+0x14/0x16
 Jan 15 14:45:17 test kernel: [810717a0] 
 clockevents_notify+0x39/0x76
 Jan 15 14:45:17 test kernel: [812671b1] 
 lapic_timer_state_broadcast+0x46/0x48
 Jan 15 14:45:17 test kernel: [8126772e] 
 acpi_idle_enter_bm+0x18a/0x2b5
 Jan 15 14:45:17 test kernel: [813538a3] 
 cpuidle_idle_call+0x8d/0xc2
 Jan 15 14:45:17 test kernel: [81010c60] cpu_idle+0xa6/0xe9
 Jan 15 14:45:17 test kernel: [814145be] 
 start_secondary+0x1f3/0x234

 -- 
 Web: http://www.billauer.co.il

 ___
 Haifux mailing list
 Haifux@haifux.org
 http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Kernel oops, so what?

2010-01-15 Thread Kohn Emil Dan

Hi,

The /proc entry I was talking about is
/proc/sys/kernel/panic_on_oops

Emil

On Fri, 15 Jan 2010, Kohn Emil Dan wrote:

 Hi,

 IIRC in Linux an OOPS will not necessarily freeze the system (though this 
 can be configured via some /proc entry or at compilation time). If an OOPS 
 occurs in the context of a process, that process will be killed with a 
 SEGFAULT, and the system will attempt to continue to work.

 Obviously for mission-critical systems this is a very bad idea as the 
 kernel might be corrupted, but in other cases it works.

   Emil


 On Fri, 15 Jan 2010, Eli Billauer wrote:

 Hello,


 Maybe this is a boker-tov-eliyahu thing, but still. I've installed 
 Fedora 12, just to find out that it warns me about kernel oopses. In my 
 remote memories, I recall that a kernel oops usually meant that my 
 hardware was cooking (in those days when Linux was rock solid and 
 hardware wasn't) and the computer froze completely.


 Now I get an oops warning every now and then, but nothing really 
 happens. And I wonder what is going on? Has the dreaded oops become 
 something one can live with? And then there's this site which collects 
 oops reports (http://www.kerneloops.org/) which, judging by its sluggish 
 response, is a pretty busy project. Oopses keep flooding in.


 So, should I just take it cool and wait for a new kernel with this 
 fixed, ignoring these messages?


 Just for the heck of it, the relevant part from /var/log/messages 
 follows. I am running on a new Gigabyte motherboard. I don't expect 
 anyone to dissect this. I mean, a report has been submitted.


   Eli


 - log follows, for the fun -


 Jan 15 14:45:17 test kernel: WARNING: at arch/x86/kernel/hpet.c:390 
 hpet_next_event+0x5c/0x81() (Not tainted)

 Jan 15 14:45:17 test kernel: Hardware name: P55-UD3R
 Jan 15 14:45:17 test kernel: Modules linked in:
 Jan 15 14:45:17 test kernel: Pid: 0, comm: swapper Not tainted 
 2.6.31.5-127.fc12.x86_64 #1
 Jan 15 14:45:17 test kernel: Call Trace:
 Jan 15 14:45:17 test kernel: [81051694] 
 warn_slowpath_common+0x84/0x9c
 Jan 15 14:45:17 test kernel: [810516c0] 
 warn_slowpath_null+0x14/0x16
 Jan 15 14:45:17 test kernel: [8102d040] hpet_next_event+0x5c/0x81
 Jan 15 14:45:17 test kernel: [8102d08b] 
 hpet_legacy_next_event+0x10/0x12
 Jan 15 14:45:17 test kernel: [81071953] 
 clockevents_program_event+0x7a/0x83
 Jan 15 14:45:17 test kernel: [81072a9d] 
 tick_dev_program_event+0x3c/0xaa
 Jan 15 14:45:17 test kernel: [8107249d] 
 tick_broadcast_oneshot_control+0xa4/0x100
 Jan 15 14:45:17 test kernel: [81071dc7] tick_notify+0x222/0x379
 Jan 15 14:45:17 test kernel: [8141d02b] 
 notifier_call_chain+0x32/0x5e
 Jan 15 14:45:17 test kernel: [8106b70c] 
 raw_notifier_call_chain+0x14/0x16
 Jan 15 14:45:17 test kernel: [810717a0] 
 clockevents_notify+0x39/0x76
 Jan 15 14:45:17 test kernel: [812671b1] 
 lapic_timer_state_broadcast+0x46/0x48
 Jan 15 14:45:17 test kernel: [8126772e] 
 acpi_idle_enter_bm+0x18a/0x2b5
 Jan 15 14:45:17 test kernel: [813538a3] 
 cpuidle_idle_call+0x8d/0xc2
 Jan 15 14:45:17 test kernel: [81010c60] cpu_idle+0xa6/0xe9
 Jan 15 14:45:17 test kernel: [814145be] 
 start_secondary+0x1f3/0x234

 -- 
 Web: http://www.billauer.co.il

 ___
 Haifux mailing list
 Haifux@haifux.org
 http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
 ___
 Haifux mailing list
 Haifux@haifux.org
 http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Kernel oops, so what?

2010-01-15 Thread Kohn Emil Dan
On Fri, 15 Jan 2010, Eli Billauer wrote:

 Thanks for your answers (on this one and on my other issues).

 I realize that the oops is still an oops, only nowadays nobody want to 
 stop the whole show, just because some kernel code misbehaved. If the 
 general idea is that the worst thing a kernel can do is to crash,
No, it isn't. Crashing is one of the best of the options in some 
situations. Imagine a bug in the filesystem that writes a zero byte at 
random places on the filesystem or even funnier, on the neighboring 
partitions where you have installed another operating system. (yes 
I made one such bug once but I did not have another 
OS installed on other partitions;-). This won't crash the kernel 
too fast. But the consequences are not funny at all.



 why  crash now?
Because the consequences of a faulty kernel can be very dire. The kernel 
controls the hardware. A faulty kernel can decide to 
flash the firmware on your DVD drive. Or the BIOS on your motherboard. 
It's not funny to recover from these.

The kernel is assumed to be a trusted component. When this assumption is 
gone, all your assumptions on security are gone. You are basically back to 
Windows 3.1 when every process can crash the other one at will. Therefore 
as soon as the kernel finds itself in an inconsistent state from which it 
cannot recover, the best option is to crash.




 Kill the offender, hope it didn't have time to screw things 
 up too much, and go on as if nothing happened.


 Sooner or later the bug will be fixed, user upgrades kernel, the user 
 won't notice anything. Why make the user's experience miserable with 
 ugly crashes?
Well, some people believe that a corrupted filesystem in an irreparable 
state or a dead DVD-ROM drive is a much worse outcome than a kernel crash. 
Some security-conscious people (no, I am not one of them) will argue that 
a cryptography grade random number generator that no longer generates 
random numbers due to a bug in a driver is a very bad thing.




 As for my own computer's welfare, this seems to happen once per reboot, 
 with no stability issues at all. I'll see if I can find a way to avoid 
 this, but my gut feeling tells me that the answer is a kernel patch, 
 which is already waiting in the kernel's digestive tract.
Sure, as long as it is a personal computer with little important data on 
it, this is almost OK. However some people want to use linux for more 
serious applications. I doubt that such kernel behavior is acceptable.


   Eli

 -- 
 Web: http://www.billauer.co.il

Emil


 ___
 Haifux mailing list
 Haifux@haifux.org
 http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] Me Volunteering to Give a Presentation

2009-09-06 Thread Kohn Emil Dan
Hi,

I would like to hear a lecture on cmake.

Regards,
Emil


On Sun, 6 Sep 2009, Shlomi Fish wrote:

 Hi all,

due to the lack of recent volunteer presenters in the open-source clubs, I 
decided to step forward and volunteer to give a presentation. The usual caveat 
is that I tend to give pretty bad presentations: I don't have good diction, 
tend to create bad slides (though I'll try to spice them with some images, and 
good presentation advice - http://perl.net.au/wiki/Resources_for_Presenters - 
etc.)

In any case I can give a talk about:

1. CMake - http://www.cmake.org/ - the opossum alternative to the GNU 
Autotools (a.k.a GNU Autohell). I gave a presentation about GNU Autotools 
before, which I knew were very bad, but has since then reached nirvana with 
CMake.

2. jQuery - portable and concise JavaScript - http://jquery.com/ - jQuery is 
the write less - do more JavaScript library, which abstracts most common 
JavaScript tasks in a succinct interface, which greatly speeds up and 
facilitates the coding. My approach to this will be to give several jQuery 
examples, and explain how and why they work.

3. Bottom-up Subversion - an introduction to http://subversion.tigris.org/ 
in a bottom-up fashion, as a complementary to the svnbook - 
http://svnbook.red-bean.com/ .

4. Anything from here - http://www.shlomifish.org/lecture/ . I may need to 
update some of these presentations.

5. I can also adapt a lot of stuff from here - 
http://www.shlomifish.org/philosophy/ (should have been /essays/ or /articles/ 
or something - yet another historical URL on my site) to presentations.

6. I've been working on the fifth installment of my Perl-for-Newbies 
presentation:

http://www.shlomifish.org/lecture/Perl/Newbies/lecture5/

My Perl-for-Newbies presentations did not prove very popular when I gave them 
one after the other to Telux, but I can give this separately.

Regards,

Shlomi Fish

-- 
-
Shlomi Fish   http://www.shlomifish.org/
Original Riddles - http://www.shlomifish.org/puzzles/

Chuck Norris read the entire English Wikipedia in 24 hours. Twice.
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] [SMALL PAID-HELP WORK OFFER] Latex Refinement

2009-06-03 Thread Kohn Emil Dan
Hi,

When I wrote my master thesis, I used LyX instead of plain LaTeX. I was 
very satisfied with the results, and I highly recommend her to use it.


http://www.lyx.org


One  one hand LyX allows you to work at a high level (i.e. completely 
shielded from the intricacies of LaTeX), and on the other hand it allows 
you to insert low level LaTeX sequences if you want to.

Also there is the possibility to edit the generated LaTeX file.




Emil



On Wed, 3 Jun 2009, Orna Agmon Ben-Yehuda wrote:

 Hello all,

 A friend of mine (CCed above) is working on her research proposal, and is
 looking for someone who is familiar with latex, directly or through
 scientific workplace, and can do all the details of making the work look
 good -
 pictures location, equations placement and such.

 Anyone willing to give some paid help, please contact Rotem directly.

 Thanks
 Orna.

___
Haifux mailing list
Haifux@haifux.org
http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux


Re: [Haifux] lecture proposal

2007-04-05 Thread Kohn Emil Dan


AFAIK the latest version of AIX (AIX 5L) is based on Linux (at least this 
is what I heard that the 'L' stands for), so I think that there is 
definitely a big connection with Linux and AIX if anyone cared about it.


Other than that, I agree with Eli.

Emil

On Thu, 5 Apr 2007, Eli Billauer wrote:


Ladies and gentlemen,

Sincerely, I can't see the point of this discussion. A group of people wants 
to meet for a lecture. What reason in the world could there be to stop it?


I mean, for all I care, if someone wants to make a lecture about how to 
manufacture icecream at home (with no computer or OS involved), and enough 
people are interested, why not?


One could argue that lectures about any subject would overfill the queue. 
Well, if that happens, I'm sure someone will find an elegant solution.


Let's leave this kind of arguments to the religoux-il list.

  Eli

--
Web: http://www.billauer.co.il



-
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




-
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]



Re: [Haifux] Spamassasin 3.1.2 and Bayes filtering

2006-06-05 Thread Kohn Emil Dan

Hi,

Dunno what to say about this, fact is that there was a time (more or less 
the whole last year) during which I have almost never received any spam on 
my account on csd. Now the spam is back again. So it looks like the spam 
filter has been tricked again. Also there are lots of spam messages in 
which the spam content is inside an image. As I can see csd is using 
spamassasin 2.55


Emil

On Mon, 5 Jun 2006, Eli Billauer wrote:


Hello all,

I started to get increasingly annoyed by certain spam mails getting through 
my previous 2.63 version of Spamassassin, mainly because the Bayes filter 
didn't bite any more, so I had this weird idea about upgrading my 
two-year-old thing with a brand new one. So I did. After some slight 
annoyances of downloading a few modules from CPAN and installing them (no 
problems, just some work) I got the new thing up and running smoothly.


The only problems is that I see no improvement. In particular, the Bayes 
filtering remains as misled as it was previously, possibly even worse. So I 
decided to remove the bayes_* files from the respective directory to start it 
all over again. I fed sa-learn utility with 1000 mails of ham and spam, and 
hoped for good. And no, I didn't get the flags wrong, neither did I mix the 
messages. Honestly.


But still I have the Bayes filter declaring very typical spam messages 
(gambling words, drugs etc) as BAYES_00, which means surely ham. Not to 
mention those mails in which the name of the drugs are in capitalized letters 
with spaces between them, and then a paragraph with normal text.


I'm pretty close to giving up the Bayes filter, and let Razor2 do the job 
instead. Before I do that, does anyone here have a comment to make on this? 
Are spam messages becoming smarter with Bayes filters, or...?


Thanks,
  Eli

--
Web: http://www.billauer.co.il



--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]





--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] Asking for help with Cygwin.

2006-04-07 Thread Kohn Emil Dan


Hi,

Indeed unzip exists under cygwin, but it is not installed by default. 
IIIRC when you run the setup, you can choose to see all the packages 
sorted alphabetically. Then you check the unzip package (it is not checked 
by default).



Emil


On Thu, 6 Apr 2006, guy keren wrote:



On Thu, 6 Apr 2006, Joseph wrote:


Dear Colleagues,

Could you please help me with the issue of installing the unzip command
under Cygwin, and from where Ican download it.


if it must be under cygwin, then i imagine you can download it from
cygwin's web site. their installer allows you to choose which packages
exactly to download and install - invoke it and search if it has the
relevant package ('zip', i presume).

(www.cygwin.com, ofcourse)

--
guy

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

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]





--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] Help with new project under Linux.

2006-03-26 Thread Kohn Emil Dan



Hi,

You can find info about writing device drivers in Linux from the book 
Linux Device Drivers (3rd Edition)  by Jonathan Corbet Alessandro 
Rubini. The book is freely downloadable from the Internet from:


http://lwn.net/Kernel/LDD3

Other books relevant to the Linux kernel are:

Linux Kernel Development by Robert Love

and

Understanding the Linux Kernel (3d edition) by Daniel Bovet and Marco 
Cesati


Regards,
Emil

On Sun, 26 Mar 2006, Joseph wrote:


Dear colleagues,



In the next few days I have to compile and upgrade a project that had 
been written under Windows operating system to1 Linux operating system, 
especially drivers, maybe I need to deal with the kernel too (I don???t 
know yet).


My knowledge in Linux is little and I need a help.

Could you please help me in this issue, a literature in this subject 
could be very helpful, could you give me a guidelines, books or material 
in the Internet that can help!






Thanks and best regards,

Joseph Halloun.








---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.772 / Virus Database: 519 - Release Date: 01/10/2004



[Haifux] Linux kernel books

2006-01-25 Thread Kohn Emil Dan

Hi all,

Maybe for some of you this is old news, but I just found out that there 
are new updated versions of the (IMO great) books Understanding the Linux 
Kernel and Linux Device Drivers (3rd edition, both covering the 2.6.X 
kernels). Linux Device Drivers is available online at:


http://lwn.net/Kernel/LDD3/


Emil

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] C++ STL object

2005-07-07 Thread Kohn Emil Dan



Hi,

From the error message you receive, it seems that you are using Microsoft 
Visual C++, (so some haifux guys might rightfully ask you: And your 
linux question is...;-) with a debug version of the runtime library and 
you are messing up the dynamic memory heap.


As far as I know, the STL implementation which comes with MSVC++ does not 
include a hash_map, because hash_map is not part of STL, according to 
the C++ standard, so it seems that you are using a different 
implemtation of STL. So my questions are:


1) What STL implementation are you using? 
2) Can you post a minimal code snippet which exposes the problem?


Emil


On Wed, 6 Jul 2005, yakoub abaya wrote:


i want to write an STL object to a file using binary stream

i have ( hash_map H,S ; ) i initielizing H using class interfase .
then write H to file , read from the same file into S

after this , S and H have the same data and H.size==S.size
but at the end of the program i get assertion faillure:
_BLOCK_TYPE_IS_VALID(phead-nBlockUse)

i asume the problem is that S was writen-to without using
its class interface and that interferes with its destruction .
is this the case ?

i thought about using the  C'tor of  S ..but couldn't see how ,
if only there was a method of hash_map that returns a fixed
array of data that can be used later to construct a new object
like in the string case  .

how do i get this done ? i need to write a large STL object to file
so that program memory usage wouldn't be too large ..

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]





--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




[Haifux] Mandrake 10.1: missing g++

2004-10-08 Thread Kohn Emil Dan
Hi all,

As I understand you have decided to install Mandrake 10.1 Community
Edition on the next InstaParty.

I would like to point out a small annoying problem with this distribution:
For some reason, they forgot to add the C++ compiler package!

I have tried to install it, selected the Development Tools and then I saw
that there was not able to compile any C++ program because there was
no g++. I looked arround and saw that the C++ compiler package
gcc-c++-3.4.1-3mdk.i586.rpm is missing from the distribution disks (I
think it should have been on disk 2 where the C compiler and C
preprocessor packages are) (I used the mirror at ftp://mirror.cs.wisc.edu)

I have found the package though at

ftp://mirror.cs.wisc.edu/pub/mirrors/linux/Mandrakelinux/devel/10.1/i586/media/main

After installing it, everything went ok. Just wanted to warn you about
this. I will look arround if someone already filed a complaint to Mandrake
about this issue I have seen a post at:

http://www.linuxquestions.org/questions/showthread.php?s=postid=1212561#post1212561

and if not, I'll file one.

Regards,

Emil

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] ADSL driver challenge

2004-06-25 Thread Kohn Emil Dan


On Fri, 25 Jun 2004, Alexander Kanevsky wrote:

 Hi people, I am from the Tecnhnion and a newbie to Linux. Some people
 told me that you can help me. I have mdk9.2, and a very common (at least
 here in Israel) ADSL modem of Dynamode (DynaMiTe A360, Alcatel chipset,
 but not speedtouch as far as I know). They have the drivers only for
 RH7.2 that do not run on my system. I can send you their package.
Can you try to adapt their driver to my 2.4.22 kernel? My modem uses PPP
 over ATM. Thanks in advance, Ciao, Alex.

Do they provide the source code for their Linux driver? If not, life is
slightly harder. Otherwise, I might give it a try. Anyway, send me the
package to

[EMAIL PROTECTED]

Emil

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] slides for shell lecture

2004-03-01 Thread Kohn Emil Dan


On Mon, 1 Mar 2004, Orna Agmon wrote:

  thus the gnu FAQs are formed. It was the best answer there.

  19. in 'error redirection', the '' redirects both standard output AND
  standard error, while the '2' in bash redirects ONLY the standard
  error. better mention that, or change the bash example to '21 '
  to be equivalent to the tcsh example.

 How do you redirect only Error in tcsh?


( command  /dev/null )  file

Now ain't that cute? ;-)

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] Informative: Cellular internet / ttyS0 dead

2004-02-24 Thread Kohn Emil Dan


On Tue, 24 Feb 2004, Eli Billauer wrote:

 Hello all.


 co:2345:respawn:/sbin/agetty ttyS0 9600 vt100

 And this is what I call annoying! For some reason that is beyond my
 understanding, someone decided that my only COM port should be tied up
 to doing logins.


During the good old days of UNIX, before the advent of personal computers
and workstations, it was customary to attach terminals on serial ports,
in order to allow several users to access the computer. Old habits die hard ;-)

Emil

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] /var/log/messages

2004-01-26 Thread Kohn Emil Dan


On Thu, 22 Jan 2004, Nahum Cohen wrote:

 Hi,

 Where can I find information about the error messages in /var/log/messages ?

  I get all kind of messages and I want to know what they mean.
  For example:
  Jan 19 23:38:58 nahum-x telnetd[24258]: ttloop: peer died: EOF
  Jan 19 23:38:58 nahum-x telnetd[24375]: ttloop: read: Connection reset by
  peer
 
  And this one that is much more to worry about:
  Jan 21 02:42:57 nahum-x kernel: eth0: Too much work in interrupt, status
  8401.

Sounds like a broken network card driver. A long time ago, I used to have
similar problems with Mandrake 8.0 Try to see if there are any updates for
your network card driver or linux distro.


Emil



--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] Resizing NTFS problem

2003-10-08 Thread Kohn Emil Dan

Give PartitionMagic a try, if you can. I don't know how it works with
XP, but at least with Windows 2000 It does make wonders ;-). Although
not being free, I think it's an excellent piece of software.

Emil

On Wed, 8 Oct 2003, Eli Billauer wrote:

 Hello all.

 I have a nasty problem with my newly bought Presario 2121EA Laptop.
 Well, the problem is really with XP. But on a laptop, a reinstall of XP
 doesn't sound like much fun.

 The thingy came with a 18GB hard disk, in one partition of NTFS. I want
 to resize it to 5 GB (this is the Linux context, right?). I can't,
 because there is data stored above the cutting point, even though there
 is plenty of free space. The MS defrag doesn't do this, because there is
 a nice, unfragmented chunk in the middle of the hard disk. It just says,
 your disk doens't need defragmentation, which I translate to your
 computer doesn't need Linux.

 No piece of the chunk is unmovable. I've already killed virtual
 memory, hibernation and System backup. It's all plain files out there. I
 think.

 I've seen several programs that offer defrag, but all that I've seen are
 merely a front end to the built-in command-line defrag, which gives me
 exactly the same annoying answer. (Haven't checked Norton nor Partition
 Magic yet)

 I've tried to move files (copy, rename, delete old), but it seems like
 the chunk I have is the Windows directory itself. I think it's because
 the laptop installed itself from the hard disk  I'm quite surprised that
 I haven't crashed the system with all this playing.

 Does anyone have an idea? Except for my own problem-solving, this is
 expected an issue on insta-parties. People will come with defragged hard
 partitions that you can't resize.

 You can tell me to reinstall XP (which I will soon), but that's because
 the computer is fresh.

 So, fellows, who knows what to do?

 Thanks in advance,
Eli



 --
 Haifa Linux Club Mailing List (http://www.haifux.org)
 To unsub send an empty message to [EMAIL PROTECTED]




--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




Re: [Haifux] JVM

2003-10-06 Thread Kohn Emil Dan
Hi Nahum,

Goto

Help-About Plugins and check whether the Java plugin is on. You have
to see lots of mime types such as aplication/x-java,
application/x-java-applet, etc handled by the plugin. Probably you will
not see anything like this, meaning that the java plug-in is not loaded.

In this case,

1) Exit netscape.
2) log on as root.

3) copy (or make a symbolic link of) the file
/path_to/j2sdk1.4.xx/jre/plugin/i386/ns610/libjavaplugin_oji.so

into the directory

/path_to/netscape/plugins/


Hope this helps,

Emil



On Sun, 5 Oct 2003, Nahum Cohen wrote:

 I have a question regarding Sun JVM runtime version:

 I am running RedHat 9 and I installed Netscape 7.1.
 When I am trying to browse to a web page containing Java applet, I get
 prompt that I don't have the necessary plug-in, and I have to download
 it. Then I get to this web page: http://java.sun.com/j2se/downloads.html

 I downloaded J2SE v 1.4.2_01 (Linux RPM in self-extracting file),
 extracted the bin file and got the RPM. After installing the RPM I got
 Java installed under /usr/java

 But when I am trying to run a web page containing Java applet - I still
 get the same prompt that I don't have the right plug-in... I checked in
 Netscape under preferences that Enable Java is checked.

 What else do I have to do enable to run Java applet ?

 P.S:
 When I run /usr/java/j2re1.4.2_01/bin/java -version I get the following:
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
 Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode




--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]




RE: [Haifux] [MSG from Mark Silberstein] Sandboxing in linux

2003-06-24 Thread Kohn Emil Dan


On Tue, 24 Jun 2003, Tzahi Fadida wrote:

 I am probably of the mark because you probably know that, but chroot is a sandbox of 
 a shell. i am
 not a linux programmer, but i think there are libraries for this chroot thing, so 
 maybe it will suit
 your needs. also, maybe there are already products that uses these libraries for 
 these ends.
 User Mode Linux, seems exsesive for just one application, and will definetly will 
 lower performance
 by a few precent. Definetly not, Vmware or plex thingie, since performance will go 
 down the drain on
 these babies.

FLAME

Have you ever used a *recent* version of vmware? I think you did not.
Because if you were, you would have noticed that on recent versions of
vmware, performance is not bad at all.

/FLAME

Emil

--
Haifa Linux Club Mailing List (http://www.haifux.org)
To unsub send an empty message to [EMAIL PROTECTED]