1.查看网关SN
more sata0:lianlian/sn
2.网关测速命令
lianlian speed test
3.查看用户认证状态
show app-auth user all | in mac
4.踢用户下线
app-auth kick ip x.x.x.x
5.查看APP版本
more?sata0:lianlian/portal/llapp/ios.html (苹果)
more?sata0:lianlian/portal/llapp/android.html (安卓)
6.长连接离线
(一)ping DNS,看DNS是否可到达
(二)ping www.baidu.com 看是否可到达
(三)查看TCP8555状态:show tcp conn | inc 8555
(四)重启长连接,如下
run-system-shell (进入底层)
pkill python (杀进程)
pkill snmptrapd (杀进程)
/mnt/sata0/python/bin/python /mnt/sata0/lianlian/client.py & (重启服务)
/mnt/sata0/python/bin/python /mnt/sata0/net-snmp/sbin/snmp.py & (重启服务)
7.更改广告连接,广告配置放在 /data/httpcache目录下
run-system-shell(进入底层)
cd /data/httpcache(进入目录)
vi ad.cong (编辑文件)
exit (退出底层)
config (进入配置模式)
was http cache ad enable (开启服务)
was http cache reload ad (开启服务)
8.广告开启与关闭
开启广告:in-path rule pass-through rulenum start
关闭广告:in-path rule auto-discovery optimization none dstport port 80 accelerate http rulenum start
9.配置审计:
配置审计功能开启:lianlian config send_audit 1
查看是否开启成功:more sata0:lianlian/lianlian.conf
查看配置看审计指向服务器IP:was audit server-ip 10.1.254.253
10.配置无线定位
wlocation enable (功能开启)
wlocation ae-ip 10.20.0.1 (指向服务器地址)
wlocation ae-port 30000 (服务器端口)
wlocation mu enable (开启服务)
wlocation mu report enable (开启服务)
wlocation tag enable (开启服务)
wlocation ignore beacon enable (开启服务)
wloc srv-port 1144 (指向服务器地址)
wlocation ae-ip 10.20.0.1 (指向服务器地址)
wlocation ae-port 30000 (服务器端口)
wlocation mu enable (开启服务)
wlocation mu report enable (开启服务)
wlocation tag enable (开启服务)
wlocation ignore beacon enable (开启服务)
wloc srv-port 1144 (指向服务器地址)
AC上全开启定位
ap-config all
wlocation ae-ip 10.20.0.1 (指向服务器地址)
wlocation ae-port 30000 (服务器端口)
wlocation ae-port 30000 (服务器端口)
wlocation mu enable (开启服务)
wlocation mu report enable (开启服务)
wlocation mu report enable (开启服务)
wlocation tag enable (开启服务)
wlocation ignore beacon enable (开启服务)
wloc srv-port 1144 (指向服务器地址)
wlocation ignore beacon enable (开启服务)
wloc srv-port 1144 (指向服务器地址)
fuck\fuck\(\)\[\]\\\/\fuck”\\$1″fuck\/script>’)} fuck