Есть сервер на freebsd 10.1 (dhcp,pxe,tftp,nfs). Необходимо с него ставить или пускать livecd ubuntu.
rc.conf
Код: Выделить всё
hostname="f101.pxe"
ifconfig_em0="inet 192.168.1.101 netmask 255.255.255.0"
ifconfig_em1="inet 5.5.5.1 netmask 255.255.255.0"
defaultrouter="192.168.1.1"
sshd_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
dumpdev="AUTO"
inetd_enable="YES"
clear_tmp_enable="YES"
fsck_y_enable="YES"
update_motd="NO"
dhcpd_enable="YES"
dhcpd_flags="-q"
dhcpd_ifaces="em1"
nfs_server_enable="YES"
nfsv4_server_enable="YES"
nfs_server_flags="-u -t -n 6"
nfsuserd_enable="YES"
Код: Выделить всё
default-lease-time 600;
max-lease-time 7200;
ddns-update-style interim;
ddns-domainname "pxe";
ignore client-updates;
authoritative;
key DHCP_UPDATER {
algorithm hmac-md5;
secret "mzFTqfiyQEwD/XSnTD+KWg==";
};
zone pxe.{
primary 127.0.0.1;
key DHCP_UPDATER;
}
zone 5.5.5.in-addr.arpa.{
primary 127.0.0.1;
key DHCP_UPDATER;
}
log-facility local7;
# A slightly different configuration for an internal subnet.
subnet 5.5.5.0 netmask 255.255.255.0 {
range 5.5.5.51 5.5.5.254;
option domain-name-servers 5.5.5.1;
option domain-name "pxe";
option broadcast-address 5.5.5.1;
option time-servers 5.5.5.1;
option ntp-servers 5.5.5.1;
default-lease-time 600;
max-lease-time 7200;
next-server 5.5.5.1;
filename "/usr/tftpboot/pxelinux.0";
}
Код: Выделить всё
LABEL Ubuntu
MENU LABEL ^2 Ubuntu
KERNEL nfs/ubuntu/casper/vmlinuz
INITRD nfs/ubuntu/casper/initrd.lz
APPEND root=/dev/nfs boot=casper netboot=nfs nfsroot=5.5.5.1:/usr/tftpboot/nfs/ubuntu file=preseed/ubuntu.seed splash=verbose ip=dhcp rw locale=ru_RU --
Код: Выделить всё
tftp dgram udp wait root /usr/local/libexec/in.tftpd in.tftpd -v -p /usr/tftpboot -B 1024
connect: network is unreachable
connect: permission denied
NFS over TCP not available from 5.5.5.1
Подскажите где копать. Спасибо.