Can't connect to router on LAN after installing OpenWrt

I've installed 19.07.2 on my old SkySR102 router.
There was not enough space to load the whole image including LUCI, so with serial TTL console I first replaced the bootloader with CFE_Generic. Then using the CFE web GUI server I uploaded
openwrt-brcm63xx-generic-SKY-SR102-squashfs-cfe-with-luci.bin

All proceeded fine until it rebooted. I then was unable to reconnect on 192.168.1.1.

With just the CFE prompt and ethernet cable connected I can ping the router from the PC and vice versa.
However when openwrt is installed ping no longer works in either direction.

On the serial console I can see the ethernet ports are live (I've tried all four) as when I connect the cable I see "link UP on portX 100Mbps full-duplex" and "link down" when I unplug.

Openwrt appears to be fully installed correctly. I can see the banner and whole file structure.
The contents of /etc/config/luci appear to be as default.
However, the file /rom/etc/config/luci does not exist - should it?

The contents of /etc/config/network show LAN IP as 192.168.1.1.
This is the same subnet as I have on the PC (192.168.1.2). I've tried LinuxMint and Windows 10 also with incognito window in Chrome.

A long press of the reset button re-instates the CFE> prompt and then I can instantly reconnect on 192.168.1.1 over LAN again.

I've repeated the whole re-installation numerous times and used different ethernet cables.

I'm beat. Why can I not connect to luci on LAN?

From the manual:

After it reboots, connect to the bootloader http://192.168.0.1 (or the command line) and upload the image again .

Did you follow that step?

Well I tried to but it is not the original bootloader on 192.168.0.1 anymore.
It is the generic CFE on 192.168.1.1. This has a much smaller set of available cmds and wget is not one of them, so I cannot install through serial console and, as I explained above, I cannot connect on 192.168.1.1 at all to upload the image again.

I hope you uploaded the correct image, http://downloads.openwrt.org/releases/19.07.2/targets/brcm63xx/smp/openwrt-19.07.2-brcm63xx-smp-SR102-squashfs-cfe.bin , which doesn't mention the with-luci
When the device has finished booting and some device is connected to the lan ports, what is the output of:
ip addr; ip -4 ro; ip -6 ro; swconfig dev switch0 show

1 Like

Thank you for you interest in this!
I've tried a few images.
openwrt-brcm63xx-generic-SKY-SR102-squashfs-cfe-with-luci.bin (16.7MB)

openwrt-19.07.2-brcm63xx-smp-SR102-squashfs-cfe.bin (3.6MB)

openwrt-19.07.2-brcm63xx-generic-SR102-squashfs-cfe.bin (3.5MB)

THis is the output you asked for:-


root@OpenWrt:/# ip addr; ip -4 ro; ip -6 ro; swconfig dev switch0 show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP qlen 1000
    link/ether 00:10:18:01:01:01 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::210:18ff:fe01:101/64 scope link 
       valid_lft forever preferred_lft forever
4: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 00:10:18:01:01:01 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fd22:5e3e:eddd::1/60 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::210:18ff:fe01:101/64 scope link 
       valid_lft forever preferred_lft forever
5: eth0.1@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 00:10:18:01:01:01 brd ff:ff:ff:ff:ff:ff
6: eth0.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 00:10:18:01:01:01 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::210:18ff:fe01:101/64 scope link 
       valid_lft forever preferred_lft forever
192.168.1.0/24 dev br-lan scope link  src 192.168.1.1 
fd22:5e3e:eddd::/64 dev br-lan  metric 1024 
unreachable fd22:5e3e:eddd::/48 dev lo  metric 2147483647  error -148
fe80::/64 dev eth0  metric 256 
fe80::/64 dev eth0.2  metric 256 
fe80::/64 dev br-lan  metric 256 
anycast fd22:5e3e:eddd:: dev br-lan  metric 0 
anycast fe80:: dev eth0.2  metric 0 
anycast fe80:: dev eth0  metric 0 
anycast fe80:: dev br-lan  metric 0 
ff00::/8 dev eth0  metric 256 
ff00::/8 dev br-lan  metric 256 
ff00::/8 dev eth0.2  metric 256 
Global attributes:
	enable_vlan: 1
	ports: 0x010f
	reset_mib: ???
	enable_jumbo: 0
	allow_vid_4095: 0
Port 0:
	mib: TxOctets            : 0
TxDropPkts          : 0
TxQoSPkts           : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
TxQoSOctets         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxSymbolErrors      : 0
RxQoSPkts           : 0
RxQoSOctets         : 0
Pkts1523to2047Octets: 0
Pkts2048to4095Octets: 0
Pkts4096to8191Octets: 0
Pkts8192to9728Octets: 0
RxDiscarded         : 0

	pvid: 1
	link: port:0 link:down
Port 1:
	mib: TxOctets            : 0
TxDropPkts          : 0
TxQoSPkts           : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
TxQoSOctets         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxSymbolErrors      : 0
RxQoSPkts           : 0
RxQoSOctets         : 0
Pkts1523to2047Octets: 0
Pkts2048to4095Octets: 0
Pkts4096to8191Octets: 0
Pkts8192to9728Octets: 0
RxDiscarded         : 0

	pvid: 1
	link: port:1 link:down
Port 2:
	mib: TxOctets            : 0
TxDropPkts          : 0
TxQoSPkts           : 0
TxBroadcastPkts     : 0
TxMulticastPkts     : 0
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
TxQoSOctets         : 0
RxOctets            : 0
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 0
Pkts128to255Octets  : 0
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 0
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 0
RxBroadcastPkts     : 0
RxSAChanges         : 0
RxFragments         : 0
RxSymbolErrors      : 0
RxQoSPkts           : 0
RxQoSOctets         : 0
Pkts1523to2047Octets: 0
Pkts2048to4095Octets: 0
Pkts4096to8191Octets: 0
Pkts8192to9728Octets: 0
RxDiscarded         : 0

	pvid: 1
	link: port:2 link:down
Port 3:
	mib: TxOctets            : 121600
TxDropPkts          : 0
TxQoSPkts           : 0
TxBroadcastPkts     : 341
TxMulticastPkts     : 26
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
TxQoSOctets         : 0
RxOctets            : 19336
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 28
Pkts65to127Octets   : 16
Pkts128to255Octets  : 77
Pkts256to511Octets  : 0
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 0
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 19336
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 93
RxBroadcastPkts     : 28
RxSAChanges         : 1
RxFragments         : 0
RxSymbolErrors      : 0
RxQoSPkts           : 0
RxQoSOctets         : 0
Pkts1523to2047Octets: 0
Pkts2048to4095Octets: 0
Pkts4096to8191Octets: 0
Pkts8192to9728Octets: 0
RxDiscarded         : 0

	pvid: 2
	link: port:3 link:up speed:100baseT full-duplex auto
Port 4:
	mib: ???
	pvid: 0
	link: port:4 link:down
Port 5:
	mib: ???
	pvid: 0
	link: port:5 link:down
Port 6:
	mib: ???
	pvid: 0
	link: port:6 link:down
Port 7:
	mib: ???
	pvid: 0
	link: port:7 link:down
Port 8:
	mib: TxOctets            : 14856
TxDropPkts          : 0
TxQoSPkts           : 0
TxBroadcastPkts     : 1
TxMulticastPkts     : 75
TxUnicastPkts       : 0
TxCollisions        : 0
TxSingleCollision   : 0
TxMultipleCollision : 0
TxDeferredTransmit  : 0
TxLateCollision     : 0
TxExcessiveCollision: 0
TxPausePkts         : 0
TxQoSOctets         : 0
RxOctets            : 128463
RxUndersizePkts     : 0
RxPausePkts         : 0
Pkts64Octets        : 0
Pkts65to127Octets   : 31
Pkts128to255Octets  : 28
Pkts256to511Octets  : 342
Pkts512to1023Octets : 0
Pkts1024to1522Octets: 1
RxOversizePkts      : 0
RxJabbers           : 0
RxAlignmentErrors   : 0
RxFCSErrors         : 0
RxGoodOctets        : 128463
RxDropPkts          : 0
RxUnicastPkts       : 0
RxMulticastPkts     : 59
RxBroadcastPkts     : 343
RxSAChanges         : 1
RxFragments         : 0
RxSymbolErrors      : 0
RxQoSPkts           : 0
RxQoSOctets         : 0
Pkts1523to2047Octets: 0
Pkts2048to4095Octets: 0
Pkts4096to8191Octets: 0
Pkts8192to9728Octets: 0
RxDiscarded         : 0

	pvid: 0
	link: port:8 link:up speed:1000baseT full-duplex 
VLAN 1:
	ports: 0 1 2 8t 
VLAN 2:
	ports: 3 8t 
root@OpenWrt:/# 

Your client might be connected to the WAN port. Try one of the others.

3 Likes

Thank you!!!!
I'd tried all four ports yesterday with no difference.
Now moving the cable to another port today and the problem is solved :slight_smile:

1 Like

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