Chinaunix首页 | 论坛 | 博客
  • 博客访问: 449905
  • 博文数量: 21
  • 博客积分: 6636
  • 博客等级: 准将
  • 技术积分: 1006
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-08 11:10
文章分类
文章存档

2011年(11)

2010年(4)

2009年(4)

2008年(2)

分类: BSD

2011-06-09 10:03:32

Edit your /etc/rc.conf to include the following:

ifconfig_fxp0="DHCP"

If you are using a different location for dhclient, or if you wish to pass additional flags to dhclient, also include the following (editing as necessary):

dhclient_program="/sbin/dhclient" dhclient_flags=""



=====================================================================
  • /etc/dhclient.conf

    dhclient requires a configuration file, /etc/dhclient.conf. Typically the file contains only comments, the defaults being reasonably sane. This configuration file is described by the manual page.

  • /sbin/dhclient

    dhclient is statically linked and resides in /sbin. The manual page gives more information about dhclient.

  • /sbin/dhclient-script

    dhclient-script is the FreeBSD-specific DHCP client configuration script. It is described in , but should not need any user modification to function properly.

  • /var/db/dhclient.leases

    The DHCP client keeps a database of valid leases in this file, which is written as a log. gives a slightly longer description.



阅读(2285) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~