Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netgear R7800 flash fail #3726

Open
vgnx opened this issue Dec 30, 2024 · 13 comments
Open

Netgear R7800 flash fail #3726

vgnx opened this issue Dec 30, 2024 · 13 comments

Comments

@vgnx
Copy link

vgnx commented Dec 30, 2024

Expected Behavior

Hello,

I'm trying to install openmptcprouter on my Netgear R7800 (Nighthawk X4S) but the firmware provided on the download page is to large.

Current Behavior

As I understand, this router has a 32Mo limit and the provided firmware' size it 48Mo.
I'm using nmrpflash to do it and I'm facing to the tftp-block-rollover-upload error.

As the firmware is available on the download page, I wonder if there is any trick to make it works.

Thank you for your help

Specifications

  • OpenMPTCProuter version:
  • OpenMPTCProuter VPS version:
  • OpenMPTCProuter VPS provider:
  • OpenMPTCProuter platform:
@Ysurac
Copy link
Owner

Ysurac commented Jan 2, 2025

The device should have 128MB NAND Flash and doesn't seems to have some partition limitations.
You can use: https://openwrt.org/toh/netgear/r7800 as flash doc. If you try OpenWRT, you can upgrade to OpenMPTCProuter if you don't keep the settings.

@vgnx
Copy link
Author

vgnx commented Jan 2, 2025

Thank you for your answer.
I'll give it a try and get back to you

@Lore239
Copy link

Lore239 commented Jan 2, 2025

Hello, I'm experiencing the same issue with my R7800 router. Initially, I installed the OpenWRT stock firmware from this page, and everything worked fine. However, after upgrading with the OpenMPTC firmware sysupgrade, the router became unreachable. When I connect my PC to the router, it fails to obtain an IP address. The router appears to boot normally, and the port light blinks when I plug in the cable, but my PC still cannot get an IP address and I dont know how to reach the router web page.

@Ysurac
Copy link
Owner

Ysurac commented Jan 2, 2025

@Lore239 OpenMPTCProuter change ports order: WAN port is used as LAN and LANs port are used for WAN.

@Lore239
Copy link

Lore239 commented Jan 2, 2025

Screenshot_2025-01-02_16-10-42
Without modifying any configurations, these are the current interfaces. I'm unsure if this error is expected, but none of the ports appear to be functioning. I don't even see the wireless page.

@Ysurac
Copy link
Owner

Ysurac commented Jan 2, 2025

A driver seems to be missing here.
Can you give me, via ssh, the result of lsmod ?

@Lore239
Copy link

Lore239 commented Jan 2, 2025

