daily 4 hours or monthly 120 hours package for client

hi
i want to create new package for our client who want to use internet in cheap price.
suppose

  1. one package that can use 6 hours within 24 hours but
  2. another package that can only use 4hours within from 8AM to 8PM
    please help me

Use simple queues +/- radius (user manager).

http://www.mikrotik.com/testdocs/ros/3.0/qos/queue.php
http://wiki.mikrotik.com/wiki/User_Manager

i have done my ppp server and installed user manager in the same server. i can log in from client pc but i can not limit the time usage in a day like 4 hour or 6 hour. i am not sure that my user manager or radious is working. please help me.

Create credits. Assign those credits to users.

Again, i refer you to: http://wiki.mikrotik.com/wiki/User_Manager

Reade the section “Concepts explained” to learn about credits..

i have done that but there is no change of uses when i use internet from client. i think it is not working or communicating with ppp.

If you can connect as a ppoe client, it’s because the database in /ppp secret or the one in usermanager has approved the connection.

If you do not have any information in /ppp secret and you can connect it means your usermanager database is working. If it is working but not accepting credits, it’s either not properly configured or it’s broken - perhaps a routeros upgrade will fix it.

If you have already specified users under /ppp secret, then that database overrides your usermanager database and your credits assigned will not work. Remove or disable the /ppp secret database to allow usermanager take charge.

if i disable the ppp secret then client pc can not connect.

That means you have not properly setup user manager.

  1. Install user manager
    I assume you have done this. Also make sure the user manager package is the same version as routeros that you have installed.
    /system package print

  2. Create 1st subscriber
    /tool user-manager customer> add login=“admin” password=“password” permissions=owner

  3. Add router information
    Since user manager and pppoe server are on the same router, ip-address=127.0.0.1 and shared secret must match with secret in step4.
    /tool user-manager router> add name=“myrouterboard” ip-address=127.0.0.1 shared-secret=123456 customer=“admin”

  4. Setup pppoe to use radius authentication
    Local address=ip address of pppoe server. If you have created an ip pool, then specify such instead. Of course service-name must match in client configuration.
    /interface pppoe-server server add interface=pppoeinterface service-name=jwelebd one-session-per-host=yes disabled=no
    /ppp aaa set use-radius=yes
    /ppp profile set default local-address=x.x.x.x
    /radius add service=ppp address=127.0.0.1 secret=123456

  5. Add pppoe client information
    You may do this using the web interface (http://routeripaddress/userman) or:
    /tool user-manager user add username=test password=test subscriber=jwelebd

Thanks for your reply. But I found it from another web site and now time limit is working. But I have not fully setup what i need. I will let u know if i have any problem. Thanks again.

I want to set my own company logo in the user page where a user can see his usage report.
How can i do it? or I want to keep secrecy of server that my customer can not see it is built with mikrotik or any other os.

That privilege is reserved for distributors.

i have done that server. but now the problem is that, i have assign 10.0.10.1 for the server and client gets the ip from this network. but when i use any one ip from that range i can use internet without using any username or password. how can i prevent this to use internet within this ip range without username and pass?