Giter Site home page Giter Site logo

Comments (7)

naknakshota avatar naknakshota commented on August 16, 2024

Also if you do a docker-compose or even build the image and mount the source code, it won't actually start the chewie container because of this issue.

from chewie.

gizmoguy avatar gizmoguy commented on August 16, 2024

Chewie needs to be run as a module instead of just as a standalone python file (otherwise you get python path errors like you're getting).

I see there are lots of other problems with the dockerfiles, docker-compose.yml and the documentation on running the dockers. I'll loop back next week and fix these.

For now I've pushed up a basic branch here that fixes the Dockerfile for chewie: #170

Want to give that a go and see how it works?

$ sudo docker build -t faucet/chewie -f Dockerfile.chewie .
Sending build context to Docker daemon  2.109MB
....
Successfully built be1416fe5c2b
Successfully tagged faucet/chewie:latest
$ sudo docker run -it --rm faucet/chewie
Starting with UID=0 GID=0
2019-08-09 05:27:33,155 - CHEWIE - INFO - Starting Chewie...
2019-08-09 05:27:33,155 - CHEWIE.Chewie - INFO - Starting
2019-08-09 05:27:33,193 - CHEWIE.Chewie - INFO - Radius Listening on 0.0.0.0:0
2019-08-09 05:27:33,194 - CHEWIE.Chewie - INFO - waiting for eap.
2019-08-09 05:27:33,194 - CHEWIE.Chewie - INFO - waiting for ip activity.
2019-08-09 05:27:33,194 - CHEWIE.Chewie - INFO - waiting for radius.

from chewie.

naknakshota avatar naknakshota commented on August 16, 2024

Thank you! I’ll check it out tomorrow!

from chewie.

naknakshota avatar naknakshota commented on August 16, 2024

Thank your patch works for me as well. Now if I want to deploy a 802.1x environement with faucet for a isolated test environment, do you recommend that I use hostapd or chewie, or some other authenticator at this stage?

from chewie.

gizmoguy avatar gizmoguy commented on August 16, 2024

Hi @snak1219, we definitely recommend chewie over hostapd, earlier versions of faucet 802.1x used hostapd and we found their event API incredibly frustrating so we wrote chewie as a replacement for hostapd.

There is some documentation here to get your started: https://docs.faucet.nz/en/latest/configuration.html#x-dp

chewie/faucet integration is still a work in progress for us so you will see some pretty big changes over the coming months to the architecture and overall reliability of the system.

from chewie.

naknakshota avatar naknakshota commented on August 16, 2024

@gizmoguy thank you!!!

from chewie.

gizmoguy avatar gizmoguy commented on August 16, 2024

Full fix implemented in #175

from chewie.

Related Issues (20)

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.