Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: [SOLVED] Brand new to linux, problems connecting to internet

  1. #11
    Join Date
    Apr 2008
    Beans
    70

    Re: Brand new to linux, problems connecting to internet

    Sorry about that, but let me do you one better.

    For manual configuration of ip, mask, and gateway, use the command

    Code:
    sudo kate /etc/network/interfaces
    and paste your info like so

    Code:
    auto lo
    iface lo inet loopback
    
    
    iface eth0 inet static
    address 192.168.254.77
    netmask 255.255.255.0
    gateway 192.168.254.254
    
    auto eth0
    and the same above for DNS, open /etc/resolv.conf

    Code:
    sudo kate /etc/resolv.conf
    and paste in your naemservers

    Code:
    ### BEGIN INFO
    #
    # Modified_by:  NetworkManager
    # Process:      /usr/bin/NetworkManager
    # Process_id:   5019
    #
    ### END INFO
    
    search domain.invalid
    
    
    
    
    nameserver 208.67.222.222
    nameserver 208.67.220.220
    save and that should stick.


    Edit: Restart the interface after applying these settings, use

    sudo ifconfig eth0 down
    sudo ifconfig eth up

    and if that doesn't work, reboot once.
    Last edited by lwvmobile; September 24th, 2008 at 10:50 PM. Reason: add a step at the end

  2. #12
    Join Date
    Apr 2008
    Beans
    70

    Re: Brand new to linux, problems connecting to internet

    Quote Originally Posted by xravex View Post
    i know kate is installed. but I get the same error when I type
    Code:
    sudo kate /etc/resolv.conf
    you can always use

    Code:
    sudo nano /etc/resolv.conf
    but its a terminal text editor, but ou can still paste into it, then use ctrl+x to exit and hit y to save.

  3. #13
    Join Date
    Sep 2008
    Beans
    9

    Re: Brand new to linux, problems connecting to internet

    I got interfaces open. When I try to save the file I get this error

    The document could not be saved, as it was not possible to write to /etc/network/interfaces

    Check that you have write access to this file or that enough disk space is available.

    I know I have the disk space available.

  4. #14
    Join Date
    Apr 2008
    Beans
    70

    Re: Brand new to linux, problems connecting to internet

    Quote Originally Posted by xravex View Post
    I got interfaces open. When I try to save the file I get this error

    The document could not be saved, as it was not possible to write to /etc/network/interfaces

    Check that you have write access to this file or that enough disk space is available.

    I know I have the disk space available.
    make sure to sudo on the command to open it; else you cannot save it.

  5. #15
    Join Date
    Oct 2004
    Location
    Panamá
    Beans
    1,427
    Distro
    Ubuntu Studio 9.04 Jaunty Jackalope

    Re: Brand new to linux, problems connecting to internet

    use kdesu instead of sudo since you´re using a KDE app.
    "Some people says that if you run a Microsoft Midori iso backwards you will hear demon voices commanding you to worship Satan". But that's nothing. If you run it forward it will install Microsoft Midori.

  6. #16
    Join Date
    Sep 2008
    Beans
    9

    Re: Brand new to linux, problems connecting to internet

    I have made those changes, checked and rechecked them. Now knetworkmanager does not even see an active device.

  7. #17
    Join Date
    Apr 2008
    Beans
    70

    Re: Brand new to linux, problems connecting to internet

    Not sure how reliable the KNetworkManager is, but what is the output of

    Code:
    ifconfig
    you may need to bring the interface up using

    Code:
    kdesu ifconfig eth0 up
    We'll get you going

  8. #18
    Join Date
    Sep 2008
    Beans
    9

    Re: Brand new to linux, problems connecting to internet

    I double checked everything and restarted the system and now it is working. thanks for all the help everyone

Page 2 of 2 FirstFirst 12

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
  •