Wifi security can not be set?

I change the ubuntu account to root,as the following methods:
1、add “greeter-show-manual-login=true” to /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf;
2、change /etc/lightdm/lightdm.conf as
autologin-user=root
greeter-session=unity-greeter
user-session=ubuntu
greeter-show-manual-login=true
allow-guest=false
Now i do it but another problem arises .
the root account auto login,but when i create wifi ap, its WI-FI Security cannot be modified,when i select Security to WPA &WPA2 Personal cannot be save?

Hi ldz,

Do you use NetworkManager or use hostapd to setup the ap ?

Hi ldz,

Have you clarified and resolved this issue?
Or you could update whether you’re using NetworkManager or hostapd to setup the AP to let us know if can provide the suggestion.

Thanks

1、I set the /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf as follow:
autologin-user=root
greeter-session=unity-greeter
user-session=ubuntu
greeter-show-manual-login=true
allow-guest=false
now,the root account auto login.

2、Add the following line to /etc/modprobe.d/bcmdhd.conf
options bcmdhd op_mode=2

3、 on top right corner,network set,select Create New Wi-Fi Network
this step i set Network name as test,when Wi-Fi security set any point except None, the Create button Invalid,
so i select None

4、in /etc/NetworkManager/system-connections/test
change mode=infrastructure as mode=ap

5、 on top right corner,network set,select Connect to Hidden Wi-Fi Network
Connection select test,then my wifi ap is success,but without security.

Hi ldz,
For security setting on NetworkManager, please try following config. To me, I prefer using hostapd to setup wifi ap than NetworkManager.

[connection]
id=WPAtest
uuid=<your uuid>
type=802-11-wireless
autoconnect=false
 
[802-11-wireless]
ssid=WPAtest
mode=ap
mac-address=<your macaddr>
security=802-11-wireless-security
 
[802-11-wireless-security]
key-mgmt=wpa-psk
proto=rsn;
pairwise=ccmp;
group=ccmp;
psk=1234567890 
[ipv4]
method=shared
 
[ipv6]
method=auto

Thanks a lot.