Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Thanks for the reply, but I'm confused as to how that'd help. What I meant was that I can ping 208.247.106.177 but not linuxquestions.org (same with all other addresses). It's just not resolving (or seemingly even attempting to) anything.
Heh, I rebooted and I can't even ping anything. Now I have to figure out what I had going when the inet was working :P
DNS basically uses names to look up IP's of a particular host. In your case most likely, you can ping an IP but can't ping it by name, that means either your DNS servers from your ISP aren't working or you don't have them specified in your /etc/resolv.conf file.
if your using windows on the same connection.. either use ipconfig (NT, 2000) to get your dns or winipcfg in win98/ME which should display them.
then add them in your /etc/resolv.conf file in this format:
nameserver x.x.x.x nameserver x.x.x.x
where the x.x.x.x would be your IP address of the DNS server and you can put as many as you might have in this file.. usually just a primary and a secondary...
Edit: Okay I found my DNS servers in Windows XP (easy enough). When I rebooted, however, I noticed that 'bringing up interface eth0' didn't even show up, and instead of booting into RedHat's graphical login it went directly into linux's text login. This is confusing me
do a ifconfig eth0 and it should tell you if your eth0 is up and running.. and if it has a IP, subnet.. etc etc..
If not, try running the netconfig utility to setup your network..
if you configure as dhcp, you can still add the DNS to the resolv.conf file.. and you can try to bring up your network with ifconfig up and ifconfig down to bring it down..
up: error fetching interface information: Device not found
When I do ifconfig by itself it now shows my address, Mask, and some Broadcast (192.168.1.255). However, I am guessing this is only there because I did 'ifconfig eth0 192.168.1.101 netmask 255.255.255.0 up'
No, ever since I rebooted I haven't been able to ping. I did something earlier (typical me not to take note of everything I was doing) that allowed me to ping hosts, trying to figure out what it was.
Do you know why, even though eth0 is supposed to be running at startup, it isn't? It's just 'Bringing up interface lo' now, no eth0.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.