I'll be greatful if Any of u Scriptor's there can help me out automating A program that i need to run on every start up. Its called 24. I must login from this program & it authenticates me to my gateway, only after login i can use my internet. My IP is 172.16.1.107 & the gateway is 172.16.0.1
my userrname & password r being given. no problems of security as no one on this world can use that usrername & password specific to my LAN.
1."24" is the binary i am running. -u is to give it username
2. "GaganPaul" is the username i pass to it & then press ENTER
3. asks for the password in next line
4. i put password "cute" there & press ENTER
----xterm text goes here wot my screen looks lik-----
root@scavan:~# 24 -u GaganPaul
Password:
root@scavan:~#
--------------------------------------
it then logs in & to check i ping yahoo.com. if ping is success i am logged into my gateway. Can u write me a Single file, doesnt need to have args as i can hardcode my username & pass(no security issues here) & just call it in the rc.d to autorun at start up.
I heard "Expect"(a tcl application) can do that user intake kionda thing along with a combination of a "send" command.
My program file is available at Sourceforge.net here
thx alot for bearing me guyz
my userrname & password r being given. no problems of security as no one on this world can use that usrername & password specific to my LAN.
1."24" is the binary i am running. -u is to give it username
2. "GaganPaul" is the username i pass to it & then press ENTER
3. asks for the password in next line
4. i put password "cute" there & press ENTER
----xterm text goes here wot my screen looks lik-----
root@scavan:~# 24 -u GaganPaul
Password:
root@scavan:~#
--------------------------------------
it then logs in & to check i ping yahoo.com. if ping is success i am logged into my gateway. Can u write me a Single file, doesnt need to have args as i can hardcode my username & pass(no security issues here) & just call it in the rc.d to autorun at start up.
I heard "Expect"(a tcl application) can do that user intake kionda thing along with a combination of a "send" command.
My program file is available at Sourceforge.net here
thx alot for bearing me guyz