Build for Linksys EA9500

I think it may still be the case. I had my 5 LAN ports connected to physical ports 1, 2, 3, 4, 5 (my laptop connected to 4) and I wasn't able to ping anything that was directly connected. I was able to ping wifi-connected devices, and wifi-connected devices were able to connect to everything. From inside the router (via ssh) I was able to ping everything. I moved my laptop connection from port 4 to port 6 and I am now able to connect to everything.

Hello. I'd like to try your stable-release version, but I'm wondering about the switch. With your build and configuration, is there still a limitation on which switch ports groups can communicate (1,2,3,5,6 / 4,6,8)?

Looks like apparently it does.

On my swconfig-based builds (available here), wired communication between the ports on the BCM53125 external switch (LAN1,2,3,5,6) and the BCM53012 internal switch (WAN,LAN4,7,8) is no problem.

Please see the image below.

Took me a month...
I guess I should be pleased that it only took me a week to find the
error of my ways. In truth, it was close to accidental I noticed the
D-Link logo on the wall wart.
Honestly, I'm surprised it worked at all at 5V. I guess the 3V3 and
lower voltage circuits were sufficiently supplied by the voltage
regulator(s). Lessons learned; it could have been far more
painful... As Billy Pilgrim so often uttered: So it goes...
Again, thanks!

Bob

I'm still having issues with radio0 & 2 even with these new firmware versions. All settings are as you requested forat least NA.

Luci says one channel while wifi status and uci gives me another, and I'm seeing errors like this in dmesg.

Could it simply be my 5ghz wifi chipset is failing here if no one else is getting these errors?


ieee80211 phy2: brcmf_cfg80211_start_ap: Set Channel failed: chspec=53413, -52

iw list

root@EA9500:~# iw list
Wiphy phy2
	max # scan SSIDs: 10
	max scan IEs length: 2048 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports roaming.
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 2:
		Capabilities: 0x1062
			HT20/HT40
			Static SM Power Save
			RX HT20 SGI
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 16 usec (0x07)
		HT TX/RX MCS rate indexes supported: 0-31
		VHT Capabilities (0x0c1b4064):
			Max MPDU length: 3895
			Supported Channel Width: 160 MHz
			short GI (80 MHz)
			short GI (160/80+80 MHz)
			MU Beamformer
			MU Beamformee
		VHT RX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: MCS 0-9
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT RX highest supported: 0 Mbps
		VHT TX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: MCS 0-9
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT TX highest supported: 0 Mbps
		Frequencies:
			* 5170 MHz [34] (disabled)
			* 5180 MHz [36] (20.0 dBm)
			* 5190 MHz [38] (20.0 dBm)
			* 5200 MHz [40] (20.0 dBm)
			* 5210 MHz [42] (20.0 dBm)
			* 5220 MHz [44] (20.0 dBm)
			* 5230 MHz [46] (20.0 dBm)
			* 5240 MHz [48] (20.0 dBm)
			* 5260 MHz [52] (20.0 dBm) (radar detection)
			* 5280 MHz [56] (20.0 dBm) (radar detection)
			* 5300 MHz [60] (20.0 dBm) (radar detection)
			* 5320 MHz [64] (20.0 dBm) (radar detection)
			* 5500 MHz [100] (20.0 dBm) (radar detection)
			* 5520 MHz [104] (20.0 dBm) (radar detection)
			* 5540 MHz [108] (20.0 dBm) (radar detection)
			* 5560 MHz [112] (20.0 dBm) (radar detection)
			* 5580 MHz [116] (20.0 dBm) (radar detection)
			* 5600 MHz [120] (20.0 dBm) (radar detection)
			* 5620 MHz [124] (20.0 dBm) (radar detection)
			* 5640 MHz [128] (20.0 dBm) (radar detection)
			* 5660 MHz [132] (20.0 dBm) (radar detection)
			* 5680 MHz [136] (20.0 dBm) (radar detection)
			* 5700 MHz [140] (20.0 dBm) (radar detection)
			* 5720 MHz [144] (20.0 dBm) (radar detection)
			* 5745 MHz [149] (20.0 dBm)
			* 5765 MHz [153] (20.0 dBm)
			* 5785 MHz [157] (20.0 dBm)
			* 5805 MHz [161] (20.0 dBm)
			* 5825 MHz [165] (20.0 dBm)
	valid interface combinations:
		 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
		   total <= 3, #channels <= 1
		 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
		   total <= 4, #channels <= 1
		 * #{ AP } <= 4,
		   total <= 4, #channels <= 1, STA/AP BI must match
	Supported extended features:
		* [ DFS_OFFLOAD ]: DFS offload
