Differences

This shows you the differences between two versions of the page.

doc:recipes:routedclient [2013/01/02 19:40]
valentt cleaned up a bit
doc:recipes:routedclient [2014/02/18 15:57] (current)
martian_smurf Extra information
Line 67: Line 67:
    * //WPA Version 1// indicates WPA     * //WPA Version 1// indicates WPA
    * If both WPA and WPA2 are present, the network is most likely operating in WPA/WPA2 mixed mode     * If both WPA and WPA2 are present, the network is most likely operating in WPA/WPA2 mixed mode
-    * If no //IE:// appears after the scanning like in //Cell 03// network (ESSID:"WLAN_SUHA" ) from the example, the wireless could be using WEP mode. +    * If no //IE:// appears after the scanning, the wireless network could be using WEP mode.
Line 78: Line 78:
| ''config 'interface' **'wan'** | ''config 'interface' **'wan'**
-        option 'ifname' **'interface'** 
        option 'proto'      'dhcp' '' |         option 'proto'      'dhcp' '' |
-**'interface'** is usually **'wlan0'** or **'eth0'** interface, bit YMMV.+Note that the ''wan'' network section **must not** contain any ''ifname'' option.
Line 117: Line 116:
</code> </code>
-| {{:meta:48px-dialog-warning.svg.png?nolink}} | If the target network uses the 192.168.1.0/24 subnet, you **must** change the default LAN IP address to a different subnet, e.g. 192.168.**2**.1 .\\ You can determine the assigned WAN address with the following command: <code>uci -P/var/state get network.wan.ipaddr+| {{:meta:48px-dialog-warning.svg.png?nolink}} | If the target network uses the 192.168.1.0/24 subnet, you **must** change the default LAN IP address to a different subnet, e.g. 192.168.**2**.1 .\\ You can determine the assigned WAN address with the following command: <code>. /lib/functions/network.sh; network_get_ipaddr IP_WAN wan; echo $IP_WAN
192.168.1.30</code> | 192.168.1.30</code> |
Line 188: Line 187:
  * Gateway: 192.168.1.30 (IP address of our WAN interface)   * Gateway: 192.168.1.30 (IP address of our WAN interface)
 +You may also need to set the policy of the firewall of the Access Point to 'ACCEPT' forwarded traffic for the LAN zone, in order for hosts in the Client network to communicate with hosts (other than directly to the router itself) on the Access Point network. E.g. (referring to the diagram) for Client Host 1 to communicate with LAN Host 1.
==== Apply changes ==== ==== Apply changes ====

Back to top

doc/recipes/routedclient.1357152055.txt.bz2 · Last modified: 2013/01/02 19:40 by valentt