NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
Cannot set static ip on my server [solved]Hi, i've tried to setup my servers ip to be static instead of the default dhcp one. Since it's a webserver it feels like a generally good idea. However, i have edited the interfaces file like below... # The loopback network interface # The primary network interface iface eth0 inet static ...and when i do a restart on the network i get an error saying something like "Don't seem to have all the variables for eth0/inet". What's the matter? I've searched the entire Internet and i've seen lots of example interfaces-files that looksjust like mine. What is causing this error? Regards Fredrik |
Re: Cannot set static ip on my server
It looks like there's a typo in the word "address"; if that's the case in /etc/network/interfaces, that's enough to break it.
I'm glad I never make typos like that... :-)
Cannot set static ip on my
Very well, don't know if i'm to be crying or laughing at myself. I'm from Sweden, thats my only excuse.
Thanks for the help. That was it.
Regards Fredrik