Wiphy phy1
	max # scan SSIDs: 10
	max scan IEs length: 2048 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports roaming.
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 1:
		Capabilities: 0x1022
			HT20/HT40
			Static SM Power Save
			RX HT20 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 16 usec (0x07)
		HT TX/RX MCS rate indexes supported: 0-31
		Frequencies:
			* 2412 MHz [1] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (disabled)
			* 2472 MHz [13] (disabled)
			* 2484 MHz [14] (disabled)
	valid interface combinations:
		 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
		   total <= 3, #channels <= 1
		 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
		   total <= 4, #channels <= 1
		 * #{ AP } <= 4,
		   total <= 4, #channels <= 1, STA/AP BI must match
	Supported extended features:
Wiphy phy0
	max # scan SSIDs: 10
	max scan IEs length: 2048 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 1 (up to 450m)
	Device supports roaming.
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * P2P-client
		 * P2P-GO
		 * P2P-device
	Band 2:
		Capabilities: 0x1062
			HT20/HT40
			Static SM Power Save
			RX HT20 SGI
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 3839 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 16 usec (0x07)
		HT TX/RX MCS rate indexes supported: 0-31
		VHT Capabilities (0x0c1b4064):
			Max MPDU length: 3895
			Supported Channel Width: 160 MHz
			short GI (80 MHz)
			short GI (160/80+80 MHz)
			MU Beamformer
			MU Beamformee
		VHT RX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: MCS 0-9
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT RX highest supported: 0 Mbps
		VHT TX MCS set:
			1 streams: MCS 0-9
			2 streams: MCS 0-9
			3 streams: MCS 0-9
			4 streams: MCS 0-9
			5 streams: not supported
			6 streams: not supported
			7 streams: not supported
			8 streams: not supported
		VHT TX highest supported: 0 Mbps
		Frequencies:
			* 5170 MHz [34] (disabled)
			* 5180 MHz [36] (20.0 dBm)
			* 5190 MHz [38] (20.0 dBm)
			* 5200 MHz [40] (20.0 dBm)
			* 5210 MHz [42] (20.0 dBm)
			* 5220 MHz [44] (20.0 dBm)
			* 5230 MHz [46] (20.0 dBm)
			* 5240 MHz [48] (20.0 dBm)
			* 5260 MHz [52] (20.0 dBm) (radar detection)
			* 5280 MHz [56] (20.0 dBm) (radar detection)
			* 5300 MHz [60] (20.0 dBm) (radar detection)
			* 5320 MHz [64] (20.0 dBm) (radar detection)
			* 5500 MHz [100] (20.0 dBm) (radar detection)
			* 5520 MHz [104] (20.0 dBm) (radar detection)
			* 5540 MHz [108] (20.0 dBm) (radar detection)
			* 5560 MHz [112] (20.0 dBm) (radar detection)
			* 5580 MHz [116] (20.0 dBm) (radar detection)
			* 5600 MHz [120] (20.0 dBm) (radar detection)
			* 5620 MHz [124] (20.0 dBm) (radar detection)
			* 5640 MHz [128] (20.0 dBm) (radar detection)
			* 5660 MHz [132] (20.0 dBm) (radar detection)
			* 5680 MHz [136] (20.0 dBm) (radar detection)
			* 5700 MHz [140] (20.0 dBm) (radar detection)
			* 5720 MHz [144] (20.0 dBm) (radar detection)
			* 5745 MHz [149] (20.0 dBm)
			* 5765 MHz [153] (20.0 dBm)
			* 5785 MHz [157] (20.0 dBm)
			* 5805 MHz [161] (20.0 dBm)
			* 5825 MHz [165] (20.0 dBm)
	valid interface combinations:
		 * #{ managed } <= 1, #{ P2P-device } <= 1, #{ P2P-client, P2P-GO } <= 1,
		   total <= 3, #channels <= 1
		 * #{ managed } <= 1, #{ AP } <= 1, #{ P2P-client } <= 1, #{ P2P-device } <= 1,
		   total <= 4, #channels <= 1
		 * #{ AP } <= 4,
		   total <= 4, #channels <= 1, STA/AP BI must match
	Supported extended features:
		* [ DFS_OFFLOAD ]: DFS offload

