Connecting two Linux Desktops simultaneously to the Internet

2008-10-04 Thread Rafi Gordon
Hello,

 I have two Linux Desktops at home (both running Fedora Core 9).
 I had connected both Desktop to a simple switch; also the ADSL bezeq
 router (BFOCUS 312+) is connected to the switch.
 One desktop has this ip address on eth0: 10.0.0.1
 and on the second I configured 10.0.0.2 as the ip address on eth0.
 I can ping from 10.0.0.1 to 10.0.0.2 (and vice versa).

 When working in this topology,I am able to connect to the Internet
from these both Desktops , in condition that the other one is not
connected to the Internet (namely,  "service network stop" was ran on
the second machine, for example).
However, if one machine is connected to the Internet, and I try
"service network restart" on
the second , I get an error (it cannot start the ppp interface on the machine
where I run "service network restart").

My question is: is there a way to be able to be connected from these
two Desktops simultaneously to the Internet ?

I tried to add a second NIC on one machine, and configure that machine
as a bridge, and set an IP address to that bridge, but than I could
not
connect it to the Internet.

Is there some way to configure a bridge to achieve this goal ?

Regards,
RG

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



Re: Connecting two Linux Desktops simultaneously to the Internet

2008-10-04 Thread Noam Meltzer
Rafi,

You should configure your BFocus "modem" as a router for your network and
apply NAT on all outgoing traffic.

Take a look at post #14 in the following Israeli forum:
http://www.fresh.co.il/vBulletin/showthread.php?t=1373

- Noam

On Sat, Oct 4, 2008 at 12:49 PM, Rafi Gordon <[EMAIL PROTECTED]> wrote:

> Hello,
>
>  I have two Linux Desktops at home (both running Fedora Core 9).
>  I had connected both Desktop to a simple switch; also the ADSL bezeq
>  router (BFOCUS 312+) is connected to the switch.
>  One desktop has this ip address on eth0: 10.0.0.1
>  and on the second I configured 10.0.0.2 as the ip address on eth0.
>  I can ping from 10.0.0.1 to 10.0.0.2 (and vice versa).
>
>  When working in this topology,I am able to connect to the Internet
> from these both Desktops , in condition that the other one is not
> connected to the Internet (namely,  "service network stop" was ran on
> the second machine, for example).
> However, if one machine is connected to the Internet, and I try
> "service network restart" on
> the second , I get an error (it cannot start the ppp interface on the
> machine
> where I run "service network restart").
>
> My question is: is there a way to be able to be connected from these
> two Desktops simultaneously to the Internet ?
>
> I tried to add a second NIC on one machine, and configure that machine
> as a bridge, and set an IP address to that bridge, but than I could
> not
> connect it to the Internet.
>
> Is there some way to configure a bridge to achieve this goal ?
>
> Regards,
> RG
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>


Re: Connecting two Linux Desktops simultaneously to the Internet

2008-10-04 Thread Rafi Gordon
Hi,
1)  Thanks for the quick answer; I will try that.

2) Still I really wonder: can my goal be achieved
when using the bezeq ADSL as it is, using
configuring one of the desktops (which has 2 nics)
to be a bridge? Does anybody have an idea ?

Regards,
Rafi






On Sat, Oct 4, 2008 at 1:10 PM, Noam Meltzer <[EMAIL PROTECTED]> wrote:
> Rafi,
>
> You should configure your BFocus "modem" as a router for your network and
> apply NAT on all outgoing traffic.
>
> Take a look at post #14 in the following Israeli forum:
> http://www.fresh.co.il/vBulletin/showthread.php?t=1373
>
> - Noam
>
> On Sat, Oct 4, 2008 at 12:49 PM, Rafi Gordon <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>>  I have two Linux Desktops at home (both running Fedora Core 9).
>>  I had connected both Desktop to a simple switch; also the ADSL bezeq
>>  router (BFOCUS 312+) is connected to the switch.
>>  One desktop has this ip address on eth0: 10.0.0.1
>>  and on the second I configured 10.0.0.2 as the ip address on eth0.
>>  I can ping from 10.0.0.1 to 10.0.0.2 (and vice versa).
>>
>>  When working in this topology,I am able to connect to the Internet
>> from these both Desktops , in condition that the other one is not
>> connected to the Internet (namely,  "service network stop" was ran on
>> the second machine, for example).
>> However, if one machine is connected to the Internet, and I try
>> "service network restart" on
>> the second , I get an error (it cannot start the ppp interface on the
>> machine
>> where I run "service network restart").
>>
>> My question is: is there a way to be able to be connected from these
>> two Desktops simultaneously to the Internet ?
>>
>> I tried to add a second NIC on one machine, and configure that machine
>> as a bridge, and set an IP address to that bridge, but than I could
>> not
>> connect it to the Internet.
>>
>> Is there some way to configure a bridge to achieve this goal ?
>>
>> Regards,
>> RG
>>
>> =
>> To unsubscribe, send mail to [EMAIL PROTECTED] with
>> the word "unsubscribe" in the message body, e.g., run the command
>> echo unsubscribe | mail [EMAIL PROTECTED]
>>
>
>

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



