Support for Wavlink AC1200 Model WL-WN531G3-A2

I purchased this router few months ago but stock firmware is limited.

Following are the pictures and details about this device.

Device Page: Click Here

Original Firmware: Download Here

I am not fimiliar with developing or building firmware. Please help me to install OpenWRT on this device.

Processor: MediaTek MT7612EN

cat /proc/cpuinfo

system type		: MT7620
processor		: 0
cpu model		: MIPS 24Kc V5.0
BogoMIPS		: 386.04
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0004, 0x0064, 0x0ff8, 0x003b]
ASEs implemented	: mips16 dsp
shadow register sets	: 1
core			: 0
VCED exceptions		: not available
VCEI exceptions		: not available

dmesg

	] [7620]:IQCalibration Done! CH = 0, (gain= f, phase=3d)
[   18.936000] [7620]:IQCalibration Start!
[   18.952000] [7620]:IQCalibration Done! CH = 1, (gain= 0, phase=3d)
[   18.964000] [7620]:TX IQ Calibration Done!
[   19.008000] [7620]:RXIQ si=2657, sq=2751, riq=-7, bbpval 2657, vga_idx 0
[   19.020000] [7620]:RXIQ si=3854, sq=3997, riq=3, bbpval 3854, vga_idx 1
[   19.032000] [7620]:RXIQ si=5870, sq=6105, riq=0, bbpval 5870, vga_idx 2
[   19.048000] [7620]:RXIQ si=9405, sq=9763, riq=20, bbpval 9405, vga_idx 3
[   19.060000] [7620]:RXIQ si=14697, sq=15247, riq=-7, bbpval 14697, vga_idx 4
[   19.076000] [7620]:Sigma_i=1212, Sigma_q=1234, R_iq=-70
[   19.084000] [7620]:RXIQ Sigma_i=1212, Sigma_q=1234, R_iq=-70
[   19.096000] [7620]:RXIQ G_imb=2, Ph_rx=0
[   19.104000] [7620]:RXIQ si=1217, sq=1218, riq=5, bbpval 1217, vga_idx 0
[   19.120000] [7620]:RXIQ si=4178, sq=4199, riq=-4, bbpval 4178, vga_idx 3
[   19.132000] [7620]:RXIQ si=6377, sq=6438, riq=0, bbpval 6377, vga_idx 4
[   19.148000] [7620]:RXIQ si=9712, sq=9812, riq=-3, bbpval 9712, vga_idx 5
[   19.160000] [7620]:RXIQ si=15569, sq=15512, riq=18, bbpval 15569, vga_idx 6
[   19.172000] [7620]:Sigma_i=1247, Sigma_q=1245, R_iq=180
[   19.184000] [7620]:RXIQ Sigma_i=1247, Sigma_q=1245, R_iq=180
[   19.196000] [7620]:RXIQ G_imb=0, Ph_rx=0
[   19.204000] [7620]:MCS Set = ff ff 00 00 01
[   19.252000] [7620]:SYNC - BBP R4 to 20MHz.l
[   19.560000] [7620]:SYNC - BBP R4 to 20MHz.l
[   19.868000] [7620]:SYNC - BBP R4 to 20MHz.l
[   20.176000] [7620]:SYNC - BBP R4 to 20MHz.l
[   20.484000] [7620]:SYNC - BBP R4 to 20MHz.l
[   20.792000] [7620]:SYNC - BBP R4 to 20MHz.l
[   21.100000] [7620]:SYNC - BBP R4 to 20MHz.l
[   21.408000] [7620]:SYNC - BBP R4 to 20MHz.l
[   21.716000] [7620]:SYNC - BBP R4 to 20MHz.l
[   22.024000] [7620]:needFallBack=TRUE due to OS!
[   22.032000] [7620]:needFallBack=TRUE due to OP/OT!
[   22.040000] [7620]:needFallBack=TRUE due to OP/OT!
[   22.052000] [7620]:pAd->CommonCfg.BssCoexApCnt 6!
[   22.100000] [7620]:The 8-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 8
[   22.116000] [7620]:Main bssid = xx:xx:xx:xx:xx:xx
[   22.124000] <==== rt28xx_init, Status=0
[   22.136000] 0x1300 = 00064380
[   22.140000] [7620]:The 7620 UUID MacAddress = xx:xx:xx:xx:xx:xx
[   22.144000] 
[   22.156000] [7620]:The UUID ASCII string is:xx:xx:xx:xx:xx:xx
[   22.172000] [7620]:The 7620 UUID MacAddress = xx:xx:xx:xx:xx:xx
[   22.176000] 
[   22.184000] [7620]:The UUID ASCII string is:xx:xx:xx:xx:xx:xx
[   22.200000] [7620]:The 7620 UUID MacAddress = xx:xx:xx:xx:xx:xx
[   22.204000] 
[   22.216000] [7620]:The UUID ASCII string is:xx:xx:xx:xx:xx:xx
[   22.228000] [7620]:The 7620 UUID MacAddress = xx:xx:xx:xx:xx:xx
[   22.232000] 
[   22.244000] [7620]:The UUID ASCII string is:xx:xx:xx:xx:xx:xx
[   22.260000] [7620]:The 7620 UUID MacAddress = xx:xx:xx:xx:xx:xx
[   22.264000] 
[   22.276000] [7620]:The UUID ASCII string is:xx:xx:xx:xx:xx:xx
[   22.320000] MAC[Ver:Rev=0x76623000 : 0x76120044]
[   22.328000] build time = 
[   22.336000] 20141115060606a
[   22.340000] rom patch for E3 IC
[   22.344000] 
[   22.348000] platform = 
[   22.352000] ALPS
[   22.356000] hw/sw version = 
[   22.364000]   
[   22.368000] patch version = 
[   22.372000] 
[   22.388000] FW Version:0.0.00 Build:1
[   22.396000] Build Time:201607111443____
[   22.404000] fw for E3 IC
[   22.424000] RX[0] DESC a2331000 size = 4096
[   22.432000] RX[1] DESC a2332000 size = 4096
[   22.452000] E2pAccessMode=0
[   22.460000] cfg_mode=14
[   22.464000] cfg_mode=14
[   22.468000] wmode_band_equal(): Band Not Equal!
[   22.488000] APSDCapable[0]=0
[   22.492000] APSDCapable[1]=0
[   22.500000] APSDCapable[2]=0
[   22.504000] APSDCapable[3]=0
[   22.512000] APSDCapable[4]=0
[   22.516000] APSDCapable[5]=0
[   22.524000] APSDCapable[6]=0
[   22.528000] APSDCapable[7]=0
[   22.532000] APSDCapable[8]=0
[   22.540000] APSDCapable[9]=0
[   22.544000] APSDCapable[10]=0
[   22.552000] APSDCapable[11]=0
[   22.556000] APSDCapable[12]=0
[   22.564000] APSDCapable[13]=0
[   22.568000] APSDCapable[14]=0
[   22.576000] APSDCapable[15]=0
[   22.580000] default ApCliAPSDCapable[0]=0
[   22.792000] Key1Str is Invalid key length(0) or Type(0)
[   22.804000] Key1Str is Invalid key length(0) or Type(0)
[   22.812000] Key1Str is Invalid key length(0) or Type(0)
[   22.824000] Key1Str is Invalid key length(0) or Type(0)
[   22.836000] Key2Str is Invalid key length(0) or Type(0)
[   22.844000] Key2Str is Invalid key length(0) or Type(0)
[   22.856000] Key2Str is Invalid key length(0) or Type(0)
[   22.868000] Key2Str is Invalid key length(0) or Type(0)
[   22.876000] Key3Str is Invalid key length(0) or Type(0)
[   22.888000] Key3Str is Invalid key length(0) or Type(0)
[   22.900000] Key3Str is Invalid key length(0) or Type(0)
[   22.908000] Key3Str is Invalid key length(0) or Type(0)
[   22.920000] Key4Str is Invalid key length(0) or Type(0)
[   22.932000] Key4Str is Invalid key length(0) or Type(0)
[   22.944000] Key4Str is Invalid key length(0) or Type(0)
[   22.952000] Key4Str is Invalid key length(0) or Type(0)
[   23.168000] xx:xx:xx:xx:xx:xx
[   23.176000] xx:xx:xx:xx:xx:xx
[   23.188000] 
[   23.208000] HT: 20/40 BssCoexSupport = OFF
[   23.220000] HT: 20/40 BssCoexApCntThr = 0
[   23.248000] 1. Phy Mode = 49
[   23.256000] get_chl_grp:illegal channel (167)
[   23.264000] get_chl_grp:illegal channel (167)
[   23.272000] get_chl_grp:illegal channel (169)
[   23.280000] get_chl_grp:illegal channel (169)
[   23.288000] get_chl_grp:illegal channel (171)
[   23.296000] get_chl_grp:illegal channel (171)
[   23.308000] drivers/net/wireless/rlt_wifi_ap/../rlt_wifi/chips/mt76x2.c:2899 assert (ad->TxPower[choffset].Channel == 42)failed
[   23.328000] Country Region from e2p = ffff
[   23.336000] mt76x2_read_temp_info_from_eeprom:: is_temp_tx_alc=0, temp_tx_alc_enable=0
[   23.352000] mt76x2_read_tx_alc_info_from_eeprom:: is_ePA_mode=1, ePA_type=1
[   23.368000] mt76x2_read_tx_alc_info_from_eeprom:: [5G band] high_temp_slope=15, low_temp_slope=9
[   23.384000] mt76x2_read_tx_alc_info_from_eeprom:: [2G band] high_temp_slope=0, low_temp_slope=0
[   23.404000] mt76x2_read_tx_alc_info_from_eeprom:: [5G band] tc_lower_bound=-7, tc_upper_bound=4
[   23.420000] mt76x2_read_tx_alc_info_from_eeprom:: [2G band] tc_lower_bound=0, tc_upper_bound=0
[   23.436000] mt76x2_get_external_lna_gain::LNA type=0x1, BLNAGain=0xffffff8c, ALNAGain0=0xffffff8c, ALNAGain1=0xffffff8c, ALNAGain2=0xffffff8c
[   23.464000] 2. Phy Mode = 49
[   23.468000] 3. Phy Mode = 49
[   23.476000] andes_pci_fw_init
[   23.480000] 0x1300 = 00073200
[   23.512000] AntCfgInit: primary/secondary ant 0/1
[   23.520000] andes_load_cr:cr_type(2)
[   23.536000] ChipStructAssign(): MT76x2 hook !
[   23.548000] @@@ BuildChannel # 36 :: Pwr0 = 36, Pwr1 =36, Flags = c0, RemainingTimeForUse=0
[   23.548000]  @@@ BuildChannel # 40 :: Pwr0 = 36, Pwr1 =36, Flags = c0, RemainingTimeForUse=0
[   23.568000]  @@@ BuildChannel # 44 :: Pwr0 = 36, Pwr1 =36, Flags = c0, RemainingTimeForUse=0
[   23.584000]  @@@ BuildChannel # 48 :: Pwr0 = 36, Pwr1 =36, Flags = c0, RemainingTimeForUse=0
[   23.600000]  @@@ BuildChannel # 52 :: Pwr0 = 37, Pwr1 =34, Flags = c0, RemainingTimeForUse=0
[   23.616000]  @@@ BuildChannel # 56 :: Pwr0 = 37, Pwr1 =34, Flags = c0, RemainingTimeForUse=0
[   23.632000]  @@@ BuildChannel # 60 :: Pwr0 = 37, Pwr1 =34, Flags = c0, RemainingTimeForUse=0
[   23.652000]  @@@ BuildChannel # 64 :: Pwr0 = 37, Pwr1 =34, Flags = c0, RemainingTimeForUse=0
[   23.668000]  @@@ BuildChannel # 100 :: Pwr0 = 34, Pwr1 =32, Flags = c0, RemainingTimeForUse=0
[   23.684000]  @@@ BuildChannel # 104 :: Pwr0 = 34, Pwr1 =32, Flags = c0, RemainingTimeForUse=0
[   23.700000]  @@@ BuildChannel # 108 :: Pwr0 = 34, Pwr1 =32, Flags = c0, RemainingTimeForUse=0
[   23.720000]  @@@ BuildChannel # 112 :: Pwr0 = 34, Pwr1 =32, Flags = c0, RemainingTimeForUse=0
[   23.736000]  @@@ BuildChannel # 116 :: Pwr0 = 30, Pwr1 =26, Flags = c0, RemainingTimeForUse=0
[   23.752000]  @@@ BuildChannel # 120 :: Pwr0 = 30, Pwr1 =26, Flags = c0, RemainingTimeForUse=0
[   23.768000]  @@@ BuildChannel # 124 :: Pwr0 = 30, Pwr1 =26, Flags = c0, RemainingTimeForUse=0
[   23.788000]  @@@ BuildChannel # 128 :: Pwr0 = 30, Pwr1 =26, Flags = c0, RemainingTimeForUse=0
[   23.804000]  @@@ BuildChannel # 132 :: Pwr0 = 30, Pwr1 =26, Flags = c0, RemainingTimeForUse=0
[   23.820000]  @@@ BuildChannel # 136 :: Pwr0 = 30, Pwr1 =26, Flags = c0, RemainingTimeForUse=0
[   23.836000]  @@@ BuildChannel # 140 :: Pwr0 = 30, Pwr1 =26, Flags = 80, RemainingTimeForUse=0
[   23.856000]  @@@ BuildChannel # 149 :: Pwr0 = 30, Pwr1 =28, Flags = c0, RemainingTimeForUse=0
[   23.872000]  @@@ BuildChannel # 153 :: Pwr0 = 30, Pwr1 =28, Flags = c0, RemainingTimeForUse=0
[   23.888000]  @@@ BuildChannel # 157 :: Pwr0 = 30, Pwr1 =28, Flags = c0, RemainingTimeForUse=0
[   23.908000]  @@@ BuildChannel # 161 :: Pwr0 = 30, Pwr1 =28, Flags = c0, RemainingTimeForUse=0
[   23.924000]  @@@ BuildChannel # 165 :: Pwr0 = 30, Pwr1 =28, Flags = 0, RemainingTimeForUse=0
[   23.940000]  RTMPSetPhyMode: channel is out of range, use first channel=0 
[   23.968000] MCS Set = ff ff 00 00 01
[   30.072000] mt76x2_bbp_adjust():rf_bw=2, ext_ch=1, PrimCh=36, HT-CentCh=38, VHT-CentCh=42
[   30.136000] APStartUp(): AP Set CentralFreq at 42(Prim=36, HT-CentCh=38, VHT-CentCh=42, BBP_BW=2)
[   30.160000] mt76x2_calibration(channel = 42)
[   30.536000] The 8-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 8
[   30.548000] Main bssid = xx:xx:xx:xx:xx:xx
[   30.560000] mt76x2_reinit_agc_gain:original agc_vga0 = 0x48, agc_vga1 = 0x48
[   30.572000] mt76x2_reinit_agc_gain:updated agc_vga0 = 0x48, agc_vga1 = 0x48
[   30.588000] mt76x2_reinit_hi_lna_gain:original hi_lna0 = 0x33, hi_lna1 = 0x33
[   30.600000] mt76x2_reinit_hi_lna_gain:updated hi_lna0 = 0x33, hi_lna1 = 0x33
[   30.616000] original vga value(chain0) = 48
[   30.624000] original vga value(chain1) = 48
[   30.632000] <==== rt28xx_init, Status=0
[   30.640000] get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=rai
[   30.652000] get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=rai
[   30.664000] get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=rai
[   30.680000] get_dev_name_prefix(): dev_idx = 1, dev_name_prefix=apclii
[   30.692000] RTMPDrvOpen(1):Check if PDMA is idle!
[   30.700000] RTMPDrvOpen(2):Check if PDMA is idle!
[   30.712000] The UUID MacAddress = xx:xx:xx:xx:xx:xx
[   30.712000] 
[   30.724000] The UUID ASCII string is:xx:xx:xx:xx:xx:xx
[   30.736000] The UUID MacAddress = xx:xx:xx:xx:xx:xx
[   30.736000] 
[   30.752000] The UUID ASCII string is:xx:xx:xx:xx:xx:xx
[   30.764000] The UUID MacAddress = xx:xx:xx:xx:xx:xx
[   30.764000] 
[   30.776000] The UUID ASCII string is:xx:xx:xx:xx:xx:xx
[   30.792000] The UUID MacAddress = xx:xx:xx:xx:xx:xx
[   30.792000] 
[   30.804000] The UUID ASCII string is:xx:xx:xx:xx:xx:xx
[   30.816000] The UUID MacAddress = xx:xx:xx:xx:xx:xx
[   30.816000] 
[   30.832000] The UUID ASCII string is:xx:xx:xx:xx:xx:xx
[   32.752000] FFFFFF80:3F:5D:FFFFFFD4:4A:63
[   32.760000] Raeth v3.1 (Tasklet)
[   32.768000] 
[   32.768000] phy_tx_ring = 0x01a32000, tx_ring = 0xa1a32000
[   32.780000] 
[   32.780000] phy_rx_ring0 = 0x01a34000, rx_ring[0] = 0xa1a34000
[   32.796000] 
[   32.796000] phy_rx_ring0 = 0x01a34000, rx_ring[0] = 0xa1a34000
[   32.812000] 
[   32.812000]  Read PhyID ID0:1C ID1:C916!!
[   32.824000] RTL8211F
[   32.828000] 0x19:863
[   32.832000] 0x0:1040
[   32.832000] 
[   32.840000] 
[   32.840000]  Read PhyID ID0:1C ID1:C916!!
[   32.852000] RTL8211F
[   32.856000] 0x19:863
[   32.860000] 0x0:1040
[   32.860000] 
[   32.868000] SMACCR1 -- : 0x0000803f
[   32.872000] SMACCR0 -- : 0x5dd44a63
[   32.880000] esw_update_led 5
[   32.880000] ESW: Link Status Changed - Port5 Link Down
[   32.896000] CDMA_CSG_CFG = 81000000
[   32.904000] GDMA1_FWD_CFG = 20710000
[   33.232000] device eth2 entered promiscuous mode
[   35.944000] esw_update_led 5
[   35.944000] ESW: Link Status Changed - Port5 Link UP
[   37.604000] device ra0 entered promiscuous mode
[   37.804000] device eth2.1 entered promiscuous mode
[   37.836000] device rai0 entered promiscuous mode
[   39.308000] br0: port 3(rai0) entering learning state
[   39.320000] br0: port 3(rai0) entering learning state
[   39.328000] br0: port 2(eth2.1) entering learning state
[   39.340000] br0: port 2(eth2.1) entering learning state
[   39.348000] br0: port 1(ra0) entering learning state
[   39.360000] br0: port 1(ra0) entering learning state
[   40.320000] br0: port 3(rai0) entering forwarding state
[   40.340000] br0: port 2(eth2.1) entering forwarding state
[   40.360000] br0: port 1(ra0) entering forwarding state
[   42.260000] esw_update_led 5
[   42.260000] ESW: Link Status Changed - Port5 Link Down
[   45.036000] [7620]:The 8-BSSID mode is enabled, the BSSID byte5 MUST be the multiple of 8
[   45.060000] br0: port 1(ra0) entering forwarding state
[   45.136000] switch register base addr to 0xb0180000
[   45.152000] write offset 0x400, value 0x1080
[   45.164000] write offset 0x1204, value 0x8
[   45.172000] write offset 0x1004, value 0x3
[   45.264000] Ralink HW NAT Module Enabled
[   45.276000] PpeDevRegHandler : ineterface eth2 register (0)
[   45.288000] PpeSetDstPort :dst_port[0] =eth2
[   45.320000] PpeDevRegHandler : ineterface rai0 register (1)
[   45.352000] esw_update_led 5
[   45.352000] ESW: Link Status Changed - Port5 Link UP
[   45.384000] ADDRCONF(NETDEV_UP): ra0: link is not ready
[   45.396000] ADDRCONF(NETDEV_UP): ra1: link is not ready
[   45.404000] ADDRCONF(NETDEV_UP): ra2: link is not ready
[   45.416000] ADDRCONF(NETDEV_UP): ra3: link is not ready
[   45.428000] ADDRCONF(NETDEV_UP): apcli0: link is not ready
[   45.436000] ADDRCONF(NETDEV_UP): rai1: link is not ready
[   45.448000] ADDRCONF(NETDEV_UP): rai2: link is not ready
[   45.460000] ADDRCONF(NETDEV_UP): rai3: link is not ready
[   45.468000] ADDRCONF(NETDEV_UP): apclii0: link is not ready
[   45.624000] WLINK IGD Filter V1.0
[   45.632000] LAN IF: br0
[   45.636000] WAN IF: eth2.2
[   45.644000] Bridge mode: False
[   45.648000] New domain [2] : wifi.wavlink.com
[   45.656000] New domain [3] : ap.setup
[   45.664000] Domain List [0] ap.setup
[   45.672000] Domain List [1] wifi.wavlink.com
[   45.680000] Domain List [2] wifi.wavlink.com
[   45.688000] Domain List [3] ap.setup
[   45.696000] WLINK IGD: Device lo is up.
[   45.704000] WLINK IGD: Device eth2 is up.
[   45.712000] WLINK IGD: Device rai0 is up.
[   45.720000] WLINK IGD: Device eth2.1 is up.
[   45.728000] WLINK IGD: Device eth2.2 is up.
[   45.736000] WLINK IGD: Device br0 is up.
[   45.744000] WLINK IGD: LAN Device[br0] = 10ba8c0, 192.168.11.1, xx:xx:xx:xx:xx:xx 
[   45.760000] WLINK IGD Timer be started.
[   53.884000] led=72, on=4000, off=1, blinks=1, reset=1, time=4000
[   54.400000] eth2: no IPv6 routers present
[   54.416000] rai0: no IPv6 routers present
[   54.496000] eth2.1: no IPv6 routers present
[   55.936000] eth2.2: no IPv6 routers present
[   57.048000] br0: no IPv6 routers present
[   77.420000] led=9, on=4000, off=1, blinks=1, reset=1, time=4000
[   77.440000] led=14, on=10, off=10, blinks=4000, reset=1, time=4000

			

