Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 16 of 16
Like Tree1Likes
Originally Posted by pirate1 Sure thing, rather than using wireless, I plugged in my ethernet cable and ran net-setup eth0 and dhcpcd eth0. lol... I love wired services and despise ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733

    Quote Originally Posted by pirate1 View Post
    Sure thing, rather than using wireless, I plugged in my ethernet cable and ran net-setup eth0 and dhcpcd eth0.
    lol... I love wired services and despise wireless stuff.

    Every time I opt for wireless anything, I always end up regretting it.
    oz

  2. #12
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Ya just gotta love the simple fixes!
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #13
    Just Joined!
    Join Date
    Sep 2008
    Posts
    10
    Okay so I am getting the same error even after I used the remedy I provided. I need help again!

  4. #14
    Just Joined!
    Join Date
    Dec 2006
    Posts
    26
    Quote Originally Posted by pirate1 View Post
    Okay so I am getting the same error even after I used the remedy I provided. I need help again!
    I'm not a gentoo expert, but I do know a lot about networks...

    What is your network setup? This is the exact same problem I was having, I was statically assigning my address and forgetting 192.168.0.1 is my routers IP
    (aka my gateway's IP address, which is a conflict)

    Then I switched routers and I was setting my gateway to the wrong gateway.


    ... actually ... I don't see you setting up your gateway at all...
    please post the contents of...
    Code:
    ifconfig
    route
    cat /etc/resolv.conf
    Each one of those commands checks to make sure you setup static addressing correctly
    (like so)
    Code:
    ifconfig eth0 192.168.0.200/24
    route add default gw 192.168.0.1
    echo nameserver 192.168.0.1 > /etc/resolv.conf
    where 192.168.0.200 would be your ip (/24 is standard netmask iirc)

    where gw 192.168.0.1 is your routers IP address, if you are connected directly into your ISP's modem/antenna then you need to find it's gateway with a dhcp enabled computer (windows, start->run->"cmd"->"ipconfig /all")

    And the nameserver is usually the same as your gateway, or provided by your ISP. If your router/modem does not have that feature (rare nowdays) and you don't want to call your ISP or find the papers they gave you. Use 4.2.2.1, 4.2.2.2, or 4.2.2.3 however they aren't as reliable as your ISP.

    And you could try
    Code:
    dhcpcd eth0
    However if dhcpcd isn't on your machine to begin with (like mine)
    You'll need to setup a static address (commands above) and then emerge dhcpcd.

  5. #15
    rrw
    rrw is offline
    Just Joined!
    Join Date
    Aug 2011
    Posts
    1
    Sorry to bump such an old thread, but my problem is similar to the one that was discussed here. Only I must be missing a step or two in here somewhere because I can't get it to work.
    I'm trying to follow the three commands above to so I'm connected to my wireless network.
    I think I've got the first two lines right, but I'm new to this and sadly don't understand the /etc/resolv.conf segment.
    So far I've got "echo nyc.rr.com (my IP address) >" but I'm afraid after that I'm at a loss and I haven't been able to find an explanation online.

    Thanks in advance for any help!

  6. #16
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Hi and Welcome!

    Like you mentioned, this is an old thread.
    It might be better if you start a fresh one, giving as much info as possible.
    Describe the problem in detail.
    List your version of Linux, which commands you've used as well as any errors that may have come up.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Page 2 of 2 FirstFirst 1 2

Posting Permissions

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