root@OpenMPTCProuter:~# lsmod
3c59x 32768 0
6lowpan 20480 0
8139cp 20480 0
8139too 20480 0
8250_pci 40960 0
8390 16384 1 ne2k_pci
act_csum 16384 0
act_gact 12288 0
act_mirred 12288 0
act_pedit 16384 0
act_simple 12288 0
act_skbedit 12288 0
act_skbmod 12288 0
af_key 28672 0
ah4 12288 0
ah6 16384 0
ahci 20480 0
ahci_platform 12288 0
ark3116 12288 0
arp_tables 16384 1 arptable_filter
arpt_mangle 12288 0
arptable_filter 12288 0
asix 24576 0
asn1_decoder 12288 1 nf_nat_snmp_basic
ath 20480 3 ath9k_htc,ath9k_common,ath9k_hw
ath9k_common 20480 1 ath9k_htc
ath9k_htc 53248 0
ath9k_hw 323584 2 ath9k_htc,ath9k_common
atl1 28672 0
atl1c 32768 0
atl1e 28672 0
atl2 24576 0
atm 32768 2 solos_pci,br2684
authenc 12288 1 authencesn
authencesn 12288 0
autofs4 24576 1
ax88179_178a 20480 0
ax88796b 12288 0
b44 24576 0
bcm_phy_lib 16384 1 broadcom
belkin_sa 12288 0
bnx2 65536 0
bonding 102400 0
br2684 16384 0
broadcom 16384 0
cbc 12288 0
cdc_acm 20480 0
cdc_eem 12288 0
cdc_ether 12288 2 rndis_host,cdc_ncm
cdc_mbim 12288 0
cdc_ncm 20480 2 cdc_mbim,huawei_cdc_ncm
cdc_subset 12288 0
cdc_wdm 16384 3 cdc_mbim,qmi_wwan,huawei_cdc_ncm
cfg80211 241664 5 ath9k_htc,ath9k_common,ath,mt7601u,mac80211
ch341 12288 0
chacha_neon 28672 1 libchacha20poly1305
cls_basic 12288 0
cls_flow 16384 0
cls_fw 12288 0
cls_matchall 12288 0
cls_route 12288 0
cls_u32 20480 0
cmac 12288 0
compat 12288 5 ath9k_htc,ath9k_common,mt7601u,mac80211,cfg80211
configs 49152 0
cp210x 20480 0
crc_ccitt 12288 1 ppp_async
crc_itu_t 12288 1 mmc_spi
crc32c_generic 12288 1
crc7 12288 1 mmc_spi
cryptodev 36864 0
curve25519_neon 24576 1 wireguard
cypress_m8 16384 0
des_generic 12288 0
dm9601 12288 0
dwc3 36864 0
dwc3_qcom 12288 0
e100 28672 0
e1000 86016 0
e1000e 131072 0
echainiv 12288 0
ehci_fsl 12288 0
ehci_hcd 36864 2 ehci_platform,ehci_fsl
ehci_platform 12288 0
em_cmp 12288 0
em_meta 12288 0
em_nbyte 12288 0
em_text 12288 0
em_u32 12288 0
esp4 16384 0
esp6 16384 0
et131x 28672 0
ethoc 16384 0
evdev 16384 0
ezusb 12288 1 keyspan
fat 53248 1 vfat
forcedeth 49152 0
fsl_mph_dr_of 12288 0
ftdi_sio 40960 0
garmin_gps 16384 0
geniv 12288 2 seqiv,echainiv
gpio_button_hotplug 12288 0
gre 12288 2 ip6_gre,ip_gre
hfcmulti 57344 0
hfcpci 28672 0
hid 90112 2 usbhid,hid_generic
hid_generic 12288 0
hso 28672 0
huawei_cdc_ncm 12288 0
i2c_algo_bit 12288 1 i2c_gpio
i2c_gpio 12288 0
ifb 12288 0
input_core 32768 2 hid,evdev
ip_gre 20480 0
ip_tables 20480 3 iptable_nat,iptable_mangle,iptable_filter
ip_tunnel 20480 2 ip_gre,sit
ip6_gre 24576 0
ip6_tables 20480 3 ip6table_nat,ip6table_mangle,ip6table_filter
ip6_tunnel 28672 1 ip6_gre
ip6_udp_tunnel 12288 3 wireguard,sctp,ovpn_dco_v2
ip6t_NPT 12288 0
ip6t_REJECT 12288 0
ip6table_filter 12288 0
ip6table_mangle 12288 0
ip6table_nat 12288 0
ipcomp 12288 0
ipcomp6 12288 0
ipheth 12288 0
ipt_ECN 12288 0
ipt_REJECT 12288 0
iptable_filter 12288 0
iptable_mangle 12288 0
iptable_nat 12288 0
ipw 12288 0
kalmia 12288 0
kaweth 16384 0
keyspan 20480 0
kpp 12288 1 curve25519_neon
l1oip 20480 0
leds_gpio 12288 0
ledtrig_usbport 12288 0
libahci 24576 3 ahci,ahci_platform,libahci_platform
libahci_platform 12288 1 ahci_platform
libata 118784 4 ahci,ahci_platform,libahci_platform,libahci
libchacha20poly1305 12288 1 wireguard
libcrc32c 12288 3 nf_tables,act_csum,sctp
libcurve25519_generic 16384 2 wireguard,curve25519_neon
libdes 20480 1 des_generic
mISDN_core 61440 4 hfcpci,hfcmulti,mISDN_dsp,l1oip
mISDN_dsp 192512 0
mac80211 495616 2 ath9k_htc,mt7601u
macsec 40960 0
macvlan 20480 0
mcs7830 12288 0
mct_u232 12288 0
md5 12288 0
mmc_spi 16384 0
mos7720 16384 0
mt7601u 49152 0
nat46 28672 0
natsemi 28672 0
ne2k_pci 12288 0
netlink_diag 12288 0
nf_conncount 12288 1 nft_connlimit
nf_conntrack 65536 35 nft_redir,nft_nat,nft_masq,nft_flow_offload,nft_ct,nft_connlimit,nf_conntrack_netlink,xt_state,xt_nat,xt_conntrack,xt_REDIRECT,xt_MASQUERADE,xt_CT,nf_nat_tftp,nf_nat_snmp_basic,nf_nat_pptp,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,nf_flow_table,nf_conntrack_tftp,nf_conntrack_snmp,nf_conntrack_sane,nf_conntrack_pptp,nf_conntrack_netbios_ns,nf_conntrack_irc,nf_conntrack_h323,nf_conntrack_ftp,nf_conntrack_broadcast,nf_conntrack_amanda,nf_conncount,nf_nat_sip,nf_nat,nf_conntrack_sip
nf_conntrack_amanda 12288 3 nf_nat_amanda
nf_conntrack_broadcast 12288 2 nf_conntrack_snmp,nf_conntrack_netbios_ns
nf_conntrack_ftp 12288 3 nf_nat_ftp
nf_conntrack_h323 40960 5 nf_nat_h323
nf_conntrack_irc 12288 2 nf_nat_irc
nf_conntrack_netbios_ns 12288 1
nf_conntrack_netlink 28672 0
nf_conntrack_pptp 12288 2 nf_nat_pptp
nf_conntrack_sane 12288 2
nf_conntrack_sip 24576 3 nf_nat_sip
nf_conntrack_snmp 12288 2 nf_nat_snmp_basic
nf_conntrack_tftp 12288 3 nf_nat_tftp
nf_defrag_ipv4 12288 2 nft_tproxy,nf_conntrack
nf_defrag_ipv6 16384 3 nft_tproxy,nat46,nf_conntrack
nf_flow_table 24576 2 nf_flow_table_inet,nft_flow_offload
nf_flow_table_inet 12288 0
nf_log_syslog 16384 0
nf_nat 28672 16 nft_redir,nft_nat,nft_masq,nft_chain_nat,xt_nat,xt_REDIRECT,xt_MASQUERADE,nf_nat_tftp,nf_nat_pptp,nf_nat_irc,nf_nat_h323,nf_nat_ftp,nf_nat_amanda,iptable_nat,ip6table_nat,nf_nat_sip
nf_nat_amanda 12288 0
nf_nat_ftp 12288 0
nf_nat_h323 12288 0
nf_nat_irc 12288 0
nf_nat_pptp 12288 0
nf_nat_sip 16384 0
nf_nat_snmp_basic 12288 0
nf_nat_tftp 12288 0
nf_reject_ipv4 12288 3 nft_reject_ipv4,nft_reject_inet,ipt_REJECT
nf_reject_ipv6 12288 3 nft_reject_ipv6,nft_reject_inet,ip6t_REJECT
nf_tables 151552727 nft_fib_inet,nf_flow_table_inet,nft_tproxy,nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet,nft_reject,nft_redir,nft_quota,nft_numgen,nft_nat,nft_masq,nft_log,nft_limit,nft_hash,nft_flow_offload,nft_fib_ipv6,nft_fib_ipv4,nft_fib,nft_ct,nft_connlimit,nft_compat,nft_chain_nat
nf_tproxy_ipv4 12288 1 nft_tproxy
nf_tproxy_ipv6 12288 1 nft_tproxy
nfnetlink 12288 4 nft_compat,nf_tables,nf_conntrack_netlink
nft_chain_nat 12288 2
nft_compat 16384 0
nft_connlimit 12288 0
nft_ct 16384 22
nft_fib 12288 3 nft_fib_inet,nft_fib_ipv6,nft_fib_ipv4
nft_fib_inet 12288 0
nft_fib_ipv4 12288 1 nft_fib_inet
nft_fib_ipv6 12288 1 nft_fib_inet
nft_flow_offload 12288 0
nft_hash 12288 0
nft_limit 12288 12
nft_log 12288 0
nft_masq 12288 2
nft_nat 12288 0
nft_numgen 12288 0
nft_quota 12288 0
nft_redir 12288 0
nft_reject 12288 3 nft_reject_ipv6,nft_reject_ipv4,nft_reject_inet
nft_reject_inet 12288 2
nft_reject_ipv4 12288 0
nft_reject_ipv6 12288 0
nft_tproxy 12288 0
nls_cp437 12288 0
nls_iso8859_1 12288 0
nls_utf8 12288 0
of_mmc_spi 12288 1 mmc_spi
ohci_hcd 28672 1 ohci_platform
ohci_platform 12288 0
option 45056 0
oti6858 12288 0
ovpn_dco_v2 45056 0
parport 32768 2 mos7720,ppdev
pcnet32 32768 0
pegasus 16384 0
phy_qcom_ipq806x_usb 12288 8
pl2303 16384 0
poly1305_arm 20480 1 libchacha20poly1305
ppdev 16384 0
ppp_async 16384 0
ppp_generic 28672 3 pppoe,ppp_async,pppox
pppoe 16384 0
pppox 12288 1 pppoe
pstore 16384 2 ramoops
qcserial 12288 0
qmi_wwan 24576 0
ramoops 20480 0
reed_solomon 16384 1 ramoops
rndis_host 12288 0
sch_cake 28672 0
sch_codel 12288 0
sch_fq 16384 0
sch_gred 16384 0
sch_hfsc 20480 0
sch_htb 24576 0
sch_ingress 12288 0
sch_multiq 12288 0
sch_sfq 16384 0
sch_tbf 16384 0
sch_teql 12288 0
scsi_common 12288 4 usb_storage,sd_mod,libata,scsi_mod
scsi_mod 81920 3 usb_storage,sd_mod,libata
sctp 204800 2
sd_mod 36864 0
seqiv 12288 0
sha1_arm 12288 0
sha1_generic 12288 0
sha512_arm 20480 0
sierra 12288 0
sierra_net 12288 0
sis190 20480 0
sis900 20480 0
sit 24576 0
skge 28672 0
sky2 45056 0
slhc 12288 1 ppp_generic
smsc 12288 0
smsc95xx 20480 0
solos_pci 20480 0
spi_ks8995 12288 0
sr9700 12288 0
ssb 40960 1 b44
swconfig 16384 0
tg3 131072 0
ti_usb_3410_5052 16384 0
tls 65536 1 bonding
ts_bm 12288 0
ts_fsm 12288 0
ts_kmp 12288 6
tulip 45056 0
tun 32768 0
tunnel4 12288 2 sit,xfrm4_tunnel
tunnel6 12288 2 xfrm6_tunnel,ip6_tunnel
udp_tunnel 16384 3 wireguard,sctp,ovpn_dco_v2
usb_serial_simple 16384 0
usb_storage 45056 0
usb_wwan 12288 3 qcserial,option,ipw
usbhid 24576 0
usbnet 20480 16 cdc_mbim,sr9700,smsc95xx,sierra_net,rndis_host,qmi_wwan,mcs7830,kalmia,huawei_cdc_ncm,dm9601,cdc_subset,cdc_ncm,cdc_ether,cdc_eem,ax88179_178a,asix
usbserial 20480 20 qcserial,option,ipw,usb_wwan,usb_serial_simple,ti_usb_3410_5052,sierra,pl2303,oti6858,mos7720,mct_u232,keyspan,garmin_gps,ftdi_sio,cypress_m8,cp210x,ch341,belkin_sa,ark3116,visor
veth 24576 0
vfat 16384 0
via_rhine 20480 0
via_velocity 28672 0
visor 12288 0
vmxnet3 49152 0
wireguard 53248 0
x_tables 20480 40 nft_compat,ipt_REJECT,xt_time,xt_tcpudp,xt_tcpmss,xt_statistic,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_length,xt_hl,xt_ecn,xt_dscp,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_MASQUERADE,xt_LOG,xt_HL,xt_DSCP,xt_CT,xt_CLASSIFY,iptable_nat,iptable_mangle,iptable_filter,ipt_ECN,ip_tables,arptable_filter,arpt_mangle,arp_tables,ip6table_nat,ip6t_NPT,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT
xfrm_algo 12288 7 esp6,ah6,esp4,ah4,xfrm_user,xfrm_ipcomp,af_key
xfrm_ipcomp 12288 2 ipcomp6,ipcomp
xfrm_user 32768 0
xfrm4_tunnel 12288 0
xfrm6_tunnel 12288 1 ipcomp6
xhci_hcd 98304 2 xhci_plat_hcd,xhci_pci
xhci_pci 12288 0
xhci_plat_hcd 12288 0
xt_CLASSIFY 12288 0
xt_CT 12288 0
xt_DSCP 12288 0
xt_HL 12288 0
xt_LOG 12288 0
xt_MASQUERADE 12288 0
xt_REDIRECT 12288 0
xt_TCPMSS 12288 0
xt_comment 12288 0
xt_conntrack 12288 0
xt_dscp 12288 0
xt_ecn 12288 0
xt_hl 12288 0
xt_length 12288 0
xt_limit 12288 0
xt_mac 12288 0
xt_mark 12288 0
xt_multiport 12288 0
xt_nat 12288 0
xt_state 12288 0
xt_statistic 12288 0
xt_tcpmss 12288 0
xt_tcpudp 12288 0
xt_time 12288 0
zram 16384 0
zsmalloc 16384 1 zram

