Log in to your Teldat device via command line (telnet, ssh or console)
Before you can copy/paste the below configuration script you need to identify the name of your wireless interface. Type the following commands (one line at a time):
p 4
list devices
You will be presented with the below output:
ethernet0/0 EXP/SWITCH GigabitEthernet Switch interface
ethernet0/1 WAN GigabitEthernet interface
cellular0/0 USB1 AT COM
cellular0/1 USB1 USBNIC Interface
cellular0/2 USB1 USBNIC Interface
wlan0/0 SLOT1 Wireless LAN Interface
serial2/0 SLOT2 Synchronous Serial Line
Take a note of your wlan (wireless) interface name. You will need to replace the two placeholders in the below code. See below.
Copy and paste the below code in to a text editor and then change <wlan_interface> with the interface name, i.e. wlan0/0
log-command-errors
no configuration
feature access-lists
access-list 200
entry 1 permit
exit
exit
feature aaa
enable
radius-servers
server "rAuthentication1"
host *insert radius_server_ip here*
key plain *insert radius_secret here*
port 1812
exit
server "rAuthentication2"
host *insert radius_server_ip2 here*
key plain *insert radius_secret here*
port 1812
exit
server "rAccounting1"
host *insert radius_server_ip here*
key plain *insert radius_secret here*
port 1813
exit
server "rAccounting2"
host *insert radius_server_ip2 here*
key plain *insert radius_secret here*
port 1813
exit
exit
group server radius "tAuthorization"
server rAuthentication1
server rAuthentication2
exit
group server radius "tAccounting"
server rAccounting1
server rAccounting2
exit
authentication login "authMethods"
method 1 group tAuthorization
exit
authorization network "authoMethods"
method 1 group tAuthorization
exit
accounting exec "accMethods"
action-type start-stop
exit
accounting network "accMethods"
action-type start-stop
method 1 group tAccounting
exit
exit
network *wlan_interface*
ip address 10.1.0.1 255.255.255.0
bss Guest WiFi
exit
exit
protocol dhcp
server
enable
subnet wifi 0 network 10.1.0.0 255.255.255.0
subnet wifi 0 range 10.1.0.2 10.1.0.254
subnet wifi 0 dns-server 10.1.0.1
subnet wifi 0 router 10.1.0.1
exit
exit
feature ntp
protocol
peer address 1 81.19.96.148
exit
feature dns
server 8.8.8.8
exit
feature hotspot
debug enable
network *wlan_interface*
accounting interim-interval 2m
accounting network accMethods
authentication login authMethods
authorization network authoMethods
change-of-authorization enable
policy drop
redirect enable
no url query-format loginurl
url portal-page "*insert access_url here*"
url success-page "*insert redirect_url*"
walled-garden access-list 200
walled-garden domain **see below*
enable
exit
exit
dump-command-errors
end
** Walled garden list - please add the required domains. Please refer to this list.
Be sure to save the configuration to the device in order to survive a reboot.
The configuration is now complete.