From elazarl at gmail.com Wed Apr 1 08:33:36 2015 From: elazarl at gmail.com (Elazar Leibovich) Date: Wed, 1 Apr 2015 08:33:36 +0300 Subject: Accessing static variables from kernel modules Message-ID: Hi, I was extending perf counters to sample the stack of a KVM guest from a module[0]. The current KVM profiling architecture, keeps a CPU local variable current_vcpu of the current vcpu running before vm_enter, and removes it after a vm_exit. Then, when an NMI occurs, it could check the current_vcpu variable, and get statistics of the guest from it, if it occurred during the time the VM ran. What I needed is, sampling the guest stack evey time an NMI occurs. I needed two things. 1. A way to add code that would run when a PMI occurs. - possible with register_nmi_handler public API. 2. A way to access the CPU local variable current_vcpu. - problematic, since current_vcpu is static. What I eventually did is, since KVM expose a "setter" to current_vcpu, I scanned the assembly code of the setter, and looked for a direct move from register to gs (where CPU local variables are stored) plus offset. Then take this offset and use it to access the current_vcpu variable. What can fail? 1. kvm performance implementation is completely changed. 2. Compiler would do use different instructions to set CPU local variables (e.g., access CPU local variable by "mov $offset, %r2; mov $value, (%r2)"). I think both cases are unlikely. This mechanism was written in 2010, and had a cosmetic change in 2011 (access function to CPU local variables). I think that there are a few years until this approach could fail. Obviously, the correct approach is to fix perf counters in the kernel to support stack sampling (not trivial). But sometimes you need a solution now, without patching all your host kernels. I would be grateful for feedback of this approach, and especially possible pitfalls I haven't considered. The gist of the code is[1]: for (;;) { u8 *p; c = memchr(c, GS_SEG_OVERRIDE, end - c); if (c == NULL) return -1; c++; p = c; if (!IS_RX_W(*p)) continue; p++; if (*p != MOV_M_TO_R_OPCODE) continue; /* We need direct access to memory with displacement */ /* Don't care which registers are used */ p++; if (MOD(*p) != 0 || RM(*p) != 0b100) continue; p++; if (BASE(*p) != 0b101 || INDEX(*p) != 0b100) continue; p++; /* grab displacement32 value */ return *(u32 *)p; } [0] https://github.com/elazarl/gueststack [1] https://github.com/elazarl/gueststack/blob/master/module.c#L114 From shlomif at gmail.com Wed Apr 1 11:29:52 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Wed, 1 Apr 2015 11:29:52 +0300 Subject: =?UTF-8?Q?Announcing_=E2=80=9CHTML_6=E2=80=9D=3A_the_new_version_of_the_Web?= Message-ID: Today, the World Wide Web Consortium (W3C) announced the immediate availability of the new version of the web ? HTML 6 ? pronounced ?HTML Sicks [sic]? with the motto ?HTML 6 is sick!?. ?We concluded that the previous version of the World Wide Web?s standards suite, HTML5, has exceeded its flexibility and usability, and we need to start over?, said Tim Berners Lee, the director of the W3C. For more, see: http://www.shlomifish.org/humour/bits/HTML-6/ Regards, Shlomi Fish -- ------------------------------------------ Shlomi Fish http://www.shlomifish.org/ Chuck Norris helps the gods that help themselves. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From nyh at math.technion.ac.il Wed Apr 1 11:49:34 2015 From: nyh at math.technion.ac.il (Nadav Har'El) Date: Wed, 1 Apr 2015 11:49:34 +0300 Subject: Hebrew in markup In-Reply-To: <20150307014248.GN20529@lemon.cohens.org.il> References: <20150307014248.GN20529@lemon.cohens.org.il> Message-ID: <20150401084934.GA7499@fermat.math.technion.ac.il> On Sat, Mar 07, 2015, Tzafrir Cohen wrote about "Hebrew in markup": > But I could not figure a simple way with any of those to get decent > control of bidi. Or specifically: > > * Make the whole document RTL > * Make various paragraphs LTR > > I guess I need to override some styles. With asciidoc I could not find a > simple way to do that and ended up having to create my own separate > "bidi" style. I didn't yet check all the various reSt and markdown > implementations. Any better alternatives? I see the discussion in this thread focused on how to edit such a document, but I think there's a deeper issue here - not how to edit this document, but how the different "markdown" displayers and converters (the most popular is, of course, githaps) will *display* the resulting document. 15 years ago, I approached the same problem in pure-text documents (such as emails) by inventing my own conventions (embodied in the "bidiv" program) which automatically determines each paragraph's direction in a "natural" (I think) way: I decided on a convention that paragraphs are separated by a blank line, and a paragraph's direction is the direction of its first directioned character. It would be wonderful if popular markdown converters would be added a similar automatic direction convention, so Hebrew paragraphs would "just work" (and be right-aligned) without any concious changes to the text needed. Seems very easy to add this support to any particular markdown converter (I'd start with github's...). Alternatively, (or additionally,) special markdown conventions could be added to control directionality. Unicode also has the LRM, RLM characters, but I *don't* recommend those - I hate invisible characters in my documents. -- Nadav Har'El | Wednesday, Apr 1 2015, 12 Nisan 5775 nyh at math.technion.ac.il |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |Linux: Because rebooting is for adding http://nadav.harel.org.il |new hardware. From nyh at math.technion.ac.il Wed Apr 1 11:55:32 2015 From: nyh at math.technion.ac.il (Nadav Har'El) Date: Wed, 1 Apr 2015 11:55:32 +0300 Subject: Is Beersheva really becoming a high-tech powerhouse? In-Reply-To: <20150312103255.06bd2a9f@mydesq2.domain.cxm> References: <20150312103255.06bd2a9f@mydesq2.domain.cxm> Message-ID: <20150401085532.GB7499@fermat.math.technion.ac.il> On Thu, Mar 12, 2015, Steve Litt wrote about "Is Beersheva really becoming a high-tech powerhouse?": > Hi all, > > I read the following article, which says that Beersheva might become a > high-tech powerhouse: When I was a kid, the popular belief was that *Haifa* will become the high-tech center in Israel. You can see what came out of this. As long as our most of our country's focus is on its center (this is a long topic, let's not start it here and now), no "center" of anything - not of high-tech, not of "cyber" companies, and not anything else - will ever appear outside the "Gush Dan" area. There can be *a* high-tech center in Beersheva (and there is one in Haifa), but it will never become *the* high-tech center, or *the* security center, or anything like the papers are trying to suggest. -- Nadav Har'El | Wednesday, Apr 1 2015, 12 Nisan 5775 nyh at math.technion.ac.il |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |Unix is simple, but it takes a genius to http://nadav.harel.org.il |understand its simplicity. From nyh at math.technion.ac.il Wed Apr 1 12:34:12 2015 From: nyh at math.technion.ac.il (Nadav Har'El) Date: Wed, 1 Apr 2015 12:34:12 +0300 Subject: Back to the Future with C++ and Seastar Message-ID: <20150401093412.GA8379@fermat.math.technion.ac.il> (hmm, I see it's April 1st today, but this is not a joke, just a serious post...) In April 14th, in Tel Aviv (Google's building), Avi Kivity - of KVM and OSv fame - will present "Seastar", a new C++-based framework for writing super-efficient but highly complex and asynchronous server applications. Seastar is an open source (http://www.seastar-project.org/) library. It is based on the concept of "futures" (like in Node.js, just implemented in a much more efficient way). Part of the talk will also introduce futures, how Seastar implements them in C++, and how much C++ has changed in recent years from what you may remember about it. Surprisingly to some, C++ focus has shifted in recent years from classic "object oriented" programming with its familiar runtime overheads, to other paradigms (such as template-based "generic programming") which emphasise sophisticated compile-time processing with zero runtime overhead, allowing us to write complex code which still performs like hand-crafted assembly code. For more information about the meetup (please register if you intend to come - it's free, but I guess space is limited): http://www.meetup.com/saylambda/events/221522808/ -- Nadav Har'El | Wednesday, Apr 1 2015, 12 Nisan 5775 nyh at math.technion.ac.il |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |Hindsight is always 20:20 http://nadav.harel.org.il | From dotancohen at gmail.com Wed Apr 1 13:02:52 2015 From: dotancohen at gmail.com (Dotan Cohen) Date: Wed, 1 Apr 2015 13:02:52 +0300 Subject: Hebrew in markup In-Reply-To: <20150401084934.GA7499@fermat.math.technion.ac.il> References: <20150307014248.GN20529@lemon.cohens.org.il> <20150401084934.GA7499@fermat.math.technion.ac.il> Message-ID: http://dotancohen.com/howto/rtl_right_to_left.html The LRM and RLM characters do not have to be invisible. I agree that when I'm editing markup I prefer to see all the control characters. If your markup interpreter supports HTML entities, then LRM is ‎ and you can guess what the RLM is. Even more useful is the Right-To-Left Embedding character which is HTML entity ‫ There is a table of useful RTL-related HTML entities at the bottom of this page: http://dotancohen.com/howto/rtl_right_to_left.html On Wed, Apr 1, 2015 at 11:49 AM, Nadav Har'El wrote: > On Sat, Mar 07, 2015, Tzafrir Cohen wrote about "Hebrew in markup": >> But I could not figure a simple way with any of those to get decent >> control of bidi. Or specifically: >> >> * Make the whole document RTL >> * Make various paragraphs LTR >> >> I guess I need to override some styles. With asciidoc I could not find a >> simple way to do that and ended up having to create my own separate >> "bidi" style. I didn't yet check all the various reSt and markdown >> implementations. Any better alternatives? > > I see the discussion in this thread focused on how to edit such a > document, but I think there's a deeper issue here - not how to edit > this document, but how the different "markdown" displayers and > converters (the most popular is, of course, githaps) will *display* > the resulting document. > > 15 years ago, I approached the same problem in pure-text documents > (such as emails) by inventing my own conventions (embodied in the "bidiv" > program) which automatically determines each paragraph's direction > in a "natural" (I think) way: I decided on a convention that paragraphs > are separated by a blank line, and a paragraph's direction is the direction > of its first directioned character. > > It would be wonderful if popular markdown converters would be added > a similar automatic direction convention, so Hebrew paragraphs would > "just work" (and be right-aligned) without any concious changes to the > text needed. Seems very easy to add this support to any particular > markdown converter (I'd start with github's...). > > Alternatively, (or additionally,) special markdown conventions could be > added to control directionality. > > Unicode also has the LRM, RLM characters, but I *don't* recommend > those - I hate invisible characters in my documents. > > -- > Nadav Har'El | Wednesday, Apr 1 2015, 12 Nisan 5775 > nyh at math.technion.ac.il |----------------------------------------- > Phone +972-523-790466, ICQ 13349191 |Linux: Because rebooting is for adding > http://nadav.harel.org.il |new hardware. > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Dotan Cohen http://gibberish.co.il http://what-is-what.com From nyh at math.technion.ac.il Wed Apr 1 13:42:50 2015 From: nyh at math.technion.ac.il (Nadav Har'El) Date: Wed, 1 Apr 2015 13:42:50 +0300 Subject: Hebrew in markup In-Reply-To: References: <20150307014248.GN20529@lemon.cohens.org.il> <20150401084934.GA7499@fermat.math.technion.ac.il> Message-ID: <20150401104250.GA9481@fermat.math.technion.ac.il> On Wed, Apr 01, 2015, Dotan Cohen wrote about "Re: Hebrew in markup": > If your markup interpreter supports HTML entities, then LRM is ‎ > and you can guess what the RLM is. Even more useful is the > Right-To-Left Embedding character which is HTML entity ‫ Very nice! I tried this magic incantation in github and it's a good start: https://github.com/nyh/osv/wiki/Trying Note how the third paragraph, which I started with the incantation "‫", has the correct right-to-left order. What is still very suboptimal about this solution is that: 1. You need to manually type that ugly incantation on every Hebrew paragraph. 2. The paragraph is not right-justified (I guess there's a separate incantation to do that). 3. Github's "editor" makes it really difficult to type and edit these kind of paragraphs. I wish things could have been much simpler - as in bidiv. -- Nadav Har'El | Wednesday, Apr 1 2015, 12 Nisan 5775 nyh at math.technion.ac.il |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |Just remember that if the world didn't http://nadav.harel.org.il |suck, we would all fall off. From dov.grobgeld at gmail.com Wed Apr 1 13:57:13 2015 From: dov.grobgeld at gmail.com (Dov Grobgeld) Date: Wed, 1 Apr 2015 13:57:13 +0300 Subject: Hebrew in markup In-Reply-To: <20150401104250.GA9481@fermat.math.technion.ac.il> References: <20150307014248.GN20529@lemon.cohens.org.il> <20150401084934.GA7499@fermat.math.technion.ac.il> <20150401104250.GA9481@fermat.math.technion.ac.il> Message-ID: Does emacs already support the relatively new UniCode isolate characters LRI, RLI, FSI, PDI? These are perfect for separating markup text direction (which is typically L2R) from the flowing text. Dov On Wed, Apr 1, 2015 at 1:42 PM, Nadav Har'El wrote: > On Wed, Apr 01, 2015, Dotan Cohen wrote about "Re: Hebrew in markup": > > If your markup interpreter supports HTML entities, then LRM is ‎ > > and you can guess what the RLM is. Even more useful is the > > Right-To-Left Embedding character which is HTML entity ‫ > > Very nice! I tried this magic incantation in github and it's a good > start: > > https://github.com/nyh/osv/wiki/Trying > > Note how the third paragraph, which I started with the incantation > "‫", > has the correct right-to-left order. > > What is still very suboptimal about this solution is that: > > 1. You need to manually type that ugly incantation on every Hebrew > paragraph. > > 2. The paragraph is not right-justified (I guess there's a separate > incantation to do that). > > 3. Github's "editor" makes it really difficult to type and edit these > kind of paragraphs. > > I wish things could have been much simpler - as in bidiv. > > -- > Nadav Har'El | Wednesday, Apr 1 2015, 12 Nisan > 5775 > nyh at math.technion.ac.il > |----------------------------------------- > Phone +972-523-790466, ICQ 13349191 |Just remember that if the world > didn't > http://nadav.harel.org.il |suck, we would all fall off. > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eliz at gnu.org Wed Apr 1 17:37:54 2015 From: eliz at gnu.org (Eli Zaretskii) Date: Wed, 01 Apr 2015 17:37:54 +0300 Subject: Hebrew in markup In-Reply-To: <20150401084934.GA7499@fermat.math.technion.ac.il> References: <20150307014248.GN20529@lemon.cohens.org.il> <20150401084934.GA7499@fermat.math.technion.ac.il> Message-ID: <83ego3sym5.fsf@gnu.org> > Date: Wed, 1 Apr 2015 11:49:34 +0300 > From: Nadav Har'El > > 15 years ago, I approached the same problem in pure-text documents > (such as emails) by inventing my own conventions (embodied in the "bidiv" > program) which automatically determines each paragraph's direction > in a "natural" (I think) way: I decided on a convention that paragraphs > are separated by a blank line, and a paragraph's direction is the direction > of its first directioned character. By some lucky accident (or maybe something else), Emacs adopts the same convention regarding determination of the paragraph base direction. In addition, Emacs provides a means to force paragraph direction on the entire buffer: a buffer-local variable named bidi-paragraph-direction. If you want to force base direction on just some paragraphs in a buffer, you can use the LRM and RLM controls. > It would be wonderful if popular markdown converters would be added > a similar automatic direction convention, so Hebrew paragraphs would > "just work" (and be right-aligned) without any concious changes to the > text needed. Seems very easy to add this support to any particular > markdown converter (I'd start with github's...). How do you right-align text without knowing the width of the screen line which will be in effect when the text will be displayed? > Unicode also has the LRM, RLM characters, but I *don't* recommend > those - I hate invisible characters in my documents. They don't have to be invisible (Emacs does display them), and sometimes you cannot do without them, and stay compatible. IOW, they are there for a reason. From eliz at gnu.org Wed Apr 1 17:40:19 2015 From: eliz at gnu.org (Eli Zaretskii) Date: Wed, 01 Apr 2015 17:40:19 +0300 Subject: Hebrew in markup In-Reply-To: References: <20150307014248.GN20529@lemon.cohens.org.il> <20150401084934.GA7499@fermat.math.technion.ac.il> <20150401104250.GA9481@fermat.math.technion.ac.il> Message-ID: <83d23nsyi4.fsf@gnu.org> > Date: Wed, 1 Apr 2015 13:57:13 +0300 > From: Dov Grobgeld > Cc: Dotan Cohen , Linux-IL > > Does emacs already support the relatively new UniCode isolate characters LRI, > RLI, FSI, PDI? The development version in the Emacs Git repository does. But not the released versions, including the upcoming 24.5. From pub at goldshmidt.org Wed Apr 1 20:59:52 2015 From: pub at goldshmidt.org (Oleg Goldshmidt) Date: Wed, 01 Apr 2015 20:59:52 +0300 Subject: Back to the Future with C++ and Seastar In-Reply-To: <20150401093412.GA8379@fermat.math.technion.ac.il> References: <20150401093412.GA8379@fermat.math.technion.ac.il> Message-ID: <871tk3ybjb.fsf@goldshmidt.org> "Nadav Har'El" writes: > Seastar is an open source (http://www.seastar-project.org/) library. > It is based on the concept of "futures" (like in Node.js, just implemented > in a much more efficient way). Part of the talk will also introduce futures, > how Seastar implements them in C++, and how much C++ has changed in recent > years from what you may remember about it. I might come (close to work :). C++ has futures and promises natively, as a part of its standard library. Can you add a couple of words on how Seastar's futures differ? -- Oleg Goldshmidt | pub at goldshmidt.org From nyh at math.technion.ac.il Wed Apr 1 21:53:44 2015 From: nyh at math.technion.ac.il (Nadav Har'El) Date: Wed, 1 Apr 2015 21:53:44 +0300 Subject: Back to the Future with C++ and Seastar In-Reply-To: <871tk3ybjb.fsf@goldshmidt.org> References: <20150401093412.GA8379@fermat.math.technion.ac.il> <871tk3ybjb.fsf@goldshmidt.org> Message-ID: <20150401185344.GA15984@fermat.math.technion.ac.il> On Wed, Apr 01, 2015, Oleg Goldshmidt wrote about "Re: Back to the Future with C++ and Seastar": > "Nadav Har'El" writes: > > Seastar is an open source (http://www.seastar-project.org/) library. > > It is based on the concept of "futures" (like in Node.js, just implemented > > in a much more efficient way). Part of the talk will also introduce futures, > > how Seastar implements them in C++, and how much C++ has changed in recent > > years from what you may remember about it. > > I might come (close to work :). C++ has futures and promises natively, > as a part of its standard library. Can you add a couple of words on how > Seastar's futures differ? Sure, though I'm sure Avi will explain it better in his talk :-) The first difference is that C++11's support for futures is incomplete: Futures are supported, but not *continuations*, which are code you want to run when the future value becomes available. C++17 will probably have continuations, but Seastar has them now. The second difference is that C++11's futures are indeed powerful, but not optimized for performance. They make excessive use of allocations, they rely on threads and everything uses atomic operations and locks. Seastar's design, on the other hand, is aimed at modern SMP design, for achieving the top possible performance: Continuations are very lightweight (not based on thread context switching), you write with Seastar a share-nothing server (each core deals with its own data) so no locks, no atomic operations, and very little cache contention. These things make a *huge* difference in performance in modern SMPs - especially when you try to scale up to many cores. The third difference is that Seastar is much more than just an implementation of futures - it is a complete library for writing asynchronous I/O-heavy (network and disk) applications - consider http servers, proxies, nosql servers - any server application you can think of will be much faster if rewritten in Seastar (Avi will present some benchmarks, showing near perfect scalability to 40 cores, 5x speed improvements compared to traditional thought-to-be-efficient applications, etc. Seastar completely bypasses the operating system by using DPDK, but as you may know DPDK only supports L2 packets and has no TCP/IP stack. But that's no longer true: We actually implemented in Seastar a full TCP/IP stack over DPDK, write in Seastar's own futures framework. And Seastar is even more. I'll leave a few surprises for Avi's talk ;-) -- Nadav Har'El | Wednesday, Apr 1 2015, 13 Nisan 5775 nyh at math.technion.ac.il |----------------------------------------- Phone +972-523-790466, ICQ 13349191 |My opinions may have changed, but not the http://nadav.harel.org.il |fact that I am right. From amos.shapira at gmail.com Thu Apr 2 00:14:14 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Thu, 2 Apr 2015 08:14:14 +1100 Subject: Back to the Future with C++ and Seastar In-Reply-To: <20150401185344.GA15984@fermat.math.technion.ac.il> References: <20150401093412.GA8379@fermat.math.technion.ac.il> <871tk3ybjb.fsf@goldshmidt.org> <20150401185344.GA15984@fermat.math.technion.ac.il> Message-ID: Hi Nadav, Will it be video taped? Slides made available? Thanks, --Amos On 2 April 2015 at 05:53, Nadav Har'El wrote: > On Wed, Apr 01, 2015, Oleg Goldshmidt wrote about "Re: Back to the Future > with C++ and Seastar": > > "Nadav Har'El" writes: > > > Seastar is an open source (http://www.seastar-project.org/) library. > > > It is based on the concept of "futures" (like in Node.js, just > implemented > > > in a much more efficient way). Part of the talk will also introduce > futures, > > > how Seastar implements them in C++, and how much C++ has changed in > recent > > > years from what you may remember about it. > > > > I might come (close to work :). C++ has futures and promises natively, > > as a part of its standard library. Can you add a couple of words on how > > Seastar's futures differ? > > Sure, though I'm sure Avi will explain it better in his talk :-) > > The first difference is that C++11's support for futures is incomplete: > Futures are supported, but not *continuations*, which are code you want > to run when the future value becomes available. C++17 will probably have > continuations, but Seastar has them now. > > The second difference is that C++11's futures are indeed powerful, but not > optimized for performance. They make excessive use of allocations, they > rely on threads and everything uses atomic operations and locks. Seastar's > design, on the other hand, is aimed at modern SMP design, for achieving > the top possible performance: Continuations are very lightweight (not > based on thread context switching), you write with Seastar a share-nothing > server (each core deals with its own data) so no locks, no atomic > operations, > and very little cache contention. These things make a *huge* difference > in performance in modern SMPs - especially when you try to scale up to > many cores. > > The third difference is that Seastar is much more than just an > implementation of futures - it is a complete library for writing > asynchronous I/O-heavy (network and disk) applications - consider http > servers, proxies, nosql servers - any server application you can think of > will be much faster if rewritten in Seastar (Avi will present some > benchmarks, showing near perfect scalability to 40 cores, 5x speed > improvements compared to traditional thought-to-be-efficient applications, > etc. Seastar completely bypasses the operating system by using DPDK, > but as you may know DPDK only supports L2 packets and has no TCP/IP stack. > But that's no longer true: We actually implemented in Seastar a full > TCP/IP stack over DPDK, write in Seastar's own futures framework. > > And Seastar is even more. I'll leave a few surprises for Avi's talk ;-) > > -- > Nadav Har'El | Wednesday, Apr 1 2015, 13 Nisan > 5775 > nyh at math.technion.ac.il > |----------------------------------------- > Phone +972-523-790466, ICQ 13349191 |My opinions may have changed, but > not the > http://nadav.harel.org.il |fact that I am right. > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From dov.grobgeld at gmail.com Sun Apr 5 09:46:50 2015 From: dov.grobgeld at gmail.com (Dov Grobgeld) Date: Sun, 5 Apr 2015 09:46:50 +0300 Subject: Hebrew in markup In-Reply-To: <83d23nsyi4.fsf@gnu.org> References: <20150307014248.GN20529@lemon.cohens.org.il> <20150401084934.GA7499@fermat.math.technion.ac.il> <20150401104250.GA9481@fermat.math.technion.ac.il> <83d23nsyi4.fsf@gnu.org> Message-ID: Great! Does this mean that a major mode can now modify a markup like so that it is "rendered" as &FSI;&PDI; and thus have no influence on the chosen paragraph direction? If this works and you write

