Hello,
I don't know if it's a bug, but I have set the DNS entrys in the wizard. After starting the kiosk, it didn't work.
Via ssh I saw, the /etc/resolv.conf was blank.
Now I have in the rootcopy/etc directory "dhcpcd.conf" created with: nohook resolv.conf
Then it works. Whats the reason?
Thanks!
DNS entry not available
- fanthom
- Moderator Team
- Posts: 5622
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: DNS entry not available
checked and is ok here. please login through ssh and have a look on /etc/rc.d/rc(3,4).d/S-inet. my one is correct:
btw: when you choose manual configuration (enter DNS, ip, gateway, etc) then dhcpcd is disabled (killed) as per script above.
Code: Select all
killall dhcpcd 2>/dev/null
sleep 1
ifconfig eth0 192.168.1.2 netmask 255.255.255.0
route add default gw 192.168.1.1 eth0
echo "nameserver 192.168.1.1" >> /etc/resolv.conf
echo "nameserver 8.8.4.4" >> /etc/resolv.conf
Please add [Solved] to your thread title if the solution was found.