I read the Docs repeatedly. From what I could understand, the documentation advised flashing my R620 with the 'Installation URL' found on the bottom of this page:
I looked around the site for answers and I stumbled upon this post: [SOLVED] Beginner: Installing 19.07 on Netgear R6260
where the original author is advised to install the version r6350 stable snapshot on the R6260. So I proceeded to do just that instead of fussing with the version that I had already flashed to my router. And it bricked my device. I spent almost 2 days trying to get it to flash and I finally got the original Netgear firmware onto it using nmrpflash.
Can I kindly ask for help figuring out which package/file to install on my Netgear R6260? Any help would be greatly appreciated. I have learned a lot, but I am still not a pro like a lot of the folks here. So some patience would be super!
that was days ago and many hours have since past while trying to un-brick my device. I will have to try it all again and report back. I guess if that is in fact the correct image I will give this another go.
I flashed my R6260 with the factory image referenced above for a second time. I can ssh into the device successfully, however when I attempt to execute opkg update only some of the dependencies are successful. I have tried a few times only to end up with some items failing to download. On my last attempt, this is the 'Collected errors' output:
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/base/Packages.sig, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.sig, wget returned 4.
* opkg_download: Check your network settings and connectivity.
* opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/telephony/Packages.sig, wget returned 4.
* opkg_download: Check your network settings and connectivity.
I can get the opkg update to sometimes run with only one download error:
Collected errors:
* opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz, wget returned 4.
* opkg_download: Check your network settings and connectivity.
And if I do a wget on that file it will download but I get an error like this:
wget https://downloads.openwrt.org/snapshots/packages/mipsel_24k
c/luci/Packages.gz
Downloading 'https://downloads.openwrt.org/snapshots/packages/mipsel_24kc/luci/Packages.gz'
Connecting to 168.119.138.211:443
Writing to 'Packages.gz'
Cannot open output file: File exists
I see many people here have similar issues and the only advice is to check Network configuration or DNS, etc. I can't do a thing about my Internet - I just have an Ethernet cable running right from my R6260 directly to a LAN on my Altice modem and the Altice modem cannot be configured beyond some basic settings via a web portal.
Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
config defaults
option syn_flood 1
option input ACCEPT
option output ACCEPT
option forward REJECT
# Uncomment this line to disable ipv6 rules
# option disable_ipv6 1
config zone
option name lan
list network 'lan'
option input ACCEPT
option output ACCEPT
option forward ACCEPT
config zone
option name wan
list network 'wan'
list network 'wan6'
option input REJECT
option output ACCEPT
option forward REJECT
option masq 1
option mtu_fix 1
config forwarding
option src lan
option dest wan
# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
option name Allow-DHCP-Renew
option src wan
option proto udp
option dest_port 68
option target ACCEPT
option family ipv4
# Allow IPv4 ping
config rule
option name Allow-Ping
option src wan
option proto icmp
option icmp_type echo-request
option family ipv4
option target ACCEPT
config rule
option name Allow-IGMP
option src wan
option proto igmp
option family ipv4
option target ACCEPT
# Allow DHCPv6 replies
# see https://dev.openwrt.org/ticket/10381
config rule
option name Allow-DHCPv6
option src wan
option proto udp
option src_ip fc00::/6
option dest_ip fc00::/6
option dest_port 546
option family ipv6
option target ACCEPT
config rule
option name Allow-MLD
option src wan
option proto icmp
option src_ip fe80::/10
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family ipv6
option target ACCEPT
# Allow essential incoming IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Input
option src wan
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
list icmp_type router-solicitation
list icmp_type neighbour-solicitation
list icmp_type router-advertisement
list icmp_type neighbour-advertisement
option limit 1000/sec
option family ipv6
option target ACCEPT
# Allow essential forwarded IPv6 ICMP traffic
config rule
option name Allow-ICMPv6-Forward
option src wan
option dest *
option proto icmp
list icmp_type echo-request
list icmp_type echo-reply
list icmp_type destination-unreachable
list icmp_type packet-too-big
list icmp_type time-exceeded
list icmp_type bad-header
list icmp_type unknown-header-type
option limit 1000/sec
option family ipv6
option target ACCEPT
config rule
option name Allow-IPSec-ESP
option src wan
option dest lan
option proto esp
option target ACCEPT
config rule
option name Allow-ISAKMP
option src wan
option dest lan
option dest_port 500
option proto udp
option target ACCEPT
# allow interoperability with traceroute classic
# note that traceroute uses a fixed port range, and depends on getting
# back ICMP Unreachables. if we're operating in DROP mode, it won't
# work so we explicitly REJECT packets on these ports.
config rule
option name Support-UDP-Traceroute
option src wan
option dest_port 33434:33689
option proto udp
option family ipv4
option target REJECT
option enabled false
# include a file with users custom iptables rules
config include
option path /etc/firewall.user
I think I may be slowly understanding what is going on here, and my cable modem is using the same IP as my OpenWRT setup device. Without Luci installed I don't know how to change the IP using ssh. If maybe you can confirm this is the possible issue and explain how to change the IP?
Thank you very much for that. The IP was the reason for wget failing. I was able to run
opkg update
opkg install luci
But now I get the following response in the browser after reboot:
/usr/lib/lua/luci/dispatcher.lua:725: No valid theme found
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:725: in function 'init_template_engine'
/usr/lib/lua/luci/dispatcher.lua:849: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:479: in function </usr/lib/lua/luci/dispatcher.lua:478>
I think there should be, and a dependency to match, but you can fix whatever went wrong rather easily by just pulling in a theme, and maybe restarting uhttpd, if necessary.
root@OpenWrt:~# opkg list|grep theme
luci - git-20.074.84698-ead5e81 - Standard OpenWrt set including full admin with ppp support and the default Bootstrap theme
luci-nginx - git-20.161.73418-219f0ce - Standard OpenWrt set including full admin with ppp support and the default Bootstrap theme
luci-theme-bootstrap - git-20.363.32570-6ffd159 - Bootstrap Theme (default)
luci-theme-freifunk-generic - git-19.157.76835-ac16b4a - Freifunk Generic Theme
luci-theme-material - git-20.304.74050-01cefed - Material Theme
luci-theme-openwrt - git-20.229.69577-258e74c - LuCI OpenWrt.org theme
luci-theme-openwrt-2020 - git-20.229.69577-258e74c - LuCI modern OpenWrt theme
root@OpenWrt:~# opkg install luci-theme-bootstrap
Unknown package 'luci-theme-bootstrap'.
Collected errors:
* pkg_hash_fetch_best_installation_candidate: Packages for luci-theme-bootstrap found, but incompatible with the architectures configured
* opkg_install_cmd: Cannot install package luci-theme-bootstrap.
Okay, mine do not match - and I have made no modifications to the image or packages that I have installed. Except for changing the LAN IP as described above it is a straight installation.