OpenWrt Forum Archive

Topic: How to configure auto web authentication on openwrt router

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

My ISP use web authetiocation method to control user access internet.  that means I need open authentication web page then my pc can access internet. (not PPPOE)
my question:  how to configure my openwrt to auto send authentication information to web authenticaion server?

With a specially crafted wget may be? What kind of authentication is it? HTTP or via a application form?

Hi, ripat. 
I think it is HTTP authentication.

1. the user end send http get for any URL on the WEB browser.
2. the ISP portal server will respond the following information.
<html>
<body>
<form name="CMCCWLANFORM" method="post" action=
"http://221.176.1.140/wlan/index.php"> 
<input type="hidden" name="wlanuserip" value="221.131.244.42"> 
<input type="hidden" name="wlanacname" value="0002.0571.571.00">
</form><script language='javascript'>    CMCCWLANFORM.submit();</script>
</body>
</html>

the ISP control of the access method like using "nocat" software.

The discussion might have continued from here.