Example for set a static IP:

1. edit (as root) /etc/NetworkManager/nm-system-settings.conf:
---------------------------------
  [ifupdown]
  managed=true
---------------------------------

2. edit (as root) /etc/network/interfaces
---------------------------------
auto lo
iface lo inet loopback

auto eth0

iface eth0 inet static
address 192.168.18.111 #(your IP instead)
netmask 255.255.255.0
gateway 192.168.18.1    #(your gateway instead)
mtu 1400 #(option)
----------------------------------

3. edit(as root)  /etc/resolv.conf 
-----------------------------------
# Generated by NetworkManager
domain login
search login
nameserver 202.96.64.68 202.96.69.38 192.168.18.1 #(the name server your area) 
-----------------------------------

Why do so, read /usr/share/doc/network-manager/README.Debian, please.

-- 
Can't use static ip address with network-manager (and thus no VPN connections 
menu for static users)
https://bugs.launchpad.net/bugs/5364
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to