Hypufix's picture
Hi I wanted to install minos turnkey but here is a little summary of my problem step by step :

1.Install MineOS TKL
2.Reboot after removing flash drive
3.Enter root password x 2
4.Enter basic account password x 2
5.Initialise Hub Services > Skip (won't work because of corporate network setup)
6.Security Updates > Skip (same reason)
7.Message 'Networking not yet configured' appears
8.Menu appears with options for DHCP or Static IP
9.Choose DHCP
It DOES pick up and display an IP address but displays the same menu as step 8 (with options to 'Select' or Back'). You do get this menu if you choose Static IP in step 8. If you go back and 'Quit' or 'Reboot' you get the message in step 7 when it boots, so the DHCP-obtained IP address has not been saved. Static is the same problem.

So i'm blocked in this loop and i don't no what to do

Please help me i've just wanted to play minecraft!...

 

 
Forum: 
Jeremy Davis's picture

AFAIK, it should "just work" but I note that MineOS is built on an older version of TurnKey (it's not actually an official TurnKey appliance). The fact that the configuration doesn't persist across reboots make it sound like you are hitting a similar issue to one that I tried to help someone else with. Their initial issue (no driver) shouldn't be directly relevant, but it sounds like they hit a similar issue. Unfortunately, I'm not really clear what the issue is and beyond manually setting up networking (as I suggested to them) I'm not really sure what you should do...

Sorry I don't have better news.

Hypufix's picture

First of all thank you for your answer. I read the whole topic and if I understood correctly I have to modify the file " /etc/network/interfaces" but I didnt get what to right in that file and how to do it...

Another thing : the old OS that was installed on this machine was debian and the network was working fine, it configured itself and worked find and the OS that was installed before debian was mineos and there was no problem with the network either... so let's imagine that there is a driver problem, how am I supposed to install the missing driver?

Jeremy Davis's picture

It's probably worth mentioning that generally TurnKey is used as a VM (rather than installed to hardware) and so that's where we put the majority of our efforts and so our hardware support is often not that great.

If you had MineOS working previously on this hardware, perhaps it's better to just reinstall the one that worked before? Having said that, assuming that it was also TurnKey based, I see no reason why this one shouldn't also work?! Although I have no idea how the current ISO you have was built, nor what has been changed by whoever created it. My guess is that this wasn't built by the guy that originally built MineOS...

As I said, MineOS isn't an official TurnKey appliance and it's based on an old version of TurnKey Linux which we no longer officially support. But I'll try to head you in the right direction...

So the default /etc/network/interfaces file that we include in TurnKey v16.x appliances can be seen on GitHub. There haven't been significant changes since the version you have though, so yours by default should look similar.

You can use the pre-installed cli text editor called 'nano' like this:

nano /etc/network/interfaces

If you wish to set a static IP, then you'll want to configure the relevant interface to look something like this. I'll assume eth0, with a static IP of 192.168.1.100, and a gateway/dns (e.g. a consumer grade home router) IP of 192.168.1.1:

auto eth0
iface eth0 inet static
    address 192.168.1.100
    netmask 255.255.255.0
    gateway 192.168.1.1
    dns-nameservers 192.168.1.1

Also as I noted, be sure to remove the top line of that file too.

As to your point about driver, that seems unlikely as you reported in your initial post that you were able to get an IP via DHCP (even though it didn't seem to stick for some reason). For you to be able to get an IP via DHCP, an interface must be working; at least to some degree.

If you're sure that there may be a driver issue, you'll need to find the relevant Debian package that includes the driver for your hardware, download it onto a USB stick (e.g. from another computer), mount the USB stick on this PC and install it with:

dpkg -i /path/to/driver_package.deb

If you keep in mind that TurnKey is based on Debian, searching online should allow you to fill in the gaps on the exact steps needed to do each of those steps (I don't recall the details off the top of my head and I have a ton of other stuff I need to get done...).

If you want to know more about the interfaces file, then assuming that the ISO you have is based on Debian Stretch, then have a look at the interfaces man page. You may also find the Networking section of the Debian manual useful (although note that that is for the current Debian version).

If you manage to work it out, please post back as you'll save the next person a ton of effort.

Hypufix's picture

So, i've done what you said : i wrote my file with that command "

nano /etc/network/interfaces"

so now my file look just exactly like that :

auto eth0
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1

no more and no less

i've reboot the machine and it still says "network not configured yet" so i'v quit de confconsole and i went back to the file thinking it didn't save but everything is here...

i tried to ping 8.8.8.8 and "connect: Network is unreachable"

so I just thought: is it possible to install the basic turnkey and install some kind of package that would add everything needed to become tunrkey in minos?

Hypufix's picture

its finaly working i have acces to the web ui thanks a lot mate

Jeremy Davis's picture

Glad to hear that you worked it out... :)

Add new comment