村田(三重県在住)です。
 csvup がうまく動かない(DHCP設定ミスか?)
という問題で教えてください。

FreeBSD 6.3-RELEASE をインストールした後、
cvsup をしようとすると…
(kyoko はマシン名)

kyoko# cvsup /usr/ports-supfile
Cannot get IP address of my own host -- is its hostname correct?
kyoko#

となってしまいます。たぶん DHCP の設定ミスかと思うのですが
(最初のインストーラでDHCPの設定をいい加減にやった記憶あり)
しかし、
% ssh hoge.hoge-u.ac.jp
とか scp、firefox は正常です。私のマシンの接続は、ケーブル局から
ケーブルモデムを介し、ブロードバンドルーターにつながっています。
DHCPの場合(固定のグローバルIPアドレスをもらわない場合)、の設定
に何かミスがあるのでしょうか?

どなたか教えてくださると助かります。よろしくお願いいたします。

●以下長くなりますが、設定ファイルを記します。他にどこを見れば
良いのでしょうか?

/etc/rc.conf は以下のようになっています(コメント行は一部省略)
kyoko% cat /etc/rc.conf
# -- sysinstall generated deltas -- # Mon Aug 11 07:02:36 2008
…コメント行は省略…
# Created: Sun Aug 10 21:34:44 2008
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
# added by xorg-libraries port
font8x14="NO"
font8x16="NO"
font8x8="NO"
hostname="kyoko.internal"
ifconfig_sk0="DHCP"
keymap="jp.106"
keyrate="NO"
linux_enable="YES"
local_startup="/usr/local/etc/rc.d"
scrnmap="NO"
sshd_enable="YES"
usbd_enable="YES"
lpd_enable="YES" # Run the line printer daemon
kyoko%cat /etc/resolv.conf
search internal
nameserver 192.168.11.1



/usr/ports-supfile は以下のようになっています

kyoko% cat /usr/ports-supfile
# $FreeBSD: src/share/examples/cvsup/ports-supfile,v 1.33.2.3 2007/09/10
17:29:34 gabor Exp $
#
# This file contains all of the "CVSup collections" that make up the
# FreeBSD-current ports collection.
…コメント行は省略…
# IMPORTANT: Change the next line to use one of the CVSup mirror sites
# listed at http://www.freebsd.org/doc/handbook/mirrors.html.
###*default host=CHANGE_THIS.FreeBSD.org
*default host=cvsup4.jp.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix

# If you seem to be limited by CPU rather than network or disk
bandwidth, try
# commenting out the following line. (Normally, today's CPUs are fast enough
# that you want to run compression.)
*default compress

## Ports Collection.
#
# The easiest way to get the ports tree is to use the "ports-all"
# mega-collection. It includes all of the individual "ports-*"
# collections,
ports-all

# These are the individual collections that make up "ports-all". If you
…コメント行は省略…
# is not kept up to date.
#ports-base
#ports-accessibility
…コメント行は省略…
#ports-x11-toolkits
#ports-x11-wm



●以上です。


メールによる返信