How start new WPA device from code using any wpa_supplicant interface

Discussion in 'Linux Networking' started by Aefr123, Aug 5, 2012.

  1. Aefr123

    Aefr123 New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello,
    I need to open new WPA/WPA2 device from linux c code. Now I create it manualy by using wpa_supplicant (wpa_supplicant -iwlan0 -c connfig.conf -B ). How I can to start it from my code (without using system() )?
    Maybe, do you have any example ?
    Which wpa_supplicant interface is intended for this ?
    Thanks in advance

  2. icebirdro

    icebirdro New Member

    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    system() is a PHP function? What code are you reffering to... terminal code? and if so, you want to start a device (router, printer, PC) from another one through wireless?

Share This Page