Hoyt Bailey wrote
<SNIP>
[EMAIL PROTECTED] hoyt]$ cat /etc/sysconfig/network
HOSTNAME=68.89.250.128
NETWORKING=yes
[EMAIL PROTECTED] hoyt]$
cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=dhcp
NETMASK=255.255.255.0
ONBOOT=yes
MII_NOT_SUPPORTED=yes
WIRELESS_ENC_KEY=""
NEEDHOSTNAME=yes
Ok.
[EMAIL PROTECTED] hoyt]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:20:ED:95:6D:3D
inet addr:68.91.149.247 Bcast:68.91.149.255
Mask:255.255.255.0
inet6 addr: fe80::220:edff:fe95:6d3d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:455 errors:0 dropped:0 overruns:0 frame:0
TX packets:610 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:187637 (183.2 Kb) TX bytes:68588 (66.9 Kb)
Interrupt:18 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:210 errors:0 dropped:0 overruns:0 frame:0
TX packets:210 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16386 (16.0 Kb) TX bytes:16386 (16.0 Kb)
[EMAIL PROTECTED] hoyt]$ /bin/hostname
adsl-68-91-149-247.dsl.okcyok.swbell.net
This must have been set by sbcglobal since I didnt do it and don't
understand why it was done.
The hostname was set because of the "NEEDHOSTNAME=yes" line in
ifcfg-eth0. This says that the script should set the hostname by doing
a reverse lookup on the IP address assigned by DHCP. It comes in handy
if you don't have your own hostname for the machine.
Mikkel
--
Do not meddle in the affairs of dragons,
for you are crunchy and taste good with ketchup.
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________