boot from IP, how?

Non release banter
User avatar
Mithrandil
Power user
Power user
Posts: 29
Joined: 28 Dec 2010, 16:02
Distribution: Gentoo, PixieLive
Location: IT
Contact:

boot from IP, how?

Post#1 by Mithrandil » 09 Jan 2011, 17:36

hiya, how can boot from IP (IP cheatcode) be done?

is there something special needed or just a porteus folder and an http server?

thank you
PixieLive developer www.pixielive.org

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: boot from IP, how?

Post#2 by fanthom » 09 Jan 2011, 18:38

you will need http server and dnsmasq package which will act as dhcpcd + tftp servers. be aware that httpfs client included with initrd does work properly only with very few http servers. in32bit edition we have 'monkey httpd' which has full compatibility with httpfs client, while in 64bit i had to use webfsd. Unfortunately hrrpfs in able to read one folder only from webfsd server.

Have a look on /usr/bin/pxe-boot script in 64bit edition - it will lead you to the rest of settings (mostly written by Tomas M).
Please add [Solved] to your thread title if the solution was found.

User avatar
Mithrandil
Power user
Power user
Posts: 29
Joined: 28 Dec 2010, 16:02
Distribution: Gentoo, PixieLive
Location: IT
Contact:

Re: boot from IP, how?

Post#3 by Mithrandil » 11 Jan 2011, 13:46

than you for the prompt reply, i will take a look into the script

did you notice they released a new version called httpfs2 some months ago, may be they also improved compatibility with web servers, gotta take a look into the source soon... http://sourceforge.net/projects/httpfs/files/httpfs2

Posted after 1 minute 27 seconds:
i managed how to mount a single file in httpfs2, most of webservers should work, :Bravo:

Code: Select all

httpfs2 http://$serveryouwant/$fileyouwant $httpfs2_mount_directory
if you do that with an ISO you can then mount your iso as loop device!!! =@

Code: Select all

mount -o loop $httpfs2_mount_directory/$fileyouwant $iso_mount_directory
i know, 1 single file is not much, but it will probably allow you to mount an iso file from most of websites (can't test it now, i'm behind a proxy server at the moment)

to allow it to mount also directories from the web it will need some source code modifications (basically to crawl directories)
PixieLive developer www.pixielive.org

Post Reply