Question on Network configuration

Derek Broughton news at pointerstop.ca
Wed Sep 28 12:58:49 UTC 2005


Jonathan Jesse wrote:

> On Tuesday 27 September 2005 13:57, Sebastian Kügler wrote:
>> On Tuesday 27 September 2005 18:48, Derek Broughton wrote:
>> > Jonathan Jesse wrote:
>> > > In Windows it grabs a DHCP address automatically and I get a
>> > > connection at all
>> > > locations without having to change everything.  Is there a way to do
>> > > this in Kubuntu?
>> >
>> > It's identical in Linux.
>> >
>> > In /etc/network/interfaces:
>> >
>> >   # The primary network interface
>> >   iface eth0 inet dhcp
>> >
>> > will do it.
>>
>> It actually won't grab a new dhcp lease if you loose connectivity, and I
>> think that's what Jonathan asked.
>>
> That is exactly what I'm looking for.  On my windows boot it attempts to
> grab
> a new lease each time I unplug the network connection.  I would love to be
> able to do that in Kubuntu.  Maybe I could create some script that I could
> execute each time I moved around that would do it for me?

Oh, that's still overkill.  Just run ifplugd (& waproamd if you want to go
wirelessly).  ifplugd can take a few minutes to notice a network change -
that's probably configurable, though.
-- 
derek





More information about the kubuntu-users mailing list