Hi again,

I updated a few G4 boxes to run YDL 4.1 and am running into the same problem as before. The machines connect to a larger academic network via dhcp, the DNS server (normally) stores a machine's mac- address:hostname mapping in its loop-up table when that machine asks for an IP address.

I want the machine to have hostname "runner" under the domainname "workstations.winona.edu", so that from within the campus network I should be able to either,
        ssh runner
or
        ssh runner.workstations.winona.edu,
both of which presently fail


presently, the machine self identifies by mac address, as can be seen from the result of the ssh command below.

[EMAIL PROTECTED] sysconfig]$ ssh alc-01
Password:
Last login: Fri Jul 14 22:04:35 2006 from 0-30-65-bd-4- d6.workstations.winona.edu
Have a lot of fun...


Now, using the "hostname" command, ie
        hostname runner.workstations.winona.edu
is an imperfect fix, because that only sticks until the machine is re- booted. With grep, I looked through /etc and found what I thought are the pertinent files for setting the hostname. I'd certainly appreciate corrections to the config files below!


I'll list the contents of (what I assume are) pertinent config files below:

[EMAIL PROTECTED] devices]# cat /etc/sysconfig/networking/devices/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
DHCP_HOSTNAME=runner.workstations.winona.edu
USERCTL=no
PEERDNS=yes
IPV6INIT=no

[EMAIL PROTECTED] default]# cat /etc/sysconfig/networking/profiles/default/ ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Ethernet
DHCP_HOSTNAME=runner.workstations.winona.edu
USERCTL=no
PEERDNS=yes
IPV6INIT=no

[EMAIL PROTECTED] etc]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain   localhost

[EMAIL PROTECTED] sysconfig]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=runner.workstations.winona.edu






- - - - - - - - - - - - - - - - - - - - - - -
Nathan Moore
Physics
Winona State University
AIM:nmoorewsu



_______________________________________________
yellowdog-general mailing list
[email protected]
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general
HINT: to Google archives, try  '<keywords> site:terrasoftsolutions.com'

Reply via email to