Click to See Complete Forum and Search --> : Home Network Question


Slash&Burn
09-05-2001, 09:52 PM
For the last two nights I have been pulling my hair out trying to get my Redhat 7.1 System to resolve Hostnames. I have set several different Proxy Servers on my Win98 system, and they work fine in Mozilla for browsing HTTP. But the big issue is that from a shell I can't ping a host (www.redhat.com) "can't find host". I really not sure if I have the network setting correct in Redhat. My Win98 system has a Cable Modem with DHCP settings, How should I config. Redhat.... Please Help! :eek:

Malakin
09-05-2001, 09:55 PM
Why don't you just use the internet connection sharing in win98, then all you should have to do is use dhcp in red hat and in theory it should work. Unless I'm misunderstanding what you're trying to do.

Slash&Burn
09-05-2001, 10:19 PM
Tried that, I want my Redhat box to be the client.

Malakin
09-05-2001, 10:27 PM
if you use internet connection sharing on the win98 box, red hat would be the "client" ?

bdl
09-05-2001, 10:29 PM
If I'm understanding the question, you're having troubles getting your Linux machine to resolve hostnames, in which case you'll need to edit your /etc/resolv.conf file and add your ISP's nameservers like so:


## example /etc/resolv.conf
## change for your system

nameserver 192.168.1.1
nameserver 192.168.1.2


Of course you want to switch the class C private addresses for the actual DNS server addresses your ISP provides. Once you've done this, as long as your connection is up, you should automagically be able to resolve domain names. Luck!