Re: Connecting two Linux Desktops simultaneously to the Internet

2008-10-04 Thread Noam Meltzer
On Sat, Oct 4, 2008 at 1:18 PM, Rafi Gordon <[EMAIL PROTECTED]> wrote:

>
> 2) Still I really wonder: can my goal be achieved
> when using the bezeq ADSL as it is, using
> configuring one of the desktops (which has 2 nics)
> to be a bridge? Does anybody have an idea ?
>

Yes, it is possible (anyhow, it's not a bridge, but a NAT router...), still,
why would you want it?

Cons:
1- the "front" linux will be exposed directly to the internet.
2- the "front" linux will have to be online all the time in order to provide
service for the "back" linux.
3- More complicated security & network administration.

Pros:
1- You're having realy heavy P2P traffic and require a strong machine (than
ECI 312+) to handle the routing tables. (Yet, for my parents, the same ADSL
hardware is sufficient for bittorrent traffic)
2- You want *real* control over every parameter in your router and the black
box supplied by ECI does not provide that.

Anyway, to your question, check out the "Linux IP Masquerade Howto"
http://tldp.org/HOWTO/IP-Masquerade-HOWTO/

Fedora might have some bundled tools to assist you applying such a
configuration, but this document will provide you with the basics on what
needs to be done, why & how.

- Noam


Re: Connecting two Linux Desktops simultaneously to the Internet

2008-10-04 Thread Rafi Gordon
Hi,
  I tried to change the setting exactly according to the thread if
frehs.co.il that you
sent. Than I ran "ifdown eth0" and "ifup e
I am able to ping www.google.com and other sites ; however, when I
enter the URL of
www.google.com or www.yent.co.il I am unable to get a page ;
I must add that I did also disabled iptables on my desktop and it did not help
(SElinux is diabled).

When I am pointing my browser to an ip address of google (that I get
from ping,namely , 66.249.91.17)
I am able to reach www.google.com and clicking mail link, etc

Any ideas what can be wrong here ?

my /etc/resolv.conf says:

; generated by /sbin/dhclient-script
nameserver 10.0.0.138

Regards,
Rafi




On Sat, Oct 4, 2008 at 1:30 PM, Noam Meltzer <[EMAIL PROTECTED]> wrote:
>
>
> On Sat, Oct 4, 2008 at 1:18 PM, Rafi Gordon <[EMAIL PROTECTED]> wrote:
>>
>> 2) Still I really wonder: can my goal be achieved
>> when using the bezeq ADSL as it is, using
>> configuring one of the desktops (which has 2 nics)
>> to be a bridge? Does anybody have an idea ?
>
> Yes, it is possible (anyhow, it's not a bridge, but a NAT router...), still,
> why would you want it?
>
> Cons:
> 1- the "front" linux will be exposed directly to the internet.
> 2- the "front" linux will have to be online all the time in order to provide
> service for the "back" linux.
> 3- More complicated security & network administration.
>
> Pros:
> 1- You're having realy heavy P2P traffic and require a strong machine (than
> ECI 312+) to handle the routing tables. (Yet, for my parents, the same ADSL
> hardware is sufficient for bittorrent traffic)
> 2- You want *real* control over every parameter in your router and the black
> box supplied by ECI does not provide that.
>
> Anyway, to your question, check out the "Linux IP Masquerade Howto"
> http://tldp.org/HOWTO/IP-Masquerade-HOWTO/
>
> Fedora might have some bundled tools to assist you applying such a
> configuration, but this document will provide you with the basics on what
> needs to be done, why & how.
>
> - Noam
>

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



Re: Connecting two Linux Desktops simultaneously to the Internet

2008-10-04 Thread Noam Meltzer
Hi,

I now remember that I have observed a similar problem at my parents' place.
The thing is that even though the bfocus 312+ claims to provide proxy DNS
service, it has some major bugs in their implementation.

I suggest that you set your Linux boxes to use your ISP's DNS servers
directly and not the bfocus' DNS.

If you prefer to still use DHCP provided by your bfocus, then you should
override the DNS provided by the DHCP server according to the concept in the
following article:
http://kbase.redhat.com/faq/FAQ_45_12510.shtm

Or you can drop the DHCP at all...

- Noam

On Sat, Oct 4, 2008 at 2:34 PM, Rafi Gordon <[EMAIL PROTECTED]> wrote:

