This article describes how to set a static IP address and static DNS on your ticker Media Player running Lubuntu 14.04 or Ubuntu 11.10.
How do I know if I'm running Lubuntu 14.04 or Ubuntu 11.10?
- In terminal, type lsb_release -r and press enter. The version of Ubuntu that you're running will be listed in the output next to Release:
- If you see 14.04 next to Release, then you're running Lubuntu 14.04
- If you see 11.10 next to Release, then you're running Ubuntu 11.10
- If you see 14.04 next to Release, then you're running Lubuntu 14.04
Instructions for Lubuntu 14.04
Add a static IP and static DNS servers to the interfaces and head files
- In terminal, type sudo gedit /etc/network/interfaces and press enter. You will be asked to enter a password which is "riselocal" with no double-quotes.
- In the interfaces file, you will be changing the settings under the auto eth0 section
- On the iface eth0 inet dhcp line, replace dhcp with static, press enter to start a new line
- Type address followed by your static IP address, press enter to start a new line
- Type netmask followed by your subnet mask, press enter to start a new line
- Type gateway followed by your gateway address, press enter to start a new line
- Type dns-nameservers followed by your DNS server addresses. If you require more than one DNS server make sure to put a space between addresses.
- Close the text editor, saving your changes
- In terminal, type sudo gedit /etc/resolvconf/resolv.conf.d/head and press enter
- In the head file, go to the end of the existing text, hit Enter x2, this will put a blank line between the text and what you’ll enter in the next steps.
- Type nameserver followed by your first DNS server address, press enter to start a new line
- Type nameserver followed by your secondary DNS server address.
- Close the text editor, saving your changes
- In terminal, type sudo reboot to restart your Media Player
Instructions for Ubuntu 11.10
Add a static IP and static DNS servers to the interfaces and resolv.conf files
- In terminal, type sudo gedit /etc/network/interfaces and press enter. You will be asked to enter a password which is "riselocal" with no double-quotes.
- In the interfaces file, you will be changing the settings under the auto eth0 section
- On the iface eth0 inet dhcp line, replace dhcp with static, press enter to start a new line
- Type address followed by your static IP address, press enter to start a new line
- Type netmask followed by your subnet mask, press enter to start a new line
- Type gateway followed by your gateway address, press enter to start a new line
- Close the text editor, saving your changes
- In terminal, type sudo gedit /etc/resolv.conf and press enter. You may be asked to type in the password again -- use the same password as listed in step 1.
- In the resolv.conf file, replace the IP next to the nameserver text on the first line with the IP of your primary DNS server, press enter to start a new line.
- Type nameserver followed by your secondary DNS server address
- Close the text editor, saving your changes
- In terminal, type sudo reboot to restart your Media Player