motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.85k stars 897 forks source link

WPA2-Enterprise #1500

Open ctat opened 6 years ago

ctat commented 6 years ago

Is it possible to connect to a WPA-Enterprise network?

Even if it can be done only through the wpa supplicant on first boot, does anyone know what the wpa_supplicant file should look like.

Thanks!

jasaw commented 6 years ago

Try something like this and report back the result.

network={
        country=US
        update_config=1
        ctrl_interface=/var/run/wpa_supplicant

        network={
            key_mgmt=WPA-EAP
            ssid="xxxxx"
            pairwise=CCMP
            group=CCMP
            auth_alg=OPEN
            eap=PEAP
            proto=RSN
            identity="xxxx"
            password="xxxxxx"
        }
}
VoeGalore commented 4 years ago

Using methods mentioned in https://gist.github.com/chatchavan/3c58511e3d48f478b0c2 I was able to get Pi boards on Raspbian connected to the WPA2-enterprise wireless network, noted it requires me to modify /etc/network/interfaces to make it work.

By adding network lines in wpa_supplicant.conf and load it in boot partition, motioneyeOS booted and recognized the .conf but stuck at dhcp process, after it timed out the OS reboots by default.

Was wondering if it's also related to interface settings.