[Bug 5364] Re: Can't use static ip address with network-manager (and thus no VPN connections menu for static users)

Artist painterii at 126.com
Mon Dec 8 17:02:36 UTC 2008


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 Kubuntu
Bugs, which is subscribed to knetworkmanager in ubuntu.




More information about the kubuntu-bugs mailing list