porteus kiosk with tftp and http boot

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Post Reply
psicodelico
White ninja
White ninja
Posts: 4
Joined: 26 Jul 2013, 15:36
Distribution: 2.0.5
Location: Argentina

porteus kiosk with tftp and http boot

Post#1 by psicodelico » 28 Aug 2013, 17:25

When I run ipxe in virtualbox and I have tftp with boot folder and I have http with porteus folders. it sad:

grep: /lib/modules/3.9.11-porteus-kiosk/modules.alias: No such file or directory
find: /lib/modules/3.9.11-porteus-kiosk/kernel/drivers/net: No such file or directory
/init: line 55: ./busybox: not found

User avatar
fanthom
Site Admin
Site Admin
Posts: 4590
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: porteus kiosk with tftp and http boot

Post#2 by fanthom » 28 Aug 2013, 20:17

hello psicodelico,

looks like initrdpxe.xz never reached the client side. please make sure that tftpd is able to transport 3 components: vmlinuz, initrd.xz and initrdpxe.xz (containing network drivers and other utilities required for pxe boot).
Please add [Solved] to your thread title if the solution was found.

psicodelico
White ninja
White ninja
Posts: 4
Joined: 26 Jul 2013, 15:36
Distribution: 2.0.5
Location: Argentina

Re: porteus kiosk with tftp and http boot

Post#3 by psicodelico » 30 Aug 2013, 12:26

yes. I have

/tftpboot/nbi_img/pxelinux.cfg/initrdpxe.xz
/tftpboot/nbi_img/vmlinuz
/tftpboot/nbi_img/initrd.xz

and I can get this file in my computer with ftp client

User avatar
fanthom
Site Admin
Site Admin
Posts: 4590
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: porteus kiosk with tftp and http boot

Post#4 by fanthom » 31 Aug 2013, 10:57

definitely initrdpxe.xz is not transported to the clients. please show me your pxelinux config.

i have tried following setup and worked perfectly for me:

a) file structure:

Code: Select all

/tftpboot/boot/initrd.xz
/tftpboot/boot/pxelinux.0
/tftpboot/boot/pxelinux.cfg/default
/tftpboot/boot/pxelinux.cfg/initrdpxe.xz
/tftpboot/boot/vmlinuz
b) 'dnsmasq' working as dhcpcd daemon:

Code: Select all

dnsmasq --port=0 --dhcp-boot=/boot/pxelinux.0 --dhcp-range=192.168.1.50,192.168.1.250,infinite --log-dhcp
c) tftp-hpa-0.49-x86_64-1.txz working as tftp daemon and hosting everything placed in /tftpboot folder (tftp is started through inetd).

d) webfsd working as http server:

Code: Select all

webfsd -i 192.168.1.35 -p 80 -r /home/guest/kiosk/porteus -u nobody -g nogroup
e) pxelinux config (/tftpboot/boot/pxelinux.cfg/default):

Code: Select all

timeout 0
prompt 0
default pxe

label pxe
kernel /vmlinuz
append initrd=/initrd.xz,/pxelinux.cfg/initrdpxe.xz quiet http_server=192.168.1.35:80
please show me your configuration.
Please add [Solved] to your thread title if the solution was found.

psicodelico
White ninja
White ninja
Posts: 4
Joined: 26 Jul 2013, 15:36
Distribution: 2.0.5
Location: Argentina

Re: porteus kiosk with tftp and http boot

Post#5 by psicodelico » 07 Sep 2013, 16:46

your config work for me. I forgot config dhcp for send a file

Post Reply