Version 3 (modified by 16 years ago) ( diff ) | ,
---|
In order to test WL NanoBSD there are various options available. One of them is via NFS
XXX: Make pretty document, with some explanations
%cat /etc/rc.conf hostname="richard.wleiden.net" ifconfig_xl0="inet 172.19.137.70/27" defaultrouter="172.19.137.66" sshd_enable="YES" # # PXEboot envirionment ifconfig_bfe0="inet 192.168.4.1/24" # DHCPD server, ip address, options, hints dhcpd_enable="YES" # TFTP server, initial boot inetd_enable="YES" # NFS server, kernel and more nfs_server_enable="YES" rpcbind_enable="YES" mountd_flags="-r"
%cat /etc/exports /data -alldirs -maproot=root -network 192.168.4.0/24 /data -alldirs -maproot=root 127.0.0.1
%cat /usr/local/etc/dhcpd.conf # ad-hoc DNS update scheme - set to "none" to disable dynamic DNS updates. ddns-update-style ad-hoc; default-lease-time 600; max-lease-time 7200; authoritative; option domain-name "example.com"; option domain-name-servers 192.168.4.1; option routers 192.168.4.1; subnet 192.168.4.0 netmask 255.255.255.0 { range 192.168.4.10 192.168.4.100; filename "pxeboot"; option root-path "192.168.4.1:/data"; }
%grep -v '#' /etc/inetd.conf tftp dgram udp wait root /usr/libexec/tftpd tftpd -l -s /tftpboot
# mkdir /tftpboot # cp /boot/pxeboot /tftpboot
%grep 'rpcbind :' /etc/hosts.allow #rpcbind : 192.0.2.32/255.255.255.224 : allow #rpcbind : 192.0.2.96/255.255.255.224 : allow #rpcbind : ALL : deny
# mkdir /data # MD=`mdconfig -a -t vnode -f /usr/obj/nanobsd.wleiden/_.disk.image` # mount /dev/${MD}a /data
%cat ~/.cshrc alias serial sudo cu -s 9600 -l /dev/cuaU0 alias on sispmctl -o all alias off sispmctl -f all alias toggle sispmctl -t all
Note:
See TracWiki
for help on using the wiki.