Announcement

Collapse
No announcement yet.

Use static IP?

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

    Use static IP?

    I want to set my Kubuntu box on static IP, because I use port forwarding to that machine so it can't change address.

    I see this set of instructions repeated everywhere:

    sudo vim /etc/network/interfaces

    the edit the eth0 interface accordingly.

    auto eth0
    iface eth0 inet dhcp


    unfortunately, in my case /etc/network/interfaces only contains the lo interface, eth0 doesn't appear.


    #2
    Re: Use static IP?

    http://www.cyberciti.biz/tips/howto-...iguration.html

    Here is a general guide to Kubuntu: http://kubuntuguide.org/Lucid
    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
    – John F. Kennedy, February 26, 1962.

    Comment


      #3
      Re: Use static IP?

      Code:
      # The primary network interface
      auto eth0
      iface eth0 inet static
      address 192.168.1.199
      gateway 192.168.1.1
      netmask 255.255.255.0
      Substitute your ip and gateway

      Please Read Me

      Comment


        #4
        Re: Use static IP?

        Don't forget to put your nameservers in /etc/resolv.conf

        Code:
        nameserver 208.67.222.222
        nameserver 208.67.220.220
        Finally:
        Code:
        sudo /etc/init.d/networking restart

        Comment


          #5
          Re: Use static IP?

          I did all that and it seems to work, however the applet in the system tray now shows the network as unconnected, and I can't figure out how to remove it.

          Comment


            #6
            Re: Use static IP?

            Originally posted by papaschtroumpf
            I did all that and it seems to work, however the applet in the system tray now shows the network as unconnected, and I can't figure out how to remove it.
            the network manager will always show unconnected because the networkmanager is not connected (but the machine is). if you right click in the system tray area you can configure it to not show the network manager applet.

            Mark Your Solved Issues [SOLVED]
            (top of thread: thread tools)

            Comment


              #7
              Re: Use static IP?

              Originally posted by papaschtroumpf
              I did all that and it seems to work, however the applet in the system tray now shows the network as unconnected, and I can't figure out how to remove it.
              That's because there are now two managers. One is not doing it's job and the other one is. Shoot the other one. LOL

              Comment

              Working...
              X