Re: null-modem PPP connection from Windows
Hello :)
I had the same problem with nokia 9000 and ppp connections to a linux box.
The short script below is not mine but helped me connecting n9k & linux.
Anyway, try setting up a dial-up connection on windows, then minicom on
linux and answer "OK<enter>" to every AT command sent to you :) Also write
it somewhere and modify the chat script below :) Maybe modify the IPs as
well...
Try putting such a script into inittab or /etc/init.d as well.
Should help.
But may produce biiiig problems if your linux machine is a masquerading
server (especially with ipmasq package). But if not, then it's not such a
problem.
#!/bin/sh
pppd /dev/ttyS1 38400 modem lock -crtscts xonxoff debug \
connect 'chat -v -t 864000 \
ABORT "+++ATH0" \
"ATZ" "OK^M^J" \
"AT&F" "OK^M^J" \
"ATD" "CONNECT^M^J"\
"" "ppp^M^J" \
"" \d\c' \
192.168.1.193:192.168.1.194 \
bsdcomp 15 \
domain lan ms-dns 192.168.1.1 \
noauth asyncmap 0 proxyarp \
-ccp nodefaultroute \
lcp-echo-interval 10 lcp-echo-failure 2 lcp-max-configure 30 \
persist -detach $* &
> It alway think of a modem involved.
>
Regards
--
Wojciech Kocjan
If you think before you speak the other guy gets his joke in first.
Reply to: