Today I found some problem when I setting static IP for ubuntu 11.04.
I using network manager GUI interface ,and set eth0 manual. After setting up the IP addrerss, i cant't press save button . And the step below can solve the proble.
Here's what I do :
1. Right click on NM applet and choose "Edit Connections"
2. Click "Add" to create a new wired connection.
3. Give it a name, like "Static 192.168.1.150"
4. Click on IPv4 settings
5. Click Method and change to "Manual".
6. Click "Add"
7. Double click on Address bit - enter address, remember to hit return.
8. Do the same for netmask - remember that return button at the end.
9. Do the Gateway, and yep - hit return to save everything.
10. Optionally configure DNS and search domains. I usually stick DNS as the gateway address.
11. Hit Apply and close the dialog.
12. Finally, left click on NM applet and choose your "Static 192.168.1.150" entry.
ref:http://ubuntuforums.org/showthread.php?t=1278133&page=2