Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Help! - I broke dhcp



[Tomita Alberto (Re: [tlug] Help! - I broke dhcp) writes:]
>> At Fri, 8 Mar 2002 17:28:25 +1100 (EST),
>> Jim Breen wrote:
>> [...]
>> > No-one around here has much RH7.2 experience. Any suggestions? One
>> > suggestion I got was to remove dhcp and reinstall it. All I want is the
>> > defaults back.
>> 
>> in your /etc/sysconfig/network-scripts/ifcfg-eth0 do you have 
>> something like:
>> 
>>    DEVICE=eth0
>>    ONBOOT=yes
>>    BOOTPROTO=dhcp

Yes, and there were a couple of other lines, including "PEERDNS=no",
which I think is/was the culprit.

Before editing this my hand, I followed Anthony Stace's recommendation
and ran /usr/sbin/netconfig, selecting dhcp. That reset ifcfg-eth0 back
to just the three lines above.

On rebooting, dhcp (the protocol, pump is the program) was working again.

Many thanks to everyone who responded.

A related question - is there any way I can impose a local hostname,
which doesn't get in the way of things? Older distros had a
"/etc/HOSTNAME" file, but RH7.2 doesn't seem to have one.

Jim

-- 
Jim Breen  [j.breen@example.com  http://www.csse.monash.edu.au/~jwb/]
Computer Science & Software Engineering,                Tel: +61 3 9905 3298
P.O Box 26, Monash University,                          Fax: +61 3 9905 5146
Clayton VIC 3800, Australia      ジム・ブリーン@モナシュ大学

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links