Si el equipo se encuentra de fábrica, se puede conectar mediante interfaz ethernet con una ip estática de la red 192.168.1.0/24.
*p 5
feature afs
enable
exit
feature access-lists
; -- Access Lists user configuration --
access-list 200
entry 1 default
entry 1 deny
;
exit
;
exit
;
network ethernet0/0
; -- Ethernet Interface User Configuration --
ip address 192.168.1.1 255.255.255.0
;
;
exit
;
;
network ethernet0/1
; -- Ethernet Interface User Configuration --
ip address dhcp-negotiated
;
exit
;
;
network wlan0/0
; -- Wireless LAN Interface. Configuration --
ip address 192.168.2.1 255.255.255.0
;
country CO
bss ".TeldatDW"
exit
;
exit
;
;
;
protocol ip
; -- Internet protocol user configuration --
route 0.0.0.0 0.0.0.0 ethernet0/1 dhcp
;
nat
rule 1 out ethernet0/1 dynamic overload
rule 1 translation source interface ethernet0/1
;
exit
;
exit
;
protocol dhcp
; -- DHCP Configuration --
server
; -- DHCP Server Configuration --
enable
;
;
shared 1
;
subnet dw 1 network 192.168.2.0 255.255.255.0
subnet dw 1 range 192.168.2.2 192.168.2.254
subnet dw 1 dns-server 192.168.2.1
subnet dw 1 router 192.168.2.1
;
exit
;
exit
;
;
;
feature ntp
; -- NTP Protocol user configuration --
protocol
peer address 1 81.19.96.148
exit
;
feature dns
; -- DNS resolver user configuration --
server 8.8.8.8
server 8.8.4.4
;
exit
;
;
;
feature aaa
; -- AAA user configuration --
enable
radius-servers
server "radAuth1"
port 1812
key plain [DW_KEY]
host [DW_HOST]
exit
;
server "radAcc1"
port 1813
key plain [DW_KEY]
host [DW_HOST]
exit
;
exit
;
group server radius "grAuthorization"
server radAuth1
exit
;
group server radius "grAccounting"
server radAcc1
exit
;
authentication login "authMethods"
method 1 group grAuthorization
exit
;
authorization network "authoMethods"
method 1 group grAuthorization
exit
;
accounting exec "accMethods"
action-type start-stop
exit
;
accounting network "accMethods"
action-type start-stop
method 1 group grAccounting
exit
;
exit
;
;
feature hotspot
; -- Hotspot Configuration --
network wlan0/0
accounting interim-interval 2m
accounting network accMethods
authentication login authMethods
authorization network authoMethods
policy drop
redirect enable
url portal-page http://cdn.datawifi.co/app.html
url success-page http://app.datawifi.co/easyfi/web/app.php/redireccion_unificado
walled-garden access-list 200
walled-garden domain *datawifi.co
walled-garden domain *wifigratis.app
walled-garden domain *cloudinary.com
;
enable
exit
;
exit
;
end
Se deben solicitar los datos RADIUS ([DW_KEY], [DW_HOST]) al correo manuales@datawifi.co