Announcement

Collapse
No announcement yet.

problem with knetworkmanager(static ip)

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

    problem with knetworkmanager(static ip)

    i have recently installed kubuntu 8.10 .I have a problem with network manager .
    even after setting my static ip and dns in the network manager i am not abe to connect to net.
    so i have changed my interface file by updating it with my ipaddress and default gateway .
    after doing the above changes i am able to get ping but i am not able to acces internet.

    #2
    Re: problem with knetworkmanager(static ip)

    From the 8.10 release notes:
    KNetworkManager in Kubuntu 8.10 sometimes fails with network connections that require static IP address configuration (bug 280762). Connections which use DHCP for IP address configuration are not affected by this problem.

    I'm not sure that the manual configuration you tried would work as long as network manager is still trying to manage the connection (i.e. is installed)

    Someone will be along soon to suggest a replacement, I won't because I have no experience with it.

    Comment


      #3
      Re: problem with knetworkmanager(static ip)

      Is this a wired or wireless connection? If it is a wired connection, you don't need Knetworkmanager. Remove it.

      Then edit your /etc/network/interfaces file to look like mine. edit it of course to use the static IP you are trying to use and the proper address of your router in gateway.

      # The loopback network interface
      auto lo
      iface lo inet loopback
      address 127.0.0.1
      netmask 255.0.0.0

      # The primary network interface
      auto eth0
      #iface eth0 inet dhcp

      iface eth0 inet static
      address 192.168.1.10
      netmask 255.255.255.0
      gateway 192.168.1.1



      Then restart the network with
      Code:
      sudo /etc/init.d/networking restart

      Comment


        #4
        Re: problem with knetworkmanager(static ip)

        Thanks for this. I've never been able to figure out if KnetworkManager was really needed or not.
        Never trust a computer you can&#39;t throw out a window.<br />&nbsp; ~Steve Wozniak

        Comment


          #5
          Re: problem with knetworkmanager(static ip)

          I have same problem too, I think because I didn't get clean installation so I reinstall it until 3 times but it still show same result, Knetworkmanager have problem with static ip.

          So' I tried to install wicd and it's automatically uninstall knetworkmanager.
          and my wired (static ip) and wireless work fine until now

          if someone want to try, here is what I'm doing with wicd

          wicd is rather aggressive in its behaviour towards other network managers - it just scraps them. You can reinstall knetworkmanager of course using the original CD.

          If you still want to go ahead, here goes:

          1. open a root kate by typing:

          Code:
          kdesudo kate

          2. open /etc/apt/sources.list

          3. copy and paste the following lines at the end of the file:
          a. if you are running 8.04:
          Quote
          # wicd
          deb http://apt.wicd.net hardy extras
          b. if you are running 8.10:
          Quote
          # wicd
          deb http://apt.wicd.net intrepid extras

          4. save the file and close kate

          5. copy and paste this into your command line and press enter.

          Code:
          wget -q http://apt.wicd.net/wicd.gpg -O- | sudo apt-key add - && sudo apt-get update && sudo apt-get install wicd

          6. done Cool

          Comment


            #6
            Re: problem with knetworkmanager(static ip)

            Thanks to vien03, static ip works for me now. I think both KDE and Gnome should just use wicd.

            Comment

            Working...
            X