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
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