LaFonera Software AP-mode

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search

Cipis (Talk | contribs)
(initial version)
Next diff →

Revision as of 20:34, 27 March 2007

You are here: DD-WRT wiki mainpage / LaFonera / Software / AP-Mode


Contents

AP Mode

AP Mode can be used to extend your existing wired network to wifi. In this mode, RJ45 port is used to connect La Fonera to your wired network and wireless interface set to AP. If you connect to La Fonera radio, you will be connected directly to the wired network (i.e. same subnet). If DHCP server exists in your network, you will get IP from this DHCP.

In this mode, La Fonera doesn't provide NAT, so you can view network neighbourhood in Windows networking or set up FTP server on PC connected to wifi, that can be accessible from LAN without port forwarding.


Requirements

The following instructions assume you are using the following:

1. A La Fonera using DD-WRT firmware 03/23 revision (tested). Most later revisions should work, but none have been tested for this guide.

2. The La Fonera must be connected to LAN with it's RJ45 port.


La Fonera settings

Start from default settings (Admin > Factory Defaults > Yes > Save, or hold reset button for ~ 30 secs). All settings other than those mentioned can be assumed to be at default. Changing many of them should not affect the guide.


Setup > Basic Setup > WAN setup

WAN Connection Type > Connection Type : Disabled

Optional Settings: Anything you like.


Network Setup > Router IP

Local IP Address :

Subnet Mask :

Gateway :

Local DNS :


In this section you have to fill IP addresses according to your LAN settings as every other PC on your LAN. (La Fonera will be accessible on this IP).

At this moment is not possible to setup La Fonera to get IP from LAN DHCP server. (see todo section)

Select unused IP address to avoid IP collision in your network.


Network Address Server Settings (DHCP)


DHCP Type : DHCP Server

DHCP Server : Disable


Wireless > Basic Settings

Wireless Mode: AP

Network Configuration: Bridged.

Other settings can be entered according your needs.

Wireless > Security

If you want secure your wifi connection, set it here as you need.

Security > Firewall Protection

SPI Firewall: Disable

Connection

Now you can connect to wireless network (SSID of your choice).

If DHCP server exists in your network, you should get IP address, otherwise setup your wireless card's TCPIP properities according to your wired LAN settings.


Todo

Should be possible to set La Fonera to obtain IP address from DHCP on your network, but not from web interface.

ln -s /sbin/rc /tmp/udhcpc

udhcpc -i br0 -p /var/run/udhcpc.pid -s /tmp/udhcpc -H LaFonera


These commands will run DHCP client, but after that La Fonera become inaccessible (even if it get new IP from DHCP).

To connect to La Fonera afterwards set IP address of your wireless card to 169.255.254.2 and connect to 169.255.254.1 (La Fonera)