--- In "Doug" <> wrote:
> The protocol is pretty complicated, but there are projects out there to make
> use of it. I believe there are efforts to create a kernel driver for CMUX in
> 2.6 (not sure on this, though!) but I'm still using the 2.4 kernel. There is
> an open source user space program called gsmMuxd that implements it and
> creates virtual ports you can use. It's not as efficient as a kernel driver
> would be, but it works great in my experience:
>
> http://developer.berlios.de/projects/gsmmux/
>
I'm using gsmMuxd on my TS-7260 with TS-GSM1 to multiplex the serial port. The
command
gsmMuxd -m generic -b 115200 -s /dev/mux -p /dev/ttyS0 -r -n /dev/ptmx
/dev/ptmx /dev/ptmx
creates virtual serial ports /dev/mux0, /dev/mux1, dev/mux2 and I can attach
pppd to the other one and issue SMS AT commands to the other one. Attaching
pppd to the virtual serial port is just a matter of issuing "/dev/mux1" in your
/etc/ppp/peers/provider and as far as pppd is concerned it acts just as any
other serial port.
The problem I'm currently having is that the MUX session is not 100% reliable.
It hangs once in a while which causes the overlying pppd connection to also
hang. There is a -r in gsmMuxd which tries to detect whether the MUX session is
healthy and re-establishes the session if the modem does not respond to ping.
This does not work 100% either because usually there is a 10-30 minute delay in
gsmMuxd picking up that the session is not responding.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|