Changing host name

Ed Greshko Ed.Greshko at greshko.com
Tue Apr 6 15:59:14 UTC 2010


>
> "On 10:51:14 am Michael Thompson <maverickapollo at googlemail.com> said"
>   
>> When I change the hostname on my fedora 12 box, from the installation
>> default of localhost.localdomain, the network dies until it is reset back.
>>
>> I'm changing the hostname by the Network control applet in Gnome, and
>> have checked that /etc/sysconfig/network and it lists the following
>>
>> NETWORKING=yes
>> HOSTNAME=feddesk
>>
>> ifconfig shows
>>
>> eth0      Link encap:Ethernet  HWaddr 00:0C:29:D1:7F:B3
>>           inet6 addr: fe80::20c:29ff:fed1:7fb3/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:101 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:13048 (12.7 KiB)  TX bytes:258 (258.0 b)
>>
>> 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:18 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:0
>>           RX bytes:1320 (1.2 KiB)  TX bytes:1320 (1.2 KiB)
>>
>> I cant understand why the act of changing the hostname would kill the
>> network, has anyone got any ideas?
>>
>> --
>> Michael Thompson
>> http://maverickapollo.wordpress.com
>>     
> Note that for some reason there is no 'inet addr:' on your eth0, could be a 
> clue to what has happened.
>   
That is the point the OP is making.  He is saying that prior to making
the hostname change he had an IP address.  Upon changing the hostname,
the IP address was gone...as in the "network died".



-- 
Reader, suppose you were an idiot. And suppose you were a member of
Congress. But I repeat myself. -- Mark Twain Guess Who!
http://tinyurl.com/mc4xe7

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20100406/5881c530/attachment.bin 


More information about the users mailing list