Search Linux Wireless

Re: [Patch] iw: Implement set 4addr.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hi Holger,

Am 04.10.2010 09:15, schrieb Holger Schurig:
+	"Set interface 4addr (WDS) mode.\n");
Hi Jochen !

Do you know if this feature can also be used to operate an Ethernet-Bridge on
on a WLAN client?

I'd like to get something like this going, with eth0|wlan0 as a bridge, so
that any protocol/port on the "DEVICE" is reachable from the network:

+--------+   +------------+   +----+   +---------+
| DEVICE +---+ eth0|wlan0 +---+ AP +---+ network |
+--------+   +------------+   +----+   +---------+
                Linux 2.6.x
                w/ mac80211


Yes, that's the idea behind this. I'm using an OpenWRT based WLAN router and a Debian client with the configuration below.

From my tests, it looks like

- b43legacy runs OK in this mode (tested on MN700).
- ath9k has some issues with the promisc mode (if DEVICE talks to another AP client, the bridge might add the DEVICE MAC address to wlan0 as soon as AP sends the frame originating from DEVICE to the AP client). - iwlagn sometimes looses the connection after a hw scan. I'm currently wondering if this might be a problem of ath5k (my AP is a WGT634U) not ignoring PM frames in non-4addr frame format. Unfortunately, WGT634U builds are currently broken in OpenWRT, so I can't test more recent ath5k versions without major efforts.

Thanks,
Jochen

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet manual
    pre-up iw wlan0 set 4addr on

auto eth0
iface eth0 inet manual

auto br0
iface br0 inet dhcp
    bridge_ports wlan0 eth0
    bridge_fd 0
    bridge_stp off
    wpa-ssid <my ssid>
    wpa-psk <my password>
    wpa-bridge br0
    wpa-iface  wlan0

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux