Comments (7)
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.
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.
Thank you! I’ll check it out tomorrow!
from chewie.
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.
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.
@gizmoguy thank you!!!
from chewie.
Full fix implemented in #175
from chewie.
Related Issues (20)
- Add Checks and logging for Chewie Socket Setup HOT 3
- Go through TODO's and Clean up Code
- Add Pylintrc to Ignore Generated Libraries (such as Eventlet.green) HOT 2
- Shard Tests for Travis HOT 1
- Move Pre-emptive requests and reauthentication jobs out of Chewie
- Change set_port_status to be a Property
- Architect-out the circular dependencies in Chewie
- Remove Sleeps From UnitTests HOT 2
- MacAddress objects are not being provided in UnitTests
- Chewie uses PAE Group address as SA HOT 1
- Chewie mab only listens to dhcp discover packets HOT 1
- Radius requests not getting sent HOT 4
- Action Required: Fix Renovate Configuration
- Fix pylint scores on files not being currently checked by pylint
- test_smoke_mab test flake
- test_logoff_dot1x test flake HOT 1
- Dependency Dashboard
- Windows 10 and windows server test case HOT 1
- User-Name in RADIUS message is arbitrary HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chewie.