E2000 lan ports not working

I have flashed my Linksys e2000 to Openwrt 19.07.7 but i am having issue with the Lan ports ,anything connected to any of the ports doesnt seem to be working.

my swconfig list shows this

Found: switch0 - eth0

But nothing else

My 'ls -l /sys/class/net' shows this and not any of the additional ports

lrwxrwxrwx    1 root     root             0 Apr 22 04:57 br-lan -> ../../devices/virtual/net/br-lan
lrwxrwxrwx    1 root     root             0 Jan  1  1970 eth0 -> ../../devices/bcma0:2/net/eth0
lrwxrwxrwx    1 root     root             0 Jan  1  1970 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx    1 root     root             0 Apr 22 05:40 wlan0 -> ../../devices/bcma0:1/net/wlan0

I have tried the steps from this thread https://forum.openwrt.org/t/problems-with-dumb-ap-and-switch-e2000/55755/17

but it makes only the switch work and i lose connectivity to openwrt LUCI and other applications

dmesg

root@OpenWrt:~# dmesg
[    0.000000] Linux version 4.14.221 (builder@buildhost) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11306-c4a6851c72)) #0 Mon Feb 15 15:22:37 2021
[    0.000000] CPU0 revision is: 00019740 (MIPS 74Kc)
[    0.000000] bcm47xx: Using bcma bus
[    0.000000] (NULL device *): bus0: Found chip with id 0x4716, rev 0x01 and package 0x09
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] This processor doesn't support highmem. -32768k highmem ignored
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80455fc0, node_mem_map 81003000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] random: get_random_bytes called from 0x80459744 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: noinitrd console=ttyS0,115200
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27416K/32768K available (3818K kernel code, 163K rwdata, 460K rodata, 220K init, 301K bss, 5352K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 128
[    0.000000] (NULL device *): bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x1F, class 0x0)
[    0.000000] (NULL device *): bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x11, class 0x0)
[    0.000000] (NULL device *): bus0: Core 2 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x00, class 0x0)
[    0.000000] (NULL device *): bus0: Core 3 found: MIPS 74K (manuf 0x4A7, id 0x82C, rev 0x01, class 0x0)
[    0.000000] (NULL device *): bus0: Core 4 found: USB 2.0 Host (manuf 0x4BF, id 0x819, rev 0x04, class 0x0)
[    0.000000] (NULL device *): bus0: Core 5 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0E, class 0x0)
[    0.000000] (NULL device *): bus0: Core 6 found: DDR1/DDR2 Memory Controller (manuf 0x4BF, id 0x82E, rev 0x01, class 0x0)
[    0.000000] (NULL device *): bus0: Core 7 found: Internal Memory (manuf 0x4BF, id 0x80E, rev 0x07, class 0x0)
[    0.000000] (NULL device *): bus0: Core 8 found: I2S (manuf 0x4BF, id 0x834, rev 0x00, class 0x0)
[    0.000000] (NULL device *): bus0: Found rev 5 PMU (capabilities 0x11242C05)
[    0.000000] (NULL device *): bus0: Found serial flash
[    0.000000] (NULL device *): bus0: Found M25P64 serial flash (size: 8192KiB, blocksize: 0x10000, blocks: 128)
[    0.000000] (NULL device *): bus0: Early bus registered
[    0.000000] MIPS: machine is Linksys E2000 V1
[    0.000000] bcm47xx: Setting up vectored interrupts
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 10798081617 ns
[    0.000022] sched_clock: 32 bits at 177MHz, resolution 5ns, wraps every 12132675581ns
[    0.000159] Calibrating delay loop... 176.53 BogoMIPS (lpj=882688)
[    0.070065] pid_max: default: 32768 minimum: 301
[    0.070604] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070658] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.075625] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.075698] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.077436] NET: Registered protocol family 16
[    0.117621] clocksource: Switched to clocksource MIPS
[    0.120546] NET: Registered protocol family 2
[    0.122521] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.122596] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.122649] TCP: Hash tables configured (established 1024 bind 1024)
[    0.122989] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.123062] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.123617] NET: Registered protocol family 1
[    0.123760] PCI: CLS 0 bytes, default 32
[    0.769845] (NULL device *): bus0: Using SPROM revision 8 provided by platform.
[    0.769883] (NULL device *): bus0: PMU resource config unknown or not needed for device 0x4716
[    0.771896] (NULL device *): bus0: Workarounds unknown or not needed for device 0x4716
[    0.771916] (NULL device *): bus0: Initializing MIPS core...
[    0.771937] (NULL device *): bus0: Moved i2s interrupt to oob line 7 instead of 8
[    0.771965] (NULL device *): bus0: set_irq: core 0x0812, irq 3 => 3
[    0.771986] (NULL device *): bus0: set_irq: core 0x082d, irq 4 => 4
[    0.772007] (NULL device *): bus0: set_irq: core 0x0819, irq 5 => 5
[    0.772029] (NULL device *): bus0: set_irq: core 0x0820, irq 6 => 6
[    0.772050] (NULL device *): bus0: set_irq: core 0x0800, irq 2 => 2
[    0.772071] (NULL device *): bus0: set_irq: core 0x0834, irq 0 => 2
[    0.772084] (NULL device *): bus0: IRQ reconfiguration done
[    0.772096] bcma: core 0x0800, irq :
[    0.772107]  2(S)*
[    0.772117]  3
[    0.772144]  4
[    0.772163]  5
[    0.772181]  6
[    0.772199]  D
[    0.772216]  I
[    0.772234]
[    0.772264] bcma: core 0x0812, irq :
[    0.772273]  2(S)
[    0.772281]  3*
[    0.772300]  4
[    0.772317]  5
[    0.772335]  6
[    0.772352]  D
[    0.772370]  I
[    0.772387]
[    0.772416] bcma: core 0x082d, irq :
[    0.772425]  2(S)
[    0.772433]  3
[    0.772451]  4*
[    0.772469]  5
[    0.772486]  6
[    0.772504]  D
[    0.772521]  I
[    0.772537]
[    0.772566] bcma: core 0x082c, irq :
[    0.772574]  2(S)
[    0.772583]  3
[    0.772601]  4
[    0.772618]  5
[    0.772635]  6
[    0.772652]  D
[    0.772670]  I*
[    0.772686]
[    0.772715] bcma: core 0x0819, irq :
[    0.772724]  2(S)
[    0.772732]  3
[    0.772750]  4
[    0.772768]  5*
[    0.772785]  6
[    0.772802]  D
[    0.772819]  I
[    0.772836]
[    0.772866] bcma: core 0x0820, irq :
[    0.772874]  2(S)
[    0.772883]  3
[    0.772901]  4
[    0.772918]  5
[    0.772935]  6*
[    0.772952]  D
[    0.772970]  I
[    0.772986]
[    0.773016] bcma: core 0x082e, irq :
[    0.773024]  2(S)
[    0.773033]  3
[    0.773051]  4
[    0.773068]  5
[    0.773085]  6
[    0.773102]  D*
[    0.773120]  I
[    0.773136]
[    0.773164] bcma: core 0x080e, irq :
[    0.773173]  2(S)
[    0.773181]  3
[    0.773199]  4
[    0.773216]  5
[    0.773234]  6
[    0.773251]  D
[    0.773268]  I*
[    0.773285]
[    0.773313] bcma: core 0x0834, irq :
[    0.773322]  2(S)*
[    0.773330]  3
[    0.773348]  4
[    0.773365]  5
[    0.773383]  6
[    0.773400]  D
[    0.773417]  I
[    0.773434]
[    0.773468] (NULL device *): bus0: PCIEcore in host mode found
[    0.773493] (NULL device *): bus0: This PCIE core is disabled and not working
[    0.775599] (NULL device *): bus0: Bus registered
[    0.777427] Crashlog allocated RAM at address 0x1f00000
[    0.785951] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.799001] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.799047] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.825386] io scheduler noop registered
[    0.825434] io scheduler deadline registered (default)
[    0.826137] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.832009] console [ttyS0] disabled
[    0.852342] serial8250.0: ttyS0 at MMIO 0xb8000300 (irq = 2, base_baud = 1250000) is a U6_16550A
[    1.456565] console [ttyS0] enabled
[    1.496262] 3 bcm47xxpart partitions found on MTD device bcm47xxsflash
[    1.503010] Creating 3 MTD partitions on "bcm47xxsflash":
[    1.508606] 0x000000000000-0x000000040000 : "boot"
[    1.521389] 0x000000040000-0x0000007f0000 : "firmware"
[    1.528754] 3 trx partitions found on MTD device firmware
[    1.534286] Creating 3 MTD partitions on "firmware":
[    1.539492] 0x00000000001c-0x000000000944 : "loader"
[    1.550752] 0x000000000944-0x000000175000 : "linux"
[    1.559876] 0x000000175000-0x0000007b0000 : "rootfs"
[    1.566829] mtd: device 4 (rootfs) set to be root filesystem
[    1.572789] 1 squashfs-split partitions found on MTD device rootfs
[    1.579209] 0x0000003d0000-0x0000007b0000 : "rootfs_data"
[    1.591088] 0x0000007f0000-0x000000800000 : "nvram"
[    1.605525] libphy: Fixed MDIO Bus: probed
[    1.610140] bgmac_bcma bcma0:2: Found PHY addr: 30 (NOREGS)
[    1.704996] b53_common: found switch: BCM53115, rev 8
[    1.710366] libphy: bcma_mdio mii bus: probed
[    1.714839] bgmac_bcma bcma0:2: Support for Roboswitch not implemented
[    1.819322] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[    1.825692] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds)
[    1.836355] NET: Registered protocol family 10
[    1.850805] Segment Routing with IPv6
[    1.854775] NET: Registered protocol family 17
[    1.859574] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.872866] 8021q: 802.1Q VLAN Support v1.8
[    1.888494] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    1.897436] Freeing unused kernel memory: 220K
[    1.902099] This architecture does not have kernel memory protection.
[    2.567679] random: fast init done
[    3.026530] init: Console is alive
[    3.030784] init: - watchdog -
[    4.377039] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.558268] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.576958] init: - preinit -
[    7.102953] random: jshn: uninitialized urandom read (4 bytes read)
[    7.213073] random: jshn: uninitialized urandom read (4 bytes read)
[    7.282296] random: jshn: uninitialized urandom read (4 bytes read)
[    7.349020] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    8.407716] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[    8.415312] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   11.082560] jffs2: notice: (359) jffs2_build_xattr_subsystem: complete building xattr subsystem, 6 of xdatum (3 unchecked, 3 orphan) and 32 of xref (3 dead, 0 orphan) found.
[   11.102012] mount_root: switching to jffs2 overlay
[   11.149320] overlayfs: upper fs does not support tmpfile.
[   11.164967] urandom-seed: Seeding with /etc/urandom.seed
[   11.259184] procd: - early -
[   11.262469] procd: - watchdog -
[   12.079403] procd: - watchdog -
[   12.083664] procd: - ubus -
[   12.350273] urandom_read: 1 callbacks suppressed
[   12.350293] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.364206] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.371967] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.381765] procd: - init -
[   14.627967] urngd: v1.0.2 started.
[   14.892537] random: crng init done
[   14.896041] random: 3 urandom warning(s) missed due to ratelimiting
[   15.203752] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.252691] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.309777] Loading modules backported from Linux version v4.19.161-0-gdaefdc9eb24b
[   15.317739] Backport generated by backports.git v4.19.161-1-0-g4bb568fe
[   15.347922] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.385389] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   15.640707] xt_time: kernel timezone is -0000
[   16.973059] PPP generic driver version 2.4.2
[   16.990401] NET: Registered protocol family 24
[   17.642633] brcmsmac bcma0:1: mfg 4bf core 812 rev 17 class 0 irq 3
[   17.651492] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   17.841807] kmodloader: done loading kernel modules from /etc/modules.d/*
[   37.977132] br-lan: port 1(eth0) entered blocking state
[   37.982613] br-lan: port 1(eth0) entered disabled state
[   37.988757] device eth0 entered promiscuous mode
[   38.064471] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   38.967842] bgmac_bcma bcma0:2 eth0: Link is Up - 1Gbps/Full - flow control off
[   38.975469] br-lan: port 1(eth0) entered blocking state
[   38.980931] br-lan: port 1(eth0) entered forwarding state
[   39.027868] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

The output of uci export

root@OpenWrt:~# uci export network
package network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd30:f3ba:da72::/48'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0'
        option proto 'static'
        option ipaddr '10.0.0.251'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option gateway '10.0.0.1'
        list dns '10.0.0.220'

Should i attempt a 30-30-30 reset ? (But it wasnt advised)
I've tried installing the kmod- bgmac driver ,but to no avail.
Could anyone help me out with this ? At my wits end here.

@aksine, welcome to the community!

Are you running a custom built firmware?

I wasn't aware the official version would safely flash to the device.

(I realized this is an e2000, not an e1000.)

What additional ports?

That seems to be all of them (you are aware the switch IS eth0, correct??? :bulb: ).

You're missing the config for the switch.

@aksine, welcome to the community!

Hello :smiley: ,thank you so much for helping me out

What additional ports?
That seems to be all of them (you are aware the switch IS eth0, correct??? :bulb: ).

The wan port seems to be missing ? like an eth0.1 or eth1 ,or am i getting it wrong? . Please correct me

You're missing the config for the switch.

Hmm ,its missing by default huh ? Its a freshly flashed to Openwrt 19 from stock
Let me try something from here:https://openwrt.org/docs/guide-user/network/vlan/switch

Would something like this work for the switch config ?

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

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

also in that case ,what device should my 'lan' interface use ? eth0 still ? or eth0.1 ?

Once again ,thank you so much .

...that seems odd, I'd reset to default.

Its a freshly flashed to Openwrt 19 from stock

Actually my bad i made mistake , it was dd-wrt since i couldnt get it to flash from stock ( even tried using IE in a virtual machine to it ).

But i actually just was trying out Tomato and just NOW flashed back Openwrt to try out these settings ,lo and behold everything works now ! I can see everything !

my 'uci network export' for anyone who might run into this problem




config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd32:83ec:e222::/48'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0.1'
        option proto 'static'
        option netmask '255.255.255.0'
        option ip6assign '60'
        option gateway '10.0.0.1'
        option ipaddr '10.0.0.251'
        list dns '10.0.0.220'

config interface 'wan'
        option ifname 'eth0.2'
        option proto 'dhcp'

config interface 'wan6'
        option ifname 'eth0.2'
        option proto 'dhcpv6'

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

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '1 2 3 4 8t'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '0 8t'

Thank you so much for trying to help. I guess i kind of solved it myself :sweat_smile:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.