The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

3. The Compaq way

Create the directories for the kernel and file system on your server, mount and copy the files from the Compaq CD. Unpack the file system:

mkdir /exports/T1500 
mkdir /exports/T1500/root 
mkdir /exports/T1500/tftpboot  
mount /cdrom
cp /cdrom/product/vmlinux /exports/T1500/tftpboot
cd /exports/T1500/root
tar xvf /cdrom/product/netboot.tar

Configure DHCP by adding a section like this to your /etc/dhcpd.conf

Change the ethernet address to that of your T1500.

group {
   #little black box
   host box {
   	 hardware ethernet 00:80:64:10:1d:1c;
     fixed-address box.house;
     option host-name "box";
     server-name "192.168.1.1";
     filename "/exports/T1500/tftpboot/vmlinux";
     option root-path "192.168.1.1:/exports/T1500/root";
     }
   }

Configure a new host in DNS

db.192.168.1.1:
52 in ptr box.
db.house:
   box in a 192.168.1.52

Export the root file system by adding

/exports/T1500/root box(rw,no_root_squash)

to

/etc/exports

Configuring tftp by adding/altering a line to /etc/inetd.conf

tftp dgram udp wait root /usr/sbin/tcpd in.tftpd /exports/T1500/tftpboot

Now restart inetd,dhcpd,nfs and named Select the 'netboot' option on the T1500, and reboot. The T1500 will now boot into something very similar to its normal O/S. You may want to add

exec /nor/Xbin/xterm &

as the penultimate line in

/exports/T1500/root/root/.xinitrc

and then logout and back in again, to get an xterm.




Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру