Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
stop dhcp client changing hostname
Results 1 to 3 of 3

Thread: stop dhcp client changing hostname

  1. #1

    stop dhcp client changing hostname

    Linux fedora core 2
    GNOME

    How can I stop dhcp client chaning hostname that it gets from dhcp server. In sort I want to have hostname equal to xxxxx.test.com instead of dch<ip address>.test.com.
    I also changed HOSTNAME = xxxxx.test.com in \etc\sysconfig\network and still getting following alert message:

    Could not look up internet address for xxxxx. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding xxxxx to the file /etc/hosts.

    Log in Anyway Try Again


    Any input to resolve this issue is appreciated.
    Thanks

  2. #2

    Re: stop dhcp client changing hostname

    Quote Originally Posted by skskal
    Linux fedora core 2
    GNOME

    How can I stop dhcp client chaning hostname that it gets from dhcp server. In sort I want to have hostname equal to xxxxx.test.com instead of dch<ip address>.test.com.
    I also changed HOSTNAME = xxxxx.test.com in \etc\sysconfig\network and still getting following alert message:

    Could not look up internet address for xxxxx. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding xxxxx to the file /etc/hosts.

    Log in Anyway Try Again



    Any input to resolve this issue is appreciated.
    Thanks

    Found solution to the above mentioned alert message in one of the forum.
    What I did is, I edited line 127.0.0.1 localhost.localdomain localhosts in /etc/hosts file as below and restarted machine.

    127.0.0.1 localhost.localdomain xxxxx


    Thanks

  3. #3

    Re: stop dhcp client changing hostname

    Quote Originally Posted by skskal
    Quote Originally Posted by skskal
    Linux fedora core 2
    GNOME

    How can I stop dhcp client chaning hostname that it gets from dhcp server. In sort I want to have hostname equal to xxxxx.test.com instead of dch<ip address>.test.com.
    I also changed HOSTNAME = xxxxx.test.com in \etc\sysconfig\network and still getting following alert message:

    Could not look up internet address for xxxxx. This will prevent GNOME from operating correctly. It may be possible to correct the problem by adding xxxxx to the file /etc/hosts.

    Log in Anyway Try Again



    Any input to resolve this issue is appreciated.
    Thanks

    Found solution to the above mentioned alert message in one of the forum.
    What I did is, I edited line 127.0.0.1 localhost.localdomain localhosts in /etc/hosts file as below and restarted machine.

    127.0.0.1 localhost.localdomain xxxxx


    Thanks
    Access to network seems very slow after above mentioned change. By reverting the above change network access is faster but, still getting alert message.

    Any solution to this one is appreciated.

    Thanks

Similar Threads

  1. changing hostname with out fouling up network connection?
    By bezdomny in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 07-23-2008, 12:25 PM
  2. Disable Wireless Router DHCP and Use Linux DHCP Server?
    By omnivore in forum Linux - General Topics
    Replies: 0
    Last Post: 01-19-2005, 04:18 PM
  3. DHCP and Hostname help
    By mcdougrs in forum Linux - Hardware, Networking & Security
    Replies: 3
    Last Post: 11-07-2002, 10:00 AM
  4. libranet 2.0 says my hostname is invalid (dhcp)
    By capybara in forum Linux - General Topics
    Replies: 2
    Last Post: 03-30-2002, 03:10 PM
  5. changing hostname
    By agar in forum Linux - Hardware, Networking & Security
    Replies: 6
    Last Post: 12-04-2001, 09:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •