LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-17-2002, 11:01 AM   #1
AdamB
Member
 
Registered: Feb 2002
Posts: 38

Rep: Reputation: 15
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.
 
Old 02-17-2002, 11:10 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
you can add your dns entries in the /etc/resolv.conf file
 
Old 02-17-2002, 11:14 AM   #3
AdamB
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
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
 
Old 02-17-2002, 11:28 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 02-17-2002, 11:32 AM   #5
AdamB
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
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
 
Old 02-17-2002, 11:35 AM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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

Last edited by trickykid; 02-17-2002 at 11:36 AM.
 
Old 02-17-2002, 11:41 AM   #7
AdamB
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
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

Last edited by AdamB; 02-17-2002 at 11:45 AM.
 
Old 02-17-2002, 11:49 AM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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
 
Old 02-17-2002, 11:52 AM   #9
AdamB
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
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.
 
Old 02-17-2002, 12:02 PM   #10
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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..
 
Old 02-17-2002, 12:05 PM   #11
AdamB
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
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'
 
Old 02-17-2002, 12:14 PM   #12
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
can you ping names or not.. ?? and can you get on the net by browsing names instead of IP's ??
 
Old 02-17-2002, 12:17 PM   #13
AdamB
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
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
 
Old 02-17-2002, 12:22 PM   #14
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
it must not be loading your module for you ethernet card..
 
Old 02-17-2002, 12:25 PM   #15
AdamB
Member
 
Registered: Feb 2002
Posts: 38

Original Poster
Rep: Reputation: 15
'alias eth0 tulip' is in my modules.conf file. I've checked on Red Hat's website and tulip was correct for my card.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
inet.d Martin Strand Linux - Newbie 1 04-10-2005 08:23 PM
SuSE INET yllek Linux - Laptop and Netbook 1 11-22-2004 08:23 AM
Mandrake 9.1 and inet nik.dk Linux - Networking 3 07-18-2003 01:18 PM
No Inet cmull123 Linux - Networking 1 06-23-2003 02:55 PM
dns / inet problems with redhat 8.0 rgoeijde Linux - Networking 0 03-19-2003 10:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration