安装成功后, 就可以进行进一步的配置了。引导新安装的 freebsd 系统之后, 使用sysinstall (/stand/sysinstall 如果您使用的是 freebsd 5.2 之前的版本), 并选择configure。如果您之前配置用 ppp 通过 ftp 安装,那么这个画面将不会出现;正像所说的那样,您可以稍后再做配置。出现提示: user confirmation requested would you like to configure any ethe.net or slip/ppp.network devices? [ yes ] no
如果要配置网卡,请选择 [ yes ] 然后按 enter。 否则请选择 [ no ] 继续。
选择网卡设备user confirmation requested do you want to try ipv6 configuration of the interface? yes [ no ]
目录私人区域网络ip协议ipv4已经足够,所以选择 [ no ] 然后按 enter。 如果想试试新的ip通信协议 ipv6 ,使用 ra 服务,请选择 [ yes ] 然后按 enter。 寻找 ra 服务器将会花费几秒的时间。user confirmation requested do you want to try dhcp configuration of the interface? yes [ no ]
如果您不需要 dhcp (dynamic host configuration protocol 动态主机配置协议) ,选择 [ no ] 然后按enter。 选择 [ yes ] 会执行dhclient, 如果成功,它会自动将网络配置信息填上。下面的网络配置显示了怎样把以太网设备配置成区域网络网关的角色。
配置ed0接口使用tab 键可以在各个栏目之间进行切换,请输入适当 的信息:host(机器名称) 完整的机器名称,例如本例中的 k6-2.example.com 。domain(域名) 您机器所在的域名称,如本例的 example.comipv4 gateway(ipv4网关) 输入将数据包传送到远端网络的机器ip地址。 只有当机器是网络上的一个接点时才要输入。如果这台机器要作为您局域网的网关, 请将此处设为空白。ipv4网关,也被称作默认网关或默认路由器。域名服务器 本地网络中的域名服务器的ip地址。本例中假设机器所在的网络中没有域名服务器, 所以填入的是isp提供的域名服务器地址 (208.163.10.2。)ipv4 地址 本机所使用的ip地址。本例为 192.168.0.1。子网掩码 本范例中的ip地址属于一个c类地址 (192.168.0.0 - 192.168.255.255)。 默认的子网掩码为 (255.255.255.0)。ifconfig 额外参数设定 任何ifconfig命令跟网卡接口有关的参数。 本范例中没有。使用 tab 键选择 [ ok ]然后按 enter键。
出现提示user confirmation requested would you like to bring up the ed0 interface right now? [ yes ] no
选择 [ yes ] 然后按 enter 将会将机器的网卡转为启用状态。机器下次启动 的时候即可使用。
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器