- Nov 19, 2004
- 1
- 0
- 0
hi there,
I'm having a problem setting a leased line. actually, I'm trying to connect a machine running windows 200 prof to a linux server running fedora core 2. the modems I'm using are Zyxel U90E and I've managed to set them up, one in originate mode and the other in answer mode.
here are the changes i've made on the linux box:
etc/inittab:
s1:2345:respawn:/usr/sbin/pppd /dev/ttyS1 38400
/etc/ppp/options:
lock
modem
nodetach
/etc/ppp/options.ttyS1: (modem pe com2)
crtscts
mru 576
mtu 576
passive
192.168.1.1:172.16.1.11
-chap
modem
#noauth
-pap
persist
/etc/ppp/ip-up.local
#!/bin/bash
case $2 in
/dev/ttyS1)
/sbin/route add -net 0.0.0.0 gw 172.16.1.11 netmask 0.0.0.0
;;
esac
for windows I've set up a direct connection.
the problem is when I try to initiate the conncgtion from windows, which stops at the Verifying username and password.... I've been told that this occurs because the windows sends the word CLIENT and expects back CLIENTSERVER. can anyone tell me how should I create a scripts that handles this using expect and send or something? that should be all, or is it something more?
thanks
I'm having a problem setting a leased line. actually, I'm trying to connect a machine running windows 200 prof to a linux server running fedora core 2. the modems I'm using are Zyxel U90E and I've managed to set them up, one in originate mode and the other in answer mode.
here are the changes i've made on the linux box:
etc/inittab:
s1:2345:respawn:/usr/sbin/pppd /dev/ttyS1 38400
/etc/ppp/options:
lock
modem
nodetach
/etc/ppp/options.ttyS1: (modem pe com2)
crtscts
mru 576
mtu 576
passive
192.168.1.1:172.16.1.11
-chap
modem
#noauth
-pap
persist
/etc/ppp/ip-up.local
#!/bin/bash
case $2 in
/dev/ttyS1)
/sbin/route add -net 0.0.0.0 gw 172.16.1.11 netmask 0.0.0.0
;;
esac
for windows I've set up a direct connection.
the problem is when I try to initiate the conncgtion from windows, which stops at the Verifying username and password.... I've been told that this occurs because the windows sends the word CLIENT and expects back CLIENTSERVER. can anyone tell me how should I create a scripts that handles this using expect and send or something? that should be all, or is it something more?
thanks
