[nflug] pulling computer name from network

Richard Hubbard hubbardr at adelphia.net
Sun Oct 30 05:29:53 EST 2005


The other part of the equation is that the DHCP server at work is 
configured to give each machine a name. So you plug it in a t work, it 
gets a name, at home it doesn't.
John Seth wrote:

> My Fedora Core 4 box isn't running at the moment, but everything and 
> anything configuration related, especially in just about any distro is 
> in the /etc directory. In Slackware, along with a good many unix 
> flavored systems, there's a file named /etc/HOSTNAME. In Fedora and 
> RedHat however, I believe you can find that info in /etc/sysconfig. 
> Unfortunately (or fortunately) even behind my Linksys firewalls, I 
> always set my linux boxes up with static IP's (usually 
> 192.168.1.0-192.168.1.100 are reserved for non-DHCP). I would try 
> using the 'grep' command to locate a file within that directory 
> related to the hostname... From within the /etc/sysconfig dir, for 
> example: grep -ir "hostname" *
>
> I wish I could help further...
>
> - Tony
>
>
> Michael Getman wrote:
>
>> I've checked the box that was pulling the computer name down ; the 
>> ifcfg-eth0 file reads this:
>>
>> DEVICE=eth0
>> BOOTPROTO=dhcp
>> HWADDR=00:60:08:8F:A5:87
>> ONBOOT=yes
>> TYPE=Ethernet
>>
>> the DNS servers were filled in automatically. Now that I have that 
>> system back home it is reading for hostname "localhost.localdomain"
>>
>> _________________________________________________________________
>> Don’t just search. Find. Check out the new MSN Search! 
>> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>>
>> _______________________________________________
>> nflug mailing list
>> nflug at nflug.org
>> http://www.nflug.org/mailman/listinfo/nflug
>
>------------------------------------------------------------------------
>
>_______________________________________________
>nflug mailing list
>nflug at nflug.org
>http://www.nflug.org/mailman/listinfo/nflug
>  
>

_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list