You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
conn := map[string]map[string]interface{}{
"802-11-wireless": map[string]interface{}{
"ssid": "HELLO",
"mode": []string{"s", "ap"},
"security": "802-11-wireless-security",
},
"802-11-wireless-security": map[string]interface{}{
"psk": "HELLO",
"key-mgmt": []string{"s", "wpa-psk"},
},
}
var ap gnm.AccessPoint
if ap, err = gnm.NewAccessPoint(gnm.NetworkManagerObjectPath + "/AccessPoint/0"); err != nil {
return fmt.Errorf(LP+"Could not make access point: %v", err)
}
var activeConn gnm.ActiveConnection
if activeConn, err = nm.AddAndActivateWirelessConnection(conn, device, ap); err != nil {
return fmt.Errorf(LP+"Could not make access point: %v", err)
}
log.Infof(LP+"New Access Point: %s", activeConn.GetPath())
}
yields...
{"level":"info","msg":"WIFI Manager: Found the following network devices...","time":"2022-05-02T15:05:13-07:00"}
{"level":"info","msg":"WIFI Manager: lo - /org/freedesktop/NetworkManager/Devices/1","time":"2022-05-02T15:05:13-07:00"}
{"level":"info","msg":"WIFI Manager: eth0 - /org/freedesktop/NetworkManager/Devices/2","time":"2022-05-02T15:05:13-07:00"}
{"level":"info","msg":"WIFI Manager: wlan0 - /org/freedesktop/NetworkManager/Devices/3","time":"2022-05-02T15:05:13-07:00"}
{"level":"info","msg":"WIFI Manager: p2p-dev-wlan0 - /org/freedesktop/NetworkManager/Devices/4","time":"2022-05-02T15:05:13-07:00"}
2022-05-02T15:05:14-07:00 error layer=debugger error loading binary "/lib/aarch64-linux-gnu/libc.so.6": could not parse .eh_frame section: pointer encoding not supported 0x9b at 0x5a24
{"level":"fatal","msg":"WIFI Manager: Could not make access point: The access point /org/freedesktop/NetworkManager/AccessPoint/0 was not in the scan list.","time":"2022-05-02T15:05:20-07:00"}
Process 23015 has exited with status 1
The text was updated successfully, but these errors were encountered:
yields...
The text was updated successfully, but these errors were encountered: