[App_rpt-users] host name for DHCP - where it is:

Ken ke2n at cs.com
Thu Jan 7 16:40:13 UTC 2010


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)

 # Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet
 DEVICE=eth0
 BOOTPROTO=dhcp
 DHCPCLASS=
 HWADDR=00:06:5B:F7:28:DF
 ONBOOT=yes
 DHCP_HOSTNAME=Asterisk1

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 at michiganbroadband.com>
To: Ken <ke2n at cs.com>
Cc: app_rpt-users at 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 at 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.
>
> Ken
>
> _______________________________________________
> App_rpt-users mailing list
> App_rpt-users at qrvc.com
> http://qrvc.com/mailman/listinfo/app_rpt-users
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>


Michigan Broadband Systems Inc.
"Always Connected"

(734)527-7150

Steve's cellphone: (734)904-1811


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the App_rpt-users mailing list