Wili-S 3.5x WDS configuration

From wiliGear wiki

Jump to: navigation, search

NOTE: This document describes WDS configuration for older Wili-S, up to 4.0 version, using old madwifi driver.

Contents

Description

WDS (Wireless Distribution System) is a Wireless mode that enables wireless bridging in which WDS peers can communicate with each other without association, and/or wireless repeating in which APs and/or clients communicate both with each other and with wireless stations. WDS peers are used to bridge two or more wireless service sets (networks).


Network topology

Image:Wds.gif

Configuration samples

AP(Master).cgf

###########################################
 # Configuration file created by WILIBOX UAB
 # HW: XScale family
 # Wireless Distribution System
 # Updated 2007-06-12
 ###########################################
 
 # Section: USERS
 ## Setup default system user
 users.status=enabled
 users.1.status=enabled
 users.1.name=admin
 users.1.password=oHSl3yqR.t1uQ
 
 # Section: SYSLOG
 syslog.status=enabled
 syslog.file=/var/log/messages
 syslog.file.umask=077
 syslog.file.msg.level=info
 syslog.fwd.status=disabled
 syslog.fwd.msg.level=info
 syslog.rotate.status=true
 syslog.rotate.at_size=102400 
 
 # Section: HTTPD
 httpd.status=enabled
 httpd.port.http=80
 httpd.port.https=443
 httpd.port.admin=444
 httpd.backlog=100
 httpd.max.request=51200
 httpd.max.connections=50
 httpd.verbose=disabled
 httpd.external.status=disabled 
 
 # Section: SSHD
 sshd.status=enabled
 sshd.port=22 
 
 # Section: RADIO
 radio.status=enabled
 radio.countrycode=LT
 radio.1.status=enabled
 radio.1.devname=ath0
 radio.1.mode=Master
 radio.1.channel=6
 radio.1.rate.max=54M
 radio.1.rate.auto=enabled
 radio.1.frag=off
 radio.1.rts=off
 radio.1.ieee_mode=G
 radio.1.txpower=20
 radio.1.autochannel.status=disabled
 
 # Section: WIRELESS
 ## Wireless device without security
 wireless.status=enabled
 wireless.1.status=enabled
 wireless.1.devname=ath0
 wireless.1.security=none
 wireless.1.ssid=wds_open
 wireless.1.ssid_broadcast=enabled
 wireless.1.l2_isolation=disabled
 wireless.1.fastframes=enabled
 wireless.1.frameburst=enabled
 wireless.1.wmm=enabled
 wireless.1.max_clients=64 
 
 # Section: WDS
 ## Enable wds mode on ath0
 ## add one wds peer
 ## this will add an interface ath0w0 and link it 
 ## with wireless node with mac 00:90:4B:69:47:27
 wds.status=enabled
 wds.1.status=enabled
 wds.1.parent=ath0 
 wds.1.peer.1.status = enabled
 wds.1.peer.1.devname = wds_peer1
 wds.1.peer.1.mac = 00:90:4B:69:47:27
 
 ## Enable bridge
 bridge.status=enabled
 bridge.1.status=enabled
 bridge.1.devname=br0
 bridge.1.hello=20
 bridge.1.maxage=300
 bridge.1.priority=2
 bridge.1.fd=1
 bridge.1.port.1.status=enabled
 bridge.1.port.1.devname=ath0
 bridge.1.port.2.status=enabled
 bridge.1.port.2.devname=ixp1
 bridge.1.port.3.status=enabled
 bridge.1.port.3.devname=ixp0
 
 # Section: dhcpc
 # CHANGE TO ENABLED IF DHCP CLIENT IS USED
 dhcpc.status=disabled
 dhcpc.1.status=enabled
 dhcpc.1.devname=br0 
 
 # Section: netconf
 netconf.status=enabled
 netconf.1.status=enabled
 netconf.1.netmask=255.255.255.0
 netconf.1.ip=0.0.0.0
 netconf.1.up=enabled
 netconf.1.mode=wan
 netconf.1.type=ethernet
 netconf.1.devname=ixp1 
 
 netconf.2.status=enabled
 netconf.2.netmask=255.255.255.0
 netconf.2.ip=0.0.0.0
 netconf.2.up=enabled
 netconf.2.mode=lan
 netconf.2.type=ethernet
 netconf.2.devname=ixp0
 
 netconf.3.status=enabled
 netconf.3.netmask=255.255.255.0
 netconf.3.ip=0.0.0.0
 netconf.3.up=enabled
 netconf.3.mode=lan
 netconf.3.type=wireless
 netconf.3.devname=br0 
 
 netconf.4.status=enabled
 netconf.4.netmask=255.255.255.0
 netconf.4.ip=192.168.5.10
 netconf.4.up=enabled
 netconf.4.mode=lan
 netconf.4.type=bridge
 netconf.4.devname=br0
 
 # Section: SNMP
 snmpd.status=enabled
 snmpd.name=name
 snmpd.contact=contact
 snmpd.rocommunity=public
 snmpd.rouser=public
 snmpd.ropassword=password 
 
 # Section: ROUTE
 route.status=enabled
 route.1.status=enabled
 route.1.devname=ixp1
 route.1.gateway=192.168.5.1
 route.1.ip=0.0.0.0
 route.1.netmask=0
 
 #
 # Multicast based device discovery
 discoveryd.status=enabled

