Community discussions

MUM Europe 2020

Search found 20 matches

by Thamer
Tue Mar 23, 2010 5:50 am
Forum: General
Topic: Sample Hotspot Page - Sticky Please
Replies: 438
Views: 311609

Re: Sample Hotspot Page - Sticky Please

what about this design in css :? main page : http://img63.imageshack.us/img63/5894/91806572.png Hello Thamer .. plz if you can send this Hotspot page .. i will appreciate this واكيد طبعا حضرتك عربي .. يا ريت حضرتك تبعتلي الصفحة الممتازة دي انا علي فكرة بستخدم النسخة الاولي من الصفحة دي .. ممتازة جد...
by Thamer
Wed Mar 17, 2010 1:52 am
Forum: Scripting
Topic: How do i print without details using API ?
Replies: 11
Views: 3866

Re: How do i print without details using API ?

huh, I cannot find VB.Net implementation at http://wiki.mikrotik.com/wiki/API#API_examples_in_the_Wiki in general, seems like you send "=.proplist=.id,name" as separate command... this code is working :) mikrotik.Send("/ip/hotspot/user/profile/print") mikrotik.Send("=.proplist=name", True) without ...
by Thamer
Tue Mar 16, 2010 2:49 pm
Forum: Scripting
Topic: How do i print without details using API ?
Replies: 11
Views: 3866

Re: How do i print without details using API ?

seems like wrong usage of second argument (", False)"). what programming language do you use?
hi Chupaka
i use vb.net

thanks
by Thamer
Mon Mar 15, 2010 7:42 pm
Forum: Scripting
Topic: How do i print without details using API ?
Replies: 11
Views: 3866

Re: How do i print without details using API ?

Which version is installed? If I remember correctly proplists and queries were added in 3.21
version 3.30
by Thamer
Mon Mar 15, 2010 4:49 pm
Forum: Scripting
Topic: How do i print without details using API ?
Replies: 11
Views: 3866

Re: How do i print without details using API ?

