| [Home] [Kuri] [Sysad] [Internet?] [Blog] [Java] [Windows] [Download] [Profile] [Flash] [+] |
| 製品名(略称) | IPアドレス | MACアドレス | OS |
|---|---|---|---|
| SS20 | 192.168.0.200 | 8:0:20:20:4:70 | これから NetBSD-1.5 |
| Ultra1 | 192.168.0.1 | 割愛 | Solaris2.6 |
8:0:20:20:4:70 bsdmachine |
192.168.0.200 bsdmachine |
# in.rarpd -a |
# in.rarpd hme 1 |
tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot |
# kill -HUP inetdのPID |
# cd /tftpboot # cp -p /some/where/installation/netboot/boot.net . # ln -s boot.net C0A800C8.SUN4M |
bsdmachine root=192.168.0.1:/export/netbsd/sparc/root |
# cd /export/netbsd/sparc/root # tar xfz /some/where/installation/netboot/rootfs.tgz # zcat /some/where/binary/kernel/netbsd.GENERIC.gz > netbsd |
share -F nfs -o rw,anon=0 /export/netbsd/sparc/root |
# shareall -F nfs |
# /usr/lib/nfs/mountd # /usr/lib/nfs/nfsd -a 16 |
ok boot net netbsd |
# disklabel -e sd1 |
# size offset fstype [fsize bsize cpg]
c: 2052288 0 unknown # (Cyl. 0 - 2035)
|
# size offset fstype [fsize bsize cpg]
c: 2052288 0 unknown # (Cyl. 0 - 2035)
h: 2052288 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 2035)
|
The following will be used for the root filesystem:
sd0a /
Device name? [RETURN if you already entered all devices] sd0d
Mount point? /home
Device name? [RETURN if you already entered all devices] sd1h
Mount point? /usr
Device name? [RETURN if you already entered all devices] sd2h
Mount point? /var
Ok to configure sd0b as a swap device? [] y
You have configured the following devices and mount points:
sd0a /
sd0d /home
sd1h /usr
sd2h /var
sd0b swap
Filesystems will now be created on these devices. If you made any
mistakes, you may edit this now. Edit? [n] n
Creating filesystems...
...あとは newfs のメッセージが続く…
|
ok setenv boot-device disk1 |
*** network.0 Fri Nov 24 21:44:56 2000
--- network Sat Aug 18 11:42:54 2001
***************
*** 131,136 ****
--- 131,145 ----
route add default $defaultroute
fi
+ # added for static route
+ if [ -f /etc/staticroute ]; then
+ (while read args; do
+ if [ -n "`eval echo '$args'`" ] ; then
+ route add $args
+ fi
+ done) < /etc/staticroute
+ fi
+
# Check if each configured interface xxN has an $ifaliases_xxN variable
# associated, then configure additional IP addresses for that interface.
# The variable contains a list of "address netmask" pairs, with
|
-net 192.168.0.0 192.168.153.254 -net 192.0.1.0 192.168.153.253 |
# sysctl net.inet.ip.forwarding net.inet.ip.forwarding = 0 |
|
|
| [Home] [Kuri] [Sysad] [Internet?] [Blog] [Java] [Windows] [Download] [Profile] [Flash] [-] | |
| usu@usupi.org | Last modified : Sat Aug 18 15:46:18 2001 |