Networking Forums

Networking Forums > Computer Networking > Linux Networking > 2 computer network from Wi-Fi

Reply
Thread Tools Display Modes

2 computer network from Wi-Fi

 
 
hawat.thufir@gmail.com
Guest
Posts: n/a

 
      06-15-2005, 05:05 AM
(follow up to comp.os.linux.networking)

I don't have physical access to the router which provides the internet
access. an asus wl-330g,
<http://usa.asus.com/products/communication/wireless/wl-330g/overview.htm>,
provides
the connection to the router.

there are two computers, named arrakis and caladan. the setup is:

internet --> router
router --> wireless signal
wireless signal --> wl-330g network adapter
wl-330g --> arrakis eth0
arrakis eth1 --> hub
hub --> caladan eth1
hub --> PAP2
PAP2 --> telephone

the PAP2 <http://www.linksys.com/products/product.asp?prid=651&scid=38>
is for VOIP and is from <http://www.telnetphone.ca/>.

does arrakis need to be configured as a gateway?


thanks,

Thufir

 
Reply With Quote
 
 
 
 
Moe Trin
Guest
Posts: n/a

 
      06-16-2005, 01:46 AM
In the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed) .com>,
(E-Mail Removed) wrote:

>there are two computers, named arrakis and caladan. the setup is:
>
>internet --> router
>router --> wireless signal
>wireless signal --> wl-330g network adapter
>wl-330g --> arrakis eth0
>arrakis eth1 --> hub
>hub --> caladan eth1


For packets to get to the Internet from caladan, they have to be sent to
arrakis. For the packets to GET BACK TO caladan, the router has to know
to send the packets to arrakis for forwarding.

>does arrakis need to be configured as a gateway?


281095 Jun 9 18:27 HOWTO-INDEX
29687 May 21 2002 Bridge
40490 Jun 22 2000 Home-Network-mini-HOWTO
703560 May 23 08:22 IP-Masquerade-HOWTO
17605 Jul 21 2004 Masquerading-Simple-HOWTO
45620 Jul 10 2000 Networking-Overview-HOWTO
19372 Aug 28 2000 Proxy-ARP-Subnet
278012 Jul 23 2002 Security-Quickstart-HOWTO
71626 Apr 4 2004 Unix-and-Internet-Fundamentals-HOWTO

A lot of the specifics depend on the IP addresses used, and how the
router is configured. If the router only knows about arrakis, and only
hands out one address, then arrakis is going to have to be doing IP
masquerading. The HOWTO is quite extensive.

If the router permits two or more systems on the same network, AND both
computers are on the same address block (example 192.168.1.2 and 192.168.1.3)
the arrakis needs to be bridging, and using proxy-arp so that the "other"
computers appear to talk to each other directly (but arrakis is relaying
between the two nets).

If the router permits using two or more address blocks (example 192.168.1.0
on one net, 192.168.2.0 on the other - using a host that has interfaces on
both networks to act as a router), then the router needs to be told about
using arrakis as a gateway to the net that caladan is on. caladan sends all
non-local packets to arrakis, either as destination, or as a gateway to
the world.

Old guy
 
Reply With Quote
 
Centurion
Guest
Posts: n/a

 
      06-16-2005, 10:36 PM
(E-Mail Removed) wrote:

> (follow up to comp.os.linux.networking)
>
> I don't have physical access to the router which provides the internet
> access. an asus wl-330g,
>

<http://usa.asus.com/products/communication/wireless/wl-330g/overview.htm>,
> provides
> the connection to the router.
>
> there are two computers, named arrakis and caladan. the setup is:
>
> internet --> router
> router --> wireless signal
> wireless signal --> wl-330g network adapter
> wl-330g --> arrakis eth0
> arrakis eth1 --> hub
> hub --> caladan eth1
> hub --> PAP2
> PAP2 --> telephone
>
> the PAP2 <http://www.linksys.com/products/product.asp?prid=651&scid=38>
> is for VOIP and is from <http://www.telnetphone.ca/>.
>
> does arrakis need to be configured as a gateway?


If you mean "Does arrakis need too be configured to forward packets between
eth1 and eth0 with appropriate routes?" then the answer is yes. This is
machine is benig used as a router/gateway so needs to be configured
appropriately.

Of course, if arrakis isn't being used as a workstation, and it's wifi
interface supports 'access point' mode, then you can configure arrakis as a
bridge and then there's no need for routes etc.

Google is your friend

James
--
I'm having a tax-deductible experience! I need an energy crunch!!

 
Reply With Quote
 
hawat.thufir@gmail.com
Guest
Posts: n/a

 
      06-17-2005, 05:17 AM
Centurion wrote:
....
> If you mean "Does arrakis need too be configured to forward packets between
> eth1 and eth0 with appropriate routes?" then the answer is yes. This is
> machine is benig used as a router/gateway so needs to be configured
> appropriately.
>
> Of course, if arrakis isn't being used as a workstation, and it's wifi
> interface supports 'access point' mode, then you can configure arrakis as a
> bridge and then there's no need for routes etc.


potentially, the wl-330g can plug directly into the hub in "access
point" mode. however, that requires configuring the wl-330g, which I
don't know how to do in linux. I think I'll put this aside for the
moment. besides, I might've misread the wl-330g manual.

> Google is your friend


I've found all sorts of stuff similar to what I want, but it's either
esoteric or doesn't apply.

> James
> --
> I'm having a tax-deductible experience! I need an energy crunch!!


I've bitten off more than I can chew on this, so I'll simplify the
problem. I'm looking at
<http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html>. I thought a
Virtual Private Network made sense, but now that looks to be wrong.

