Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wpasupplicant section #22

Closed
edoput opened this issue Jun 8, 2017 · 4 comments
Closed

wpasupplicant section #22

edoput opened this issue Jun 8, 2017 · 4 comments
Labels

Comments

@edoput
Copy link
Owner

edoput commented Jun 8, 2017

Keys to evaluate with defaults

The only supported encryption are WPA2-AES or None

WPA2-AES

the authentication can be either PSK or EAP and maps to personal and enterprise in our schema definitions

wpasupplicant.device.1.profile=AUTO
wpasupplicant.device.1.status=disabled

wpasupplicant.profile.1.name=AUTO
# network 1
wpasupplicant.profile.1.network.ssid # from  netjson
wpasupplicant.profile.1.network.1.key_mgmt.1.name=NONE
wpasupplicant.profile.1.network.1.priority=100
# network 2, WTF is this
wpasupplicant.profile.1.network.2.key_mgmt.1.name=NONE
wpasupplicant.profile.1.network.2.priority=2
wpasupplicant.profile.1.network.2.status=disabled

I don't really have an idea of what this is and what doest it configure.

I found most of these keys on a station configuration

@edoput
Copy link
Owner Author

edoput commented Jul 3, 2017

Always for a station configuration with WPA2-psk

wpasupplicant.status=enabled

wpasupplicant.device.1.status=enabled
wpasupplicant.device.1.profile=AUTO
wpasupplicant.device.1.driver=madwifi # new
wpasupplicant.device.1.devname=ath0 # new

wpasupplicant.profile.1.name=AUTO
# network 1
wpasupplicant.profile.1.network.1.phase2=auth=MSCHAPV2 
wpasupplicant.profile.1.network.1.eap.1.status=disabled 
wpasupplicant.profile.1.network.1.psk=#the psk in clear text
wpasupplicant.profile.1.network.1.pairwise.1.name=CCMP
wpasupplicant.profile.1.network.1.proto.1.name=RSN
wpasupplicant.profile.1.network.1.ssid=ubnt
wpasupplicant.profile.1.network.1.priority=100
wpasupplicant.profile.1.network.1.key_mgmt.1.name=WPA-PSK
# network 2
wpasupplicant.profile.1.network.2.status=disabled
wpasupplicant.profile.1.network.2.priority=2
wpasupplicant.profile.1.network.2.key_mgmt.1.name=NONE

@edoput
Copy link
Owner Author

edoput commented Jul 3, 2017

station configuration for WPA-eap

wpasupplicant.status=enabled

wpasupplicant.device.1.status=enabled
wpasupplicant.device.1.profile=AUTO
wpasupplicant.device.1.driver=madwifi
wpasupplicant.device.1.devname=ath0

wpasupplicant.profile.1.name=AUTO
# network 1

wpasupplicant.profile.1.network.1.phase2=auth=MSCHAPV2
wpasupplicant.profile.1.network.1.eap.1.name=TTLS
wpasupplicant.profile.1.network.1.eap.1.status=enabled
wpasupplicant.profile.1.network.1.password# the password in clear text
wpasupplicant.profile.1.network.1.identity# eap identity
wpasupplicant.profile.1.network.1.anonymous_identity# eap anonymous identity
wpasupplicant.profile.1.network.1.psk # the network password in clear text
wpasupplicant.profile.1.network.1.pairwise.1.name=CCMP
wpasupplicant.profile.1.network.1.proto.1.name=RSN
wpasupplicant.profile.1.network.1.ssid # from netjson
wpasupplicant.profile.1.network.1.priority=100
wpasupplicant.profile.1.network.1.key_mgmt.1.name=WPA-EAP

# network 2
wpasupplicant.profile.1.network.2.status=disabled
wpasupplicant.profile.1.network.2.priority=2
wpasupplicant.profile.1.network.2.key_mgmt.1.name=NONE

@edoput
Copy link
Owner Author

edoput commented Jul 4, 2017

There is no difference between changing wireless mode from station to station ptmp

wpasupplicant.status=enabled
# device
wpasupplicant.device.1.status=enabled
wpasupplicant.device.1.profile=AUTO
wpasupplicant.device.1.driver=madwifi
wpasupplicant.device.1.devname=ath0

wpasupplicant.profile.1.name=AUTO

# network 1
wpasupplicant.profile.1.network.1.phase2=auth=MSCHAPV2
wpasupplicant.profile.1.network.1.eap.1.status=disabled
wpasupplicant.profile.1.network.1.psk
wpasupplicant.profile.1.network.1.pairwise.1.name=CCMP
wpasupplicant.profile.1.network.1.proto.1.name=RSN
wpasupplicant.profile.1.network.1.ssid=ubnt
wpasupplicant.profile.1.network.1.priority=100
wpasupplicant.profile.1.network.1.key_mgmt.1.name=WPA-PSK

# network 2
wpasupplicant.profile.1.network.2.status=disabled
wpasupplicant.profile.1.network.2.priority=2
wpasupplicant.profile.1.network.2.key_mgmt.1.name=NONE

@edoput
Copy link
Owner Author

edoput commented Jul 4, 2017

Now the only remaining bits are configuring EAP for wpa2_enterprise

@edoput edoput closed this as completed Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant