Announcement

Collapse
No announcement yet.

Need help in setting up an internet connection

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

    Need help in setting up an internet connection

    How do I manually set a LAN connection in Kubuntu?

    I need to add this information manually:

    IP Address: 192.168.1.xyz
    Subnet Mask: 255.255.255.0
    Gateway: 192.168.1.1

    Preferred DNS: 203.99.163.240
    Alternate DNS: 203.99.163.243

    Help!

    #2
    Re: Need help in setting up an internet connection

    You may be able to do this with the GUI but the most reliable way is to edit /etc/network/interfaces to look like this.
    ************************************
    auto lo eth0
    iface lo inet loopback

    auto eth0
    iface eth0 inet static
    address 192.168.1.xyz
    netmask 255.255.255.0
    broadcast 192.168.1.255
    network 192.168.1.0
    gateway 192.168.1.1
    dns-nameservers 203.99.163.240 203.99.163.243
    *****************************************
    You must be root to edit that file so maybe
    sudo kate /etc/network/interfaces
    unless you prefer another editor.

    After that I would like to say that
    sudo invoke-rc.d network restart
    should bring it up but that is probably not true while you have network-manager running. So you could run
    sudo aptitude purge network-manager
    which is what I do, or if you want to try to use it to configure wireless or something you might either reboot or try
    sudo invoke-rc.d network-manager stop
    sudo invoke-rc.d network restart
    and then
    sudo invoke-rc.d network-manager start

    After it is setup the network will be brought up at boot and you can bring it up or down with
    sudo ifdown eth0
    and
    sudo ifup eth0

    Comment


      #3
      Re: Need help in setting up an internet connection

      Follow my instructions here:

      http://kubuntuforums.net/forums/inde...opic=3100052.0

      That should work.

      Comment

      Working...
      X