.id is only a id number of what are you looking for, used in api itself. You might need to add to the proplist the "name" field mikrotik.Send("/ip/hotspot/user/profile/print", False) mikrotik.Send("=.proplist=.id,name", True) the result is :( !trap=message=no such command prefix!done thanks for help
by Thamer
Mon Mar 15, 2010 1:23 am
Forum: Scripting
Topic: How do i print without details using API ?
Replies: 11
Views: 3866

Re: How do i print without details using API ?

use proplist to filter your results. I suggest to use it always to make the response lighter on every api request. thanks Medianet for replay can you give me example ? because I've used this code but not working :( mikrotik.Send("/ip/hotspot/user/profile/print", False) mikrotik.Send("=.proplist=.id...
by Thamer
Sun Mar 14, 2010 2:24 pm
Forum: Scripting
Topic: How do i print without details using API ?
Replies: 11
Views: 3866

How do i print without details using API ?

hi guys

I use this comment to print out the profiles with details in my MT
mikrotik.Send("/ip/hotspot/user/profile/print", True)
but i want print just the profile name without details .

Thanks
by Thamer
Wed Feb 24, 2010 3:27 am
Forum: Scripting
Topic: why? API disable hotspot user fail
Replies: 20
Views: 4640

Re: why? API disable hotspot user fail

what programming language do you use?.. try removing second or third lines - see whether result changes (and don't forget about second argument, only in last line it should be False) finally I made it :D this code is working well mikrotik.Send("/ip/hotspot/user/set") mikrotik.Send("=disabled=yes") ...
by Thamer
Tue Feb 23, 2010 1:41 am
Forum: Scripting
Topic: why? API disable hotspot user fail
Replies: 20
Views: 4640

Re: why? API disable hotspot user fail

please quote exact code and exact response sorry for disturbing you :( this code mikrotik.Send("/ip/hotspot/user/print", True) mikrotik.Send("=.proplist=.id", True) mikrotik.Send("?name=user1", False) return ( !trap=message=no such command prefix!done ) i don't know how can i thank you for your hel...
by Thamer
Mon Feb 22, 2010 4:59 pm
Forum: Scripting
Topic: why? API disable hotspot user fail
Replies: 20
Views: 4640

Re: why? API disable hotspot user fail

not mikrotik.Send("/ip/hotspot/user/print", False) mikrotik.Send("=.proplist=.id", False) mikrotik.Send("?name=user1", False) but mikrotik.Send("/ip/hotspot/user/print", True) mikrotik.Send("=.proplist=.id", True) mikrotik.Send("?name=user1", False) - it's one command, not three commands so, what d...
by Thamer
Mon Feb 22, 2010 6:10 am
Forum: Scripting
Topic: why? API disable hotspot user fail
Replies: 20
Views: 4640

Re: why? API disable hotspot user fail

first, re-read the posts at that topic. you should do what you want in two steps. "=.id=*4EB" is .id, obtained from the first step secont, what version of ROS do you use? queries (like '?comment=something') can be used since v3.21 ok , this is the complete code mikrotik.Send("/ip/hotspot/user/print...
by Thamer
Mon Feb 22, 2010 3:21 am
Forum: Scripting
Topic: why? API disable hotspot user fail
Replies: 20
Views: 4640

Re: why? API disable hotspot user fail

by the way, last line should be not 'mikrotik.Send("?comment=teste", True)' but 'mikrotik.Send("?comment=teste", False )' and for you it should be mikrotik.Send("?name=user1", False) I have used the search by name and comment and all of them do not work . message=no such command prefix and what if ...
by Thamer
Mon Feb 22, 2010 12:19 am
Forum: Scripting
Topic: why? API disable hotspot user fail
Replies: 20
Views: 4640

Re: why? API disable hotspot user fail

not '=.proplist', but '.proplist'
thank you so much for your help

i face this message
   !trap=message=no such command prefix!done
what can i do to disable hotspot account using API ?
by Thamer
Sun Feb 21, 2010 7:17 pm
Forum: Scripting
Topic: why? API disable hotspot user fail
Replies: 20
Views: 4640

Re: why? API disable hotspot user fail

thanks for replay ,
I have tested this code, but also failed :?
        mikrotik.Send("/ip/hotspot/user/print", True)
        mikrotik.Send("=.proplist=.id", True)
        mikrotik.Send("?comment=teste", True)
by Thamer
Sun Feb 21, 2010 1:48 am
Forum: Scripting
Topic: why? API disable hotspot user fail
Replies: 20
Views: 4640

why? API disable hotspot user fail

Hi everyone
I try to create my own API in vb.net language
I have used this code to disable users in hotspot, but didn't work :(
 mikrotik.Send("/ip/hotspot/user/set/=.name=user1=disabled=yes", True)
any advice ?
thanks
by Thamer
Wed Dec 30, 2009 3:29 am
Forum: General
Topic: Sample Hotspot Page - Sticky Please
Replies: 438
Views: 311609

Re: Sample Hotspot Page - Sticky Please

what about this design in css :?

main page :
Image

available speeds :
Image

rules :
Image
by Thamer
Tue Oct 14, 2008 9:48 pm
Forum: Wireless Networking
Topic: Are these compatible ?
Replies: 4
Views: 1148

Re: Are these compatible ?

As long as you choose the right connectors (N Type)... everything is compatible
thanx for replay :)

But are you sure that there are no problems with Amplifiers work from 100 mW to 3 Watt and R52 Cards ?

thanx again
by Thamer
Tue Oct 14, 2008 3:41 pm
Forum: Wireless Networking
Topic: Are these compatible ?
Replies: 4
Views: 1148

Are these compatible ?

Hi Guys, I have a new MT L6 server , and i want to bring Strong AP contains these components . - RB/433AH routerboard . - 3 R52 Wlan Cards . - 3 Amplifiers from Hyperlink . http://www.hyperlinktech.com/item.aspx?id=56 - 3 Sector Antennas 17 dBi from Hyperlink . http://www.hyperlinktech.com/item.aspx...
by Thamer
Tue Oct 07, 2008 12:04 am
Forum: RouterBOARD hardware
Topic: Can't take IP from dhcp client ! !
Replies: 3
Views: 1095

Re: Can't take IP from dhcp client ! !

thanx for replay , but i think it is MT issue

and the problem from DHCP Client ! ! :(
by Thamer
Sun Oct 05, 2008 4:14 pm
Forum: RouterBOARD hardware
Topic: Can't take IP from dhcp client ! !
Replies: 3
Views: 1095

Can't take IP from dhcp client ! !

Hi Guys, I have 2 Power Station 5 , first one was connected to my microtik server in ap-wds mode and another in station-wds mode after 4 miles distance , another PS5 was connected to microtik 433 in ap bridge with cross cable . and all of this in same ip range , and i use Version 3.2.3 in PS5 . the ...