# fill your username and password username=20123456 password=THISisYOURpassword
# the specific IP addr will be logged in, which means you can login other's device by IP addr. ip=`ifconfig en0 | grep 'inet ' | awk '{print $2}'` curl "http://10.21.221.98:801/eportal/portal/login?callback=dr1003&login_method=1&user_account=$username%40campus&user_password=$password&wlan_user_ip=$ip&wlan_user_ipv6=&wlan_user_mac=000000000000&wlan_ac_ip=&wlan_ac_name=&jsVersion=4.2.1&terminal_type=3&lang=zh-cn&v=4344&lang=zh"