> Hi,
>  I tried to change the setting exactly according to the thread if
> frehs.co.il that you
> sent. Than I ran "ifdown eth0" and "ifup e
> I am able to ping www.google.com and other sites ; however, when I
> enter the URL of
> www.google.com or www.yent.co.il I am unable to get a page ;
> I must add that I did also disabled iptables on my desktop and it did not
> help
> (SElinux is diabled).
>
> When I am pointing my browser to an ip address of google (that I get
> from ping,namely , 66.249.91.17)
> I am able to reach www.google.com and clicking mail link, etc
>
> Any ideas what can be wrong here ?
>
> my /etc/resolv.conf says:
>
> ; generated by /sbin/dhclient-script
> nameserver 10.0.0.138
>
> Regards,
> Rafi
>
>
>
>
> On Sat, Oct 4, 2008 at 1:30 PM, Noam Meltzer <[EMAIL PROTECTED]> wrote:
> >
> >
> > On Sat, Oct 4, 2008 at 1:18 PM, Rafi Gordon <[EMAIL PROTECTED]>
> wrote:
> >>
> >> 2) Still I really wonder: can my goal be achieved
> >> when using the bezeq ADSL as it is, using
> >> configuring one of the desktops (which has 2 nics)
> >> to be a bridge? Does anybody have an idea ?
> >
> > Yes, it is possible (anyhow, it's not a bridge, but a NAT router...),
> still,
> > why would you want it?
> >
> > Cons:
> > 1- the "front" linux will be exposed directly to the internet.
> > 2- the "front" linux will have to be online all the time in order to
> provide
> > service for the "back" linux.
> > 3- More complicated security & network administration.
> >
> > Pros:
> > 1- You're having realy heavy P2P traffic and require a strong machine
> (than
> > ECI 312+) to handle the routing tables. (Yet, for my parents, the same
> ADSL
> > hardware is sufficient for bittorrent traffic)
> > 2- You want *real* control over every parameter in your router and the
> black
> > box supplied by ECI does not provide that.
> >
> > Anyway, to your question, check out the "Linux IP Masquerade Howto"
> > http://tldp.org/HOWTO/IP-Masquerade-HOWTO/
> >
> > Fedora might have some bundled tools to assist you applying such a
> > configuration, but this document will provide you with the basics on what
> > needs to be done, why & how.
> >
> > - Noam
> >
>


Re: Digikam equivalent for Videos?

2008-10-04 Thread Dotan Shavit
Try Digikam

#

On Monday 29 September 2008, Amos Shapira wrote:
> Hello,
>
> I've been a happy Digikam user for many years now - managing photos
> taken with camera and phone, burning CD's, editing etc.
>
> I now need something which will allow me to do basic manipulation of
> videos. I don't expect to do much editing, just something like Digikam
> which will allow me to organize videos, maybe add comments and export
> onto data CD's/DVD's to send to family.
>
> Can anyone recommend something like this?
>
> Thanks.
>
> --Amos
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]



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



Re: Connecting two Linux Desktops simultaneously to the Internet

2008-10-04 Thread Yedidyah Bar-David
On Sat, Oct 04, 2008 at 01:30:42PM +0300, Noam Meltzer wrote:
> 2- You want *real* control over every parameter in your router and the black
> box supplied by ECI does not provide that.

I'd use this thread to raise another issue (although it might have been
nicer to start a new thread). This ECI 312+ is rather old - it's not
sold (or given) anymore, as far as I know. But it runs Linux inside, and
theoretically can do whatever you want - but as far as I could find out,
ECI does not help you in any way - does not provide sources for their
firmware, etc. Perhaps if enough people are interested (or at least
determined ones), we can make them open up the device and have it as a
nice young brother to the WRT54G (with only 2MB flash/8MB RAM). Would
anyone be interested?
-- 
Didi


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



Re: Connecting two Linux Desktops simultaneously to the Internet

2008-10-04 Thread Geoffrey S. Mendelson

On Sat, Oct 04, 2008 at 11:47:57PM +0300, Yedidyah Bar-David wrote:


I'd use this thread to raise another issue (although it might have been
nicer to start a new thread). This ECI 312+ is rather old - it's not
sold (or given) anymore, as far as I know. But it runs Linux inside, and
theoretically can do whatever you want - but as far as I could find out,
ECI does not help you in any way - does not provide sources for their
firmware, etc. Perhaps if enough people are interested (or at least
determined ones), we can make them open up the device and have it as a
nice young brother to the WRT54G (with only 2MB flash/8MB RAM). Would
anyone be interested?


I don't think they would be interested. As you said it's rather old and
you can't get/they can't sell more of them. If they were to open them
up, it would create a demand for them again, and they probably have no
way of fulfilling the demand, supplying spare parts or support for them,
etc.

As a cheap router, there are lots of them sold new in the 250 NIS range
if you shop around, can any of them be opened up? Do any of them have
a direct aDSL connection, or are they all ethernet on the WAN side?

