Hi
I'm helping my father in law to setup a Dachstein 1.0.2 firewall on a
Telia Adsl line.
To get the line working he have to login on a webpage with a user and password.
There are programs that can do this automaticly for Win and Linux, ex. IClogin.
I have found out that Telia use something called FLS or ELAS.
Can Dachstein DHCP do this or do I have to add something?
Found this on the net, loggs in and keeps the connection alive:

#!/bin/sh # the next line restarts using tclsh \ exec tclsh "$0" "$@"
# Sends username and password to Comhem Cable login page # Absolutely
no error-checking! # Works today, may or may not work tomorrow... #
Dec 2000, Mattias Busck
package require http
set username "password" set password "username"
set initUrl "http://login1.telia.com/sd/init"; set postUrl
"http://login1.telia.com/sd/login"; set outUrl
"http://login1.telia.com/sd/logout"; set loginQueryMsg [
http::formatQuery username \

$username password $password submitForm "Logga+in" ]

set logoutQueryMsg [ http::formatQuery submitForm "Logga+ut" ]
if {$argc == 1 && [lindex $argv 0] == "login"} {

# We need to load the init-page first
     http::geturl $initUrl
     # POST the username & password to the "Logga in" form
     http::geturl $postUrl -query $loginQueryMsg

} elseif {$argc == 1 && [lindex $argv 0] == "logout"} {

http::geturl $outUrl -query $logoutQueryMsg

} else {

puts "Usage: comhemlogin.tcl { login | logout }"
     exit -1

}

I don't need the line to be open at all times but automatic login
would be nice.

Regards

Pär Johansson

--


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to