I used OpenWRT since 17.01 with TP-Link routers and having no problem up to 19.07.8
I also bought and use a D-team Newifi D2 (Newifi3) also since 17.01 and no problem up to 19.07.8
When I try to upgrade the D-team router to 21.02.1 with all configuration wiped.
I am unable to access the Internet.
My WAN is using DHCP client and can get Address / Gateway / DNS just fine.
I see that the information shown with Device: Switch port "wan" below.
I can ping my WAN IP from my LAN computers (DHCP client from the router)
but I cannot ping the DNS shown on WAN or 8.8.8.8
which of course cannot ping www.google.com either.
with 19.07.8 I flashed and wipe configuration, everything just work out of the box.
but with 20.02.0 or 20.02.1, I am sitting duck.
The first thing I think about when I read your description is that there are some fault in DSA config.
So when you say you wipe config, what do you do after that?
We have users that makes a clean install and the first thing they do after that is copying their old configs manually to the newly installed router.
Maybe so and I asked what he did after that.
That is kind of standard operating procedure on this forum that we usually have to guess based on social and technical experience what we aren’t told. Or as some other have said earlier, we can’t read minds here.
We really don’t have many cases where a “clean” install/upgrade of 21.02 from 19.07 doesn’t work with ISP dhcp client mode on two different devices.
Did you make a backup of your configuration from 19.07? If so, we can look at the backup to understand the previous configuration. Worst case, we could look at the 17.01 configuration. Here, we'd be using the config data simply to figure out what we know works, and then we can recreate or troubleshoot similar settings on 21.02.
Also, how is (was) the router connected to the internet? Is it directly connected, or is there a router upstream of the Newifi D2 device?
I have two Newifi-D2, A and B.
A is running 18.06.4
B is the one experiment and flashed (without keeping configuration / wipe everything)
I did Newifi-D2 B with both 19.07 [work after flashing] and 20.02 [NOT work after flashing]
I am willing to start from scratch on 20.02.1 and learn again how make it work.
So I will replace router A with B when I can get B up and running and perform the same function as A.
Your configuration is pretty standard other than the LAN IP address and it looks like you might also be using Adblock or something else on the router for DNS.
The choice of .28 as your router address is a bit unconventional, but totally fine technically. Most users will use the .1 or .254 to be at the beginning or end of the /24 space. But again, this does not cause any technical issues.
The default IP address of OpenWrt is 192.168.1.1. You can update this to match your existing configuration once your router is flashed and booted. By default the router will pickup the DNS advertised by the upstream DHCP server, and the router will not have Adblock installed or configured, so you'll have the router's DNS operating on localhost:53.
You don't need to read about DSA or make any changes there -- your 21.02 default configuration should have everything working properly for the LAN and WAN.
If you are using a cable modem (at least with most cable ISP's in the USA), you may need to reboot the cable modem (possibly a few times) for it to issue an IP address when you swap devices. Alternatively, if the ISP does not issue you a DHCP lease, you may need to talk to them to find out why (sometimes they need to reset or register the new MAC address with their service).
Finally, you should probably force a DHCP renewal on your client systems when you have swapped to the new router.
as I said, router B works right out of the box with factory default config at 19.xx but not 20.xx
I did turn off and on the modem then router A and B did get different IP address.
I will check with ISP to see if there are special step need to do with them in order to make things work.
DSA configure is diffirent from SWconfig.
I found you are using eth0.2 as the ifname.
Actually it's quite diffirent.
You can use vlan with single port, or config vlan in bridge like in the swconifg in 19.07
DSA is indeed very different than swconfig, but in the default configuration, the router should be configured such that the wan port is associated with vlan 2 (and lan with vlan 1). As long as the defaults are correct, you don’t need to make any changes unless you plan to create additional VLANs or change the mappings. That is why I was saying that it is not necessary to learn about dsa to get the device running.