Jumat, 18 April 2008

Setting Hotspot Menggunakan Mikrotik

/ radius
add service=hotspot called-id="" domain="Radius" address=192.168.1.3 \
secret="123456" authentication-port=1812 accounting-port=1813 \
timeout=900ms accounting-backup=no realm="" comment="" disabled=no
/ radius incoming
set accept=yes port=1700

/ ip hotspot
add name="Hotspot2" interface=Lokal address-pool=hs-pool-1 profile=hsprof2 idle-timeout=none keepalive-timeout=none disabled=no

/ ip hotspot profile
add name="hsprof2" hotspot-address=192.168.1.3 dns-name="hotlink.net" \
html-directory=hotspot rate-limit="" http-proxy=192.168.1.3:3128 \
smtp-server=0.0.0.0 login-by=http-chap split-user-domain=no use-radius=yes \
radius-accounting=yes radius-interim-update=5s nas-port-type=0 \
radius-default-domain="Radius" radius-location-id="" \
radius-location-name=""

/ tool user-manager router
add subscriber=admin name="Hotlink.net" ip-address=192.168.1.3 \
shared-secret="123456" comment="" disabled=no

/ ip dns static
add name="hotlink.net" address=192.168.1.3 ttl=1d

kmudian setelah itu bikin user dan di http://hotlink.net/userman

eh jgn lupa bikin dulu customernya ... biar bisa masuk ke userman

/ tool user-manager customer
add subscriber=admin login="admin" password="admin" company="HOTlink" \
city="Bandung" country="Indonesia" date-format="%m/%d/%y" \
email="admin@hotlink-id.net" time-zone=+00:00 permissions=owner \
parent=admin comment="" disabled=no