Announcement

Collapse
No announcement yet.

How to use OpenDns.com features in kde... through knetworkmanager

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to use OpenDns.com features in kde... through knetworkmanager

    Code:
    Hey, I'm using a mobile broadband service to get connected to internet. 
    As I heard that OpenDns.com provides free DNS servers for faster and reliable internet, I get registered with it.
    But to make use of it, we have to change the ip address to [b]DHCP[/b] mode and change [b]dns server[/b] to their dns.
    But in [b]Knetworkmanage[/b]r there is no option to make these effective at once. :(
    To give the DNS I have to unable manual config. but then I have to give a IP too. :(
    
    Is there anybody use opendns.com in kubuntu??? please give me some help!
    Thanks. :)
    
    I saw in their help it is possible in ubuntu(gnome-network manager and they give screen shots to follow.) but not for kde.
    --------<br />Kasun Gajasinghe,<br />University of Moratuwa,<br />Sri Lanka.<br /><br />Blog: http://kasunbg.blogspot.com<br />Twitter: http://twitter.com/kasunbg

    #2
    Re: How to use OpenDns.com features in kde... through knetworkmanager

    I have used it. You need to change your router settings not your computer settings.
    "A problem well stated is a problem half solved." --Charles F. Kettering
    "Sometimes the questions are complicated and the answers are simple."--Dr. Seuss

    Comment


      #3
      Re: How to use OpenDns.com features in kde... through knetworkmanager

      But he's using a mobile broadband service. I don't know anything about the device used to connect to these services, can you access them and change settings such as DNS as you can with a router?

      Comment


        #4
        Re: How to use OpenDns.com features in kde... through knetworkmanager

        install wicd from http://apt.wicd.net (replaces k/networkmanager). It has the option to use "global" DNS so opendns servers could be specified there.

        Comment


          #5
          Re: How to use OpenDns.com features in kde... through knetworkmanager

          Thanks for the help so far.

          can you access them and change settings such as DNS as you can with a router?
          No we can not change the settings in it like we do in a router. Instead we have to edit our computer's settings.

          install wicd from http://apt.wicd.net (replaces k/networkmanager). It has the option to use "global" DNS so opendns servers could be specified there.
          is it possible from wicd to change DNS server while keeping "DHCP addresses only" mode

          Does it remove the knetworkmanager compeletely so i can not use it there after
          I'm afraid that wicd won't identify my modem.(E220 HSPA modem)
          It is only identified in kubuntu 8.10.

          any help
          --------<br />Kasun Gajasinghe,<br />University of Moratuwa,<br />Sri Lanka.<br /><br />Blog: http://kasunbg.blogspot.com<br />Twitter: http://twitter.com/kasunbg

          Comment


            #6
            Re: How to use OpenDns.com features in kde... through knetworkmanager

            You can try to add the nameservers manually to /etc/dhcp3/dhclient.conf:
            Code:
            kdesudo kate /etc/dhcp3/dhclient.conf
            Find the line:
            #prepend domain-name-servers 127.0.0.1;
            1. remove the '#' in front and change '127.0.0.1' for the nameserver you wish to use (separated by comma ',' if you wish to add more than one.)

            Reconnect to the network, and dhcp should add those nameservers. (check /etc/resolv.conf)

            Comment


              #7
              Re: How to use OpenDns.com features in kde... through knetworkmanager

              Originally posted by kasunbg
              is it possible from wicd to change DNS server while keeping "DHCP addresses only" mode
              Yes, I just did that on mine.

              Originally posted by kasunbg
              Does it remove the knetworkmanager compeletely so i can not use it there after
              I'm afraid that wicd won't identify my modem.(E220 HSPA modem)
              Knetworkmanager was removed when I Installed wicd (this Jan, new laptop). If "ifconfig" lists your device, I can't see why wicd shouldn't pick it up.

              Comment


                #8
                Re: How to use OpenDns.com features in kde... through knetworkmanager

                When you get OpenDNS working, don't expect a huge change in speed of loading web pages. I use it, have for years, and I like it. But the best way to get to web pages you visit often, is to edit the bookmarks settings and replace the url with the actual IP address of the web site. That way you go directly to the site without having to go thru a DNS server. You can get the IP address merely by pinging the web site.

                Comment


                  #9
                  Re: How to use OpenDns.com features in kde... through knetworkmanager

                  Thanks Kubicle, Vacant and Detonate.

                  Vacant,
                  Are you using "mobile broadband" or any other service?
                  --------<br />Kasun Gajasinghe,<br />University of Moratuwa,<br />Sri Lanka.<br /><br />Blog: http://kasunbg.blogspot.com<br />Twitter: http://twitter.com/kasunbg

                  Comment


                    #10
                    Re: How to use OpenDns.com features in kde... through knetworkmanager

                    Originally posted by kasunbg
                    Vacant,
                    Are you using "mobile broadband" or any other service?
                    No, however, I'm using the "global DNS" feature of wicd to point DNS to 127.0.0.1 for any connection (static or dynamic IP) as I'm running DNSmasq to cache DNS lookups. I believe I get a snappier response in firefox for instance.

                    Comment


                      #11
                      Re: How to use OpenDns.com features in kde... through knetworkmanager

                      Add the following to your /etc/apt/sources.list file and you'll be able to install it via apt, synaptic, or adept:

                      Code:
                      # WICD Repository
                      deb [url]http://apt.wicd.net[/url] intrepid extras

                      Comment


                        #12
                        Re: How to use OpenDns.com features in kde... through knetworkmanager

                        I'm afraid that it will not detect my modem.(It is a hspa mobile broadband). So I tried the manual way by editing "/etc/dhcp3/dhclient.conf" as kubicle mentioned.

                        But it does not change the /etc/resolv.conf file. So when I try to use opendns the site complain about not using opendns servers.

                        I can't see a where it goes wrong!!!
                        --------<br />Kasun Gajasinghe,<br />University of Moratuwa,<br />Sri Lanka.<br /><br />Blog: http://kasunbg.blogspot.com<br />Twitter: http://twitter.com/kasunbg

                        Comment


                          #13
                          Re: How to use OpenDns.com features in kde... through knetworkmanager

                          Originally posted by kasunbg
                          But it does not change the /etc/resolv.conf file. So when I try to use opendns the site complain about not using opendns servers.

                          I can't see a where it goes wrong!!!
                          Tested and works on my end...did you restart your network? You can do:
                          Code:
                          sudo ifdown <interface> && sudo ifup <interface>
                          (replace <interface> with the actual network interface [eth0, eth1, wlan0 etc.])

                          Check /etc/resolv.conf after that.

                          Comment


                            #14
                            Re: How to use OpenDns.com features in kde... through knetworkmanager

                            I'm using a mobile broadband and there is na inteface for that in /etc/dhclient.conf.
                            I even restarted the machine and tried.

                            here's my dhclient.conf file:
                            Code:
                            send host-name "<hostname>";
                            prepend domain-name-servers 208.67.222.222;
                            
                            request subnet-mask, broadcast-address, time-offset, routers,
                            	domain-name, domain-name-servers, domain-search, host-name,
                            	netbios-name-servers, netbios-scope, interface-mtu;
                            my resolv.conf file is:
                            Code:
                            # Generated by NetworkManager
                            nameserver 125.214.169.105
                            nameserver 125.214.169.106
                            Sorry for bothering you!!!
                            --------<br />Kasun Gajasinghe,<br />University of Moratuwa,<br />Sri Lanka.<br /><br />Blog: http://kasunbg.blogspot.com<br />Twitter: http://twitter.com/kasunbg

                            Comment


                              #15
                              Re: How to use OpenDns.com features in kde... through knetworkmanager

                              Since it works fine for me and I don't use NetworkManager...I think it is safe to assume that Networkmanager doesn't read dhclient.conf (though I seem to recall it used to...and it's beyond me why they would have changed that :P).

                              Unfortunately NetworkManager isn't very well documented, so I can't really offer a solution...other than possibly setting up your network manually or with another networking tool (and give NetworkManager the boot). Of course this depends on how badly you need to set your own nameservers (are your ISPs nameservers really that slow?).

                              Comment

                              Working...
                              X