How do I figure out what to enter into the fields when I set a static ip in KDE? Other network managers give you suggestions but knetwk does not.
thanks
How do I figure out what to enter into the fields when I set a static ip in KDE? Other network managers give you suggestions but knetwk does not.
thanks
Click the applet to open it. Highlight the interface and click to “Edit” it. Click the tab for IP Address. Use the drop-down box to select option “Manual”. Fill in the following data: Fixed IP address & subnet mask e.g. 192.168.99.141 & 255.255.255.0 then Gateway is the IP address of your router and then put in the name resolvers IP addresses in “DNS Servers” (either the two recommended by your ISP or these supplied by Google – 8.8.8.8. 8.8.4.4)
The IP mask aligns with the IP of your router/gateway e.g. it that is 10.0.0.1 then pick an IP like 10.0.0.99. If it’s 192.168.0.1 then pick an address like 192.168.0.44
A behaviour i don’t understand in KNetworkManager, or maybe i’m missing something, but even if i set a static ip wired connection to be the default one, knetwrk it will always choose the DHCP ip - the default settings.
That’s either a misconfiguration on your part or a fault/bug.
Alternatively, you can goto Yast –> Network Connections and set it up using “traditional method with ifup”. That bypasses the knetwork manager. That’s useful in a static situation e.g. for desktop computers like yours.
In the /etc/NetworkManager/system-connections folder, there might be a file with a name like : System eth0
You can edit this file , as root , to have the default behaviour you want for network manager. For exemple :
[connection]
id=System eth0
uuid=91600xxx-0000-0000-0000-000039000xxx
type=802-3-ethernet
autoconnect=true
timestamp=0
[802-3-ethernet]
speed=0
auto-negotiate=true
mtu=0
[ipv4]
method=manual
address1=192.168.0.46;255.255.255.0;192.168.0.1
dns=194.199.4.18
dns-search=domain.com
ignore-auto-routes=false
ignore-auto-dns=false
In the /etc/NetworkManager/system-connections folder, there might be a file with a name like : System eth0
You can edit this file , as root , to have the default behaviour you want for network manager. For exemple :
[connection]
id=System eth0
uuid=91600xxx-0000-0000-0000-000039000xxx
type=802-3-ethernet
autoconnect=true
timestamp=0
[802-3-ethernet]
speed=0
auto-negotiate=true
mtu=0
[ipv4]
method=manual
address1=192.168.0.46;255.255.255.0;192.168.0.1
dns=194.199.4.18
dns-search=domain.com
ignore-auto-routes=false
ignore-auto-dns=false
Well, i found my config file buried under the .kde4 folder in my home. they are similar except that the order of the [connection] and [802-3-ethernet] sections are reversed in my file. do you think that’s the main difference ?
well, i did a little search and it seems that the main complaint about Knetworkmanager is that it won’t allow you to set static IP. not implemented for some reason. which i still don’t understand because i can set a static ip, it’s just that it cannot be set as the default connection.
Well , for me , in the opensuse 11.1 version, it’s in the /etc/NetworkManager/system-connections folder, which allows network to be connected sooner when the NetworkManager service is enabled at boot.
Perhaps you should check the dates of those claims, it was not implemented in the very beginning of NetworkManager a few years ago.
Obviously a configuration error, it worked for me with every NetworkManager since openSUSE 11.0 or even 10.3.
i’d love to know where i am wrong. it could be that i’m missing something.
When creating or editing a wired connection, there is a check box to enable auto connect. isn’t that what i need ?
All this for your desktop? Why? If this is the case, configure the network using the traditional ‘ifup’ method. For static as well as dhcp. The networkmanager starts to act on user login, on this desktop from the sig you want networkconnection a.s.a.p.
Start Yast - Network and configure the Global settings not to use the networkmananger. Configure static IP, enter netmask and hostname, set 8.8.8.8 and 8.8.4.4 for DNS-es and your router’s ip as the gateway address. Save all and you should be online.
That was the frist piece of advice given in this matter and it’s the obvious solution. Glad you reiterated it. The old proverb about horses and water applies here I think.
OK… OK !! don’t hit me !!! lol!
i’ll do the changes through YAST.
thank you
lol…
Hi, i have the same problem here. But still i want to make the knetworkmanager function properly.
http://i40.tinypic.com/ogat7a.jpg
Here i get “Mi_Casa” (my_home) with a wired static ip connection. It describe some information, but in Estado (status) always say: “Preparandose para conectar” (Attempt to connect * ), and the link work with the given lan configuration, so I can do ping, use samba, apache, ftp, svn, etc… The connection function properly, but it doesn’t reflect the changes in the knetworkmanager information panel.
http://i39.tinypic.com/xm289e.jpg
Here is my configuration in the applet. It have checked the connect automatic checkbox but ALWAYS it connect to the ‘Auto eth0’ connection (see first image) and use the dhcp connection that i don’t want to use when reboot or disconnects.
Well… i want to use knetworkmanager because sometimes i have to connect to wireless, or others wired networks, but by default my home wired network with my own configuration.
It could be a bug (at least the informational pop-up)? a functional/design change for the automatic connection??
Any suggestion, ideas??*