Redhat DNS Entry


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Redhat DNS Entry
# 8  
Old 09-04-2008
That's how it is supposed to be, but maybe after making the changes to the files per a previous suggestion, it doesn't work correctly??

On RHEL5, the program used is "dhclient". To see if this is running, type

Code:
pgrep dhclient

If you get a process ID, then it is running. If it's not running, then you probably did something wrong during installation. Report back here and we'll see what we can do.

Kill the process ("pkill dhclient") and start it again as root from the command line:
Code:
dhclient -d

The -d tells it to stay in the foreground and print out debug messages. If you can't figure out what's going on there, copy the output and post it. (I suggest copying the output, saving to a file on a USB stick and rebooting into Vista...).
# 9  
Old 09-04-2008
From the GUI - System > Administration > Network > Edit eth0

Check that the Automatically obtain IP & Automatically obtain DNS boxes are selected - apply and save. If WinXP works so should RH5.

The above assumes that eth0 has been detected correctly. Given that RH5 is not bleeding edge it is likely that it doesn't support a brand new Pavillions NIC in which case you would be better off using Fedora 9 (or Ubuntu 8.04 - whatever you fancy).

Hope this helps.
# 10  
Old 09-04-2008
Hello Otheus

Hello Otheus,

I tried your UNIX commands, Thanks.

The first time through pgrep dhclient did not give any results(PID).

Afterwords

1) I did "pkill dhclient" and "dhclient -d"
2) Then "pgrep dhcleint" it gave 7027(PID)

I opened up two terminal windows and with pgrep dhclient it give 7027.

However, there is no connection to the Internet...

Is there any other setting for the internet?

Will look forward to hearing from you.

Best Regrards,

Anil
# 11  
Old 09-04-2008
Hi Otheus,

An update.

I am now in the Network Configuration window.

In the Device Tab the status is still Inactive. I click on the Activate but does not get activated.

Anil
# 12  
Old 09-04-2008
Otheus,

At the end of dhclient -d output it says:
No DHCPOFFERS received.
No working leases in persistant database-sleeping.

I copied the output from Linux but the format was not readable in Notepad or Word.

Regard,

Anil
# 13  
Old 09-04-2008
From the eth0 edit screen select "hardware device" - what does it report?
# 14  
Old 09-04-2008
Hardware device

Hi MicZA,

The hardware device info:

1) Description: Realtek Semiconductor
2) Type: Ethernet
3) Device: eth0
4) Status: OK

Thanks,

Anil
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Modifying/Adding in the DNS server entry using shell script

Dear Experts. I need to add/modify the entries in the DNS server and this has to be achieved using shell script and below is the requirement, could you please let me know if a shell script can be written for this task? 1. Log in to primary DNS server 2. Check /etc/named.conf if zone is... (4 Replies)
Discussion started by: VKIRUPHAKARAN
4 Replies

2. Red Hat

DNS issue in Redhat 9

Hi all m newbie in linux and trying to setup my internal DNS server for local network.After messing with DNS for hours i am posting this. i have configured /etc/resolve.conf, hostname with domain name in /etc/sysconfig/network file,/etc/hosts file with local host entry and zone file... (1 Reply)
Discussion started by: Vaibhav.T
1 Replies

3. IP Networking

Configuring DNS Server in Linux Redhat

Can someone help with a detail step-by-step oh how to configure DNS server on Linux Server. - I need to have 3 IP addresses map to a single hostname. for clients I'm a Linux rookie. Thanks Oscar (1 Reply)
Discussion started by: FrankOscar
1 Replies

4. Red Hat

DNS for linux RedHat

Dear members, I am trying to set up a simple DNS but the problem is that when I ping the name of the IP address in the Reverse file, it does not recognise it. My code are as follows: Note that my IP address is 172.22.45.237. In my /etc/named.conf file, I have added the following lines ... (10 Replies)
Discussion started by: shakshakshuk
10 Replies

5. Red Hat

Dns configuration error in Redhat

Dear All I want to configure DNS in redhat linux. i am following these steps but when i restart the services it is showing status failed. Please any body can help me on urgent basis. #service named restart Stopping named: Starting named: ---------Edited in named.conf... (2 Replies)
Discussion started by: sahu.tapan
2 Replies

6. IP Networking

Hosts file ignored, no DNS entry but still routes!!

Hi all, I have an entry in my hosts file on a server called tractor as follows: 10.67.34.128 digger-m2m digger I have a DNS server configured but it doesn't seem to know about digger. When I do an nslookup on tractor for digger i get the following: new_dns1.oam.uk can't find digger: Non... (0 Replies)
Discussion started by: Donkey25
0 Replies

7. UNIX for Dummies Questions & Answers

DNS forward and reverse entry required thorugh scripting instead of manually done

HI GUrus, I am very mcuh new for this forum ....i need you all guys help for resolving my queries. As i have DNS server , platform is sunsolaris----8. We are using that serevr for resolving all network nodes. I am going to explain the process what i am following .... I could have... (2 Replies)
Discussion started by: leenagoyal
2 Replies

8. AIX

How to add DNS entry in AIX 5.3

we have using windows 2003 server as DNS Server, now we want add dns entry in AIX 5.3 server. can any body help (1 Reply)
Discussion started by: Balajipoola007
1 Replies

9. Solaris

subdomain name entry in DNS server

Hi all, I'm tying to add dns a A record to a dns server running on Solaris 10 on sun's SPARC machine i want to do the following add host name to point to an IP address for a machine running win2k3 both machines have real IPs and exposed to the internet where can i add the A records on DNS server... (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies

10. UNIX for Dummies Questions & Answers

Updating DNS entry

what files do I edit?? or what am trying to get at here is that is this process of updating dns entries relatively simple or very complicated. please tell me about the files that are involved (2 Replies)
Discussion started by: TRUEST
2 Replies
Login or Register to Ask a Question