ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Удалённая загрузка
@ 2003-08-27 10:15 Wiener
  2003-08-27 12:09 ` Grigory Milev
  0 siblings, 1 reply; 2+ messages in thread
From: Wiener @ 2003-08-27 10:15 UTC (permalink / raw)
  To: community

Не получается организовать удалённую загрузку по сети...из xinitd не запускается tftpd...при загрузки xinitd говорит что нет процессов для запуска...при старте tftpd и bootpd из консоли удалённая машина говорит - got fragmented packege. reconfigure server...
В чём проблемы с xinitd и что надо перенастраивать на сервере...?!
Как вместо bootpd использовать dhcpd (как указать какой файл надо передавать) ?!
Заранее благодарен...


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] Удалённая загрузка
  2003-08-27 10:15 [Comm] Удалённая загрузка Wiener
@ 2003-08-27 12:09 ` Grigory Milev
  0 siblings, 0 replies; 2+ messages in thread
From: Grigory Milev @ 2003-08-27 12:09 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 2224 bytes --]

>>>>> "Wiener" == Wiener  <uhgnet@yandex.ru> writes:

    Wiener> Не получается организовать удалённую загрузку по сети...из xinitd
    Wiener> не запускается tftpd...при загрузки xinitd говорит что нет
    Wiener> процессов для запуска...при старте tftpd и bootpd из консоли
    Wiener> удалённая машина говорит - got fragmented packege. reconfigure
    Wiener> server...  В чём проблемы с xinitd и что надо перенастраивать на
    Wiener> сервере...?!  Как вместо bootpd использовать dhcpd (как указать
    Wiener> какой файл надо передавать) ?!  Заранее благодарен...



Все, что необходимо для работы удаленной загрузки + ядро, собранное с KERNEL
IP autoconfig+DHCP, NFS вкомпилированный в ядро + nfsroot.


cp /boot/vmlinuz /var/lib/tftpboot/linux
cp /usr/lib/syslinux/pxelinux.0 /var/lib/tftpboot/

mkdir -p /var/lib/tftpboot/pxelinux.cfg
cat >/var/lib/tftpboot/pxelinux.cfg/default <<EOF
KERNEL linux
DEFAULT linux
APPEND nfsroot=$SERVER_IP:/<nfs_root_dir>
IPAPPEND 1
EOF

cat >/etc/dhcpd.conf <<EOF
not authoritative;
ddns-update-style none;
default-lease-time         21600;
max-lease-time             21600;
use-host-decl-names        on;
option domain-name         "mydomain";
option domain-name-servers $SERVER_IP;
option routers             $ROUTER_IP;
option subnet-mask         $SUBNET_MASK;
option broadcast-address   $BCAST;

allow booting;
allow bootp;
subnet <$subnet ex: 192.168.0.0> netmask 255.255.255.0 {
    range <$ip_from ex: 192.168.0.100> <$ip_to ex:192.168.0.200>;
    filename "pxelinux.0";
}
EOF

cat >/etc/exports <<EOF
/<nfs_root_dir> *(ro,no_root_squash,sync,insecure)
EOF

subst "s|\(.*server_args.*=\).*|\1 -u tftp -s $TFTPDIR -r blksize|" /etc/xinetd.d/tftp
subst "s|\(.*only_from.*=\).*|\1 127.0.0.1 <$subnet ex: 192.168.0.0>|" /etc/xinetd.conf


chkconfig tftp on
service xinetd restart
service dhcpd start
service portmap start
service nfs start
exportfs -a




+--------------------------------------------------------+
Grigory Milev	mailto:week@altlinux.ru
ALT Linux Team	http://www.altlinux.ru
+--------------------------------------------------------+
Life too beautiful and interesting. Don't worry, be happy.

[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-08-27 12:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-27 10:15 [Comm] Удалённая загрузка Wiener
2003-08-27 12:09 ` Grigory Milev

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git