Error on opening Software

We've never actually looked at your configs... let's do that now:

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall

This is all new to me, but I have managed this list using SSH, using command prompt.

Microsoft Windows [Version 10.0.26100.4202]
(c) Microsoft Corporation. All rights reserved.

C:\Users\marti>ssh root@192.168.1.1
The authenticity of host '192.168.1.1 (192.168.1.1)' can't be established.
ED25519 key fingerprint is SHA256:fIEH5Bz3Y5jaTqGyo3Ta6vlIzAGkISMb8eU10H9XAWo.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? y
Please type 'yes', 'no' or the fingerprint: yes
Warning: Permanently added '192.168.1.1' (ED25519) to the list of known hosts.
root@192.168.1.1's password:
Permission denied, please try again.
root@192.168.1.1's password:


BusyBox v1.36.1 (2023-10-09 21:45:35 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 23.05.0, r23497-6637af95aa
 -----------------------------------------------------
root@OpenWrt:~# ubus call system board
 /etc/config/fir{
        "kernel": "5.15.134",
        "hostname": "OpenWrt",
        "system": "Qualcomm Atheros QCA956X ver 1 rev 0",
        "model": "TP-Link Archer C6 v2 (EU/RU/JP)",
        "board_name": "tplink,archer-c6-v2",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.0",
                "revision": "r23497-6637af95aa",
                "target": "ath79/generic",
                "description": "OpenWrt 23.05.0 r23497-6637af95aa"
        }
}
root@OpenWrt:~# cat /etc/config/network

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

config globals 'globals'
        option ula_prefix 'fd08:8a35:f4dd::/48'

config device
        option name 'br-lan'
        option type 'bridge'
        list ports 'eth0.1'

config interface 'lan'
        option device 'br-lan'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

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

config interface 'wan6'
        option device '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 '2 3 4 5 0t'

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

root@OpenWrt:~# cat /etc/config/wireless
ewall
config wifi-device 'radio0'
        option type 'mac80211'
        option path 'pci0000:00/0000:00:00.0'
        option channel '36'
        option band '5g'
        option htmode 'VHT80'
        option cell_density '0'

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

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'platform/ahb/18100000.wmac'
        option channel '1'
        option band '2g'
        option htmode 'HT20'
        option cell_density '0'

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

root@OpenWrt:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option cachesize '1000'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'
        option filter_aaaa '0'
        option filter_a '0'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        option ra_slaac '1'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

root@OpenWrt:~# cat /etc/config/firewall

Was this of any help solving my Software download issue?

are you using the wan port of the C6 v2 ?


Frolic, yes, I believe so, but here is a screen dump of my settings.

Sorry for the delay, I’m not seeing email notifications of any new postings, so it’s only when I log onto the forum that I see any additional comments.

Thanks once agin for your hel and support.

You're not, there's no Rx traffic on the wan ports.

1 Like

Thank you, please can you explain what I need todo to correct this?

Just use the WAN/Internet port.

‘Just use the WAN/Internet port.’ Please can you explain more?
I do have full internet access through this OpenWRT Router. It’s just like to see what other software is available, for example could I add my two Tp-Link Mesh extenders? It errors everytime I try to download software.

Temp move the cable to the WAN port...

I have an Ethernet cable that runs from my modem to the LAN port on the Router running OpenORT. I’ve moved the cable to the WAN port at which point this looses internet.
The Modem does not have a WAN port as it has a telephone type connection to broadband.

Please provide your /etc/config/network file for reference.

If you look back through these postings I believe you will find I posted what you asked for some days ago, having been asked a similar question.

So far no-one has come back and identified any issues.

Can I again say the only apparent issue I am having is that I’m unable to download the available software lists?

1 Like

Consider doing the following:

Disconnect the router from ISP, only keep your PC connected via an Ethernet cable to the LAN port of the router.

Reset the router to defaults

After resetting login to the router, set a password and change the routers IP address on the lan from 192.168.1.1 to 192.168.2.1.

Reboot the router
Reboot the PC

Connect the WAN port of the router to a LAN port of the ISP router.

Now you should have internet on your router

I really feel I am going round and round in circles.

Internet is NOT not the issue! I do have internet access through this OpenWRT router.

This all started as I don’t seem able to bring up the ‘Software’ list it just gives me an error message - which you will find somewhere in these posts.

PERHAPS my access is not the issue, but the availability of the sofware list.

Or whatever config changes you made to your device...

To the very best of my knowledge once installed the only changes I made were to add WiFi settings.

The first time I installed OpenWRT only one WiFi band(?) would instal so I was told to install an earlier version of OpenWRT, which I did, setting up the two WiFis afterwards. I also misunderstood that my Router was also a modem. (Silly I know now!)

It works, we have internet through it on iPads, iPhones, a Mac and a Window laptop.

I’m a newcomer, not that technical, but willing to learn, at 78! Looked at many YouTube’s on installing and don’t see I did anything beyond the basic set up. But I would like to, for example, add two mesh extenders. Hence my interest in the Software list, and this one issue I have.

reset your device, then connect to it using an ethernet cable.
configure wifi the way you'd like it to be.

edit /etc/config/network, change the lan paragraph to:

config interface 'lan'
        option device 'br-lan'
        option proto 'dhcp'

save and reboot.
hook it up to your main router using one of the LAN ports.

keep in mind your device will get a new IP after this, you'll need to check your main router to find out what it is.

1 Like

frolic BIG thank you.

Followed your instruction (took me two attempts) but I now have access to the software files . WOW….
Thank you once again.

1 Like