Community discussions

MikroTik App
 
keyteam
just joined
Topic Author
Posts: 1
Joined: Tue Aug 23, 2011 2:38 pm

Error while Scan (Interface/wireless/scan)

Tue Aug 23, 2011 2:51 pm

Dear Team,

I am working on the API and got stuck at one command.

telnet command: interface/wireless/scan test

I tried this and also the command below.
MK mikrotik = new MK("192.168.1.1");
if (!mikrotik.Login("admin", ""))
{
txtMessage.AppendText("Could not log in");
mikrotik.Close();
return;
}

mikrotik.Send("/interface/wireless/scan <name>");
mikrotik.Send("=id=*0");

foreach (string h in mikrotik.Read())
{
........
}


I always get an error mentioned below:
!trap=message=no such command!done
!trap=message=no such command!done

Can anyone please suggest where it went wrong.

Regards,
Mahi

Who is online

Users browsing this forum: No registered users and 19 guests