[nflug] pulling computer name from network
John Seth
johnseth at phoenixwing.com
Sun Oct 30 01:22:32 EDT 2005
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.nflug.org/pipermail/nflug/attachments/20070525/b857bd1d/attachment.html
-------------- next part --------------
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug
More information about the nflug
mailing list