OpenWrt Forum Archive

Topic: Mesh 802.11s Network on WRT160NL Router: Station don't see each other

The content of this topic has been archived on 13 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello every body,

I have a couple of Cisco/Linksys WRT160NL Router and i am trying to build up an Meshnetwork using IEEE802.11s standard.
Here is the configuration of one of the routers:

root@mesh01:~# cat /etc/config/network 

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 'ifname' 'eth0'
        option 'type' 'bridge'
        option 'proto' 'static'
        option 'netmask' '255.255.255.0'
        option 'ipaddr' '192.168.66.1'

config 'interface' 'wan'
        option 'ifname' 'eth1'
        option 'proto' 'dhcp'

config 'switch'
        option 'name' 'eth0'
        option 'reset' '1'
        option 'enable_vlan' '1'

config 'switch_vlan'
        option 'device' 'eth0'
        option 'vlan' '1'
        option 'ports' '0 1 2 3 4 5'

config 'interface' 'mesh'
        option 'proto' 'static'
        option 'ipaddr' '192.168.88.1'
        option 'netmask' '255.255.255.0'

root@mesh01:~# cat /etc/config/wireless 

config 'wifi-device' 'radio0'
        option 'type' 'mac80211'
        option 'macaddr' '58:6d:8f:c5:f9:82'
        list 'ht_capab' 'SHORT-GI-40'
        list 'ht_capab' 'DSSS_CCK-40'
        option 'country' 'DE'
        option 'txpower' '20'
        option 'channel' '5'
        option 'hwmode' '11g'

config 'wifi-iface'
        option 'device' 'radio0'
        option 'encryption' 'none'
        option 'mode' 'mesh'
        option 'network' 'mesh'
        option 'ssid' 'hsrmmesh01'
        option 'mesh_id' 'hsrmmesh'

The configuration of the other routers is simular except that the last number of the IP-Adresses (iface-lan:192.168.66.X,iface-mesh:192.168.88.X) is increased.
But on executing iw station dump the router won't show other stations (only it selfs, see MAC address)

root@mesh01:~# iw dev wlan0 station dump
Station 58:6d:8f:c5:f9:cd (on wlan0)
        inactive time:  340 ms
        rx bytes:       139268
        rx packets:     3666
        tx bytes:       462
        tx packets:     7
        tx retries:     1
        tx failed:      0
        signal:         -27 dBm
        signal avg:     -28 dBm
        tx bitrate:     1.0 MBit/s
        rx bitrate:     1.0 MBit/s
        mesh llid:      38983
        mesh plid:      25957
        mesh plink:     ESTAB

In my point of view the mesh stations should be linked but they aren't. Has any one an idea why?
Could some body post working configurationfiles (/etc/config/wireless and network)

Furthermore there are some questions:
- wifi-iface.ssid and wifi-device.hwmode have no effect on Meshnetworks so it does not matter what value is set. Is that true?
- doing the station dump I have to type iw dev wlan0 station dump but I expect to type radio0 instead. Why wlan0?
- Are meshneworks forced to use a seperate interface (see config 'interface' 'mesh') or can they briged on iface lan like normal WiFi networks are?

Cheers,
Tom

Has nobody an idea why station do not see each other? Is there somebody out there feeling skilled in building IEEE 802.11s Mesh Networks.
There are some more question I puzzle over.

1.  Wikipedia says that the actual development stage of 802.11s  defines Hybrid Wireless Mesh Protocol as mandatory default routing protocol. HWMP can be used in two ways:  AODV or tree-based routing. Perhaps that is the point why routers don't connect: I did not configure if they should communicate  tree-based or using AODV.  ???

2. Is a 802.11s mesh point forced to route data packages or is there a non routing mode defined for mesh point in 802.11s ?

One more information:
I also tried to build the mesh network using the shell:

iw dev wlan0 set channel 1
ifconfig wlan0 inet 192.168.88.1 netmask 255.255.255.1
iw dev wlan0 mesh join hsrmmesh

it has the same effect like using uci / OpenWRT-Configfiles: Stations do not see each other sad

Hi,

I got this exact problem.... by sheer luck I discovered that the solution was to specify the country code in the UCI wireless configuration --- strange when all routers in my configuration were flashed with the same firmware file.

For the WRT160N this would mean adding the following to the config radio stanza:-

   option country  'EN'

My TPLink routers needed

   option country 'GB'

Some other routers may need a numeric value here;  unfortunately I do not know what that would be

The discussion might have continued from here.