fedora core 6 KDE network wizard under administration
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
I had this problem at work and it took me awhile to figure it out. What happened was that one of my computers was set to obtain IP automatically through the DHCP server, and within that DHCP I could configure the DNS servers. So no matter how many times I told Ubuntu what the DNS should be, it kept pulling the IP from the DHCP server, which then kept assigning it its own DNS server. I finally went into the DHCP server and changed the DNS server to what I wanted. That fixed my problem.
So in a nutshell, I believe you. Your DSL is pushing out the IP address AND the DNS, which Fedora Core 6 is picking up. No matter how many times you change the DNS, Fedora Core 6 will always use the DNS assigned by the DHCP server (your DSL provider) for as long as you are obtaining the IP address from it. Set your FC6 to a static IP or get a router or something.
Hit this problem myself today but was under Gnome not KDE.
However I suspect the mechanisms are similar as I was trying
to fix it using System->Administration->Network Configuration.
The short story seems to be that you can stop it from getting
the DNS as well as IP address for the interface from DHCP.
The steps to ensure this seem to be :
1) Double click the eth device under the "Devices" tab.
This should bring up the "Ethernet Device" dialog.
2) Under the "Automatically Obtain IP address settings with DHCP"
section in this dialog, make sure the "Automatically obtain
DNS information from provider" tick box is OFF.
3) Save the changes and restart the network with
"service network restart"
4) Get back into the Network Configuration UI and go to
the "DNS" tab and enter your primary and secondary.
5) Save the changes and restart the network again with
"service network restart"
The primary and secondary should be set now and stick on
reboots.
Now I did try changing both the device and dns setting in
one go but that didn't do it for me and I suspect it has to
do with the order things are done on the restart of the
network (I haven't time yet to track down the shell scripts
behaviour).
For those that are interested I suspect the culprit line
that needs to be present in the /etc/sysconfig/network-scripts/
ifcfg-ethX file is "PEERDNS=no" and that is what gets added
when you remove the Device tick box setting.
I would be surprised if you want to set the network mask
if you are using DHCP for address assignment, they usually
act as an inseperable tuple. Certainly no DHCP server will
give you an address without an accompanying net mask.
If you really want to set a net mask
different to what the DHCP server is providing I would suggest
sticking with assigning both IP address and net mask statically.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.