Hostname question
This is probably a stupid question but....
doesnt the 'hostname' command apply a hostname that is the same to all interfaces?
If I am using fedora core 3, how could I change the hostname for different interfaces?
like eth0 having a hostname of wireless-john
and eth1 having a hostname of ethernet-john
maybe this is different in linux but cant you just specify a hostname without a domain like in windows?
maybe there is somthing im not getting, but I would like a hostname to match that in our schools DHCP server for each interface and not just one hostname
thanks -john
:Edit when I do use the hostname command I then cant edit my /etc/hosts becouse whenI do from any program I get Xlib connection to ":0.0" refused by server No protocol specified ?
Last edited by GUIPenguin; 01-18-2005 at 08:44 PM.
|