How do i Log IN to my ISP



  • I have two WAN connections  configured as WAN OPT1.
    WAN has a public IP, OPT is DHCP .

    I have another ISP where i get a IP from a DHCP server but I need to open a browser and enter username and password in order to access web.

    I would like it to shift on pfsense as OPT2. but how am I gonna enter the username and password.

    KIndly explain



  • @rudraansh:

    I have two WAN connections  configured as WAN OPT1.
    WAN has a public IP, OPT is DHCP .

    I have another ISP where i get a IP from a DHCP server but I need to open a browser and enter username and password in order to access web.

    I would like it to shift on pfsense as OPT2. but how am I gonna enter the username and password.

    KIndly explain

    afaik you wont be able to achieve this unless you make coding modifications yourself.

    In theory you could write a script that parses the html/php page and then submits your user/pass to the wisp's portal page, no other way I can think of.

    Slam



  • can someone write that script for me.
    I dont know how do i write a script



  • I cant code myself  :-\

    In my limited knowledge, you would use PHP as the scripting language, I would guess you would also need to view the source of the portal page you need to authenticate against and look for any references to

    <form>with attributes for username & password etc, you would then use this information in your custom.php file to submit the required data.

    look here for how you can use PHP functions http://www.w3schools.com/php/php_post.asp

    If you think thats way over your head then I would suggest you contact a developer with a bounty as this is a pfsense customisation or just post the request in the bounty section of the forum.

    Bear in mind, that your wireless provider might employ timeouts, in which case your opt2 will be marked/shown as being offline in your multi wan envoirment.

    Hope that helps

    Slam

    </form>


Log in to reply