????!

it would be shown in emacs as an RTL paragraph as the tags would be ignored. Dov On Wed, Apr 1, 2015 at 5:40 PM, Eli Zaretskii wrote: > > Date: Wed, 1 Apr 2015 13:57:13 +0300 > > From: Dov Grobgeld > > Cc: Dotan Cohen , Linux-IL > > > > > Does emacs already support the relatively new UniCode isolate characters > LRI, > > RLI, FSI, PDI? > > The development version in the Emacs Git repository does. But not the > released versions, including the upcoming 24.5. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eliz at gnu.org Sun Apr 5 10:12:34 2015 From: eliz at gnu.org (Eli Zaretskii) Date: Sun, 05 Apr 2015 10:12:34 +0300 Subject: Hebrew in markup In-Reply-To: References: <20150307014248.GN20529@lemon.cohens.org.il> <20150401084934.GA7499@fermat.math.technion.ac.il> <20150401104250.GA9481@fermat.math.technion.ac.il> <83d23nsyi4.fsf@gnu.org> Message-ID: <83384fnj4t.fsf@gnu.org> > Date: Sun, 5 Apr 2015 09:46:50 +0300 > From: Dov Grobgeld > Cc: "Nadav Har'El" , Dotan Cohen , > linux-il > > Great! Does this mean that a major mode can now modify a markup like so > that it is "rendered" as &FSI;&PDI; and thus have no influence on the > chosen paragraph direction? I'm not sure what you mean by "rendered as". Emacs needs to see the FSI and PDI controls in the buffer, in order for them to take their effect on buffer text prescribed by the UBA. And if the tag is in some display or overlay string, the FSI and PDI controls must be in the same string. > If this works and you write > >

????!

> > it would be shown in emacs as an RTL paragraph as the tags would be ignored. Yes, if

is enclosed in FSI..PDI, this is displayed as an RTL paragraph in Emacs 25.0.50, the development version. However, usual caveats about what is a paragraph apply: if the above line is not preceded by an empty line, it will "inherit" the base paragraph direction from preceding lines; Emacs will not change the base direction except at the beginning of a new paragraph. From dov.grobgeld at gmail.com Sun Apr 5 11:20:41 2015 From: dov.grobgeld at gmail.com (Dov Grobgeld) Date: Sun, 5 Apr 2015 11:20:41 +0300 Subject: Hebrew in markup In-Reply-To: <83384fnj4t.fsf@gnu.org> References: <20150307014248.GN20529@lemon.cohens.org.il> <20150401084934.GA7499@fermat.math.technion.ac.il> <20150401104250.GA9481@fermat.math.technion.ac.il> <83d23nsyi4.fsf@gnu.org> <83384fnj4t.fsf@gnu.org> Message-ID: I admit that I have very little knowledge about how font selection and reordering logic works in emacs. One way of carrying out reordering of

????!

would be if the emacs major mode was be able to inject the FSI...PDI characters before the text is passed to the paragraph direction determining logic. Is this possible? Regards, Dov On Sun, Apr 5, 2015 at 10:12 AM, Eli Zaretskii wrote: > > Date: Sun, 5 Apr 2015 09:46:50 +0300 > > From: Dov Grobgeld > > Cc: "Nadav Har'El" , Dotan Cohen < > dotancohen at gmail.com>, > > linux-il > > > > Great! Does this mean that a major mode can now modify a markup like > so > > that it is "rendered" as &FSI;&PDI; and thus have no influence on > the > > chosen paragraph direction? > > I'm not sure what you mean by "rendered as". Emacs needs to see the > FSI and PDI controls in the buffer, in order for them to take their > effect on buffer text prescribed by the UBA. And if the tag is in > some display or overlay string, the FSI and PDI controls must be in > the same string. > > > If this works and you write > > > >

????!

> > > > it would be shown in emacs as an RTL paragraph as the tags would be > ignored. > > Yes, if

is enclosed in FSI..PDI, this is displayed as an RTL > paragraph in Emacs 25.0.50, the development version. However, usual > caveats about what is a paragraph apply: if the above line is not > preceded by an empty line, it will "inherit" the base paragraph > direction from preceding lines; Emacs will not change the base > direction except at the beginning of a new paragraph. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eliz at gnu.org Sun Apr 5 11:48:35 2015 From: eliz at gnu.org (Eli Zaretskii) Date: Sun, 05 Apr 2015 11:48:35 +0300 Subject: Hebrew in markup In-Reply-To: References: <20150307014248.GN20529@lemon.cohens.org.il> <20150401084934.GA7499@fermat.math.technion.ac.il> <20150401104250.GA9481@fermat.math.technion.ac.il> <83d23nsyi4.fsf@gnu.org> <83384fnj4t.fsf@gnu.org> Message-ID: <831tjzneos.fsf@gnu.org> > Date: Sun, 5 Apr 2015 11:20:41 +0300 > From: Dov Grobgeld > Cc: "Nadav Har'El" , Dotan Cohen , > linux-il > > I admit that I have very little knowledge about how font selection and > reordering logic works in emacs. Font selection has absolutely no bearing on this discussion. The visual order is decided based on the characters' properties, not on how they will be drawn on the glass. For example, they will be reordered even if they have no glyphs in any available font, or if you set up a display table to, say, display Hebrew letters as upper-case Latin letters. As to reordering, it happens at display time. The mechanism that generates data structures used to draw font glyphs on the screen produces visual order from the logical order, so that those data structures hold the text already reordered. > One way of carrying out reordering of

????!