all I want to do, at this point, is a sort of "hello world" with
networking. I've got the two computers, arrakis and caladan, connected
with a hub. I just want send a file, foo.txt, from one to the other.
I'll come to the internet later, I guess. once the internet for both
computer works, then VoIP. slow and sure, I guess.

I've looked, but can't find info on this a very simple setup.


thanks,

Thufir

 
Reply With Quote
 
Unruh
Guest
Posts: n/a

 
      06-17-2005, 05:26 PM
"(E-Mail Removed)" <(E-Mail Removed)> writes:

>Centurion wrote:
>...
>> If you mean "Does arrakis need too be configured to forward packets between
>> eth1 and eth0 with appropriate routes?" then the answer is yes. This is
>> machine is benig used as a router/gateway so needs to be configured
>> appropriately.
>>
>> Of course, if arrakis isn't being used as a workstation, and it's wifi
>> interface supports 'access point' mode, then you can configure arrakis as a
>> bridge and then there's no need for routes etc.


>potentially, the wl-330g can plug directly into the hub in "access
>point" mode. however, that requires configuring the wl-330g, which I
>don't know how to do in linux. I think I'll put this aside for the
>moment. besides, I might've misread the wl-330g manual.


It almost certainly uses a web address and html to configure the router.
Find out from the manual what the ip address is, and use your browser to
connect to that ip address.


>> Google is your friend


>I've found all sorts of stuff similar to what I want, but it's either
>esoteric or doesn't apply.


>> James
>> --
>> I'm having a tax-deductible experience! I need an energy crunch!!


>I've bitten off more than I can chew on this, so I'll simplify the
>problem. I'm looking at
><http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html>. I thought a
>Virtual Private Network made sense, but now that looks to be wrong.


>all I want to do, at this point, is a sort of "hello world" with
>networking. I've got the two computers, arrakis and caladan, connected
>with a hub. I just want send a file, foo.txt, from one to the other.
>I'll come to the internet later, I guess. once the internet for both
>computer works, then VoIP. slow and sure, I guess.


Set up networking on the machines-- your distro probably has something
already-- some gui setup routine, but if not, then do

ifconfig eth0 192.168.1.2
route add -net 192.168.1.0 netmask 255.255.255.255 eth0
(on the other machine use 192.168.1.3)

Now try ping 192.168.1.3 from the first one.


If that works, then set up ssh on the two systems. you can then use rsync
to transfer files.


>I've looked, but can't find info on this a very simple setup.


 
Reply With Quote
 
hawat.thufir@gmail.com
Guest
Posts: n/a

 
      06-18-2005, 05:30 PM
Unruh wrote:
> "(E-Mail Removed)" <(E-Mail Removed)> writes:
>
> >Centurion wrote:
> >...
> >> If you mean "Does arrakis need too be configured to forward packets between
> >> eth1 and eth0 with appropriate routes?" then the answer is yes. This is
> >> machine is benig used as a router/gateway so needs to be configured
> >> appropriately.
> >>
> >> Of course, if arrakis isn't being used as a workstation, and it's wifi
> >> interface supports 'access point' mode, then you can configure arrakis as a
> >> bridge and then there's no need for routes etc.

>
> >potentially, the wl-330g can plug directly into the hub in "access
> >point" mode. however, that requires configuring the wl-330g, which I
> >don't know how to do in linux. I think I'll put this aside for the
> >moment. besides, I might've misread the wl-330g manual.

>
> It almost certainly uses a web address and html to configure the router.
> Find out from the manual what the ip address is, and use your browser to
> connect to that ip address.
>
>
> >> Google is your friend

>
> >I've found all sorts of stuff similar to what I want, but it's either
> >esoteric or doesn't apply.

>
> >> James
> >> --
> >> I'm having a tax-deductible experience! I need an energy crunch!!

>
> >I've bitten off more than I can chew on this, so I'll simplify the
> >problem. I'm looking at
> ><http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html>. I thought a
> >Virtual Private Network made sense, but now that looks to be wrong.

>
> >all I want to do, at this point, is a sort of "hello world" with
> >networking. I've got the two computers, arrakis and caladan, connected
> >with a hub. I just want send a file, foo.txt, from one to the other.
> >I'll come to the internet later, I guess. once the internet for both
> >computer works, then VoIP. slow and sure, I guess.

>
> Set up networking on the machines-- your distro probably has something
> already-- some gui setup routine, but if not, then do
>
> ifconfig eth0 192.168.1.2
> route add -net 192.168.1.0 netmask 255.255.255.255 eth0
> (on the other machine use 192.168.1.3)
>
> Now try ping 192.168.1.3 from the first one.
>
>
> If that works, then set up ssh on the two systems. you can then use rsync
> to transfer files.
>
>
> >I've looked, but can't find info on this a very simple setup.



ok, thank you. by the way, I hit reset button and got the wl-330g
working in windows on caladan. I still get an error in windows on
arrakis (which has the two ethernet NIC's internally, one for the
wl-330g, one to connect to the hub).

can't deal with this right now, but thanks for the info, I'll check it
out later


-Thufir

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP computer doesn't see Vista computer on network Ernie Lane Wireless Networks 5 08-02-2008 05:30 PM
Wireless computer cannot see other network computer all of a sudden Steve Conklan Wireless Networks 2 02-17-2006 03:33 AM
How to disable an XP computer-to-computer network? Tanguero . Wireless Internet 2 09-26-2004 07:14 AM
Can't see other computer on network from win 98 computer John Windows Networking 3 12-19-2003 08:17 PM



1 2 3 4 5 6 7 8 9 10 11