To boot across the network, you must first determine the Internet address of the machine you want to boot. The Internet address is a number assigned by the network administrator of the network to which the system is attached. The format of the number is four decimal numbers between 0 and 255, separated by periods; for example:
Use the setenv command to set the netaddr environment variable to this address; for example:
192.20.0.2
setenv netaddr 192.20.0.2
bootp()[hostname:] path
hostname can be the name of a host on a different Ethernet network from the machine that you are booting, if a gateway on the local Ethernet network provides a route to the remote host. The gateway must be an IRIS workstation running a bootp server that you have configured to do cross-network forwarding.
For more information about booting through gateways, see bootp(1M). For more information about the /etc/inetd.conf configuration file, see inetd(1M).
boot -f bootp()wheeler:/usr/local/boot/unix
boots the file /usr/local/boot/unix from the remote host wheeler. The command:
boot -f bootp()/usr/alice/help
boots the file /usr/alice/help from any host on the network responding to the bootp broadcast request that has a file of that name.
bootp dgram udp wait root /usr/etc/bootp bootp
Add the -f flag to the final bootp on the line:
bootp dgram udp wait root /usr/etc/bootp bootp
-f
Remove the -s flag from the argument list for tftpd:
tftp dgram udp wait guest /usr/etc/tftpd tftpd -s
This allows tftpd access to all publicly readable directories. If you are concerned about a possible security compromise, you can instead explicitly list the directories to which tftpd needs access. In this case, you need to add /usr/etc:
tftp dgram udp wait guest /usr/etc/tftpd tftpd -s
/usr/etc
See tftpd(1M) and tftp(1C) for more information.
killall -1 inetd
As an example, consider the following situation. You have a host named local_host that needs to boot a kernel found on the remote system far_host. But the network is heavily used, resulting in bootp and tftp timing out before the boot operation can take place. However, a third host, near_host, has the optional NFS software and has automount(1M) running, allowing access to the files on far_host. To boot through this method, perform the following steps:
bootp dgram udp wait root /usr/etc/bootp bootp
Add the -f flag to the final bootp on the line:
bootp dgram udp wait root /usr/etc/bootp bootp
-f
Remove the -s /usr/local/boot string from the argument list for tftpd, so that the entry matches the following:
tftp dgram udp wait guest /usr/etc/tftpd tftpd
This allows tftpd access to all publicly readable directories.
If you are concerned about a possible security compromise, you can instead explicitly list the directories to which tftpd needs access. In this case, you need to add /hosts:
tftp dgram udp wait guest /usr/etc/tftpd tftpd -s
/hosts
See tftpd(1M) and tftp(1C) for more information.
killall -1 inetd
boot -f bootp()near_host:/hosts/far_host/usr/local/boot/unix
If bootp times out, try the command again, as automount may require a bit of time to retrieve the files from the remote system.