Automatic Login To Sify Broadband In Linux

anwar

Newbie
[OP]
May 4, 2006
4
0
Hi,

I have been using some info from this forum .
Thought , let me share the info when i was able to do what i inteneded
Iam using Open Suse 10

Steps for automating sify broadmand dialer


a] Download and Install sifyconnect-1.3...tar.gz

b] http://unixdesk.blogspot.com/2006/02/auto-...autoexpect.html

few additional things to note.

1.For Sify to connect the NIC should be in 10Mb half duplex
2.sifyd should be run before sifyconnect
the connectsify.sh will end with

set timeout -1
spawn ethtool -s eth0 duplex half speed 10 autoneg off
spawn sleep 3
spawn sifyd
spawn sleep 2
spawn /usr/bin/sifyconnect -l
match_max 100000
expect -exact "[32mWelcome to [0m[32mSify [0m[32mBroadBand Service[0m\r
\r
username :"
send -- "username\r"
expect -exact "username\r
password :"
send – "your-password\r"
expect eof

c] Now create a file named sify in /etc/init.d/ ,which will call this script
Make it executable
Add to run levels with chkconfig sify on

d] Now sify will be connected when you reach these runlevels


regards

Anwar
 

Swap0

Newbie
Jun 5, 2005
22
0
I have been looking for something like this for quite some time. It would be great if this works. (Haven't tried it out yet). Thanks a lot.
 

power

supersupersuper...
Regulars
Dec 19, 2004
1,349
4
yeh this will be pretty helpful for those who can still connect with linux client . to bad their sucking client doesnt take command line parameters :(