Teldat Router

  • Updated

Logging in

Log in to your Teldat device via command line (telnet, ssh or console).

Identifying the Wireless Interface

Before you can copy and paste the configuration script, you need to identify the exact name of your wireless interface. Type the following commands one line at a time:

CLI Commands
p 4
list devices

You will be presented with an output matching the example below:

Terminal 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 note of your specific WLAN interface name (highlighted above as an example). You will need to replace the two placeholder blocks in the main configuration text.

Configuration

Copy and paste the script below into a text editor, then swap out *wlan_interface* with your detected interface string (e.g., wlan0/0):

Configuration Script
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 your required destination domains to the walled garden rule space. Refer to this list for the precise entries required.

Remember to permanently save the active configuration on your device so settings are retained after a system reboot.

Configuration Complete

The configuration is now complete.

Share online:
Was this article helpful?
0 out of 0 found this helpful