[Voyage-linux] WDS bridge
Kim-man 'Punky' TSE
(spam-protected)
Thu Oct 22 09:12:33 HKT 2009
Hi Stefan,
Please send you reply to the list (or reply-to-all).
1. In node 1, change AA:BB:CC:DD:EE:FF to the MAC address of node2.
2. Use the same config for node2, but change AA:BB:CC:DD:EE:FF to the
MAC address of node1.
- Punky
Stefan Nakov wrote:
> Hi.
>
> thanks for the fast reply!
>
> I read that there are like examples in the /etc/network/interfaces ...
> like =>
> The most common way to WDS bridge wireless (ath0 & ath1), LAN (eth0)
> as follow:
> auto br0
>
> iface br0 inet static
>
> address 192.168.1.2
>
> netmask 255.255.255.0
>
> network 192.168.1.0
>
> broadcast 192.168.1.255
>
> gateway 192.168.1.1
>
> bridge_ports eth0 ath0 ath1
>
> pre-up wlanconfig ath0 create wlandev wifi0 wlanmode ap
>
> pre-up wlanconfig ath1 create wlandev wifi0 wlanmode wds
>
> pre-up iwpriv ath0 mode 11g
>
> pre-up iwconfig ath0 essid "voyage-wds" channel 1
>
> up ifconfig ath0 down ; ifconfig ath0 up # this is a
> workaround
>
> up iwpriv ath1 wds 1
>
> up iwpriv ath1 wds_add AA:BB:CC:DD:EE:FF
>
> up ifconfig ath1 down ; ifconfig ath1 up # this is a
> workaround
>
> post-down wlanconfig ath0 destroy
>
> post-down wlanconfig ath1 destroy
>
> I understand that this will be on the first ALIX
>
> But what should I use on the second?
>
> Sorry for the stupid question... I'm really a beginner in this. :)
>
> Thanks!
>
> Stefan Nakov
>
> On Wed, Oct 21, 2009 at 3:53 PM, Punky Tse <punkytse at punknix.com
> <mailto:punkytse at punknix.com>> wrote:
>
> Hi Stefan,
>
> Some "madwifi-ng WDS Bridge" section in /etc/network/interfaces.
>
> Regards,
> Punky
>
>
> Stefan Nakov wrote:
>
> Hi everybody,
> a week ago i bought 2 x Alix 3d2 with 2x Atheros wireless
> adaptors.
> I installed Linux Voyage 0.6.0 and the first nice experience
> was when i made an AP. :)
> But now I want to make something else.
>
> I want to have a wireless bridge with the two alix boards. I
> understand that the interface has to be in WDS mode. But I am
> not sure what i have to do.
>
> Is it the same as making an AP?
> And what should be the settings on the first and on the second
> ALIX.
>
> I was thinking like : For the first alix board which will be
> connected to a router by LAN and by the wireless adapter via
> bridge to the other alix:...
>
> *ifconfig eth0 0.0.0.0 up*
>
> wlanconfig ath0 create wlandev wifi0 wlanmode ap
>
> *wlanconfig ath1 create wlandev wifi0 wlanmode wds*
>
> *iwconfig ath0 essid "Alix 1 " channel 1*
>
> *ifconfig ath0 up*
> *ifconfig ath1 up
>
> brctl addbr br0
>
> ifconfig br0 192.168.1.1 netmask 255.255.255.0
>
> brctl addif br0 eth0
>
> brctl addif br0 ath0*
> *
> *
> And I don't know what i should write to the other Alix to
> create the bridge...
> I think that the channels must be the same ex. channel 1 for
> both. I am not sure what should I do ...
>
> Can somebody with experience give some advice or examples.
>
> Thanks...
> --
> Stefan Nakov
> Стефан Наков.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk <mailto:Voyage-linux at list.voyage.hk>
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>
>
>
>
>
> --
> Стефан Наков.
--
Regards,
Punky
Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
- Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
- Network Engineering, Development Platform and Consultation
More information about the Voyage-linux
mailing list