I can now get on the Inet, but I can't dns
Okay, another problem. Sorry if this is a really easy thing to fix, I'm really clueless (as you can tell) with this stuff ;)
I got my internet working (somehow) but I can only go directly to ips, I can't enter in addresses because it doesn't know the host. Any help is appreciated. |
you can add your dns entries in the /etc/resolv.conf file
|
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 = Domain Name Resolution
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. |
Ah, ok, the DNS servers. That makes more sense.
The DNS servers of my ISP are working, as they work fine for my windows box (what I'm on now). No idea how to get them, though. Thanks |
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... -trickykid |
C:\DOCUME~1\ADAM>ipconfig
Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : ne.mediaone.net IP Address. . . . . . . . . . . . : 192.168.1.100 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.1.1 That's from Windows XP. The IP address and gateway are those that my router has provided, not my ISP. When I whois mediaone.net (my provider) I get this: NS1.MEDIAONE.NET 24.128.1.80 NS2.MEDIAONE.NET 24.128.1.81 NS1.MW.MEDIAONE.NET 24.131.1.8 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.. post any problems you may have.. -trickykid |
ifconfig eth0 shows my hardware address, BROADCAST MULTICAST, and a bunch of other things. No IP or anything, however.
As for 'netconfig' I select 'Use dynamic IP configuration' because my router is acting as a DHCP server. |
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.. |
The resolv conf file has my NS information now.
ifconfig up displays this: 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' |
can you ping names or not.. ?? and can you get on the net by browsing names instead of IP's ??
|
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. Thanks again for your help |
it must not be loading your module for you ethernet card..
|
'alias eth0 tulip' is in my modules.conf file. I've checked on Red Hat's website and tulip was correct for my card.
|
All times are GMT -5. The time now is 07:21 PM. |