would be if the emacs > major mode was be able to inject the FSI...PDI characters before the text is > passed to the paragraph direction determining logic. Is this possible? No. The logic that determines base paragraph direction is part of the reordering code which produces visual order from logical order. That code runs as part of redisplay, and examines only the text that is in the buffer. So the FSI..PDI embeddings must be present in buffer text to do what you want. If something like what you want is required without changing buffer text, there could be special text properties on some portions of buffer text, that would be interpreted by the display code. But that isn't implemented, mainly because no one expressed any special interest in that, let alone presented a worked-out set of requirements for it. From erez0001 at gmail.com Sun Apr 5 11:50:34 2015 From: erez0001 at gmail.com (Erez D) Date: Sun, 5 Apr 2015 11:50:34 +0300 Subject: Back to the Future with C++ and Seastar In-Reply-To: References: <20150401093412.GA8379@fermat.math.technion.ac.il> <871tk3ybjb.fsf@goldshmidt.org> <20150401185344.GA15984@fermat.math.technion.ac.il> Message-ID: On Thu, Apr 2, 2015 at 12:14 AM, Amos Shapira wrote: > Hi Nadav, > > Will it be video taped? > Slides made available? > That would be great > > Thanks, > > --Amos > > On 2 April 2015 at 05:53, Nadav Har'El wrote: > >> On Wed, Apr 01, 2015, Oleg Goldshmidt wrote about "Re: Back to the Future >> with C++ and Seastar": >> > "Nadav Har'El" writes: >> > > Seastar is an open source (http://www.seastar-project.org/) library. >> > > It is based on the concept of "futures" (like in Node.js, just >> implemented >> > > in a much more efficient way). Part of the talk will also introduce >> futures, >> > > how Seastar implements them in C++, and how much C++ has changed in >> recent >> > > years from what you may remember about it. >> > >> > I might come (close to work :). C++ has futures and promises natively, >> > as a part of its standard library. Can you add a couple of words on how >> > Seastar's futures differ? >> >> Sure, though I'm sure Avi will explain it better in his talk :-) >> >> The first difference is that C++11's support for futures is incomplete: >> Futures are supported, but not *continuations*, which are code you want >> to run when the future value becomes available. C++17 will probably have >> continuations, but Seastar has them now. >> >> The second difference is that C++11's futures are indeed powerful, but not >> optimized for performance. They make excessive use of allocations, they >> rely on threads and everything uses atomic operations and locks. Seastar's >> design, on the other hand, is aimed at modern SMP design, for achieving >> the top possible performance: Continuations are very lightweight (not >> based on thread context switching), you write with Seastar a share-nothing >> server (each core deals with its own data) so no locks, no atomic >> operations, >> and very little cache contention. These things make a *huge* difference >> in performance in modern SMPs - especially when you try to scale up to >> many cores. >> >> The third difference is that Seastar is much more than just an >> implementation of futures - it is a complete library for writing >> asynchronous I/O-heavy (network and disk) applications - consider http >> servers, proxies, nosql servers - any server application you can think of >> will be much faster if rewritten in Seastar (Avi will present some >> benchmarks, showing near perfect scalability to 40 cores, 5x speed >> improvements compared to traditional thought-to-be-efficient applications, >> etc. Seastar completely bypasses the operating system by using DPDK, >> but as you may know DPDK only supports L2 packets and has no TCP/IP stack. >> But that's no longer true: We actually implemented in Seastar a full >> TCP/IP stack over DPDK, write in Seastar's own futures framework. >> >> And Seastar is even more. I'll leave a few surprises for Avi's talk ;-) >> >> -- >> Nadav Har'El | Wednesday, Apr 1 2015, 13 Nisan >> 5775 >> nyh at math.technion.ac.il >> |----------------------------------------- >> Phone +972-523-790466, ICQ 13349191 |My opinions may have changed, but >> not the >> http://nadav.harel.org.il |fact that I am right. >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> > > > > -- > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dov.grobgeld at gmail.com Sun Apr 5 14:31:20 2015 From: dov.grobgeld at gmail.com (Dov Grobgeld) Date: Sun, 5 Apr 2015 14:31:20 +0300 Subject: Hebrew in markup In-Reply-To: <831tjzneos.fsf@gnu.org> References: <20150307014248.GN20529@lemon.cohens.org.il> <20150401084934.GA7499@fermat.math.technion.ac.il> <20150401104250.GA9481@fermat.math.technion.ac.il> <83d23nsyi4.fsf@gnu.org> <83384fnj4t.fsf@gnu.org> <831tjzneos.fsf@gnu.org> Message-ID: Thanks for the explanation, Eli. The idea of making tags not influence the reordering of the surrounding text nor the base direction was one of the first use case I thought of when I heard about the Isolation characters the first time. I believe it would make editing BiDi HTML much easier. I'll file a feature request about the idea. Regards, Dov On Sun, Apr 5, 2015 at 11:48 AM, Eli Zaretskii wrote: > > Date: Sun, 5 Apr 2015 11:20:41 +0300 > > From: Dov Grobgeld > > Cc: "Nadav Har'El" , Dotan Cohen < > dotancohen at gmail.com>, > > linux-il > > > > I admit that I have very little knowledge about how font selection and > > reordering logic works in emacs. > > Font selection has absolutely no bearing on this discussion. The > visual order is decided based on the characters' properties, not on > how they will be drawn on the glass. For example, they will be > reordered even if they have no glyphs in any available font, or if you > set up a display table to, say, display Hebrew letters as upper-case > Latin letters. > > As to reordering, it happens at display time. The mechanism that > generates data structures used to draw font glyphs on the screen > produces visual order from the logical order, so that those data > structures hold the text already reordered. > > > One way of carrying out reordering of

????!

would be if the > emacs > > major mode was be able to inject the FSI...PDI characters before the > text is > > passed to the paragraph direction determining logic. Is this possible? > > No. The logic that determines base paragraph direction is part of the > reordering code which produces visual order from logical order. That > code runs as part of redisplay, and examines only the text that is in > the buffer. So the FSI..PDI embeddings must be present in buffer text > to do what you want. > > If something like what you want is required without changing buffer > text, there could be special text properties on some portions of > buffer text, that would be interpreted by the display code. But that > isn't implemented, mainly because no one expressed any special > interest in that, let alone presented a worked-out set of requirements > for it. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at gmail.com Tue Apr 7 14:49:15 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Tue, 7 Apr 2015 14:49:15 +0300 Subject: Mageia Linux mirror on http://mirror.isoc.org.il/content.html Message-ID: Hi, please set up a mirrors.isoc.org.il mirror of Mageia Linux ( http://www.mageia.org/en/ ; https://en.wikipedia.org/wiki/Mageia ), which is a community fork of Mandriva and has largely succeeded it (Mandriva did not have a release since 2011 , while Mageia released version 4.1 in June 2014, and Mageia 5 should be released soon). isoc.org.il ( http://mirror.isoc.org.il/content.html ) already carries a mirror of Mandriva. If you're using Mageia Linux in Israel, please speak up by replying to this message it will be known there's interest. Regards, -- Shlomi Fish -- ------------------------------------------ Shlomi Fish http://www.shlomifish.org/ Chuck Norris helps the gods that help themselves. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Tue Apr 7 15:35:12 2015 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Tue, 7 Apr 2015 15:35:12 +0300 Subject: Mageia Linux mirror on http://mirror.isoc.org.il/content.html In-Reply-To: References: Message-ID: <20150407153512.22f2b76a@shlomo1.solomon> I've been using Mageia for several years so I "guess" I'm interested. But on the other hand, with today's fast internet connections, does it really matter where the mirror is? :-) On Tue, 7 Apr 2015 14:49:15 +0300 Shlomi Fish wrote: > Hi, > > please set up a mirrors.isoc.org.il mirror of Mageia Linux ( > http://www.mageia.org/en/ ; https://en.wikipedia.org/wiki/Mageia ), > which is a community fork of Mandriva and has largely succeeded it > (Mandriva did not have a release since 2011 , while Mageia released > version 4.1 in June 2014, and Mageia 5 should be released soon). > isoc.org.il ( http://mirror.isoc.org.il/content.html ) already > carries a mirror of Mandriva. > > If you're using Mageia Linux in Israel, please speak up by replying > to this message it will be known there's interest. > > Regards, > > -- Shlomi Fish > -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 From mordbe0 at gmail.com Tue Apr 7 20:05:09 2015 From: mordbe0 at gmail.com (Mord Behar) Date: Tue, 7 Apr 2015 20:05:09 +0300 Subject: Mageia Linux mirror on http://mirror.isoc.org.il/content.html In-Reply-To: <20150407153512.22f2b76a@shlomo1.solomon> References: <20150407153512.22f2b76a@shlomo1.solomon> Message-ID: On Apr 7, 2015 3:35 PM, "Shlomo Solomon" wrote: > > I've been using Mageia for several years so I "guess" I'm interested. > But on the other hand, with today's fast internet connections, does it > really matter where the mirror is? :-) Yes, it does. When Bezeq screwed up our DNS a while back, I switched to Google's servers, and the request-reply transaction time was measured in whole seconds. Also, I use Mageia to, so it would be nice to have a local mirror. > > On Tue, 7 Apr 2015 14:49:15 +0300 > Shlomi Fish wrote: > > > Hi, > > > > please set up a mirrors.isoc.org.il mirror of Mageia Linux ( > > http://www.mageia.org/en/ ; https://en.wikipedia.org/wiki/Mageia ), > > which is a community fork of Mandriva and has largely succeeded it > > (Mandriva did not have a release since 2011 , while Mageia released > > version 4.1 in June 2014, and Mageia 5 should be released soon). > > isoc.org.il ( http://mirror.isoc.org.il/content.html ) already > > carries a mirror of Mandriva. > > > > If you're using Mageia Linux in Israel, please speak up by replying > > to this message it will be known there's interest. > > > > Regards, > > > > -- Shlomi Fish > > > > > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Tue Apr 7 20:48:34 2015 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Tue, 7 Apr 2015 20:48:34 +0300 Subject: Mageia Linux mirror on http://mirror.isoc.org.il/content.html In-Reply-To: <20150407153512.22f2b76a@shlomo1.solomon> References: <20150407153512.22f2b76a@shlomo1.solomon> Message-ID: 2015-04-07 15:35 GMT+03:00 Shlomo Solomon : > I've been using Mageia for several years so I "guess" I'm interested. > But on the other hand, with today's fast internet connections, does it > really matter where the mirror is? :-) The main benificiary is your ISP who has to deal with less international traffic as a result, you also benefit to some extent since local connections are still faster then overseas connections.... ?????? ?????, Eliyahu - ????? > > On Tue, 7 Apr 2015 14:49:15 +0300 > Shlomi Fish wrote: > >> Hi, >> >> please set up a mirrors.isoc.org.il mirror of Mageia Linux ( >> http://www.mageia.org/en/ ; https://en.wikipedia.org/wiki/Mageia ), >> which is a community fork of Mandriva and has largely succeeded it >> (Mandriva did not have a release since 2011 , while Mageia released >> version 4.1 in June 2014, and Mageia 5 should be released soon). >> isoc.org.il ( http://mirror.isoc.org.il/content.html ) already >> carries a mirror of Mandriva. >> >> If you're using Mageia Linux in Israel, please speak up by replying >> to this message it will be known there's interest. >> >> Regards, >> >> -- Shlomi Fish >> > > > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il From esr+linux-il at g.jct.ac.il Tue Apr 7 20:50:15 2015 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Tue, 7 Apr 2015 20:50:15 +0300 Subject: Mageia Linux mirror on http://mirror.isoc.org.il/content.html In-Reply-To: References: <20150407153512.22f2b76a@shlomo1.solomon> Message-ID: While we're on the subject the Israeli ubuntu mirror has been so finicky recently that I switched to overseas mirrors, who if anyone does one report these issues to? (Rabin?) 2015-04-07 20:48 GMT+03:00 E.S. Rosenberg : > 2015-04-07 15:35 GMT+03:00 Shlomo Solomon : >> I've been using Mageia for several years so I "guess" I'm interested. >> But on the other hand, with today's fast internet connections, does it >> really matter where the mirror is? :-) > The main benificiary is your ISP who has to deal with less > international traffic as a result, you also benefit to some extent > since local connections are still faster then overseas connections.... > ?????? ?????, > Eliyahu - ????? >> >> On Tue, 7 Apr 2015 14:49:15 +0300 >> Shlomi Fish wrote: >> >>> Hi, >>> >>> please set up a mirrors.isoc.org.il mirror of Mageia Linux ( >>> http://www.mageia.org/en/ ; https://en.wikipedia.org/wiki/Mageia ), >>> which is a community fork of Mandriva and has largely succeeded it >>> (Mandriva did not have a release since 2011 , while Mageia released >>> version 4.1 in June 2014, and Mageia 5 should be released soon). >>> isoc.org.il ( http://mirror.isoc.org.il/content.html ) already >>> carries a mirror of Mandriva. >>> >>> If you're using Mageia Linux in Israel, please speak up by replying >>> to this message it will be known there's interest. >>> >>> Regards, >>> >>> -- Shlomi Fish >>> >> >> >> >> -- >> Shlomo Solomon >> http://the-solomons.net >> Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 >> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il From shlomif at gmail.com Wed Apr 8 09:25:14 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Wed, 8 Apr 2015 09:25:14 +0300 Subject: Mageia Linux mirror on http://mirror.isoc.org.il/content.html In-Reply-To: References: <20150407153512.22f2b76a@shlomo1.solomon> Message-ID: Hi Mr. Rosenberg (or is it "E. S."?)! On Tue, Apr 7, 2015 at 8:50 PM, E.S. Rosenberg wrote: > While we're on the subject the Israeli ubuntu mirror has been so > finicky recently that I switched to overseas mirrors, who if anyone > does one report these issues to? (Rabin?) > For the Ubuntu mirror at http://mirror.isoc.org.il/content.html you can contact the E-mail address on http://mirror.isoc.org.il/ . I don't know if that's the mirror you're referring to. Regards, ? Shlomi Fish -- ------------------------------------------ Shlomi Fish http://www.shlomifish.org/ Chuck Norris helps the gods that help themselves. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Thu Apr 9 22:24:28 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Fri, 10 Apr 2015 05:24:28 +1000 Subject: Hebrew keyboard cups? In-Reply-To: References: Message-ID: Not specifically Linux related but I hope members here can help me with "antique" hardware question. I just ordered a couple of MS ergonomic keyboards like this: http://www.microsoft.com/hardware/en-au/p/natural-ergonomic-keyboard-4000 and now I'm looking to make them Hebrew friendly. I had an OK experience with Hebrew stickers but looking for a more durable solution. What I have in mind are those optional plastic keycups which used to be available to put on top of the keys. So far I haven't found them online. Does anyone know where can I get them? (I live outside Israel but perhaps I can get friends/family to buy offline and ship with someone I'm expecting to come over soon if that's the only option). Thanks. Amos -------------- next part -------------- An HTML attachment was scrubbed... URL: From amichai at iglu.org.il Sun Apr 12 22:17:12 2015 From: amichai at iglu.org.il (Amichai Rotman) Date: Sun, 12 Apr 2015 22:17:12 +0300 Subject: Bezeq Ruter Message-ID: Hello all, I have a Netgear 2200v2_64 router I got from Bezeq about two years ago. I finished paying for it and I don't like the idea it uns Bezeq's firmware. I want to flash an open source firmware on it, but I can't figure out where to get it. it seems this specific model is manufactured especially for Bezeq, since it isn't on the list of models on Netgear's site. Can anyone point me to a guide to downloading and flashing an open source firmware suitable for this model or, on the other hand, recommend an inexpensive replacement that runs open source firmware? Thanks, Amichai -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Sun Apr 12 22:55:44 2015 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Sun, 12 Apr 2015 22:55:44 +0300 Subject: Bezeq Ruter In-Reply-To: References: Message-ID: Have you tried here: http://wiki.openwrt.org/toh/netgear/dgn2200 2015-04-12 22:17 GMT+03:00 Amichai Rotman : > Hello all, > > I have a Netgear 2200v2_64 router I got from Bezeq about two years ago. > > I finished paying for it and I don't like the idea it uns Bezeq's firmware. > > I want to flash an open source firmware on it, but I can't figure out where > to get it. it seems this specific model is manufactured especially for > Bezeq, since it isn't on the list of models on Netgear's site. > > Can anyone point me to a guide to downloading and flashing an open source > firmware suitable for this model or, on the other hand, recommend an > inexpensive replacement that runs open source firmware? > > Thanks, > > Amichai > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > From esr+linux-il at g.jct.ac.il Sun Apr 12 23:10:41 2015 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Sun, 12 Apr 2015 23:10:41 +0300 Subject: Bezeq Ruter In-Reply-To: References: Message-ID: v2 may not be supported... Personally I always insist on Bezeq giving me their simple modem and use a decent router of my choosing (obviously vetted for OpenWRT support and specs) for WiFi etc (the modem ends up being a bridge device about whose fw etc I don't care as much). 2015-04-12 22:55 GMT+03:00 E.S. Rosenberg : > Have you tried here: > http://wiki.openwrt.org/toh/netgear/dgn2200 > > 2015-04-12 22:17 GMT+03:00 Amichai Rotman : >> Hello all, >> >> I have a Netgear 2200v2_64 router I got from Bezeq about two years ago. >> >> I finished paying for it and I don't like the idea it uns Bezeq's firmware. >> >> I want to flash an open source firmware on it, but I can't figure out where >> to get it. it seems this specific model is manufactured especially for >> Bezeq, since it isn't on the list of models on Netgear's site. >> >> Can anyone point me to a guide to downloading and flashing an open source >> firmware suitable for this model or, on the other hand, recommend an >> inexpensive replacement that runs open source firmware? >> >> Thanks, >> >> Amichai >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> From geoff at QuiteLikely.com Sun Apr 12 23:15:55 2015 From: geoff at QuiteLikely.com (Geoff Shang) Date: Sun, 12 Apr 2015 23:15:55 +0300 (IDT) Subject: Bezeq Ruter In-Reply-To: References: Message-ID: On Sun, 12 Apr 2015, E.S. Rosenberg wrote: > Personally I always insist on Bezeq giving me their simple modem and > use a decent router of my choosing (obviously vetted for OpenWRT > support and specs) for WiFi etc (the modem ends up being a bridge > device about whose fw etc I don't care as much). Ha! I didn't know you could do this. Typical that I find out 6 weeks before I leave the country. :) for the benefit of anyone else who didn't know, please tel more. Geoff. From esr+linux-il at g.jct.ac.il Mon Apr 13 09:18:15 2015 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Mon, 13 Apr 2015 09:18:15 +0300 Subject: Bezeq Ruter In-Reply-To: References: Message-ID: In addition to the "fancy" (read crappy) wireless routers that Bezeq will always try to offer you to lease/buy/get/whatever the latest fad is, they also have simple modems. Really these are bridge routers with one ethernet port and one DSL port, also running Linux, you can use them as router and create a DMZ between your wireless router and the bridge, though I don't recommend that because then you: - can't just drop in a replacement when they break down - are relying on the bridges' firmware for security on your DMZ They have currently 2 models as far as I can tell: - (Rotal) RTA 1320+ - D-Link DSL-25xx (newer, haven't seen very often) Bezeq does not like giving these devices out most likely because it prevents them from having a Bezeq_free network at your address, the last time I had to replace my modem they told me that they actually repair them and aren't making/buying new ones (which makes sense for the rta1320 which is old but supports up to 24M). The fact that they are repairing does seem to be starting to lead to failures happing more often recently... It also prevents them from trouble shooting your network since the most they will have access to is the bridge whereas they generally have remote access to the wireless-routers (you often don't even get full root/admin on the router). To me using these devices only has advantages: - cost less then the "fancy" modem/routers. - allows me full control over my network infrastructure. - no Bezeq network freeloading on my DSL connection - no Bezeq access to my home network - allows me to easily upgrade my wireless router if/when I want some newer technology/toy. BTW: It is of course also possible to use a Bezeq wireless router together with your own wireless router either in a DMZ like setup or even as a bridge (though that takes some real effort), but that seems like a major overkill and a waste of money..... HTH, Eliyahu - ????? 2015-04-12 23:15 GMT+03:00 Geoff Shang : > On Sun, 12 Apr 2015, E.S. Rosenberg wrote: > >> Personally I always insist on Bezeq giving me their simple modem and >> use a decent router of my choosing (obviously vetted for OpenWRT >> support and specs) for WiFi etc (the modem ends up being a bridge >> device about whose fw etc I don't care as much). > > > Ha! I didn't know you could do this. Typical that I find out 6 weeks > before I leave the country. :) > > for the benefit of anyone else who didn't know, please tel more. > > Geoff. > > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il From amos.shapira at gmail.com Mon Apr 13 09:29:07 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Mon, 13 Apr 2015 16:29:07 +1000 Subject: Bezeq Ruter In-Reply-To: References: Message-ID: I wonder - do you have to get the modem from Bezeq? Can't you buy anything compatible on the free market? On 13 April 2015 at 16:18, E.S. Rosenberg wrote: > In addition to the "fancy" (read crappy) wireless routers that Bezeq > will always try to offer you to lease/buy/get/whatever the latest fad > is, they also have simple modems. > Really these are bridge routers with one ethernet port and one DSL > port, also running Linux, you can use them as router and create a DMZ > between your wireless router and the bridge, though I don't recommend > that because then you: > - can't just drop in a replacement when they break down > - are relying on the bridges' firmware for security on your DMZ > > They have currently 2 models as far as I can tell: > - (Rotal) RTA 1320+ > - D-Link DSL-25xx (newer, haven't seen very often) > > Bezeq does not like giving these devices out most likely because it > prevents them from having a Bezeq_free network at your address, the > last time I had to replace my modem they told me that they actually > repair them and aren't making/buying new ones (which makes sense for > the rta1320 which is old but supports up to 24M). > The fact that they are repairing does seem to be starting to lead to > failures happing more often recently... > It also prevents them from trouble shooting your network since the > most they will have access to is the bridge whereas they generally > have remote access to the wireless-routers (you often don't even get > full root/admin on the router). > > To me using these devices only has advantages: > - cost less then the "fancy" modem/routers. > - allows me full control over my network infrastructure. > - no Bezeq network freeloading on my DSL connection > - no Bezeq access to my home network > - allows me to easily upgrade my wireless router if/when I want some > newer technology/toy. > > BTW: It is of course also possible to use a Bezeq wireless router > together with your own wireless router either in a DMZ like setup or > even as a bridge (though that takes some real effort), but that seems > like a major overkill and a waste of money..... > > HTH, > Eliyahu - ????? > > 2015-04-12 23:15 GMT+03:00 Geoff Shang : > > On Sun, 12 Apr 2015, E.S. Rosenberg wrote: > > > >> Personally I always insist on Bezeq giving me their simple modem and > >> use a decent router of my choosing (obviously vetted for OpenWRT > >> support and specs) for WiFi etc (the modem ends up being a bridge > >> device about whose fw etc I don't care as much). > > > > > > Ha! I didn't know you could do this. Typical that I find out 6 weeks > > before I leave the country. :) > > > > for the benefit of anyone else who didn't know, please tel more. > > > > Geoff. > > > > > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From moish at mln.co.il Mon Apr 13 09:43:03 2015 From: moish at mln.co.il (Moish) Date: Mon, 13 Apr 2015 09:43:03 +0300 Subject: Bezeq Ruter In-Reply-To: References: Message-ID: <552B6577.20407@mln.co.il> An HTML attachment was scrubbed... URL: From matanya at foss.co.il Mon Apr 13 10:05:11 2015 From: matanya at foss.co.il (matanya at foss.co.il) Date: Mon, 13 Apr 2015 07:05:11 +0000 Subject: Bezeq Ruter In-Reply-To: References: Message-ID: Use this list for modems and routers available in the free market: http://www.netcheif.com/Articles/VDSL_Router/VDSL_Router.htm In addition, I would like to second what E.S. Rosenberg said, I think you can still get this one: http://www.bezeq.co.il/media/Products/Wireless_Support/pdf/vdsl_1.pdf They even have a guide in their site how to configure it as bridge: http://www.bezeq.co.il/media/Products/Wireless_Support/pdf/vdsl_bridge.pdf after you get this in place, a good, open wrt supported router is just easy as pie and very powerful. April 13 2015 9:43 AM, linux-il-request at cs.huji.ac.il wrote: > Send Linux-il mailing list submissions to > linux-il at cs.huji.ac.il > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > or, via email, send a message with subject or body 'help' to > linux-il-request at cs.huji.ac.il > > You can reach the person managing the list at > linux-il-owner at cs.huji.ac.il > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Linux-il digest..." > > Today's Topics: > > 1. Bezeq Ruter (Amichai Rotman) > 2. Re: Bezeq Ruter (E.S. Rosenberg) > 3. Re: Bezeq Ruter (E.S. Rosenberg) > 4. Re: Bezeq Ruter (Geoff Shang) > 5. Re: Bezeq Ruter (E.S. Rosenberg) > 6. Re: Bezeq Ruter (Amos Shapira) > 7. Re: Bezeq Ruter (Moish) > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 12 Apr 2015 22:17:12 +0300 > From: Amichai Rotman > To: Linux-IL > Subject: Bezeq Ruter > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Hello all, > > I have a Netgear 2200v2_64 router I got from Bezeq about two years ago. > > I finished paying for it and I don't like the idea it uns Bezeq's firmware. > > I want to flash an open source firmware on it, but I can't figure out where > to get it. it seems this specific model is manufactured especially for > Bezeq, since it isn't on the list of models on Netgear's site. > > Can anyone point me to a guide to downloading and flashing an open source > firmware suitable for this model or, on the other hand, recommend an > inexpensive replacement that runs open source firmware? > > Thanks, > > Amichai > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > Message: 2 > Date: Sun, 12 Apr 2015 22:55:44 +0300 > From: "E.S. Rosenberg" > To: Amichai Rotman > Cc: Linux-IL > Subject: Re: Bezeq Ruter > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > Have you tried here: > http://wiki.openwrt.org/toh/netgear/dgn2200 > > 2015-04-12 22:17 GMT+03:00 Amichai Rotman : > >> Hello all, >> >> I have a Netgear 2200v2_64 router I got from Bezeq about two years ago. >> >> I finished paying for it and I don't like the idea it uns Bezeq's firmware. >> >> I want to flash an open source firmware on it, but I can't figure out where >> to get it. it seems this specific model is manufactured especially for >> Bezeq, since it isn't on the list of models on Netgear's site. >> >> Can anyone point me to a guide to downloading and flashing an open source >> firmware suitable for this model or, on the other hand, recommend an >> inexpensive replacement that runs open source firmware? >> >> Thanks, >> >> Amichai >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > ------------------------------ > > Message: 3 > Date: Sun, 12 Apr 2015 23:10:41 +0300 > From: "E.S. Rosenberg" > To: Amichai Rotman > Cc: Linux-IL > Subject: Re: Bezeq Ruter > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > v2 may not be supported... > > Personally I always insist on Bezeq giving me their simple modem and > use a decent router of my choosing (obviously vetted for OpenWRT > support and specs) for WiFi etc (the modem ends up being a bridge > device about whose fw etc I don't care as much). > > 2015-04-12 22:55 GMT+03:00 E.S. Rosenberg : > >> Have you tried here: >> http://wiki.openwrt.org/toh/netgear/dgn2200 >> >> 2015-04-12 22:17 GMT+03:00 Amichai Rotman : >>> Hello all, >>> >>> I have a Netgear 2200v2_64 router I got from Bezeq about two years ago. >>> >>> I finished paying for it and I don't like the idea it uns Bezeq's firmware. >>> >>> I want to flash an open source firmware on it, but I can't figure out where >>> to get it. it seems this specific model is manufactured especially for >>> Bezeq, since it isn't on the list of models on Netgear's site. >>> >>> Can anyone point me to a guide to downloading and flashing an open source >>> firmware suitable for this model or, on the other hand, recommend an >>> inexpensive replacement that runs open source firmware? >>> >>> Thanks, >>> >>> Amichai >>> >>> _______________________________________________ >>> Linux-il mailing list >>> Linux-il at cs.huji.ac.il >>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > ------------------------------ > > Message: 4 > Date: Sun, 12 Apr 2015 23:15:55 +0300 (IDT) > From: Geoff Shang > To: Linux-IL > Subject: Re: Bezeq Ruter > Message-ID: > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > On Sun, 12 Apr 2015, E.S. Rosenberg wrote: > >> Personally I always insist on Bezeq giving me their simple modem and >> use a decent router of my choosing (obviously vetted for OpenWRT >> support and specs) for WiFi etc (the modem ends up being a bridge >> device about whose fw etc I don't care as much). > > Ha! I didn't know you could do this. Typical that I find out 6 weeks > before I leave the country. :) > > for the benefit of anyone else who didn't know, please tel more. > > Geoff. > > ------------------------------ > > Message: 5 > Date: Mon, 13 Apr 2015 09:18:15 +0300 > From: "E.S. Rosenberg" > To: Geoff Shang > Cc: Linux-IL > Subject: Re: Bezeq Ruter > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > In addition to the "fancy" (read crappy) wireless routers that Bezeq > will always try to offer you to lease/buy/get/whatever the latest fad > is, they also have simple modems. > Really these are bridge routers with one ethernet port and one DSL > port, also running Linux, you can use them as router and create a DMZ > between your wireless router and the bridge, though I don't recommend > that because then you: > - can't just drop in a replacement when they break down > - are relying on the bridges' firmware for security on your DMZ > > They have currently 2 models as far as I can tell: > - (Rotal) RTA 1320+ > - D-Link DSL-25xx (newer, haven't seen very often) > > Bezeq does not like giving these devices out most likely because it > prevents them from having a Bezeq_free network at your address, the > last time I had to replace my modem they told me that they actually > repair them and aren't making/buying new ones (which makes sense for > the rta1320 which is old but supports up to 24M). > The fact that they are repairing does seem to be starting to lead to > failures happing more often recently... > It also prevents them from trouble shooting your network since the > most they will have access to is the bridge whereas they generally > have remote access to the wireless-routers (you often don't even get > full root/admin on the router). > > To me using these devices only has advantages: > - cost less then the "fancy" modem/routers. > - allows me full control over my network infrastructure. > - no Bezeq network freeloading on my DSL connection > - no Bezeq access to my home network > - allows me to easily upgrade my wireless router if/when I want some > newer technology/toy. > > BTW: It is of course also possible to use a Bezeq wireless router > together with your own wireless router either in a DMZ like setup or > even as a bridge (though that takes some real effort), but that seems > like a major overkill and a waste of money..... > > HTH, > Eliyahu - ????? > > 2015-04-12 23:15 GMT+03:00 Geoff Shang : > >> On Sun, 12 Apr 2015, E.S. Rosenberg wrote: >> >>> Personally I always insist on Bezeq giving me their simple modem and >>> use a decent router of my choosing (obviously vetted for OpenWRT >>> support and specs) for WiFi etc (the modem ends up being a bridge >>> device about whose fw etc I don't care as much). >> >> Ha! I didn't know you could do this. Typical that I find out 6 weeks >> before I leave the country. :) >> >> for the benefit of anyone else who didn't know, please tel more. >> >> Geoff. >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > ------------------------------ > > Message: 6 > Date: Mon, 13 Apr 2015 16:29:07 +1000 > From: Amos Shapira > To: "E.S. Rosenberg" > Cc: Linux-IL > Subject: Re: Bezeq Ruter > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > I wonder - do you have to get the modem from Bezeq? Can't you buy anything > compatible on the free market? > > On 13 April 2015 at 16:18, E.S. Rosenberg wrote: > >> In addition to the "fancy" (read crappy) wireless routers that Bezeq >> will always try to offer you to lease/buy/get/whatever the latest fad >> is, they also have simple modems. >> Really these are bridge routers with one ethernet port and one DSL >> port, also running Linux, you can use them as router and create a DMZ >> between your wireless router and the bridge, though I don't recommend >> that because then you: >> - can't just drop in a replacement when they break down >> - are relying on the bridges' firmware for security on your DMZ >> >> They have currently 2 models as far as I can tell: >> - (Rotal) RTA 1320+ >> - D-Link DSL-25xx (newer, haven't seen very often) >> >> Bezeq does not like giving these devices out most likely because it >> prevents them from having a Bezeq_free network at your address, the >> last time I had to replace my modem they told me that they actually >> repair them and aren't making/buying new ones (which makes sense for >> the rta1320 which is old but supports up to 24M). >> The fact that they are repairing does seem to be starting to lead to >> failures happing more often recently... >> It also prevents them from trouble shooting your network since the >> most they will have access to is the bridge whereas they generally >> have remote access to the wireless-routers (you often don't even get >> full root/admin on the router). >> >> To me using these devices only has advantages: >> - cost less then the "fancy" modem/routers. >> - allows me full control over my network infrastructure. >> - no Bezeq network freeloading on my DSL connection >> - no Bezeq access to my home network >> - allows me to easily upgrade my wireless router if/when I want some >> newer technology/toy. >> >> BTW: It is of course also possible to use a Bezeq wireless router >> together with your own wireless router either in a DMZ like setup or >> even as a bridge (though that takes some real effort), but that seems >> like a major overkill and a waste of money..... >> >> HTH, >> Eliyahu - ????? >> >> 2015-04-12 23:15 GMT+03:00 Geoff Shang : >>> On Sun, 12 Apr 2015, E.S. Rosenberg wrote: >>> >>>> Personally I always insist on Bezeq giving me their simple modem and >>>> use a decent router of my choosing (obviously vetted for OpenWRT >>>> support and specs) for WiFi etc (the modem ends up being a bridge >>>> device about whose fw etc I don't care as much). >>> >>> >>> Ha! I didn't know you could do this. Typical that I find out 6 weeks >>> before I leave the country. :) >>> >>> for the benefit of anyone else who didn't know, please tel more. >>> >>> Geoff. >>> >>> >>> >>> _______________________________________________ >>> Linux-il mailing list >>> Linux-il at cs.huji.ac.il >>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > Message: 7 > Date: Mon, 13 Apr 2015 09:43:03 +0300 > From: Moish > To: linux-il at cs.huji.ac.il > Subject: Re: Bezeq Ruter > Message-ID: <552B6577.20407 at mln.co.il> > Content-Type: text/plain; charset="us-ascii" > > An HTML attachment was scrubbed... > URL: > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > ------------------------------ > > End of Linux-il Digest, Vol 76, Issue 6 > *************************************** From shachar at shemesh.biz Mon Apr 13 19:34:45 2015 From: shachar at shemesh.biz (Shachar Shemesh) Date: Mon, 13 Apr 2015 19:34:45 +0300 Subject: I've been hacked, or not? Message-ID: <552BF025.4010906@shemesh.biz> Hi all, I have a server whose apache2 process is generating lots of requests to http://gthfx.com/. That's it. Nothing seems to be sent, and it's always the same page. No cookies. No different URLs. Nothing. Eventually, the apache processes build up, and all the sites stop responding. Restarting apache resolves this, but, of course, the problem slowly builds up again. I have no idea what this is. Unless this is a command and control waiting for instructions, this seems more like a runaway plugin than some deliberate attack. I cannot, however, seem to find anything that triggers this. I reinstalled apache and all related packages, greped the site name over etc, /var/log and where my sites are located. Even if I have been hacked, I need to understand how before I can handle this. If I just reinstall the server (both time consuming and expensive, as I need provision a temporary server to make a smooth transition), I'm still going to be open to the same attack vector unless I do something. It seems most likely that the attack (if that's what it was) was rendered through one of the sites. I should point out, however, that the apache server has no write access to any of the web sites it is serving. As such, I cannot see how such an attack can take place, even assuming it is an attack (unless the attacker got actual root, of course). What I'd really like to do is take such a process that I know is hanging on connection to the web site, and find out which request it thinks it is serving. Ideas? Shachar -------------- next part -------------- An HTML attachment was scrubbed... URL: From shachar at shemesh.biz Mon Apr 13 20:11:57 2015 From: shachar at shemesh.biz (Shachar Shemesh) Date: Mon, 13 Apr 2015 20:11:57 +0300 Subject: I've been hacked, or not? In-Reply-To: <552BF025.4010906@shemesh.biz> References: <552BF025.4010906@shemesh.biz> Message-ID: <552BF8DD.4010600@shemesh.biz> On 13/04/15 19:34, Shachar Shemesh wrote: > > What I'd really like to do is take such a process that I know is > hanging on connection to the web site, and find out which request it > thinks it is serving. > I love this mailing list :-) No sooner had I sent this message, I knew how to figure out what was going on. I ran a tcpdump on both incoming and outgoing requests, and managed to locate record the actual attack. It turns out that there is a denial of service (phew! No need to reinstall the server) in wordpress (yes, I've upgraded to the latest version after the last time my server died). I've reported it to the wordpress security team, along with network dumps. I'm hopeful it will be fixed soon, making us all safer. Following their recommendation, I'm not disclosing any more details at this point in time. Shachar -------------- next part -------------- An HTML attachment was scrubbed... URL: From efraim at flashner.co.il Mon Apr 13 20:45:11 2015 From: efraim at flashner.co.il (Efraim Flashner) Date: Mon, 13 Apr 2015 20:45:11 +0300 Subject: I've been hacked, or not? In-Reply-To: <552BF8DD.4010600@shemesh.biz> References: <552BF025.4010906@shemesh.biz> <552BF8DD.4010600@shemesh.biz> Message-ID: <20150413204511.1f276b98@debian-netbook> On Mon, 13 Apr 2015 20:11:57 +0300 Shachar Shemesh wrote: > On 13/04/15 19:34, Shachar Shemesh wrote: > > > > What I'd really like to do is take such a process that I know is > > hanging on connection to the web site, and find out which request it > > thinks it is serving. > > > I love this mailing list :-) > > No sooner had I sent this message, I knew how to figure out what was > going on. I ran a tcpdump on both incoming and outgoing requests, and > managed to locate record the actual attack. It turns out that there is a > denial of service (phew! No need to reinstall the server) in wordpress > (yes, I've upgraded to the latest version after the last time my server > died). > > I've reported it to the wordpress security team, along with network > dumps. I'm hopeful it will be fixed soon, making us all safer. Following > their recommendation, I'm not disclosing any more details at this point > in time. > > Shachar Gotta love wordpress -- Efraim Flashner ????? ????? GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From amichai at iglu.org.il Mon Apr 13 23:53:46 2015 From: amichai at iglu.org.il (Amichai Rotman) Date: Mon, 13 Apr 2015 23:53:46 +0300 Subject: Bezeq Ruter In-Reply-To: References: Message-ID: Thank you all. I guess that is what I'll do. I'll configure my existing router as a bridge and buy this one for the rest: http://goo.gl/ZPjdKZ Amichai. 2015-04-13 10:05 GMT+03:00 : > Use this list for modems and routers available in the free market: > http://www.netcheif.com/Articles/VDSL_Router/VDSL_Router.htm > > In addition, I would like to second what E.S. Rosenberg said, I think you > can still get this one: > http://www.bezeq.co.il/media/Products/Wireless_Support/pdf/vdsl_1.pdf > > They even have a guide in their site how to configure it as bridge: > http://www.bezeq.co.il/media/Products/Wireless_Support/pdf/vdsl_bridge.pdf > > after you get this in place, a good, open wrt supported router is just > easy as pie and very powerful. > > April 13 2015 9:43 AM, linux-il-request at cs.huji.ac.il wrote: > > Send Linux-il mailing list submissions to > > linux-il at cs.huji.ac.il > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > or, via email, send a message with subject or body 'help' to > > linux-il-request at cs.huji.ac.il > > > > You can reach the person managing the list at > > linux-il-owner at cs.huji.ac.il > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of Linux-il digest..." > > > > Today's Topics: > > > > 1. Bezeq Ruter (Amichai Rotman) > > 2. Re: Bezeq Ruter (E.S. Rosenberg) > > 3. Re: Bezeq Ruter (E.S. Rosenberg) > > 4. Re: Bezeq Ruter (Geoff Shang) > > 5. Re: Bezeq Ruter (E.S. Rosenberg) > > 6. Re: Bezeq Ruter (Amos Shapira) > > 7. Re: Bezeq Ruter (Moish) > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sun, 12 Apr 2015 22:17:12 +0300 > > From: Amichai Rotman > > To: Linux-IL > > Subject: Bezeq Ruter > > Message-ID: > > > > Content-Type: text/plain; charset="utf-8" > > > > Hello all, > > > > I have a Netgear 2200v2_64 router I got from Bezeq about two years ago. > > > > I finished paying for it and I don't like the idea it uns Bezeq's > firmware. > > > > I want to flash an open source firmware on it, but I can't figure out > where > > to get it. it seems this specific model is manufactured especially for > > Bezeq, since it isn't on the list of models on Netgear's site. > > > > Can anyone point me to a guide to downloading and flashing an open source > > firmware suitable for this model or, on the other hand, recommend an > > inexpensive replacement that runs open source firmware? > > > > Thanks, > > > > Amichai > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > < > http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20150412/8dda5cef/attachment-0001.html > > > > > > ------------------------------ > > > > Message: 2 > > Date: Sun, 12 Apr 2015 22:55:44 +0300 > > From: "E.S. Rosenberg" > > To: Amichai Rotman > > Cc: Linux-IL > > Subject: Re: Bezeq Ruter > > Message-ID: > > > > Content-Type: text/plain; charset=UTF-8 > > > > Have you tried here: > > http://wiki.openwrt.org/toh/netgear/dgn2200 > > > > 2015-04-12 22:17 GMT+03:00 Amichai Rotman : > > > >> Hello all, > >> > >> I have a Netgear 2200v2_64 router I got from Bezeq about two years ago. > >> > >> I finished paying for it and I don't like the idea it uns Bezeq's > firmware. > >> > >> I want to flash an open source firmware on it, but I can't figure out > where > >> to get it. it seems this specific model is manufactured especially for > >> Bezeq, since it isn't on the list of models on Netgear's site. > >> > >> Can anyone point me to a guide to downloading and flashing an open > source > >> firmware suitable for this model or, on the other hand, recommend an > >> inexpensive replacement that runs open source firmware? > >> > >> Thanks, > >> > >> Amichai > >> > >> _______________________________________________ > >> Linux-il mailing list > >> Linux-il at cs.huji.ac.il > >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > ------------------------------ > > > > Message: 3 > > Date: Sun, 12 Apr 2015 23:10:41 +0300 > > From: "E.S. Rosenberg" > > To: Amichai Rotman > > Cc: Linux-IL > > Subject: Re: Bezeq Ruter > > Message-ID: > > > > Content-Type: text/plain; charset=UTF-8 > > > > v2 may not be supported... > > > > Personally I always insist on Bezeq giving me their simple modem and > > use a decent router of my choosing (obviously vetted for OpenWRT > > support and specs) for WiFi etc (the modem ends up being a bridge > > device about whose fw etc I don't care as much). > > > > 2015-04-12 22:55 GMT+03:00 E.S. Rosenberg : > > > >> Have you tried here: > >> http://wiki.openwrt.org/toh/netgear/dgn2200 > >> > >> 2015-04-12 22:17 GMT+03:00 Amichai Rotman : > >>> Hello all, > >>> > >>> I have a Netgear 2200v2_64 router I got from Bezeq about two years ago. > >>> > >>> I finished paying for it and I don't like the idea it uns Bezeq's > firmware. > >>> > >>> I want to flash an open source firmware on it, but I can't figure out > where > >>> to get it. it seems this specific model is manufactured especially for > >>> Bezeq, since it isn't on the list of models on Netgear's site. > >>> > >>> Can anyone point me to a guide to downloading and flashing an open > source > >>> firmware suitable for this model or, on the other hand, recommend an > >>> inexpensive replacement that runs open source firmware? > >>> > >>> Thanks, > >>> > >>> Amichai > >>> > >>> _______________________________________________ > >>> Linux-il mailing list > >>> Linux-il at cs.huji.ac.il > >>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > ------------------------------ > > > > Message: 4 > > Date: Sun, 12 Apr 2015 23:15:55 +0300 (IDT) > > From: Geoff Shang > > To: Linux-IL > > Subject: Re: Bezeq Ruter > > Message-ID: > > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > > > On Sun, 12 Apr 2015, E.S. Rosenberg wrote: > > > >> Personally I always insist on Bezeq giving me their simple modem and > >> use a decent router of my choosing (obviously vetted for OpenWRT > >> support and specs) for WiFi etc (the modem ends up being a bridge > >> device about whose fw etc I don't care as much). > > > > Ha! I didn't know you could do this. Typical that I find out 6 weeks > > before I leave the country. :) > > > > for the benefit of anyone else who didn't know, please tel more. > > > > Geoff. > > > > ------------------------------ > > > > Message: 5 > > Date: Mon, 13 Apr 2015 09:18:15 +0300 > > From: "E.S. Rosenberg" > > To: Geoff Shang > > Cc: Linux-IL > > Subject: Re: Bezeq Ruter > > Message-ID: > > > > Content-Type: text/plain; charset=UTF-8 > > > > In addition to the "fancy" (read crappy) wireless routers that Bezeq > > will always try to offer you to lease/buy/get/whatever the latest fad > > is, they also have simple modems. > > Really these are bridge routers with one ethernet port and one DSL > > port, also running Linux, you can use them as router and create a DMZ > > between your wireless router and the bridge, though I don't recommend > > that because then you: > > - can't just drop in a replacement when they break down > > - are relying on the bridges' firmware for security on your DMZ > > > > They have currently 2 models as far as I can tell: > > - (Rotal) RTA 1320+ > > - D-Link DSL-25xx (newer, haven't seen very often) > > > > Bezeq does not like giving these devices out most likely because it > > prevents them from having a Bezeq_free network at your address, the > > last time I had to replace my modem they told me that they actually > > repair them and aren't making/buying new ones (which makes sense for > > the rta1320 which is old but supports up to 24M). > > The fact that they are repairing does seem to be starting to lead to > > failures happing more often recently... > > It also prevents them from trouble shooting your network since the > > most they will have access to is the bridge whereas they generally > > have remote access to the wireless-routers (you often don't even get > > full root/admin on the router). > > > > To me using these devices only has advantages: > > - cost less then the "fancy" modem/routers. > > - allows me full control over my network infrastructure. > > - no Bezeq network freeloading on my DSL connection > > - no Bezeq access to my home network > > - allows me to easily upgrade my wireless router if/when I want some > > newer technology/toy. > > > > BTW: It is of course also possible to use a Bezeq wireless router > > together with your own wireless router either in a DMZ like setup or > > even as a bridge (though that takes some real effort), but that seems > > like a major overkill and a waste of money..... > > > > HTH, > > Eliyahu - ????? > > > > 2015-04-12 23:15 GMT+03:00 Geoff Shang : > > > >> On Sun, 12 Apr 2015, E.S. Rosenberg wrote: > >> > >>> Personally I always insist on Bezeq giving me their simple modem and > >>> use a decent router of my choosing (obviously vetted for OpenWRT > >>> support and specs) for WiFi etc (the modem ends up being a bridge > >>> device about whose fw etc I don't care as much). > >> > >> Ha! I didn't know you could do this. Typical that I find out 6 weeks > >> before I leave the country. :) > >> > >> for the benefit of anyone else who didn't know, please tel more. > >> > >> Geoff. > >> > >> _______________________________________________ > >> Linux-il mailing list > >> Linux-il at cs.huji.ac.il > >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > ------------------------------ > > > > Message: 6 > > Date: Mon, 13 Apr 2015 16:29:07 +1000 > > From: Amos Shapira > > To: "E.S. Rosenberg" > > Cc: Linux-IL > > Subject: Re: Bezeq Ruter > > Message-ID: > > > > Content-Type: text/plain; charset="utf-8" > > > > I wonder - do you have to get the modem from Bezeq? Can't you buy > anything > > compatible on the free market? > > > > On 13 April 2015 at 16:18, E.S. Rosenberg > wrote: > > > >> In addition to the "fancy" (read crappy) wireless routers that Bezeq > >> will always try to offer you to lease/buy/get/whatever the latest fad > >> is, they also have simple modems. > >> Really these are bridge routers with one ethernet port and one DSL > >> port, also running Linux, you can use them as router and create a DMZ > >> between your wireless router and the bridge, though I don't recommend > >> that because then you: > >> - can't just drop in a replacement when they break down > >> - are relying on the bridges' firmware for security on your DMZ > >> > >> They have currently 2 models as far as I can tell: > >> - (Rotal) RTA 1320+ > >> - D-Link DSL-25xx (newer, haven't seen very often) > >> > >> Bezeq does not like giving these devices out most likely because it > >> prevents them from having a Bezeq_free network at your address, the > >> last time I had to replace my modem they told me that they actually > >> repair them and aren't making/buying new ones (which makes sense for > >> the rta1320 which is old but supports up to 24M). > >> The fact that they are repairing does seem to be starting to lead to > >> failures happing more often recently... > >> It also prevents them from trouble shooting your network since the > >> most they will have access to is the bridge whereas they generally > >> have remote access to the wireless-routers (you often don't even get > >> full root/admin on the router). > >> > >> To me using these devices only has advantages: > >> - cost less then the "fancy" modem/routers. > >> - allows me full control over my network infrastructure. > >> - no Bezeq network freeloading on my DSL connection > >> - no Bezeq access to my home network > >> - allows me to easily upgrade my wireless router if/when I want some > >> newer technology/toy. > >> > >> BTW: It is of course also possible to use a Bezeq wireless router > >> together with your own wireless router either in a DMZ like setup or > >> even as a bridge (though that takes some real effort), but that seems > >> like a major overkill and a waste of money..... > >> > >> HTH, > >> Eliyahu - ????? > >> > >> 2015-04-12 23:15 GMT+03:00 Geoff Shang : > >>> On Sun, 12 Apr 2015, E.S. Rosenberg wrote: > >>> > >>>> Personally I always insist on Bezeq giving me their simple modem and > >>>> use a decent router of my choosing (obviously vetted for OpenWRT > >>>> support and specs) for WiFi etc (the modem ends up being a bridge > >>>> device about whose fw etc I don't care as much). > >>> > >>> > >>> Ha! I didn't know you could do this. Typical that I find out 6 weeks > >>> before I leave the country. :) > >>> > >>> for the benefit of anyone else who didn't know, please tel more. > >>> > >>> Geoff. > >>> > >>> > >>> > >>> _______________________________________________ > >>> Linux-il mailing list > >>> Linux-il at cs.huji.ac.il > >>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > >> > >> _______________________________________________ > >> Linux-il mailing list > >> Linux-il at cs.huji.ac.il > >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > -- > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: > > < > http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20150413/348ffb6e/attachment-0001.html > > > > > > ------------------------------ > > > > Message: 7 > > Date: Mon, 13 Apr 2015 09:43:03 +0300 > > From: Moish > > To: linux-il at cs.huji.ac.il > > Subject: Re: Bezeq Ruter > > Message-ID: <552B6577.20407 at mln.co.il> > > Content-Type: text/plain; charset="us-ascii" > > > > An HTML attachment was scrubbed... > > URL: > > < > http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20150413/6e8d5a03/attachment.html > > > > > > ------------------------------ > > > > Subject: Digest Footer > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > ------------------------------ > > > > End of Linux-il Digest, Vol 76, Issue 6 > > *************************************** > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Tue Apr 14 03:02:21 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Tue, 14 Apr 2015 10:02:21 +1000 Subject: I've been hacked, or not? In-Reply-To: <552BF025.4010906@shemesh.biz> References: <552BF025.4010906@shemesh.biz> Message-ID: On 14 April 2015 at 02:34, Shachar Shemesh wrote: > If I just reinstall the server (both time consuming and expensive, as I > need provision a temporary server to make a smooth transition), I'm still > going to be open to the same attack vector unless I do something. > Don't you have a DR plan? How about automating the server setup, so you can both test changes (ever heard of Vagrant?) and get it back to life without worrying about it? Remember - todays servers should be treated like cattle, not pets: http://image.slidesharecdn.com/cerndatacentreevolution-sdcd2012-121119074533-phpapp02/95/cern-data-centre-evolution-17-638.jpg (from http://www.slideshare.net/gmccance/cern-data-centre-evolution, origin at http://www.slideshare.net/randybias/pets-vs-cattle-the-elastic-cloud-story) --Amos -------------- next part -------------- An HTML attachment was scrubbed... URL: From shachar at shemesh.biz Tue Apr 14 05:53:05 2015 From: shachar at shemesh.biz (Shachar Shemesh) Date: Tue, 14 Apr 2015 05:53:05 +0300 Subject: I've been hacked, or not? Message-ID: An HTML attachment was scrubbed... URL: From amos.shapira at gmail.com Tue Apr 14 06:19:10 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Tue, 14 Apr 2015 13:19:10 +1000 Subject: I've been hacked, or not? In-Reply-To: <552c8125.6209b50a.76d7.6fe1SMTPIN_ADDED_MISSING@mx.google.com> References: <552c8125.6209b50a.76d7.6fe1SMTPIN_ADDED_MISSING@mx.google.com> Message-ID: Please allow me to disagree, I see top value in spending some time to learn to set it up automatically - it'll pay itself in spades every time you have to update anything on that server, let alone migrate or rebuild it. Setting up a test environment with Vagrant, setting things up with Puppet (or whatever else is your favourite poison), testing the changes with Serverspec and friends shouldn't take more than a day of hacking, will make you much more relaxed about maintaining this server, and give you fantastic tools to use in your other work. E.g. I'm hacking now on my own project and see the value of automatic tests so as my code progresses, I can make sure I didn't break something which worked before. Sure its a hassle to kickstart it but once it's up it's invaluable. On 14 April 2015 at 12:53, Shachar Shemesh wrote: > Yes. That's top advice IF you are working off someone elses money and/or > paying for your own time. > > If, however, this is something done in your spare time, serving mostly you > and being paid for out of your own pocket, the difference between 8?/mo and > what you said becomes big. > > Shachar > On Apr 14, 2015 3:02 AM, Amos Shapira wrote: > > On 14 April 2015 at 02:34, Shachar Shemesh wrote: > >> If I just reinstall the server (both time consuming and expensive, as I >> need provision a temporary server to make a smooth transition), I'm still >> going to be open to the same attack vector unless I do something. >> > > Don't you have a DR plan? > How about automating the server setup, so you can both test changes (ever > heard of Vagrant?) and get it back to life without worrying about it? > > Remember - todays servers should be treated like cattle, not pets: > http://image.slidesharecdn.com/cerndatacentreevolution-sdcd2012-121119074533-phpapp02/95/cern-data-centre-evolution-17-638.jpg > > (from http://www.slideshare.net/gmccance/cern-data-centre-evolution, > origin at > http://www.slideshare.net/randybias/pets-vs-cattle-the-elastic-cloud-story > ) > > --Amos > > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Tue Apr 14 06:44:46 2015 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Tue, 14 Apr 2015 06:44:46 +0300 Subject: formatting a disk for a home NAS Message-ID: <20150414064446.317a8ba6@shlomo1.solomon> I'm setting up a home NAS - Raspberry PI2, Raspbian, Samba, external disk. It's meant to serve files to a mixed network - Linux, Windows and Android devices. The new disk comes formatted as NTFS. My "gut" tells me to re-format as EXT4 - any comments or suggestions? Additional info: The files will be a mix of music, video and office files. I will also be backing up at least one of the Linux boxes on this server, so there will also be a fair number of small files - e-mail, config files, etc. In the past I used to prefer ReiserFS, but over the years, I've gradually moved to EXT4 for new disks. -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 From esr+linux-il at g.jct.ac.il Tue Apr 14 10:17:52 2015 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Tue, 14 Apr 2015 10:17:52 +0300 Subject: formatting a disk for a home NAS In-Reply-To: <20150414064446.317a8ba6@shlomo1.solomon> References: <20150414064446.317a8ba6@shlomo1.solomon> Message-ID: Of course you're going to reformat, after all the technicalities of the local fs will be hidden from the clients by nfs/smb/(web)dav. As far as which FS goes, ext4 is a safe bet, it seems the big server players are recently opting for XFS. And if you feel adventurous and want the power of ZFS that is also an option these days or if you want something similar btrfs is also pretty good these days (my phone uses it for it's main storage and I have no complaints). HTH, Eliyahu - ????? 2015-04-14 6:44 GMT+03:00 Shlomo Solomon : > I'm setting up a home NAS - Raspberry PI2, Raspbian, Samba, external > disk. It's meant to serve files to a mixed network - Linux, Windows and > Android devices. The new disk comes formatted as NTFS. My "gut" tells > me to re-format as EXT4 - any comments or suggestions? > > Additional info: The files will be a mix of music, video and office > files. I will also be backing up at least one of the Linux boxes on > this server, so there will also be a fair number of small files - > e-mail, config files, etc. In the past I used to prefer ReiserFS, but > over the years, I've gradually moved to EXT4 for new disks. > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il From amos.shapira at gmail.com Tue Apr 14 10:28:55 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Tue, 14 Apr 2015 17:28:55 +1000 Subject: formatting a disk for a home NAS In-Reply-To: References: <20150414064446.317a8ba6@shlomo1.solomon> Message-ID: If all you want is for this server to be there and not have to worry about it then I'd recommend ext4. Put the data and the OS on separate disks if you can. Many years ago (over ten years), I used ReiserFS for my desktop. It worked great and didn't have the limitations of the other fs's of the time (ext2/ext3). Until one day I tried to shrink it to make room for another distro. BIG mistake. The tools weren't mature and I lost all my data. *MY* take-away from this - stick to mainstream if you want things to "just work", and without knowing more about your context I'd expect 99% that ext4 will do just fine for the job. Good luck, --Amos On 14 April 2015 at 17:17, E.S. Rosenberg wrote: > Of course you're going to reformat, after all the technicalities of > the local fs will be hidden from the clients by nfs/smb/(web)dav. > > As far as which FS goes, ext4 is a safe bet, it seems the big server > players are recently opting for XFS. > > And if you feel adventurous and want the power of ZFS that is also an > option these days or if you want something similar btrfs is also > pretty good these days (my phone uses it for it's main storage and I > have no complaints). > > HTH, > Eliyahu - ????? > > 2015-04-14 6:44 GMT+03:00 Shlomo Solomon : > > I'm setting up a home NAS - Raspberry PI2, Raspbian, Samba, external > > disk. It's meant to serve files to a mixed network - Linux, Windows and > > Android devices. The new disk comes formatted as NTFS. My "gut" tells > > me to re-format as EXT4 - any comments or suggestions? > > > > Additional info: The files will be a mix of music, video and office > > files. I will also be backing up at least one of the Linux boxes on > > this server, so there will also be a fair number of small files - > > e-mail, config files, etc. In the past I used to prefer ReiserFS, but > > over the years, I've gradually moved to EXT4 for new disks. > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 > > > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Tue Apr 14 11:18:28 2015 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Tue, 14 Apr 2015 11:18:28 +0300 Subject: formatting a disk for a home NAS In-Reply-To: References: <20150414064446.317a8ba6@shlomo1.solomon> Message-ID: 2015-04-14 10:28 GMT+03:00 Amos Shapira : > If all you want is for this server to be there and not have to worry about > it then I'd recommend ext4. > > Put the data and the OS on separate disks if you can. > Always do that! In this case you have to anyhow since the RPi is incapable of booting from anything but the SD-card. > > Many years ago (over ten years), I used ReiserFS for my desktop. It worked > great and didn't have the limitations of the other fs's of the time > (ext2/ext3). > Until one day I tried to shrink it to make room for another distro. BIG > mistake. The tools weren't mature and I lost all my data. > > *MY* take-away from this - stick to mainstream if you want things to "just > work", and without knowing more about your context I'd expect 99% that ext4 > will do just fine for the job. > > Good luck, > > --Amos > > On 14 April 2015 at 17:17, E.S. Rosenberg > wrote: > >> Of course you're going to reformat, after all the technicalities of >> the local fs will be hidden from the clients by nfs/smb/(web)dav. >> >> As far as which FS goes, ext4 is a safe bet, it seems the big server >> players are recently opting for XFS. >> >> And if you feel adventurous and want the power of ZFS that is also an >> option these days or if you want something similar btrfs is also >> pretty good these days (my phone uses it for it's main storage and I >> have no complaints). >> >> HTH, >> Eliyahu - ????? >> >> 2015-04-14 6:44 GMT+03:00 Shlomo Solomon : >> > I'm setting up a home NAS - Raspberry PI2, Raspbian, Samba, external >> > disk. It's meant to serve files to a mixed network - Linux, Windows and >> > Android devices. The new disk comes formatted as NTFS. My "gut" tells >> > me to re-format as EXT4 - any comments or suggestions? >> > >> > Additional info: The files will be a mix of music, video and office >> > files. I will also be backing up at least one of the Linux boxes on >> > this server, so there will also be a fair number of small files - >> > e-mail, config files, etc. In the past I used to prefer ReiserFS, but >> > over the years, I've gradually moved to EXT4 for new disks. >> > >> > -- >> > Shlomo Solomon >> > http://the-solomons.net >> > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 >> > >> > >> > _______________________________________________ >> > Linux-il mailing list >> > Linux-il at cs.huji.ac.il >> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> > > > > -- > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at gmail.com Wed Apr 15 14:49:24 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Wed, 15 Apr 2015 14:49:24 +0300 Subject: Linux Kernel 4.0 is Out + Debian Jessie Planned Upcoming Release Message-ID: Hi all! Linux kernel 4.0 is out: * https://www.kernel.org/ * http://linux.slashdot.org/story/15/04/13/0249208/linux-40-kernel-released * http://lwn.net/Articles/640082/ It's actually kernel 3.20 in disguise. That put aside , Debian Jessie is planned to be released (as the new Debian Stable) on 25 April (ten days from now): https://release.debian.org/ ?May you live in interesting times.? Regards, Shlomi Fish -- ------------------------------------------ Shlomi Fish http://www.shlomifish.org/ Chuck Norris helps the gods that help themselves. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Wed Apr 15 15:29:02 2015 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Wed, 15 Apr 2015 15:29:02 +0300 Subject: Linux Kernel 4.0 is Out + Debian Jessie Planned Upcoming Release In-Reply-To: References: Message-ID: 2015-04-15 14:49 GMT+03:00 Shlomi Fish : > Hi all! > > Linux kernel 4.0 is out: > > * https://www.kernel.org/ > > * http://linux.slashdot.org/story/15/04/13/0249208/linux-40-kernel-released > > * http://lwn.net/Articles/640082/ > > It's actually kernel 3.20 in disguise. And 3.20 is really 2.6.60 let's not go there Linux version numbers have been discussed on lkml, even if someone here intends to pick up the discussion there us discussing the version numbers is completely moot. > > That put aside , Debian Jessie is planned to be released (as the new Debian > Stable) on 25 April (ten days from now): > > https://release.debian.org/ > > ?May you live in interesting times.? Thanks, you too and all of us. Regards, Eliyahu - ????? > > Regards, > > Shlomi Fish > > -- > ------------------------------------------ > Shlomi Fish http://www.shlomifish.org/ > > Chuck Norris helps the gods that help themselves. > > Please reply to list if it's a mailing list post - http://shlom.in/reply . > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > From amos.shapira at gmail.com Wed Apr 15 23:50:33 2015 From: amos.shapira at gmail.com (Amos Shapira) Date: Thu, 16 Apr 2015 06:50:33 +1000 Subject: Linux Kernel 4.0 is Out + Debian Jessie Planned Upcoming Release In-Reply-To: References: Message-ID: On 15 April 2015 at 22:29, E.S. Rosenberg wrote: > 2015-04-15 14:49 GMT+03:00 Shlomi Fish : > > ?May you live in interesting times.? > Thanks, you too and all of us. > Actually in the English context it's considered a curse (even though the myth that it's originally a Chinese curse is unsubstantiated). https://en.wikipedia.org/wiki/May_you_live_in_interesting_times "Break a leg" is a wish for good luck, though :) Go figure... --Amos -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Thu Apr 16 19:19:28 2015 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 16 Apr 2015 19:19:28 +0300 Subject: Mageia and NTFS disk Message-ID: <20150416191928.1adbc715@shlomo1.solomon> I'm about to format my new 4Tb drive as Ext4, but before I do, I wanted to see how it shows up "out-of-the-box" and got some strange results. I'm pretty sure formatting as Ext4 will solve this, but I'm curious if anyone can explain the following: I mounted the drive and I see: [solomon at shlomo1 ~]$ df |grep Seagate /dev/sdj1 3.7T 203M 3.7T 1% /run/media/solomon/Seagate Expansion Drive [root at shlomo1 solomon]# fdisk /dev/sdj Welcome to fdisk (util-linux 2.24.2). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/sdj: 3.7 TiB, 4000787025920 bytes, 976754645 sectors Units: sectors of 1 * 4096 = 4096 bytes Sector size (logical/physical): 4096 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0xc64aae83 Device Boot Start End Blocks Id System /dev/sdj1 2048 976752639 3907002368 7 HPFS/NTFS/exFAT But, when I run the "Manage Disk Partitions" utility in Mageia's Control Center I can see 1 "small" NTFS partition and another 1.9Tb of un-allocated space for a total of only about 60% of the disk: Device: sdj1 Volume label: Seagate_Expansion_Drive DOS drive letter: C (just a guess) Type: NTFS-3G Size: 465GB (12%) Empty Size: 1.9TB (54%) Cylinder 60800 to 328149 After hitting the "clear all" button I see more or less the proper size: Device: sdj Size: 3.6TB Name: NA4KTWL4 As I wrote, I'm quite sure formatting EXT4 will solve this, but WTF? -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 From const at makelinux.co.il Thu Apr 16 20:26:03 2015 From: const at makelinux.co.il (Constantine Shulyupin) Date: Thu, 16 Apr 2015 20:26:03 +0300 Subject: Mageia and NTFS disk In-Reply-To: <20150416191928.1adbc715@shlomo1.solomon> References: <20150416191928.1adbc715@shlomo1.solomon> Message-ID: It's possible that 2TB is just 32bit LONG_MAX 2147483647 and there is bug in the utility. Must to use long long int for disk sizes in bytes. On Thu, Apr 16, 2015 at 7:19 PM, Shlomo Solomon wrote: > I'm about to format my new 4Tb drive as Ext4, but before I do, I > wanted to see how it shows up "out-of-the-box" and got some strange > results. I'm pretty sure formatting as Ext4 will solve this, but I'm > curious if anyone can explain the following: > > I mounted the drive and I see: > [solomon at shlomo1 ~]$ df |grep Seagate > /dev/sdj1 3.7T 203M 3.7T 1% /run/media/solomon/Seagate Expansion Drive > > > > [root at shlomo1 solomon]# fdisk /dev/sdj > > Welcome to fdisk (util-linux 2.24.2). > Changes will remain in memory only, until you decide to write them. > Be careful before using the write command. > > Command (m for help): p > Disk /dev/sdj: 3.7 TiB, 4000787025920 bytes, 976754645 sectors > Units: sectors of 1 * 4096 = 4096 bytes > Sector size (logical/physical): 4096 bytes / 4096 bytes > I/O size (minimum/optimal): 4096 bytes / 4096 bytes > Disklabel type: dos > Disk identifier: 0xc64aae83 > > Device Boot Start End Blocks Id System > /dev/sdj1 2048 976752639 3907002368 7 HPFS/NTFS/exFAT > > > > But, when I run the "Manage Disk Partitions" utility in Mageia's > Control Center I can see 1 "small" NTFS partition and another 1.9Tb of > un-allocated space for a total of only about 60% of the disk: > > Device: sdj1 > Volume label: Seagate_Expansion_Drive > DOS drive letter: C (just a guess) > Type: NTFS-3G > Size: 465GB (12%) > > Empty > Size: 1.9TB (54%) > Cylinder 60800 to 328149 > > After hitting the "clear all" button I see more or less the proper size: > Device: sdj > Size: 3.6TB > Name: NA4KTWL4 > > > As I wrote, I'm quite sure formatting EXT4 will solve this, but WTF? > > > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems Tel Aviv -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Thu Apr 16 20:59:44 2015 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Thu, 16 Apr 2015 20:59:44 +0300 Subject: Re Mageia and NTFS disk Message-ID: <20150416205944.1a417a7a@shlomo1.solomon> Actually, that's exactly the conclusion I came to :-) 1 - I tried deleting the NTFS partition and creating a new EXT4 using the utility but was not successful. 2 - I then used fdisk in a terminal and it seemed to work but the utility didn't recognize what I'd done in fdisk. 3 - I then connected the disk to my Raspberry PI and used Gparted to create an EXT4 partition on the entire disk. 4 - Back on my Mageia box, The new partition looks OK: [solomon at shlomo1 ~]$ df|grep sdj /dev/sdj1 3.6T 68M 3.4T 1% /run/media/solomon/7677d9e4-9884-4085-a361-e6d2ff4a72db BUT - in the Mageia utility I see only a "small" EXT4 partition and another 1.9Tb of un-allocated space for a total of only about 60% of the disk. 5 - I then tried Gparted on the Mageia box and everything seems normal. SO - Yes, there seems to be a bug in Mageia's "Manage Disk Partitions" utility. On Thu, 16 Apr 2015 20:26:03 +0300 Constantine Shulyupin wrote: > It's possible that 2TB is just 32bit LONG_MAX 2147483647 and there is > bug in the utility. > Must to use long long int for disk sizes in bytes. > > > > On Thu, Apr 16, 2015 at 7:19 PM, Shlomo Solomon > wrote: > > > I'm about to format my new 4Tb drive as Ext4, but before I do, I > > wanted to see how it shows up "out-of-the-box" and got some strange > > results. I'm pretty sure formatting as Ext4 will solve this, but I'm > > curious if anyone can explain the following: > > > > I mounted the drive and I see: > > [solomon at shlomo1 ~]$ df |grep Seagate > > /dev/sdj1 3.7T 203M 3.7T 1% /run/media/solomon/Seagate Expansion > > Drive > > > > > > > > [root at shlomo1 solomon]# fdisk /dev/sdj > > > > Welcome to fdisk (util-linux 2.24.2). > > Changes will remain in memory only, until you decide to write them. > > Be careful before using the write command. > > > > Command (m for help): p > > Disk /dev/sdj: 3.7 TiB, 4000787025920 bytes, 976754645 sectors > > Units: sectors of 1 * 4096 = 4096 bytes > > Sector size (logical/physical): 4096 bytes / 4096 bytes > > I/O size (minimum/optimal): 4096 bytes / 4096 bytes > > Disklabel type: dos > > Disk identifier: 0xc64aae83 > > > > Device Boot Start End Blocks Id System > > /dev/sdj1 2048 976752639 3907002368 7 HPFS/NTFS/exFAT > > > > > > > > But, when I run the "Manage Disk Partitions" utility in Mageia's > > Control Center I can see 1 "small" NTFS partition and another 1.9Tb > > of un-allocated space for a total of only about 60% of the disk: > > > > Device: sdj1 > > Volume label: Seagate_Expansion_Drive > > DOS drive letter: C (just a guess) > > Type: NTFS-3G > > Size: 465GB (12%) > > > > Empty > > Size: 1.9TB (54%) > > Cylinder 60800 to 328149 > > > > After hitting the "clear all" button I see more or less the proper > > size: Device: sdj > > Size: 3.6TB > > Name: NA4KTWL4 > > > > > > As I wrote, I'm quite sure formatting EXT4 will solve this, but WTF? > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 > > > > > > _______________________________________________ > > Linux-il mailing list > > Linux-il at cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 From const at makelinux.co.il Thu Apr 16 22:20:26 2015 From: const at makelinux.co.il (Constantine Shulyupin) Date: Thu, 16 Apr 2015 22:20:26 +0300 Subject: Mageia and NTFS disk In-Reply-To: <20150416191928.1adbc715@shlomo1.solomon> References: <20150416191928.1adbc715@shlomo1.solomon> Message-ID: Don't use fdisk, it doesn?t recognize GPT/UFI partitions. use parded: sudo parted /dev/sda "unit B" print sudo parted /dev/sda print On Thu, Apr 16, 2015 at 7:19 PM, Shlomo Solomon wrote: > I'm about to format my new 4Tb drive as Ext4, but before I do, I > wanted to see how it shows up "out-of-the-box" and got some strange > results. I'm pretty sure formatting as Ext4 will solve this, but I'm > curious if anyone can explain the following: > > I mounted the drive and I see: > [solomon at shlomo1 ~]$ df |grep Seagate > /dev/sdj1 3.7T 203M 3.7T 1% /run/media/solomon/Seagate Expansion Drive > > > > [root at shlomo1 solomon]# fdisk /dev/sdj > > Welcome to fdisk (util-linux 2.24.2). > Changes will remain in memory only, until you decide to write them. > Be careful before using the write command. > > Command (m for help): p > Disk /dev/sdj: 3.7 TiB, 4000787025920 bytes, 976754645 sectors > Units: sectors of 1 * 4096 = 4096 bytes > Sector size (logical/physical): 4096 bytes / 4096 bytes > I/O size (minimum/optimal): 4096 bytes / 4096 bytes > Disklabel type: dos > Disk identifier: 0xc64aae83 > > Device Boot Start End Blocks Id System > /dev/sdj1 2048 976752639 3907002368 7 HPFS/NTFS/exFAT > > > > But, when I run the "Manage Disk Partitions" utility in Mageia's > Control Center I can see 1 "small" NTFS partition and another 1.9Tb of > un-allocated space for a total of only about 60% of the disk: > > Device: sdj1 > Volume label: Seagate_Expansion_Drive > DOS drive letter: C (just a guess) > Type: NTFS-3G > Size: 465GB (12%) > > Empty > Size: 1.9TB (54%) > Cylinder 60800 to 328149 > > After hitting the "clear all" button I see more or less the proper size: > Device: sdj > Size: 3.6TB > Name: NA4KTWL4 > > > As I wrote, I'm quite sure formatting EXT4 will solve this, but WTF? > > > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems Tel Aviv -------------- next part -------------- An HTML attachment was scrubbed... URL: From esr+linux-il at g.jct.ac.il Fri Apr 17 01:44:16 2015 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Fri, 17 Apr 2015 01:44:16 +0300 Subject: Mageia and NTFS disk In-Reply-To: References: <20150416191928.1adbc715@shlomo1.solomon> Message-ID: 2015-04-16 22:20 GMT+03:00 Constantine Shulyupin : > Don't use fdisk, it doesn?t recognize GPT/UFI partitions. Just to add to that MBR partitions don't go over 2T. When using GPT most systems still write some basic form of MBR just in case you plug your disk into an old machine which is why tools like fdisk which only deal with MBR gave you the results you saw... Regards, Eliyahu - ????? > use parded: > sudo parted /dev/sda "unit B" print > sudo parted /dev/sda print > > On Thu, Apr 16, 2015 at 7:19 PM, Shlomo Solomon > wrote: >> >> I'm about to format my new 4Tb drive as Ext4, but before I do, I >> wanted to see how it shows up "out-of-the-box" and got some strange >> results. I'm pretty sure formatting as Ext4 will solve this, but I'm >> curious if anyone can explain the following: >> >> I mounted the drive and I see: >> [solomon at shlomo1 ~]$ df |grep Seagate >> /dev/sdj1 3.7T 203M 3.7T 1% /run/media/solomon/Seagate Expansion Drive >> >> >> >> [root at shlomo1 solomon]# fdisk /dev/sdj >> >> Welcome to fdisk (util-linux 2.24.2). >> Changes will remain in memory only, until you decide to write them. >> Be careful before using the write command. >> >> Command (m for help): p >> Disk /dev/sdj: 3.7 TiB, 4000787025920 bytes, 976754645 sectors >> Units: sectors of 1 * 4096 = 4096 bytes >> Sector size (logical/physical): 4096 bytes / 4096 bytes >> I/O size (minimum/optimal): 4096 bytes / 4096 bytes >> Disklabel type: dos >> Disk identifier: 0xc64aae83 >> >> Device Boot Start End Blocks Id System >> /dev/sdj1 2048 976752639 3907002368 7 HPFS/NTFS/exFAT >> >> >> >> But, when I run the "Manage Disk Partitions" utility in Mageia's >> Control Center I can see 1 "small" NTFS partition and another 1.9Tb of >> un-allocated space for a total of only about 60% of the disk: >> >> Device: sdj1 >> Volume label: Seagate_Expansion_Drive >> DOS drive letter: C (just a guess) >> Type: NTFS-3G >> Size: 465GB (12%) >> >> Empty >> Size: 1.9TB (54%) >> Cylinder 60800 to 328149 >> >> After hitting the "clear all" button I see more or less the proper size: >> Device: sdj >> Size: 3.6TB >> Name: NA4KTWL4 >> >> >> As I wrote, I'm quite sure formatting EXT4 will solve this, but WTF? >> >> >> >> -- >> Shlomo Solomon >> http://the-solomons.net >> Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 >> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > -- > Constantine Shulyupin > http://www.MakeLinux.co.il/ > Embedded Linux Systems > Tel Aviv > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > From w1 at zak.co.il Fri Apr 17 10:14:58 2015 From: w1 at zak.co.il (Omer Zak) Date: Fri, 17 Apr 2015 10:14:58 +0300 Subject: [octave3.0-info vs. dpkg] Dirty package uninstall in Debian - how to do it? Message-ID: <1429254898.19671.6.camel@zak.co.il> In Linux (Debian Jessie which is currently Debian Testing), I encountered the following bug from hell. I have installed the package octave3.0-info (1:3.0.1-6lenny3) which conflicts with the new version of dpkg (1.17.25) which is part of Debian Jessie. The current dpkg version that I have is 1.17.24, and there is a problem with octave3.0-info which prevents the current dpkg from uninstalling it. Hence, a deadlock which prevents me from upgrading to the new dpkg version (I reported the bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782714). Is there any expert who can advise me how to work around the deadlock and allow me to install the new dpkg? Thanks, --- Omer -- cal 09 1752 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 From lior at okman.name Fri Apr 17 10:26:20 2015 From: lior at okman.name (Lior Okman) Date: Fri, 17 Apr 2015 10:26:20 +0300 Subject: [octave3.0-info vs. dpkg] Dirty package uninstall in Debian - how to do it? In-Reply-To: <1429254898.19671.6.camel@zak.co.il> References: <1429254898.19671.6.camel@zak.co.il> Message-ID: Hi, This is a dirty hack, but in the worst case, you can edit the octave3.0-info pre-removal script (it's in /var/lib/dpkg/info ) and have either debug that script or simply return 0 from it. If you do this, make sure to manually do what that script would have done. Once you edited that script, you will be able to uninstall octave3.0-info as usual (dpkg etc.). Regards, Lior On Fri, Apr 17, 2015 at 10:14 AM, Omer Zak wrote: > In Linux (Debian Jessie which is currently Debian Testing), I > encountered the following bug from hell. > > I have installed the package octave3.0-info (1:3.0.1-6lenny3) which > conflicts with the new version of dpkg (1.17.25) which is part of Debian > Jessie. > > The current dpkg version that I have is 1.17.24, and there is a problem > with octave3.0-info which prevents the current dpkg from uninstalling > it. > > Hence, a deadlock which prevents me from upgrading to the new dpkg > version (I reported the bug: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782714). > > Is there any expert who can advise me how to work around the deadlock > and allow me to install the new dpkg? > > Thanks, > --- Omer > > > > -- > cal 09 1752 > 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 at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -------------- next part -------------- An HTML attachment was scrubbed... URL: From w1 at zak.co.il Fri Apr 17 11:54:45 2015 From: w1 at zak.co.il (Omer Zak) Date: Fri, 17 Apr 2015 11:54:45 +0300 Subject: [FIXED] Re: [octave3.0-info vs. dpkg] Dirty package uninstall in Debian - how to do it? In-Reply-To: References: <1429254898.19671.6.camel@zak.co.il> Message-ID: <1429260885.19671.10.camel@zak.co.il> Hello Lior, Thanks for the pointer. The culprit was the install-info --remove command in the octave3.0-info.prerm script. This command appears also in other *.prerm scripts, but in the other scripts, it was commented out and had an absolute path as the filename. The path started with /usr/info, a directory which does not exist in my system. I commented out the install-info --remove command and re-ran aptitude. This time, octave3.0-info was removed and dpkg was upgraded. --- Omer On Fri, 2015-04-17 at 10:26 +0300, Lior Okman wrote: > Hi, > > > This is a dirty hack, but in the worst case, you can edit the > octave3.0-info pre-removal script (it's in /var/lib/dpkg/info ) and > have either debug that script or simply return 0 from it. If you do > this, make sure to manually do what that script would have done. Once > you edited that script, you will be able to uninstall octave3.0-info > as usual (dpkg etc.). > > > Regards, > Lior > > On Fri, Apr 17, 2015 at 10:14 AM, Omer Zak wrote: > In Linux (Debian Jessie which is currently Debian Testing), I > encountered the following bug from hell. > > I have installed the package octave3.0-info (1:3.0.1-6lenny3) > which > conflicts with the new version of dpkg (1.17.25) which is part > of Debian > Jessie. > > The current dpkg version that I have is 1.17.24, and there is > a problem > with octave3.0-info which prevents the current dpkg from > uninstalling > it. > > Hence, a deadlock which prevents me from upgrading to the new > dpkg > version (I reported the bug: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782714). > > Is there any expert who can advise me how to work around the > deadlock > and allow me to install the new dpkg? -- What happens if one mixes together evolution with time travel to the past? See: http://www.zak.co.il/a/stuff/opinions/eng/evol_tm.html 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 From esr+linux-il at g.jct.ac.il Fri Apr 17 11:57:00 2015 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Fri, 17 Apr 2015 11:57:00 +0300 Subject: [octave3.0-info vs. dpkg] Dirty package uninstall in Debian - how to do it? In-Reply-To: References: <1429254898.19671.6.camel@zak.co.il> Message-ID: I assume you are using apt or some other 'high level' tool, I have found that when stuck like that removing with the dpkg command generally works... (dpkg -P or dpkg -r depending on what you need). HTH, ??? ????, Eliyahu - ????? 2015-04-17 10:26 GMT+03:00 Lior Okman : > Hi, > > This is a dirty hack, but in the worst case, you can edit the octave3.0-info > pre-removal script (it's in /var/lib/dpkg/info ) and have either debug that > script or simply return 0 from it. If you do this, make sure to manually do > what that script would have done. Once you edited that script, you will be > able to uninstall octave3.0-info as usual (dpkg etc.). > > Regards, > Lior > > > On Fri, Apr 17, 2015 at 10:14 AM, Omer Zak wrote: >> >> In Linux (Debian Jessie which is currently Debian Testing), I >> encountered the following bug from hell. >> >> I have installed the package octave3.0-info (1:3.0.1-6lenny3) which >> conflicts with the new version of dpkg (1.17.25) which is part of Debian >> Jessie. >> >> The current dpkg version that I have is 1.17.24, and there is a problem >> with octave3.0-info which prevents the current dpkg from uninstalling >> it. >> >> Hence, a deadlock which prevents me from upgrading to the new dpkg >> version (I reported the bug: >> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782714). >> >> Is there any expert who can advise me how to work around the deadlock >> and allow me to install the new dpkg? >> >> Thanks, >> --- Omer >> >> >> >> -- >> cal 09 1752 >> 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 at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > From esr+linux-il at g.jct.ac.il Fri Apr 17 12:00:32 2015 From: esr+linux-il at g.jct.ac.il (E.S. Rosenberg) Date: Fri, 17 Apr 2015 12:00:32 +0300 Subject: [octave3.0-info vs. dpkg] Dirty package uninstall in Debian - how to do it? In-Reply-To: References: <1429254898.19671.6.camel@zak.co.il> Message-ID: BTW unless you are tied to Octave 3.0 debian et. al moved on to octave-* which by now are at octave 3.8.x... 2015-04-17 11:57 GMT+03:00 E.S. Rosenberg : > I assume you are using apt or some other 'high level' tool, I have > found that when stuck like that removing with the dpkg command > generally works... (dpkg -P or dpkg -r depending on what you need). > > HTH, ??? ????, > Eliyahu - ????? > > 2015-04-17 10:26 GMT+03:00 Lior Okman : >> Hi, >> >> This is a dirty hack, but in the worst case, you can edit the octave3.0-info >> pre-removal script (it's in /var/lib/dpkg/info ) and have either debug that >> script or simply return 0 from it. If you do this, make sure to manually do >> what that script would have done. Once you edited that script, you will be >> able to uninstall octave3.0-info as usual (dpkg etc.). >> >> Regards, >> Lior >> >> >> On Fri, Apr 17, 2015 at 10:14 AM, Omer Zak wrote: >>> >>> In Linux (Debian Jessie which is currently Debian Testing), I >>> encountered the following bug from hell. >>> >>> I have installed the package octave3.0-info (1:3.0.1-6lenny3) which >>> conflicts with the new version of dpkg (1.17.25) which is part of Debian >>> Jessie. >>> >>> The current dpkg version that I have is 1.17.24, and there is a problem >>> with octave3.0-info which prevents the current dpkg from uninstalling >>> it. >>> >>> Hence, a deadlock which prevents me from upgrading to the new dpkg >>> version (I reported the bug: >>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782714). >>> >>> Is there any expert who can advise me how to work around the deadlock >>> and allow me to install the new dpkg? >>> >>> Thanks, >>> --- Omer >>> >>> >>> >>> -- >>> cal 09 1752 >>> 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 at cs.huji.ac.il >>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> >> >> >> _______________________________________________ >> Linux-il mailing list >> Linux-il at cs.huji.ac.il >> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >> From shachar at shemesh.biz Fri Apr 17 15:07:43 2015 From: shachar at shemesh.biz (Shachar Shemesh) Date: Fri, 17 Apr 2015 15:07:43 +0300 Subject: Good Midi program for people wishing to learn the piano Message-ID: <5530F78F.2030207@shemesh.biz> Hi all, I finally realized a dream I've had for several decades now, and bought a piano. In particular, I bought a digital piano. So far I'm enjoying it tremendously. I thought I can accelerate and enhance my learning experience, however, by hooking it up to a computer and have the computer check that I'm playing what I'm supposed to play (or, at the very least, show me what I played so I can compare). The list of MIDI packages under Debian is rather long, and I find I need some assistance. So far, I tried lmms (which doesn't see my piano), vmpk, which works great, but is a mere input/output, and not much else, and muse, which I have not managed to operate yet, but it seems not be what I'm looking for. It seems that the MIDI sequencers are just that - sequencers. It has not occurred to them to work with, you know, notes. I'm going to try nted next, but the description is not promising (I think it can import from midi files, but not from a midi device. I can, of course, have my piano store a midi file to a USB DoK, and then import it, but that's too long a process for what I want). Recommendations, anyone? Shachar -------------- next part -------------- An HTML attachment was scrubbed... URL: From const at makelinux.co.il Tue Apr 21 17:48:55 2015 From: const at makelinux.co.il (Constantine Shulyupin) Date: Tue, 21 Apr 2015 17:48:55 +0300 Subject: Parsing compilation errors and automatic resolving Message-ID: Hi, Again I am compiling big OSS project for embedded environment and receive a lot of errors like: warning: libXXX, needed by YYY, not found fatal error: XXX: No such file or directory. undefined reference to XX etc Then I look for missing packages with utilities: nm, apt-file search and configure compilation. Question: Are there utility, which parses errors and proposes obvious solutions? For example, following code proposes to add missing library to LDFLAGS: perl -ne '/.*warning: lib(.*?)\..*, needed by .*, not found .*/ && print "export LDFLAGS+=\" -l$1\"\n";' < config.log Thanks -- Constantine Shulyupin http://www.MakeLinux.co.il/ Embedded Linux Systems Tel Aviv -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomo.solomon at gmail.com Wed Apr 22 11:22:54 2015 From: shlomo.solomon at gmail.com (Shlomo Solomon) Date: Wed, 22 Apr 2015 11:22:54 +0300 Subject: Raspberry PI printer error message Message-ID: <20150422112254.3956ddb6@shlomo1.solomon> First I want to say that printer installation has really improved since I last got a new printer a few years ago. In fact, I would even say that installing my new HP 8610 on Mageia and Raspberry PI (Raspbian) was even faster and easier than on Windows. But I did encounter something strange on the PI. After installing system-config-printer and cups, I used the GUI to detect the printer. The printer was located - including the printer driver, but then I got an authentication window saying: "privileges are required to add/remove/edit a remote printer". The pi user and password were not accepted. But here's the weird thing - I hit cancel, but the printer was installed and WORKS PERFECTLY. If I try to edit the printer's properties, I also get the same authorization message, but again am able to change properties as needed. -- Shlomo Solomon http://the-solomons.net Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 From sara.fink at gmail.com Sat Apr 25 12:46:40 2015 From: sara.fink at gmail.com (sara fink) Date: Sat, 25 Apr 2015 12:46:40 +0300 Subject: Parsing compilation errors and automatic resolving In-Reply-To: References: Message-ID: Usually emerge, equery, revdep-rebuild (reverse depency rebuild) in gentoo offers how to solve a problem. But I guess you don't use gentoo. Maybe as a workaround you can use these tools to search on the web and see all the dependencies that are needed. Maybe a little out of scope suggestion see these links: https://wiki.gentoo.org/wiki/Project:Embedded http://www.anticore.org/ratgentoo/ On Tue, Apr 21, 2015 at 5:48 PM, Constantine Shulyupin < const at makelinux.co.il> wrote: > Hi, > > Again I am compiling big OSS project for embedded environment and receive > a lot of errors like: > warning: libXXX, needed by YYY, not found > fatal error: XXX: No such file or directory. > undefined reference to XX > etc > > Then I look for missing packages with utilities: nm, apt-file search and > configure compilation. > > Question: > > Are there utility, which parses errors and proposes obvious solutions? > > For example, following code proposes to add missing library to LDFLAGS: > > perl -ne '/.*warning: lib(.*?)\..*, needed by .*, not found .*/ && print > "export LDFLAGS+=\" -l$1\"\n";' < config.log > > Thanks > > -- > Constantine Shulyupin > http://www.MakeLinux.co.il/ > Embedded Linux Systems > Tel Aviv > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rabin at rabin.io Sun Apr 26 00:29:22 2015 From: rabin at rabin.io (Rabin Yasharzadehe) Date: Sun, 26 Apr 2015 00:29:22 +0300 Subject: Parsing compilation errors and automatic resolving In-Reply-To: References: Message-ID: I'm not much of a developer, but if the application you are trying to compile is a C/C++ program (i also used this method to find Perl missing library's), you can grep through all the .C/.h files for the '#include' lines and extract the needed library's which are needed for the application to run. then you can use the distro manager to locate the packages which provides the necessary files. In Fedora i use yum/dnf provides "*/xyz.h" and on Debian based distro you have apt-file search -- Rabin On Tue, Apr 21, 2015 at 5:48 PM, Constantine Shulyupin < const at makelinux.co.il> wrote: > Hi, > > Again I am compiling big OSS project for embedded environment and receive > a lot of errors like: > warning: libXXX, needed by YYY, not found > fatal error: XXX: No such file or directory. > undefined reference to XX > etc > > Then I look for missing packages with utilities: nm, apt-file search and > configure compilation. > > Question: > > Are there utility, which parses errors and proposes obvious solutions? > > For example, following code proposes to add missing library to LDFLAGS: > > perl -ne '/.*warning: lib(.*?)\..*, needed by .*, not found .*/ && print > "export LDFLAGS+=\" -l$1\"\n";' < config.log > > Thanks > > -- > Constantine Shulyupin > http://www.MakeLinux.co.il/ > Embedded Linux Systems > Tel Aviv > > _______________________________________________ > Linux-il mailing list > Linux-il at cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at gmail.com Sun Apr 26 09:24:56 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Sun, 26 Apr 2015 09:24:56 +0300 Subject: Debian 8 "Jessie" was published. Message-ID: Hi all, Debian 8 "Jessie" has been published yesterday/today: * http://lwn.net/Articles/641875/ * http://linux.slashdot.org/story/15/04/26/0322241/debian-8-jessie-released For the record, Jessie from Toy Story is http://pixar.wikia.com/Jessie . The previous major version of Debian was made available on 2013-05-04 - about two years ago. Its next version will be called "Stretch" after http://pixar.wikia.com/Stretch . Best regards, -- Shlomi Fish -- ------------------------------------------ Shlomi Fish http://www.shlomifish.org/ Chuck Norris helps the gods that help themselves. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: From mordbe0 at gmail.com Mon Apr 27 20:06:23 2015 From: mordbe0 at gmail.com (Mord Behar) Date: Mon, 27 Apr 2015 20:06:23 +0300 Subject: OT: Xiaomi phones Message-ID: Has anybody on this list bought one of Xiaomi's new phones (or tablet)? Spec-wise they should be really good, and very cheap. I'm curious about use case stories, buying the device, shipping it to Israel, using it, upgrading it and so on. Also, what you did when it broke. Thanks. Mordechai -------------- next part -------------- An HTML attachment was scrubbed... URL: From kaplanlior at gmail.com Wed Apr 29 14:32:56 2015 From: kaplanlior at gmail.com (Lior Kaplan) Date: Wed, 29 Apr 2015 14:32:56 +0300 Subject: Mageia Linux mirror on http://mirror.isoc.org.il/content.html In-Reply-To: References: Message-ID: http://mirror.isoc.org.il/pub/mageia/ Please wait 24 hours for the mirror to sync. Per https://wiki.mageia.org/en/Mirrors_policy#Available_media I'm not syncing debug/* files. Kaplan On Tue, Apr 7, 2015 at 2:49 PM, Shlomi Fish wrote: > Hi, > > please set up a mirrors.isoc.org.il mirror of Mageia Linux ( > http://www.mageia.org/en/ ; https://en.wikipedia.org/wiki/Mageia ), which > is a community fork of Mandriva and has largely succeeded it (Mandriva did > not have a release since 2011 , while Mageia released version 4.1 in June > 2014, and Mageia 5 should be released soon). isoc.org.il ( > http://mirror.isoc.org.il/content.html ) already carries a mirror of > Mandriva. > > If you're using Mageia Linux in Israel, please speak up by replying to > this message it will be known there's interest. > > Regards, > > -- Shlomi Fish > > -- > ------------------------------------------ > Shlomi Fish http://www.shlomifish.org/ > > Chuck Norris helps the gods that help themselves. > > Please reply to list if it's a mailing list post - http://shlom.in/reply . > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shlomif at gmail.com Wed Apr 29 15:31:17 2015 From: shlomif at gmail.com (Shlomi Fish) Date: Wed, 29 Apr 2015 15:31:17 +0300 Subject: Mageia Linux mirror on http://mirror.isoc.org.il/content.html In-Reply-To: References: Message-ID: Hi all, On Wed, Apr 29, 2015 at 2:32 PM, Lior Kaplan wrote: > http://mirror.isoc.org.il/pub/mageia/ > > Please wait 24 hours for the mirror to sync. > > Per https://wiki.mageia.org/en/Mirrors_policy#Available_media I'm not > syncing debug/* files. > > Kaplan > > Thanks, Lior! Regards, ? Shlomi Fish -- ------------------------------------------ Shlomi Fish http://www.shlomifish.org/ Chuck Norris helps the gods that help themselves. Please reply to list if it's a mailing list post - http://shlom.in/reply . -------------- next part -------------- An HTML attachment was scrubbed... URL: