hns - 日記自動生成システム - Version 2.19.9

先月 2003年12月 来月
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2003年12月27日() 旧暦 [n年日記]

#1 [FreeBSD][CF-R1] FreeBSD 5.1-RELEASE

入れて見た。BSD Magazine の CDROM から。
ttyp0:root@ 16:38:53/031227(/home/makoto)# uname -a
FreeBSD 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386

他は全部消してしまった。fdisk:

ttyp0:root@  16:40:18/031227(/home/makoto)# fdisk
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=116280 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=116280 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
    start 63, size 20466747 (9993 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
ttyp0:root@  16:40:24/031227(/home/makoto)# 

df -k:

ttyp0:root@  16:38:56/031227(/home/makoto)# df
Filesystem  1K-blocks   Used   Avail Capacity  Mounted on
/dev/ad0s1a    253678  54298  179086    23%    /
devfs               1      1       0   100%    /dev
/dev/ad0s1e    253678      2  233382     0%    /tmp
/dev/ad0s1f   8916442 250662 7952466     3%    /usr
/dev/ad0s1d    253678   1352  232032     1%    /var
amd を動かしたいところだが...
/usr/sbin/amd -l syslog -x error,noinfo,nostats -p -a /amd -F /etc/amd.conf
 unknown amd[548]/fatal: host name is not set
と言われてしまった。確かに機械の名前を設定していない。
hostname, domainname, network i/f の設定方法が分らない。 手動なら出来るが :-)
Dec 27 17:01:49 lets kernel: nfs server hoge:/export: not responding
ttyp0:root@  17:04:57/031227(/home/makoto)# mount hoge:/export /mnt
[udp6] hoge:/export: RPCPROG_NFS: RPC: Unable to send
もしかして IPv6 で mount しようとしているのに、自分の IPv6 i/f を設定していないから ?

/etc/hosts に hostname.domain がないと:

sm-mta[432]: My unqualified hostname (lets) unknown; sleeping for retry
などとなってしまう ^C で先に行く。
関係ないけれど http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/config-network-setup.html

man rc.conf すれば、全て書いてある:

/etc/rc.d/amd の内容は NetBSD 的に見ると旧形式。 (のような気もするが)

既に二回も panic してくれちゃった。:

/etc/rc.conf so far:

# -- sysinstall generated deltas -- # Sat Dec 27 16:30:32 2003
# Created: Sat Dec 27 16:30:32 2003
# 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.
inetd_enable="YES"
kern_securelevel_enable="NO"
linux_enable="YES"
nfs_client_enable="YES"
nfs_server_enable="YES"
rpcbind_enable="YES"
sendmail_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
ypbind_enable="YES"
#  
#
hostname="lets"
nisdomainname="hoge-foo-bar"
ifconfig_wi0="inet 192.168.1.10 netmask 0xffffff00"
defaultrouter="192.168.1.1"
#
ipv6_enable="YES"
ipv6_network_interfaces="wi0" 
ipv6_default_interface="wi0"
ipv6_gateway_enable="NO"
#
amd_enable=YES
amd_flags="-l syslog -p /amd -F /etc/amd.conf"



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)