Hi,all.

i use openbsd as pxe server for installing debian but fail .

beginnig process is good , but and then  at the stage of  'network
configuretion '  the message of 'not using DHCP protocol ' happens .

surely PC for installing debian was scoled
by the  ' missing firmware are e100/d101m_ucode.bin'
but using debian for PXE server , debian install is no trouble .

tha whole image is next

internet
|
wifi rooter
192.168.100.254
|
wifi(urtwn0) dhcp
openbsd PXE server (USB  stick) no trouble access internet
bge0(wired) 192.168.11.1
|
PC for debian

cat /etc/dhcpd.interfaces
bge0

cat /etc/dhcpd.conf
subnet 192.168.11.0 netmask 255.255.255.0 {
        option routers 192.168.11.1;
        range 192.168.11.32 192.168.11.33;

        host pxe-client {
        hardware ethernet 00:00:39:E3:38:99; #debian installing PC's MAC
        filename        "pxelinux.0";
        next-server 192.168.11.1;
        }
}


cat
/etc/rc.conf.local

dhcpd_flags=""

and last
mkdir   /tftpboot
cd      /tftpboot
lftp -c
"open  
ftp.debian.org:/debian/dists/squeeze/main/installer-i386/current/images/netboot

; mirror"

   then
   ls -l
/tftpboot
   drwxr-xr-x  3 root  wheel       512 Aug 10 12:10 debian-installer
   drwxr-xr-x  4 root  wheel       512 Aug 10 12:10 gtk
   -rw-r--r--  1 root  wheel  16777216 Aug  9 20:05mini.iso
   -rw-r--r--  1 root  wheel   8915192 Aug  9 20:05 netboot.tar.gz
   lrwxr-xr-x  1 root  wheel        32 Jul 15 12:44      pxelinux.0 ->

debian-installer/i386/pxelinux.0
   drwxr-xr-x  2 root  wheel       512 Aug 10 12:10 pxelinux.cfg
   -rw-r--r--  1 root  wheel        69 Jul 15 12:44       version.info
   drwxr-xr-x  2 root  wheel       512 Aug 10 12:10 xen

    cat
/tftpboot/pxelinux.cfg/default
   # D-I config version 2.0
   include debian-installer/i386/boot-screens/menu.cfg
  default debian-installer/i386/boot-screens/vesamenu.c32
  prompt 0
  timeout 0


besides
cat /etc/pf.conf
ext=urtwn0
set loginterface $ext
set skip on lo0
match out on $ext inet from !($ext:network) to any nat-to ($ext:0)
pass out quick
pass in quick

more /etc/sysctl.conf
net.inet.ip.forwarding=1
...

last commad is
tftpd /tftpboot/

but  beggining is OK , but dhcp error happens .
this same USB stick is good PXE server for openbsd .
pleasse give me some hints .
---
tuyosi

Reply via email to