[<<][openwrt][>>][..]
Sat Apr 12 11:13:04 EDT 2008

wds / apsta

http://downloads.openwrt.org/kamikaze/docs/openwrt.html#x1-110001.2.2


Limitations: There are certain limitations when combining modes. Only
the following mode combinations are supported:

    * Broadcom:
          o 1x sta, 0-3x ap
          o 1-4x ap
          o 1x adhoc

      WDS links can only be used in pure AP mode and cannot use WEP
      (except when sharing the settings with the master interface,
      which is done automatically).


which makes me wonder if it's at all possible to use combined station
and ap mode on the wrt54g? thought that was only possible with
hostap/atheros?

ha!

http://forum.openwrt.org/viewtopic.php?pid=66191

  The latest (4.150) broadcom drivers added support for multiple bssid
  configuration

also: check 'wlc' command instead of wl.


some solution using 'apsta' mode:
http://forum.openwrt.org/viewtopic.php?pid=57449

ere's what I use for routed client mode (sta) on my WRT54GL running Kamikaze - your mileage may vary -

/etc/config/network
Code:

config switch eth0
        option vlan0    "0 1 2 3 4 5*"

config interface loopback
        option ifname   "lo"
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0

config interface lan
        option type     bridge
        option ifname   "eth0.0"
        option proto    static
        option ipaddr   10.8.8.1
        option netmask  255.255.255.0

config interface wan
        option ifname   wl0
        option proto    dhcp

/etc/config/wireless
Code:

config wifi-device              wl0
        option type             broadcom

config wifi-iface
        option device           wl0
        option network          wan
        option mode             sta
        option ssid             linksys

## For having a repeater AP, comment this section out if you don't want it
config wifi-iface
        option device           wl0
        option network          lan
        option mode             ap
        option ssid             OpenWrt
        option encryption       psk2
        option key              'a-wpa-key-goes-here'

If the IP of the AP you're connecting to is 192.168.1.1, make sure you change network.lan.ipaddr to something else.


--

this needs to sink in a bit. but it looks like repeater AP is really
no problem.. enough for today. it's fun to play with these things, but
sometimes a bit difficult to work around bugs and missing features..

let's see what the constraints are:
  * need wrt54g as client -> better antennas.
  * if possible, run it in repeater mode (apsta)

then, on the PC client side a lot of things are possible. probably
leaving one fonera + the netgear hub is going to be good enough.

so.. in order to figure out how it works, somehow sniff the commands
that get sent to wlc.


[Reply][About]
[<<][openwrt][>>][..]