Sök
Hjälp?
Behöver ni experthjälp med något programmeringsärende eller vill ni kanske fråga om råd inför en IT-investering? Kontakta mig så ska jag försöka hjälpa er!Nyckelord
Addon Apache Computer CSS Design Development Download Error Firefox Google HOWTO HTML Internet Internet Explorer iPhone JavaScript JeOS Linux Microsoft MSDN MySQL NoScript Open Source Opera Patent Perl php Programmering Recension Roligt rsync Safari Security SEO Server Slow Software SSH Ubuntu Virus Visual Basic VMWare Web Windows Wordpress
Nyheter från New SeedAnnons
Arkiv
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- October 2009
- September 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
Tag Archives: IP
Set a static IP in Ubuntu JeOS
I got a few questions about setting a static IP in Ubuntu JeOS. Here is a short and easy step by step guide!
The network settings are stored in the file /etc/network/interfaces and it’s always a good idea to make a backup first in case something goes wrong.
sudo cp /etc/network/interfaces /etc/network/interfaces.bak
When that is done we can safely edit the original file and can always look back or restore the old setting. Now edit the original file:
sudo nano /etc/network/interfaces
Find the part that says “# The primary netwok interface” and change that (and the following two lines) so it looks like this (change to your desired IP of course!):
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.50
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
Now save the file and restart the network with the following command:
sudo /etc/init.d/networking restart
Done! Now you’re JeOS should be on a static IP-address!