testo
November 3, 2025, 10:49pm
1
Hi all,
I have done sysupgrade -n /tmp/image.
https://downloads.openwrt.org/releases/24.10.4/targets/mediatek/mt7622/openwrt-24.10.4-mediatek-mt7622-dlink_eagle-pro-ai-r32-a1-squashfs-sysupgrade.bin
I have restore my backup configuration from Luci but have no internet access under Wifi_2G4 and Wifi_5G.
Already try to do :
rm /etc/config/wireless & reboot
Recreated/reconfigure wireless radio0
No changes
Same for Interface “lan_wifi” → delete and recreated
My configuration is under this old post when i have the same problem.
I flashed openwrt version with the latest release.
https://openwrt.org/toh/hwdata/d-link/d-link_eagle_pro_ai_r32_a1
I have just done apk update && apk upgrade.
ubus call system board
{
"kernel": "6.6.61",
"hostname": "OpenWrt",
"system": "ARMv8 Processor rev 4",
"model": "D-Link EAGLE PRO AI R32 A1",
"board_name": "dlink,eagle-pro-ai-r32-a1",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "SNAPSHOT",
"revision": "r28146-52b6c92479",
"target": "me…
I can connect to my Wifi_2G4 but have no internet access !
Thanks a lot for advices
If you already know that your router has a working internet connection, please ignore my post.
Before focusing on Wi-Fi:
Check that you have internet connectivity on your router...
1. Does your ISP require VLAN ID 4001?
ps: I'm asking because I haven't found any ISP with VLAN 4001 online, but the world is big and so it might be correct.
ps: Assuming that this router is behind a device provided by the ISP, have you tried restarting it (modem/ont/other).
2. Does the router have internet connectivity?
You can confirm this with the following commands (on router):
ping -c 5 8.8.8.8; traceroute -n 8.8.8.8; ifstatus wan
If these commands fail, go to step 3...
3. Can you attach a log of what's happening on the router?
Run these commands if you have no network connectivity:
ifdown wan; dmesg -c; /etc/init.d/log restart; ifup wan; logread
ps : so as to have only the logs of the "wan" "pppoe" connection
testo
November 4, 2025, 7:59am
3
My wireless configuration is the following.
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option phy 'wl0'
option cell_density '0'
option htmode 'HT20'
option band '2g'
option channel 'auto'
option country 'FR'
config wifi-iface 'default_radio0'
option device 'radio0'
option mode 'ap'
option ssid 'Wifi_2G4'
option encryption 'psk-mixed'
option key 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
option network 'lan_wifi'
config wifi-device 'radio1'
option type 'mac80211'
option phy 'wl1'
option band '5g'
option channel '36'
option htmode 'HE80'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
And my network configuration file is :
/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 'fdba:df4e:26d6::/48'
option packet_steering '1'
config interface 'wan'
option device 'wan.2001'
option proto 'pppoe'
option username 'XXXXX@XXXXX.XXXXX'
option password 'XXXXXXXXX'
option ipv6 'auto'
option dns_metric '50'
config interface 'lan_local'
option proto 'static'
option device 'lan4'
option ipaddr '10.3.29.1'
option netmask '255.255.255.0'
list dns '127.0.0.1'
list dns '0::1'
option dns_metric '20'
config interface 'lan_to_ext_wan'
option proto 'static'
option device 'lan3'
option ipaddr '10.2.29.1'
option netmask '255.255.255.0'
list dns '127.0.0.1'
list dns '0::1'
option dns_metric '20'
config device
option name 'VPN'
option mtu '1420'
config interface 'VPN'
option proto 'wireguard'
option private_key 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
list addresses '10.5.29.1/24'
option listen_port 'XXXXXX'
list dns '127.0.0.1'
list dns '0::1'
option dns_metric '20'
config wireguard_VPN
option description 'Sam'
option public_key 'XXXXXXXXXXXXXXXXXXXXXXXXXXX'
option private_key 'XXXXXXXXXXXXXXXXXXXXXXX'
option route_allowed_ips '1'
option endpoint_port 'XXXXXX'
list allowed_ips '10.5.29.5/24'
config interface 'lan_wifi_5Ghz'
option proto 'static'
option ipaddr '10.6.29.1'
option netmask '255.255.255.0'
list dns '127.0.0.1'
list dns '0::1'
option dns_metric '20'
option device 'wl1-ap0'
config device
option type '8021q'
option ifname 'wan'
option vid '2001'
option name 'wan.2001'
config device
option name 'wan'
config wireguard_VPN
option description 'pinephone'
option public_key '8xpHoTrO5P9cz24KPcUUaGTDVxi3wnJL2SlkDN3vPHY='
option private_key 'iFuhLAH/JA7SAPcwC7jOp4eaHA2XPx8TBZEDz3LsR0c='
option endpoint_port 'XXXXXX'
option route_allowed_ips '1'
list allowed_ips '10.5.29.6/24'
config wireguard_VPN
option public_key 'WxAKicHAykkJU9BueSeFCzqe0nx631M7dayMMxFkiQY='
option private_key '+NXL1IIzA1ZJX7hlFvqFwHLlALT1dihr8OMP+oALOHg='
option description 'laptop_joff'
list allowed_ips '10.5.29.10/32'
option route_allowed_ips '1'
option endpoint_port 'XXXXXX'
config device
option name 'wl0-ap0'
option ipv6 '0'
config interface 'lan_wifi'
option proto 'static'
option device 'wl0-ap0'
option ipaddr '10.4.29.1'
option netmask '255.255.255.0'
list dns '127.0.0.1'
list dns '0::1'
list dns '80.67.169.12'
option dns_metric '20'
in your configuration file /etc/config/network there is no "lan" interface
either you define it or you modify your /etc/config/wireless.
If you haven't modified your /etc/config/firewall file you'll need to allow your "lan_wifi" network to go out to "wan":
config zone
option name 'lan_wifi'
list network 'lan_wifi'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config forwarding
option src 'lan_wifi'
option dest 'wan'
I based it on this file (but you may have modified it later):
PS : everything proposed assumes that the router has an internet connection (I assume so, but I can't be sure).
analysis: /etc/config/network
There is no section called config interface 'lan'
Instead, several isolated networks are defined:
lan_local → lan4 → 10.3.29.1
lan_to_ext_wan → lan3 → 10.2.29.1
lan_wifi → wl0-ap0 → 10.4.29.1
lan_wifi_5Ghz → wl1-ap0 → 10.6.29.1
All of these are independent static interfaces , without any bridge and without routing toward the WAN.
That means each Wi-Fi network is essentially a local island:
devices can connect and get an IP address, but they have no path to reach the Internet .
frollic
November 4, 2025, 11:21am
5
the default wifi & lan config is sane, you broke it by changing things.
you only need to adjust the SSID, set the country, encryption and wifi chan (or auto).
1 Like
testo
November 4, 2025, 12:37pm
6
When i do : sysupgrade -n image
After restore my backup configuration, i need to add DNS in /etc/resolv.conf.
If i don’t do that, router can’t upload package to install luci-proto-wireguard for the VPN Interface.
Why ?
All of these are independent static interfaces , without any bridge and without routing toward the WAN.
Routing toward the WAN is done with what option exactly ?
Before, no need to add bridge to have connection with Wireless network.
testo
November 4, 2025, 1:18pm
7
The problem was resolved by installing stubby package !
But if someone can explain to me how to use two subnet with VLAN on eth0.1 ! I’m ok
doing this for example for your network "lan_wifi" 10.4.29.x/24
ncompact:
If you haven't modified your /etc/config/firewall file you'll need to allow your "lan_wifi" network to go out to "wan":
config zone
option name 'lan_wifi'
list network 'lan_wifi'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'REJECT'
config forwarding
option src 'lan_wifi'
option dest 'wan'
show this video:
VIDEO
For this reason, it's recommended to create a custom image with the packages you need.
VIDEO
The "owut" package allows you to keep your system up to date by creating an image based on the packages already installed on the router.
OpenWrt Upgrade Tool
or if you're more comfortable here too (add owut stubby luci-proto-wireguard, ecc):
An image on demand server for OpenWrt based distributions
can you make us understand what you want in this case?
Before making changes, try reading this document: