OpenWRT upgrade: Dnsmasq problem solved
After upgrading OpenWRT to version 18.06.2 (current release at the time of writing) on one of my Xiaomi MiWiFi Mini routers I started seeing this error in System Log:
unknown user or group: dnsmasq
In addition to that users were not able to connect to WiFi due to not received DHCP configuration.
Luckily, on this page I've found a workaround:
echo "dnsmasq:*:453:dnsmasq" >> /etc/group echo "dnsmasq:*:453:453:dnsmasq:/var:/bin/false" >> /etc/passwd echo "dnsmasq:*:0:0:99999:7:::" >> /etc/shadow chown dnsmasq.dnsmasq /usr/sbin/dnsmasq
My name is Gytis Repečka, I am Data Engineer currently working with PostgreSQL and Linux infrastructure on AWS cloud. Writing code in SQL, Go and Bash. Experienced data professional (Teradata, Informatica) with focus on Inmon's data warehousing architecture (10 years). I enjoy using, promoting and contributing to open source software and love communicating about tech to both advanced and non-tech people. Mention me @firstname.lastname@example.org on Mastodon.