cat /proc/cmdline

console=ttyS1,57600n8 root=/dev/ram0 console=ttyS0

cat /proc/meminfo

MemTotal:          58720 kB
MemFree:           18800 kB
Buffers:               0 kB
Cached:            19472 kB
SwapCached:            0 kB
Active:             8712 kB
Inactive:          13144 kB
Active(anon):       2384 kB
Inactive(anon):        0 kB
Active(file):       6328 kB
Inactive(file):    13144 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:          2428 kB
Mapped:             1528 kB
Shmem:                 0 kB
Slab:              11296 kB
SReclaimable:       2516 kB
SUnreclaim:         8780 kB
KernelStack:         328 kB
PageTables:          288 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:       29360 kB
Committed_AS:       9212 kB
VmallocTotal:    1048372 kB
VmallocUsed:        6796 kB
VmallocChunk:    1037320 kB

cat /proc/devices

Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
 10 misc
 90 mtd
108 ppp
128 ptm
136 pts
180 usb
189 usb_device
220 hwnat0
240 wlinkigd
251 apsoc_nvram
252 gpio
253 rdm0
254 bsg

Block devices:
  1 ramdisk
259 blkext
  8 sd
 31 mtdblock
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd

ls /sys/devices/platform

serial8250
rt3xxx-ohci
rt3xxx-ehci
uevent

