Вот такое сообщение видает
index.cgi: Unable to find configuration by id -1 on line 6
$active_antenna = cfg_get_def($cfg, "radio.$
idx.antenna.id", -1);
index.cgi: Unable to find configuration by id -1 on line 3
$mode = strtolower(cfg_get_def($cfg, "radio.$idx.mode", "managed"));
index.cgi: Unable to find configuration by id -1 on line 4
$wds = cfg_get_def($cfg, "wireless.$idx.wds.status", "disabled");
index.cgi: Unable to find configuration by id -1 on line 3
$sec = cfg_get_def($cfg, "wireless.$idx.security.type", "none");
index.cgi: Unable to find configuration by id -1 on line 21
$w_status = cfg_get_def($cfg, "wpasupplicant.status", "disabled");
index.cgi: Unable to find configuration by id -1 on line 22
$w_dev_status = cfg_get_def($cfg, "wpasupplicant.device.$idx.status", "enabled");
index.cgi: Unable to find configuration by id -1 on line 23
$newsec = cfg_get_def($cfg, "wpasupplicant.profile.$
idx.network.1.proto.1.name", "WPA" );
index.cgi: Unable to find configuration by id -1 on line 24
$pkey = cfg_get_def($cfg, "wpasupplicant.profile.$
idx.network.1.pairwise.1.name", "TKIP CCMP" );
index.cgi: Unable to find configuration by id -1 on line 16
$unms_status = cfg_get_def($cfg, "unms.status", "disabled");
index.cgi: Unable to find configuration by id -1 on line 32
$session_timeout = cfg_get_def($cfg, "httpd.session.timeout", "900");