Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

I get IP Address but can't Ping

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
lramos85
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 141
Joined: Tue Jun 29, 2004 10:58 pm
Location: Riverside, Ca

I get IP Address but can't Ping

  • Quote

Post by lramos85 » Wed Nov 19, 2008 8:23 pm

I'm floored...I tried using different versions of the drivers/kernels, I even tried using the same stuff as the livecd with no luck. Then check this out: I go out and buy a different NIC, which uses Tulip drivers, its a Linksys NC 100...I install that, it gives me an IP Address, just like the intel card, everything seems to work but when I try to ping www.google.com it doesn't work.

It works fine on the livecd but not on the system.

I've gone through the dmesg's and the thing that overlaps is:

Code: Select all

eth0: no IPv6 routers present
eth1: no IPv6 routers present
Let me know what other information you need. I have a Dell Optiplex 755.

There are some other stuff there too but I can't copy and paste. I'm starting to think it has nothing to do with my NIC's or their drivers...what else can it be?

Like I said: I get an IP address on both cards, they both are recognized and everything but when I try to access the web...no luck.

Thanks.
Registered Linux User #328996
Register Now!
Adpot an unanswered post today!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Nov 19, 2008 8:38 pm

lramos85,

What IP address do you get ?

Is there a nameserver line in /etc/resolv.conf ?
If not add

Code: Select all

nameserver 4.2.2.1
to get you going but it may be deleted when your dhcp lease is renewed.
This is not a fix, just a diagnostic aid.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
lramos85
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 141
Joined: Tue Jun 29, 2004 10:58 pm
Location: Riverside, Ca

  • Quote

Post by lramos85 » Wed Nov 19, 2008 9:01 pm

LOL, I was about to come here and say: FIXED IT!!!

You are right, under /etc/resolv.conf, nameserver was my domainname:

Code: Select all

nameserver lilnetwork
I ran dhcpd eth1 and it fixed it. (had to rm the dhcp file)

Do I have to do this everytime?? or I should just get the correct nameserver? Under /etc/conf.d/net "dns_domain_lo="lilnetwork"" should I put the dns ip instead?

Thanks for everything.
Registered Linux User #328996
Register Now!
Adpot an unanswered post today!
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Wed Nov 19, 2008 9:41 pm

lramos85,

Your dhcp server (your router) should provide a nameserver for /etc/resolv.conf.
If not, you can set /etc/resolv.conf manually and set the nodns option in /etc/conf.d/net to tell dhcpcd that it must not overwrite your namservers.
See the syntax in /etc/conf.d/net.example

You should set two nameservers in case one fails.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic