Networking Forums

Networking Forums > Computer Networking > Linux Networking > Wireless PC Config

Reply
Thread Tools Display Modes

Wireless PC Config

 
 
Ralph B
Guest
Posts: n/a

 
      09-10-2007, 07:50 AM
I have a question regarding the config of a wireless PC. My home
network looks a little like this:

Internet
|
Cable modem
|
Wired Router
| \ \ \-- Webserver for mydomain.tld
| \ \----- Wired PC
| \-------- Wired PC
|
Wireless Router
z
z
Wireless PC

The webserver (Fedora) runs a website - mydomain.tld - that is
accessible from outside (via dynamic DNS) and internally (via static
192.168. entries in the /etc/host files). This works fine for the
wired PCs - as they never leave the house - but it's not the ideal
solution for the wireless PC (a Nokia N800).

The problem with the wireless PC is that when it is attached to a
foreign wireless network the webserver for mydomain.tld is no longer
accessible at the 192.162 address configured in the /etc/host file.
It's then necessary to comment out the entry in the /etc/host file
before mydomain.tld can be accessed via the internet.

So what's the right solution for this? How should I configure the
wireless PC to use a different address for mydomain.tld when connected
on different wireless networks.

All/any advice appreciated.

 
Reply With Quote
 
 
 
 
Ralph B
Guest
Posts: n/a

 
      09-11-2007, 05:57 AM
On Sep 10, 9:50 am, Ralph B <goog...@spampot.com> wrote:
> I have a question regarding the config of a wireless PC. My home
> network looks a little like this:
>
> Internet
> |
> Cable modem
> |
> Wired Router
> | \ \ \-- Webserver for mydomain.tld
> | \ \----- Wired PC
> | \-------- Wired PC
> |
> Wireless Router
> z
> z
> Wireless PC
>
> The webserver (Fedora) runs a website - mydomain.tld - that is
> accessible from outside (via dynamic DNS) and internally (via static
> 192.168. entries in the /etc/host files). This works fine for the
> wired PCs - as they never leave the house - but it's not the ideal
> solution for the wireless PC (a Nokia N800).
>
> The problem with the wireless PC is that when it is attached to a
> foreign wireless network the webserver for mydomain.tld is no longer
> accessible at the 192.162 address configured in the /etc/host file.
> It's then necessary to comment out the entry in the /etc/host file
> before mydomain.tld can be accessed via the internet.
>
> So what's the right solution for this? How should I configure the
> wireless PC to use a different address for mydomain.tld when connected
> on different wireless networks.
>
> All/any advice appreciated.


OK, nevermind, it was a config problem with the wired router. After
some googling I found the solution - to turn on NAT loopback. After
this the local server can be reached internally and externally using
the same external ip address. No need to mess
with host files (which is a disaster if you are trying to use a
wireless PC!)

Anyhow I'll include the instructions here in case it can be useful
for
anyone else.

Connect to the router with telnet (the web interface doesn't include
this config item) and find the CLI - menu 24.8.

type "ip nat loopback on" <enter>

This will turn NAT loopback on but if you reboot the setting will go
back to default ie off.

To make the router keep the setting telnet to the CLI - menu 24 , 8

type "sys edit autoexec.net" <enter>
press "i", then type "ip nat loopback on" <enter>
press "x" to save the configuration.

(Credits to http://www.the-scream.co.uk/forums/t21433.html and
http://us.zyxel.com/support/knowledg...lag=1021682046)

 
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
Wireless PC Config Ralph B Wireless Internet 1 09-11-2007 05:58 AM
Wireless config Mark Shelby Linux Networking 2 08-26-2007 11:38 PM
WinXP wireless zero config / wireless client flakiness - other options? Lanwench [MVP - Exchange] Wireless Networks 8 04-20-2006 11:12 PM
Wireless Config MangoHut Wireless Internet 0 10-31-2005 03:23 PM
2003 SP1 Wireless Zero-Config dever Windows Networking 0 04-08-2005 11:21 PM



1 2 3 4 5 6 7 8 9 10 11