On Fri, Jul 24, 2015 at 1:38 PM, Peter Gregory <[email protected]> wrote:
> I'm adding WiFi support for an application I'm writing in mono C#.
> I'm using command line applications to interface with the wicd daemon for 
> network detection and configuration.
> My goal is to get basic functionality to configure the wifi interfaces to
>
> detect wifi connection points
> select the active wifi connection and persist it so it will connect 
> automatically on reboot
> save several wifi connections and automatically connect when detected in 
> different locations.
>
> I've solved a lot of the issues for command line wifi interactions:
>
> iwconfig - shows the current wifi connection
> iwlist scanning - shows all detected wifi connections & encryption information
> wicd-cli - Python script for configuring / adding new connections (also can 
> scan & configure)
>
> I shell out to the programs and redirect the stdout to my program to get the 
> current wifi status, list possible connections.
> The configuration part needs to persist and save to the wicd configuration 
> file for re-connect on reboot.
>
> Here is my problem, wicd-cli is a Python script and requires a command shell 
> to run.
> I can get around that by running python and the executable and pass the 
> script as an argument.
> However, it still fails.  I think wicd-cli shells out to other scripts and 
> will only work from the command line, not started as a process from mono C#.
>
> So, I need to use iwconfig to add new connections and persist to the 
> configuration file to re-connect on boot.
> Is there a way to do this with iwconfig from the command line?

HI Peter,

Sorry to bust your bubble, i wouldn't really rely on wicd-cli, as it's
pretty much abandoned.  You should try to use connman's interface
instead..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to