I've come across a problem where I have gone through a read-me verbatim, and although it works fine, every time I reboot my system (Virtualbox in this matter), the IP address changes even though I have it set on static. I don't know where to go to at this point. Another, but minor, problem is that the clients do not have internet, but I won't touch on that until the main problem is resolved.

Said read-me: https://ubuntu-mate.community/t/how-to-install-pnp-ltsp-on-ubuntu-mate-14-04-lts/566/15

ANY help would be amazing.

  • Can you paste your /etc/network/interfaces config file? I have had success when manually configuring that file to use a static ip. Also, post a response to your referenced link. The author is quite speedy at replying. – awei Apr 23 '15 at 22:02
  • @awei I gave up on MATE and moved on to just using regular Ubuntu. I've used up my three replies on that page and it was no help to be honest. – Kreh Apr 25 '15 at 6:39
  • well lemme know if you need some specific help w/ ltsp. I've been struggling through it myself for the past month and have picked up a few things along the way. feel free to PM me. – awei Apr 27 '15 at 13:45
  • Thanks. :) I've moved on from MATE to just using base Ubuntu because MATE bothered me so much. – Kreh Apr 28 '15 at 17:55
  • Wow i just realized I just said the exact same thing, haha, no coffee today – Kreh Apr 28 '15 at 19:59

The following will set a static ip that network manager will respect. I have copied this from personal ubuntu 14.04 ltsp install instructions so you may not need some of it. I tried to modify the addresses based off your information in the linked questions. I substituted the local nameserver IP addresses with Google's. Modify as needed. I also set an example domain search.

# set static ip
sudo -i
echo "" >> /etc/network/interfaces
echo "" >> /etc/network/interfaces
echo "auto eth0" >> /etc/network/interfaces
echo "iface eth0 inet static" >> /etc/network/interfaces
echo "    address" >> /etc/network/interfaces
echo "    netmask" >> /etc/network/interfaces
echo "    gateway" >> /etc/network/interfaces
echo "    dns-search internal.example.com" >> /etc/network/interfaces
echo "    dns-nameservers" >> /etc/network/interfaces
echo "" >> /etc/network/interfaces
echo "" >> /etc/network/interfaces
echo "" >> /etc/resolvconf/resolv.conf.d/head
echo "nameserver" >> /etc/resolvconf/resolv.conf.d/head
echo "nameserver" >> /etc/resolvconf/resolv.conf.d/head
echo "" >> /etc/resolvconf/resolv.conf.d/head
resolvconf -u

You can also make use of the DNS_SERVER variable in the lts.conf file. For example,

... snip ...
... snip ...

instead of adjusting the network manager / dnsmasq configuration.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.