[<<][pool][>>][..]
Sun Nov 27 14:39:37 EST 2011

ppp & chat

APN=.....

/usr/sbin/chat -v -f /etc/chatscripts/gprs -T $APN </dev/tty101 >/dev/tty101
pppd -detach debug /dev/tty101 noipdefault noauth

The first one works, the second one doesn't.  It seems both use
different serial settings.  Line discipline.

tom@zoo:~$ sudo stty -F /dev/tty101
speed 115200 baud; line = 0;
erase = <undef>; kill = <undef>; min = 1; time = 0;
-brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke

tom@zoo:~$ sudo stty -F /dev/tty101
speed 115200 baud; line = 3;
erase = <undef>; kill = <undef>; min = 1; time = 0;
ignbrk -brkint -icrnl -imaxbel
-opost -onlcr
-isig -icanon -iexten -echo -echoe -echok -echoctl -echoke


Yeah now it's totally messed up.  I can't get it to work any more.
For another time: learn about line disciplines.




[Reply][About]
[<<][pool][>>][..]