DNS entry not available

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
grafa
Ronin
Ronin
Posts: 3
Joined: 13 May 2014, 11:33
Distribution: Porteus 3.0 Kiosk
Location: Germany

DNS entry not available

Post#1 by grafa » 21 May 2014, 12:42

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!

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: DNS entry not available

Post#2 by fanthom » 21 May 2014, 13:05

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:

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
btw: when you choose manual configuration (enter DNS, ip, gateway, etc) then dhcpcd is disabled (killed) as per script above.
Please add [Solved] to your thread title if the solution was found.

Locked