A working WPA with IBM R50p 1832 and Dapper?

Karl Auer kauer at biplane.com.au
Mon Jul 24 01:18:21 UTC 2006


On Sun, 2006-07-23 at 19:52 +0200, Christian Brodbeck wrote:
> I get to the Inet via the adslmodem/router of my father (Zyxel 652R) the 
> there is a switch to my wifi router. I disabled it's  DHCP to be able to 
> print on his printers.
> 
> How can I access his Printer if it's in an other network if I'd have 
> 192.168.0.x and he 192.168.1.x as IP?
> Do you think if I enable the DHCP in my router it could work?

Well, it's just routing.

If I understand correctly, your father's stuff, including a printer, is
all in 192.168.1.0/24. You've added a WiFi router by connecting it to a
switch in your father's network. You want to access the Internet over
your father's network, and also access the printer in your father's
network, while connected to the WiFi router.

1: Configure the WiFi router to allocate DHCP addresses in
192.168.0.0/24.

2: Configure the WiFi router to obtain it's own address, that is, its
"WAN" or "Internet" address, via DHCP (it almost certainly does this by
default anyway).

3: If you can, turn NAT *OFF* on the WiFi router. There is no need to
have it there. On the other hand, if you can't turn it off it's no big
deal.

4: Configure WPA however you want it.

Now your WiFi router will get an address in 192.168.1.0/24 via DHCP from
the ADSL router/modem. Your WiFi-connected computer will get an address
in 192.168.0.0/24 via DHCP from the WiFi router. The WiFi router will
route packets between the two networks, and thus to the printer or out
to the Internet.

If your computer has an ethernet interface (not just wireless) and the
WiFi router has switch ports, you can test all this without WPA by
simply giving your computer's ethernet interface  a static address in
192.168.0.0/24 and plugging it into the WiFi router. You should be able
to ping the printer and the Internet.

Note that you may not be able to browse for things in your father's
network unless there is a WINS server somewhere. You may have to address
the printer, for example, by name or IP address.

Depending on your WiFi router, it may have a "bridging mode"; this turns
it into a simple bridge. If you can do that, it's a simpler solution and
you won't have printer browsing issues.

By the way, it is almost certainly a bad idea to have sensitive patient
records on a LAN with internet and/or wireless access.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)                   +61-2-64957160 (h)
http://www.biplane.com.au/~kauer/                  +61-428-957160 (mob)





More information about the ubuntu-users mailing list