cat /proc/mtd

	dev:    size   erasesize  name
mtd0: 00800000 00010000 "ALL"
mtd1: 00030000 00010000 "Bootloader"
mtd2: 00010000 00010000 "Config"
mtd3: 00010000 00010000 "Factory"
mtd4: 007b0000 00010000 "Kernel"

cat /sys/class/mtd/mtd/offset

	cat: can't open '/sys/class/mtd/mtd/offset': No such file or directory

  1. ifconfig -a
	apcli0    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

apclii0   Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br0       Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          inet addr:192.168.11.1  Bcast:192.168.11.255  Mask:255.255.255.0
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1620 errors:0 dropped:0 overruns:0 frame:0
          TX packets:873 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:198503 (193.8 KiB)  TX bytes:224986 (219.7 KiB)

eth2      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1685 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1003 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:235320 (229.8 KiB)  TX bytes:295384 (288.4 KiB)
          Interrupt:3 

eth2.1    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1685 errors:0 dropped:0 overruns:0 frame:0
          TX packets:878 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:211730 (206.7 KiB)  TX bytes:225376 (220.0 KiB)

eth2.2    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:120 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:67728 (66.1 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ra0       Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:4 

ra1       Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ra2       Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ra3       Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

rai0      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          inet6 addr: xxxx::xxxx:xxxx:xxxx:xxxx/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:13 

rai1      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

rai2      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

rai3      Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

ls /sys/class/net

	br0
eth2.2
eth2.1
apclii0
rai3
rai2
rai1
apcli0
ra3
ra2
ra1
rai0
ra0
eth2
lo

brctl show

	bridge name	bridge id		STP enabled	interfaces
br0		8000.803f5dd44a63	no		ra0
							eth2.1
							rai0