Hey
I am having a strange issue with a rb750g i am setting up as a hotspot.
everything is setup and working, its doing authentication against out freeradius server but I have set the dnsname and when I try go dnsname/status or dnsname/logout I get a 404 - File or directory not found.
how ever if I go to the ipaddress/status it works..? its so strange, does anyone have any ideas as to why this is happening?
Thanks
fewi
October 28, 2010, 2:04pm
2
Please post the output of:
/ip hotspot export
/ip dns export
/ip dhcp-server export
/ip firewall nat export
Cool, here it is
/ip hotspot export
/ip hotspot profile
set default dns-name="" hotspot-address=0.0.0.0 html-directory=hotspot http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap name=default rate-limit=""
smtp-server=0.0.0.0 split-user-domain=no use-radius=no
add dns-name=cerebus.net hotspot-address=10.20.30.1 html-directory=hotspot http-proxy=0.0.0.0:0 login-by=http-pap name=hsprof1 nas-port-type=wireless-802.11
radius-accounting=yes radius-default-domain="" radius-interim-update=received radius-location-id="" radius-location-name="" radius-mac-format=XX:XX:XX:XX:XX:XX
rate-limit="" smtp-server=0.0.0.0 split-user-domain=no use-radius=yes
/ip hotspot
add address-pool=hs-pool-3 addresses-per-mac=2 disabled=no idle-timeout=5m interface=ether3-local-slave keepalive-timeout=none name=hotspot1 profile=hsprof1
/ip hotspot user profile
set default idle-timeout=none keepalive-timeout=2m name=default shared-users=1 status-autorefresh=1m transparent-proxy=no
/ip hotspot service-port
set ftp disabled=no ports=21
/ip hotspot user
add comment="" disabled=no name=admin password="" profile=default
/ip hotspot walled-garden
add action=allow comment="place hotspot rules here" disabled=yes
/ip hotspot walled-garden ip
add action=accept comment="" disabled=no dst-address=X.X.X.X server=hotspot1
/ip dns export
\
jan/02/1970 02:48:52 by RouterOS 4.11
software id = 6KED-7JF6
/ip dns
set allow-remote-requests=yes cache-max-ttl=1w cache-size=2048KiB max-udp-packet-size=512 servers=172.20.12.2,168.210.2.2,8.8.8.8
/ip dhcp-server export
jan/02/1970 02:49:37 by RouterOS 4.11
software id = 6KED-7JF6
/ip dhcp-server
add address-pool=hs-pool-3 authoritative=after-2sec-delay bootp-support=static disabled=no interface=ether3-local-slave lease-time=1h name=dhcp1
/ip dhcp-server config
set store-leases-disk=5m
/ip dhcp-server network
add address=10.20.30.0/24 comment="hotspot network" gateway=10.20.30.1
/ip firewall nat export
jan/02/1970 02:49:55 by RouterOS 4.11
software id = 6KED-7JF6
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="default configuration" disabled=no out-interface=ether1-gateway
add action=masquerade chain=srcnat comment="masquerade hotspot network" disabled=no src-address=10.20.30.0/24
fewi
October 28, 2010, 3:07pm
4
a) Check via “/ip dns static print” that there’s an entry for cerebus.net pointing to 10.20.30.1
b) Your DHCP server isn’t handing out a DNS server to the clients. Try handing them the router itself:
/ip dhcp-server network set [/ip dhcp-server network find comment="hotspot network] dns-server=10.20.30.1