Wireless Config

config wifi-device 'radio0'
        option type 'mac80211'
        option hwmode '11a'
        option path '18000000.axi/bcma0:7/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:01.0/0000:03:00.0'
        option country 'US'
        option htmode 'VHT40'
        option distance '10'
        option channel '36'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'xxxxx'
        option encryption 'psk2'
        option key 'xxxxx'

config wifi-device 'radio1'
        option type 'mac80211'
        option hwmode '11g'
        option path '18000000.axi/bcma0:7/pci0000:00/0000:00:00.0/0000:01:00.0/0000:02:02.0/0000:04:00.0'
        option htmode 'HT40'
        option legacy_rates '0'
        option noscan '1'
        option country 'US'
        option channel '3'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
 option ssid 'xxxxx'
        option encryption 'psk2'
        option key 'xxxxx'

config wifi-device 'radio2'
        option type 'mac80211'
        option hwmode '11a'
        option path '18000000.axi/bcma0:8/pci0001:00/0001:00:00.0/0001:01:00.0'
        option country 'US'
        option distance '10'
        option channel '165'
        option htmode 'VHT40'
        option disabled '1'

config wifi-iface 'default_radio2'
        option device 'radio2'
        option network 'lan'
        option mode 'ap'
        option ssid 'xxxx'
        option encryption 'psk2'
        option key 'xxxx'
        option short_preamble '0'
        option disabled '1'
1 Like

Try:

radio0 = 44
radio2 = 153

Then reboot the router

That seems to have fixed radio 0,but 1 is still showing defaulting to 36.

1 Like

Could you further explain how you managed to get this to work? Also why not show all 8 ports if that is possible? I guess it would actually be 9 because of the internal connection.

Hi,

i still problems with upnp. After starting service, System log error:

daemon.err miniupnpd[2721]: could not open lease file: /var/run/miniupnpd.leases

and it never opens a port...

The ports attached to the BCM53125 (LAN1,2,3,5,6) simply function like a dumb switch on this device.

I am aware of that. My question is are you using all 8 ports?

I'm using 6 out of 8 LAN ports - all the "internal" BCM53012 ports plus some of the ports on the "external" BCM53125 and can confirm that traffic passes just fine between the two.

Here's a picture of my EA9500, as configured:

1 Like

"The EA9500's CPU ports are directly connected to a BCM53012 switch wired to LAN4,7,8 plus an external BCM53125 switch wired to LAN1,2,3,5,6. This may result in some pretty bizarre network operation."

4, 7 and 8 work, but they cannot talk to any local system.

In my case, port 3 also needs to be up at 1gbps to have high wifi to lan throughput.

It's weird.

Are you testing with npcomplete's builds (DSA) or my builds (swconfig)?

I achieved this result with my swconfig-based builds - this is a 15GB file copy from my desktop (connected to a port on the BCM53125 external switch) to my laptop (connected to a 5GHz radio, 802.11ac, channel 36, VHT80, 866Mbps).

Physical LAN port 3 on the EA9500 is not connected at all.

I tried the file copy both ways, and speed was consistent at around 500-600Mbps, which is a fairly okay real-world speed for 2-stream 802.11ac.

wireguard! :heart_eyes:

Is that a thumb drive, or your zigbee radio stick?

Hi, I recently flashed on Openwrt recently, I have a problem, the EA9500 does not want to reboot until the Internetcable is pulled out, what can I do about it?

Good day!

I have released OpenWrt 19.07.1 for Linksys EA9500.
It has been built to match the .vermagic of the official release, meaning you can finally install kernel modules with opkg from the official repository!

Let me know if you experience any bugs with this release.

1 Like

Hello
I am on the latest npcomplete version. Can I upgrade directly from openwrt menu with yours? Should I reset to factory settings or can I keep current settings? Thank you.