Comments (3)
Hey @LiorKirsch,
I'm having a little trouble understanding what it is that you are doing, but have you seen the configuration
function in wifi/scheme.py
? I think it might do what you are thinking, but I'm not sure.
Are you trying to save a scheme before getting a Cell object? I suppose we could make that possible, but it would mean changing how wifi saves things completely--which is something I'm not completely opposed to. I was wondering if we could get rid of the whole saving a scheme requirement altogether.
from wifi.
:)
I forgot I made a change to my code.
In my case I have a bunch of network names and password in advanced and I wanted to add the schemes even if I am not around the cell.
So I created a dummy cell and sent it to a scheme
newCell = wifi.Cell.from_string( dummy_network_string)
scheme = wifi.Scheme.for_cell(network_interface, name, newCell, passkey=passkey_ascii)
This is exactly like you said I wanted to save a scheme without getting a Cell object.
I guess what I will do now is instead of the saving the scheme in advance is to store the (SSID,PASS) somewhere until I scan for the cell, only than I will add the scheme.
Many thanks,
Lior
from wifi.
This is a good use case that is not at all easy with the code as it is now.
I'm going to be very busy for the next couple of weeks, but I want to think
about how to support this well. I'm going to keep thinking about this for
a while, k?
-rocky
:)
I forgot I made a change to my code.
In my case I have a bunch of network names and password in advanced and I
wanted to add the schemes even if I am not around the cell.
So I created a dummy cell and sent it to a scheme
newCell = wifi.Cell.from_string( dummy_network_string)
scheme = wifi.Scheme.for_cell(network_interface, name, newCell,
passkey=passkey_ascii)
This is exactly like you said I wanted to save a scheme without getting a
Cell object.
I guess what I will do now is instead of the saving the scheme in advance
is to store the (SSID,PASS) somewhere until I scan for the cell, only than
I will add the scheme.
Many thanks,
Lior
—
Reply to this email directly or view it on
GitHubhttps://github.com//issues/36#issuecomment-40864198
.
from wifi.
Related Issues (20)
- Request: Join open network HOT 1
- interfaces file keeps growing HOT 1
- Can't connect on Raspberry Pi (Jessie) HOT 15
- Scheme always uses dhcp HOT 3
- Networking breaks after attempting to connect to an AP with spaces in its name HOT 1
- schema with colons brakes the library
- iwlist need root privilege HOT 11
- Failed to read scan data : Argument list too long
- Scheme.Save() Fails HOT 2
- Not installing bash completion because of lack of permission
- Saving Schemes with the same ESSID
- Error with ifdown while activating the scheme. No such interface as 'wlan1' HOT 4
- scheme.activate() returns non zero exit status 1 HOT 2
- Breaks Nework Connections on Raspberry Pi (Raspbian stretch)
- /sbins/ifdown
- Minor detail but Cell.all returns map, not a list. Modify the docs
- scan command error HOT 11
- the problem for :q
- the problem for ver 0.3.8 HOT 7
- Retrieving protocol from scan HOT 1
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 wifi.