cvs commit: src/etc network.subr pccard_ether
Martin Blapp
mbr at FreeBSD.org
Mon Aug 11 13:32:01 PDT 2003
mbr 2003/08/11 13:32:00 PDT
FreeBSD src repository
Modified files:
etc network.subr pccard_ether
Log:
Improve the handling dhcp handling of pccard_ether.
There are now many configurations which have a NIC on board, and
pccard slots. If a dhclient is running on the internal nic, the
Improve the handling dhcp handling of pccard_ether.
Improve the dhcp handling of pccard_ether.
There are now many configurations which have a NIC on board and
Improve the dhcp handling of pccard_ether.
There are now many configurations which have a NIC on board and
cardbus slots too. If a dhclient was already running on the internal
NIC, the user was forced to kill a running dhclient manually.
If now a pccard is included at startup time, /etc/rc.d/dhclient
start does include it into the startup list for dhcp devices.
That means you can now do dhcp on the internal and the pccard devices
at the same time. If the card is plugged in later, a running dhclient
(working for the internal interface only) is killed, and restarted,
but the interface name of the new pccard is added to the internal
name. After removal, /etc/rc.d/dhclient is started again. This
script does nothing if there are no devices in /etc/rc.conf
This is only a workaround for a well known problem. After we have
a dhcp client which handles device adding and removal, it will go
away.
Revision Changes Path
1.153 +18 -0 src/etc/network.subr
1.33 +30 -1 src/etc/pccard_ether
More information about the cvs-src
mailing list