Project

General

Profile

Actions

Bug #182

closed

Unable to associate with VLANs, ath5k, IC+ IP178C switch, and STP bridge on OpenWrt

Added by Eric Larson about 10 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
03/03/2014
Due date:
% Done:

0%

Estimated time:

Description

I have a pair of Mikrotik 493AH boards on the bench that work fine with using an ath9k drivers/radio modules, and the following configuration. As soon as I switch out the modules to anything using the ath5k driver, batctl o only shows the originator, and it will not associate with any other radio on the MESH.

/etc/config/batman-adv:
config 'mesh' 'bat0'
option 'gw_bandwidth' '50mbit/50mbit'
option 'gw_mode' 'server'
option 'bridge_loop_avoidance' '1'

/etc/config/wireless:
config wifi-device 'radio0'
option type 'mac80211'
option country 'US'
option channel '149'
option hwmode '11a'
option distance '1000'
option txpower '26'
option diversity '0'
option txantenna '1'
option rxantenna '1'
option path 'pci0000:00/0000:00:12.0'

config wifi-iface 'wmesh'
option device 'radio0'
option ifname 'adhoc0'
option network 'mesh'
option mode 'adhoc'
option encryption 'psk'
option key 'some_22_character_key_'
option ssid 'abcd-efgh'

/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 eth1 bat0'
option 'type' 'bridge'
option 'stp' '1'
option 'proto' 'static'
option 'ipaddr' '169.254.2.11'
option 'netmask' '255.255.0.0'
option 'mtu' '1536'

config 'interface' 'switch'
option 'ifname' 'eth1'
option 'proto' 'none'
option 'auto' '1'

config 'switch' 'eth1'
option 'enable' '1'
option 'reset' '1'
option 'enable_vlan' '1'
option 'mtu' '1536'

config 'switch_vlan'
option 'device' 'eth1'
option 'vlan' '0'
option 'vid' '0'
option 'ports' '0 1 8t'

config 'switch_vlan'
option 'device' 'eth1'
option 'vlan' '5'
option 'vid' '20'
option 'ports' '2 3 8t'

config 'switch_vlan'
option 'device' 'eth1'
option 'vlan' '6'
option 'vid' '6'
option 'ports' '4 5 8t'

config 'switch_vlan'
option 'device' 'eth1'
option 'vlan' '7'
option 'vid' '7'
option 'ports' '6 7 8t'

config 'interface' 'mesh'
option 'ifname' 'adhoc0'
option 'proto' 'batadv'
option 'mtu' '1536'
option 'mesh' 'bat0'

Actions

Also available in: Atom PDF