@vgnx vgnx closed this as completed Jan 2, 2025
@Ysurac
Copy link
Owner

Ysurac commented Jan 2, 2025

There is ath9k but not ath10k that should be here. I will check.

@Ysurac Ysurac reopened this Jan 2, 2025
@Ysurac
Copy link
Owner

Ysurac commented Jan 2, 2025

I added ath10k for wifi and qca8327 for switch driver. It's compiling...

@Lore239
Copy link

Lore239 commented Jan 2, 2025

Thanks ❤️

@Lore239
Copy link

Lore239 commented Jan 4, 2025

I installed openmptcprouter-v0.62-snapshot-6.6-r0+28194-cc69be0c13-ipq806x-generic-netgear_r7800-squashfs-sysupgrade.bin but nothing changed.
I give you also the lsmod output of latest openwrt version which works.
out-openwrt-23.05.5.txt
I hope that will help.

@Ysurac
Copy link
Owner

Ysurac commented Jan 4, 2025

The image compiled yesterday ? Should be ok... I will test but this will take more time.

@Lore239
Copy link

Lore239 commented Jan 4, 2025

yes, I installed the sysupgrade file from here but still the same error. Then I installed the standard OpenWRT 23.05.5 and everything works fine, I sent you the list of drivers in the hope that it can help to find maybe other missing drivers.
This is the lsmod of the snapshot v0_62-snapshot-6_6.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants