Page 1 of 1

no DNS server available

Posted: 03 Apr 2018, 15:14
by whatnow2000
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.

no DNS server available

Posted: 04 Apr 2018, 02:43
by fanthom
"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