| 
View
 

Booting a PC via pxe

Page history last edited by Antonio Balderi 13 years, 8 months ago

Booting a PC via pxe from your android is possible. I was working on an app project about 8 months ago but never got around to finishing it. Heres how:

pre-reqs:
a rooted phone
busybox installed

the pc you are attempting to boot via PXE must be connected to a wifi router (via ethernet cable) that your phone is connected to.


FROM THE TERMINAL/ANDROTERM, use the commands

udhcpd - DHCP SERVER
udpsvd tftpd - TFTP SERVER
tcpsvd ftpd - FTP SERVER (for gPXE)


use udhcpd as the dhcp server and specify in the configuration the path of the bootfile (ex:/sdcard/pxe/startrom.0)

then use the command: udpsvd -vE tftpd 69 (some other settings) to start the tftp server

once that is done, your ready to boot from the PC.

On the routers that I have tested this on (about 8 diffrent brands, I never had to change ANY router settings. I just simply connect to the wifi network and kick off my PCE script. If you want to download the boot files via ftp & gPXE(faster),you can use "tcpsvd -vE ftpd 21".


Whenever I hopfully can find the time, I plan on finishing up the android app im working on and drop it out on the market to simplify this process for everyone(And yes it will be FREEEE).  Its extremely helpful when I'm at a family members house or friends and they throw in the "hey while your here, can you look at my pc its  broke.".

kick on the android wifi, start the server, then boot it up to PE, Hirens, or whatever I need.

Comments (0)

You don't have permission to comment on this page.