Re: WAN connection through a Linux machine

2010-04-20 Thread Etzion Bar-Noy
Oops - and now with reply-all... Hi. You should run both these commands (I will not disclose how you make it apply after-reboot for now) 1. echo 1 /proc/sys/net/ipv4/ip_forward 2. iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE Don't forget to set correct DNS on your host B Ez On Tue,

Re: WAN connection through a Linux machine

2010-04-20 Thread Shachar Shemesh
Etzion Bar-Noy wrote: Oops - and now with reply-all... Hi. You should run both these commands (I will not disclose how you make it apply after-reboot for now) 1. echo 1 /proc/sys/net/ipv4/ip_forward 2. iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE Don't forget to set correct DNS on

Reminder: TelFOSS Meeting TOMORROW: Version Control Systems ( 21-Apr-2010 )

2010-04-20 Thread Shlomi Fish
Hi all. This is a reminder that we're going to meet tomorrow (Wednesday, 21 April) on 19:00 in Shenkar College in Ramat Gan. זוהי תזכורת שאנו ניפגש מחר ביום רביעי, 21 באפריל ב-19:00 במכללת שנקר ברמת גן. יש הודעה בעברית מתחת להודעה באנגלית. The [http://tel.foss.org.il/ Tel Aviv Open Source

Re: WAN connection through a Linux machine

2010-04-20 Thread Dan Shimshoni
Hi, Well, this did not work at the first trial. Then, I added 192.168.0.10 as a default gateway on 192.168.0.10 : route add default gw 192.168.0.10 And it worked Thanks! DS On Tue, Apr 20, 2010 at 9:35 AM, Etzion Bar-Noy eza...@tournament.org.il wrote: Oops - and now with reply-all... Hi.

Re: WAN connection through a Linux machine

2010-04-20 Thread Dan Shimshoni
shachar, I googled for MSS Squashing. Got 0 results! What is this MSS Squashing? and how is it related to this issue? rgs, DS On Tue, Apr 20, 2010 at 10:44 AM, Shachar Shemesh shac...@shemesh.biz wrote: Etzion Bar-Noy wrote: Oops - and now with reply-all... Hi. You should run both these

Re: WAN connection through a Linux machine

2010-04-20 Thread Shachar Shemesh
Dan Shimshoni wrote: shachar, I googled for MSS Squashing. Got 0 results! What is this MSS Squashing? and how is it related to this issue? rgs, DS The term used in the iptables man page is clamp-mss-to-pmtu The ethernet maximal transfer unit (MTU) is 1500 bytes (more or less, but in

Re: Reminder: TelFOSS Meeting TOMORROW: Version Control Systems ( 21-Apr-2010 )

2010-04-20 Thread Constantine Shulyupin
Looks interesting! I would like to learn GIT more. 2010/4/20 Shlomi Fish shlo...@iglu.org.il: Hi all. This is a reminder that we're going to meet tomorrow (Wednesday, 21 April) on 19:00 in Shenkar College in Ramat Gan. זוהי תזכורת שאנו ניפגש מחר ביום רביעי, 21 באפריל ב-19:00 במכללת שנקר

Re: WAN connection through a Linux machine

2010-04-20 Thread Dan Shimshoni
ok, now this is more clear. But is this problem specific to this scenario? I mean, when I use a single machine to connect directly to the internet via bezeq ADSL , without running any iptables rules at all, using PPPOE , I should have the same problem, don't I ? Is there a solution in this case

Re: WAN connection through a Linux machine

2010-04-20 Thread Shachar Shemesh
Dan Shimshoni wrote: ok, now this is more clear. But is this problem specific to this scenario? I mean, when I use a single machine to connect directly to the internet via bezeq ADSL , without running any iptables rules at all, using PPPOE , I should have the same problem, don't I ? No. The

Sony ebook reader

2010-04-20 Thread Cyril Scetbon
Hi, I tried to read a pdf with hebrew text inside with the PRS-600 ebook reader from Sony. However, it works with small font size but the text order is changed when I raise the font size :( anyone met the same issue and found a fix ? -- Cyril SCETBON

About Multi-cores and Multi-tasking

2010-04-20 Thread Shlomi Fish
Hi all! I once read that in order to truly take advantage of having multiple cores on the same CPU, then one needs to use several threads. On the other hand some people assume or implied that if your application splits the work among several processes, then it can also take advantage of

Re: About Multi-cores and Multi-tasking

2010-04-20 Thread shimi
On Tue, Apr 20, 2010 at 11:25 PM, Shlomi Fish shlo...@iglu.org.il wrote: Hi all! I once read that in order to truly take advantage of having multiple cores on the same CPU, then one needs to use several threads. On the other hand some people assume or implied that if your application splits

home automation question

2010-04-20 Thread Erez D
hi guys. i have a warehouse. it has two connections to the buildings - power and ethernet. i want to control the warehouse external lights from the house. I thought of buying an X10 light switch, but it seems that each consts around 50$, which is expensive so my other option is a computer i can

Re: About Multi-cores and Multi-tasking

2010-04-20 Thread Shachar Shemesh
Shlomi Fish wrote: Hi all! I once read that in order to truly take advantage of having multiple cores on the same CPU, then one needs to use several threads. On the other hand some people assume or implied that if your application splits the work among several processes, then it can also

Re: home automation question

2010-04-20 Thread Marc Volovic
AVR is fine. So is a second hand wrap or alix. More expensive than X10 :-) mind you. However, X-10 is a very unreliable protocol, you're better off toggling a GPIO line which, in turn, toggles on ptocoupler... eBay _is_ your friend. m On Apr 21, 2010, at 8:19 AM, Erez D wrote: hi guys. i