sp0nge
July 3rd, 2008, 02:37 PM
Hello to all!
I have recently installed the 8.04 server edition on a spare machine that I want to use as a testing ground for hosting my own websites.
I found a tutorial (http://www.howtoforge.com/perfect-server-ubuntu8.04-lts-p3) that walks me through setting everything up the way I think I want it (for now) but I'm running into some issues.
I'm working to configure the file "/etc/network/interfaces" and I have some changes for my network I'm using the following:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.199
netmask 255.255.255.0
network 192.168.1.1
broadcast 192.168.1.255
gateway 192.168.1.1
I think that is correct for my current router setup.
My problem is that I have never used VIM before and when I try to save the changes, I get a red bar along the bottom of the screen saying "E45: 'readonly' option is set (add ! to override)". I have tried every command I can find that will save the changes and have added the "!" both at the beginning and the end but am unable to save the settings. I finally got some progress. After I edited the file, I <esc> to command mode and then type ":w!" which gives me:
"/etc/network/interfaces" E212: Can't open file for writing
Press ENTER or type command to continue
Please help point me in the right direction.
I have recently installed the 8.04 server edition on a spare machine that I want to use as a testing ground for hosting my own websites.
I found a tutorial (http://www.howtoforge.com/perfect-server-ubuntu8.04-lts-p3) that walks me through setting everything up the way I think I want it (for now) but I'm running into some issues.
I'm working to configure the file "/etc/network/interfaces" and I have some changes for my network I'm using the following:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.199
netmask 255.255.255.0
network 192.168.1.1
broadcast 192.168.1.255
gateway 192.168.1.1
I think that is correct for my current router setup.
My problem is that I have never used VIM before and when I try to save the changes, I get a red bar along the bottom of the screen saying "E45: 'readonly' option is set (add ! to override)". I have tried every command I can find that will save the changes and have added the "!" both at the beginning and the end but am unable to save the settings. I finally got some progress. After I edited the file, I <esc> to command mode and then type ":w!" which gives me:
"/etc/network/interfaces" E212: Can't open file for writing
Press ENTER or type command to continue
Please help point me in the right direction.