STA_(Managed).cfg

###########################################
 # Configuration file created by WILIBOX UAB
 # HW: XScale family
 # Wireless Distribution System
 # Updated 2007-06-12
 ###########################################
 
 # Section: USERS
 ## Setup default system user
 users.status=enabled
 users.1.status=enabled
 users.1.name=admin
 users.1.password=oHSl3yqR.t1uQ
 
 # Section: SYSLOG
 syslog.status=enabled
 syslog.file=/var/log/messages
 syslog.file.umask=077
 syslog.file.msg.level=info
 syslog.fwd.status=disabled
 syslog.fwd.msg.level=info
 syslog.rotate.status=true
 syslog.rotate.at_size=102400 
 
 # Section: HTTPD
 httpd.status=enabled
 httpd.port.http=80
 httpd.port.https=443
 httpd.port.admin=444
 httpd.backlog=100
 httpd.max.request=51200
 httpd.max.connections=50
 httpd.verbose=disabled
 httpd.external.status=disabled 
 
 # Section: SSHD
 sshd.status=enabled
 sshd.port=22 
 
 # Section: RADIO
 radio.status=enabled
 radio.countrycode=LT
 radio.1.status=enabled
 radio.1.devname=ath0
 radio.1.mode=Managed
 radio.1.channel=0
 radio.1.rate.max=54M
 radio.1.rate.auto=enabled
 radio.1.frag=off
 radio.1.rts=off
 radio.1.ieee_mode=G
 radio.1.txpower=20
 radio.1.autochannel.status=disabled 
 
 # Section: brdige
 bridge.status=enabled
 bridge.1.status=enabled
 bridge.1.devname=br0
 bridge.1.ageing=300
 bridge.1.priority=2
 bridge.1.fd=1
 bridge.1.hello=20
 bridge.1.maxage=300
 bridge.1.port.status=enabled
 bridge.1.port.1.status=enabled
 bridge.1.port.1.devname=ixp1
 bridge.1.port.2.status=enabled
 bridge.1.port.2.devname=ath0
 
 # Section: WIRELESS
 ## Wireless device without security
 wireless.status=enabled
 wireless.1.status=enabled
 wireless.1.devname=ath0
 wireless.1.security=none
 wireless.1.ssid=wds_open
 wireless.1.ssid_broadcast=enabled
 wireless.1.l2_isolation=disabled
 wireless.1.fastframes=enabled
 wireless.1.frameburst=enabled
 wireless.1.wmm=enabled
 wireless.1.max_clients=64
 
 # Section: WDS
 ## Enable wds mode on ath0
 ## add one wds peer
 ## this will add an interface ath0w0 and link it 
 ## with wireless node with mac 00:90:4B:69:15:15
 wds.status=enabled
 wds.1.status=enabled
 wds.1.parent=ath0 
 wds.1.peer.1.status = enabled
 wds.1.peer.1.devname = wds_peer1
 wds.1.peer.1.mac = 00:90:4B:69:15:15
 
 # Section: NETCONF
 netconf.status=enabled
 netconf.1.status=enabled
 netconf.1.netmask=255.255.255.0
 netconf.1.ip=0.0.0.0
 netconf.1.up=enabled
 netconf.1.mode=wan
 netconf.1.type=ethernet
 netconf.1.devname=ixp1 
 
 netconf.2.status=enabled
 netconf.2.netmask=255.255.255.0
 netconf.2.ip=0.0.0.0
 netconf.2.up=enabled
 netconf.2.mode=lan
 netconf.2.type=ethernet
 netconf.2.devname=ixp0
 
 netconf.3.status=enabled
 netconf.3.netmask=255.255.255.0
 netconf.3.ip=192.168.5.11
 netconf.3.up=enabled
 netconf.3.mode=lan
 netconf.3.type=bridge
 netconf.3.devname=br0 
 
 netconf.4.status=enabled
 netconf.4.netmask=255.255.255.0
 netconf.4.ip=0.0.0.0
 netconf.4.up=enabled
 netconf.4.mode=lan
 netconf.4.type=wireless
 netconf.4.devname=ath0
 
 # Section: SNMPD
 snmpd.status=enabled
 snmpd.name=name
 snmpd.contact=contact
 snmpd.rocommunity=public
 snmpd.rouser=public
 snmpd.ropassword=password
 
 # Section: ROUTE
 route.status=enabled
 route.1.status=enabled
 route.1.devname=br0
 route.1.gateway=192.168.5.1
 route.1.ip=0.0.0.0
 route.1.netmask=0
 
 # 
 # Multicast based device discovery
 discoveryd.status=enabled

Configuration files

AP(master)-3.5x.cfg

STA(managed)-3.5x.cfg

Personal tools