Geoff.


--
Geoffrey S. Mendelson, Jerusalem, Israel [EMAIL PROTECTED]  N3OWJ/4X1GM

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



Re: Connecting two Linux Desktops simultaneously to the Internet

2008-10-04 Thread Yedidyah Bar-David
On Sun, Oct 05, 2008 at 12:16:04AM +0300, Geoffrey S. Mendelson wrote:
> On Sat, Oct 04, 2008 at 11:47:57PM +0300, Yedidyah Bar-David wrote:
>
>> I'd use this thread to raise another issue (although it might have been
>> nicer to start a new thread). This ECI 312+ is rather old - it's not
>> sold (or given) anymore, as far as I know. But it runs Linux inside, and
>> theoretically can do whatever you want - but as far as I could find out,
>> ECI does not help you in any way - does not provide sources for their
>> firmware, etc. Perhaps if enough people are interested (or at least
>> determined ones), we can make them open up the device and have it as a
>> nice young brother to the WRT54G (with only 2MB flash/8MB RAM). Would
>> anyone be interested?
>
> I don't think they would be interested. As you said it's rather old and
> you can't get/they can't sell more of them. If they were to open them
> up, it would create a demand for them again, and they probably have no
> way of fulfilling the demand, supplying spare parts or support for them,
> etc.

Actually, if you look around, you see that this modem/router is part of
a series of products, some of them a bit more featureful, and might be
still on the market (although I personally never saw one):
http://inoviatele.com/Products_Hi/HiBFOCuS.asp
I have no technical specs for any of them, but they *might* share much
of the hardware, enough to have a single core software system +
additions specific to each model. If that's the case, and they open up
one of them, you get the software for all of them.

Also, one can try and have external organizations that do such things,
to help you politely ask them for it. After all, as far as I understand,
they must provide sources for at least all the GPL parts they used
(which include at least the kernel + busybox, it seems to me).

>
> As a cheap router, there are lots of them sold new in the 250 NIS range
> if you shop around, can any of them be opened up? Do any of them have
> a direct aDSL connection, or are they all ethernet on the WAN side?

I guess some of them have interesting features, I did not check. Some of
the models in the above mentioned page do.
-- 
Didi


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



Re: Connecting two Linux Desktops simultaneously to the Internet

2008-10-04 Thread Ori Idan
As much as I know, they contain MonteVista Linux.
They where built by a subcontractor in Taiwan and when I asked ECI in
Israel, they had no clue of what contractor and how can I get the sources.
I know that MonteVista Israel also tried with no success so far.

-- 
Ori Idan


On Sun, Oct 5, 2008 at 8:19 AM, Yedidyah Bar-David <
[EMAIL PROTECTED]> wrote:

> On Sun, Oct 05, 2008 at 12:16:04AM +0300, Geoffrey S. Mendelson wrote:
> > On Sat, Oct 04, 2008 at 11:47:57PM +0300, Yedidyah Bar-David wrote:
> >
> >> I'd use this thread to raise another issue (although it might have been
> >> nicer to start a new thread). This ECI 312+ is rather old - it's not
> >> sold (or given) anymore, as far as I know. But it runs Linux inside, and
> >> theoretically can do whatever you want - but as far as I could find out,
> >> ECI does not help you in any way - does not provide sources for their
> >> firmware, etc. Perhaps if enough people are interested (or at least
> >> determined ones), we can make them open up the device and have it as a
> >> nice young brother to the WRT54G (with only 2MB flash/8MB RAM). Would
> >> anyone be interested?
> >
> > I don't think they would be interested. As you said it's rather old and
> > you can't get/they can't sell more of them. If they were to open them
> > up, it would create a demand for them again, and they probably have no
> > way of fulfilling the demand, supplying spare parts or support for them,
> > etc.
>
> Actually, if you look around, you see that this modem/router is part of
> a series of products, some of them a bit more featureful, and might be
> still on the market (although I personally never saw one):
> http://inoviatele.com/Products_Hi/HiBFOCuS.asp
> I have no technical specs for any of them, but they *might* share much
> of the hardware, enough to have a single core software system +
> additions specific to each model. If that's the case, and they open up
> one of them, you get the software for all of them.
>
> Also, one can try and have external organizations that do such things,
> to help you politely ask them for it. After all, as far as I understand,
> they must provide sources for at least all the GPL parts they used
> (which include at least the kernel + busybox, it seems to me).
>
> >
> > As a cheap router, there are lots of them sold new in the 250 NIS range
> > if you shop around, can any of them be opened up? Do any of them have
> > a direct aDSL connection, or are they all ethernet on the WAN side?
>
> I guess some of them have interesting features, I did not check. Some of
> the models in the above mentioned page do.
> --
> Didi
>
>
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>
>


-- 
ספרים וסיפורים שכתבתי: http://www.thestories.org