Closed shensven closed 4 years ago
I remember adding dnsmasq-full
and removing dnsmasq
This might be causing the DHCP issue. For reference, DHCP should be active on the eth1 interface.
I will update and create a new release asap. Please mention if you require any package included.
It works for me. I flashed the ext4 image from this release: https://github.com/jayanta525/openwrt-nanopi-r2s/releases/tag/v1.2
The LAN port has a dhcp server active and gives IPs in the 192.168.1.0/24 network. The WAN port has a dhcp client active and can be used to connect to the internet. Both of these default configurations worked for me on the first try, without having to change any config files.
Both of ext4 and squashfs I tried, same situation DHCP not work, It may be that the flashing method is wrong, first I format the sdcard to fat32, then use balenaEtcher, could share your flash method? @carloscm
I'm on Windows 10 and I used Win32DiskImager 1.0.0, downloaded from the official Sourceforge page, a no-name cheap USB microsd adapter, and an even cheaper microsd card. I didn't format the card in advance, but at this point I've also formatted and overwrote it several times with no issues. I tested the card with H2testw beforehand tho, to make sure it wasn't fake (it was cheap but it wasn't a fake).
@shensven
You don't have to extract the image file nor have to format the sd-card before writing. BalenaEtcher will do that for you.
It's highly unlikely that the sd-card burning method should affect the working of DHCP server.
Please make sure that there aren't any DHCP server already active on the network the LAN port is connected to.
I used sudo dd if=openwrt-rockchip-armv8-friendlyelec_nanopi-r2-rev00-squashfs-sysupgrade.img of=/dev/disk2 bs=32m
and flash succeeded, but the luci page show below:
DHCP works well, I got IP in the 192.168.1.0/24 network
Hi,bro I downloaded your release, used
gzip -d
to decompress, got img file, then I used balenaEtcher flash sdcard. after plug in the power supply, I can't got IP, DHCP not working?