Results 1 to 5 of 5

Thread: [SOLVED] how to set up manual ip address in kubuntu

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Location
    Back to Chennai, India
    Beans
    638
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Smile [SOLVED] how to set up manual ip address in kubuntu

    hi
    i am using internet connection which comes with static ip address.
    i have configured that one in ubuntu and it is working fine. i want have steps in kubuntu to give the ip address and to get connected to internet.
    please help
    thanks

  2. #2
    Join Date
    Nov 2008
    Beans
    Hidden!

    Re: how to set up manual ip address in kubuntu

    I'm new to kubuntu, and I'm also using a static IP. I had to do the following things to get my connection working, after a lot of searching online...

    1) Disable Network Manager:

    Code:
    sudo update-rc.d -f NetworkManager remove
    sudo apt-get remove network-manage
    2) Edit /etc/network/interfaces:

    Code:
    auto lo eth0
    iface lo inet loopback
    
    iface eth0 inet static
    address 192.168.2.2
    netmask 255.255.255.0
    gateway 192.168.2.1
    
    dns-domain 192.168.2.1
    3) Edit /etc/resolv.conf:

    Code:
    domain Home
    nameserver 192.168.2.1
    4) Restart networking:

    Code:
    sudo /etc/init.d/networking restart

    Finally, I installed the "guarddog" package to configure the firewall. I enabled the following protocols for the Internet Zone:

    a) FileTransfer -> FTP,HTTp,HTTPS
    b) Network -> DNS


    I hope that helps you.
    Last edited by automaton26; December 2nd, 2008 at 10:16 AM. Reason: +restart

  3. #3
    Join Date
    Nov 2008
    Location
    Romania
    Beans
    87

    Re: how to set up manual ip address in kubuntu

    Thanks automaton26, it worked for me!

  4. #4
    Join Date
    Jul 2007
    Location
    United States
    Beans
    20
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: how to set up manual ip address in kubuntu

    Thx for the post. I have just one quick question: once you did all that, does your machine connects to network as soon as it reboots or do you still need to login first and then it will get connected?
    Thanks again for info...

  5. #5
    Join Date
    Jul 2005
    Location
    Seattle, WA
    Beans
    279
    Distro
    Kubuntu 5.10

    Re: how to set up manual ip address in kubuntu

    thanks automaton26! i look forward to when this can be configured in the plasma widget, but it sounds like there are bugs right now that stop static from working...hopefully they fix soon...

    for, when i first tried i got the error:
    * Reconfiguring network interfaces... SIOCADDRT: No such process
    Failed to bring up eth0.
    when i restarted the networking.

    after a bit of fooling around, i figured out that the static ip i was trying to set wasn't in the appropriate range (even though my router said it would assign it), i had tried 192.168.1.16 and had to use 192.168.0.16 instead. then it worked for me

    Thanks again!
    My Blog.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •