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

Thread: can`t use static ip using 8.04

  1. #11
    Join Date
    Apr 2006
    Beans
    69

    Re: can`t use static ip using 8.04

    Try:

    gksudo gedit /etc/resolv.conf

    Then type in your dns ip as:

    nameserver xxx.xxx.xxx.xxx


    Then save!

  2. #12
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,418
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: can`t use static ip using 8.04

    When you
    Code:
    sudo gedit /your/config/file
    and make changes, it won't let you save and close? Please let us see the result of:
    Code:
    ping -c3 192.168.2.1
    ping -c3 74.125.45.147
    ping -c3 www.google.com
    Can you get to the administration pages of your router? http://192.168.2.1 perhaps? Does it have DNS addresses? If so, jot those down carefully and we'll proceed.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  3. #13
    Join Date
    May 2008
    Location
    Brøstadbotn, Norway
    Beans
    22
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: can`t use static ip using 8.04

    Could not save the file /ect/resolv.conf
    Unexpected error: File not found wery strange since when I see in the file exlporer, it`s there. When I had typed the code. a window opens. but there isn`t any text there. I opend the file in explorer, and there it says:

    ipaddres 192.168.2.116
    nameserver 192.168.0.1

    ping router 192.168.2.1 ok
    everything else fails.

  4. #14
    Join Date
    May 2008
    Beans
    10

    Re: can`t use static ip using 8.04

    I have not yet found a way to use the file manager in root (super user) but if you use the terminal and type
    sudo gedit <file location and name>
    you can save without a problem. I hope this helps

  5. #15
    Join Date
    May 2008
    Location
    Brøstadbotn, Norway
    Beans
    22
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: can`t use static ip using 8.04

    Quote Originally Posted by Dalej View Post
    I have not yet found a way to use the file manager in root (super user) but if you use the terminal and type
    sudo gedit <file location and name>
    you can save without a problem. I hope this helps
    nope. can`t save. have tried: sudo gedit ect/resolv.conf, gksudo gedit ect/resolv.conf, sudo gedit /ect/resolv.conf and gksudo gedit /ect/resolv.conf. always getting error message.

  6. #16
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,418
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: can`t use static ip using 8.04

    sudo gedit /ect/resolv.conf
    It's not ect, it's etc.
    ipaddres 192.168.2.116
    nameserver 192.168.0.1
    What is the address of your router? Your interfaces file says it's 192.168.2.1. /etc/resolv.conf thinks it's 192.168.0.1. If it is actually 192.168.2.1, and I think it is, because it responds to pings, then sudo gedit /etc/resolv.conf and make it look exactly like this:
    Code:
    nameserver 192.168.2.1
    Then try the ping commands I gave you before. Let us know.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  7. #17
    Join Date
    May 2008
    Location
    Brøstadbotn, Norway
    Beans
    22
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: can`t use static ip using 8.04

    Quote Originally Posted by chili555 View Post
    It's not ect, it's etc.What is the address of your router? Your interfaces file says it's 192.168.2.1. /etc/resolv.conf thinks it's 192.168.0.1. If it is actually 192.168.2.1, and I think it is, because it responds to pings, then sudo gedit /etc/resolv.conf and make it look exactly like this:
    Code:
    nameserver 192.168.2.1
    Then try the ping commands I gave you before. Let us know.
    Wow. its working. I have internet and everything. Thanx a lot. everything because of dyslexia. I used cut and paste, and I got in. I am so happy now.

  8. #18
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    20,418
    Distro
    Ubuntu 14.10 Utopic Unicorn

    Re: can`t use static ip using 8.04

    I love copy and paste! Fortunately for me, you can copy and paste from a forum page to a terminal and from a terminal to a reply page! Saves me a lot of typing and more than a few mistakes.

    Glad it's working for you.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

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
  •