negan07 / ancistrus

Netgear's D7000 Nighthawk Router Experience Distributed Project
https://negan07.github.io/ancistrus/
GNU General Public License v2.0
66 stars 17 forks source link

Wan connection new packages not connecting to the Internet #90

Closed m0lz closed 2 years ago

m0lz commented 2 years ago

Hi Negan07

I have a problem with V1.0.1.84_1.0.1 build #916, it will not connect to the Internet.

If I roll back to V1.0.1.82_1.0.1 build #875 there are no problems.

I have tried flashing the D7000 twice now with the new build, each time also reloading my backup settings, and in both cases the router will not connect to the internet. I flashed build 916, then reflashed 875 and the internet connected. Again flashed 916, no internet again, and then reflashed 875 and the Internet is now working again.

I do not have a corrupt download, and the router settings all seem fine after the flash of 916, it just refuses to connect to the internet and I have an Orange LED for internet connection with 916 installed.

Let me know what you need to look into this 👍

Linden1 commented 2 years ago

does this happen also if you setup D7000 wan ip settings manually instead of dhcp ?

Yes. It's like the WAN setup page has no effect or the router doesn't even see the WAN port.

negan07 commented 2 years ago

I can see others having this problem

Do these have the same main router interface with same build 917 ? Where are these issues reported ?

wan_orig_0.0.0_armD7000 is the only fix in this case

cd /tmp
curl -O https://raw.githubusercontent.com/negan07/ancistrus/gh-pages/tools/debug/pppoe.zip
unzip pppoe.zip
mv -f pppoe /usr/sbin/
reboot

and later on, if nothing good happens

cd /tmp
curl -O https://raw.githubusercontent.com/negan07/ancistrus/gh-pages/tools/debug/brctl.zip
unzip brctl.zip
mv -f brctl /usr/sbin/
reboot
Linden1 commented 2 years ago

Each time a fresh install of build 917

pppoe - no change brctl - no change pppoe+brctl - no change pppoe+brctl+ppp_2.4.9-002_armD7000 no change wan_orig_0.0.0_armD7000 - normal wan dhcp connection.

That's it for tonight. I'll catch up tomorrow.

edit

I had a hunch this afternoon and I checked something.

I already had build #917 installed with wan_orig_0.0.0_armD7000 and had got my dhcp over wan setup and working. So, without a reset I flashed 917 again and it's working. Does this help?

negan07 commented 2 years ago

I have included the failsafe wan_orig_0.0.0 package into the repository.

opkg update && opkg install wan_orig

or from web gui package manager

Those who have troubles connecting with latest monolithic firmwares, can install it and revert wan connection to original state.

The package can be removed later, because files are installed temporary then moved at postinstall stage script, trick widely used to avoid essential files unwanted deletion.

Linden1 commented 2 years ago

Problem is if we can't make the WAN connection and we don't have a connection alternative for the router we can't download the package from the repository.

negan07 commented 2 years ago

You are rigth but with the removal of ppp package the main connection problem issued hopefully should have been fixed.

The wan ethernet configuration has issues related to still undefined particular configurations and hardware involved and can be bypassed switching to switch/ap mode.

To avoid more troubles related, before releasing 917 I tried to recreate & tested a wan ethernet configuration without issuing, but with different hardware involved..

Anyway, bumping a new monolithic with all the regresses is not a problem.