Re: triggering dhcp from a network driver

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

 



On Thursday 19 April 2007 20:06, Cristian Zamfir wrote:
> 
> Hi,
> 
> Is it possible to trigger the ifup/ifdown scripts on a network interface 
> from within the network driver? What I want is to convince the interface 
> to get another IP through dhcp.
>

I think you could generate hotplug events (KOBJECT_OFFLINE / KOBJECT_ONLINE maybe?) and configure your hotplug/udev scripts to take care of ifup/ifdown operations.

I am curious why you need that though...

Regards,
tavi

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux