Does any linux guru out there know how to change the DHCP client name from TEST?
I followed the instruction to use system-config-network and suceeded in changing the shell prompt to the host name I want, but my router still says the node name is TEST.
Some internet searching came up with the "dhclient" command - which works - but after the next lease renewal it is back to TEST again. That name must be buried someplace in the linux configuration.
TRY adding or editing the "HOSTNAME=" line in:
/etc/sysconfig/network
Was almost able to do this from memory but had to google it
by searching for "centos change hostname"
Not everyone is going to know exactly what to search for. so I won't griping "google is your friend" anytime soon
Tested here and works
[root@N8LBV-R ~]#
-Steve
Does any linux guru out there know how to change the DHCP client name
from TEST?
I followed the instruction to use system-config-network and suceeded in
changing the shell prompt to the host name I want, but my router still
says the node name is TEST.
Some internet searching came up with the "dhclient" command - which
works - but after the next lease renewal it is back to TEST again.
That name must be buried someplace in the linux configuration.
Does any linux guru out there know how to change the DHCP client name
from TEST?
I followed the instruction to use system-config-network and suceeded in
changing the shell prompt to the host name I want, but my router still
says the node name is TEST.
Some internet searching came up with the "dhclient" command - which
works - but after the next lease renewal it is back to TEST again.
That name must be buried someplace in the linux configuration.
Does any linux guru out there know how to change the DHCP client name
from TEST?
I followed the instruction to use system-config-network and suceeded in
changing the shell prompt to the host name I want, but my router still
says the node name is TEST.
Some internet searching came up with the "dhclient" command - which
works - but after the next lease renewal it is back to TEST again.
That name must be buried someplace in the linux configuration.
I don't know if this is ok for your distribution, but it's ok for me with CentOS.
Fix the station name in the file /etc/sysconfig/network :
HOSTNAME=asterisk.yourdomain.net
Add the machine name (HOSTNAME) in /etc/hosts :
127.0.0.1 asterisk.yourdomain.net localhost.localdomain localhost
This must be ok.
Feedback, please.
73,
F6HQZ
Francois
Le 07/01/2010 16:03, Ken a �crit :
···
Does any linux guru out there know how to change the DHCP client name
from TEST?
I followed the instruction to use system-config-network and suceeded in
changing the shell prompt to the host name I want, but my router still
says the node name is TEST.
Some internet searching came up with the "dhclient" command - which
works - but after the next lease renewal it is back to TEST again.
That name must be buried someplace in the linux configuration.
yes I found that item in the QRVC site and as I mentioned , while it works to change the host name within the program; it does not change the hostname to the outside world (DHCP server).
I guess I am now one small step towards guru-hood.
I found this:
etc/sysconfig/network-scripts/ifcfg-eth0
mine looks like this (after I changed the last line from TEST to the name I wanted)
and - after a reboot - it works. The router now shows the name
so there are two names
the host name used by the computer internally
the host name used externally on the network
Ken
27021
···
-----Original Message-----
From: Steve Gladden <steve@michiganbroadband.com>
To: Ken <ke2n@cs.com>
Cc: app_rpt-users@qrvc.com
Sent: Thu, Jan 7, 2010 10:23 am
Subject: Re: [App_rpt-users] host name for DHCP
Is this a centos/ACID box?
TRY adding or editing the "HOSTNAME=" line in:
/etc/sysconfig/network
Was almost able to do this from memory but had to google it
by searching for "centos change hostname"
Not everyone is going to know exactly what to search for. so I won't griping "google is your friend" anytime soon
Tested here and works
[root@N8LBV-R ~]#
-Steve
Does any linux guru out there know how to change the DHCP client name
from TEST?
I followed the instruction to use system-config-network and suceeded
in
changing the shell prompt to the host name I want, but my router still
says the node name is TEST.
Some internet searching came up with the "dhclient" command - which
works - but after the next lease renewal it is back to TEST again.
That name must be buried someplace in the linux configuration.