no DNS server available

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Post Reply
whatnow2000
Ronin
Ronin
Posts: 1
Joined: 03 Apr 2018, 14:41
Distribution: Porteus Kiosk

no DNS server available

Post#1 by whatnow2000 » 03 Apr 2018, 15:14

I'm exploring Porteus for use in an environment where the computer will have access to the internet but only to a single IP address that hosts a web site. No DNS server is available to resolve the IP of that website but I must address it by name not IP. In the past I've used a Windows box for this purpose and just added the site name and IP in the hosts file which works fine.

I notice when I setup Porteus and pick the web browser to use it needs to download the browser from the porteus.org web site so it appears to require DNS for this part too.

I suspect if I knew how to edit the hosts file inside of the iso that I could add one entry for my website and another for the porteus.org website? Would that work? I'm reading the docs on how to edit the ISO and it looks like this may be over my head. Is there another option to accomplish this without a DNS server without getting too technical? I'm doing great with storing my config on a USB stick and Porteus Kiosk itself is working great - just this funky DNS situation I'm not sure how to get past.

User avatar
fanthom
Site Admin
Site Admin
Posts: 5149
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

no DNS server available

Post#2 by fanthom » 04 Apr 2018, 02:43

"I suspect if I knew how to edit the hosts file inside of the iso that I could add one entry for my website and another for the porteus.org website? Would that work?"
Yes - it should.

"I'm reading the docs on how to edit the ISO and it looks like this may be over my head."
You need to unsquash a module, edit one file and squash content back. Same as you would do with a zip archive.
Use right tool for this task: Porteus Desktop or Ubuntu.

If you get into troubles then you can generate ISO on other PC (with unrestricted access) and save it on usb stick then burn on targer PC using Ubuntu and 'dd' command.
Your last resort would be a customized build with modified /etc/hosts file:
http://porteus-kiosk.org/builds.html

Thanks
Please add [Solved] to your thread title if the solution was found.

Post Reply