How to disable at-boot configuration of a network interface but permit manual use of rc.d?

Dario Freni saturnero at freesbie.org
Mon Jun 27 21:28:21 GMT 2005


nduja# grep ifconfig_ed1 /etc/rc.conf
#ifconfig_ed1="DHCP"

nduja# sh /etc/rc.d/dhclient start
nduja# setenv ifconfig_ed1 DHCP
nduja# sh /etc/rc.d/dhclient start
Starting dhclient.
ed1: flags=108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::250:baff:fe7a:a9bd%ed1 prefixlen 64 scopeid 0x3
        inet 37.0.203.130 netmask 0xffffff00 broadcast 37.0.203.255
        ether 00:50:ba:7a:a9:bd
        media: Ethernet 10baseT/UTP <full-duplex>
        status: active
nduja#

Regards,
Dario

-- 
Dario Freni (saturnero at freesbie.org)
FreeSBIE developer (http://www.freesbie.org)
GPG Public key at http://www.saturnero.net/saturnero.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20050627/f065e6c5/attachment.bin


More information about the freebsd-hackers mailing list