Giter Site home page Giter Site logo

pypxe's Introduction

This is a pure python(2) PXE server.

Instructions:
1. Edit netboot/pxelinux.cfg/default with your settings.
    The default boots tinycore linux Core-current.iso
2. Run ./netcfg.sh OR manually edit dhcpd.py with your network settings
3. Run both dhcpd.py and tftpd.py
4. PXE boot your clients.

File info:
./dhcpd.py: dhcp server with pxe stuff
./tftpd.py: tftp server for pxe get
./netboot/pxelinux.cfg/default: pxe menu control
./netboot/Core.iso: tinycore iso for testing purposes (http://distro.ibiblio.org/tinycorelinux/welcome.html)
./netboot/pxelinux.0: pxelinux binary
./netboot/memdisk: binary to allow pxelinux to boot isos
./netboot/menu.c32: pxelinux menu
./README: this
./netcfg.sh: automatically edits dhcpd.py with information from provided interface (e.g eth0)

The Why:
I didn't like the normal way of having to install and setup dhcpd and tftp
etc, so I wrote my own. I've not run any performance tests.
In all my tests with hardware available to me It's successfully booted fine.
It was mainly used to learn python as well as PXE, and I wrote it when I
was just starting out with python, hence why the code is awful.

License:
Do whatever the hell you want with this. Credit would be
appreciated but it's not required.

pypxe's People

Contributors

maikthulhu avatar psychomario avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.