TFTP Netbooting with UNIX UPDATED: August 31, 1999 SUMMARY: Lucent remote access products support netbooting over tftp which is booting off an image file located on another host using tftp (trivial file transfer protocol) to actually move the file from the host to the Lucent box. This technote details how to netboot using a UNIX host. QUICK STEPS:
BEFORE YOU START:
PREPARING THE UNIX HOST FOR NETBOOT:
umask 22 mkdir /tftpboot ln -s . tftpboot
#tftp dgram udp wait nobody /usr/libexec/tcpd tftpd % ps -aux | grep inet root 295 0.0 0.2 148 188 ?? Is 4:49PM 0:00.27 inetd % kill -HUP 295 # 295 is the Process Id of the inetd program PREPARING A CONSOLE FOR NETBOOT: In order to netboot you must issue at least two commands from a console connected to S0.
- This forces port S0 into 9600,8,N,1 which will allow you to connect to S0 over the
null modem cable to issue commands to the PortMaster. - This forces the Lucent box to boot in Netboot mode. Example: Setting Hyper Terminal that comes with MS-Windows 95 and MS-Windows NT 4.x - Click on the "Start" Button - Select "Programs" then "Accessories" then "Hyper Terminal" from the menus. - Once Hyper Terminal is running you see a window labeled "Connection Description". Here pick a name and icon of your choice. - After clicking "OK" you'll have a window labeled "Phone Number". At the bottom from the option labeled "Connect Using" select "Direct to Com x" and click "OK". - The next window "COM Properties" configure to the following and the click "OK". Bits per second - 9600 - Start the Terminal program NETBOOTING:
Livingston Enterprises, Inc. Boot Prom Rev M Testing Low Memory.... Testing System Clock.... Testing System Memory.... 1024K Checking Boot Rom.... Calibrating.... 33MHz Starting Net Boot..... Sending RARP request for 0:c0:5:1:61:a7 Sending RARP request for 0:c0:5:1:61:a7 Sending RARP request for 0:c0:5:1:61:a7 > address [ip address for the PortMaster] > netmask [netmask in dotted decimal] > gateway [ip address of gateway router] > tftp [ip address of UNIX] The PortMaster will first look for a filename using its ip address translated into hex. If that is not found it will then look for GENERIC.PM2. Upon successfully netbooting the PortMaster will automatically reboot itself. > address 10.0.0.9 # assigned the portmaster an ip off 10.0.0.9 OK > tftp 10.0.0.10 # net booting of Win95 host found at 10.0.0.10 Starting tftp... Requesting tftp of A000009.PM2 from server a00000a Request failed - 1 File not found Requesting tftp of GENERIC.PM2 from server a00000a Loading Image at 0fff0000 336496 tftp complete Verifying Load Module Checksum... Starting Load Module ... Sizing Physical Memory ... 1Mb Testing High Memory ... . 1024K Found 11 ports.... Running ComOS... PortMaster Console login: CLEANUP: * In most cases after netbooting you will want to upgrade the PortMaster using PMConsole (TM) or PMInstall (TM) to have a more permanent version of the ComOS. * Be sure to put dipswitch 2 back down so you don't go into netboot mode each time the unit is powered up. TROUBLESHOOTING: * PORTMASTER DOES NOT REBOOT AFTER NETBOOT - Verify the byte count of the image file vs. the file on the ftp site. - Download it again as a binary file. * SOLID LED ON OR OFF. * NOTHING SEEN ON THE CONSOLE * GETTING GARBAGE ON THE CONSOLE * ERROR MESSAGE ON BOOT UP, "PANIC WATCHDOG ERROR" * ERROR MESSAGE ON BOOT UP, "SHARED MEMORY ERROR" |